/* =====================================================================
   Prime Car — Application styles
   RTL-first, mirrors automatically via CSS logical properties.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    background: var(--pc-canvas);
    color: var(--pc-ink);
    font-family: var(--pc-font);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--pc-primary); outline-offset: 2px; border-radius: 6px; }

.num { font-family: var(--pc-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------------------------------------------------------------- shell */
.app-shell {
    display: grid;
    grid-template-columns: var(--pc-sidebar) 1fr;
    min-height: 100vh;
}
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-content {
    width: 100%;
    max-width: var(--pc-maxw);
    margin-inline: auto;
    padding: var(--pc-s6) var(--pc-s7) var(--pc-s8);
}

/* -------------------------------------------------------------- sidebar */
.sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    background: var(--pc-surface);
    border-inline-end: 1px solid var(--pc-line);
    display: flex;
    flex-direction: column;
    padding: var(--pc-s6) var(--pc-s5);
    gap: var(--pc-s5);
    overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: var(--pc-s3); padding-inline: var(--pc-s2); }
.brand__mark { border-radius: 13px; box-shadow: var(--pc-shadow-sm); flex: none; }
.brand__name { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.brand__tag { font-size: 11px; color: var(--pc-muted); font-weight: 500; margin-top: 1px; }

.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-group__label {
    font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
    color: var(--pc-faint); text-transform: uppercase;
    padding: var(--pc-s2) var(--pc-s3) var(--pc-s1);
}
.nav-item {
    display: flex; align-items: center; gap: var(--pc-s3);
    padding: 11px var(--pc-s3);
    border-radius: var(--pc-r-inner);
    color: var(--pc-body); font-weight: 600; font-size: 13.5px;
    position: relative;
    transition: background .18s var(--pc-ease-soft), color .18s var(--pc-ease-soft);
}
.nav-item .icon { color: var(--pc-muted); transition: color .18s; }
.nav-item:hover { background: var(--pc-surface-2); color: var(--pc-ink); }
.nav-item:hover .icon { color: var(--pc-primary); }
.nav-item.is-active {
    background: var(--pc-primary);
    color: var(--pc-on-primary);
    box-shadow: 0 10px 22px rgba(226, 49, 64, .30);
}
.nav-item.is-active .icon { color: #fff; }
.nav-item__badge {
    margin-inline-start: auto;
    background: var(--pc-coral); color: #fff;
    font-size: 10.5px; font-weight: 700;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: var(--pc-r-pill);
    display: inline-flex; align-items: center; justify-content: center;
}
.nav-item.is-active .nav-item__badge { background: rgba(255,255,255,.24); }

.sidebar__spacer { flex: 1 1 auto; }

/* dark CTA card */
.cta-card {
    background: linear-gradient(160deg, var(--pc-dark-2), var(--pc-dark));
    color: var(--pc-on-dark);
    border-radius: var(--pc-r-card);
    padding: var(--pc-s5);
    position: relative;
    overflow: hidden;
}
.cta-card::after {
    content: ""; position: absolute; inset-block-start: -40px; inset-inline-end: -30px;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(240,74,90,.5), transparent 70%);
}
.cta-card__icon {
    width: 38px; height: 38px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.12); color: #fff; margin-bottom: var(--pc-s3);
}
.cta-card__title { font-weight: 700; font-size: 14.5px; }
.cta-card__sub { font-size: 12px; color: rgba(244,245,251,.66); margin-top: 4px; line-height: 1.5; }
.cta-card .btn { margin-top: var(--pc-s4); width: 100%; }

/* -------------------------------------------------------------- topbar */
.topbar {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; gap: var(--pc-s4);
    padding: var(--pc-s5) var(--pc-s7);
    background: color-mix(in srgb, var(--pc-canvas) 82%, transparent);
    backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid transparent;
}
.topbar__menu { display: none; }
.topbar__titles { min-width: 0; }
.topbar__title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.topbar__subtitle { font-size: 12.5px; color: var(--pc-muted); font-weight: 500; margin-top: 2px; }
.topbar__actions { margin-inline-start: auto; display: flex; align-items: center; gap: var(--pc-s3); }

.icon-btn {
    width: 42px; height: 42px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--pc-surface); color: var(--pc-body);
    border: 1px solid var(--pc-line);
    box-shadow: var(--pc-shadow-xs);
    transition: transform .15s var(--pc-ease-out), color .15s, box-shadow .15s;
}
.icon-btn:hover { color: var(--pc-primary); transform: translateY(-1px); box-shadow: var(--pc-shadow-sm); }
.icon-btn.has-dot { position: relative; }
.icon-btn.has-dot::after {
    content: ""; position: absolute; inset-block-start: 9px; inset-inline-end: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--pc-coral); border: 2px solid var(--pc-surface);
}

