:root {
    --navy: #1C3041;
    --teal: #34C1D0;
    --teal-light: #e8f9fb;
    --brown: #95684D;
    --red: #E22026;
    --purple: #773A96;
    --gold: #DFBF24;
    --green: #82B441;
    --sky: #DCF1F8;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f2f4;
    --gray-200: #e2e6ea;
    --gray-400: #9aa3ad;
    --gray-600: #5a6472;
    --gray-800: #2d3640;
    --input-blue: #0000FF;
    --formula-black: #000000;
    --font: 'Quicksand', sans-serif;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 2px 12px rgba(28, 48, 65, 0.10);
    --shadow-lg: 0 6px 32px rgba(28, 48, 65, 0.14);
}

/*
  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--navy);
    min-height: 100vh;
    font-size: 15px;
    line-height: 1.6;
  }*/

/* ── Header ── */
.site-header {
    background: var(--navy);
    padding: 0 32px;
    display: flex;
    align-items: center;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.site-header .logo-text {
    color: var(--teal);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.01em;
}

.site-header .logo-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.header-badge {
    margin-left: auto;
    background: var(--teal);
    color: var(--navy);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── Autosave indicator ── */
.site-header .autosave {
    font-size: .72rem;
    color: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
}

.site-header .save-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.site-header .save-dot.saving {
    background: var(--gold);
    animation: ssw-fcc-pulse 1s infinite;
}

@keyframes ssw-fcc-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

/* ── Progress Nav ── */
.progress-bar-wrap {
    background: var(--navy);
    padding: 32px 32px 16px;
    overflow-x: auto;
}

.progress-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    min-width: 600px;
    max-width: 860px;
    margin: 0 auto;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
}

.progress-step.completed:not(:last-child)::after {
    background: var(--teal);
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
    z-index: 1;
    transition: all 0.2s;
}

.progress-step.completed .step-circle {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--navy);
}

.progress-step.active .step-circle {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
    box-shadow: 0 0 0 4px rgba(52, 193, 208, 0.35);
}

.step-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 5px;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.3;
    max-width: 72px;
}

.progress-step.completed .step-label,
.progress-step.active .step-label {
    color: rgba(255, 255, 255, 0.85);
}

.progress-step.active .step-label {
    color: var(--teal);
}

/* ── Main layout ── */
.wizard-shell {
    /*max-width: 820px;*/
    margin: 36px auto 80px;
    /*padding: 0 16px;*/
}

/* ── Screen cards ── */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 40px;
    margin-bottom: 20px;
}

/* ── Section headings ── */
.screen-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 6px;
}

.screen-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.25;
}

.screen-desc {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.65;
}

.section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--teal-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

/* ── Form elements ── */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

label .req {
    color: var(--red);
    margin-left: 2px;
}

label .opt {
    color: var(--gray-400);
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
}

input[type="text"],
input[type="number"],
select,
textarea {
    width: 100%;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    -webkit-appearance: none;
}

input[type="number"] {
    color: var(--input-blue);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(52, 193, 208, 0.18);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231C3041' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.input-prefix-wrap {
    position: relative;
}

.input-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
}

.input-prefix-wrap input {
    padding-left: 24px;
}

/* ── Info callout box ── */
.info-box {
    background: var(--sky);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--navy);
}

.info-box strong {
    display: block;
    margin-bottom: 3px;
}

.tip-box {
    background: #fffbeb;
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #5a4a00;
}

/* ── Table styles ── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 8px;
}

.data-table th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    padding: 10px 12px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.data-table th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.data-table th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.data-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.data-table tr:nth-child(even) td {
    background: var(--gray-50);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table input[type="number"] {
    padding: 6px 8px;
    font-size: 13px;
    text-align: right;
}

.data-table .row-label {
    font-weight: 600;
    color: var(--navy);
}

.data-table .calc-cell {
    color: var(--formula-black);
    font-weight: 600;
    text-align: right;
    font-size: 13px;
}

.tfoot-row td {
    background: var(--teal-light) !important;
    font-weight: 700;
    border-top: 2px solid var(--teal);
    color: var(--navy);
    font-size: 13px;
}

/* ── Calculated result chip ── */
.calc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--teal-light);
    border: 1px solid rgba(52, 193, 208, 0.3);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.calc-chip .label {
    font-weight: 500;
    color: var(--gray-600);
    font-size: 12px;
}

/* ── Summary cards ── */
.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.summary-card {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 18px;
    text-align: center;
}

.summary-card .s-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.summary-card .s-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
}

.summary-card.highlight {
    background: var(--teal-light);
    border-color: var(--teal);
}

.summary-card.highlight .s-value {
    color: var(--teal);
}

.summary-card.warn .s-value {
    color: var(--red);
}

.summary-card.positive .s-value {
    color: var(--green);
}

/* ── Buttons ── */
.btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--teal);
    color: var(--navy);
}

.btn-primary:hover {
    background: #2baab8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 193, 208, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: #253d52;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    padding: 12px 12px;
    font-weight: 500;
}

