﻿body {
   


    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #1A3C8F;
    --blue2: #2952C8;
    --blue-light: #EEF3FF;
    --red: #E8192C;
    --navy: #0B1C4D;
    --white: #fff;
    --bg: #F0F4FA;
    --text: #1A2340;
    --text2: #4A5568;
    --text3: #8A97B0;
    --border: #D8E0F0;
    --green: #0D9F6E;
    --shadow: 0 2px 24px rgba(26,60,143,.10);
    --shadow2: 0 8px 40px rgba(26,60,143,.14);
    --radius: 16px;
}

body {
    font-family: 'Outfit',sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* ── NAV ── */
.topnav {
    background: #fff;
    border-bottom: 1.5px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(26,60,143,.07);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 64px;
    gap: 8px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.nav-logo-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    font-family: 'Bricolage Grotesque',sans-serif;
    background: linear-gradient(135deg,var(--blue),var(--blue2));
    flex-shrink: 0;
    overflow: hidden;
}

    .nav-logo-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

.nav-logo-info {
}

.nav-firm {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.nav-subtag {
    font-size: 10px;
    color: var(--text3);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text2);
    cursor: pointer;
    transition: all .18s;
    border: none;
    background: none;
    font-family: 'Outfit',sans-serif;
    white-space: nowrap;
}

    .nav-link:hover, .nav-link.active {
        background: var(--blue-light);
        color: var(--blue2);
    }

    .nav-link svg {
        width: 13px;
        height: 13px;
        transition: transform .2s;
    }

.nav-item:hover > .nav-link svg {
    transform: rotate(180deg);
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    min-width: 220px;
    box-shadow: var(--shadow2);
    z-index: 300;
    padding: 6px;
}

.nav-item:hover > .dropdown {
    display: block;
    animation: dropIn .15s ease;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text2);
    cursor: pointer;
    transition: all .15s;
}

    .dd-item:hover {
        background: var(--blue-light);
        color: var(--blue2);
    }

.dd-icon {
    font-size: 15px;
    width: 22px;
    text-align: center;
}

.dd-label {
    font-weight: 500;
}

