@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/*
===========================================================
SHAHERYAR FOODS — Mobile POS
A warm, app-shell interface. Brand palette pulled from the
website (red / orange / gold on near-black ink).
===========================================================
*/

:root {
    /* Brand */
    --brand-red: #E53935;
    --brand-red-dark: #C62828;
    --brand-orange: #FF6F00;
    --brand-orange-bright: #FF8F00;
    --brand-gold: #FFB300;
    --brand-gold-bright: #FFC107;
    --ink: #1A1A2E;
    --ink-2: #2A2A40;

    /* Semantic money colors */
    --pos-in: #15915A;       /* sales / money in  */
    --pos-in-soft: #E6F4EC;
    --pos-out: #D63A36;      /* expenses / money out */
    --pos-out-soft: #FCEBEA;

    /* Surfaces */
    --backdrop: #E9E6E1;     /* desktop letterbox behind the phone */
    --app-bg: #FBF8F4;       /* warm app canvas */
    --surface: #FFFFFF;
    --surface-2: #F6F2EC;
    --hairline: #ECE6DD;
    --hairline-strong: #E0D8CC;

    /* Text */
    --text: #211E2B;
    --text-soft: #5C5768;
    --text-faint: #8A8597;
    --on-dark: #FFFFFF;
    --on-dark-soft: rgba(255, 255, 255, 0.78);

    /* Type */
    --font-ui: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-script: 'Great Vibes', cursive;

    /* Radii */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 26px;
    --r-pill: 999px;

    /* Spacing */
    --pad: 18px;
    --gap: 14px;

    /* Layout */
    --app-w: 460px;
    --header-h: 60px;
    --nav-h: 74px;

    /* Shadows (soft, warm-tinted, never neon) */
    --shadow-card: 0 1px 2px rgba(26, 26, 46, 0.04), 0 6px 18px rgba(26, 26, 46, 0.06);
    --shadow-pop: 0 10px 30px rgba(26, 26, 46, 0.14);
    --shadow-brand: 0 12px 28px rgba(198, 40, 40, 0.30);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-ui);
    background: var(--backdrop);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---------------- App shell ---------------- */
.app {
    position: relative;
    width: 100%;
    max-width: var(--app-w);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--app-bg);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

@media (min-width: 520px) {
    body {
        background:
            radial-gradient(1200px 600px at 50% -10%, #F2EEE8 0%, var(--backdrop) 60%);
        padding: 24px 0;
    }
    .app {
        min-height: calc(100vh - 48px);
        border-radius: 30px;
        box-shadow: 0 30px 80px rgba(26, 26, 46, 0.22);
        overflow: hidden;
    }
}

/* ---------------- Top bar ---------------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 var(--pad);
    background: rgba(251, 248, 244, 0.86);
    backdrop-filter: saturate(1.1) blur(12px);
    -webkit-backdrop-filter: saturate(1.1) blur(12px);
    border-bottom: 1px solid var(--hairline);
}
.topbar__logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.topbar__title {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.topbar__title b {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
.topbar__title span {
    font-size: 0.68rem;
    color: var(--text-faint);
    font-weight: 500;
}
.topbar__spacer { flex: 1; }
.topbar__back {
    width: 38px;
    height: 38px;
    border-radius: var(--r-pill);
    border: 1px solid var(--hairline-strong);
    background: var(--surface);
    display: grid;
    place-items: center;
    color: var(--ink);
}
.topbar__balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.05;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: var(--ink);
    color: var(--on-dark);
}
.topbar__balance small {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
}
.topbar__balance b {
    font-size: 0.9rem;
    font-weight: 700;
}

/* ---------------- Scroll region ---------------- */
.screen {
    flex: 1;
    padding: var(--pad);
    padding-bottom: calc(var(--nav-h) + 28px);
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}
.screen--flush { padding-left: 0; padding-right: 0; }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 6px 2px 2px;
}
.section-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
}
.section-head a {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-red);
}

