:root {
    --navy: #1C3041;
    --teal: #34C1D0;
    --teal-l: #DCF1F8;
    --teal-m: #a8e4ec;
    --brown: #95684D;
    --red: #E22026;
    --purple: #773A96;
    --yellow: #DFBF24;
    --green: #82B441;
    --white: #fff;
    --g50: #f8f9fa;
    --g100: #f0f2f4;
    --g200: #e0e4e8;
    --g300: #c8cfd6;
    --g500: #6b7a8d;
    --g700: #3d4f60;
    --font: 'Quicksand', sans-serif;
    --r: 10px;
    --r-lg: 16px;
    --shadow: 0 2px 12px rgba(28, 48, 65, .08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    background: var(--g100);
    color: var(--navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.hdr {
    background: var(--navy);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.hdr-l {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hdr-org {
    font-size: .82rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: .04em;
}

.hdr-div {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, .2);
}

.hdr-title {
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}

.autosave {
    font-size: .72rem;
    color: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.dot.saving {
    background: var(--yellow);
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

/* PHASE BAR */
.pbar {
    background: var(--navy);
    padding: 0 2rem .9rem;
}

.phases {
    display: flex;
    max-width: 920px;
    margin: 0 auto;
}

.ph {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.ph::after {
    content: '';
    position: absolute;
    top: 13px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, .1);
    z-index: 0;
}

.ph:last-child::after {
    display: none;
}

.ph-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 2px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-size: .62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .4);
    position: relative;
    z-index: 1;
    transition: all .3s;
}

.ph.active .ph-dot {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--navy);
}

.ph.done .ph-dot {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.ph-lbl {
    font-size: .58rem;
    color: rgba(255, 255, 255, .35);
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ph.active .ph-lbl {
    color: var(--teal);
}

.ph.done .ph-lbl {
    color: rgba(255, 255, 255, .6);
}

.sub-prog {
    max-width: 920px;
    margin: .4rem auto 0;
    display: none;
    align-items: center;
    gap: .75rem;
}

.sub-prog.show {
    display: flex;
}

.sp-lbl {
    font-size: .68rem;
    color: rgba(255, 255, 255, .5);
    font-weight: 600;
    white-space: nowrap;
}

.sp-track {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, .12);
    border-radius: 2px;
}

.sp-fill {
    height: 100%;
    background: var(--teal);
    border-radius: 2px;
    transition: width .3s;
}

.sp-ct {
    font-size: .68rem;
    color: rgba(255, 255, 255, .5);
    white-space: nowrap;
}

/* MAIN */
.main {
    max-width: 860px;
    margin: 2rem auto;
    padding: 0 1.5rem 3rem;
    flex: 1;
}

.screen {
    display: none;
    animation: fi .25s ease;
}

.screen.active {
    display: block;
}

@keyframes fi {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* CARD */
.card {
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.card-hdr {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--teal-l);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

.card-sub {
    font-size: .85rem;
    color: var(--g500);
    margin-top: 3px;
    line-height: 1.5;
}

/* WELCOME */
.hero {
    background: var(--navy);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(52, 193, 208, .08);
}

.hero-tag {
    display: inline-block;
    background: rgba(52, 193, 208, .2);
    color: var(--teal);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: .75rem;
}

.hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: .75rem;
    line-height: 1.2;
}

.hero p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.7;
    max-width: 560px;
}

.checklist {
    background: var(--g50);
    border-radius: var(--r);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.cl-title {
    font-size: .75rem;
    font-weight: 700;
    color: var(--g500);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}

.cl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: var(--navy);
    padding: 4px 0;
}

.cl-item::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

/* FORMS */
.fg {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.hint {
    font-weight: 400;
    color: var(--g500);
    font-size: .75rem;
    display: block;
    margin-top: 2px;
}

input[type=text],
input[type=number],
select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--g200);
    border-radius: var(--r);
    font-family: var(--font);
    font-size: .9rem;
    color: var(--navy);
    background: var(--white);
    transition: border-color .2s;
    outline: none;
}

input:focus,
select:focus {
    border-color: var(--teal);
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.fr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

/* TOGGLE */
.tog {
    display: flex;
    background: var(--g200);
    border-radius: 8px;
    padding: 3px;
    gap: 3px;
}

.tog button {
    flex: 1;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-family: var(--font);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--g500);
    transition: all .2s;
}

.tog button.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

/* MONTH GRID */
.mgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .65rem;
}

.mwrap label {
    font-size: .67rem;
    font-weight: 700;
    color: var(--g500);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.mwrap input {
    font-size: .85rem;
}

/* SUB CARD */
.sc {
    background: var(--g50);
    border: 1.5px solid var(--g200);
    border-radius: var(--r);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.sc-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sc-lbl {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.c-teal {
    color: var(--teal);
}

.c-purple {
    color: var(--purple);
}

.c-brown {
    color: var(--brown);
}

/* CACFP */
.cmeal {
    background: var(--g50);
    border: 1.5px solid var(--g200);
    border-radius: var(--r);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.cmeal-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mbadge {
    font-size: .67rem;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 700;
}

.mbadge.b {
    background: #FFF3DC;
    color: #a07800;
}

.mbadge.l {
    background: #DCF5E0;
    color: #2d7a40;
}

.mbadge.s {
    background: #F5DCFF;
    color: #6b2a8a;
}

.ctbl {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.ctbl th {
    text-align: left;
    padding: 6px 8px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--g500);
    border-bottom: 1px solid var(--g200);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ctbl td {
    padding: 8px;
    border-bottom: 1px solid var(--g200);
}

.rdisp {
    font-size: .85rem;
    font-weight: 600;
    color: var(--green);
}

/* INCOME AUTO */
.ia {
    background: var(--teal-l);
    border: 1.5px solid var(--teal-m);
    border-radius: var(--r);
    padding: 1rem 1.25rem;
    margin-bottom: .75rem;
}

.ia-lbl {
    font-size: .73rem;
    font-weight: 700;
    color: var(--g500);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ia-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
    margin-top: 4px;
}

.ia-note {
    font-size: .73rem;
    color: var(--g500);
    margin-top: 3px;
}

/* PERSONNEL */
.sgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-bottom: 1rem;
}

.si {
    background: var(--white);
    border-radius: 8px;
    padding: .75rem;
    border: 1px solid var(--g200);
    text-align: center;
}

.si-lbl {
    font-size: .67rem;
    font-weight: 700;
    color: var(--g500);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.si-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 4px;
}

.sea-fields {
    background: var(--teal-l);
    border-radius: 8px;
    padding: .75rem;
    margin-top: .75rem;
    display: none;
}

.sea-fields.show {
    display: block;
}

.chk-lbl {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
}

.chk-lbl input[type=checkbox] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: var(--teal);
}

/* FEE OPTIONS */
.fee-opts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.fee-opt {
    border: 1.5px solid var(--g200);
    border-radius: var(--r);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all .2s;
    background: var(--white);
}

.fee-opt:hover,
.fee-opt.sel {
    border-color: var(--teal);
    background: var(--teal-l);
}

.fee-opt input[type=checkbox] {
    width: 17px;
    height: 17px;
    accent-color: var(--teal);
    flex-shrink: 0;
}

.fee-opt-lbl {
    font-size: .88rem;
    font-weight: 600;
    color: var(--navy);
}

/* ═══════════════════════════════════════
   EXPENSE LANDING PAGE
═══════════════════════════════════════ */
.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(--g200);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    cursor: pointer;
    transition: all .2s;
    position: relative;
}

.exp-cat-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(28, 48, 65, .12);
}

.exp-cat-card.complete {
    border-color: var(--green);
}

.exp-cat-card.in-progress {
    border-color: var(--yellow);
}

.exp-cat-card.na {
    border-color: var(--g300);
    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(--g500);
    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(--g100);
    color: var(--g500);
}

.sb-in-progress {
    background: #FFF8E1;
    color: #8a6800;
}

.sb-complete {
    background: #EDF7E6;
    color: #3a6010;
}

.sb-na {
    background: var(--g100);
    color: var(--g500);
}

.na-btn {
    font-size: .72rem;
    font-weight: 700;
    color: var(--g500);
    background: none;
    border: 1px solid var(--g300);
    border-radius: 6px;
    padding: 3px 10px;
    cursor: pointer;
    font-family: var(--font);
}

.na-btn:hover {
    background: var(--g100);
}

.na-btn.active {
    background: var(--g100);
    color: var(--navy);
    border-color: var(--navy);
}

/* ═══════════════════════════════════════
   EXPENSE SUB-LANDING
═══════════════════════════════════════ */
.exp-sub-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2a4a63 100%);
    border-radius: var(--r-lg);
    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(--r);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1.5px solid var(--g200);
}

.subcat-preview-title {
    font-size: .72rem;
    font-weight: 700;
    color: var(--g500);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}

.subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--teal-l);
    border: 1px solid var(--teal-m);
    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;
}