/* language switch */
.lang-switch {
    display: inline-flex; background: var(--pc-surface); border: 1px solid var(--pc-line);
    border-radius: var(--pc-r-pill); padding: 3px; box-shadow: var(--pc-shadow-xs);
}
.lang-switch a {
    font-size: 12px; font-weight: 700; color: var(--pc-muted);
    padding: 5px 11px; border-radius: var(--pc-r-pill); line-height: 1;
    display: inline-flex; align-items: center;
}
.lang-switch a.is-active { background: var(--pc-primary); color: #fff; }

/* avatar chip */
.avatar-chip { display: flex; align-items: center; gap: var(--pc-s3); padding-inline-start: var(--pc-s2); }
.avatar {
    width: 42px; height: 42px; border-radius: 13px; flex: none;
    display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff;
    background: linear-gradient(150deg, var(--pc-violet), var(--pc-primary));
    box-shadow: var(--pc-shadow-sm);
}
.avatar-chip__meta { line-height: 1.25; }
.avatar-chip__meta b { font-size: 13px; font-weight: 700; display: block; }
.avatar-chip__meta span { font-size: 11.5px; color: var(--pc-muted); }
.avatar-chip .icon { color: var(--pc-faint); width: 16px; height: 16px; }

/* notifications dropdown */
.notif { position: relative; }
.notif__panel {
    position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0;
    width: min(320px, calc(100vw - 24px)); background: var(--pc-surface); border: 1px solid var(--pc-line);
    border-radius: var(--pc-r-inner); box-shadow: var(--pc-shadow-lg);
    padding: var(--pc-s3); z-index: 40;
    transform-origin: top; animation: pop .16s var(--pc-ease-out);
}
.notif__panel h4 { font-size: 13px; padding: var(--pc-s2) var(--pc-s2) var(--pc-s3); display:flex; justify-content: space-between; align-items:center; }
.notif__panel h4 a { font-size: 11.5px; color: var(--pc-primary); font-weight: 600; }
.notif__empty { color: var(--pc-muted); font-size: 12.5px; text-align: center; padding: var(--pc-s6) 0; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; } }

/* ---------------------------------------------------------------- cards */
.card {
    background: var(--pc-surface);
    border-radius: var(--pc-r-card);
    box-shadow: var(--pc-shadow-sm);
    padding: var(--pc-s6);
}
.card--pad-lg { padding: var(--pc-s7); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--pc-s4); margin-bottom: var(--pc-s5); }
.card__title { font-size: 15.5px; font-weight: 700; }
.card__sub { font-size: 12px; color: var(--pc-muted); margin-top: 2px; }

.select-pill {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--pc-body);
    background: var(--pc-surface-2); border: 1px solid var(--pc-line);
    padding: 7px 12px; border-radius: var(--pc-r-pill);
}
.select-pill .icon { width: 14px; height: 14px; color: var(--pc-muted); }

/* section grids */
.grid { display: grid; gap: var(--pc-s6); }
.grid--kpi   { grid-template-columns: repeat(4, 1fr); }
.grid--2-1   { grid-template-columns: 2fr 1fr; }
.grid--1-1   { grid-template-columns: 1fr 1fr; }
.stack { display: flex; flex-direction: column; gap: var(--pc-s6); }
.mt-6 { margin-top: var(--pc-s6); }

/* --------------------------------------------------------- KPI stat card */
.stat {
    background: var(--pc-surface);
    border-radius: var(--pc-r-card);
    box-shadow: var(--pc-shadow-sm);
    padding: var(--pc-s5) var(--pc-s5) var(--pc-s6);
    display: flex; flex-direction: column; gap: var(--pc-s4);
    position: relative; overflow: hidden;
    transition: transform .2s var(--pc-ease-out), box-shadow .2s;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--pc-shadow-md); }
