/* ===================== NutreMais — Design System (Linho Claro · Verde) ===================== */
:root {
    --bg: #f1ece3;
    --bg2: #f9f5ee;
    --panel: #ffffff;
    --panelBd: #e7ddcf;
    --line: #ebe3d6;
    --text: #261d12;
    --dim: #6e6253;
    --faint: #9c907f;
    --accent: #1f9a63;
    --accentInk: #ffffff;
    --accentSoft: rgba(31,154,99,.14);
    --new: #e0a82e;
    --prep: #4b8df0;
    --ready: #2fa86c;
    --done: #6c7480;
    --slaG: #34b06a;
    --slaY: #e4b13a;
    --slaR: #ef4d4d;
    --vip: #c9a227;
    --vipInk: #9a7b12;
    --vipSoft: rgba(201,162,39,.12);
    --doc: #4b8df0;
    --docInk: #24589f;
    --docSoft: rgba(75,141,240,.12);
    --blue-bd: #bcd3f7;
    --alert: #ff5052;
    --zebra: #faf7f1;
    --amber-bg: #f8eed8;
    --amber-bd: #ecd3a0;
    --amber-ink: #8a5a16;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
}
#app { height: 100%; }

.nv-scroll::-webkit-scrollbar { width: 9px; height: 9px; }
.nv-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.16); border-radius: 6px; }
.nv-scroll::-webkit-scrollbar-track { background: transparent; }

input, textarea, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--faint); }
.mono { font-family: 'JetBrains Mono', monospace; }

