/* ─── Reset & Base ─────────────────────────────────────────────────────── */
/*
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*/

:root {
    --navy: #1C3041;
    --teal: #34C1D0;
    --brown: #95684D;
    --lteal: #DCF1F8;
    --teal2: #2BAEBB;
    --red: #E22026;
    --gold: #DFBF24;
    --green: #82B441;
    --white: #FFFFFF;
    --off: #F7FAFB;
    --gray1: #F0F4F6;
    --gray2: #DDE4E8;
    --gray3: #9AABB5;
    --gray4: #5A7080;
    --text: #1C2B35;

    --sidebar-w: 268px;
    --header-h: 64px;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(28, 48, 65, .10);
    --shadow-lg: 0 6px 28px rgba(28, 48, 65, .14);
}

/*html,
body {
    height: 100%;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--off);
}*/

/* ─── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray1);
}

::-webkit-scrollbar-thumb {
    background: var(--gray2);
    border-radius: 3px;
}

/* ─── Disclaimer Modal ──────────────────────────────────────────────────── */
#disclaimer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 48, 65, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

.disclaimer-box {
    background: var(--white);
    border-radius: 12px;
    max-width: 600px;
    width: 92%;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.disclaimer-header {
    background: var(--navy);
    padding: 24px 28px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.disclaimer-icon {
    width: 40px;
    height: 40px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.disclaimer-header h2 {
    color: var(--white);
    font-family: Quicksand, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.disclaimer-header p {
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    margin-top: 4px;
}

.disclaimer-body {
    padding: 24px 28px;
}

.disclaimer-body p {
    color: var(--gray4);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.disclaimer-body p:last-of-type {
    margin-bottom: 20px;
}

.disclaimer-check-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--lteal);
    border: 1.5px solid var(--teal);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 20px;
    cursor: pointer;
}

.disclaimer-check-row input[type=checkbox] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--teal);
    cursor: pointer;
}

.disclaimer-check-row label {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    cursor: pointer;
}

.btn-continue {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: Quicksand, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.btn-continue:hover:not(:disabled) {
    background: #253d52;
}

.btn-continue:disabled {
    background: var(--gray2);
    color: var(--gray3);
    cursor: not-allowed;
}

/* ─── App Shell ─────────────────────────────────────────────────────────── */
#app {
    display: none;
    height: 100%;
    flex-direction: column;
}

/* ─── Top Header ────────────────────────────────────────────────────────── */
.top-header {
    height: var(--header-h);
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mfn-logo-pill {
    background: var(--teal);
    color: var(--white);
    font-family: Quicksand, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.top-header h1 {
    font-family: Quicksand, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    opacity: .95;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-save-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    font-family: Arial, sans-serif;
}

.header-save-btn:hover {
    background: rgba(255, 255, 255, .18);
}

.header-save-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.autosave-indicator {
    font-size: 12px;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 5px;
}

.autosave-dot {
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: .4
    }

    50% {
        opacity: 1
    }
}

/* ─── Body Layout ───────────────────────────────────────────────────────── */
.body-wrap {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ─── Sidebar ───────────────────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-w);
    background: var(--navy);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-right: 3px solid var(--teal);
}

.sidebar-top {
    padding: 20px 18px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-top p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .45);
    font-weight: 600;
    margin-bottom: 10px;
}

.progress-bar-wrap {
    background: rgba(255, 255, 255, .12);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--teal);
    border-radius: 4px;
    transition: width .4s ease;
}

.progress-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    margin-top: 7px;
}

.sidebar-nav {
    padding: 14px 0 20px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all .18s;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 255, 255, .06);
}

.nav-item.active {
    background: rgba(52, 193, 208, .12);
    border-left-color: var(--teal);
}

.nav-item.completed {
    opacity: .8;
}

.nav-item.locked {
    opacity: .38;
    cursor: default;
}

.nav-item.locked:hover {
    background: transparent;
}

.nav-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: rgba(255, 255, 255, .08);
    transition: background .18s;
}

.nav-item.active .nav-icon {
    background: var(--teal);
}

.nav-item.completed .nav-icon {
    background: rgba(130, 180, 65, .3);
}

.nav-text {
    flex: 1;
    min-width: 0;
}

.nav-label {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-item.active .nav-label {
    color: var(--white);
}

.nav-sublabel {
    font-size: 11px;
    color: rgba(255, 255, 255, .42);
    margin-top: 1px;
}

.nav-badge {
    font-size: 10px;
    font-weight: 700;
    background: var(--teal);
    color: var(--white);
    border-radius: 10px;
    padding: 2px 7px;
    flex-shrink: 0;
}

.nav-check {
    color: var(--green);
    font-size: 15px;
    flex-shrink: 0;
}

.nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: 6px 18px;
}

/* ─── Main Content ──────────────────────────────────────────────────────── */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 36px 44px 60px;
}