/* ═══════════════════════════════════════
   EXPENSE MINI-STEP
═══════════════════════════════════════ */
.ministep-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--g200);
}

.ministep-progress {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.ms-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--g200);
    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(--g500);
}

.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(--g500);
}

/* EXPENSE CHECKLIST */
.exp-chklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    margin-bottom: 1.5rem;
}

.exp-chk-item {
    border: 1.5px solid var(--g200);
    border-radius: var(--r);
    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-l);
}

.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(--g500);
    margin-top: 4px;
    font-weight: 400;
    line-height: 1.4;
    font-style: italic;
}


/* EXPENSE INPUT CARD */
.exp-inp-card {
    background: var(--g50);
    border: 1.5px solid var(--g200);
    border-radius: var(--r);
    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(--g200);
    line-height: 1.4;
}

.freq-q label {
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.monthly-sec {}

.annual-sec {
    display: none;
}

.varies-row {
    margin-top: .75rem;
}

.varies-grid {
    margin-top: .75rem;
    display: none;
}

.varies-grid.show {
    display: grid;
}

.mo-preview {
    font-size: .75rem;
    color: var(--g500);
    margin-top: 5px;
    font-style: italic;
}

/* TOOLTIP BUTTON */
.tooltip-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal-l);
    border: 1.5px solid var(--teal-m);
    color: var(--teal);
    font-size: .7rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    flex-shrink: 0;
    transition: all .2s;
}