/* ---------------- Balance hero ---------------- */
.balance {
    position: relative;
    border-radius: var(--r-xl);
    padding: 22px 22px 20px;
    color: var(--on-dark);
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-red-dark) 0%, var(--brand-red) 42%, var(--brand-orange) 100%);
    box-shadow: var(--shadow-brand);
    isolation: isolate;
}
.balance::after {
    /* subtle warm sheen, not a neon glow */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 85% -20%, rgba(255, 193, 7, 0.35), transparent 55%);
    z-index: -1;
}
.balance__label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
    font-weight: 600;
}
.balance__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 11vw, 3.1rem);
    line-height: 1.05;
    margin: 8px 0 2px;
    letter-spacing: -0.01em;
}
.balance__value .cur {
    font-size: 0.42em;
    font-weight: 600;
    vertical-align: 0.42em;
    margin-right: 4px;
    opacity: 0.85;
    font-family: var(--font-ui);
}
.balance__foot {
    display: flex;
    gap: 18px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.balance__foot div { display: flex; flex-direction: column; gap: 2px; }
.balance__foot small {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--on-dark-soft);
}
.balance__foot b { font-size: 0.98rem; font-weight: 700; }

/* ---------------- Stat cards ---------------- */
.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.stat {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 14px;
    box-shadow: var(--shadow-card);
}
.stat__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
}
.stat__icon--in { background: var(--pos-in-soft); color: var(--pos-in); }
.stat__icon--out { background: var(--pos-out-soft); color: var(--pos-out); }
.stat__label {
    font-size: 0.72rem;
    color: var(--text-faint);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.stat__value {
    font-size: 1.32rem;
    font-weight: 700;
    margin-top: 2px;
    letter-spacing: -0.01em;
}
.stat__value.is-in { color: var(--pos-in); }
.stat__value.is-out { color: var(--pos-out); }
.stat__meta { font-size: 0.72rem; color: var(--text-faint); margin-top: 2px; }

/* ---------------- Chart ---------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 16px;
    box-shadow: var(--shadow-card);
}
.chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 132px;
    margin-top: 14px;
}
.chart__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
    justify-content: flex-end;
}
.chart__bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 100%;
    width: 100%;
    justify-content: center;
}
.chart__bar {
    width: 9px;
    border-radius: 5px 5px 3px 3px;
    min-height: 4px;
    transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.chart__bar--in { background: linear-gradient(180deg, var(--brand-gold), var(--brand-orange)); }
.chart__bar--out { background: #D9CFC2; }
.chart__day { font-size: 0.66rem; color: var(--text-faint); font-weight: 600; }
.chart__day.is-today { color: var(--brand-red); }
.legend { display: flex; gap: 16px; margin-top: 12px; }
.legend span { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--text-soft); font-weight: 500; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend .in { background: var(--brand-orange); }
.legend .out { background: #D9CFC2; }

/* ---------------- Transaction list ---------------- */
.txn-day {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 16px 4px 6px;
}
.txn-day b { font-size: 0.82rem; color: var(--text); font-weight: 700; }
.txn-day span { font-size: 0.76rem; color: var(--text-faint); font-weight: 600; }

.txn {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    margin-bottom: 9px;
    box-shadow: var(--shadow-card);
}
.txn:active { transform: scale(0.99); }
.txn__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.txn__icon--in { background: var(--pos-in-soft); color: var(--pos-in); }
.txn__icon--out { background: var(--pos-out-soft); color: var(--pos-out); }
.txn__main { flex: 1; min-width: 0; }
.txn__title {
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.txn__sub {
    font-size: 0.76rem;
    color: var(--text-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.txn__amt { text-align: right; flex-shrink: 0; }
.txn__amt b { font-size: 0.95rem; font-weight: 700; }
.txn__amt b.is-in { color: var(--pos-in); }
.txn__amt b.is-out { color: var(--pos-out); }
.txn__amt small { display: block; font-size: 0.68rem; color: var(--text-faint); }

/* Empty state */
.empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-faint);
}
.empty svg { margin: 0 auto 12px; opacity: 0.5; }
.empty p { margin: 0; font-size: 0.9rem; }

/* ---------------- Segmented control / chips ---------------- */
.segmented {
    display: flex;
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    border-radius: var(--r-pill);
    padding: 4px;
    gap: 4px;
}
.segmented a {
    flex: 1;
    text-align: center;
    padding: 9px 8px;
    border-radius: var(--r-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-soft);
    transition: background 0.15s, color 0.15s;
}
.segmented a.is-active {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(26, 26, 46, 0.12);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    padding: 9px 14px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--hairline-strong);
    background: var(--surface);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-soft);
    transition: all 0.15s;
}
.chip.is-active {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}