/* ─── Screen Cards ──────────────────────────────────────────────────────── */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

.screen-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal2);
    margin-bottom: 8px;
}

.screen-title {
    font-family: Quicksand, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 10px;
}

.screen-desc {
    font-size: 15px;
    color: var(--gray4);
    line-height: 1.6;
    max-width: 660px;
    margin-bottom: 28px;
}

/* ─── Form Elements ─────────────────────────────────────────────────────── */
.form-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 28px 32px;
    margin-bottom: 20px;
}

.form-row {
    margin-bottom: 22px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 7px;
}

.required-star {
    color: var(--red);
    margin-left: 3px;
}

.form-hint {
    font-size: 12px;
    color: var(--gray3);
    margin-top: 4px;
}

input[type=text],
input[type=number],
select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray2);
    border-radius: 7px;
    font-size: 15px;
    color: var(--text);
    transition: border-color .18s, box-shadow .18s;
    background: var(--white);
    font-family: Arial, sans-serif;
    appearance: none;
}

input[type=text]:focus,
input[type=number]:focus,
select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(52, 193, 208, .18);
}

.input-wrap {
    position: relative;
}

.input-wrap select {
    padding-right: 36px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--gray3);
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ─── Info Tip ──────────────────────────────────────────────────────────── */
.info-tip {
    background: var(--lteal);
    border: 1.5px solid var(--teal);
    border-radius: 8px;
    padding: 13px 16px;
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin-top: 10px;
}

.info-tip-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.info-tip p {
    font-size: 13px;
    color: var(--navy);
    line-height: 1.55;
}

.info-tip strong {
    font-weight: 700;
}

/* ─── Section Inventory ─────────────────────────────────────────────────── */
.inventory-section {
    margin-bottom: 24px;
}

.inventory-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--navy);
    color: var(--white);
    padding: 13px 18px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    user-select: none;
}

.inventory-section-header h3 {
    font-family: Quicksand, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.inventory-section-header .section-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-count-badge {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, .15);
    color: var(--white);
    border-radius: 10px;
    padding: 2px 9px;
}

.section-toggle-icon {
    font-size: 13px;
    opacity: .6;
    transition: transform .2s;
}

.inventory-section.open .section-toggle-icon {
    transform: rotate(180deg);
}

.inventory-policies {
    background: var(--white);
    border: 1.5px solid var(--gray2);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    display: none;
}

.inventory-section.open .inventory-policies {
    display: block;
}

.policy-check-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--gray1);
    cursor: pointer;
    transition: background .15s;
}

.policy-check-item:last-child {
    border-bottom: none;
}

.policy-check-item:hover {
    background: var(--gray1);
}

.policy-check-item input[type=checkbox] {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--teal);
    cursor: pointer;
}

.policy-check-label {
    font-size: 14px;
    color: var(--text);
    line-height: 1.4;
    cursor: pointer;
}

.policy-check-label .policy-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 7px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tag-req {
    background: rgba(226, 32, 38, .1);
    color: var(--red);
}

.tag-bp {
    background: rgba(149, 104, 77, .12);
    color: var(--brown);
}

.tag-na {
    background: var(--gray1);
    color: var(--gray3);
}

.policy-check-item.na-policy {
    opacity: .45;
    pointer-events: none;
}

.na-reason {
    font-size: 11px;
    color: var(--gray3);
    margin-top: 3px;
}

.select-all-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 6px;
}

.select-all-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--teal2);
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
}