.tooltip-btn:hover {
    background: var(--teal);
    color: var(--navy);
}

.cr-rate-preview {
    font-size: .75rem;
    color: var(--teal);
    font-style: italic;
    margin-top: 4px;
    font-weight: 600;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fi .2s ease;
}

.modal-box {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 2rem;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .2);
    position: relative;
}

.modal-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.modal-body {
    font-size: .88rem;
    color: var(--g700);
    line-height: 1.7;
}

.modal-body strong {
    color: var(--navy);
}

.modal-example {
    background: var(--teal-l);
    border-radius: var(--r);
    padding: .85rem 1rem;
    margin-top: 1rem;
    font-size: .85rem;
    color: var(--navy);
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--g100);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: .85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g500);
}

.modal-close:hover {
    background: var(--g200);
}

/* DOLLAR */
.dw {
    position: relative;
}

.dw::before {
    content: '$';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--g500);
    font-size: .88rem;
    pointer-events: none;
}

.dw input {
    padding-left: 24px;
}

/* INFO/WARN */
.ibox {
    background: var(--teal-l);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--r) var(--r) 0;
    padding: .75rem 1rem;
    font-size: .82rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.wbox {
    background: #FFF8E1;
    border-left: 4px solid var(--yellow);
    border-radius: 0 var(--r) var(--r) 0;
    padding: .75rem 1rem;
    font-size: .82rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* DIVIDER */
.sdiv {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.sdiv::before,
.sdiv::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--g200);
}

