/* ==========================================================================
   Plenia ERP — sistem de design
   1. Tokens          5. Topbar          9.  Tabele
   2. Bază / reset    6. Pagină          10. Formulare
   3. App shell       7. Carduri         11. Utilitare
   4. Sidebar         8. Indicatori
   ========================================================================== */

/* 1. Tokens ================================================================ */

:root {
    color-scheme: light dark;

    /* Scală neutră (rece, ușor albăstruie — citibilă pe ecrane de birou) */
    --gray-0:   #ffffff;
    --gray-25:  #fbfcfd;
    --gray-50:  #f6f8fa;
    --gray-100: #eceff3;
    --gray-200: #dfe3e9;
    --gray-300: #c8cfd8;
    --gray-400: #9aa4b2;
    --gray-500: #6b7684;
    --gray-600: #4d5765;
    --gray-700: #39424e;
    --gray-800: #262e38;
    --gray-900: #171d25;
    --gray-950: #0d1117;

    /* Semantice */
    --success: #17803d;
    --success-soft: #e8f6ed;
    --warning: #a35a07;
    --warning-soft: #fdf3e3;
    --danger:  #c0392f;
    --danger-soft: #fdeceb;
    --info:    #1d6fb8;
    --info-soft: #e9f2fb;

    /* Brand: aurul siglei. Rămâne același pe toate paginile, ca sigla să nu-și
       schimbe culoarea. */
    --brand-500: #d5ae53;
    --brand-700: #927030;

    /* Accent: culoarea domeniului. Paginile de verticală o suprascriu.
       Atenție la rolurile din interiorul scării: --accent-500 este aurul de
       brand și se folosește doar ca suprafață sau element grafic (2,1:1 pe alb,
       deci niciodată ca text). Textul de accent coboară la --accent-600/700,
       bronzul, care trece pragul pe fundal deschis. */
    --accent-50:  #faf4e4;
    --accent-100: #f2e6c5;
    --accent-500: #d5ae53;
    --accent-600: #7a5f22;
    --accent-700: #6d552b;
    --accent-contrast: #1a1408;

    /* Degradeul de brand pentru suprafețe mici (numărul pasului, marca).
       Nu îl construi din --accent-500 → --accent-700: pe fundal deschis
       capătul acela este bronzul de text, iar textul închis de deasupra ar
       cădea la 2,6:1. Ambele capete de aici țin textul închis peste 6:1. */
    --brand-gradient: linear-gradient(135deg, #e8c96b 0%, #b69346 100%);

    /* Acțiune: rezervată butoanelor care aduc cereri. Nu se schimbă niciodată,
       nici pe verticale, ca vizitatorul să învețe dintr-o privire unde se apasă.

       Este aurul mărcii, nu o culoare străină de siglă. Butonul nu mai iese din
       pagină prin temperatură — iese prin masă: este singura suprafață plină de
       aur dintr-un ecran în care aurul apare doar ca linie, contur sau iconiță.

       Scara are aceleași roluri ca --accent-*: 500 este suprafața, 600 este
       starea de hover, 700 este *textul* — bronz pe fundal deschis, unde aurul
       are 2,1:1 și dispare. Textul de pe suprafața aurie este închis, niciodată
       alb: închisul dă 8,7:1, albul ar da 2,2:1. */
    --cta-500: #d5ae53;
    --cta-600: #c19b45;
    --cta-700: #6d552b;
    --cta-soft: #faf4e4;
    --cta-contrast: #1a1408;

    /* Suprafețe */
    --bg-app:      var(--gray-50);
    --bg-surface:  var(--gray-0);
    --bg-sunken:   var(--gray-100);
    --bg-sidebar:  var(--gray-0);
    --bg-hover:    var(--gray-100);
    --bg-active:   var(--accent-50);
    --bg-topbar:   rgb(255 255 255 / 0.85);

    --text-strong: var(--gray-900);
    --text:        var(--gray-700);
    --text-muted:  var(--gray-500);
    --text-subtle: var(--gray-400);

    --border:        var(--gray-200);
    --border-strong: var(--gray-300);

    /* Tipografie */
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --text-xs:   0.75rem;
    --text-sm:   0.8125rem;
    --text-base: 0.875rem;
    --text-md:   0.9375rem;
    --text-lg:   1.0625rem;
    --text-xl:   1.375rem;
    --text-2xl:  1.75rem;
    --text-3xl:  2.25rem;

    /* Spațiere */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;

    /* Formă */
    --radius-sm: 4px;
    --radius:    6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 999px;

    --shadow-xs: 0 1px 2px rgb(15 23 42 / 0.06);
    --shadow-sm: 0 1px 3px rgb(15 23 42 / 0.08), 0 1px 2px rgb(15 23 42 / 0.04);
    --shadow-md: 0 4px 12px rgb(15 23 42 / 0.08), 0 1px 3px rgb(15 23 42 / 0.05);
    --shadow-lg: 0 12px 32px rgb(15 23 42 / 0.12), 0 2px 8px rgb(15 23 42 / 0.06);

    /* Structură */
    --sidebar-w: 264px;
    --topbar-h: 56px;

    /* Banda de demonstrație există doar pe paginile marcate cu `data-demo`.
       Zero implicit, ca paginile interne — lista de cereri, de exemplu — să nu
       lase un gol lipit deasupra shell-ului. */
    --demo-bar-h: 0px;
    --band-app-bg: #12100a;
    --band-app-border: rgb(232 201 107 / 0.26);

    --ring-color: rgb(213 174 83 / 0.34);
    --ring: 0 0 0 3px var(--ring-color);
    --transition: 140ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Banda de demonstrație își cere înălțimea doar unde este afișată; pe restul
   paginilor din shell tokenul rămâne zero și nimic nu se mișcă. */
body[data-demo] { --demo-bar-h: 44px; }

/* Când pagina impune o temă, controalele native trebuie să o urmeze. Fără
   liniile astea, site-ul public — întunecat din start — primea scrollbar și
   liste derulante deschise pe un sistem setat pe lumină. */
:root[data-theme="dark"]  { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }

/* Accent per verticală */
[data-accent="teal"] {
    --accent-50: #e0f7f4; --accent-100: #b7ede7;
    --accent-500: #10a89a; --accent-600: #0f766e; --accent-700: #0d5e58;
    --ring-color: rgb(16 168 154 / 0.3);
}
/* Producția alimentară a purtat chihlimbar. De când aurul este culoarea de
   brand, chihlimbarul nu se mai distinge de siglă, așa că verticala primește
   portocaliul. Rolul de acțiune a stat o vreme pe azuriu; acum este tot aurul,
   deci portocaliul rămâne liber pentru domeniu. */
[data-accent="amber"] {
    --accent-50: #fdf0e6; --accent-100: #fbdcc2;
    --accent-500: #ea580c; --accent-600: #c2410c; --accent-700: #9a3412;
    --ring-color: rgb(234 88 12 / 0.3);
}
[data-accent="blue"] {
    --accent-50: #e2f4fd; --accent-100: #bde5fa;
    --accent-500: #0ea5e9; --accent-600: #0369a1; --accent-700: #075985;
    --ring-color: rgb(14 165 233 / 0.3);
}
[data-accent="violet"] {
    --accent-50: #f3ecfe; --accent-100: #e3d5fd;
    --accent-500: #7c3aed; --accent-600: #6d28d9; --accent-700: #5b21b6;
    --ring-color: rgb(124 58 237 / 0.3);
}
[data-accent="green"] {
    --accent-50: #e6f8ec; --accent-100: #c3eed2;
    --accent-500: #16a34a; --accent-600: #15803d; --accent-700: #166534;
    --ring-color: rgb(22 163 74 / 0.3);
}

/* Dark mode — aceleași tokens, aplicate fie automat, fie prin comutator.
   Blocurile sunt duplicate pentru că un selector nu poate traversa un @media. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        /* Negrul siglei, nu un albastru-ardezie: aurul are nevoie de fundal
           adânc ca să pară metal, nu galben spălăcit. Tonul păstrează urma rece
           din logo (#020408), altfel aurul îl trage spre maro. */
        --bg-app:     #0a0b0f;
        --bg-surface: #14161c;
        --bg-sunken:  #0f1115;
        --bg-sidebar: #101319;
        --bg-hover:   #1e212a;
        --bg-active:  var(--accent-50);
        --bg-topbar:  rgb(20 22 28 / 0.85);

        /* Pe fundal închis banda nu mai poate coborî în negru: ar dispărea exact
           acolo unde trebuie să oprească privirea. Urcă spre grafit cald. */
        --band-app-bg: #241f14;
        --band-app-border: rgb(232 201 107 / 0.34);

        --text-strong: #f2f0ec;
        --text:        #c8c5bd;
        --text-muted:  #918d84;
        --text-subtle: #6d6a63;

        --border:        #2a2d36;
        --border-strong: #3e4450;

        --success: #4ea86a; --success-soft: rgb(78 168 106 / 0.20);
        --warning: #d59533; --warning-soft: rgb(213 149 51 / 0.22);
        --danger:  #e07a70; --danger-soft:  rgb(224 122 112 / 0.20);
        --info:    #5ca2e0; --info-soft:    rgb(92 162 224 / 0.20);

        /* Fără aceste linii, accentul implicit ar rămâne cel de zi și ar dispărea pe fundal închis.
           Pe negru dispare și constrângerea de contrast a aurului, așa că aici
           --accent-600/700 urcă în loc să coboare: aurul deschis dă 12:1. */
        --brand-500: #d5ae53;
        --brand-700: #e8c96b;

        --accent-50: rgb(213 174 83 / 0.16); --accent-100: rgb(213 174 83 / 0.30);
        --accent-500: #d5ae53; --accent-600: #e2bf62; --accent-700: #efd68e;
        --ring-color: rgb(213 174 83 / 0.38);

        /* Pe fundal închis suprafața rămâne același aur — sigla nu-și schimbă
           culoarea — dar hover-ul urcă în loc să coboare, iar textul de accent
           trece pe aurul deschis, care dă 12,6:1. */
        --cta-500: #d5ae53; --cta-600: #e0bd63; --cta-700: #efd68e;
        --cta-soft: rgb(213 174 83 / 0.18); --cta-contrast: #1a1408;

        --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.3);
        --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.4);
        --shadow-md: 0 4px 12px rgb(0 0 0 / 0.45);
        --shadow-lg: 0 12px 32px rgb(0 0 0 / 0.55);
    }

    :root:not([data-theme="light"]) [data-accent="teal"] {
        --accent-50: rgb(42 168 153 / 0.15); --accent-100: rgb(42 168 153 / 0.28);
        --accent-500: #2dd4bf; --accent-600: #5ee0d0; --accent-700: #99f0e4;
        --ring-color: rgb(42 168 153 / 0.3);
    }
    :root:not([data-theme="light"]) [data-accent="amber"] {
        --accent-50: rgb(234 88 12 / 0.15); --accent-100: rgb(234 88 12 / 0.28);
        --accent-500: #fb923c; --accent-600: #fdae6b; --accent-700: #fdc79b;
        --ring-color: rgb(234 88 12 / 0.3);
    }
    :root:not([data-theme="light"]) [data-accent="blue"] {
        --accent-50: rgb(63 160 216 / 0.15); --accent-100: rgb(63 160 216 / 0.28);
        --accent-500: #38bdf8; --accent-600: #6acdfa; --accent-700: #9fdefc;
        --ring-color: rgb(63 160 216 / 0.3);
    }
    :root:not([data-theme="light"]) [data-accent="violet"] {
        --accent-50: rgb(139 108 224 / 0.15); --accent-100: rgb(139 108 224 / 0.28);
        --accent-500: #a78bfa; --accent-600: #bda4fc; --accent-700: #d5c6fd;
        --ring-color: rgb(139 108 224 / 0.3);
    }
    :root:not([data-theme="light"]) [data-accent="green"] {
        --accent-50: rgb(74 157 92 / 0.15); --accent-100: rgb(74 157 92 / 0.28);
        --accent-500: #4ade80; --accent-600: #74e59c; --accent-700: #a3efc0;
        --ring-color: rgb(74 157 92 / 0.3);
    }
}