.stat__top { display: flex; align-items: center; justify-content: space-between; }
.stat__icon {
    width: 44px; height: 44px; border-radius: var(--pc-r-icon);
    display: grid; place-items: center;
    background: var(--pc-primary-050); color: var(--pc-primary);
}
.stat__icon .icon { width: 22px; height: 22px; }
.stat__value { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.stat__value .unit { font-size: 14px; font-weight: 600; color: var(--pc-muted); margin-inline-start: 4px; }
.stat__label { font-size: 13px; color: var(--pc-muted); font-weight: 500; }
.stat__foot { font-size: 12px; color: var(--pc-muted); display: flex; align-items: center; gap: 6px; }

/* themed icon tints */
.theme-primary .stat__icon { background: var(--pc-primary-050); color: var(--pc-primary); }
.theme-green   .stat__icon { background: var(--pc-green-050);   color: var(--pc-green); }
.theme-coral   .stat__icon { background: var(--pc-coral-050);   color: var(--pc-coral); }
.theme-violet  .stat__icon { background: var(--pc-violet-050);  color: var(--pc-violet); }
.theme-amber   .stat__icon { background: var(--pc-amber-050);   color: var(--pc-amber); }

/* tint utilities (icon dots, badges) */
.tint-primary { background: var(--pc-primary-050); color: var(--pc-primary); }
.tint-green   { background: var(--pc-green-050);   color: var(--pc-green); }
.tint-coral   { background: var(--pc-coral-050);   color: var(--pc-coral); }
.tint-violet  { background: var(--pc-violet-050);  color: var(--pc-violet); }
.tint-amber   { background: var(--pc-amber-050);   color: var(--pc-amber); }

/* filled hero */
.stat--hero {
    background: linear-gradient(155deg, var(--pc-primary), var(--pc-primary-600));
    color: var(--pc-on-primary);
    box-shadow: var(--pc-shadow-hero);
}
.stat--hero::after {
    content: ""; position: absolute; inset-block-end: -50px; inset-inline-start: -30px;
    width: 150px; height: 150px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
}
.stat--hero .stat__icon { background: rgba(255,255,255,.16); color: #fff; }
.stat--hero .stat__label,
.stat--hero .stat__foot { color: rgba(255,255,255,.78); }
.stat--hero .stat__value .unit { color: rgba(255,255,255,.72); }

/* trend chip */
.chip {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 11.5px; font-weight: 700; line-height: 1;
    padding: 5px 9px 5px 7px; border-radius: var(--pc-r-pill);
}
.chip .icon { width: 13px; height: 13px; }
.chip--up   { background: var(--pc-green-050); color: var(--pc-green); }
.chip--down { background: var(--pc-coral-050); color: var(--pc-coral); }
.stat--hero .chip--up   { background: rgba(255,255,255,.20); color: #fff; }
.stat--hero .chip--down { background: rgba(255,255,255,.20); color: #fff; }

/* --------------------------------------------------------- welcome banner */
.welcome {
    background: linear-gradient(150deg, var(--pc-dark-2), var(--pc-dark));
    color: var(--pc-on-dark);
    border-radius: var(--pc-r-card);
    padding: var(--pc-s7);
    display: flex; align-items: center; justify-content: space-between; gap: var(--pc-s6);
    position: relative; overflow: hidden;
}
.welcome::before {
    content: ""; position: absolute; inset-block-start: -60px; inset-inline-end: 8%;
    width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(240,74,90,.42), transparent 70%);
}
.welcome__text { position: relative; z-index: 1; }
.welcome__hi { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.welcome__sub { color: rgba(244,245,251,.66); font-size: 13px; margin-top: 6px; }
.welcome__stats { position: relative; z-index: 1; display: flex; gap: var(--pc-s3); flex-wrap: wrap; }
.mini-stat {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--pc-r-inner); padding: var(--pc-s3) var(--pc-s4); min-width: 108px;
    backdrop-filter: blur(4px);
}
.mini-stat b { font-size: 20px; font-weight: 800; display: block; }
.mini-stat span { font-size: 11.5px; color: rgba(244,245,251,.62); }

/* ------------------------------------------------------------- activity */
.activity { display: flex; flex-direction: column; gap: 2px; }
.activity__item { display: flex; align-items: center; gap: var(--pc-s3); padding: 11px var(--pc-s2); border-radius: var(--pc-r-inner); transition: background .15s; }
.activity__item:hover { background: var(--pc-surface-2); }
.activity__dot {
    width: 38px; height: 38px; border-radius: 12px; flex: none;
    display: grid; place-items: center;
    background: var(--pc-primary-050); color: var(--pc-primary);
}
.activity__dot .icon { width: 18px; height: 18px; }
.activity__body { min-width: 0; flex: 1; }
.activity__title { font-size: 13px; font-weight: 600; }
.activity__title b { font-weight: 700; }
.activity__sub { font-size: 11.5px; color: var(--pc-muted); }
.activity__time { font-size: 11px; color: var(--pc-faint); white-space: nowrap; }

/* placeholder / empty */
.placeholder-card {
    background: var(--pc-surface); border-radius: var(--pc-r-card);
    box-shadow: var(--pc-shadow-sm); padding: var(--pc-s9) var(--pc-s7);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    position: relative; overflow: hidden;
}
.placeholder-card::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(600px 200px at 50% -10%, rgba(226,49,64,.08), transparent 70%);
}
.placeholder-icon {
    width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center;
    background: var(--pc-primary-050); color: var(--pc-primary); margin-bottom: var(--pc-s5);
    position: relative; z-index: 1;
}
.placeholder-icon .icon { width: 42px; height: 42px; }
.placeholder-badges { display: flex; gap: 8px; margin-bottom: var(--pc-s4); position: relative; z-index: 1; }
.badge {
    font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: var(--pc-r-pill);
}
.badge--phase { background: var(--pc-primary-050); color: var(--pc-primary); }
.badge--dev   { background: var(--pc-amber-050); color: var(--pc-amber); }
.placeholder-card h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; position: relative; z-index: 1; }
.placeholder-card p.lead { color: var(--pc-body); max-width: 560px; margin-top: var(--pc-s3); font-size: 14px; line-height: 1.7; position: relative; z-index: 1; }
.feature-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pc-s3);
    margin-top: var(--pc-s7); width: 100%; max-width: 640px; position: relative; z-index: 1;
}
.feature-item {
    display: flex; align-items: center; gap: var(--pc-s3); text-align: start;
    background: var(--pc-surface-2); border: 1px solid var(--pc-line);
    border-radius: var(--pc-r-inner); padding: var(--pc-s3) var(--pc-s4); font-size: 13px; font-weight: 500;
}
.feature-item .icon { color: var(--pc-green); width: 18px; height: 18px; flex: none; }