.dd-badge {
    margin-left: auto;
    background: var(--blue-light);
    color: var(--blue2);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 12px;
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.arn-badge {
    background: var(--blue-light);
    border: 1px solid #C7D7F7;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue2);
    white-space: nowrap;
}

.nav-cta {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Outfit',sans-serif;
    transition: all .2s;
    white-space: nowrap;
}

    .nav-cta:hover {
        background: #c9111f;
        transform: translateY(-1px);
    }

.nav-brand-btn {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Outfit',sans-serif;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

    .nav-brand-btn:hover {
        background: #122d70;
        transform: translateY(-1px);
    }

/* ── BRAND BANNER ── */
.brand-banner {
    background: #fff;
    border-bottom: 1.5px solid var(--border);
    display: none;
}

    .brand-banner.show {
        display: block;
    }

.bb-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bb-logo-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg,var(--blue),var(--blue2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    font-family: 'Bricolage Grotesque',sans-serif;
    flex-shrink: 0;
    overflow: hidden;
}

    .bb-logo-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.bb-info {
    flex: 1;
    min-width: 160px;
}

.bb-firm {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
}

.bb-tagline {
    font-size: 12px;
    color: var(--blue2);
    font-weight: 500;
    margin-bottom: 5px;
}

.bb-chips {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.bb-chip {
    background: var(--blue-light);
    border: 1px solid #C7D7F7;
    border-radius: 12px;
    padding: 2px 9px;
    font-size: 10.5px;
    color: var(--blue2);
    font-weight: 600;
}

.bb-contact {
    font-size: 12px;
    color: var(--text2);
    text-align: right;
    line-height: 1.8;
}

    .bb-contact a {
        color: var(--blue2);
        text-decoration: none;
    }

.bb-about {
    width: 100%;
    font-size: 11.5px;
    color: var(--text3);
    line-height: 1.6;
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px solid var(--border);
    font-style: italic;
    display: none;
}

    .bb-about.show {
        display: block;
    }

/* ── BRANDING MODAL ── */
.bm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11,28,77,.6);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

    .bm-overlay.open {
        display: flex;
    }

.bm-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 760px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,.3);
    animation: slideUp .25s cubic-bezier(.34,1.2,.64,1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bm-head {
    background: linear-gradient(135deg,#0B1C4D,#1A3C8F);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px 20px 0 0;
}

    .bm-head h2 {
        font-family: 'Bricolage Grotesque',sans-serif;
        font-size: 20px;
        font-weight: 800;
        color: #fff;
    }

    .bm-head p {
        font-size: 11px;
        color: rgba(255,255,255,.5);
        margin-top: 2px;
    }

.bm-x {
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .bm-x:hover {
        background: rgba(232,25,44,.5);
    }

.bm-body {
    padding: 24px 26px;
}

.bm-sec {
    margin-bottom: 22px;
}

.bm-sec-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue2);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .bm-sec-title::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

.bm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    .bm-grid.col1 {
        grid-template-columns: 1fr;
    }

.bm-label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text2);
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.bm-inp {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: 9px 12px;
    font-size: 13.5px;
    color: var(--navy);
    font-family: 'Outfit',sans-serif;
    outline: none;
    transition: border-color .2s;
}

    .bm-inp:focus {
        border-color: var(--blue2);
        box-shadow: 0 0 0 3px rgba(41,82,200,.1);
    }

    .bm-inp::placeholder {
        color: #B8C4D4;
    }

textarea.bm-inp {
    resize: vertical;
    min-height: 72px;
    line-height: 1.55;
}
/* Logo zone */
.logo-zone {
    border: 2px dashed var(--border);
    border-radius: 11px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    position: relative;
    background: #F8FAFF;
}

    .logo-zone:hover {
        border-color: var(--blue2);
        background: var(--blue-light);
    }

    .logo-zone input[type=file] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        width: 100%;
        height: 100%;
    }

.lz-img {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    margin: 0 auto 8px;
    display: none;
    border: 2px solid var(--blue2);
}

.lz-ui .lz-ico {
    font-size: 26px;
    margin-bottom: 5px;
}

.lz-ui .lz-txt {
    font-size: 12px;
    color: var(--text3);
    line-height: 1.5;
}

    .lz-ui .lz-txt strong {
        color: var(--blue2);
    }

.lz-rm {
    margin-top: 8px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--red);
    padding: 4px 12px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 11px;
    font-family: 'Outfit',sans-serif;
    font-weight: 600;
    position: relative;
    z-index: 2;
    display: inline-block;
}
/* Preview */
.bm-preview {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 12px;
}

.bm-prev-label {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bm-prev-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    flex-wrap: wrap;
}

.prev-logo {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg,var(--blue),var(--blue2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    font-family: 'Bricolage Grotesque',sans-serif;
    overflow: hidden;
    flex-shrink: 0;
}

    .prev-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 7px;
        display: none;
    }

.prev-names .prev-firm {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.prev-names .prev-tag {
    font-size: 10px;
    color: var(--text3);
}

.prev-arn {
    margin-left: auto;
    background: var(--blue-light);
    border: 1px solid #C7D7F7;
    border-radius: 12px;
    padding: 2px 9px;
    font-size: 10px;
    font-weight: 600;
    color: var(--blue2);
}

.prev-cta {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Outfit',sans-serif;
}
/* Modal footer */
.bm-foot {
    padding: 14px 26px 22px;
    display: flex;
    gap: 10px;
}

.bm-save {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg,var(--blue),var(--blue2));
    color: #fff;
    border: none;
    font-family: 'Outfit',sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(41,82,200,.3);
}

    .bm-save:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 26px rgba(41,82,200,.4);
    }

.bm-rst {
    padding: 12px 18px;
    border-radius: 10px;
    background: #F8FAFF;
    border: 1.5px solid var(--border);
    color: var(--text3);
    font-family: 'Outfit',sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .bm-rst:hover {
        background: #FEF2F2;
        border-color: #FECACA;
        color: var(--red);
    }

/* ── PAGE ── */
.page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
}
/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
}

.sc-label {
    font-size: 10.5px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 5px;
    font-weight: 600;
}