:root[data-theme="dark"] {
    --bg-app:     #0a0b0f;
    --bg-surface: #14161c;
    --bg-sunken:  #0f1115;
    --bg-sidebar: #101319;
    --bg-hover:   #1e212a;
    --bg-active:  var(--accent-50);
    --bg-topbar:  rgb(20 22 28 / 0.85);

    --band-app-bg: #241f14;
    --band-app-border: rgb(232 201 107 / 0.34);

    --text-strong: #f2f0ec;
    --text:        #c8c5bd;
    --text-muted:  #918d84;
    --text-subtle: #6d6a63;

    --border:        #2a2d36;
    --border-strong: #3e4450;

    --success: #4ea86a; --success-soft: rgb(78 168 106 / 0.20);
    --warning: #d59533; --warning-soft: rgb(213 149 51 / 0.22);
    --danger:  #e07a70; --danger-soft:  rgb(224 122 112 / 0.20);
    --info:    #5ca2e0; --info-soft:    rgb(92 162 224 / 0.20);

    --brand-500: #d5ae53;
    --brand-700: #e8c96b;

    --accent-50: rgb(213 174 83 / 0.16); --accent-100: rgb(213 174 83 / 0.30);
    --accent-500: #d5ae53; --accent-600: #e2bf62; --accent-700: #efd68e;
    --ring-color: rgb(213 174 83 / 0.38);

    --cta-500: #d5ae53; --cta-600: #e0bd63; --cta-700: #efd68e;
    --cta-soft: rgb(213 174 83 / 0.18); --cta-contrast: #1a1408;

    --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.3);
    --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 12px rgb(0 0 0 / 0.45);
    --shadow-lg: 0 12px 32px rgb(0 0 0 / 0.55);
}
:root[data-theme="dark"] [data-accent="teal"] {
    --accent-50: rgb(42 168 153 / 0.15); --accent-100: rgb(42 168 153 / 0.28);
    --accent-500: #2dd4bf; --accent-600: #5ee0d0; --accent-700: #99f0e4;
    --ring-color: rgb(42 168 153 / 0.3);
}
:root[data-theme="dark"] [data-accent="amber"] {
    --accent-50: rgb(234 88 12 / 0.15); --accent-100: rgb(234 88 12 / 0.28);
    --accent-500: #fb923c; --accent-600: #fdae6b; --accent-700: #fdc79b;
    --ring-color: rgb(234 88 12 / 0.3);
}
:root[data-theme="dark"] [data-accent="blue"] {
    --accent-50: rgb(63 160 216 / 0.15); --accent-100: rgb(63 160 216 / 0.28);
    --accent-500: #38bdf8; --accent-600: #6acdfa; --accent-700: #9fdefc;
    --ring-color: rgb(63 160 216 / 0.3);
}
:root[data-theme="dark"] [data-accent="violet"] {
    --accent-50: rgb(139 108 224 / 0.15); --accent-100: rgb(139 108 224 / 0.28);
    --accent-500: #a78bfa; --accent-600: #bda4fc; --accent-700: #d5c6fd;
    --ring-color: rgb(139 108 224 / 0.3);
}
:root[data-theme="dark"] [data-accent="green"] {
    --accent-50: rgb(74 157 92 / 0.15); --accent-100: rgb(74 157 92 / 0.28);
    --accent-500: #4ade80; --accent-600: #74e59c; --accent-700: #a3efc0;
    --ring-color: rgb(74 157 92 / 0.3);
}