/* ----------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 13.5px; padding: 11px 18px;
    border-radius: 14px; border: 1px solid transparent; line-height: 1;
    transition: transform .15s var(--pc-ease-out), box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--pc-primary); color: #fff; box-shadow: 0 10px 22px rgba(226,49,64,.28); }
.btn--primary:hover { background: var(--pc-primary-600); }
.btn--light { background: #fff; color: var(--pc-primary); }
.btn--ghost { background: var(--pc-surface-2); color: var(--pc-body); border-color: var(--pc-line); }
.btn--ghost:hover { color: var(--pc-primary); border-color: var(--pc-primary-100); }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 22px; font-size: 15px; border-radius: 16px; }

/* --------------------------------------------------------------- forms */
.field { margin-bottom: var(--pc-s4); }
.field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--pc-body); margin-bottom: 7px; }
.input {
    width: 100%; height: 48px; padding: 0 16px;
    background: var(--pc-surface-2); border: 1.5px solid var(--pc-line);
    border-radius: 14px; font-family: inherit; font-size: 14px; color: var(--pc-ink);
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.input::placeholder { color: var(--pc-faint); }
.input:focus { outline: none; background: #fff; border-color: var(--pc-primary); box-shadow: 0 0 0 4px var(--pc-primary-050); }
.input-group { position: relative; }
.input-group .icon { position: absolute; inset-block-start: 50%; inset-inline-start: 15px; transform: translateY(-50%); color: var(--pc-faint); width: 18px; height: 18px; pointer-events: none; }
.input-group .input { padding-inline-start: 44px; }
.input-group .toggle-eye { position: absolute; inset-block-start: 50%; inset-inline-end: 12px; transform: translateY(-50%); background: none; border: none; color: var(--pc-muted); padding: 6px; }
.check-row { display: flex; align-items: center; justify-content: space-between; margin: var(--pc-s2) 0 var(--pc-s5); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pc-body); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--pc-primary); }
.form-link { font-size: 12.5px; color: var(--pc-primary); font-weight: 600; }

/* ---------------------------------------------------------------- flash */
.flash-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--pc-s5); }
.flash {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 16px; border-radius: 14px; font-size: 13.5px; font-weight: 600;
    animation: slideDown .3s var(--pc-ease-out);
}
.flash .icon { width: 18px; height: 18px; flex: none; }
.flash--success { background: var(--pc-green-050); color: #1a8f52; }
.flash--error   { background: var(--pc-coral-050); color: #d43b3b; }
.flash--info    { background: var(--pc-primary-050); color: var(--pc-primary-600); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; } }

/* -------------------------------------------------------------- reveal */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); }
html.js [data-reveal].in-view { opacity: 1; transform: none; transition: opacity .6s var(--pc-ease-out), transform .6s var(--pc-ease-out); }

/* ============================ AUTH / LOGIN ============================ */
.auth {
    min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr;
    background: var(--pc-canvas);
}
.auth__promo {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(155deg, var(--pc-primary) 0%, var(--pc-primary-700) 100%);
    padding: var(--pc-s9) var(--pc-s8);
    display: flex; flex-direction: column;
}
.auth__promo::before {
    content: ""; position: absolute; inset-block-start: -80px; inset-inline-end: -60px;
    width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08);
}
.auth__promo::after {
    content: ""; position: absolute; inset-block-end: -120px; inset-inline-start: -80px;
    width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.06);
}
.auth__brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.auth__brand .brand__mark { box-shadow: none; }
.auth__brand b { font-size: 18px; font-weight: 800; }
.auth__promo-body { margin-block: auto; position: relative; z-index: 1; }
.auth__promo h2 { font-size: 34px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; max-width: 420px; }
.auth__promo p { color: rgba(255,255,255,.82); font-size: 15px; margin-top: var(--pc-s4); max-width: 400px; line-height: 1.7; }
.auth__points { margin-top: var(--pc-s7); display: flex; flex-direction: column; gap: var(--pc-s3); }
.auth__point { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.auth__point .tick { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.auth__point .tick .icon { width: 16px; height: 16px; }

.auth__form-wrap { display: flex; align-items: center; justify-content: center; padding: var(--pc-s7); }
.auth__form { width: 100%; max-width: 400px; }
.auth__form-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--pc-s7); }
.auth-mobile-lang { display: none; }
@media (max-width: 1024px) { .auth-mobile-lang { display: inline-flex; } }
.auth__form h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.auth__form .sub { color: var(--pc-muted); font-size: 13.5px; margin-top: 6px; }