.sdiv span {
    font-size: .7rem;
    font-weight: 700;
    color: var(--g500);
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}

/* SUMMARY */
.sum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sum-card {
    background: var(--white);
    border-radius: var(--r);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--teal);
}

.sum-card-lbl {
    font-size: .7rem;
    font-weight: 700;
    color: var(--g500);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.sum-card-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 6px;
}

.sum-card-sub {
    font-size: .73rem;
    color: var(--g500);
    margin-top: 4px;
}

.net-pos {
    border-left-color: var(--green);
}

.net-pos .sum-card-val {
    color: var(--green);
}

.net-neg {
    border-left-color: var(--red);
}

.net-neg .sum-card-val {
    color: var(--red);
}

.sum-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.sum-tbl th {
    text-align: left;
    padding: 8px;
    color: var(--g500);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 2px solid var(--g200);
}

.sum-tbl td {
    padding: 8px;
    border-bottom: 1px solid var(--g100);
}

.sum-tbl .sec-hdr td {
    font-weight: 700;
    color: var(--navy);
    padding-top: 16px;
}

.sum-tbl .subtot td {
    font-weight: 700;
    background: var(--g50);
}

.sum-tbl .grand td {
    font-weight: 700;
    font-size: 1rem;
    border-top: 2px solid var(--navy);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--r);
    font-family: var(--font);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .2s;
}

.btn-primary {
    background: var(--teal);
    color: var(--navy);
}

.btn-primary:hover {
    background: #28abbe;
}

.btn-sec {
    background: var(--white);
    color: var(--navy);
    border: 1.5px solid var(--g300);
}

.btn-sec:hover {
    background: var(--g50);
}

.btn-save {
    background: var(--white);
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn-save:hover {
    background: var(--g50);
}

.btn-green {
    background: var(--green);
    color: white;
}

.btn-green:hover {
    background: #6fa030;
}

.btn-danger {
    background: transparent;
    color: var(--red);
    border: 1.5px solid var(--red);
    font-size: .78rem;
    padding: 5px 12px;
}

.btn-danger:hover {
    background: #fff0f0;
}

.btn-add {
    background: var(--teal-l);
    color: var(--teal);
    border: 1.5px dashed var(--teal);
    width: 100%;
    justify-content: center;
    padding: 10px;
    border-radius: var(--r);
    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: var(--teal-m);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--g200);
    gap: 1rem;
}

.nav-r {
    display: flex;
    gap: .75rem;
    align-items: center;
}

/* REGION */
.region-disp {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .75rem;
}

.reg-badge {
    background: var(--navy);
    color: var(--teal);
    font-size: .8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: .1em;
}

/* FOOTER */
.footer {
    background: var(--navy);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.footer-txt {
    font-size: .8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .6);
}

.footer-txt span {
    color: var(--teal);
}

/* EXPENSE SUB-NAV */
.exp-subnav {
    background: #162735;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
    position: sticky;
    top: 64px;
    z-index: 99;
}

.exp-subnav.show {
    display: block;
}

.exp-subnav-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0;
    height: 44px;
    overflow-x: auto;
}

.exp-subnav-inner::-webkit-scrollbar {
    height: 3px;
}

.exp-subnav-inner::-webkit-scrollbar-track {
    background: transparent;
}

.exp-subnav-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .2);
    border-radius: 2px;
}

.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-complete:hover {
    background: rgba(130, 180, 65, .1);
}

.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(--yellow);
}

.esn-sdot-cp {
    background: var(--green);
}

.esn-sdot-na {
    background: rgba(255, 255, 255, .15);
}

@media(max-width:640px) {
    .mgrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fr {
        grid-template-columns: 1fr;
    }

    .sgrid,
    .exp-landing-grid,
    .exp-chklist,
    .fee-opts {
        grid-template-columns: 1fr;
    }
}