/* 2. Bază ================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--text);
    background: var(--bg-app);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--text-strong);
    font-weight: 600;
    letter-spacing: -0.011em;
    line-height: 1.3;
}
h1 { font-size: var(--text-xl); }
h2 { font-size: var(--text-lg); }
h3 { font-size: var(--text-md); }
h4 { font-size: var(--text-base); }

p { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-600); text-decoration: none; }
a:hover { text-decoration: underline; }

svg { flex-shrink: 0; }

:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--radius-sm);
}

.skip-link {
    position: absolute;
    left: var(--sp-3);
    top: -3rem;
    z-index: 100;
    padding: var(--sp-2) var(--sp-4);
    background: var(--accent-500);
    color: var(--accent-contrast);
    border-radius: var(--radius);
    transition: top var(--transition);
}
.skip-link:focus { top: var(--sp-3); text-decoration: none; }

/* 3. App shell ============================================================= */

/* Banda de demonstrație ====================================================
   Stă lipită deasupra întregului shell, nu în topbar: aici nu este o unealtă a
   aplicației, ci singurul drum de la „mă uit” la „vreau ofertă”. Dacă ar
   dispărea la derulare, ar dispărea exact când vizitatorul s-a convins. */
.demo-bar {
    position: sticky;
    top: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    height: var(--demo-bar-h);
    padding: 0 var(--sp-6);
    background: var(--band-app-bg);
    border-bottom: 1px solid var(--band-app-border);
    color: #e7e3da;
    font-size: var(--text-sm);
}

