:root {
    --nv-ink: #172033;
    --nv-ink-soft: #354052;
    --nv-muted: #697386;
    --nv-line: #dfe3e8;
    --nv-line-strong: #cdd3da;
    --nv-paper: #ffffff;
    --nv-wash: #f6f6f3;
    --nv-sidebar: #143f46;
    --nv-sidebar-line: rgba(255, 255, 255, 0.16);
    --nv-teal: #087e8b;
    --nv-teal-dark: #075e67;
    --nv-orange: #f4511e;
    --nv-green: #18794e;
    --nv-gold: #9a6700;
    --nv-red: #b42335;
    --nv-blue: #1769aa;
    --nv-radius: 6px;
}

.nv-body,
.nv-body * {
    box-sizing: border-box;
}

.nv-body {
    background: var(--nv-wash);
    color: var(--nv-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    min-width: 320px;
}

.nv-body [hidden] {
    display: none !important;
}

.nv-body button,
.nv-body select {
    font: inherit;
}

.nv-body a {
    color: inherit;
}

.nv-body .sr-only {
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

.nv-body button:focus-visible,
.nv-body select:focus-visible,
.nv-body a:focus-visible,
.nv-body summary:focus-visible,
.nv-body [tabindex="0"]:focus-visible {
    outline: 3px solid rgba(8, 126, 139, 0.28);
    outline-offset: 2px;
}

.nv-skip-link {
    background: var(--nv-paper);
    border: 2px solid var(--nv-teal);
    left: 12px;
    padding: 10px 14px;
    position: fixed;
    top: -60px;
    z-index: 2000;
}

.nv-skip-link:focus {
    top: 12px;
}

.nv-app {
    min-height: 100vh;
}

.nv-sidebar {
    background: var(--nv-sidebar);
    color: #fff;
    display: flex;
    flex-direction: column;
    inset: 0 auto 0 0;
    min-width: 0;
    overflow-y: auto;
    padding: 26px 20px 20px;
    position: fixed;
    width: 276px;
    z-index: 30;
}

.nv-brand {
    align-items: center;
    display: flex;
    font-size: 18px;
    font-weight: 800;
    gap: 10px;
    margin-bottom: 42px;
    text-decoration: none;
}

.nv-brand-mark {
    align-items: center;
    background: var(--nv-orange);
    color: #fff;
    display: inline-flex;
    flex: 0 0 34px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.nv-nav-label {
    color: #b9d0d2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.nv-role-buttons {
    display: grid;
    gap: 6px;
}

.nv-role-button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--nv-sidebar-line);
    border-radius: 4px;
    color: #dbe8e9;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 10px;
    min-height: 42px;
    padding: 7px 10px;
    text-align: left;
    width: 100%;
}

.nv-role-button:hover {
    background: rgba(255, 255, 255, 0.07);
}

.nv-role-button.is-active {
    background: var(--nv-paper);
    border-color: var(--nv-paper);
    color: var(--nv-sidebar);
}

.nv-avatar {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 26px;
    font-size: 11px;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.nv-role-button.is-active .nv-avatar {
    background: #dceeed;
}

.nv-sidebar-tools {
    border-top: 1px solid var(--nv-sidebar-line);
    display: grid;
    gap: 4px;
    margin-top: 30px;
    padding-top: 20px;
}

.nv-sidebar-link {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: #dbe8e9;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 11px;
    min-height: 42px;
    padding: 8px 10px;
    text-decoration: none;
    width: 100%;
}

.nv-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nv-sidebar-link svg {
    height: 17px;
    width: 17px;
}

.nv-link-arrow {
    margin-left: auto;
}

.nv-source-summary {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--nv-sidebar-line);
    border-radius: var(--nv-radius);
    color: #fff;
    cursor: pointer;
    display: grid;
    gap: 9px;
    grid-template-columns: 9px minmax(0, 1fr) 16px;
    margin-top: auto;
    min-height: 60px;
    padding: 10px;
    text-align: left;
    width: 100%;
}

.nv-source-summary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nv-source-summary strong,
.nv-source-summary small {
    display: block;
}

.nv-source-summary strong {
    font-size: 11px;
    margin-bottom: 3px;
}

.nv-source-summary small {
    color: #b9d0d2;
    font-size: 10px;
    line-height: 1.3;
}

.nv-source-summary svg {
    height: 15px;
    width: 15px;
}

.nv-source-dot {
    background: #32b67a;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 8px;
    height: 8px;
    width: 8px;
}

.nv-source-dot.is-mixed {
    background: #e4a11b;
}

.nv-source-dot.is-stale {
    background: #ec6b73;
}

.nv-main {
    margin-left: 276px;
    min-width: 0;
}

.nv-topbar {
    align-items: center;
    background: var(--nv-wash);
    border-bottom: 1px solid var(--nv-line);
    display: flex;
    gap: 24px;
    height: 64px;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.nv-breadcrumbs,
.nv-top-actions,
.nv-update-note,
.nv-section-heading,
.nv-text-button,
.nv-icon-button {
    align-items: center;
    display: flex;
}

.nv-breadcrumbs {
    color: var(--nv-muted);
    font-size: 12px;
    gap: 6px;
}

.nv-breadcrumbs svg {
    height: 13px;
    width: 13px;
}

.nv-breadcrumbs strong {
    color: var(--nv-ink);
}

.nv-top-actions {
    gap: 10px;
}

.nv-select-label {
    color: var(--nv-muted);
    font-size: 11px;
    font-weight: 700;
}

.nv-quarter-select {
    appearance: none;
    background: var(--nv-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23697386' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
    border: 1px solid var(--nv-line-strong);
    border-radius: 4px;
    color: var(--nv-ink);
    min-height: 40px;
    min-width: 178px;
    padding: 0 36px 0 12px;
}

.nv-icon-button {
    background: var(--nv-paper);
    border: 1px solid var(--nv-line-strong);
    border-radius: 4px;
    color: var(--nv-ink);
    cursor: pointer;
    height: 40px;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    width: 40px;
}

.nv-icon-button:hover {
    background: #f0f3f4;
}

.nv-icon-button svg {
    height: 17px;
    width: 17px;
}

.nv-page {
    margin: 0 auto;
    max-width: 1480px;
    padding: 34px 32px 54px;
}

.nv-loading {
    display: grid;
    gap: 16px;
    padding-top: 30px;
}

.nv-loading-bar {
    animation: nv-pulse 1.2s ease-in-out infinite;
    background: #e6e9e9;
    display: block;
    height: 80px;
}

.nv-loading-bar:nth-child(2) {
    animation-delay: 0.12s;
    height: 126px;
}

.nv-loading-bar:nth-child(3) {
    animation-delay: 0.24s;
    height: 320px;
}

@keyframes nv-pulse {
    50% { background: #d9dede; }
}

.nv-error {
    align-items: flex-start;
    background: #fff0f1;
    border: 1px solid #efb7bd;
    border-radius: var(--nv-radius);
    color: #7a1721;
    display: flex;
    gap: 12px;
    padding: 16px;
}

.nv-error svg {
    flex: 0 0 20px;
    height: 20px;
    width: 20px;
}

.nv-error p {
    margin: 4px 0 0;
}

.nv-welcome {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 26px;
}

.nv-eyebrow,
.nv-section-kicker {
    color: var(--nv-teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.nv-welcome h1,
.nv-section-heading h2,
.nv-dialog h2,
.nv-report-groups h3,
.nv-welcome p,
.nv-section-heading p,
.nv-dialog p {
    letter-spacing: 0;
}

.nv-welcome h1 {
    font-size: 32px;
    line-height: 1.16;
    margin: 0 0 7px;
}

.nv-lede {
    color: var(--nv-muted);
    font-size: 14px;
    margin: 0;
}

.nv-update-note {
    color: var(--nv-muted);
    flex: 0 0 auto;
    font-size: 11px;
    gap: 7px;
    padding-bottom: 3px;
}

.nv-focus-strip,
.nv-kpi-band {
    background: var(--nv-wash);
    border-bottom: 1px solid var(--nv-line);
    border-top: 1px solid var(--nv-line);
    display: grid;
    margin-bottom: 28px;
}

.nv-focus-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nv-focus-item {
    min-width: 0;
    padding: 16px 19px;
    position: relative;
    text-decoration: none;
}

.nv-focus-item + .nv-focus-item,
.nv-kpi + .nv-kpi {
    border-left: 1px solid var(--nv-line);
}

.nv-focus-item:hover {
    background: #f3f8f7;
}

.nv-focus-item small,
.nv-focus-item strong,
.nv-focus-item span {
    display: block;
}

.nv-focus-item small {
    color: var(--nv-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.07em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.nv-focus-item strong {
    font-size: 13px;
    margin-bottom: 3px;
    padding-right: 20px;
}

.nv-focus-item span {
    color: var(--nv-muted);
    font-size: 10px;
    line-height: 1.35;
}

.nv-focus-item svg {
    color: var(--nv-teal);
    height: 15px;
    position: absolute;
    right: 16px;
    top: 18px;
    width: 15px;
}

.nv-kpi-band {
    background: transparent;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nv-kpi {
    min-width: 0;
    padding: 18px 18px 18px 0;
}

.nv-kpi + .nv-kpi {
    padding-left: 18px;
}

.nv-kpi-label,
.nv-kpi-value,
.nv-kpi-detail {
    display: block;
}

.nv-kpi-label {
    color: var(--nv-muted);
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.nv-kpi-value {
    font-size: 28px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1;
}

.nv-kpi-detail {
    color: var(--nv-muted);
    font-size: 10px;
    line-height: 1.4;
    margin-top: 8px;
}

.nv-kpi-detail.is-good {
    color: var(--nv-green);
    font-weight: 700;
}

.nv-kpi-detail.is-attention {
    color: var(--nv-gold);
    font-weight: 700;
}

.nv-content-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.75fr) minmax(290px, 0.75fr);
}

.nv-chart-panel,
.nv-ready-panel {
    background: var(--nv-wash);
    border: 1px solid var(--nv-line);
    border-radius: var(--nv-radius);
    min-width: 0;
    padding: 18px;
}

.nv-section-heading {
    align-items: flex-start;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.nv-section-heading h2 {
    font-size: 18px;
    line-height: 1.25;
    margin: 0 0 4px;
}

.nv-section-heading p:not(.nv-section-kicker) {
    color: var(--nv-muted);
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

.nv-text-button {
    border: 1px solid var(--nv-line-strong);
    border-radius: 4px;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    min-height: 38px;
    padding: 0 11px;
    text-decoration: none;
}

.nv-text-button:hover {
    background: #f0f3f4;
}

.nv-text-button svg {
    height: 15px;
    width: 15px;
}

.nv-chart-frame {
    height: 330px;
    min-width: 0;
    position: relative;
}

.nv-chart-summary {
    background: #edf7f6;
    border-left: 3px solid var(--nv-teal);
    color: #294f53;
    font-size: 11px;
    line-height: 1.5;
    margin: 14px 0 0;
    padding: 9px 11px;
}

.nv-data-disclosure {
    border-top: 1px solid var(--nv-line);
    margin-top: 14px;
    padding-top: 10px;
}

.nv-data-disclosure summary {
    color: var(--nv-teal-dark);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.nv-table-scroll {
    margin-top: 10px;
    max-height: min(260px, 70dvh);
    overflow: auto;
}

.nv-chart-table {
    border-collapse: collapse;
    font-size: 11px;
    width: 100%;
}

.nv-chart-table th,
.nv-chart-table td {
    border-bottom: 1px solid var(--nv-line);
    padding: 8px 6px;
    text-align: left;
}

.nv-chart-table th:last-child,
.nv-chart-table td:last-child {
    text-align: right;
}

.nv-ready-list {
    display: grid;
}

.nv-ready-item {
    border-bottom: 1px solid var(--nv-line);
    display: block;
    padding: 13px 0;
    text-decoration: none;
}

.nv-ready-item:last-child {
    border-bottom: 0;
}

.nv-ready-item:hover strong {
    color: var(--nv-teal-dark);
}

.nv-ready-meta {
    align-items: center;
    display: flex;
    gap: 7px;
    margin-bottom: 5px;
}

.nv-priority-pill {
    background: #fff1e8;
    border: 1px solid #f7c5ac;
    border-radius: 4px;
    color: #9a3d14;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
}

.nv-ready-area {
    color: var(--nv-muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.nv-ready-item strong {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.nv-ready-item p {
    color: var(--nv-muted);
    font-size: 10px;
    line-height: 1.45;
    margin: 0;
}

.nv-page-note {
    color: var(--nv-muted);
    font-size: 10px;
    line-height: 1.5;
    margin: 16px 0 0;
}

.nv-dialog {
    background: var(--nv-paper);
    border: 1px solid var(--nv-line-strong);
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(23, 32, 51, 0.24);
    color: var(--nv-ink);
    max-height: calc(100vh - 48px);
    padding: 0;
    width: min(920px, calc(100vw - 36px));
}

.nv-dialog::backdrop {
    background: rgba(15, 23, 42, 0.52);
}

.nv-dialog-header {
    align-items: center;
    border-bottom: 1px solid var(--nv-line);
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
}

.nv-dialog-header h2 {
    font-size: 22px;
    margin: 0;
}

.nv-report-groups {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 24px;
}

.nv-report-groups section {
    min-width: 0;
}

.nv-report-groups h3 {
    color: var(--nv-muted);
    font-size: 10px;
    letter-spacing: 0.07em;
    margin: 0 0 9px;
    text-transform: uppercase;
}

.nv-report-groups a {
    align-items: flex-start;
    border-bottom: 1px solid var(--nv-line);
    display: flex;
    gap: 9px;
    padding: 10px 4px;
    text-decoration: none;
}

.nv-report-groups a:hover {
    background: #f3f8f7;
}

.nv-report-groups a > svg {
    color: var(--nv-teal);
    flex: 0 0 16px;
    height: 16px;
    margin-top: 2px;
    width: 16px;
}

.nv-report-groups strong,
.nv-report-groups small {
    display: block;
}

.nv-report-groups strong {
    font-size: 11px;
    margin-bottom: 3px;
}

.nv-report-groups small {
    color: var(--nv-muted);
    font-size: 9px;
    line-height: 1.35;
}

.nv-source-dialog {
    width: min(600px, calc(100vw - 36px));
}

.nv-source-list {
    max-height: 55vh;
    overflow-y: auto;
    padding: 8px 20px;
}

.nv-source-row {
    align-items: center;
    border-bottom: 1px solid var(--nv-line);
    display: grid;
    gap: 12px;
    grid-template-columns: 9px minmax(0, 1fr) auto;
    padding: 13px 0;
}

.nv-source-row:last-child {
    border-bottom: 0;
}

.nv-source-row strong,
.nv-source-row small {
    display: block;
}

.nv-source-row strong {
    font-size: 12px;
    margin-bottom: 2px;
}

.nv-source-row small,
.nv-source-date {
    color: var(--nv-muted);
    font-size: 10px;
}

.nv-source-date {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.nv-dialog-note {
    background: #f4f6f7;
    border-top: 1px solid var(--nv-line);
    color: var(--nv-muted);
    font-size: 10px;
    line-height: 1.5;
    margin: 0;
    padding: 12px 20px;
}

@media (max-width: 1040px) {
    .nv-sidebar {
        width: 236px;
    }

    .nv-main {
        margin-left: 236px;
    }

    .nv-content-grid {
        grid-template-columns: 1fr;
    }

    .nv-ready-list {
        gap: 16px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nv-ready-item {
        border-bottom: 0;
        border-right: 1px solid var(--nv-line);
        padding: 4px 14px 4px 0;
    }

    .nv-ready-item:last-child {
        border-right: 0;
    }

    .nv-report-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nv-sidebar {
        inset: auto;
        overflow: visible;
        padding: 16px;
        position: relative;
        width: 100%;
    }

    .nv-brand {
        margin-bottom: 16px;
    }

    .nv-role-buttons {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .nv-role-button {
        flex: 0 0 auto;
        min-width: 100px;
        width: auto;
    }

    .nv-sidebar-tools {
        display: flex;
        gap: 5px;
        margin-top: 16px;
        padding-top: 14px;
    }

    .nv-sidebar-link {
        justify-content: center;
        width: auto;
    }

    .nv-sidebar-link span {
        display: none;
    }

    .nv-link-arrow {
        display: none;
    }

    .nv-source-summary {
        margin-top: 14px;
    }

    .nv-main {
        margin-left: 0;
    }

    .nv-topbar {
        height: auto;
        min-height: 58px;
        padding: 9px 16px;
    }

    .nv-breadcrumbs {
        display: none;
    }

    .nv-top-actions {
        justify-content: space-between;
        width: 100%;
    }

    .nv-quarter-select {
        flex: 1 1 auto;
        max-width: 230px;
        min-width: 0;
    }

    .nv-page {
        padding: 24px 16px 42px;
    }

    .nv-welcome {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .nv-welcome h1 {
        font-size: 28px;
    }

    .nv-focus-strip {
        grid-template-columns: 1fr;
    }

    .nv-focus-item + .nv-focus-item {
        border-left: 0;
        border-top: 1px solid var(--nv-line);
    }

    .nv-kpi-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nv-kpi {
        border-bottom: 1px solid var(--nv-line);
        padding: 15px 10px 15px 0;
    }

    .nv-kpi + .nv-kpi {
        padding-left: 10px;
    }

    .nv-kpi:nth-child(3) {
        border-left: 0;
    }

    .nv-kpi-value {
        font-size: 24px;
    }

    .nv-section-heading {
        align-items: flex-start;
    }

    .nv-text-button span {
        display: none;
    }

    .nv-text-button {
        height: 40px;
        justify-content: center;
        padding: 0;
        width: 40px;
    }

    .nv-chart-frame {
        height: 270px;
    }

    .nv-ready-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .nv-ready-item {
        border-bottom: 1px solid var(--nv-line);
        border-right: 0;
        padding: 12px 0;
    }

    .nv-report-groups {
        grid-template-columns: 1fr;
        padding: 18px;
    }
}

.nv-body * { letter-spacing: 0; }
.nv-body button:focus-visible, .nv-body a:focus-visible, .nv-body summary:focus-visible {
    outline: 2px solid #087e8b;
    outline-offset: 3px;
}
.nv-chart-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: -8px; }
.nv-chart-style { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--nv-ink-soft); }
.nv-chart-style select { font: inherit; color: inherit; background: transparent; border: 1px solid var(--nv-line); border-radius: 4px; padding: 7px 9px; }
.nv-ai-starter-details { margin-top: 20px; font-size: 13px; color: var(--nv-ink-soft); }
.nv-ai-starter-details > summary { cursor: pointer; }
.nv-ai-buttons { display: flex; align-items: center; gap: 10px; }
.nv-top-actions.is-tool-view .nv-select-label, .nv-top-actions.is-tool-view .nv-quarter-select { display: none; }
.nv-ai-starters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 20px; }
.nv-ai-starters button { display: flex; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--nv-line); background: transparent; padding: 12px 0; text-align: left; color: var(--nv-ink-soft); font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; }
.nv-ai-starters button:hover { color: var(--nv-teal-dark); }
.nv-ai-starters svg { width: 16px; height: 16px; flex-shrink: 0; }
.nv-ai-progress-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.nv-ai-progress-footer p { font-size: 12px; margin: 0; }
.nv-ai-event-log { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.nv-ai-event-log li { display: flex; gap: 9px; font-size: 11px; line-height: 1.5; }
.nv-ai-event-log li svg { height: 15px; width: 15px; flex-shrink: 0; color: #18794e; }
.nv-ai-event-log li strong, .nv-ai-event-log li span { display: block; }
.nv-ai-event-log li span { color: var(--nv-muted); overflow-wrap: anywhere; }
.nv-ai-analysis { padding-top: 24px; margin-top: 24px; border-top: 2px solid var(--nv-line); min-width: 0; }
.nv-ai-analysis-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.nv-ai-analysis-heading h2 { font-size: 18px; margin: 0; }
.nv-ai-method { margin-bottom: 20px; }
.nv-ai-method dl { font-size: 12px; line-height: 1.6; }
.nv-ai-method dl > div { margin: 12px 0; }
.nv-ai-method dt { font-weight: 700; }
.nv-ai-method dd { margin: 0; color: var(--nv-muted); }
.nv-ai-method p { font-size: 12px; overflow-wrap: anywhere; }
.nv-ai-answer.is-unsupported { border-left-color: #8d722f; }
.nv-ai-answer > p:not(.nv-eyebrow) { max-width: 900px; line-height: 1.65; }
.nv-citation { cursor: pointer; font-size: 11px; text-align: left; max-width: 100%; overflow-wrap: anywhere; }
.nv-ai-sources article:focus { background: #edf7f7; outline: 2px solid #087e8b; outline-offset: 3px; }
.nv-report-table th[aria-sort="ascending"] button, .nv-report-table th[aria-sort="descending"] button { color: #087e8b; }
.nv-kpi-value.is-unavailable { font-size: 18px; }
.nv-metric-breakdown { display: flex; width: 100%; height: 8px; margin-top: 12px; background: #e8ecee; }
.nv-metric-breakdown > span { display: block; height: 8px; flex-shrink: 0; }
.nv-metric-breakdown > span:hover, .nv-metric-breakdown > span:focus-visible { outline: 2px solid var(--nv-ink); outline-offset: 2px; }

/* Owned reporting: keep the aggregate goal next to its component totals. */
.nv-owned-controls { align-items: end; display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 20px; }
.nv-owned-controls label { display: grid; font-size: 12px; gap: 6px; }
.nv-owned-controls select { background: white; border: 1px solid var(--nv-line-strong); color: var(--nv-ink); font: inherit; padding: 8px 12px; }
.nv-owned-controls > span { color: var(--nv-ink-soft); font-size: 12px; padding-bottom: 9px; }
.nv-owned-goal { align-items: center; background: var(--nv-surface, white); border: 1px solid var(--nv-line); display: grid; gap: 16px; grid-template-columns: minmax(190px, 1fr) minmax(160px, 2fr) auto; margin: -4px 0 26px; padding: 20px 24px; }
.nv-owned-goal > div:first-child { display: grid; gap: 6px; }
.nv-owned-goal > div:first-child span { color: var(--nv-ink-soft); font-size: 12px; }
.nv-owned-goal strong { color: var(--nv-ink); font-size: 16px; }
.nv-owned-goal small { color: var(--nv-ink-soft); grid-column: 1 / -1; line-height: 1.5; }
.nv-owned-goal-track { background: #e8ecee; height: 12px; overflow: hidden; }
.nv-owned-goal-track > span { background: #087e8b; display: block; height: 100%; }
.nv-owned-breakdown .nv-report-table-scroll { max-height: min(340px, 60vh); overscroll-behavior: contain; }
@media (max-width: 700px) {
    .nv-owned-goal { grid-template-columns: 1fr; padding: 18px; }
    .nv-owned-goal small { grid-column: auto; }
}
@media (max-width: 700px) {
    .nv-ai-starters { grid-template-columns: 1fr; }
    .nv-ai-buttons { justify-content: flex-end; }
    .nv-ai-stage-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
    .nv-ai-stage-list > div { display: flex; flex-direction: column; gap: 8px; font-size: 9px; }
    .nv-ai-progress { padding: 16px; }
    .nv-report-panel { padding: 16px 0; }
    .nv-ai-analysis-heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .nv-loading-bar {
        animation: none;
    }
}

/* Self-contained report workspace */
.nv-sidebar-header,
.nv-topbar-start,
.nv-recent a,
.nv-row-link,
.nv-table-tools,
.nv-table-search,
.nv-table-footer,
.nv-priority-toolbar,
.nv-segmented,
.nv-row-actions,
.nv-ai-actions,
.nv-check,
.nv-citation-row {
    align-items: center;
    display: flex;
}

.nv-sidebar-header {
    justify-content: space-between;
}

.nv-sidebar-header .nv-brand {
    margin-bottom: 0;
}

.nv-sidebar-close,
.nv-menu-button {
    display: none;
}

.nv-role-section {
    margin-top: 40px;
}

.nv-role-section.is-condensed .nv-role-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nv-role-section.is-condensed .nv-role-button {
    justify-content: center;
    min-height: 36px;
    padding: 4px;
}

.nv-role-section.is-condensed .nv-role-button > span:last-child {
    display: none;
}

.nv-role-section.is-condensed .nv-avatar {
    flex-basis: 24px;
    height: 24px;
    width: 24px;
}

.nv-sidebar-link.is-current {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.nv-recent {
    border-top: 1px solid var(--nv-sidebar-line);
    margin-top: 20px;
    padding-top: 18px;
}

.nv-recent a {
    color: #dbe8e9;
    font-size: 12px;
    font-weight: 650;
    gap: 10px;
    min-height: 34px;
    padding: 5px 9px;
    text-decoration: none;
}

.nv-recent a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nv-recent svg {
    height: 15px;
    width: 15px;
}

.nv-topbar-start {
    min-width: 0;
}

.nv-top-actions.is-tool-view .nv-select-label,
.nv-top-actions.is-tool-view .nv-quarter-select {
    opacity: 0.45;
}

.nv-report-header {
    align-items: flex-end;
    border-bottom: 1px solid var(--nv-line-strong);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 2px;
    padding: 2px 0 24px;
}

.nv-report-header > div {
    min-width: 0;
}

.nv-report-header h1 {
    font-size: clamp(27px, 3vw, 38px);
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0 0 9px;
}

.nv-report-header > div > p:last-child {
    color: var(--nv-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    max-width: 760px;
}

.nv-header-badge {
    background: #e8f4f3;
    border: 1px solid #bad8d6;
    border-radius: 4px;
    color: var(--nv-teal-dark);
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 750;
    padding: 7px 9px;
}

.nv-report-kpis {
    margin-bottom: 30px;
}

.nv-report-kpis .nv-kpi-detail {
    min-height: 28px;
}

.nv-report-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 20px;
}

.nv-span-2 {
    grid-column: 1 / -1;
}

.nv-report-panel {
    background: var(--nv-wash);
    border: 0;
    border-top: 1px solid var(--nv-line);
    border-radius: 0;
    margin: 0 0 20px;
    min-width: 0;
    padding: 20px 0;
}

.nv-report-grid > .nv-report-panel {
    margin-bottom: 0;
}

.nv-report-panel > .nv-section-heading {
    min-height: 48px;
}

.nv-report-panel .nv-section-heading h2 {
    font-size: 17px;
}

.nv-chart-frame.is-compact {
    height: 260px;
}

.nv-table-tools {
    gap: 8px;
    justify-content: flex-end;
    margin: -2px 0 12px;
}

.nv-table-tools-with-filters { flex-wrap: wrap; }
#nv-table-body-article-explorer td:first-child { min-width: 240px; }
#nv-t2t-role-control { margin-right: auto; max-width: 100%; }
#nv-t2t-role-control .t2t-role-filter { margin: 0; }
#nv-table-body-participants td:first-child { min-width: 160px; }
#nv-table-body-participants td:last-child { min-width: 260px; }

.nv-table-search {
    background: #fff;
    border: 1px solid var(--nv-line-strong);
    border-radius: 4px;
    color: var(--nv-muted);
    gap: 7px;
    height: 38px;
    padding: 0 10px;
    width: min(270px, 100%);
}

.nv-table-search svg {
    flex: 0 0 15px;
    height: 15px;
    width: 15px;
}

.nv-table-search input {
    background: transparent;
    border: 0;
    color: var(--nv-ink);
    font: inherit;
    font-size: 12px;
    min-width: 0;
    outline: 0;
    width: 100%;
}

.nv-report-table-scroll {
    border: 1px solid var(--nv-line);
    margin: 0;
    max-height: min(560px, 70dvh);
    overflow: auto;
}

.nv-report-table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
    width: 100%;
}

.nv-report-table th {
    background: #eef2f2;
    border-bottom: 1px solid var(--nv-line-strong);
    color: var(--nv-ink-soft);
    padding: 0;
    position: sticky;
    text-align: left;
    top: 0;
    white-space: nowrap;
    z-index: 2;
}

.nv-report-table th button {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: flex;
    font-size: 10px;
    font-weight: 800;
    gap: 6px;
    justify-content: flex-start;
    letter-spacing: 0;
    min-height: 42px;
    padding: 9px 12px;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
}

.nv-report-table th button:hover {
    background: #e2e9e8;
}

/* This source table has static headings rather than sortable button headings. */
#community-notifications .nv-report-table th {
    padding: 12px 14px;
    white-space: normal;
    min-width: 100px;
    line-height: 1.4;
}

#community-notifications .nv-report-table th[scope="row"] {
    position: static;
    background: none;
    min-width: 180px;
    color: inherit;
    font-size: 13px;
    letter-spacing: normal;
    text-transform: none;
}

.nv-report-table th svg {
    flex: 0 0 13px;
    height: 13px;
    opacity: 0.65;
    width: 13px;
}

.nv-report-table td {
    border-bottom: 1px solid #e9ecef;
    color: var(--nv-ink-soft);
    line-height: 1.42;
    max-width: 420px;
    min-width: 90px;
    padding: 12px;
    vertical-align: top;
}

.nv-report-table tbody tr:last-child td {
    border-bottom: 0;
}

.nv-report-table tbody tr:hover td {
    background: #f8faf9;
}

.nv-report-table .is-numeric {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.nv-report-table td strong,
.nv-report-table td small {
    display: block;
}

.nv-report-table td small {
    color: var(--nv-muted);
    font-size: 9px;
    margin-top: 3px;
}

.nv-table-footer {
    color: var(--nv-muted);
    font-size: 10px;
    justify-content: space-between;
    min-height: 34px;
    padding-top: 8px;
}

.nv-text-action {
    background: transparent;
    border: 0;
    color: var(--nv-teal-dark);
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
    padding: 6px;
}

.nv-row-link {
    color: var(--nv-ink);
    font-weight: 700;
    gap: 6px;
    line-height: 1.35;
    text-decoration: none;
}

.nv-row-link:hover {
    color: var(--nv-teal-dark);
    text-decoration: underline;
}

.nv-row-link svg {
    flex: 0 0 13px;
    height: 13px;
    width: 13px;
}

.nv-muted {
    color: var(--nv-muted);
}

.nv-empty {
    align-items: center;
    color: var(--nv-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 130px;
    padding: 24px;
    text-align: center;
}

.nv-empty svg {
    height: 22px;
    width: 22px;
}

.nv-empty p {
    font-size: 12px;
    margin: 0;
}

.nv-notice {
    background: #f5f8f8;
    border-left: 3px solid var(--nv-teal);
    color: var(--nv-ink-soft);
    margin: 0 0 20px;
    padding: 14px 16px;
}

.nv-notice.is-warning {
    background: #fff7e6;
    border-color: var(--nv-gold);
}

.nv-notice strong {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.nv-notice p {
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
}

.nv-goal-band {
    align-items: center;
    background: #fff;
    border: 1px solid var(--nv-line);
    display: grid;
    gap: 10px 22px;
    grid-template-columns: minmax(180px, auto) minmax(180px, 1fr) auto;
    margin: 0 0 20px;
    padding: 18px 20px;
}

.nv-goal-band span,
.nv-goal-band strong {
    display: block;
}

.nv-goal-band > div:first-child > span {
    color: var(--nv-muted);
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.nv-goal-band strong {
    font-size: 17px;
}

.nv-goal-band small {
    color: var(--nv-muted);
    font-size: 10px;
}

.nv-progress-track {
    background: #dfe8e7;
    height: 9px;
    overflow: hidden;
}

.nv-progress-track > span {
    background: var(--nv-teal);
    height: 100%;
    min-width: 2px;
}

.nv-priority-toolbar {
    gap: 12px;
    justify-content: space-between;
    margin: 20px 0;
}

.nv-segmented {
    border: 1px solid var(--nv-line-strong);
}

.nv-segmented button {
    background: #fff;
    border: 0;
    border-right: 1px solid var(--nv-line-strong);
    color: var(--nv-muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
    min-height: 38px;
    padding: 0 14px;
}

.nv-segmented button:last-child {
    border-right: 0;
}

.nv-segmented button.is-active {
    background: var(--nv-sidebar);
    color: #fff;
}

.nv-primary-button,
.nv-secondary-button {
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    gap: 7px;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
}

.nv-primary-button {
    background: var(--nv-teal-dark);
    border: 1px solid var(--nv-teal-dark);
    color: #fff;
}

.nv-primary-button:hover {
    background: var(--nv-sidebar);
}

.nv-primary-button:disabled {
    cursor: wait;
    opacity: 0.62;
}

.nv-secondary-button {
    background: #fff;
    border: 1px solid var(--nv-line-strong);
    color: var(--nv-ink);
}

.nv-primary-button svg,
.nv-secondary-button svg {
    height: 15px;
    width: 15px;
}

.nv-priority-panel {
    padding: 0;
}

.nv-priority-scroll {
    border: 0;
    max-height: calc(100vh - 330px);
}

.nv-priority-table th {
    padding: 12px;
    vertical-align: middle;
}

.nv-priority-table th:nth-child(2),
.nv-priority-table th:nth-child(6) {
    min-width: 220px;
}

.nv-priority-table th:nth-child(3) {
    min-width: 140px;
}

.nv-priority-table th:nth-child(4) {
    min-width: 120px;
}

.nv-priority-table td {
    max-width: 290px;
    overflow-wrap: anywhere;
}

.nv-priority-table tr.is-completed {
    opacity: 0.62;
}

.nv-priority-title-button {
    background: transparent;
    border: 0;
    color: var(--nv-ink);
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.nv-priority-title-button strong,
.nv-priority-title-button small {
    display: block;
}

.nv-priority-title-button small {
    color: var(--nv-muted);
    margin-top: 3px;
}

.nv-person-pill,
.nv-status-pill {
    border-radius: 3px;
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    margin: 1px;
    padding: 4px 6px;
}

.nv-person-pill {
    background: #e8f1f6;
    color: #23566f;
}

.nv-status-pill {
    background: #eff1f3;
    color: #55606f;
}

.nv-status-pill.is-good {
    background: #e3f4e9;
    color: #17643f;
}

.nv-status-pill.is-active {
    background: #e5f3f4;
    color: var(--nv-teal-dark);
}

.nv-status-pill.is-warning {
    background: #fff0cf;
    color: #7a5100;
}

.nv-status-pill.is-blocked {
    background: #fde7e9;
    color: #8e1e2b;
}

.nv-status-pill.is-progress {
    background: #e5f3f4;
    color: var(--nv-teal-dark);
}

.nv-status-pill.is-danger {
    background: #fde7e9;
    color: #8e1e2b;
}

.nv-row-actions {
    gap: 5px;
    justify-content: flex-end;
}

.nv-row-actions .nv-icon-button {
    height: 32px;
    width: 32px;
}

.nv-icon-button.is-danger {
    color: var(--nv-red);
}

.nv-priority-dialog {
    width: min(760px, calc(100vw - 36px));
}

.nv-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    padding: 20px;
}

.nv-field {
    display: grid;
    gap: 6px;
}

.nv-field-wide {
    grid-column: 1 / -1;
}

.nv-field > span {
    color: var(--nv-ink-soft);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.nv-field input,
.nv-field select,
.nv-field textarea {
    background: #fff;
    border: 1px solid var(--nv-line-strong);
    border-radius: 4px;
    color: var(--nv-ink);
    font: inherit;
    font-size: 13px;
    min-height: 40px;
    padding: 9px 10px;
    resize: vertical;
    width: 100%;
}

.nv-dialog-actions {
    border-top: 1px solid var(--nv-line);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 14px 20px;
}

.nv-ai-composer {
    background: var(--nv-wash);
    border: 0;
    border-bottom: 1px solid var(--nv-line);
    margin: 20px 0;
    padding: 0 0 24px;
}

.nv-ai-composer label[for="nv-ai-question"] {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 9px;
}

.nv-ai-composer textarea {
    border: 1px solid var(--nv-line-strong);
    border-radius: 4px;
    color: var(--nv-ink);
    font: inherit;
    font-size: 14px;
    line-height: 1.55;
    min-height: 112px;
    padding: 13px;
    resize: vertical;
    width: 100%;
}

.nv-ai-actions {
    gap: 16px;
    justify-content: space-between;
    margin-top: 12px;
}

.nv-check {
    color: var(--nv-muted);
    font-size: 11px;
    gap: 8px;
}

.nv-ai-progress {
    background: #f0f6f6;
    color: var(--nv-ink);
    margin: 0 0 20px;
    padding: 20px 22px;
}

.nv-ai-stage-list {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nv-ai-stage-list > div {
    color: #66757c;
    display: grid;
    font-size: 10px;
    gap: 7px;
    grid-template-columns: 9px minmax(0, 1fr);
}

.nv-ai-stage-list > div > span {
    background: #66888c;
    border-radius: 50%;
    height: 8px;
    margin-top: 2px;
    width: 8px;
}

.nv-ai-stage-list > div.is-active,
.nv-ai-stage-list > div.is-complete {
    color: #134f55;
}

.nv-ai-stage-list > div.is-active > span {
    background: #f9b89e;
    box-shadow: 0 0 0 4px rgba(244, 81, 30, 0.18);
}

.nv-ai-stage-list > div.is-complete > span {
    background: #52c58e;
}

.nv-ai-progress > p {
    color: #dbe8e9;
    font-size: 11px;
    margin: 16px 0 0;
}

.nv-ai-answer {
    border-left: 4px solid var(--nv-orange);
    margin: 24px 0;
    padding: 4px 0 4px 20px;
}

.nv-ai-answer h2 {
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.nv-ai-answer-text {
    color: var(--nv-ink-soft);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 900px;
    white-space: pre-line;
}

.nv-citation-row {
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 13px;
}

.nv-citation {
    background: #e9f4f4;
    border: 1px solid #c1dedd;
    border-radius: 3px;
    color: var(--nv-teal-dark);
    font-size: 9px;
    font-weight: 750;
    padding: 5px 7px;
}

.nv-insights {
    display: grid;
    gap: 7px;
    margin: 16px 0 0;
    padding-left: 18px;
}

.nv-insights li {
    color: var(--nv-ink-soft);
    font-size: 12px;
    line-height: 1.5;
}

.nv-ai-sources {
    display: grid;
    gap: 0;
}

.nv-ai-sources article {
    align-items: flex-start;
    border-bottom: 1px solid var(--nv-line);
    display: grid;
    gap: 11px;
    grid-template-columns: 9px minmax(0, 1fr);
    padding: 12px 0;
}

.nv-ai-sources article:last-child {
    border-bottom: 0;
}

.nv-ai-sources strong {
    font-size: 12px;
}

.nv-ai-sources p,
.nv-ai-sources small {
    color: var(--nv-muted);
    display: block;
    font-size: 10px;
    line-height: 1.45;
    margin: 3px 0 0;
}

.nv-followups {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.nv-followups > span {
    color: var(--nv-muted);
    font-size: 10px;
    font-weight: 800;
    padding: 8px 6px 0 0;
    text-transform: uppercase;
}

.nv-followups button {
    background: #fff;
    border: 1px solid var(--nv-line-strong);
    border-radius: 4px;
    color: var(--nv-ink-soft);
    cursor: pointer;
    font-size: 10px;
    padding: 7px 9px;
}

.nv-detail-dialog {
    width: min(620px, calc(100vw - 36px));
}

.nv-detail-body {
    display: grid;
    max-height: 60vh;
    overflow-y: auto;
    padding: 8px 20px 20px;
}

.nv-detail-body > div {
    border-bottom: 1px solid var(--nv-line);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
    padding: 12px 0;
}

.nv-detail-body span {
    color: var(--nv-muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.nv-detail-body strong {
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
}

@media (max-width: 1040px) {
    .nv-report-grid {
        grid-template-columns: 1fr;
    }

    .nv-span-2 {
        grid-column: auto;
    }

    .nv-goal-band {
        grid-template-columns: minmax(170px, auto) minmax(140px, 1fr);
    }

    .nv-goal-band > small {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .nv-sidebar {
        inset: 0 auto 0 0;
        overflow-y: auto;
        padding: 20px 17px;
        position: fixed;
        transform: translateX(-102%);
        transition: transform 180ms ease;
        width: min(286px, calc(100vw - 44px));
        z-index: 70;
    }

    .nv-sidebar.is-open {
        transform: translateX(0);
    }

    .nv-sidebar-backdrop {
        background: rgba(9, 18, 31, 0.5);
        border: 0;
        inset: 0;
        position: fixed;
        width: 100%;
        z-index: 65;
    }

    .nv-sidebar-close {
        align-items: center;
        background: transparent;
        border: 1px solid var(--nv-sidebar-line);
        border-radius: 4px;
        color: #fff;
        display: flex;
        height: 36px;
        justify-content: center;
        width: 36px;
    }

    .nv-menu-button {
        display: inline-flex;
        margin-right: 9px;
    }

    .nv-role-section {
        margin-top: 28px;
    }

    .nv-role-buttons,
    .nv-role-section.is-condensed .nv-role-buttons {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .nv-role-button,
    .nv-role-section.is-condensed .nv-role-button {
        justify-content: flex-start;
        min-height: 42px;
        width: 100%;
    }

    .nv-role-section.is-condensed .nv-role-button > span:last-child {
        display: inline;
    }

    .nv-sidebar-tools {
        display: grid;
    }

    .nv-sidebar-link {
        justify-content: flex-start;
        width: 100%;
    }

    .nv-sidebar-link span {
        display: inline;
    }

    .nv-source-summary {
        margin-top: 24px;
    }

    .nv-main {
        margin-left: 0;
    }

    .nv-topbar {
        gap: 10px;
        padding: 8px 12px;
    }

    .nv-topbar-start {
        flex: 0 1 auto;
    }

    .nv-breadcrumbs {
        display: none;
    }

    .nv-top-actions {
        justify-content: flex-end;
        margin-left: auto;
        width: auto;
    }

    .nv-select-label {
        display: none;
    }

    .nv-quarter-select {
        max-width: 154px;
        min-width: 0;
        width: 154px;
    }

    .nv-page {
        padding: 22px 14px 42px;
    }

    .nv-report-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        padding-bottom: 18px;
    }

    .nv-report-header h1 {
        font-size: 28px;
    }

    .nv-header-badge {
        align-self: flex-start;
    }

    .nv-report-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nv-report-kpis .nv-kpi {
        border-bottom: 1px solid var(--nv-line);
        min-height: 116px;
    }

    .nv-report-kpis .nv-kpi:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .nv-report-panel {
        padding: 16px;
    }

    .nv-table-tools {
        justify-content: stretch;
    }

    .nv-table-search {
        flex: 1 1 auto;
        width: auto;
    }

    .nv-report-table-scroll {
        max-height: min(520px, 70dvh);
    }

    .nv-report-table {
        min-width: 720px;
    }

    .nv-chart-frame,
    .nv-chart-frame.is-compact {
        height: 260px;
    }

    .nv-goal-band {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .nv-goal-band > small {
        grid-column: auto;
    }

    .nv-priority-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .nv-segmented {
        align-self: flex-start;
    }

    .nv-priority-scroll {
        max-height: none;
    }

    .nv-form-grid {
        grid-template-columns: 1fr;
    }

    .nv-field-wide {
        grid-column: auto;
    }

    .nv-ai-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .nv-ai-stage-list {
        grid-template-columns: 1fr;
    }

    .nv-ai-answer {
        padding-left: 14px;
    }

    .nv-detail-body > div {
        gap: 5px;
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nv-sidebar {
        transition: none;
    }
}
.nv-ai-post-link { margin: 12px 0; max-width: 100%; overflow-wrap: anywhere; }
.nv-ai-coverage { margin: 16px 0 24px; padding: 14px 0; border-top: 1px solid var(--nv-border, #d7dfe4); }
.nv-ai-coverage p { margin: 12px 0 0; max-width: 90ch; color: #526274; line-height: 1.6; }
.nv-three-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-kpi-detail.is-bad { color: #bb3434; }
.nv-community-annual { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nv-community-annual .nv-report-panel { min-width: 0; }
#nv-community-year { margin-left: 8px; padding: 8px 12px; border: 1px solid #ced4d8; border-radius: 4px; background: #fff; color: #172033; font: inherit; }
@media (max-width: 1000px) { .nv-community-annual { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .nv-three-kpis { grid-template-columns: 1fr; } }

.nv-classification-evidence { max-width: 260px; }
.nv-classification-evidence summary { cursor: pointer; color: var(--nv-accent); }
.nv-classification-evidence p { margin: 8px 0; }

.nv-pagination { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nv-pagination button:disabled { opacity: .45; cursor: default; }