.sc-val {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

    .sc-val.blue {
        color: var(--blue2);
    }

    .sc-val.green {
        color: var(--green);
    }

.sc-change {
    font-size: 11px;
    margin-top: 2px;
    color: var(--text3);
}

    .sc-change.up {
        color: var(--green);
    }
/* Calc picker */
.calc-picker {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 7px;
}

.cp-btn {
    background: none;
    border: none;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    cursor: pointer;
    font-family: 'Outfit',sans-serif;
    transition: all .18s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .cp-btn:hover {
        background: var(--blue-light);
        color: var(--blue2);
    }

    .cp-btn.active {
        background: var(--blue2);
        color: #fff;
        box-shadow: 0 3px 12px rgba(41,82,200,.25);
    }
/* Main grid */
.main-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 18px;
    align-items: start;
}
/* Calc card */
.calc-panel {
    display: none;
}

    .calc-panel.active {
        display: block;
        animation: fadeUp .25s ease;
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cc-head {
    padding: 16px 20px;
    border-bottom: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.cc-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg,var(--blue),var(--blue2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cc-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
}

.cc-body {
    padding: 20px;
}
/* Freq */
.freq-label {
    font-size: 12.5px;
    color: var(--text2);
    font-weight: 500;
    margin-bottom: 7px;
}

.freq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 16px;
}

.freq-btn {
    padding: 9px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text2);
    background: #fff;
    cursor: pointer;
    font-family: 'Outfit',sans-serif;
    transition: all .18s;
    text-align: center;
}

    .freq-btn:hover {
        border-color: var(--blue2);
        color: var(--blue2);
    }

    .freq-btn.active {
        background: var(--blue-light);
        border-color: var(--blue2);
        color: var(--blue2);
        font-weight: 600;
    }
/* Input */
.inp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.inp-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text2);
    flex-shrink: 0;
    min-width: 150px;
}

.amt-box {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
    flex: 1;
    background: #fff;
}

    .amt-box:focus-within {
        border-color: var(--blue2);
        box-shadow: 0 0 0 3px rgba(41,82,200,.1);
    }

.amt-pfx {
    background: var(--bg);
    padding: 9px 11px;
    font-size: 13.5px;
    color: var(--text3);
    font-weight: 500;
    border-right: 1.5px solid var(--border);
}

.amt-inp {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Outfit',sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    padding: 9px 11px;
    background: transparent;
    width: 100%;
}
/* Slider */
.sl-row {
    margin-bottom: 16px;
}

.sl-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}

.sl-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text2);
}

.sl-val {
    background: var(--blue-light);
    border: 1.5px solid var(--blue2);
    border-radius: 7px;
    padding: 3px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue2);
    width: 64px;
    text-align: center;
}

    .sl-val input {
        border: none;
        outline: none;
        background: transparent;
        font-family: 'Outfit',sans-serif;
        font-size: 13px;
        font-weight: 700;
        color: var(--blue2);
        width: 100%;
        text-align: center;
    }

input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    height: 5px;
    border-radius: 5px;
    background: linear-gradient(to right,var(--blue2) 0%,var(--blue2) var(--pct,30%),var(--border) var(--pct,30%),var(--border) 100%);
    outline: none;
    cursor: pointer;
    display: block;
    margin-bottom: 3px;
}

    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        border: 3px solid var(--blue2);
        box-shadow: 0 2px 8px rgba(41,82,200,.3);
        cursor: pointer;
    }

        input[type=range]::-webkit-slider-thumb:hover {
            transform: scale(1.15);
        }

.rng-bounds {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text3);
}
/* Result bottom */
.res-bottom {
    background: var(--bg);
    border-top: 1.5px solid var(--border);
    padding: 14px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rb-label {
    font-size: 11px;
    color: var(--text3);
    margin-bottom: 3px;
}

.rb-val {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--navy);
}

    .rb-val.blue {
        color: var(--blue2);
    }