.demo-bar__note { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.demo-bar__note strong { color: #fff; }
.demo-bar__note svg { color: var(--brand-500); flex-shrink: 0; }

.demo-bar__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    margin-left: auto;
    flex-shrink: 0;
    height: 30px;
    padding: 0 var(--sp-4);
    border-radius: var(--radius-full);
    background: var(--cta-500);
    color: var(--cta-contrast);
    font-weight: 650;
}
.demo-bar__cta:hover { background: var(--cta-600); text-decoration: none; }

.demo-bar__back { color: #cfc9bd; flex-shrink: 0; }
.demo-bar__back:hover { color: #fff; }
.demo-bar__back svg { transform: rotate(180deg); vertical-align: -2px; }

/* Îndemnul întârziat: apare după ce omul a umblat prin platformă, nu peste
   primul ecran. Un modal l-ar întrerupe; ăsta așteaptă într-un colț. */
.demo-nudge {
    position: fixed;
    right: var(--sp-6);
    bottom: var(--sp-6);
    z-index: 44;
    width: min(320px, calc(100vw - 2 * var(--sp-4)));
    padding: var(--sp-5);
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: demo-nudge-in var(--transition) ease-out;
}
.demo-nudge[hidden] { display: none; }

@keyframes demo-nudge-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.demo-nudge__close {
    position: absolute;
    top: var(--sp-2);
    right: var(--sp-2);
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    background: none;
    border: 0;
    border-radius: var(--radius);
    color: var(--text-subtle);
    cursor: pointer;
}
.demo-nudge__close:hover { background: var(--bg-hover); color: var(--text); }
.demo-nudge__close svg { transform: rotate(45deg); }

.demo-nudge__title { display: block; font-size: var(--text-lg); color: var(--text-strong); margin-bottom: var(--sp-2); }
.demo-nudge__text { font-size: var(--text-md); color: var(--text-muted); margin-bottom: var(--sp-4); }
.demo-nudge__cta { width: 100%; }
.demo-nudge__alt { display: block; margin-top: var(--sp-3); text-align: center; font-size: var(--text-sm); color: var(--text-muted); }

.app {
    display: grid;
    grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
    min-height: calc(100vh - var(--demo-bar-h));
}

.app__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app__content {
    flex: 1;
    width: 100%;
    max-width: 1600px;
    padding: var(--sp-6) var(--sp-8) var(--sp-12);
}

/* 4. Sidebar =============================================================== */

.sidebar {
    display: flex;
    flex-direction: column;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    position: sticky;
    top: var(--demo-bar-h);
    height: calc(100vh - var(--demo-bar-h));
    overflow: hidden;
}

.sidebar__brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    height: var(--topbar-h);
    padding: 0 var(--sp-4);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.sidebar__brand:hover { text-decoration: none; }

/* Plăcuța rămâne închisă în ambele teme. Aurul are 2,1:1 pe alb: pe fundal
   deschis marca s-ar stinge, iar sigla ar arăta altfel de la o temă la alta. */
.brand__mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-md);
    background: linear-gradient(150deg, #191c23 0%, #05060a 100%);
    flex-shrink: 0;
    box-shadow: var(--shadow-xs), inset 0 0 0 1px rgb(232 201 107 / 0.16);
}

/* Turnurile sunt un SVG; proporțiile lor față de pătrat rămân fixe la orice mărime. */
.brand__mark svg { width: 74%; height: 74%; }

.brand__name {
    font-size: var(--text-md);
    font-weight: 650;
    color: var(--text-strong);
    letter-spacing: -0.02em;
}
.brand__suffix { color: var(--text-subtle); font-weight: 500; }

/* Lockup cu tagline */
.brand__lockup { display: grid; gap: 1px; }
.brand__tagline {
    font-size: var(--text-xs);
    font-weight: 500;
    font-style: italic;
    color: var(--accent-600);
    letter-spacing: 0.01em;
}

/* Comutator de verticală */
.vertical-switch {
    padding: var(--sp-3);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    position: relative;
}

.vertical-switch__trigger {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    width: 100%;
    padding: var(--sp-2) var(--sp-3);
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--text-strong);
    transition: background var(--transition), border-color var(--transition);
}
.vertical-switch__trigger:hover { background: var(--bg-hover); border-color: var(--border-strong); }
.vertical-switch__trigger[aria-expanded="true"] { border-color: var(--accent-500); }

.vertical-switch__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius);
    background: var(--accent-50);
    color: var(--accent-600);
    flex-shrink: 0;
}