/* ─── Section Dashboard ─────────────────────────────────────────────────── */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.dash-tile {
    background: var(--white);
    border-radius: 10px;
    border: 2px solid var(--gray2);
    padding: 20px 22px;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-tile:hover:not(.dash-locked) {
    border-color: var(--teal);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.dash-tile.dash-active {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(52, 193, 208, .12);
}

.dash-tile.dash-complete {
    border-color: var(--green);
}

.dash-tile.dash-locked {
    opacity: .45;
    cursor: default;
}

.dash-tile-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.dash-tile-icon {
    font-size: 24px;
}

.dash-tile-status {
    font-size: 20px;
}

.dash-tile h3 {
    font-family: Quicksand, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.dash-tile-meta {
    font-size: 12px;
    color: var(--gray3);
}

.dash-tile-bar {
    height: 4px;
    background: var(--gray1);
    border-radius: 2px;
    overflow: hidden;
}

.dash-tile-bar-fill {
    height: 100%;
    background: var(--teal);
    border-radius: 2px;
    transition: width .3s;
}

.dash-tile.dash-complete .dash-tile-bar-fill {
    background: var(--green);
}

/* ─── Policy Review Screen ──────────────────────────────────────────────── */
.policy-review-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 20px;
}

.policy-review-card-header {
    background: var(--lteal);
    border-bottom: 2px solid var(--teal);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.policy-review-card-header h3 {
    font-family: Quicksand, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

.policy-review-type {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--teal2);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-top: 4px;
}

.policy-question-list {
    padding: 22px 24px;
}

.policy-question {
    margin-bottom: 20px;
}

.policy-question:last-child {
    margin-bottom: 0;
}

.policy-q-text {
    font-size: 14.5px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 11px;
}

.yn-group {
    display: flex;
    gap: 10px;
}

.yn-btn {
    flex: 1;
    max-width: 110px;
    padding: 10px 0;
    border-radius: 7px;
    border: 2px solid var(--gray2);
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    color: var(--gray4);
    font-family: Arial, sans-serif;
}

.yn-btn:hover {
    border-color: var(--teal);
    color: var(--navy);
}

.yn-btn.selected-yes {
    border-color: var(--green);
    background: rgba(130, 180, 65, .1);
    color: var(--green);
}

.yn-btn.selected-no {
    border-color: var(--red);
    background: rgba(226, 32, 38, .08);
    color: var(--red);
}

.yn-btn.selected-unsure {
    border-color: var(--gold);
    background: rgba(223, 191, 36, .1);
    color: #9a7c00;
}

.policy-note-area {
    margin-top: 12px;
}

.policy-note-area label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray3);
    display: block;
    margin-bottom: 5px;
}

.policy-note-area textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--gray2);
    border-radius: 7px;
    font-size: 13px;
    color: var(--text);
    resize: vertical;
    min-height: 66px;
    font-family: Arial, sans-serif;
    transition: border-color .18s;
}

.policy-note-area textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(52, 193, 208, .15);
}

.policy-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--gray1);
}

.policy-nav-count {
    font-size: 13px;
    color: var(--gray3);
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 24px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .18s;
    font-family: Quicksand, sans-serif;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: #253d52;
}

.btn-teal {
    background: var(--teal);
    color: var(--white);
}

.btn-teal:hover {
    background: var(--teal2);
}

.btn-outline {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--gray1);
}

.btn-ghost {
    background: transparent;
    color: var(--gray4);
    border: 2px solid var(--gray2);
}

.btn-ghost:hover {
    border-color: var(--gray3);
    color: var(--navy);
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn-row.right {
    justify-content: flex-end;
}

.btn-row.between {
    justify-content: space-between;
}

/* ─── Back to Dashboard link ────────────────────────────────────────────── */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    text-decoration: none;
    transition: color .15s;
}

.back-link:hover {
    color: var(--navy);
}

/* ─── Report Screen ─────────────────────────────────────────────────────── */
.report-disclaimer {
    background: #fff8e1;
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.report-disclaimer svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
    flex-shrink: 0;
    margin-top: 1px;
}

.report-disclaimer p {
    font-size: 13px;
    color: #5a4a00;
    line-height: 1.55;
}

.report-summary-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.rsb-card {
    background: var(--white);
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    text-align: center;
}

.rsb-count {
    font-family: Quicksand, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.rsb-label {
    font-size: 12px;
    color: var(--gray4);
    line-height: 1.3;
}

.rsb-add .rsb-count {
    color: var(--red);
}

.rsb-revise .rsb-count {
    color: var(--gold);
}

.rsb-ok .rsb-count {
    color: var(--green);
}

.rsb-na .rsb-count {
    color: var(--gray3);
}

.report-section {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 18px;
}

.report-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--gray1);
    border-bottom: 1.5px solid var(--gray2);
    cursor: pointer;
}

.report-section-header h3 {
    font-family: Quicksand, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

.report-policy-list {
    padding: 8px 0;
}

.report-policy-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 20px;
    border-bottom: 1px solid var(--gray1);
}

.report-policy-row:last-child {
    border-bottom: none;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.dot-add {
    background: var(--red);
}

.dot-revise {
    background: var(--gold);
}

.dot-ok {
    background: var(--green);
}

.dot-na {
    background: var(--gray2);
}

.report-policy-name {
    font-size: 14px;
    color: var(--text);
    flex: 1;
    line-height: 1.4;
}

.report-policy-status {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    margin-top: 2px;
}

.status-add {
    color: var(--red);
}

.status-revise {
    color: #9a7c00;
}

.status-ok {
    color: var(--green);
}

.status-na {
    color: var(--gray3);
}

/* ─── Sticky footer nav ─────────────────────────────────────────────────── */
.sticky-nav {
    background: var(--white);
    border-top: 1.5px solid var(--gray2);
    padding: 14px 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    bottom: 0;
    flex-shrink: 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .06);
}

.sticky-nav-info {
    font-size: 13px;
    color: var(--gray3);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 800px) {
    .sidebar {
        display: none;
    }

    .main-content {
        padding: 22px 18px 80px;
    }

    .sticky-nav {
        padding: 12px 18px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .report-summary-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .input-group {
        grid-template-columns: 1fr;
    }
}