.demo-box { margin-top: var(--pc-s6); background: var(--pc-surface); border: 1px dashed var(--pc-line-strong); border-radius: var(--pc-r-inner); padding: var(--pc-s4); }
.demo-box__head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--pc-body); margin-bottom: 10px; }
.demo-box__head .pill { background: var(--pc-primary-050); color: var(--pc-primary); font-size: 11px; padding: 3px 9px; border-radius: var(--pc-r-pill); font-weight: 700; }
.demo-list { display: grid; gap: 6px; }
.demo-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; padding: 7px 10px; border-radius: 10px; background: var(--pc-surface-2); cursor: pointer; transition: background .15s; width: 100%; border: none; font-family: inherit; text-align: start; }
.demo-row:hover { background: var(--pc-primary-050); }
.demo-row .role { font-weight: 700; color: var(--pc-ink); }
.demo-row .mail { color: var(--pc-muted); font-family: var(--pc-num); }

/* ---------------------------------------------------- error / blank page */
.blank-wrap { min-height: 100vh; display: grid; place-items: center; padding: var(--pc-s6); }
.error-card { text-align: center; max-width: 440px; }
.error-card .placeholder-icon { margin-inline: auto; background: var(--pc-coral-050); color: var(--pc-coral); }
.error-card h1 { font-size: 26px; font-weight: 800; margin-top: 4px; }
.error-card p { color: var(--pc-body); margin: var(--pc-s3) 0 var(--pc-s6); }

/* -------------------------------------------------------------- drawer */
.scrim { display: none; }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1200px) {
    .grid--kpi { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .app-shell { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 60;
        width: 280px; transform: translateX(-100%);
        transition: transform .28s var(--pc-ease-out);
        box-shadow: var(--pc-shadow-lg);
    }
    :root[dir="rtl"] .sidebar { transform: translateX(100%); }
    .app-shell.drawer-open .sidebar { transform: none; }
    .app-shell.drawer-open .scrim {
        display: block; position: fixed; inset: 0; z-index: 50;
        background: rgba(20,22,40,.42); backdrop-filter: blur(1px);
        animation: fade .2s;
    }
    .topbar__menu { display: grid; }
    .grid--2-1, .grid--1-1 { grid-template-columns: 1fr; }
    @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
    .auth { grid-template-columns: 1fr; }
    .auth__promo { display: none; }
}
@media (max-width: 720px) {
    .app-content { padding: var(--pc-s5) var(--pc-s4) var(--pc-s7); }
    .topbar { padding: var(--pc-s4) var(--pc-s4); }
    .topbar__title { font-size: 19px; }
    .avatar-chip__meta { display: none; }
    .welcome { flex-direction: column; align-items: flex-start; padding: var(--pc-s6); }
    .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .grid--kpi { grid-template-columns: 1fr; }
    .search-hide { display: none; }
}

/* ------------------------------------------------------------- charts */
.chart-flex { display: flex; align-items: center; gap: var(--pc-s7); flex-wrap: wrap; }
.chart-flex .legend { flex: 1; min-width: 170px; }

.pc-ring, .pc-donut { position: relative; display: inline-grid; place-items: center; }
.pc-ring svg, .pc-gauge svg, .pc-donut svg { max-width: 100%; height: auto; }
.pc-ring__center, .pc-donut__center {
    position: absolute; inset: 0; display: grid; place-content: center;
    text-align: center; line-height: 1.15;
}
.pc-donut__center b, .pc-ring__center b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pc-donut__center span, .pc-ring__center span { font-size: 11px; color: var(--pc-muted); }

.pc-gauge { position: relative; display: inline-block; }
.pc-gauge__center { position: absolute; inset-inline: 0; inset-block-end: 4px; text-align: center; }
.pc-gauge__center b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.pc-gauge__center span { font-size: 11.5px; color: var(--pc-muted); display: block; margin-top: 2px; }

.legend { display: flex; flex-direction: column; gap: 14px; }
.legend__row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.legend__dot { width: 11px; height: 11px; border-radius: 4px; flex: none; }
.legend__name { color: var(--pc-body); font-weight: 600; }
.legend__val { margin-inline-start: auto; font-weight: 800; }

.split { display: flex; flex-direction: column; gap: var(--pc-s5); }
.split__row .split__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; font-size: 13px; }
.split__row .k { color: var(--pc-body); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.split__row .k .dot { width: 9px; height: 9px; border-radius: 3px; }
.split__row .v { font-weight: 800; }
.pc-progress { height: 10px; border-radius: var(--pc-r-pill); background: var(--pc-track); overflow: hidden; }
.pc-progress > i { display: block; height: 100%; width: 0; border-radius: var(--pc-r-pill); background: var(--pc-primary); }

.gauge-foot { display: flex; justify-content: space-between; margin-top: var(--pc-s4); font-size: 12.5px; color: var(--pc-muted); }
.gauge-foot b { color: var(--pc-ink); font-weight: 800; display: block; font-size: 15px; }

/* ===================== Phase 2 — module screens ===================== */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pc-s3); margin-bottom: var(--pc-s5); }
.toolbar__spacer { flex: 1 1 auto; }