.vertical-switch__text { min-width: 0; flex: 1; }
.vertical-switch__name {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vertical-switch__tagline {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vertical-switch__chevron { color: var(--text-subtle); transition: transform var(--transition); }
.vertical-switch__trigger[aria-expanded="true"] .vertical-switch__chevron { transform: rotate(180deg); }

.vertical-switch__menu {
    position: absolute;
    left: var(--sp-3);
    right: var(--sp-3);
    top: calc(100% - var(--sp-2));
    z-index: 50;
    padding: var(--sp-1);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
}
.vertical-switch__menu[data-open] { display: block; }

.vertical-switch__option {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2);
    border-radius: var(--radius);
    color: var(--text);
    transition: background var(--transition);
}
.vertical-switch__option:hover { background: var(--bg-hover); text-decoration: none; }
.vertical-switch__option[aria-current="true"] { background: var(--bg-active); }
.vertical-switch__option[aria-current="true"] .vertical-switch__name { color: var(--accent-700); }

/* Navigare */
.sidebar__nav {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-4) var(--sp-3);
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}
.sidebar__nav::-webkit-scrollbar { width: 8px; }
.sidebar__nav::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.nav-section + .nav-section { margin-top: var(--sp-5); }

.nav-section__label {
    padding: 0 var(--sp-3) var(--sp-2);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-subtle);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--radius);
    color: var(--text);
    font-size: var(--text-base);
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
    position: relative;
}
.nav-item:hover { background: var(--bg-hover); color: var(--text-strong); text-decoration: none; }
.nav-item svg { color: var(--text-muted); transition: color var(--transition); }
.nav-item:hover svg { color: var(--text); }

.nav-item.is-active {
    background: var(--bg-active);
    color: var(--accent-700);
    font-weight: 600;
}
.nav-item.is-active svg { color: var(--accent-600); }
.nav-item.is-active::before {
    content: "";
    position: absolute;
    left: calc(var(--sp-3) * -1 + 1px);
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    background: var(--accent-500);
}