@keyframes nvPulse { 0%,100% { box-shadow: 0 0 0 2px var(--new); } 50% { box-shadow: 0 0 0 2px var(--new), 0 0 16px 1px rgba(224,168,46,.55); } }
@keyframes nvIn { 0% { opacity: 0; transform: translateY(-12px) scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes nvBlink { 0%,100% { opacity: 1; } 50% { opacity: .38; } }
@keyframes nvPop { 0% { transform: scale(.94); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes nvFade { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes nvDrawer { 0% { transform: translateX(100%); } 100% { transform: none; } }
@keyframes nvToast { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: none; } }

/* ===================== Brand ===================== */
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 34px; height: 34px; background: url('nutremais-mark.png') center/contain no-repeat; display: flex; align-items: center; justify-content: center; }
.brand-logo > i { display: none; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.brand-sub { font-size: 9.5px; font-weight: 700; color: var(--faint); letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }

/* ===================== Buttons / chips ===================== */
.btn-accent { border: none; border-radius: 12px; background: var(--accent); color: var(--accentInk); font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px var(--accentSoft); }
.btn-ghost { cursor: pointer; font-weight: 700; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); color: var(--dim); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger-ghost { cursor: pointer; font-weight: 700; border-radius: 10px; border: 1px solid #eccfca; background: var(--panel); color: #c0392b; }
.btn-danger-ghost:hover { background: #fbeceb; }
.btn-danger { border: none; border-radius: 12px; background: #c0392b; color: #fff; font-weight: 800; cursor: pointer; }

.chip { cursor: pointer; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; border: 1px solid var(--line); background: var(--panel); color: var(--dim); transition: all .12s; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accentInk); }

/* switch */
.switch { width: 46px; height: 25px; border-radius: 999px; background: #d8cdbd; position: relative; cursor: pointer; flex: 0 0 auto; transition: background .15s; }
.switch.on { background: var(--accent); }
.switch > .knob { position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.28); transition: left .15s; }
.switch.on > .knob { left: 23px; }
.switch.sm { width: 42px; height: 23px; }
.switch.sm > .knob { width: 19px; height: 19px; }
.switch.sm.on > .knob { left: 21px; }

/* ===================== LOGIN ===================== */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px; background: radial-gradient(120% 95% at 50% 0%, #f8f2e8 0%, #efe7d9 58%, #e7dcc8 100%); }
.login-card { width: 404px; max-width: 100%; background: var(--panel); border: 1px solid var(--panelBd); border-radius: 22px; padding: 38px 34px 30px; box-shadow: 0 24px 60px rgba(60,45,25,.12); animation: nvPop .4s ease; }
.login-title { font-size: 25px; font-weight: 800; letter-spacing: -.025em; margin-top: 26px; }
.login-desc { font-size: 14px; color: var(--dim); margin-top: 8px; font-weight: 500; line-height: 1.45; }
.field { margin-top: 18px; }
.field > label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.field input, .field textarea {
    width: 100%; font-size: 15px; font-weight: 600; color: var(--text);
    background: var(--bg2); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.login-error { display: flex; align-items: center; gap: 8px; margin-top: 14px; background: #fbeceb; border: 1px solid #f0cfca; border-radius: 11px; padding: 10px 13px; font-size: 13px; font-weight: 600; color: #a8392b; }
.login-error > span.dot { width: 7px; height: 7px; border-radius: 50%; background: #c0392b; flex: 0 0 auto; }
.login-btn { width: 100%; height: 52px; margin-top: 22px; font-size: 16px; }
.login-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--faint); font-weight: 600; }
.login-hint code { font-family: 'JetBrains Mono'; color: var(--dim); background: var(--bg2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; }

/* ===================== Header (shared) ===================== */
.app-header { flex: 0 0 auto; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 22px; background: var(--bg2); border-bottom: 1px solid var(--line); z-index: 5; }
.app-header .sep { width: 1px; height: 30px; background: var(--line); }
.pill { font-size: 12.5px; font-weight: 700; background: var(--panel); border: 1px solid var(--panelBd); padding: 6px 13px; border-radius: 999px; color: var(--dim); }
.spacer { flex: 1; }
.conn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.conn.on { color: var(--accent); }
.conn.off { color: var(--faint); }
.conn.warn { color: var(--slaY); }

/* ===================== KDS BOARD ===================== */
.screen { display: flex; flex-direction: column; height: 100vh; width: 100vw; overflow: hidden; }
.board { flex: 1; min-height: 0; display: flex; gap: 14px; padding: 14px 16px; overflow-x: auto; background: var(--bg); }
.col { flex: 0 0 322px; width: 322px; display: flex; flex-direction: column; min-height: 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.col-head { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; padding: 13px 14px 11px; border-top: 3px solid var(--done); }
.col-head .swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--done); }
.col-head .name { font-size: 13.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.col-head .count { font-family: 'JetBrains Mono'; font-size: 13px; font-weight: 700; color: var(--dim); background: var(--panel); border: 1px solid var(--panelBd); min-width: 26px; text-align: center; padding: 3px 8px; border-radius: 8px; }
.col-body { flex: 1; min-height: 0; overflow-y: auto; padding: 2px 11px 12px; display: flex; flex-direction: column; gap: 12px; }
.col-empty { text-align: center; color: var(--faint); font-size: 12.5px; font-weight: 600; padding: 26px 0; border: 1px dashed var(--line); border-radius: 10px; margin-top: 2px; }

/* column accents */
.col.novo .col-head, .col.novo .swatch { } /* set inline via modifier below */
.col-accent-new { border-top-color: var(--new) !important; }
.col-accent-new .swatch { background: var(--new) !important; }
.col-accent-prep { border-top-color: var(--prep) !important; }
.col-accent-prep .swatch { background: var(--prep) !important; }
.col-accent-ready { border-top-color: var(--ready) !important; }
.col-accent-ready .swatch { background: var(--ready) !important; }
.col-accent-done { border-top-color: var(--done) !important; }
.col-accent-done .swatch { background: var(--done) !important; }
/* VIP: coluna dourada em destaque, fundo levemente âmbar */
.col-accent-vip { border-top-color: var(--vip) !important; background: var(--vipSoft); border-color: var(--amber-bd); }
.col-accent-vip .col-head { border-top-width: 4px; }
.col-accent-vip .swatch { background: var(--vip) !important; }
.col-accent-vip .name { color: var(--vipInk); }
/* Médicos: raia azul. Aqui o pedido vive do início ao fim — não migra para as colunas de status. */
.col-accent-doc { border-top-color: var(--doc) !important; background: var(--docSoft); border-color: var(--blue-bd); }
.col-accent-doc .col-head { border-top-width: 4px; }
.col-accent-doc .swatch { background: var(--doc) !important; }
.col-accent-doc .name { color: var(--docInk); }

/* card */
.kcard { background: var(--panel); border: 1px solid var(--panelBd); border-left: 4px solid var(--done); border-radius: 12px; padding: 15px; }
.kcard.bar-new { border-left-color: var(--new); }
.kcard.bar-prep { border-left-color: var(--prep); }
.kcard.bar-ready { border-left-color: var(--ready); }
.kcard.bar-done { border-left-color: var(--done); opacity: .6; }
.kcard.bar-vip { border-left-color: var(--vip); border-left-width: 5px; }
.kcard.vip-due { box-shadow: 0 0 0 2px var(--slaR), 0 6px 20px rgba(239,77,77,.28); border-color: var(--slaR); }
.kcard.flash { animation: nvPulse 1.5s ease-in-out infinite; box-shadow: 0 0 0 2px var(--new); }
/* VIP: etiqueta + bloco do hóspede + linha da refeição agendada */
.ktag-vip { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; color: #2a2007; background: var(--vip); padding: 2px 7px; border-radius: 5px; }
.kvip-guest { font-size: 14px; font-weight: 800; color: var(--text); margin-top: 4px; line-height: 1.15; }
.kvip-meta { font-size: 11px; color: var(--dim); margin-top: 2px; font-weight: 600; }
.kvip-sched { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--vipInk); background: var(--vipSoft); border: 1px solid var(--amber-bd); padding: 4px 9px; border-radius: 8px; margin-top: 11px; }
/* Médico: etiqueta, quarto de conforto e chip de status.
   O chip existe porque o pedido não anda pelas colunas — na raia própria ele é a única pista da etapa.
   As cores são as MESMAS das colunas de status (--new/--prep/--ready/--done) de propósito: assim o
   cozinheiro lê a etapa pela cor, sem precisar ler a palavra nem procurar o card em outra coluna. */
.ktag-doc { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; color: #fff; background: var(--doc); padding: 2px 7px; border-radius: 5px; }
.kdoc-room { font-size: 12px; color: var(--dim); margin-top: 3px; font-weight: 600; }
.kdoc-status { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; margin-top: 8px; }
.kdoc-status.st-pending { background: rgba(224,168,46,.16); color: #8a6a12; }
.kdoc-status.st-prep { background: rgba(75,141,240,.16); color: var(--docInk); }
.kdoc-status.st-ready { background: rgba(47,168,108,.16); color: #1d7a4c; }
.kdoc-status.st-done { background: rgba(108,116,128,.16); color: var(--done); }
.kcard.bar-doc { border-left-color: var(--doc); border-left-width: 5px; }
.kcard.doc-due { box-shadow: 0 0 0 2px var(--slaR), 0 6px 20px rgba(239,77,77,.28); border-color: var(--slaR); }
.kact.go-urgent { background: var(--slaR); color: #fff; animation: nvBlink 1.1s ease-in-out infinite; }
.kcard.moved { animation: nvIn .45s ease; }
.kcard-top { display: flex; align-items: center; gap: 11px; }
.kbed { font-family: 'JetBrains Mono'; font-size: 31px; font-weight: 800; letter-spacing: -.01em; }
.ktag-new { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; color: #1a1205; background: var(--new); padding: 2px 7px; border-radius: 5px; }
.kala { font-size: 11.5px; color: var(--faint); margin-top: 3px; font-weight: 600; }
.kmeta-line { font-size: 11px; color: var(--dim); margin-top: 2px; font-weight: 600; }
.ktimer { font-family: 'JetBrains Mono'; font-size: 21px; font-weight: 700; text-align: right; }
.ktimer.blink { animation: nvBlink 1.1s ease-in-out infinite; }
.ktimer-label { font-size: 9px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; font-weight: 600; text-align: right; }
.kdish { font-size: 21px; font-weight: 700; line-height: 1.18; margin-top: 12px; }
.kdish-sep { border-top: 1px solid var(--line); padding-top: 10px; }
.kbadges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.badge-alert { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--alert); padding: 4px 9px; border-radius: 7px; box-shadow: 0 2px 12px rgba(255,80,82,.4); }
.badge-alert > .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .9; }
.badge-tag { font-size: 11px; font-weight: 600; color: var(--dim); background: var(--bg2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 7px; }
.kact { width: 100%; height: 46px; margin-top: 13px; border: none; border-radius: 10px; font-size: 14px; font-weight: 800; letter-spacing: .01em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.kact.go-prep { background: var(--prep); color: #061021; }
.kact.go-ready { background: var(--ready); color: #04140d; }
.kact.go-deliver { background: var(--accent); color: var(--accentInk); }
.kdone { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; margin-top: 13px; border-radius: 10px; border: 1px dashed var(--line); color: var(--faint); font-size: 13px; font-weight: 700; }

/* ===================== ADMIN (Cardápio) ===================== */
.admin { display: flex; flex-direction: column; min-height: 100vh; }
.admin-body { flex: 1; min-height: 0; overflow-y: auto; }
.admin-inner { max-width: 1240px; margin: 0 auto; padding: 26px 26px 48px; }
.admin-toolbar { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.admin-title { font-size: 27px; font-weight: 800; letter-spacing: -.025em; line-height: 1; }
.admin-subtitle { font-size: 13.5px; color: var(--dim); margin-top: 8px; font-weight: 600; }
.admin-filters { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-label { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.search-box { display: flex; align-items: center; gap: 9px; background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 13px; height: 42px; min-width: 248px; }
.search-box:focus-within { border-color: var(--accent); }
.search-box input { border: none; background: transparent; outline: none; font-size: 14px; font-weight: 600; color: var(--text); width: 100%; }

.manager-id { width: 38px; height: 38px; border-radius: 11px; background: var(--bg2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--dim); font-family: 'JetBrains Mono'; }

.table-wrap { background: var(--panel); border: 1px solid var(--panelBd); border-radius: 16px; overflow: hidden; overflow-x: auto; box-shadow: 0 2px 14px rgba(60,45,25,.04); }
.table-inner { min-width: 1000px; }
.trow { display: grid; grid-template-columns: minmax(260px,2.6fr) 116px 1.25fr 1.6fr 122px 92px 132px; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.trow.head { padding: 13px 22px; background: var(--bg2); }
.trow.head > div { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.trow.zebra { background: var(--zebra); }
.tdish { display: flex; align-items: center; gap: 13px; min-width: 0; }
.tphoto { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 11px; border: 1px solid var(--line); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.tphoto.placeholder { background: repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 8px, rgba(0,0,0,0) 8px 16px), var(--bg2); }
.tphoto > span { font-family: 'JetBrains Mono'; font-size: 7px; letter-spacing: .14em; text-transform: uppercase; color: rgba(38,29,18,.34); font-weight: 600; }
.tname { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.tdesc { font-size: 12px; color: var(--dim); margin-top: 3px; font-weight: 500; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcontains { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 7px; }
.tcontains > .lbl { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.alg-badge { font-size: 10.5px; font-weight: 700; color: var(--amber-ink); background: var(--amber-bg); border: 1px solid var(--amber-bd); padding: 2px 8px; border-radius: 6px; }
.station-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 8px; }
.station-badge > .dot { width: 7px; height: 7px; border-radius: 50%; }
.st-quente { color: #d2702f; background: #fbf0e6; } .st-quente > .dot { background: #d2702f; }
.st-fria { color: #2f80c4; background: #eaf3fb; } .st-fria > .dot { background: #2f80c4; }
.st-sobremesa { color: #b14fb1; background: #f7ecf7; } .st-sobremesa > .dot { background: #b14fb1; }
.meal-tag { font-size: 11px; font-weight: 700; color: var(--dim); background: var(--bg2); border: 1px solid var(--line); padding: 3px 8px; border-radius: 7px; }
.adeq-tag { font-size: 11px; font-weight: 700; color: #2f7d52; background: #eaf3ec; padding: 3px 9px; border-radius: 7px; }
.cell-actions { display: flex; justify-content: flex-end; gap: 7px; }
.status-ink { font-size: 10px; font-weight: 700; margin-top: 5px; letter-spacing: .02em; }
.status-ink.on { color: var(--accent); } .status-ink.off { color: var(--faint); }
.list-empty { text-align: center; padding: 54px 20px; }
.list-empty .t { font-size: 15px; font-weight: 700; color: var(--dim); }
.list-empty .s { font-size: 13px; color: var(--faint); margin-top: 7px; font-weight: 500; }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(38,29,18,.36); z-index: 40; animation: nvFade .2s ease; }
.drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 464px; max-width: 100%; background: var(--bg); border-left: 1px solid var(--panelBd); z-index: 41; display: flex; flex-direction: column; box-shadow: -24px 0 60px rgba(60,45,25,.18); animation: nvDrawer .26s cubic-bezier(.4,0,.2,1); }
.drawer-head { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--panel); }
.drawer-title { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.drawer-sub { font-size: 11.5px; color: var(--faint); font-weight: 600; margin-top: 5px; }
.drawer-x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--dim); cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1; display: flex; align-items: center; justify-content: center; }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 19px; }
.drawer-body .field { margin-top: 0; }
.drawer-foot { flex: 0 0 auto; display: flex; gap: 11px; padding: 16px 22px; border-top: 1px solid var(--line); background: var(--panel); }
.opt-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.opt-pill { cursor: pointer; font-size: 12.5px; font-weight: 700; padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel); color: var(--dim); }
.opt-pill.on { border-color: var(--accent); background: var(--accent); color: var(--accentInk); }
.opt-sq { cursor: pointer; font-size: 13px; font-weight: 700; padding: 10px 8px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--panel); color: var(--dim); flex: 1; }
.opt-sq.on { border-color: var(--accent); background: var(--accent); color: var(--accentInk); }
.avail-card { display: flex; align-items: center; gap: 13px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; }

/* delete confirm */
.modal-scrim { position: fixed; inset: 0; background: rgba(38,29,18,.4); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; animation: nvFade .18s ease; }
.modal { width: 392px; max-width: 100%; background: var(--panel); border: 1px solid var(--panelBd); border-radius: 20px; padding: 26px; box-shadow: 0 24px 60px rgba(60,45,25,.2); animation: nvPop .22s ease; }
.modal-icon { width: 46px; height: 46px; border-radius: 13px; background: #fbeceb; display: flex; align-items: center; justify-content: center; }
.modal-icon > i { width: 12px; height: 12px; border-radius: 3px; background: #c0392b; transform: rotate(45deg); display: block; }
.modal-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-top: 16px; }
.modal-text { font-size: 14px; color: var(--dim); margin-top: 9px; font-weight: 500; line-height: 1.5; }
.modal-text b { color: var(--text); }
.modal-actions { display: flex; gap: 11px; margin-top: 22px; }

/* toast */
.toast-wrap { position: fixed; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; z-index: 60; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; background: #261d12; color: #f5efe7; font-size: 14px; font-weight: 700; padding: 13px 20px; border-radius: 13px; box-shadow: 0 14px 34px rgba(0,0,0,.24); animation: nvToast .25s ease; }
.toast > .check { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }

/* ===================== Blazor error UI ===================== */
#blazor-error-ui {
    color-scheme: light only; background: lightyellow; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    box-sizing: border-box; display: none; left: 0; padding: 0.6rem 1.25rem 0.7rem 1.25rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }
.status-bar-safe-area { display: none; }
