:root {
    --ov-black: #07010f;
    --ov-deep: #0a0014;
    --ov-navy: #0b0c1e;
    --ov-navy-2: #16102a;
    --ov-magenta: #d07eb5;
    --ov-violet: #6a3a93;
    --ov-blue: #2e64ad;
    --ov-teal: #59adb0;
    --ov-cyan: #2bb2bb;
    --ov-neon: #c864ff;
    --ov-gold: #59adb0;
    --ov-gold-2: #d07eb5;
    --ov-cream: #141022;
    --ov-paper: #f5f4fb;
    --ov-ink: #161022;
    --ov-muted: #8b849c;
    --ov-line: rgba(89, 173, 176, 0.4);
    --ov-grad: linear-gradient(90deg, #d07eb5 0%, #6a3a93 38%, #2e64ad 70%, #59adb0 100%);
    --bs-primary: #6a3a93;
    --bs-primary-rgb: 106, 58, 147;
    --bs-body-font-family: 'Montserrat', 'Noto Sans', 'Segoe UI', sans-serif;
    --bs-body-color: var(--ov-ink);
    --bs-body-bg: var(--ov-paper);
    --bs-border-radius: 0.75rem;
    --bs-link-color: #2e64ad;
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    background: var(--ov-paper);
    color: var(--ov-ink);
}

.font-display,
.hero h1,
.metric .value,
.verse-band blockquote,
.poster-art span {
    font-family: 'Montserrat', 'Noto Sans', sans-serif;
}

.font-mark,
.wordmark {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.wordmark {
    background: var(--ov-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.gold { color: var(--ov-teal); }
.navy { color: var(--ov-navy); }

.btn-gold {
    background: var(--ov-grad);
    color: #fff;
    border: 0;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.75rem 1.4rem;
    box-shadow: 0 8px 28px rgba(106, 58, 147, 0.35);
}

.btn-gold:hover { color: #fff; filter: brightness(1.08); }

.btn-outline-gold {
    border: 1px solid var(--ov-teal);
    color: #fff;
    background: transparent;
    font-weight: 600;
    padding: 0.75rem 1.4rem;
}

.btn-outline-gold:hover {
    background: rgba(89, 173, 176, 0.16);
    color: #fff;
}

.btn-navy {
    background: var(--ov-violet);
    color: #fff;
    border: 0;
    font-weight: 600;
    padding: 0.7rem 1.25rem;
}

.btn-navy:hover { background: #56307a; color: #fff; }

.btn-navy:disabled {
    background: #8a6aa8;
    color: #fff;
    opacity: 0.8;
    cursor: not-allowed;
}

.saving-progress {
    max-width: 18rem;
}

.saving-progress .progress-bar {
    background: var(--ov-violet);
}

.admin-toolbar .btn {
    min-height: 2.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.admin-toolbar .form-control,
.admin-toolbar .form-select {
    min-height: 2.85rem;
}

.admin-toolbar .input-group .btn {
    border-radius: 0 0.7rem 0.7rem 0;
}

.admin-toolbar .input-group .form-select {
    border-radius: 0.7rem 0 0 0.7rem;
}

.ov-logo {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.ov-logo-img {
    width: auto;
    display: block;
    height: 42px;
}

.ov-logo--nav .ov-logo-img { height: 42px; }
.ov-logo--auth .ov-logo-img { height: 58px; }
.ov-logo--hero .ov-logo-img { height: 88px; }
.ov-logo--footer .ov-logo-img { height: 52px; }

@media (min-width: 992px) {
    .ov-logo--nav .ov-logo-img { height: 48px; }
    .ov-logo--hero .ov-logo-img { height: 118px; }
}

@media (max-width: 575px) {
    .ov-logo--nav .ov-logo-img { height: 34px; }
    .ov-logo--hero .ov-logo-img { height: 64px; }
}

.site-nav {
    background: rgba(7, 1, 15, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(89, 173, 176, 0.18);
}

.site-nav .nav-link {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    font-size: 0.92rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--ov-teal); }

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(200, 100, 255, 0.28), transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(43, 178, 187, 0.22), transparent 34%),
        radial-gradient(circle at 50% 50%, rgba(106, 58, 147, 0.35), transparent 48%),
        linear-gradient(165deg, #07010f 0%, #0a0014 48%, #0b0c1e 100%);
    color: #fff;
    min-height: 94vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    right: -40px;
    top: 8%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(208, 126, 181, 0.45) 0%, rgba(46, 100, 173, 0.22) 42%, transparent 68%);
    filter: blur(8px);
    pointer-events: none;
}

.hero .ov-logo {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    color: var(--ov-teal);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.28em;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 600;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #cc8eb9 0%, #7a5af8 48%, #40a9c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero .theme-line {
    font-weight: 500;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.78);
}

.gold-rule {
    width: 72px;
    height: 3px;
    background: var(--ov-grad);
    border: 0;
}

.section-kicker,
.pillar-num {
    color: var(--ov-teal);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
}

.landing-dark {
    background: var(--ov-deep);
    color: #fff;
}

.landing-dark .text-secondary { color: rgba(255, 255, 255, 0.68) !important; }

.pillar-card,
.stat-card,
.panel-card {
    background: #fff;
    border: 1px solid rgba(20, 32, 51, 0.08);
    border-radius: 1.1rem;
    box-shadow: 0 18px 40px rgba(7, 24, 51, 0.05);
}

.landing-dark .pillar-card,
.landing-dark .panel-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(89, 173, 176, 0.18);
    box-shadow: none;
    color: #fff;
}

.pillar-card {
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.2s ease;
}

.pillar-card:hover { transform: translateY(-4px); }

.verse-band {
    background: var(--ov-black);
    color: #fff;
    position: relative;
}

.verse-band blockquote {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.35;
}

.auth-page {
    min-height: 100vh;
    background: var(--ov-black);
    color: var(--ov-ink);
}

.auth-split {
    min-height: 100vh;
    display: grid;
}

@media (min-width: 992px) {
    .auth-split {
        grid-template-columns: minmax(320px, 0.92fr) 1.08fr;
    }
}

.auth-showcase {
    position: relative;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(208, 126, 181, 0.32), transparent 32%),
        radial-gradient(circle at 88% 78%, rgba(43, 178, 187, 0.22), transparent 36%),
        radial-gradient(circle at 50% 50%, rgba(106, 58, 147, 0.28), transparent 52%),
        linear-gradient(165deg, #07010f 0%, #0a0014 48%, #0b0c1e 100%);
}

.auth-showcase::after {
    content: '';
    position: absolute;
    inset: auto -20% -30% 30%;
    height: 420px;
    background: radial-gradient(circle, rgba(89, 173, 176, 0.16), transparent 68%);
    pointer-events: none;
}

.auth-showcase-inner {
    position: relative;
    z-index: 1;
    min-height: 100%;
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 992px) {
    .auth-showcase-inner {
        padding: 3.25rem 3.5rem 2.5rem;
        min-height: 100vh;
    }
}

.auth-org {
    margin: 1.35rem 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ov-teal);
    font-weight: 600;
}

.auth-showcase-title {
    margin: 0.85rem 0 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 3.4vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.auth-showcase-text {
    max-width: 26rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.6;
}

.auth-facts {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: grid;
    gap: 0.7rem;
}

.auth-facts li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
}

.auth-facts span {
    min-width: 4.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ov-teal);
}

.auth-showcase-foot {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.48);
}

.auth-main {
    background: #f4f2f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.25rem 2rem;
    min-height: 100%;
}

@media (min-width: 992px) {
    .auth-main {
        padding: 2.5rem 2rem;
        min-height: 100vh;
    }
}

.auth-stack {
    width: 100%;
    max-width: 28rem;
}

.auth-stack.auth-card--wide {
    max-width: 36rem;
}

.auth-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.auth-toolbar a,
.auth-alt a,
.auth-row a {
    color: var(--ov-blue);
    font-weight: 600;
    text-decoration: none;
}

.auth-toolbar a {
    font-size: 0.82rem;
    color: var(--ov-muted);
}

.auth-toolbar a:hover,
.auth-alt a:hover,
.auth-row a:hover { color: var(--ov-violet); }

.auth-card {
    width: 100%;
    background: #fff;
    border-radius: 1.35rem;
    padding: 2rem 1.5rem 1.6rem;
    box-shadow: 0 24px 60px rgba(20, 10, 40, 0.08);
    border: 1px solid rgba(20, 16, 34, 0.05);
}

@media (min-width: 576px) {
    .auth-card { padding: 2.35rem 2.15rem 1.85rem; }
}

.auth-legal {
    width: 100%;
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #8b849c;
}

.auth-kicker {
    margin: 0;
    color: var(--ov-violet);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}

.auth-title {
    margin: 0.45rem 0 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.03em;
    color: var(--ov-ink);
}

.auth-lead {
    margin: 0.45rem 0 1.35rem;
    color: var(--ov-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.auth-form { display: grid; gap: 1rem; }

.auth-card .form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #3f3a50;
    margin-bottom: 0.4rem;
}

.auth-section {
    margin: 0.55rem 0 0;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ov-muted);
}

.auth-input {
    position: relative;
}

.auth-input > i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9a93ab;
    pointer-events: none;
    font-size: 1rem;
}