.btn-ghost:hover {
    color: var(--navy);
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* ── Staff row ── */
.staff-row {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.staff-row:last-child {
    border-bottom: none;
}

.staff-row label {
    font-size: 12px;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    transition: color 0.15s, background 0.15s;
    margin-bottom: 0;
}

.remove-btn:hover {
    color: var(--red);
    background: #fff0f0;
}

.add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1.5px dashed var(--teal);
    color: var(--teal);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: 4px;
}

.add-btn:hover {
    background: var(--teal-light);
}



/* ── Welcome screen ── */
.welcome-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2a4a62 100%);
    border-radius: var(--radius);
    padding: 48px 40px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.welcome-hero::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(52, 193, 208, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-hero h1 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.welcome-hero h1 span {
    color: var(--teal);
}

.welcome-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.welcome-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.welcome-step {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
}

.welcome-step .ws-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 5px;
}

.welcome-step .ws-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Disclaimer ── */
.disclaimer {
    background: #fff8e6;
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 12px;
    color: #5a4a00;
    margin-bottom: 20px;
    line-height: 1.6;
}

.disclaimer strong {
    color: var(--navy);
}

/* ── CACFP tier selector ── */
.tier-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.tier-card {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}

.tier-card:hover {
    border-color: var(--teal);
    background: var(--teal-light);
}

.tier-card.selected {
    border-color: var(--teal);
    background: var(--teal-light);
}

.tier-card.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 14px;
    width: 22px;
    height: 22px;
    background: var(--teal);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tier-card input[type="radio"] {
    display: none;
}

.tier-card .tier-name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--navy);
}

.tier-card .tier-desc {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ── Budget summary table ── */
.budget-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.budget-table th {
    background: var(--navy);
    color: var(--white);
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: right;
}

.budget-table th:first-child {
    text-align: left;
    border-radius: var(--radius-sm) 0 0 0;
}

.budget-table th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.budget-table td {
    padding: 7px 10px;
    border-bottom: 1px solid var(--gray-100);
    text-align: right;
    font-size: 12px;
}

.budget-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.budget-table .group-header td {
    background: var(--gray-100);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--gray-600);
    border-top: 2px solid var(--gray-200);
}

.budget-table .subtotal-row td {
    background: var(--teal-light);
    font-weight: 700;
    font-size: 12px;
    border-top: 1px solid rgba(52, 193, 208, 0.3);
}

.budget-table .total-row td {
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
}

.budget-table .net-row td {
    font-weight: 700;
    font-size: 14px;
}

.budget-table .net-positive td {
    color: var(--green);
    background: #f2f9ea;
}

.budget-table .net-negative td {
    color: var(--red);
    background: #fff0f0;
}

/* ── Tags / badges ── */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.badge-teal {
    background: var(--teal-light);
    color: var(--teal);
    border: 1px solid rgba(52, 193, 208, 0.3);
}

.badge-brown {
    background: #f5ede6;
    color: var(--brown);
    border: 1px solid rgba(149, 104, 77, 0.3);
}

/* ── Scrollable table wrapper ── */
.table-scroll {
    overflow-x: auto;
    margin: 0 -4px;
    padding: 0 4px 6px;
}



/* ── Complete screen ── */
.complete-hero {
    text-align: center;
    padding: 40px 20px;
}

.complete-hero .check-icon {
    width: 72px;
    height: 72px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.complete-hero h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.complete-hero p {
    color: var(--gray-600);
    max-width: 400px;
    margin: 0 auto 28px;
}

/* ── Responsive ── */
@media(max-width:640px) {
    .card {
        padding: 24px 18px;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .welcome-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .staff-row {
        grid-template-columns: 1fr 1fr;
    }

    .tier-cards {
        grid-template-columns: 1fr;
    }
}

/* ── Hub-and-Spoke Expense CSS ── */
.exp-landing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.exp-cat-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem;
    cursor: pointer;
    transition: all .2s;
    position: relative;
}

.exp-cat-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.exp-cat-card.complete {
    border-color: var(--green);
}

.exp-cat-card.in-progress {
    border-color: var(--gold);
}

.exp-cat-card.na {
    border-color: var(--gray-200);
    opacity: .7;
}

.exp-cat-icon {
    font-size: 1.6rem;
    margin-bottom: .5rem;
}

.exp-cat-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .25rem;
}

.exp-cat-desc {
    font-size: .75rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: .75rem;
}

.exp-cat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-badge {
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.sb-not-started {
    background: var(--gray-100);
    color: var(--gray-400);
}

.sb-in-progress {
    background: #FFF8E1;
    color: #8a6800;
}

.sb-complete {
    background: #EDF7E6;
    color: #3a6010;
}

.sb-na {
    background: var(--gray-100);
    color: var(--gray-400);
}

.na-btn {
    font-size: .72rem;
    font-weight: 700;
    color: var(--gray-400);
    background: none;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 3px 10px;
    cursor: pointer;
    font-family: var(--font);
}

.na-btn:hover {
    background: var(--gray-100);
}

.na-btn.active {
    background: var(--gray-100);
    color: var(--navy);
    border-color: var(--navy);
}

.exp-sub-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2a4a63 100%);
    border-radius: var(--radius);
    padding: 2rem;
    color: white;
    margin-bottom: 1.25rem;
}