.earn-bar {
    background: var(--blue-light);
    border-top: 1.5px solid var(--border);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.earn-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.earn-val {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: var(--blue2);
}

.start-btn {
    width: 100%;
    padding: 15px;
    background: var(--red);
    color: #fff;
    border: none;
    font-family: 'Outfit',sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

    .start-btn:hover {
        background: #c9111f;
    }
/* Right panel */
.right-panel {
}

.graph-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.graph-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 0;
}

.graph-toggle-title {
    font-size: 12px;
    color: var(--text3);
    font-weight: 600;
}

.toggle-grp {
    display: flex;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: 3px;
    gap: 3px;
}

.tgl-btn {
    padding: 6px 18px;
    border-radius: 7px;
    border: none;
    background: none;
    font-family: 'Outfit',sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    cursor: pointer;
    transition: all .18s;
}

    .tgl-btn.active {
        background: var(--navy);
        color: #fff;
        box-shadow: 0 2px 8px rgba(11,28,77,.2);
    }

.graph-legend {
    display: flex;
    gap: 20px;
    padding: 12px 18px 0;
}

.gl-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.gl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

.gl-val {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.gl-lbl {
    font-size: 10.5px;
    color: var(--text3);
    margin-top: 2px;
}

.chart-wrap {
    padding: 14px 18px 0;
}

canvas#lineChart {
    width: 100% !important;
}
/* Table */
.table-wrap {
    overflow-x: auto;
    max-height: 380px;
    overflow-y: auto;
}

.data-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

    .data-tbl thead {
        background: var(--navy);
        position: sticky;
        top: 0;
    }

    .data-tbl th {
        padding: 10px 13px;
        color: #fff;
        font-weight: 600;
        text-align: right;
        font-size: 11.5px;
    }

        .data-tbl th:first-child {
            text-align: left;
        }

    .data-tbl td {
        padding: 9px 13px;
        border-bottom: 1px solid var(--border);
        color: var(--text2);
        text-align: right;
    }

        .data-tbl td:first-child {
            text-align: left;
            font-weight: 600;
            color: var(--navy);
        }

    .data-tbl tr:hover td {
        background: var(--blue-light);
    }

    .data-tbl tr:nth-child(even) td {
        background: #F8FAFF;
    }

    .data-tbl tr:nth-child(even):hover td {
        background: var(--blue-light);
    }
/* Help card */
.help-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 16px;
    box-shadow: var(--shadow);
}

.hc-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}

.hc-sub {
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 14px;
}

.hc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 12px;
}

.hc-inp {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: var(--navy);
    font-family: 'Outfit',sans-serif;
    outline: none;
    transition: border-color .2s;
}

    .hc-inp:focus {
        border-color: var(--blue2);
    }

    .hc-inp::placeholder {
        color: var(--text3);
    }

.hc-submit {
    width: 100%;
    padding: 11px;
    background: var(--blue2);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Outfit',sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}

    .hc-submit:hover {
        background: var(--blue);
        transform: translateY(-1px);
    }
/* More calculators */
.more-calcs {
    margin-top: 22px;
}

.section-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .section-title::after {
        content: '';
        flex: 1;
        height: 2px;
        background: var(--border);
    }

.extra-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.ec-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}

    .ec-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--acc,var(--blue2));
    }

    .ec-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow2);
        border-color: var(--blue2);
    }

.ec-icon {
    font-size: 26px;
    margin-bottom: 9px;
}

.ec-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}

.ec-desc {
    font-size: 11.5px;
    color: var(--text3);
    line-height: 1.5;
    margin-bottom: 10px;
}

.ec-cta {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--blue2);
}
/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(70px);
    background: var(--navy);
    border-radius: 10px;
    padding: 11px 22px;
    font-size: 13px;
    color: #fff;
    z-index: 9999;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

    .toast.show {
        transform: translateX(-50%) translateY(0);
    }
/* site footer */
.site-footer {
    background: #fff;
    border-top: 1.5px solid var(--border);
    padding: 18px 24px;
    margin-top: 32px;
    text-align: center;
}

.sf-brand {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

.sf-arn {
    font-size: 11px;
    color: var(--text3);
    margin-top: 2px;
}

.sf-disc {
    font-size: 10.5px;
    color: var(--text3);
    margin-top: 4px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:1000px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:640px) {
    .extra-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-menu {
        display: none;
    }

    .hc-fields {
        grid-template-columns: 1fr;
    }
}

@media(max-width:420px) {
    .extra-grid {
        grid-template-columns: 1fr;
    }
}