.nav-item__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-item__badge {
    padding: 1px var(--sp-2);
    border-radius: var(--radius-full);
    background: var(--bg-sunken);
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.nav-item.is-active .nav-item__badge,
.nav-item:hover .nav-item__badge { background: var(--accent-100); color: var(--accent-700); }

.sidebar__footer {
    padding: var(--sp-3);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.usage {
    padding: var(--sp-3);
    background: var(--bg-sunken);
    border-radius: var(--radius-md);
}
.usage__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--sp-2);
    font-size: var(--text-xs);
}
.usage__label { color: var(--text-muted); font-weight: 500; }
.usage__value { color: var(--text-strong); font-weight: 600; font-variant-numeric: tabular-nums; }
.usage__bar { height: 4px; border-radius: var(--radius-full); background: var(--border); overflow: hidden; }
.usage__fill { height: 100%; border-radius: inherit; background: var(--accent-500); }

/* 5. Topbar ================================================================ */

.topbar {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    height: var(--topbar-h);
    padding: 0 var(--sp-8) 0 var(--sp-6);
    background: var(--bg-topbar);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--demo-bar-h);
    z-index: 20;
}

.topbar__toggle {
    display: none;
    padding: var(--sp-2);
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    cursor: pointer;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: var(--text-muted);
    min-width: 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-strong); text-decoration: none; }
.breadcrumb__sep { color: var(--text-subtle); }
.breadcrumb__current { color: var(--text-strong); font-weight: 550; }

.topbar__spacer { flex: 1; }

.search { position: relative; width: min(320px, 30vw); }
.search svg {
    position: absolute;
    left: var(--sp-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-subtle);
    pointer-events: none;
}
.search input {
    width: 100%;
    height: 34px;
    padding: 0 var(--sp-8) 0 var(--sp-8);
    font: inherit;
    font-size: var(--text-sm);
    color: var(--text-strong);
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: background var(--transition), border-color var(--transition);
}
.search input::placeholder { color: var(--text-subtle); }
.search input:focus {
    background: var(--bg-surface);
    border-color: var(--accent-500);
    outline: none;
    box-shadow: var(--ring);
}
.search__kbd {
    position: absolute;
    right: var(--sp-2);
    top: 50%;
    transform: translateY(-50%);
    padding: 1px var(--sp-2);
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-subtle);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    pointer-events: none;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: background var(--transition), color var(--transition);
}
.icon-btn:hover { background: var(--bg-hover); color: var(--text-strong); }

.icon-btn__dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: var(--radius-full);
    background: var(--danger);
    border: 2px solid var(--bg-surface);
}

.topbar__divider { width: 1px; height: 22px; background: var(--border); }

.user-chip {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-2) var(--sp-1) var(--sp-1);
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font: inherit;
    color: var(--text);
    transition: background var(--transition);
}
.user-chip:hover { background: var(--bg-hover); }

.avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--accent-500);
    color: var(--accent-contrast);
    font-size: var(--text-xs);
    font-weight: 650;
    flex-shrink: 0;
}
.avatar--sm { width: 24px; height: 24px; font-size: 10px; }
.avatar--muted { background: var(--bg-sunken); color: var(--text-muted); }

.user-chip__name { font-size: var(--text-sm); font-weight: 550; color: var(--text-strong); }

/* 6. Antet de pagină ======================================================= */

.page-head {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-bottom: var(--sp-6);
}
.page-head__text { flex: 1; min-width: 240px; }
.page-head h1 { font-size: var(--text-2xl); margin-bottom: var(--sp-1); }
.page-head__sub { color: var(--text-muted); font-size: var(--text-md); }
.page-head__actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }

/* 7. Carduri & grile ======================================================= */

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.card__head {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--border);
}
.card__title { font-size: var(--text-md); font-weight: 600; color: var(--text-strong); }
.card__sub { font-size: var(--text-sm); color: var(--text-muted); }
.card__head-actions { margin-left: auto; display: flex; gap: var(--sp-2); align-items: center; }
.card__body { padding: var(--sp-5); }
.card__body--flush { padding: 0; }
.card__foot {
    padding: var(--sp-3) var(--sp-5);
    border-top: 1px solid var(--border);
    background: var(--bg-sunken);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.grid { display: grid; gap: var(--sp-4); }
.grid--kpi { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--main { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); align-items: start; }

@media (max-width: 1400px) {
    .grid--main { grid-template-columns: minmax(0, 1fr); }
}

/* KPI */
.kpi {
    padding: var(--sp-5);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.kpi:hover { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }

.kpi__head { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.kpi__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius);
    background: var(--accent-50);
    color: var(--accent-600);
}
.kpi__label { font-size: var(--text-sm); color: var(--text-muted); font-weight: 500; }

.kpi__value {
    font-size: var(--text-3xl);
    font-weight: 660;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}
.kpi__unit { font-size: var(--text-lg); font-weight: 550; color: var(--text-muted); margin-left: 2px; }

.kpi__foot { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-2); font-size: var(--text-sm); }
.kpi__hint { color: var(--text-subtle); }

.trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.trend--up { color: var(--success); }
.trend--down { color: var(--danger); }
.trend--flat { color: var(--text-muted); }

/* Sparkline */
.spark { display: block; width: 100%; height: 36px; margin-top: var(--sp-3); }
.spark__line { fill: none; stroke: var(--accent-500); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.spark__area { fill: var(--accent-500); opacity: 0.1; }

/* Grafic cu bare: „programat” este pista, „realizat” este umplutura */
.bars { display: flex; align-items: stretch; gap: var(--sp-3); height: 190px; }

.bars__col { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* Zona de desen: poziționare absolută, ca înălțimile procentuale să aibă o referință fixă. */
.bars__plot { flex: 1; position: relative; }

.bars__track {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    background: var(--accent-100);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    min-height: 2px;
    transition: opacity var(--transition);
}
.bars__fill {
    width: 100%;
    background: var(--accent-500);
    border-radius: inherit;
}
.bars__col:hover .bars__track { opacity: 0.82; }

.bars__label {
    margin-top: var(--sp-2);
    font-size: var(--text-xs);
    color: var(--text-subtle);
    text-align: center;
}

.legend { display: flex; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--text-sm); color: var(--text-muted); }
.legend__item { display: flex; align-items: center; gap: var(--sp-2); }
.legend__swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--accent-500); }
.legend__swatch--soft { background: var(--accent-100); }

/* 8. Indicatori ============================================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: 2px var(--sp-2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.badge--neutral { background: var(--bg-sunken); color: var(--text-muted); }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--warning { background: var(--warning-soft); color: var(--warning); }
.badge--danger  { background: var(--danger-soft);  color: var(--danger); }
.badge--info    { background: var(--info-soft);    color: var(--info); }
.badge--accent  { background: var(--accent-50);    color: var(--accent-700); }

.dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: currentColor; flex-shrink: 0; }

/* Butoane */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    height: 34px;
    padding: 0 var(--sp-4);
    font: inherit;
    font-size: var(--text-sm);
    font-weight: 550;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--cta-500); color: var(--cta-contrast); box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--cta-600); }

.btn--secondary { background: var(--bg-surface); color: var(--text-strong); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { background: var(--bg-hover); }

.btn--ghost { background: none; color: var(--text-muted); }
.btn--ghost:hover { background: var(--bg-hover); color: var(--text-strong); }

.btn--sm { height: 28px; padding: 0 var(--sp-3); font-size: var(--text-xs); }

/* Bară de filtre cu numărători */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: 550;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.filter-chip:hover { background: var(--bg-hover); border-color: var(--border-strong); text-decoration: none; }

.filter-chip[aria-current="true"] {
    background: var(--accent-500);
    border-color: var(--accent-500);
    color: var(--accent-contrast);
}


.filter-chip__count {
    padding: 0 var(--sp-2);
    border-radius: var(--radius-full);
    background: var(--bg-sunken);
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}
.filter-chip[aria-current="true"] .filter-chip__count {
    background: rgb(255 255 255 / 0.22);
    color: var(--accent-contrast);
}

/* 9. Tabele ================================================================ */

.table-wrap { overflow-x: auto; }

.table { width: 100%; border-collapse: collapse; font-size: var(--text-base); }

.table th {
    padding: var(--sp-2) var(--sp-4);
    text-align: left;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-subtle);
    background: var(--bg-sunken);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.table th:first-child { padding-left: var(--sp-5); }
.table th:last-child { padding-right: var(--sp-5); }

/* Cap de coloană care comută sortarea. Arată ca un titlu până e apăsat, ca să
   nu transforme antetul tabelului într-un rând de butoane. */
.table__sort { display: inline-flex; align-items: center; gap: var(--sp-1); color: inherit; }
.table__sort:hover { color: var(--text); text-decoration: none; }
.table__sort.is-active { color: var(--accent-700); }

.table td {
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}
.table td:first-child { padding-left: var(--sp-5); }
.table td:last-child { padding-right: var(--sp-5); }

.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background var(--transition); }
.table tbody tr:hover { background: var(--bg-sunken); }

.table__primary { color: var(--text-strong); font-weight: 550; }
.table__muted { color: var(--text-muted); }
.table__num { text-align: right; font-variant-numeric: tabular-nums; }
.table__actions { text-align: right; }