.exp-sub-hero-tag {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .5rem;
}

.exp-sub-hero h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.exp-sub-hero p {
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.6;
}

.subcat-preview {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1.5px solid var(--gray-200);
}

.subcat-preview-title {
    font-size: .72rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}

.subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--teal-light);
    border: 1px solid rgba(52, 193, 208, .3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--navy);
    margin: 3px;
}

.subcat-num {
    background: var(--teal);
    color: var(--navy);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ministep-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.ministep-progress {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.ms-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    transition: all .2s;
    flex-shrink: 0;
}

.ms-dot.done {
    background: var(--green);
}

.ms-dot.active {
    background: var(--teal);
    transform: scale(1.3);
}

.ms-crumb {
    font-size: .75rem;
    color: var(--gray-600);
}

.ms-crumb strong {
    color: var(--navy);
}

.ms-subcat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .3rem;
}

.ms-subcat-sub {
    font-size: .8rem;
    color: var(--gray-600);
}

.exp-chklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    margin-bottom: 1.5rem;
}

.exp-chk-item {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: .85rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    transition: all .2s;
    background: var(--white);
}

.exp-chk-item:hover,
.exp-chk-item.sel {
    border-color: var(--teal);
    background: var(--teal-light);
}

.exp-chk-item input[type=checkbox] {
    width: 17px;
    height: 17px;
    accent-color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.exp-chk-label {
    font-size: .87rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.35;
}

.exp-chk-hint {
    font-size: .73rem;
    color: var(--gray-600);
    margin-top: 4px;
    font-weight: 400;
    line-height: 1.4;
    font-style: italic;
}

.exp-inp-card {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: .85rem;
    animation: slideIn .2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-4px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.eic-label {
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--gray-200);
    line-height: 1.4;
}

.tog {
    display: flex;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.tog button {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: var(--white);
    font-family: var(--font);
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all .15s;
}

.tog button.active {
    background: var(--teal);
    color: var(--navy);
}

.tog button:hover:not(.active) {
    background: var(--gray-50);
}

.dw {
    position: relative;
}

.dw::before {
    content: '$';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: .88rem;
    pointer-events: none;
}

.dw input {
    padding-left: 24px;
}

.mwrap label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    display: block;
    margin-bottom: 3px;
}

.sdiv {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.sdiv::before,
.sdiv::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.sdiv span {
    font-size: .7rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}

.btn-add {
    background: var(--teal-light);
    color: var(--teal);
    border: 1.5px dashed var(--teal);
    width: 100%;
    justify-content: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: .5rem;
}

.btn-add:hover {
    background: rgba(52, 193, 208, .2);
}

.card-hdr {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.card-sub {
    font-size: .85rem;
    color: var(--gray-600);
    margin-top: 3px;
    line-height: 1.5;
}

.btn-sec {
    background: var(--white);
    color: var(--navy);
    border: 1.5px solid var(--gray-200);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}

.btn-sec:hover {
    background: var(--gray-50);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    gap: 1rem;
}

.ibox {
    background: var(--teal-light);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: .75rem 1rem;
    font-size: .82rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* Expense sub-nav */
.exp-subnav {
    background: #162735;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
    position: sticky;
    top: 128px;
    z-index: 99;
}

.exp-subnav.show {
    display: block;
}

.exp-subnav-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 0;
    height: 44px;
    overflow-x: auto;
}

.esn-home {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .65);
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    white-space: nowrap;
    transition: all .2s;
    flex-shrink: 0;
}

.esn-home:hover {
    background: rgba(255, 255, 255, .08);
    color: white;
}

.esn-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, .12);
    margin: 0 .5rem;
    flex-shrink: 0;
}

.esn-cats {
    display: flex;
    align-items: center;
    gap: 4px;
}

.esn-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: none;
    border: 1px solid transparent;
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    color: rgba(255, 255, 255, .55);
    white-space: nowrap;
    transition: all .2s;
    flex-shrink: 0;
}

.esn-cat:hover {
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .9);
}

.esn-cat.esn-active {
    background: rgba(52, 193, 208, .15);
    color: var(--teal);
    border-color: rgba(52, 193, 208, .3);
}

.esn-cat.esn-complete {
    color: var(--green);
}

.esn-cat.esn-na {
    color: rgba(255, 255, 255, .3);
}

.esn-sdot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.esn-sdot-ns {
    background: rgba(255, 255, 255, .2);
}

.esn-sdot-ip {
    background: var(--gold);
}

.esn-sdot-cp {
    background: var(--green);
}

.esn-sdot-na {
    background: rgba(255, 255, 255, .15);
}

@media(max-width:640px) {

    .exp-landing-grid,
    .exp-chklist {
        grid-template-columns: 1fr;
    }
}