.search-box { position: relative; flex: 1 1 260px; max-width: 400px; }
.search-box .icon { position: absolute; inset-block-start: 50%; inset-inline-start: 14px; transform: translateY(-50%); width: 18px; height: 18px; color: var(--pc-faint); pointer-events: none; }
.search-box input { width: 100%; height: 44px; padding-inline: 42px 14px; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: 13px; font-family: inherit; font-size: 13.5px; color: var(--pc-ink); box-shadow: var(--pc-shadow-xs); }
.search-box input:focus { outline: none; border-color: var(--pc-primary); box-shadow: 0 0 0 4px var(--pc-primary-050); }

.select {
    height: 44px; padding-inline: 14px 34px; border-radius: 13px;
    background-color: var(--pc-surface); border: 1px solid var(--pc-line);
    font-family: inherit; font-size: 13px; font-weight: 600; color: var(--pc-body);
    box-shadow: var(--pc-shadow-xs); cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AA0B4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
:root[dir="rtl"] .select { background-position: left 12px center; }
.select:focus { outline: none; border-color: var(--pc-primary); }

.table-wrap { background: var(--pc-surface); border-radius: var(--pc-r-card); box-shadow: var(--pc-shadow-sm); overflow: hidden; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.table thead th { text-align: start; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pc-muted); background: var(--pc-surface-2); padding: 13px 18px; white-space: nowrap; border-bottom: 1px solid var(--pc-line); }
.table tbody td { padding: 13px 18px; border-bottom: 1px solid var(--pc-line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: var(--pc-surface-2); }
.cell-car { display: flex; align-items: center; gap: 12px; }
.cell-car__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--pc-primary-050); color: var(--pc-primary); display: grid; place-items: center; flex: none; }
.cell-car__ic .icon { width: 20px; height: 20px; }
.cell-car__t b { font-weight: 700; display: block; }
.cell-car__t span { font-size: 11.5px; color: var(--pc-muted); }
.mono { font-family: var(--pc-num); font-size: 12.5px; }

.badge-st { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: var(--pc-r-pill); white-space: nowrap; }
.badge-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st--available { background: var(--pc-green-050); color: #1c9c58; }
.st--reserved  { background: var(--pc-violet-050); color: #D23A63; }
.st--preparing { background: var(--pc-amber-050); color: #c9781f; }
.st--sold      { background: var(--pc-coral-050); color: #d43b3b; }
.badge-loc { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--pc-body); white-space: nowrap; }
.badge-loc .icon { width: 14px; height: 14px; color: var(--pc-muted); }

.row-actions { display: inline-flex; gap: 6px; }
.act-btn { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--pc-surface-2); border: 1px solid var(--pc-line); color: var(--pc-body); transition: color .14s, border-color .14s, transform .14s; }
.act-btn .icon { width: 16px; height: 16px; }
.act-btn:hover { color: var(--pc-primary); border-color: var(--pc-primary-100); transform: translateY(-1px); }
.act-btn--danger:hover { color: var(--pc-coral); border-color: #f6c6c6; }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--pc-line); font-size: 12.5px; color: var(--pc-muted); flex-wrap: wrap; }
.pagination__pages { display: inline-flex; gap: 6px; }
.pagination a, .pagination .pg { min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; background: var(--pc-surface-2); color: var(--pc-body); border: 1px solid var(--pc-line); }
.pagination a:hover { border-color: var(--pc-primary-100); color: var(--pc-primary); }
.pagination .is-current { background: var(--pc-primary); color: #fff; border-color: var(--pc-primary); }
.pagination .is-disabled { opacity: .45; pointer-events: none; }

.empty-state { text-align: center; padding: var(--pc-s9) var(--pc-s5); color: var(--pc-muted); }
.empty-state .ic { width: 66px; height: 66px; border-radius: 20px; background: var(--pc-surface-2); color: var(--pc-faint); display: grid; place-items: center; margin: 0 auto var(--pc-s4); }
.empty-state .ic .icon { width: 32px; height: 32px; }
.empty-state b { color: var(--pc-body); font-size: 15px; display: block; margin-bottom: 4px; }

.form-card { background: var(--pc-surface); border-radius: var(--pc-r-card); box-shadow: var(--pc-shadow-sm); padding: var(--pc-s7); max-width: 920px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pc-s4) var(--pc-s5); }
.form-grid .col-2 { grid-column: 1 / -1; }
.form-grid .field { margin-bottom: 0; }
.form-section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pc-muted); margin: var(--pc-s4) 0 2px; grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; margin-top: var(--pc-s6); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AA0B4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 38px; }
:root[dir="rtl"] select.input { background-position: left 14px center; }
textarea.input { height: auto; padding: 12px 16px; resize: vertical; min-height: 84px; line-height: 1.6; }
.field-err { color: var(--pc-coral); font-size: 11.5px; margin-top: 5px; }
.input--err { border-color: var(--pc-coral); }

.dropzone { position: relative; border: 1.6px dashed var(--pc-line-strong); border-radius: var(--pc-r-inner); background: var(--pc-surface-2); padding: var(--pc-s6); text-align: center; transition: border-color .15s, background .15s; cursor: pointer; display: block; }
.dropzone:hover { border-color: var(--pc-primary); background: var(--pc-primary-050); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone__ic { width: 52px; height: 52px; border-radius: 15px; background: var(--pc-surface); color: var(--pc-primary); display: grid; place-items: center; margin: 0 auto 10px; box-shadow: var(--pc-shadow-xs); }
.dropzone__t { font-weight: 700; font-size: 13.5px; }
.dropzone__h { font-size: 12px; color: var(--pc-muted); margin-top: 4px; }
.dropzone__file { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--pc-primary); }

.ai-box { margin-top: var(--pc-s4); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: linear-gradient(120deg, var(--pc-primary-050), var(--pc-violet-050)); border: 1px solid var(--pc-primary-100); border-radius: var(--pc-r-inner); padding: 14px 16px; }
.ai-box__txt { flex: 1 1 200px; }
.ai-box__txt b { font-size: 13px; display: flex; align-items: center; gap: 7px; }
.ai-box__txt b .icon { width: 16px; height: 16px; color: var(--pc-primary); }
.ai-box__txt span { font-size: 11.5px; color: var(--pc-body); }
.ai-msg { font-size: 12px; font-weight: 600; margin-top: 8px; width: 100%; }
.ai-msg--info { color: var(--pc-primary-600); }

.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--pc-s6); align-items: start; }
.detail-list { display: flex; flex-direction: column; }
.detail-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--pc-line); }
.detail-row:last-child { border-bottom: none; }
.detail-row .k { font-size: 12.5px; color: var(--pc-muted); font-weight: 600; }
.detail-row .v { font-weight: 700; text-align: end; }
.detail-hero { display: flex; align-items: center; gap: 16px; margin-bottom: var(--pc-s5); }
.detail-hero__ic { width: 58px; height: 58px; border-radius: 16px; background: var(--pc-primary-050); color: var(--pc-primary); display: grid; place-items: center; flex: none; }
.detail-hero__ic .icon { width: 30px; height: 30px; }
.detail-hero h2 { font-size: 20px; font-weight: 800; }
.detail-hero p { font-size: 13px; color: var(--pc-muted); margin-top: 2px; }
.file-preview { border: 1px solid var(--pc-line); border-radius: var(--pc-r-inner); overflow: hidden; background: var(--pc-surface-2); }
.file-preview img { width: 100%; display: block; }
.file-preview__pdf { padding: var(--pc-s7); text-align: center; color: var(--pc-muted); }
.file-preview__pdf .icon { width: 48px; height: 48px; color: var(--pc-coral); margin: 0 auto 8px; }

