/*! FCV_THEME_BUILD_20261028-3 */
/* Florida Citation Verify — navy, gold and paper UI system */
:root {
    --fcv-navy-950: #071a2b;
    --fcv-navy-900: #0b2239;
    --fcv-navy-850: #102b47;
    --fcv-navy-800: #163653;
    --fcv-navy-700: #234866;
    --fcv-gold-700: #8d713a;
    --fcv-gold-600: #aa8a49;
    --fcv-gold-500: #c4a55e;
    --fcv-gold-300: #e7d7a6;
    --fcv-paper: #f2f5f7;
    --fcv-white: #fff;
    --fcv-ink: #172434;
    --fcv-muted: #637386;
    --fcv-line: #d9e0e6;
    --fcv-green: #28784e;
    --fcv-green-soft: #e9f4ed;
    --fcv-amber: #946a1f;
    --fcv-amber-soft: #fbf2dc;
    --fcv-red: #a93d42;
    --fcv-red-soft: #fae9e8;
    --fcv-blue-soft: #eaf1f7;
    --fcv-shadow: 0 9px 28px rgba(10, 35, 58, .075);
}

html { scroll-behavior: smooth; }
body.app-body {
    color: var(--fcv-ink) !important;
    background: var(--fcv-paper) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
.app-body *, .auth-shell *, body:has(.auth-shell) * { box-sizing: border-box; }
.app-body h1, .app-body h2, .app-body h3, .app-body h4,
.auth-shell h1, .auth-shell h2, body:has(main > .brand) h1,
body:has(main > .brand) h2 { color: var(--fcv-navy-900); letter-spacing: -.018em; }
.app-body p, .app-body li { line-height: 1.55; }
.app-body a { color: var(--fcv-navy-800); }
.app-body a:hover { color: var(--fcv-gold-700); }
.app-body :focus-visible, body:has(.auth-shell) :focus-visible, body:has(main > .brand) :focus-visible {
    outline: 3px solid rgba(196, 165, 94, .65) !important;
    outline-offset: 2px !important;
}

/* Shared application frame */
.app-sidebar {
    color: #e7eef5 !important;
    background: linear-gradient(180deg, var(--fcv-navy-850), var(--fcv-navy-950)) !important;
    border-right: 1px solid rgba(196,165,94,.52) !important;
    scrollbar-color: rgba(231,215,166,.45) transparent;
}
.app-brand { color: #fff !important; text-decoration: none !important; }
.app-brand .brand-mark {
    border: 1px solid var(--fcv-gold-300) !important;
    background: linear-gradient(145deg, var(--fcv-gold-500), #9d7b3b) !important;
    color: var(--fcv-navy-950) !important;
    box-shadow: 0 5px 14px rgba(0,0,0,.2);
}
.app-brand .brand-mark span { color: var(--fcv-navy-950) !important; }
.app-brand .brand-copy strong { color: #fff !important; }
.app-brand .brand-copy small { color: #c6d3df !important; }
.nav-context {
    border: 1px solid rgba(231,215,166,.2) !important;
    border-radius: 11px !important;
    background: rgba(255,255,255,.055) !important;
    color: #fff !important;
}
.nav-context-kicker, .app-sidebar .nav-label { color: #b8c8d7 !important; }
.app-sidebar .nav-divider { background: rgba(231,215,166,.24) !important; }
.app-sidebar .nav-link {
    min-height: 42px;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    color: #dbe5ed !important;
    text-decoration: none !important;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.app-sidebar .nav-link:hover {
    border-color: rgba(231,215,166,.2) !important;
    background: rgba(255,255,255,.09) !important;
    color: #fff !important;
}
.app-sidebar .nav-link.active {
    border-color: rgba(231,215,166,.38) !important;
    background: linear-gradient(90deg, rgba(196,165,94,.27), rgba(196,165,94,.09)) !important;
    color: #fff !important;
    box-shadow: inset 3px 0 0 var(--fcv-gold-500);
}
.app-sidebar .nav-glyph { color: var(--fcv-gold-300) !important; }
.sidebar-trust {
    border-top: 1px solid rgba(231,215,166,.22) !important;
    color: #eff4f8 !important;
}
.sidebar-trust small { color: #b8c8d7 !important; }
.trust-dot { background: #71c797 !important; box-shadow: 0 0 0 4px rgba(113,199,151,.14); }
.app-content { min-width: 0; background: var(--fcv-paper) !important; }
.app-topbar {
    color: #fff !important;
    background: var(--fcv-navy-900) !important;
    border-bottom: 3px solid var(--fcv-gold-500) !important;
    box-shadow: 0 5px 16px rgba(7,26,43,.13);
}
.topbar-product, .topbar-product span { color: #edf3f8 !important; }
.topbar-product-dot { background: var(--fcv-gold-500) !important; }
.mobile-menu-button span { background: #fff !important; }
.user-menu > summary { color: #fff !important; }
.user-avatar {
    border: 1px solid rgba(231,215,166,.8) !important;
    background: var(--fcv-navy-700) !important;
    color: #fff !important;
}
.user-menu-copy strong { color: #fff !important; }
.user-menu-copy small, .user-chevron { color: #c6d3df !important; }
.user-menu-panel {
    border: 1px solid var(--fcv-line) !important;
    border-top: 3px solid var(--fcv-gold-500) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 16px 40px rgba(7,26,43,.2) !important;
}
.user-menu-panel a, .user-menu-panel button { color: var(--fcv-ink) !important; }
.user-menu-panel a:hover, .user-menu-panel button:hover { background: var(--fcv-blue-soft) !important; }
.app-page { color: var(--fcv-ink); }
.app-footer { border-top: 1px solid var(--fcv-line) !important; color: var(--fcv-muted) !important; }
.mobile-bottom-nav {
    border-top: 1px solid rgba(196,165,94,.55) !important;
    background: var(--fcv-navy-900) !important;
    box-shadow: 0 -8px 24px rgba(7,26,43,.16);
}
.mobile-bottom-nav a { color: #dce6ef !important; }
.mobile-bottom-nav a.active { color: var(--fcv-gold-300) !important; }
.mobile-bottom-nav a span { color: var(--fcv-gold-500) !important; }

/* Workflow steps */
.fcv-workflow-guide {
    border: 1px solid #d9dfe5 !important;
    border-top: 3px solid var(--fcv-gold-500) !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: var(--fcv-shadow) !important;
}
.fcv-workflow-kicker, .eyebrow, .hero-kicker, .nav-context-kicker {
    color: var(--fcv-gold-700) !important;
}
.fcv-workflow-heading h2 { color: var(--fcv-navy-900) !important; }
.fcv-workflow-heading p, .fcv-workflow-label { color: var(--fcv-muted) !important; }
.fcv-workflow-key { color: var(--fcv-muted) !important; }
.fcv-workflow-key-dot { border-color: var(--fcv-gold-700) !important; background: var(--fcv-gold-500) !important; }
.fcv-workflow-step::after { background: #d8e0e6 !important; }
.fcv-workflow-step-complete::after { background: var(--fcv-green) !important; }
.fcv-workflow-circle { border-color: #b9c7d2 !important; color: var(--fcv-muted) !important; }
.fcv-workflow-step-complete .fcv-workflow-circle { border-color: var(--fcv-green) !important; background: var(--fcv-green) !important; color: #fff !important; }
.fcv-workflow-step-current .fcv-workflow-circle { border-color: var(--fcv-gold-600) !important; background: var(--fcv-gold-300) !important; color: var(--fcv-navy-950) !important; box-shadow: 0 0 0 4px rgba(196,165,94,.18) !important; }
.fcv-workflow-step-current .fcv-workflow-label { color: var(--fcv-navy-900) !important; }

/* Consistent cards, headings and forms */
.surface-card, .card, .compact-card, .record-card, .case-card, .metric-card,
.attorney-complete-hero, .attorney-final-stage, .readiness-hero,
.phase5-launch, .approval-profile-card {
    border: 1px solid var(--fcv-line) !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: var(--fcv-shadow) !important;
}
.section-heading h2, .panel-head h1, .panel-head h2, .page-heading h1,
.document-heading h1, .case-hero h1, .attorney-desk-heading h1 { color: var(--fcv-navy-900) !important; }
.section-heading p, .subtle, .help, .metric-caption { color: var(--fcv-muted) !important; }
.page-heading, .panel-head, .document-heading, .case-hero { margin-bottom: 18px; }
.btn, button.btn, .show-proof-button, .authority-decision, .attorney-final-button,
.fcv-comment-submit {
    border-radius: 8px !important;
    font-weight: 700 !important;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.btn-primary, .authority-decision.change, .show-proof-button,
.attorney-final-button, .fcv-comment-submit {
    border: 1px solid var(--fcv-navy-900) !important;
    background: var(--fcv-navy-900) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(11,34,57,.13);
}
.btn-primary:hover, .authority-decision.change:hover, .show-proof-button:hover,
.attorney-final-button:hover, .fcv-comment-submit:hover {
    border-color: var(--fcv-navy-700) !important;
    background: var(--fcv-navy-700) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.btn-secondary, .authority-decision.correction {
    border: 1px solid var(--fcv-gold-600) !important;
    background: #fff !important;
    color: var(--fcv-navy-900) !important;
}
.btn-secondary:hover, .authority-decision.correction:hover { background: var(--fcv-amber-soft) !important; }
.btn-light { border: 1px solid var(--fcv-gold-500) !important; background: var(--fcv-gold-300) !important; color: var(--fcv-navy-950) !important; }
.btn-dark-ghost, .btn-ghost { border-color: #b9c7d2 !important; color: var(--fcv-navy-800) !important; }
.btn-dark-ghost:hover, .btn-ghost:hover { background: var(--fcv-blue-soft) !important; color: var(--fcv-navy-950) !important; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
    border-color: #bac7d1 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: var(--fcv-ink) !important;
}
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus {
    border-color: var(--fcv-gold-600) !important;
    box-shadow: 0 0 0 3px rgba(196,165,94,.18) !important;
}
.field label, .fcv-comment-form label { color: var(--fcv-navy-900) !important; font-weight: 700; }
.alert, .app-alert { border-radius: 10px !important; }
.alert.success, .signal.success { border-color: #b7d8c2 !important; background: var(--fcv-green-soft) !important; color: #235e3e !important; }
.alert.warning, .signal.attention { border-color: #e7d394 !important; background: var(--fcv-amber-soft) !important; color: #765313 !important; }
.alert.error, .signal.error { border-color: #e5b8b8 !important; background: var(--fcv-red-soft) !important; color: #8e3035 !important; }

/* Home and work lists */
.workspace-hero {
    overflow: hidden;
    border: 1px solid var(--fcv-navy-700) !important;
    border-bottom: 4px solid var(--fcv-gold-500) !important;
    border-radius: 15px !important;
    background: linear-gradient(120deg, var(--fcv-navy-950), var(--fcv-navy-800)) !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(7,26,43,.18) !important;
}
.workspace-hero h1, .workspace-hero p, .workspace-hero .hero-kicker,
.workspace-hero strong { color: #fff !important; }
.workspace-hero .hero-kicker { color: var(--fcv-gold-300) !important; }
.workspace-hero .btn-dark-ghost { border-color: rgba(255,255,255,.42) !important; color: #fff !important; }
.workspace-hero .hero-check { border-color: var(--fcv-gold-500) !important; background: var(--fcv-gold-300) !important; color: var(--fcv-navy-950) !important; }
.workspace-hero .hero-orbit { border-color: rgba(231,215,166,.35) !important; }
.metric-grid { gap: 13px !important; }
.metric-card { border-top: 3px solid var(--fcv-navy-700) !important; color: var(--fcv-ink) !important; text-decoration: none !important; }
.metric-card:hover { border-top-color: var(--fcv-gold-600) !important; transform: translateY(-2px); }
.metric-label { color: var(--fcv-muted) !important; }
.metric-value { color: var(--fcv-navy-900) !important; }
.metric-attention { border-top-color: var(--fcv-amber) !important; }
.metric-success { border-top-color: var(--fcv-green) !important; }
.work-row, .document-center-row { border-bottom-color: #e8edf1 !important; }
.work-row:hover, .document-center-row:hover { background: #f5f8fa !important; }
.work-main strong, .document-center-main strong { color: var(--fcv-navy-900) !important; }
.work-icon, .document-file-icon, .empty-state-icon { background: var(--fcv-blue-soft) !important; color: var(--fcv-navy-800) !important; }

/* Cases, uploads and documents */
.case-hero, .document-heading { border-bottom: 1px solid var(--fcv-line); padding-bottom: 14px; }
.case-info-strip { border: 1px solid var(--fcv-line) !important; border-radius: 11px !important; background: #fff !important; box-shadow: 0 4px 14px rgba(10,35,58,.04); }
.case-info-strip > div + div { border-left-color: var(--fcv-line) !important; }
.case-info-strip span, .document-metric span { color: var(--fcv-muted) !important; }
.case-info-strip strong, .document-metric strong { color: var(--fcv-navy-900) !important; }
.case-card { border-top: 3px solid var(--fcv-gold-500) !important; }
.case-monogram { background: var(--fcv-navy-900) !important; color: var(--fcv-gold-300) !important; }
.case-card-footer { border-top-color: var(--fcv-line) !important; }
.upload-panel { border-top: 4px solid var(--fcv-gold-500) !important; }
.upload-panel-icon { color: var(--fcv-gold-700) !important; }
.smart-upload { border-color: #b7c5d0 !important; border-radius: 10px !important; background: #f6f9fb !important; }
.smart-upload:hover { border-color: var(--fcv-gold-600) !important; background: #fbf8ef !important; }
.fcv-case-table th { color: var(--fcv-navy-700) !important; background: #f3f6f8; }
.fcv-case-table td { border-bottom-color: #e8edf1 !important; }
.fcv-case-document-link { color: var(--fcv-navy-800) !important; }
.segment-tabs, .attorney-filter-tabs { border-color: var(--fcv-line) !important; }
.segment-tabs a.active, .attorney-filter-tabs button.active { background: var(--fcv-navy-900) !important; color: #fff !important; }
.collection-toolbar, .attorney-review-toolbar { border-color: var(--fcv-line) !important; }
.document-page .next-action-card { border-left: 4px solid var(--fcv-gold-500) !important; }
.next-action-card.final-state, .next-action-card.clean-state { background: var(--fcv-green-soft) !important; }
.next-action-card.attention-state, .next-action-card.error-state { background: var(--fcv-amber-soft) !important; }
.next-action-icon { color: var(--fcv-navy-800) !important; }
.document-metric-grid { gap: 12px !important; }
.review-workspace { gap: 16px !important; }
.review-cockpit, .document-side-rail .compact-card { border-top: 3px solid var(--fcv-gold-500) !important; }
.citation-review-item { border-color: var(--fcv-line) !important; background: #fff !important; }
.citation-review-item.attention { border-left: 3px solid var(--fcv-amber) !important; }
.citation-review-item.clean { border-left: 3px solid var(--fcv-green) !important; }
.verified-collapse, .technical-details, .attorney-advanced-tools { border: 1px solid var(--fcv-line) !important; border-radius: 11px !important; background: #fff !important; }
.technical-details > summary, .attorney-advanced-tools > summary { color: var(--fcv-navy-900) !important; }
.table th { color: var(--fcv-navy-700) !important; background: #f3f6f8 !important; }
.table td, .table th { border-color: var(--fcv-line) !important; }

/* Citation review desk */
.attorney-desk { color: var(--fcv-ink); }
.attorney-desk-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:14px; }
.attorney-desk-heading h1 { margin: 4px 0; overflow-wrap:anywhere; }
.attorney-desk-heading p { color: var(--fcv-muted) !important; }
.attorney-desk > .card:first-child { border-left-color: var(--fcv-gold-500) !important; border-radius: 12px !important; box-shadow: var(--fcv-shadow) !important; }
.attorney-review-summary { border: 1px solid var(--fcv-line) !important; border-radius: 12px !important; background: #fff !important; box-shadow: var(--fcv-shadow) !important; }
.review-ring { color: var(--fcv-navy-900) !important; }
.review-ring::before { background: conic-gradient(var(--fcv-green) var(--review-progress), #e5ebef 0) !important; }
.review-number { border-left-color: var(--fcv-line) !important; }
.review-number.approved > span { color: var(--fcv-green) !important; }
.review-number.attention > span { color: var(--fcv-amber) !important; }
.review-callout { border: 1px solid var(--fcv-line) !important; border-left: 4px solid var(--fcv-gold-500) !important; border-radius: 11px !important; background: #fff !important; box-shadow: 0 5px 16px rgba(10,35,58,.05); }
.review-callout h2, .review-callout .eyebrow { color: var(--fcv-navy-900) !important; }
.review-callout.attention { background: var(--fcv-amber-soft) !important; border-left-color: var(--fcv-amber) !important; }
.review-callout.ready { background: var(--fcv-green-soft) !important; border-left-color: var(--fcv-green) !important; }
.review-callout-icon { background: var(--fcv-navy-900) !important; color: #fff !important; }
.fcv-run-mode-banner { border-color: #e5d59b !important; border-radius: 11px !important; background: var(--fcv-amber-soft) !important; color: var(--fcv-ink) !important; }
.fcv-run-mode-banner--automated { border-color: #cad8e3 !important; background: var(--fcv-blue-soft) !important; }
.fcv-run-mode-banner strong { color: var(--fcv-navy-900) !important; }
.fcv-run-mode-icon { background: var(--fcv-gold-300) !important; color: var(--fcv-navy-900) !important; }

.fcv-review-workbench {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.55fr);
    align-items: start;
    gap: 16px;
    margin: 12px 0 20px;
}
.fcv-pleading-pane, .fcv-queue-pane { min-width: 0; }
.fcv-pane-heading {
    margin: 0 0 10px;
    padding: 0 2px;
}
.fcv-pane-heading strong { display:block; color: var(--fcv-navy-900); font-size: 1rem; }
.fcv-pane-heading small { display:block; margin-top:3px; color:var(--fcv-muted); line-height:1.45; }
.fcv-pleading-pane .fcv-source-reader {
    position: sticky;
    top: 12px;
    margin: 0;
    border: 1px solid var(--fcv-line) !important;
    border-top: 3px solid var(--fcv-gold-500) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: var(--fcv-shadow) !important;
}
.fcv-source-reader > summary { padding: 13px 15px !important; color: var(--fcv-navy-900) !important; }
.fcv-source-reader > summary strong { font-size: .94rem; }
.fcv-source-reader > summary small { color: var(--fcv-muted) !important; line-height: 1.4; }
.fcv-source-reader .attorney-advanced-body { padding: 0 14px 14px !important; }
.fcv-source-reader .subtle { font-size: .82rem; }
.fcv-source-text-scroll {
    min-height: 260px !important;
    max-height: min(68vh, 760px) !important;
    border-color: #cfd8df !important;
    border-radius: 8px !important;
    background: #fbfcfd !important;
}
.fcv-source-text-scroll pre { color:#233247 !important; font: 14px/1.72 Georgia, "Times New Roman", serif !important; }
.fcv-source-highlight.automatic { background:#f8e5a4 !important; }
.fcv-source-highlight.manual { background:#d6eedb !important; }
.fcv-source-reader-actions { align-items:flex-start !important; }
.fcv-source-reader-actions [role=status] { color:var(--fcv-muted) !important; }
.fcv-queue-pane .attorney-review-toolbar { margin:0 0 10px; padding:10px; border:1px solid var(--fcv-line); border-radius:10px; background:#fff; }
.fcv-queue-pane .attorney-authority-list { display:grid; gap:11px; }
.attorney-authority-card {
    display: grid !important;
    grid-template-columns: minmax(0,1.03fr) minmax(0,1fr) minmax(130px,.52fr) !important;
    align-items: start !important;
    gap: 12px !important;
    min-width: 0 !important;
    padding: 13px !important;
    border: 1px solid var(--fcv-line) !important;
    border-left: 4px solid var(--fcv-gold-500) !important;
    border-radius: 11px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(10,35,58,.055) !important;
}
.attorney-authority-card.approved { border-left-color: var(--fcv-green) !important; }
.attorney-authority-card.issue { border-left-color: var(--fcv-red) !important; }
.attorney-authority-card.pending { border-left-color: var(--fcv-amber) !important; }
.attorney-authority-card > .authority-state { display:none !important; }
.attorney-authority-card > .authority-main { grid-column:1; grid-row:1; min-width:0 !important; }
.authority-status-line { display:flex; flex-wrap:wrap; gap:5px; align-items:center; }
.authority-status-line > div { display:flex; flex-wrap:wrap; gap:5px; }
.authority-status-line small { color:var(--fcv-muted) !important; }
.system-pill, .attorney-pill, .review-chip, .signal {
    display:inline-flex; align-items:center; gap:5px; width:max-content; max-width:100%;
    border:1px solid transparent; border-radius:999px; padding:4px 8px;
    font-size:.7rem !important; font-weight:750 !important; line-height:1.25;
}
.system-pill.matched, .attorney-pill.approved, .signal.success { background:var(--fcv-green-soft) !important; color:#246542 !important; }
.system-pill.unresolved, .attorney-pill.pending { background:var(--fcv-amber-soft) !important; color:#765313 !important; }
.attorney-pill.correction, .authority-findings .error { background:var(--fcv-red-soft) !important; color:#8e3035 !important; }
.attorney-pill.neutral { background:#edf1f4 !important; color:#536274 !important; }
.authority-main h2 { margin:8px 0 !important; color:var(--fcv-navy-900) !important; font-size:1rem !important; line-height:1.4 !important; overflow-wrap:anywhere; }
.authority-main > small, .authority-main .authority-review-meta { color:var(--fcv-muted) !important; }
.authority-note, .authority-findings { border-radius:8px !important; }
.authority-note { border-left:3px solid var(--fcv-gold-500) !important; background:#f7f9fb !important; }
.authority-note.attorney { border-left-color:var(--fcv-navy-700) !important; }
.authority-actions {
    grid-column:3 !important;
    grid-row:1 !important;
    display:flex !important;
    min-width:0 !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:7px !important;
}
.authority-actions > * { width:100% !important; min-width:0 !important; justify-content:center; text-align:center; }
.show-proof-button, .authority-decision { padding:9px 10px !important; line-height:1.25 !important; overflow-wrap:anywhere; }
.authority-decision-panel { grid-column:1 / -1 !important; min-width:0 !important; margin-top:2px !important; border-color:var(--fcv-line) !important; border-radius:10px !important; background:#f8fafb !important; }
.decision-panel-heading strong { color:var(--fcv-navy-900) !important; }
.decision-option { border-color:var(--fcv-line) !important; border-radius:9px !important; background:#fff !important; }
.decision-option.approve { border-top:3px solid var(--fcv-green) !important; }
.decision-option.correction { border-top:3px solid var(--fcv-red) !important; }
.decision-option.neutral { border-top:3px solid #9aa8b4 !important; }
.attorney-authority-card > .fcv-citation-discussion {
    grid-column:2 !important;
    grid-row:1 !important;
    min-width:0 !important;
    margin:0 !important;
    border:1px solid #d6e0e7 !important;
    border-radius:9px !important;
    background:#f8fafb !important;
}
.fcv-citation-discussion > summary { min-height:46px; padding:10px 11px !important; color:var(--fcv-navy-900) !important; }
.fcv-citation-discussion > summary strong { font-size:.84rem; }
.fcv-citation-discussion > summary small { color:var(--fcv-muted) !important; font-size:.73rem !important; }
.fcv-collab-count { border:1px solid #d6e0e7 !important; background:var(--fcv-blue-soft) !important; color:var(--fcv-navy-800) !important; }
.fcv-discussion-body { padding:0 10px 11px !important; }
.fcv-note-card, .fcv-activity-row {
    margin:8px 0 !important;
    padding:10px 11px !important;
    border:1px solid #e0e6eb !important;
    border-left:4px solid var(--fcv-gold-600) !important;
    border-radius:8px !important;
    background:#fff !important;
}
.fcv-role-lead { border-left-color:#7657a5 !important; }
.fcv-role-attorney { border-left-color:#3974a5 !important; }
.fcv-role-assistant { border-left-color:#39866d !important; }
.fcv-role-member { border-left-color:var(--fcv-gold-600) !important; }
.fcv-person { color:var(--fcv-navy-900) !important; }
.fcv-role-badge { background:#f0eaf7 !important; color:#5f4386 !important; }
.fcv-role-attorney .fcv-role-badge { background:#e8f0f7 !important; color:#315d83 !important; }
.fcv-role-assistant .fcv-role-badge { background:#e8f4ef !important; color:#2f6c57 !important; }
.fcv-role-member .fcv-role-badge { background:#f6f0df !important; color:#765d2d !important; }
.fcv-activity-head time { color:var(--fcv-muted) !important; }
.fcv-note-card > p, .fcv-activity-row > p { color:#334456 !important; }
.fcv-comment-form { border-top-color:var(--fcv-line) !important; }
.fcv-comment-form textarea { border-color:#bac7d1 !important; }
.fcv-comment-submit { justify-self:end; }
.fcv-activity-comment { border-left-color:var(--fcv-gold-500) !important; background:#f8fafb !important; }
.fcv-final-stage, .attorney-final-stage { border-top:3px solid var(--fcv-gold-500) !important; }
.fcv-collab-activity { border:1px solid var(--fcv-line) !important; border-radius:11px !important; background:#fff !important; }
.fcv-collab-activity > summary { color:var(--fcv-navy-900) !important; }
.fcv-collab-activity-list { max-height:560px; overflow:auto; }
.fcv-team-invite-note { border-color:#d9c483 !important; border-radius:10px !important; background:var(--fcv-amber-soft) !important; color:var(--fcv-ink) !important; }
.fcv-team-invite-note strong { color:var(--fcv-navy-900) !important; }

/* Team, profile and account pages */
.split { align-items:start; gap:16px !important; }
.split > .card { min-width:0; border-top:3px solid var(--fcv-gold-500) !important; }
.fcv-choice { border:1px solid var(--fcv-line) !important; border-radius:8px !important; background:#f8fafb !important; }
.fcv-choice:has(input:checked) { border-color:var(--fcv-gold-600) !important; background:#fbf8ef !important; }
.team-invitation, .invitation-card { border-color:var(--fcv-line) !important; }

/* Verification and evidence pages */
.scope-notice { border:1px solid #d5e0e8 !important; border-left:4px solid var(--fcv-navy-700) !important; border-radius:10px !important; background:var(--fcv-blue-soft) !important; color:var(--fcv-ink) !important; }
.readiness-factor, .stat { border:1px solid var(--fcv-line) !important; border-radius:10px !important; background:#fff !important; }
.readiness-copy h2, .phase5-launch h2 { color:var(--fcv-navy-900) !important; }
.citation-row, .proof-card, .evidence-card { border-color:var(--fcv-line) !important; border-radius:10px !important; background:#fff !important; }
.record-card-grid { gap:12px !important; }
.record-card { border-left:3px solid var(--fcv-gold-500) !important; }
.record-icon { color:var(--fcv-green) !important; }

/* Sign in, registration and account recovery */
body:has(.auth-shell), body:has(main > .brand) {
    min-height:100vh;
    color:var(--fcv-ink) !important;
    background:linear-gradient(140deg, var(--fcv-navy-950), var(--fcv-navy-800)) !important;
    font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
.auth-shell { min-height:100vh !important; background:transparent !important; }
.auth-wrap { max-width:1040px !important; gap:0 !important; border:1px solid rgba(231,215,166,.44) !important; border-radius:18px !important; overflow:hidden; box-shadow:0 24px 70px rgba(0,0,0,.28) !important; }
.auth-brand { background:linear-gradient(155deg, var(--fcv-navy-850), var(--fcv-navy-950)) !important; color:#fff !important; }
.auth-brand h1, .auth-brand p, .auth-brand .trust { color:#fff !important; }
.auth-brand h1 { font-size:clamp(28px,4vw,40px) !important; }
.auth-brand .seal, .auth-brand .mark { border-color:var(--fcv-gold-300) !important; background:var(--fcv-gold-500) !important; color:var(--fcv-navy-950) !important; }
.auth-brand .trust > div { border-top-color:rgba(231,215,166,.24) !important; color:#d9e4ed !important; }
.auth-card { background:#fff !important; color:var(--fcv-ink) !important; }
.auth-card h1, .auth-card h2 { color:var(--fcv-navy-900) !important; }
.auth-card .eyebrow { color:var(--fcv-gold-700) !important; }
.auth-card .subtle, .auth-card p { color:var(--fcv-muted) !important; }
body:has(main > .brand) main { width:min(100% - 28px, 540px) !important; }
body:has(main > .brand) .brand h1 { color:#fff !important; }
body:has(main > .brand) .brand p { color:#d5e0e9 !important; }
body:has(main > .brand) .mark { border-color:var(--fcv-gold-300) !important; background:var(--fcv-gold-500) !important; color:var(--fcv-navy-950) !important; }
body:has(main > .brand) .card { border:1px solid var(--fcv-line) !important; border-top:4px solid var(--fcv-gold-500) !important; border-radius:14px !important; background:#fff !important; box-shadow:0 18px 50px rgba(0,0,0,.22) !important; }
body:has(main > .brand) h2 { color:var(--fcv-navy-900) !important; }
body:has(main > .brand) .intro { color:var(--fcv-muted) !important; }

/* Reduce accidental clipping and keep all panels inside the viewport */
.attorney-desk, .document-page, .case-workspace, .dashboard-layout,
.fcv-review-workbench, .attorney-authority-card, .fcv-discussion-body,
.authority-main, .authority-actions, .app-page { min-width:0; }
.attorney-authority-card *, .fcv-review-workbench *, .app-page * { overflow-wrap:anywhere; }
.table-wrap, .fcv-case-table-wrap { max-width:100%; overflow-x:auto; }
@media (max-width: 920px) {
    .fcv-review-workbench { grid-template-columns:minmax(0,1fr); }
    .fcv-pleading-pane .fcv-source-reader { position:static; }
    .fcv-source-text-scroll { max-height:48vh !important; }
}
@media (max-width: 1050px) {
    .attorney-authority-card { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) !important; }
    .attorney-authority-card > .authority-main { grid-column:1 !important; }
    .attorney-authority-card > .fcv-citation-discussion { grid-column:2 !important; }
    .attorney-authority-card > .authority-actions { grid-column:1 / -1 !important; grid-row:2 !important; flex-direction:row !important; flex-wrap:wrap; }
    .authority-actions > * { width:auto !important; flex:1 1 170px; }
    .authority-decision-panel { grid-column:1 / -1 !important; }
}
@media (max-width: 760px) {
    .app-page { padding-left:14px !important; padding-right:14px !important; }
    .attorney-desk-heading { flex-direction:column; }
    .attorney-desk-heading-actions { width:100%; flex-wrap:wrap; }
    .attorney-review-summary { grid-template-columns:1fr 1fr !important; }
    .review-progress { grid-column:1 / -1; }
    .review-number { border-left:0 !important; border-top:1px solid var(--fcv-line); padding-top:10px; }
    .attorney-authority-card { grid-template-columns:minmax(0,1fr) !important; gap:9px !important; }
    .attorney-authority-card > .authority-main,
    .attorney-authority-card > .fcv-citation-discussion,
    .attorney-authority-card > .authority-actions,
    .attorney-authority-card > .authority-decision-panel { grid-column:1 / -1 !important; grid-row:auto !important; }
    .attorney-authority-card > .authority-actions { flex-direction:column !important; }
    .authority-actions > * { width:100% !important; }
    .fcv-source-text-scroll { max-height:55vh !important; min-height:190px !important; }
    .auth-wrap { width:min(100% - 24px, 600px) !important; margin:12px auto !important; }
    .auth-brand { padding:24px !important; }
    .auth-card { padding:24px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior:auto; }
    *, *::before, *::after { transition-duration:.01ms !important; animation-duration:.01ms !important; }
}

/* Public welcome page */
body:has(.hero) {
    min-height:100vh;
    color:var(--fcv-ink) !important;
    background:linear-gradient(140deg, var(--fcv-navy-950), var(--fcv-navy-800)) !important;
}
.hero {
    min-height:100vh;
    color:#fff !important;
    background:linear-gradient(135deg, var(--fcv-navy-950), var(--fcv-navy-800)) !important;
}
.hero h1, .hero p { color:#fff !important; }
.hero .eyebrow { color:var(--fcv-gold-300) !important; }
.hero-seal { border-color:var(--fcv-gold-500) !important; background:rgba(255,255,255,.06) !important; }
.hero-seal > div { border-color:rgba(231,215,166,.55) !important; color:var(--fcv-gold-300) !important; }
.hero-seal small { color:#e2eaf0 !important; }


/* FCV_WORKBENCH_UI_BUILD_20261028-3 */

/* The compact courthouse rail keeps the filing workspace wide on desktop. */
@media (min-width: 761px) {
    .app-shell {
        display: grid !important;
        grid-template-columns: 92px minmax(0, 1fr) !important;
        min-height: 100vh;
    }
    .app-sidebar {
        width: 92px !important;
        min-width: 92px !important;
        padding: 12px 6px !important;
        align-items: stretch;
    }
    .app-brand {
        flex-direction: column !important;
        justify-content: center;
        gap: 5px !important;
        text-align: center;
    }
    .app-brand .brand-mark {
        display: grid;
        width: 46px;
        height: 46px;
        margin: 0 auto;
        place-items: center;
        border: 0 !important;
        background: transparent !important;
        color: var(--fcv-gold-500) !important;
        box-shadow: none !important;
    }
    .app-brand .brand-mark svg { display: block; width: 43px; height: 43px; }
    .app-brand .brand-copy { display: block; width: 100%; }
    .app-brand .brand-copy strong { display: block; font-size: .64rem; line-height: 1.12; }
    .app-brand .brand-copy small,
    .app-sidebar .nav-context,
    .app-sidebar .nav-label,
    .app-sidebar .nav-divider,
    .app-sidebar .nav-spacer,
    .app-sidebar .sidebar-trust { display: none !important; }
    .app-sidebar .app-nav {
        display: flex !important;
        flex: 1 0 auto !important;
        flex-direction: column !important;
        gap: 5px !important;
        margin-top: 14px;
    }
    .app-sidebar .app-nav > .nav-link {
        display: flex !important;
        min-height: 62px !important;
        flex: 0 0 auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 6px 3px !important;
        text-align: center !important;
    }
    .app-sidebar .nav-link .nav-glyph {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        font-size: 1.22rem;
        line-height: 1;
    }
    .app-sidebar .nav-link > span:not(.nav-glyph) {
        display: block !important;
        width: 100%;
        font-size: .62rem;
        line-height: 1.08;
        white-space: normal;
        text-align: center;
    }
}

/* Case overview: filings, current revision, and citation decisions at a glance. */
.case-workspace.fcv-case-overview {
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr) minmax(255px, .92fr) !important;
    align-items: start;
    gap: 12px !important;
    min-width: 0;
}
.fcv-case-overview > *, .fcv-overview-rail > * { min-width: 0; }
.fcv-case-filings, .fcv-overview-document, .fcv-analysis-panel, #case-upload-panel {
    padding: 15px !important;
    border: 1px solid var(--fcv-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: var(--fcv-shadow) !important;
}
.fcv-case-filings .section-heading, .fcv-overview-document .section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.fcv-case-filings .section-heading h2, .fcv-overview-document .section-heading h2,
.fcv-analysis-panel h2 { margin: 2px 0 4px; color: var(--fcv-navy-900) !important; font-size: 1rem; }
.fcv-case-filings .section-heading p, .fcv-overview-document .section-heading p {
    margin: 0;
    color: var(--fcv-muted) !important;
    font-size: .78rem;
    line-height: 1.4;
}
.fcv-upload-shortcut, .fcv-filing-open, .fcv-analysis-action {
    color: var(--fcv-navy-800) !important;
    font-size: .76rem;
    font-weight: 750;
    text-decoration: none;
}
.fcv-filing-list { display: grid; gap: 8px; }
.fcv-filing-row {
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--fcv-line);
    border-left: 3px solid #b8c5cf;
    border-radius: 9px;
    background: #fff;
}
.fcv-filing-row.selected {
    border-color: var(--fcv-gold-600);
    border-left-color: var(--fcv-gold-600);
    background: #fbf8ef;
    box-shadow: 0 0 0 2px rgba(196,165,94,.12);
}
.fcv-filing-select { display: block; color: var(--fcv-navy-900) !important; text-decoration: none !important; }
.fcv-filing-select strong { display: block; font-size: .82rem; line-height: 1.3; }
.fcv-filing-select small, .fcv-filing-count { display: block; margin-top: 3px; color: var(--fcv-muted) !important; font-size: .7rem; }
.fcv-filing-row .signal { width: fit-content; max-width: 100%; font-size: .65rem !important; }
.fcv-filing-open { justify-self: start; }
.fcv-overview-document { border-top: 3px solid var(--fcv-gold-500) !important; }
.fcv-overview-text {
    max-height: min(66vh, 760px);
    min-height: 250px;
    overflow: auto;
    border: 1px solid var(--fcv-line);
    border-radius: 8px;
    background: #fbfcfd;
    color: #26374a;
    scrollbar-color: #a8b7c3 #f1f4f6;
}
.fcv-overview-text pre {
    margin: 0;
    padding: 15px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: inherit;
    font: 13px/1.65 Georgia, "Times New Roman", serif;
}
.fcv-overview-empty, .fcv-analysis-empty, .fcv-notes-empty {
    padding: 16px;
    border: 1px dashed #c7d2db;
    border-radius: 9px;
    background: #f7f9fa;
    color: var(--fcv-muted);
    font-size: .82rem;
}
.fcv-overview-empty h2 { margin: 0 0 7px; font-size: 1rem; }
.fcv-overview-empty p, .fcv-analysis-empty p, .fcv-notes-empty p { margin: 5px 0 0; }
.fcv-overview-rail { display: grid; gap: 12px; min-width: 0; }
.fcv-analysis-panel { border-top: 3px solid var(--fcv-navy-700) !important; }
.fcv-analysis-document { margin: 0 0 10px; color: var(--fcv-muted); font-size: .72rem; }
.fcv-analysis-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin: 10px 0; }
.fcv-analysis-metrics > div { padding: 8px 5px; border: 1px solid var(--fcv-line); border-radius: 8px; background: #f8fafb; text-align: center; }
.fcv-analysis-metrics strong { display: block; color: var(--fcv-navy-900); font-size: 1.05rem; }
.fcv-analysis-metrics small { display: block; color: var(--fcv-muted); font-size: .61rem; line-height: 1.15; }
.fcv-analysis-list { display: grid; gap: 6px; margin: 10px 0; }
.fcv-analysis-item { display: grid; grid-template-columns: 9px minmax(0,1fr); gap: 8px; align-items: start; padding: 8px; border: 1px solid var(--fcv-line); border-radius: 8px; background: #fff; text-decoration: none !important; }
.fcv-analysis-item strong { display: block; color: var(--fcv-ink); font-size: .72rem; line-height: 1.3; }
.fcv-analysis-item small { display: block; margin-top: 3px; color: var(--fcv-muted); font-size: .66rem; }
.fcv-analysis-dot { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--fcv-amber); }
.fcv-analysis-item.success { border-left: 3px solid var(--fcv-green); background: var(--fcv-green-soft); }
.fcv-analysis-item.success .fcv-analysis-dot { background: var(--fcv-green); }
.fcv-analysis-item.pending { border-left: 3px solid var(--fcv-amber); background: #fffaf0; }
.fcv-analysis-item.issue { border-left: 3px solid var(--fcv-red); background: var(--fcv-red-soft); }
.fcv-analysis-item.issue .fcv-analysis-dot { background: var(--fcv-red); }
.fcv-analysis-action { display: inline-block; margin-top: 4px; }
.fcv-history-note { margin: 10px 0 0; padding: 8px; border-left: 3px solid var(--fcv-gold-500); background: var(--fcv-amber-soft); color: var(--fcv-ink); font-size: .68rem; }
#case-upload-panel { border-top: 3px solid var(--fcv-gold-500) !important; }
#case-upload-panel h2 { margin: 4px 0; color: var(--fcv-navy-900); font-size: 1rem; }
#case-upload-panel > p { margin: 4px 0 12px; color: var(--fcv-muted); font-size: .76rem; }
#case-upload-panel .smart-upload { min-height: 72px; padding: 9px; }
#case-upload-panel .upload-submit { width: 100%; margin-top: 10px; }

/* Citation review: document, attributable notes, attorney dispositions, audit trail. */
.fcv-review-workbench.fcv-three-pane-workbench {
    display: grid !important;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .96fr) minmax(270px, 1fr) !important;
    align-items: start;
    gap: 12px !important;
    margin: 12px 0 20px;
}
.fcv-three-pane-workbench > *, .fcv-citation-side > * { min-width: 0; }
.fcv-notes-pane {
    padding: 12px;
    border: 1px solid var(--fcv-line);
    border-top: 3px solid var(--fcv-gold-500);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--fcv-shadow);
}
.fcv-notes-pane > .fcv-pane-heading strong { color: var(--fcv-navy-900); }
.fcv-note-thread-list { display: grid; gap: 9px; }
.fcv-note-thread {
    overflow: hidden;
    border: 1px solid #d4dee6;
    border-radius: 9px;
    background: #fff;
}
.fcv-note-thread[open] { border-color: var(--fcv-gold-600); box-shadow: 0 3px 12px rgba(10,35,58,.06); }
.fcv-note-thread > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    color: var(--fcv-navy-900);
    background: #f6f8fa;
    cursor: pointer;
    list-style: none;
}
.fcv-note-thread > summary::-webkit-details-marker { display: none; }
.fcv-note-thread > summary strong, .fcv-note-thread > summary small { display: block; }
.fcv-note-thread > summary strong { font-size: .75rem; }
.fcv-note-thread > summary small { max-width: 100%; margin-top: 3px; color: var(--fcv-ink); font-size: .69rem; line-height: 1.35; }
.fcv-thread-body { display: grid; gap: 8px; padding: 9px; }
.fcv-thread-body .fcv-note-card {
    display: grid;
    grid-template-columns: 30px minmax(0,1fr);
    gap: 8px;
    margin: 0 !important;
    padding: 9px !important;
    border: 1px solid var(--fcv-line) !important;
    border-left: 3px solid var(--fcv-gold-600) !important;
    border-radius: 8px !important;
    background: #fff !important;
}
.fcv-thread-body .fcv-role-lead { border-left-color: #7657a5 !important; }
.fcv-thread-body .fcv-role-attorney { border-left-color: #3974a5 !important; }
.fcv-thread-body .fcv-role-assistant { border-left-color: #39866d !important; }
.fcv-thread-body .fcv-role-member { border-left-color: var(--fcv-gold-600) !important; }
.fcv-note-avatar { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: var(--fcv-blue-soft); color: var(--fcv-navy-800); font-size: .65rem; font-weight: 800; }
.fcv-role-lead .fcv-note-avatar { background: #f0eaf7; color: #5f4386; }
.fcv-role-attorney .fcv-note-avatar { background: #e8f0f7; color: #315d83; }
.fcv-role-assistant .fcv-note-avatar { background: #e8f4ef; color: #2f6c57; }
.fcv-role-member .fcv-note-avatar { background: #f6f0df; color: #765d2d; }
.fcv-note-content { min-width: 0; }
.fcv-note-content .fcv-activity-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.fcv-note-content .fcv-person { color: var(--fcv-navy-900); font-size: .7rem; font-weight: 800; }
.fcv-note-content .fcv-role-badge { padding: 2px 6px; border-radius: 999px; background: #edf2f6; color: var(--fcv-navy-800); font-size: .59rem; font-weight: 750; }
.fcv-note-content time { color: var(--fcv-muted); font-size: .61rem; }
.fcv-note-content p { margin: 5px 0 0; color: #344456; font-size: .71rem; line-height: 1.45; overflow-wrap: anywhere; }
.fcv-thread-body .fcv-comment-form { display: grid; gap: 6px; padding-top: 7px; }
.fcv-thread-body .fcv-comment-form label { font-size: .68rem; }
.fcv-thread-body .fcv-comment-form textarea { min-height: 58px; padding: 8px; font-size: .72rem; }
.fcv-thread-body .fcv-comment-submit { justify-self: end; padding: 7px 12px; font-size: .69rem; }
.fcv-open-thread {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 9px;
    border: 1px solid var(--fcv-navy-700) !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: var(--fcv-navy-900) !important;
    font-size: .69rem;
    font-weight: 750;
    text-decoration: none !important;
}
.fcv-citation-side { display: flex; flex-direction: column; gap: 12px; }
.fcv-queue-pane .fcv-pane-heading { margin-bottom: 8px; }
.fcv-queue-pane .attorney-review-toolbar { padding: 8px; }
.fcv-queue-pane .attorney-filter-tabs { flex-wrap: wrap; }
.fcv-queue-pane .attorney-review-search input { min-width: 0; }
.fcv-queue-pane .attorney-authority-list { display: grid; gap: 8px; }
.fcv-queue-pane .attorney-authority-card {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 8px !important;
    padding: 10px !important;
    border-left-width: 4px !important;
}
.fcv-queue-pane .attorney-authority-card > .authority-main,
.fcv-queue-pane .attorney-authority-card > .authority-actions,
.fcv-queue-pane .attorney-authority-card > .authority-decision-panel {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
}
.fcv-queue-pane .attorney-authority-card > .authority-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 6px !important;
}
.fcv-queue-pane .authority-actions > * { width: auto !important; min-width: 0; flex: 1 1 125px; }
.fcv-queue-pane .authority-main h2 { margin: 5px 0 !important; font-size: .78rem !important; }
.fcv-queue-pane .authority-status-line { gap: 4px; }
.fcv-queue-pane .authority-status-line > div { gap: 4px; }
.fcv-queue-pane .system-pill, .fcv-queue-pane .attorney-pill { padding: 3px 6px; font-size: .59rem !important; }
.fcv-citation-side .attorney-final-stage { margin: 0 !important; padding: 12px !important; }
.fcv-citation-side .attorney-final-stage h2 { font-size: .91rem; }
.fcv-citation-side .attorney-final-stage p { font-size: .72rem; }
.fcv-citation-side .fcv-collab-activity { margin: 0 !important; }
.fcv-citation-side .fcv-collab-activity-list { max-height: none !important; overflow: visible !important; padding: 0 10px 10px !important; }
.fcv-citation-side .fcv-activity-row { padding: 8px !important; }
.fcv-citation-side .fcv-activity-head { flex-wrap: wrap; gap: 4px 6px; }
.fcv-citation-side .fcv-change-list { padding-left: 16px; font-size: .68rem; }
.fcv-citation-side .fcv-activity-comment { font-size: .68rem; }

@media (max-width: 920px) {
    .case-workspace.fcv-case-overview,
    .fcv-review-workbench.fcv-three-pane-workbench {
        grid-template-columns: minmax(0,1fr) !important;
    }
    .fcv-overview-rail { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .fcv-pleading-pane .fcv-source-reader { position: static; }
    .fcv-source-text-scroll { max-height: 55vh !important; }
}
@media (max-width: 680px) {
    .fcv-overview-rail { grid-template-columns: minmax(0,1fr); }
    .fcv-case-filings, .fcv-overview-document, .fcv-analysis-panel, #case-upload-panel,
    .fcv-notes-pane { padding: 11px !important; }
    .fcv-case-filings .section-heading, .fcv-overview-document .section-heading { flex-direction: column; }
    .fcv-note-content .fcv-activity-head { align-items: flex-start; }
    .fcv-note-content time { width: 100%; }
}