/* ---------------- Amount entry ---------------- */
.amount-stage {
    text-align: center;
    padding: 18px 8px 8px;
}
.amount-stage small {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-faint);
}
.amount-stage .amt {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.8rem, 16vw, 3.8rem);
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.amount-stage .amt .cur {
    font-family: var(--font-ui);
    font-size: 0.34em;
    font-weight: 600;
    color: var(--text-faint);
    vertical-align: 0.5em;
    margin-right: 6px;
}
.amount-stage .amt.is-out { color: var(--pos-out); }
.amount-stage .amt.is-in { color: var(--pos-in); }

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.keypad button {
    border: none;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    padding: 16px 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-card);
    transition: transform 0.08s, background 0.12s;
}
.keypad button:active { transform: scale(0.96); background: var(--surface-2); }
.keypad button.key--util { color: var(--text-soft); font-size: 1.1rem; }
.keypad button.key--del { display: grid; place-items: center; }

/* ---------------- Forms ---------------- */
.field { margin-bottom: 14px; }
.field > label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-soft);
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}
.input, .select, .textarea {
    width: 100%;
    border: 1.5px solid var(--hairline-strong);
    background: var(--surface);
    border-radius: var(--r-md);
    padding: 13px 14px;
    font-size: 0.95rem;
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.14);
}
.textarea { resize: vertical; min-height: 64px; }
.field--inline { display: flex; align-items: center; gap: 10px; }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: none;
    border-radius: var(--r-md);
    padding: 15px 18px;
    font-size: 0.98rem;
    font-weight: 700;
    transition: transform 0.08s, filter 0.15s, background 0.15s;
}
.btn:active { transform: scale(0.985); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--brand {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn--in { background: var(--pos-in); color: #fff; }
.btn--out { background: var(--pos-out); color: #fff; }
.btn--ghost { background: var(--surface); border: 1.5px solid var(--hairline-strong); color: var(--ink); }
.btn--ghost:active { background: var(--surface-2); }

.sticky-action {
    position: sticky;
    bottom: calc(var(--nav-h) + 8px);
    padding-top: 10px;
    background: linear-gradient(180deg, transparent, var(--app-bg) 30%);
}

/* ---------------- Bottom nav ---------------- */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-w);
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(1.1) blur(14px);
    -webkit-backdrop-filter: saturate(1.1) blur(14px);
    border-top: 1px solid var(--hairline);
    display: flex;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom, 0);
    z-index: 50;
}
.tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-faint);
    font-size: 0.64rem;
    font-weight: 600;
    padding-top: 8px;
}
.tab.is-active { color: var(--brand-red); }
.tab svg { width: 22px; height: 22px; }

.tab--fab { position: relative; }
.fab {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-orange) 100%);
    color: #fff;
    border: 4px solid var(--app-bg);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-brand);
    transition: transform 0.12s;
}
.fab:active { transform: translateX(-50%) scale(0.93); }
.fab svg { width: 28px; height: 28px; }