@media (max-width: 900px) {
    .form-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
}

/* ===================== Phase 3 — sales charts ===================== */
.barchart { position: relative; }
.barchart__plot { display: flex; align-items: flex-end; gap: 6px; }
.barchart__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; border-radius: 10px; transition: background .15s; padding-top: 6px; }
.barchart__col:hover { background: var(--pc-primary-050); }
.barchart__bars {
    display: flex; align-items: flex-end; justify-content: center; gap: 5px; width: 100%; height: 220px;
    background-image: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), var(--pc-line) calc(25% - 1px), var(--pc-line) 25%);
}
.barchart__bar { width: 13px; max-width: 22px; border-radius: 6px 6px 0 0; height: 0; }
.barchart.is-in .barchart__bar { height: var(--h); transform-origin: bottom; }
.barchart__bar.cash { background: var(--pc-primary); }
.barchart__bar.bank { background: var(--pc-violet); }
.barchart__xlabel { font-size: 11.5px; color: var(--pc-muted); font-weight: 600; white-space: nowrap; }
.barchart__tip {
    position: absolute; z-index: 5; pointer-events: none; inset-inline-start: 0; inset-block-start: 0;
    background: var(--pc-dark); color: #fff; border-radius: 12px; padding: 10px 12px;
    box-shadow: var(--pc-shadow-lg); min-width: 158px; font-size: 12px;
}
.barchart__tip-h { font-weight: 700; margin-bottom: 6px; }
.barchart__tip-r { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.72); padding: 2px 0; }
.barchart__tip-r b { color: #fff; margin-inline-start: auto; font-family: var(--pc-num); }
.barchart__tip-r i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; flex: none; }
.barchart__tip-r i.d1 { background: var(--pc-primary); }
.barchart__tip-r i.d2 { background: var(--pc-violet); }
.chart-legend { display: flex; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--pc-body); font-weight: 600; }
.chart-legend i { width: 11px; height: 11px; border-radius: 3px; flex: none; }

.pc-radial { position: relative; display: inline-grid; place-items: center; }
.pc-radial svg { max-width: 100%; height: auto; }
.pc-radial__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.15; }
.pc-radial__center b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pc-radial__center span { font-size: 11px; color: var(--pc-muted); }