.cell-user { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; }
.cell-user__text { min-width: 0; }

.mono { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-muted); }

/* Cronologie */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--border);
}
.timeline li:last-child { border-bottom: none; padding-bottom: 0; }
.timeline li:first-child { padding-top: 0; }

.timeline__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--bg-sunken);
    color: var(--text-muted);
    flex-shrink: 0;
}
.timeline__body { min-width: 0; flex: 1; }
.timeline__title { font-size: var(--text-base); color: var(--text-strong); font-weight: 550; }
.timeline__meta { font-size: var(--text-sm); color: var(--text-muted); }

/* Bară de progres */
.progress {
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--bg-sunken);
    overflow: hidden;
    min-width: 80px;
}
.progress__fill { height: 100%; border-radius: inherit; background: var(--accent-500); }
.progress__fill--warning { background: var(--warning); }
.progress__fill--danger { background: var(--danger); }

/* Stare goală */
.empty {
    display: grid;
    place-items: center;
    gap: var(--sp-3);
    padding: var(--sp-12) var(--sp-6);
    text-align: center;
}
.empty__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--bg-sunken);
    color: var(--text-subtle);
}
.empty__title { font-size: var(--text-md); font-weight: 600; color: var(--text-strong); }
.empty__text { color: var(--text-muted); max-width: 46ch; }

/* 10. Formulare ============================================================ */

.field { display: grid; gap: var(--sp-2); }
.field__label { font-size: var(--text-sm); font-weight: 550; color: var(--text-strong); }

.input, .select {
    width: 100%;
    height: 34px;
    padding: 0 var(--sp-3);
    font: inherit;
    font-size: var(--text-sm);
    color: var(--text-strong);
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    transition: border-color var(--transition);
}
.input:focus, .select:focus { border-color: var(--accent-500); outline: none; box-shadow: var(--ring); }

.segmented {
    display: inline-flex;
    padding: 2px;
    background: var(--bg-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.segmented button {
    padding: var(--sp-1) var(--sp-3);
    font: inherit;
    font-size: var(--text-xs);
    font-weight: 550;
    color: var(--text-muted);
    background: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.segmented button:hover { color: var(--text-strong); }
.segmented button[aria-pressed="true"] {
    background: var(--bg-surface);
    color: var(--text-strong);
    box-shadow: var(--shadow-xs);
}

/* 11. Utilitare ============================================================ */

.stack { display: grid; gap: var(--sp-4); }
.stack--sm { gap: var(--sp-2); }
.stack--lg { gap: var(--sp-6); }
.row { display: flex; align-items: center; gap: var(--sp-3); }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }
.strong { color: var(--text-strong); font-weight: 600; }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.nums { font-variant-numeric: tabular-nums; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive =============================================================== */

.scrim { display: none; }

@media (max-width: 1024px) {
    .app { grid-template-columns: minmax(0, 1fr); }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: var(--sidebar-w);
        z-index: 40;
        transform: translateX(-100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .sidebar[data-open] { transform: translateX(0); }

    .topbar__toggle { display: grid; place-items: center; }
    .topbar { padding: 0 var(--sp-4); }
    .app__content { padding: var(--sp-5) var(--sp-4) var(--sp-10); }

    .scrim[data-open] {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 30;
        background: rgb(13 17 23 / 0.5);
        backdrop-filter: blur(2px);
        border: 0;
        padding: 0;
    }
}

@media (max-width: 720px) {
    .search { display: none; }
    .user-chip__name { display: none; }
    .breadcrumb__root { display: none; }
    .breadcrumb__sep--first { display: none; }
    .page-head h1 { font-size: var(--text-xl); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Banner de consimțământ pentru cookie-uri

   Stă în app.css, nu în site.css, pentru că întrebarea se pune pe orice pagină
   care încarcă Google Analytics — inclusiv demoul ERP. Colțul din stânga-jos e
   ales ca să nu acopere butonul flotant de WhatsApp al site-ului public.
   ========================================================================== */

.consent {
    position: fixed;
    left: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
    bottom: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
    z-index: 60;
    max-width: 26rem;
    padding: var(--sp-4) var(--sp-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    box-shadow: var(--shadow-lg);
}
.consent[hidden] { display: none; }

.consent__text {
    margin: 0 0 var(--sp-4);
    font-size: var(--text-sm);
    color: var(--text);
}

.consent__actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--sp-2);
}

@media (max-width: 900px) {
    /* Pe site, bara de acțiuni de pe telefon ocupă tot subsolul; bannerul urcă
       deasupra ei, altfel ar acoperi „Sună acum". */
    .site .consent { bottom: 5.25rem; }
}

@media (max-width: 620px) {
    .consent {
        left: var(--sp-3);
        right: var(--sp-3);
        max-width: none;
    }
}