/* ---------------- Quick-add sheet ---------------- */
.sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.42);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 60;
}
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: var(--app-w);
    background: var(--app-bg);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: 10px 18px calc(24px + env(safe-area-inset-bottom, 0));
    z-index: 61;
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -10px 40px rgba(26, 26, 46, 0.2);
}
.sheet.is-open { transform: translateX(-50%) translateY(0); }
.sheet__grip {
    width: 42px;
    height: 5px;
    border-radius: 3px;
    background: var(--hairline-strong);
    margin: 8px auto 16px;
}
.sheet h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.1rem; }
.sheet__opt {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--r-md);
    border: 1px solid var(--hairline);
    background: var(--surface);
    margin-bottom: 10px;
    box-shadow: var(--shadow-card);
}
.sheet__opt .ic {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; flex-shrink: 0;
}
.sheet__opt .ic--in { background: var(--pos-in-soft); color: var(--pos-in); }
.sheet__opt .ic--out { background: var(--pos-out-soft); color: var(--pos-out); }
.sheet__opt b { display: block; font-size: 0.95rem; }
.sheet__opt small { color: var(--text-faint); font-size: 0.78rem; }
.sheet__opt .chev { margin-left: auto; color: var(--text-faint); }

/* ---------------- Settings list ---------------- */
.list-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.list-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--hairline);
}
.list-row:last-child { border-bottom: none; }
.list-row .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand-red); flex-shrink: 0; }
.list-row .tx { flex: 1; }
.list-row .tx b { display: block; font-size: 0.9rem; font-weight: 600; }
.list-row .tx small { color: var(--text-faint); font-size: 0.76rem; }
.list-row .chev { color: var(--text-faint); }

.profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    color: #fff;
}
.profile__avatar {
    width: 52px; height: 52px; border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-orange));
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff;
}
.profile b { font-size: 1rem; }
.profile small { color: var(--on-dark-soft); font-size: 0.8rem; }

/* ---------------- Login ---------------- */
.login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 28px calc(40px + env(safe-area-inset-bottom, 0));
    text-align: center;
    background:
        radial-gradient(140% 90% at 50% 0%, #2A2A40 0%, var(--ink) 55%, #14141f 100%);
    color: #fff;
}
.login__logo { width: 84px; height: 84px; object-fit: contain; margin-bottom: 6px; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4)); }
.login__brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.login__brand .accent { font-family: var(--font-script); color: var(--brand-gold-bright); font-size: 1.9rem; line-height: 0.8; }
.login__sub { color: var(--on-dark-soft); font-size: 0.85rem; margin-bottom: 8px; }
.login__dots { display: flex; gap: 14px; margin: 22px 0 8px; }
.login__dots i {
    width: 14px; height: 14px; border-radius: var(--r-pill);
    border: 2px solid rgba(255,255,255,0.4);
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.login__dots i.on { background: var(--brand-gold-bright); border-color: var(--brand-gold-bright); transform: scale(1.1); }
.login__hint { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-top: 4px; }
.login__pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 300px;
    margin-top: 18px;
}
.login__pad button {
    aspect-ratio: 1.5 / 1;
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.08s, background 0.12s;
}
.login__pad button:active { transform: scale(0.95); background: rgba(255,255,255,0.16); }
.login__pad button.blank { background: none; border: none; pointer-events: none; }

/* Utility */
.muted { color: var(--text-faint); }
.tiny { font-size: 0.72rem; }
.mt-s { margin-top: 8px; }
.mt-m { margin-top: 16px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Page-load reveal */
.reveal { opacity: 0; transform: translateY(10px); animation: reveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.reveal:nth-child(1) { animation-delay: 0.02s; }
.reveal:nth-child(2) { animation-delay: 0.07s; }
.reveal:nth-child(3) { animation-delay: 0.12s; }
.reveal:nth-child(4) { animation-delay: 0.17s; }
.reveal:nth-child(5) { animation-delay: 0.22s; }
.reveal:nth-child(6) { animation-delay: 0.27s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .reveal { animation: none; opacity: 1; transform: none; }
    .chart__bar { transition: none; }
}