.rank-list { display: flex; flex-direction: column; gap: var(--pc-s5); }
.rank-row .rank-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.rank-row .rank-head .k { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.rank-row .rank-head .k .n { width: 22px; height: 22px; border-radius: 7px; background: var(--pc-surface-2); display: grid; place-items: center; font-size: 11px; color: var(--pc-muted); }
.rank-row .rank-head .v { font-weight: 800; }

/* print (reports) */
@media print {
    .sidebar, .topbar, .toolbar, .no-print, .scrim { display: none !important; }
    .app-shell { display: block; }
    .app-main { display: block; }
    .app-content { max-width: none; margin: 0; padding: 0; }
    .card, .table-wrap { box-shadow: none; border: 1px solid #e2e2e2; }
    body { background: #fff; }
}

/* ===================== Phase 4 — library / users / notifications ===================== */
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: var(--pc-s5); }
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: var(--pc-r-pill); background: var(--pc-surface); border: 1px solid var(--pc-line); color: var(--pc-body); font-size: 13px; font-weight: 600; box-shadow: var(--pc-shadow-xs); transition: color .15s, border-color .15s, background .15s; white-space: nowrap; }
.cat-chip:hover { color: var(--pc-primary); border-color: var(--pc-primary-100); }
.cat-chip.is-active { background: var(--pc-primary); color: #fff; border-color: var(--pc-primary); }
.cat-chip .n { font-size: 11px; opacity: .7; }

.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: var(--pc-s4); }
.doc-card { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-r-inner); padding: var(--pc-s5); display: flex; flex-direction: column; gap: var(--pc-s3); transition: transform .18s var(--pc-ease-out), box-shadow .18s; box-shadow: var(--pc-shadow-xs); }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--pc-shadow-md); }
.doc-card__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.doc-card__ic .icon { width: 24px; height: 24px; }
.doc-card__title { font-weight: 700; font-size: 14px; line-height: 1.45; }
.doc-card__cat { font-size: 11.5px; font-weight: 700; color: var(--pc-primary); }
.doc-card__foot { font-size: 11.5px; color: var(--pc-muted); margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: var(--pc-s2); }
.doc-card__actions { display: flex; gap: 6px; }

.role-badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: var(--pc-r-pill); }
.role--admin { background: var(--pc-coral-050); color: #d43b3b; }
.role--sales_manager { background: var(--pc-primary-050); color: var(--pc-primary); }
.role--sales { background: var(--pc-violet-050); color: #D23A63; }
.role--accounting { background: var(--pc-green-050); color: #1c9c58; }
.role--management { background: var(--pc-amber-050); color: #c9781f; }
.role--warehouse { background: var(--pc-surface-2); color: var(--pc-body); }

.dot-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; }
.dot-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.dot-status.on { color: #1c9c58; } .dot-status.on::before { background: var(--pc-green); }
.dot-status.off { color: var(--pc-muted); } .dot-status.off::before { background: var(--pc-faint); }

.notif-list .activity__item { border-bottom: 1px solid var(--pc-line); border-radius: 0; padding-inline: var(--pc-s2); }
.notif-list .activity__item:last-child { border-bottom: none; }
.notif-list .activity__item.unread { background: var(--pc-primary-050); border-radius: var(--pc-r-inner); }

.chip-you { font-size: 10.5px; font-weight: 700; background: var(--pc-primary-050); color: var(--pc-primary); padding: 2px 8px; border-radius: var(--pc-r-pill); margin-inline-start: 6px; }

/* ===================== Phase 5 — settings / growth / live ===================== */
.live-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(40,199,111,.18); border: 1px solid rgba(40,199,111,.35); padding: 4px 10px; border-radius: var(--pc-r-pill); margin-bottom: 12px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pc-green); animation: livePulse 1.7s infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(40,199,111,.55); } 50% { box-shadow: 0 0 0 5px rgba(40,199,111,0); } }
.pulse { animation: numPulse .9s var(--pc-ease-out); }
@keyframes numPulse { 0% { color: var(--pc-green); } 100% { color: inherit; } }

.bubbles { position: relative; width: 280px; height: 240px; flex: none; }
.bubble { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--pc-shadow-md); border: 3px solid rgba(255,255,255,.5); }
.bubble b { font-size: 15px; font-weight: 800; }
@media (max-width: 520px) { .bubbles { width: 100%; height: 220px; } }

.branch-list { display: flex; flex-direction: column; gap: 10px; }
.branch-row { display: flex; align-items: center; gap: 10px; }
.branch-row__edit { display: flex; align-items: center; gap: 10px; flex: 1; flex-wrap: wrap; }
.branch-row__edit .input { height: 42px; flex: 1; min-width: 120px; }
.branch-row__stat { font-size: 12px; color: var(--pc-muted); white-space: nowrap; }
@media (max-width: 640px) { .branch-row__stat { display: none; } }

/* --------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}