.auth-input .form-control,
.auth-input .form-select {
    min-height: 3rem;
    padding-left: 2.45rem;
}

.auth-input .form-select {
    padding-right: 2.2rem;
    background-position: right 0.75rem center;
}

.auth-input .form-control {
    padding-right: 2.6rem;
}

.auth-eye {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #8b849c;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.5rem;
}

.auth-eye:hover { color: var(--ov-ink); background: #f3f0f8; }

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.86rem;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #4d4760;
    margin: 0;
}

.auth-hint {
    margin: -0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--ov-muted);
}

.btn-auth {
    margin-top: 0.35rem;
    min-height: 3rem;
    background: var(--ov-grad);
    color: #fff;
    border: 0;
    border-radius: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(106, 58, 147, 0.28);
}

.btn-auth:hover { color: #fff; filter: brightness(1.06); }

.btn-auth:disabled {
    filter: none;
    opacity: 0.75;
    cursor: not-allowed;
}

.auth-form .saving-progress {
    max-width: none;
}

.auth-alt {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: #5c5670;
}

.auth-demo {
    margin-top: 1.35rem;
    border-top: 1px solid #eeeaf4;
    padding-top: 0.9rem;
    color: var(--ov-muted);
    font-size: 0.8rem;
}

.auth-demo summary {
    cursor: pointer;
    font-weight: 600;
    color: #6a627c;
}

.auth-demo p,
.auth-demo ul { margin: 0.55rem 0 0; }

.auth-demo ul {
    padding-left: 1.1rem;
}

.auth-demo code {
    font-size: 0.78rem;
    color: var(--ov-violet);
}

.auth-card .alert {
    font-size: 0.88rem;
}

@media (max-width: 991px) {
    .auth-showcase-title,
    .auth-showcase-text,
    .auth-facts,
    .auth-showcase-foot { display: none; }
    .auth-showcase-inner { padding: 1.35rem 1.5rem 1.1rem; }
    .auth-org { margin-top: 0.85rem; }
}

.form-control, .form-select {
    border-radius: 0.7rem;
    border-color: #d8deea;
    padding: 0.7rem 0.9rem;
    background: #fff;
}

.form-control:focus, .form-select:focus {
    border-color: var(--ov-teal);
    box-shadow: 0 0 0 0.2rem rgba(89, 173, 176, 0.22);
}

.app-shell { min-height: 100vh; background: #eef0f6; }

.app-frame {
    width: 100%;
    min-width: 0;
    align-items: stretch;
}

.app-sidebar {
    --bs-offcanvas-width: 270px;
    --bs-offcanvas-bg: var(--ov-deep);
    --bs-offcanvas-color: #fff;
    background: var(--ov-deep) !important;
    background-color: var(--ov-deep) !important;
    color: #fff;
    min-height: 100vh;
    height: 100vh;
    width: 270px;
    max-width: 270px;
    flex: 0 0 270px;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.app-sidebar .offcanvas-body {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.sidebar-brand {
    flex-shrink: 0;
    padding-bottom: 1.25rem;
    padding-right: 0.85rem;
}

.sidebar-brand .ov-logo {
    display: block;
    max-width: 100%;
}

.sidebar-brand .ov-logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 52px;
}

.sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    align-content: start;
    gap: 0.55rem;
    padding-right: 0.75rem;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
}

.sidebar-meta {
    flex-shrink: 0;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar a,
.app-sidebar .sidebar-group-toggle {
    color: rgba(255,255,255,0.74);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 0.7rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.app-sidebar .sidebar-group-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    justify-content: space-between;
    list-style: none;
    color: rgba(255, 255, 255, 0.62);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
}

.app-sidebar .sidebar-group-toggle span {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.app-sidebar .sidebar-group-toggle::marker,
.app-sidebar .sidebar-group-toggle::-webkit-details-marker {
    display: none;
    content: none;
}

.app-sidebar a:hover,
.app-sidebar a.active,
.app-sidebar .sidebar-group-toggle:hover {
    background: linear-gradient(90deg, rgba(208, 126, 181, 0.18), rgba(89, 173, 176, 0.16));
    color: #fff;
}

.sidebar-group {
    border-radius: 0.7rem;
}

.sidebar-group-body {
    display: grid;
    gap: 0.35rem;
    padding: 0.35rem 0 0.45rem 0.55rem;
}

.sidebar-chevron {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.sidebar-group[open] > .sidebar-group-toggle {
    color: #fff;
}

.sidebar-group[open] .sidebar-chevron {
    transform: rotate(180deg);
}

.sidebar-group:has(a.active) > .sidebar-group-toggle {
    color: #fff;
}

.app-main {
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
}

.app-main .row > * {
    min-width: 0;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid rgba(20,32,51,0.06);
}

.metric {
    background: #fff;
    border-radius: 1rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(20, 32, 51, 0.06);
    height: 100%;
}

.metric .label {
    color: var(--ov-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.metric .value {
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.1;
    margin-top: 0.25rem;
}

.poster-thumb {
    width: 88px;
    height: 64px;
    border-radius: 0.6rem;
    object-fit: cover;
    flex-shrink: 0;
}

.report-screenshot-thumb {
    width: 72px;
    height: 72px;
    border-radius: 0.55rem;
    object-fit: cover;
    display: block;
    background: #eef0f6;
}

.poster-cover,
.poster-hero {
    width: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.poster-cover {
    height: 160px;
    border-radius: 1rem 1rem 0 0;
}

.poster-hero {
    height: 320px;
}

.poster-art {
    height: 180px;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.poster-art.poster-thumb {
    height: 64px;
    width: 88px;
    padding: 0.4rem;
    border-radius: 0.6rem;
}

.poster-art.poster-thumb span {
    font-size: 0.62rem;
    line-height: 1.15;
}

.poster-art.poster-cover {
    height: 160px;
    border-radius: 1rem 1rem 0 0;
}

.poster-art.poster-hero {
    height: 320px;
    border-radius: 0;
}

.poster-art span {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    font-weight: 700;
}

.poster-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 20%, rgba(7, 1, 15, 0.78));
}

.theme-hope { background: linear-gradient(135deg, #6a3a93, #59adb0); }
.theme-voice { background: linear-gradient(135deg, #07010f, #2e64ad 55%, #d07eb5); }
.theme-messiah { background: linear-gradient(135deg, #4a1d3a, #2e64ad); }
.theme-prophecy { background: linear-gradient(135deg, #0b0c1e, #6a3a93); }
.theme-bible { background: linear-gradient(135deg, #12324f, #59adb0); }
.theme-harvest { background: linear-gradient(135deg, #6a3a93, #d07eb5); }
.theme-pray { background: linear-gradient(135deg, #2a2154, #2bb2bb); }

.poster-choice {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 1.1rem;
    overflow: hidden;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    background: #fff;
}

.poster-choice-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.poster-choice:hover,
.poster-choice:has(.poster-choice-btn.is-selected) {
    border-color: var(--ov-teal);
    box-shadow: 0 0 0 3px rgba(89, 173, 176, 0.22);
}

.poster-source-link {
    display: block;
    padding: 0 1rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    word-break: break-all;
    color: var(--ov-blue);
}

.poster-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.15rem 0.85rem 0.9rem;
}

.poster-card-footer .poster-source-link {
    flex: 1;
    min-width: 0;
    padding: 0;
}

.poster-card-footer-compact {
    padding: 0.35rem 0 0;
}

.poster-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 0.65rem;
    background: rgba(46, 100, 173, 0.1);
    color: var(--ov-blue);
    cursor: pointer;
}

.poster-share:hover,
.poster-share:focus-visible {
    background: rgba(106, 58, 147, 0.16);
    color: var(--ov-violet);
}

.landing-dark .poster-source-link {
    color: var(--ov-teal);
}

.landing-dark .poster-source-link:hover {
    color: #fff;
}

.landing-dark .poster-share {
    background: rgba(89, 173, 176, 0.16);
    color: var(--ov-teal);
}

.landing-dark .poster-share:hover,
.landing-dark .poster-share:focus-visible {
    background: rgba(89, 173, 176, 0.28);
    color: #fff;
}

.share-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    padding: 0.7rem 1rem;
    border-radius: 0.75rem;
    background: #07010f;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-toast.is-visible {
    opacity: 1;
    transform: none;
}

.analytics-empty {
    max-width: 40rem;
    text-align: center;
    margin-inline: auto;
}

.analytics-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgba(46, 100, 173, 0.12);
    color: var(--ov-blue);
    font-size: 1.4rem;
}

.poster-source-link:hover {
    color: var(--ov-violet);
}

.poster-choice input { display: none; }

.poster-choice:has(input:checked) {
    border-color: var(--ov-teal);
    box-shadow: 0 0 0 3px rgba(89, 173, 176, 0.22);
}

.table thead th {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ov-muted);
}

.table-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.table-actions form {
    margin: 0;
}

.table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--ov-blue);
    text-decoration: none;
    cursor: pointer;
}

.table-action:hover {
    background: rgba(46, 100, 173, 0.12);
    color: var(--ov-violet);
}

.table-action-danger {
    color: #b42318;
}

.table-action-danger:hover {
    background: rgba(180, 35, 24, 0.1);
    color: #912018;
}

.badge-role {
    background: rgba(106, 58, 147, 0.14);
    color: #6a3a93;
    font-weight: 700;
}

.footer-sda {
    background: #07010f;
    color: rgba(255,255,255,0.72);
    border-top: 1px solid rgba(89, 173, 176, 0.22);
}

.alert { border: 0; border-radius: 0.9rem; }

.impact-grid {
    max-width: 52rem;
    margin-inline: auto;
}

.impact-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0.75rem 0.35rem;
    border-radius: 1rem;
    transition: transform 0.15s ease, background 0.15s ease;
}

.impact-card:hover {
    color: inherit;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.metric-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.metric-link:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 10, 40, 0.08);
}

.landing-dark .table {
    --bs-table-bg: transparent;
    --bs-table-color: #fff;
    color: #fff;
}

.landing-dark .table a {
    color: #fff;
    text-decoration: none;
}

.landing-dark .table a:hover {
    color: var(--ov-teal);
}

.landing-dark .pillar-card a {
    color: var(--ov-teal);
}

.impact-value {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.impact-label {
    margin-top: 0.4rem;
    color: var(--ov-teal);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
}

@media (min-width: 992px) {
    .app-sidebar.offcanvas-lg {
        position: sticky;
        transform: none !important;
        visibility: visible !important;
        height: 100vh;
        flex: 0 0 270px;
        max-width: 270px;
        background: var(--ov-deep) !important;
        background-color: var(--ov-deep) !important;
        color: #fff;
        border-right: 0;
    }
}

@media (max-width: 991px) {
    .app-sidebar {
        flex: none;
        width: var(--bs-offcanvas-width);
        max-width: var(--bs-offcanvas-width);
        min-height: 100%;
        height: 100%;
        position: fixed;
    }
}
