/* The partner panel in the app's own look: a white menu on the left, the home screen's brick-red band on top,
   the app's coral and warm whites, quiet cards with small corners, forms as sheets, a bottom menu on phones. */
@font-face { font-family: "BPG Arial 2009"; src: url("../fonts/bpg-arial-2009.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 700; src: url("../fonts/poppins-700.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Ionicons"; src: url("../fonts/ionicons.ttf") format("truetype"); font-display: block; }

:root {
    /* The app's palette (mobile/src/shared/theme/colors.ts). */
    --primary: #F2652F; --primary-dark: #E04E1B; --primary-soft: #FFF1EA; --primary-tint: #FFF8F4;
    --ink: #1C1714; --text: #2E2622; --muted: #5E554F; --faint: #968B83;
    --bg: #FAF6F2; --card: #FFFFFF; --line: #F0E6DE; --field: #E7DDD5;
    --ok: #16A34A; --ok-soft: #E8F7EE; --info: #2F6FDE; --info-soft: #EAF2FE; --warn: #B7791F; --warn-soft: #FFF6DD;
    --bad: #DC2626; --bad-soft: #FDECEC; --violet: #6D4AD1; --violet-soft: #F1ECFF;
    --hero: linear-gradient(120deg, #E0562B 0%, #C4421C 55%, #9E3416 100%);
    --radius: 10px; --wrap: 1240px; --side: 248px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 13px/1.55 "BPG Arial 2009", "BPG Arial", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.ion { font-family: "Ionicons"; font-style: normal; font-weight: 400; line-height: 1; display: inline-block; }
.num { font-family: "Poppins", sans-serif; font-weight: 700; letter-spacing: -.2px; color: var(--ink); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 16px; border: 0; border-radius: 8px; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.btn .ion { font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-light { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--field); }
.btn-light:hover { background: var(--primary-tint); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: #FFF4EE; }
.btn-ghost { background: none; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12px; }
.btn-block { width: 100%; }
.icon-btn { width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: inherit; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; cursor: pointer; position: relative; }
.link { color: var(--primary-dark); font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { color: var(--primary); }

/* ---------- Left menu ---------- */
.side { position: fixed; z-index: 30; left: 0; top: 0; bottom: 0; width: var(--side); display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); }
.side .brand { height: 68px; padding: 0 22px; }
.side .wordmark { color: var(--ink); }
.side .wordmark span { color: var(--primary); }
.side .brand-mark { background: var(--primary); color: #fff; }
.side-shop { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.side-shop img, .side-shop .ph { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.side-shop b { display: block; font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-shop .side-label { min-width: 0; }
.state { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ok); white-space: nowrap; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state.is-pending { color: var(--warn); }
.side-nav { flex: 1; overflow-y: auto; padding: 6px 0; }
.side-title { display: block; padding: 16px 22px 6px; font-size: 11px; color: var(--muted); }
.side-nav a, .side-foot button { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 22px; border: 0; background: none; font-size: 13px; color: var(--text); cursor: pointer; text-align: left; }
.side-nav .ion, .side-foot .ion { font-size: 18px; color: var(--muted); }
.side-nav a:hover, .side-foot button:hover { background: var(--primary-tint); }
.side-nav a.is-active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; }
.side-nav a.is-active .ion { color: var(--primary); }
.side-nav a.is-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); }
.side-nav .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.side-foot { margin: 0; padding: 8px 0 14px; border-top: 1px solid var(--line); }
.main { margin-left: var(--side); min-width: 0; }
.brand.hdr-brand { display: none; }
.hdr .hdr-search { margin-left: 0; }
.hdr .menu { margin-left: 0; }
.who-name { font-size: 12.5px; font-weight: 700; color: #fff; }
.hdr-top .icon-btn { margin-left: auto; }

/* ---------- Header: the app's brick band ---------- */
.hdr { position: relative; overflow: hidden; background: var(--hero); color: #fff; border-radius: 0 0 0 28px; }
.hdr::before, .hdr::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.hdr::before { width: 420px; height: 420px; top: -220px; right: -120px; }
.hdr::after { width: 220px; height: 220px; bottom: -120px; left: -60px; }
.hdr .wrap { position: relative; z-index: 1; }
body > .hdr { border-radius: 0 0 28px 28px; }
.hdr-top { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.wordmark { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.3px; color: #fff; }
.wordmark span { color: #FFD2BE; }
.hdr-search { position: relative; margin-left: auto; width: 320px; }
.hdr-search .ion { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 16px; }
.hdr-search input { width: 100%; height: 38px; padding: 0 12px 0 36px; border: 0; border-radius: 8px; background: #fff; color: var(--ink); font-size: 12.5px; outline: none; }
.hdr-search input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.hdr .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.hdr .icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #FFD2BE; box-shadow: 0 0 0 2px #C4421C; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 230px; padding: 6px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(28, 23, 20, .18); }
.menu-panel .who { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-panel .who b { display: block; font-size: 13px; }
.menu-panel .who small { font-size: 11.5px; color: var(--muted); }
.menu-panel a, .menu-panel button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 8px; background: none; font-size: 12.5px; cursor: pointer; text-align: left; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--bg); }
.menu-panel .ion { font-size: 17px; color: var(--muted); }
.menu-panel form { margin: 0; }
.hdr-hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; padding: 20px 0 30px; }
.hdr-pending { flex-basis: 100%; }
.hdr-pending .banner { margin: 0; color: var(--ink); }
.hdr-hero h1 { font-size: 22px; line-height: 1.3; }
.hdr-hero p { margin-top: 4px; font-size: 12.5px; color: rgba(255, 238, 228, .88); }
.hdr-hero .page-actions { margin-left: auto; }
.hdr.has-cards .hdr-hero { padding-bottom: 86px; }
.page { padding: 26px 0 50px; }
.hdr.has-cards + .page { padding-top: 0; }
.lift { margin-top: -62px; position: relative; z-index: 2; }
.page-foot { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 26px; font-size: 11px; color: var(--faint); }
.tabbar { display: none; }

/* ---------- Page head ---------- */
.page-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.select-sm { height: 38px; padding: 0 32px 0 12px; border: 1px solid var(--field); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235E554F' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font-size: 12.5px; color: var(--ink); cursor: pointer; }
.hdr .select-sm { border-color: transparent; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 18px 20px; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 13.5px; color: var(--ink); }
.card-head p { margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.card-head .end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.grid { display: grid; gap: 16px; }
.grid-kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); margin-top: 16px; }
.grid-half { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 16px; }
.stack { display: grid; gap: 16px; align-content: start; }

/* KPI cards (white, lifted over the band on the overview) */
.kpi { padding: 18px 20px; box-shadow: 0 10px 26px rgba(60, 25, 8, .07); border-color: transparent; }
.kpi-top { display: flex; align-items: center; gap: 10px; }
.kpi-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.kpi-label { font-size: 12px; color: var(--muted); }
.kpi-value { display: block; margin-top: 14px; font-size: 26px; line-height: 1.1; }
.kpi-value small { font-size: 17px; margin-left: 3px; }
.kpi-foot { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11px; color: var(--faint); }
.kpi-foot .ion { font-size: 13px; }
.kpi-foot .up { color: var(--ok); font-weight: 700; }
.kpi-foot .down { color: var(--bad); font-weight: 700; }

/* Bars */
.legend-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.legend-dot::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); }
.chart-wrap { padding: 18px 20px 4px; }
.bar-chart svg, .bars svg { display: block; width: 100%; height: auto; overflow: visible; }
.bar-chart text, .bars text { fill: var(--faint); font-size: 13px; font-family: "BPG Arial 2009", sans-serif; }
.bar-chart .gridline, .bars .gridline { stroke: #F1EAE4; }
.bar-chart rect.bar, .bars rect.bar { fill: #F9CDB9; transition: fill .12s; }
.bar-chart rect.bar.is-last, .bar-chart rect.bar:hover, .bars rect.bar.is-last, .bars rect.bar:hover { fill: var(--primary); }
.chart-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.chart-stats div { padding: 12px 20px 14px; }
.chart-stats div + div { border-left: 1px solid var(--line); }
.chart-stats span { display: block; font-size: 11px; color: var(--muted); }
.chart-stats .num { display: block; margin-top: 3px; font-size: 15px; }

/* Donut */
.donut { display: flex; justify-content: center; padding: 24px 0 16px; }
.donut svg { width: 156px; height: 156px; }
.donut-legend { padding: 0 20px 18px; display: grid; gap: 10px; }
.donut-legend div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.donut-legend i { width: 8px; height: 8px; border-radius: 2px; }
.donut-legend b { margin-left: auto; color: var(--ink); font-size: 12px; }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { padding: 10px 20px; background: #FCFAF8; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.table td { padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 12.5px; vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr.is-link { cursor: pointer; transition: background .12s; }
.table tbody tr.is-link:hover { background: var(--primary-tint); }
.table .strong { display: block; color: var(--ink); }
.table .sub { display: block; margin-top: 2px; font-size: 11px; color: var(--faint); }
.table .right { text-align: right; }
.table td.is-end { text-align: right; white-space: nowrap; }
.table td.is-end .chip + .chip { margin-left: 4px; }
.row-go { margin-left: 8px; color: var(--muted); font-size: 14px; vertical-align: middle; }
.code { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 11.5px; color: var(--ink); letter-spacing: .3px; }
.thumb { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.thumb-ph { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cell-main { min-width: 0; }
.cell-main .strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 380px; }
.price-old { display: block; font-size: 11px; color: var(--faint); text-decoration: line-through; }

/* Status: coloured text with a dot, like the app */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-new { background: var(--primary-soft); color: var(--primary-dark); }
.chip-confirmed { background: var(--info-soft); color: var(--info); }
.chip-ready { background: var(--violet-soft); color: var(--violet); }
.chip-completed, .chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-cancelled, .chip-muted { background: #F3EFEC; color: var(--muted); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-bad { background: var(--bad-soft); color: var(--bad); }
.chip-plain::before { display: none; }

/* Rows inside cards */
.list { padding: 4px 20px 8px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-ico { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.list-main { min-width: 0; flex: 1; }
.list-main b { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-main small { display: block; font-size: 11px; color: var(--faint); }
.list-end { flex: none; text-align: right; font-size: 12.5px; }

/* Banners */
.viewing-as { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 8px 14px; background: #1C1714; color: #fff; font-size: 12.5px; }
.viewing-as button { height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: #fff; color: #1C1714; font-size: 12px; font-weight: 700; cursor: pointer; }
.banner { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--warn-soft); border: 1px solid #F3E2B8; }
.banner > .ion { font-size: 20px; color: var(--warn); }
.banner b { display: block; color: var(--ink); font-size: 12.5px; }
.banner small { font-size: 11.5px; color: var(--muted); }
.banner .btn { margin-left: auto; }
.banner-top { margin: 0 0 16px; }
.flash { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 11px 14px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); font-size: 12.5px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 2px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs a { height: 32px; padding: 0 11px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.tabs a:hover { color: var(--ink); background: var(--bg); }
.tabs a.is-active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; }
.tabs .count { font-size: 10.5px; color: var(--faint); font-weight: 400; }
.search { position: relative; flex: 1; min-width: 200px; max-width: 300px; margin-left: auto; }
.search .ion { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 15px; }
.search .input { height: 36px; padding-left: 34px; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); font-size: 12.5px; }
.empty .ion { display: block; margin: 0 auto 8px; font-size: 30px; color: #E9C9B9; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.pager nav { display: flex; gap: 6px; align-items: center; }

/* ---------- Forms (white fields, thin light border — the app's rule) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label { font-size: 12px; color: var(--ink); }
.label small, .field > label small { color: var(--faint); }
.hint { font-size: 11px; color: var(--faint); }
.input, .textarea { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; outline: none; transition: border-color .15s, box-shadow .15s; }
.textarea { height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(242, 101, 47, .12); }
.has-error .input, .has-error .textarea, .has-error .combo-btn { border-color: var(--bad); }
.error { font-size: 11px; color: var(--bad); }
.affix { position: relative; }
.affix span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--faint); pointer-events: none; }
.affix .input { padding-right: 38px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.form-stack { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { flex: none; position: relative; width: 38px; height: 22px; border-radius: 22px; background: #DCD3CC; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--primary); outline-offset: 2px; }
.switch b { display: block; font-size: 12.5px; color: var(--ink); font-weight: 400; }
.switch small { display: block; font-size: 11px; color: var(--faint); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--primary); }
.reveal[hidden] { display: none; }

/* Searchable dropdown */
.combo { position: relative; }
.combo-btn { width: 100%; height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--field); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235E554F' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; text-align: left; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combo-btn.is-empty { color: var(--faint); }
.combo.is-open .combo-btn { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(242, 101, 47, .12); }
.combo-panel { display: none; position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); padding: 6px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(28, 23, 20, .14); }
.combo.is-open .combo-panel { display: block; }
.combo-search { position: relative; margin-bottom: 4px; }
.combo-search .ion { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 15px; }
.combo-search input { width: 100%; height: 34px; padding: 0 10px 0 32px; border: 0; border-radius: 8px; background: var(--bg); font-size: 12.5px; outline: none; }
.combo-list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow-y: auto; }
.combo-list li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 6px; font-size: 12.5px; cursor: pointer; }
.combo-list li:hover { background: var(--bg); }
.combo-list li.is-selected { color: var(--primary-dark); font-weight: 700; }
.combo-list li.is-selected::after { content: "✓"; margin-left: auto; }
.combo-list li[hidden] { display: none; }
.combo-list .ion { color: var(--primary); font-size: 15px; }
.combo-none { padding: 10px; font-size: 12px; color: var(--faint); }
.combo-none[hidden] { display: none; }
.combo-create { display: none; width: 100%; margin-top: 4px; padding: 9px 10px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font-size: 12.5px; color: var(--primary-dark); font-weight: 700; cursor: pointer; }
.combo-create.is-on { display: block; }

/* Photo uploader */
.uploader { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.photo { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.is-main { grid-column: span 2; grid-row: span 2; box-shadow: 0 0 0 2px var(--primary); }
.photo-tag { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 700; display: none; }
.photo.is-main .photo-tag { display: block; }
.photo-tools { position: absolute; right: 6px; top: 6px; display: flex; gap: 4px; opacity: 0; transition: opacity .12s; }
.photo:hover .photo-tools, .photo:focus-within .photo-tools { opacity: 1; }
.photo-tools button { width: 26px; height: 26px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .95); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer; }
.photo-tools button:hover { color: var(--primary-dark); }
.photo.is-main .photo-star { display: none; }
.photo-add { aspect-ratio: 1; border-radius: 8px; border: 1px dashed #D9C9BD; background: var(--primary-tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--primary-dark); font-size: 11.5px; cursor: pointer; text-align: center; padding: 8px; transition: border-color .15s, background .15s; }
.photo-add:hover, .photo-add.is-over { border-color: var(--primary); background: var(--primary-soft); }
.photo-add .ion { font-size: 22px; }
.photo-add small { color: var(--faint); font-size: 10.5px; }
.uploader.is-empty .photo-add { grid-column: 1 / -1; aspect-ratio: auto; min-height: 150px; font-size: 12.5px; }
.file-pick { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 8px; border: 1px dashed #D9C9BD; background: var(--primary-tint); cursor: pointer; font-size: 11.5px; color: var(--muted); }
.file-pick .ion { font-size: 20px; color: var(--primary); }
.file-pick b { display: block; color: var(--ink); font-size: 12.5px; font-weight: 400; }
.file-pick input { display: none; }
.video { width: 100%; border-radius: 8px; background: #000; margin-bottom: 8px; }

/* Repeatable rows */
.repeat { display: grid; gap: 8px; }
.repeat-row { display: grid; grid-template-columns: 1fr 1fr 34px; gap: 8px; align-items: center; }
.repeat-row.one { grid-template-columns: 1fr 34px; }
.remove { width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--bg); color: var(--faint); cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.remove:hover { background: var(--bad-soft); color: var(--bad); }
.add-btn { justify-self: start; border: 0; background: none; padding: 2px 0; color: var(--primary-dark); font-weight: 700; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Sheets: drawer from the right, bottom sheet on phones; the order window in the middle ---------- */
.drawer, .modal { position: fixed; inset: 0; z-index: 50; display: none; }
.drawer.is-open, .modal.is-open { display: block; }
.drawer-dim, .modal-dim { position: absolute; inset: 0; background: rgba(28, 23, 20, .42); animation: fade .18s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: 600px; max-width: 100%; display: flex; flex-direction: column; background: var(--card); border-radius: 16px 0 0 16px; box-shadow: -16px 0 50px rgba(28, 23, 20, .16); animation: slide .22s cubic-bezier(.2, .8, .2, 1); }
.drawer-sm .drawer-panel { width: 480px; }
.drawer-grab, .modal-grab { display: none; }
.drawer-head, .modal-head { display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2, .modal-head h2 { font-size: 16px; color: var(--ink); }
.drawer-head p, .modal-head p { margin-top: 3px; font-size: 12px; color: var(--muted); }
.drawer-close { margin-left: auto; flex: none; width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--bg); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; }
.drawer-close:hover { color: var(--ink); }
.drawer-body, .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 22px 22px; }
.drawer-foot, .modal-foot { display: flex; align-items: center; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); background: #fff; }
.drawer-foot { border-radius: 0 0 0 16px; }
.drawer-foot .btn-primary { margin-left: auto; min-width: 140px; }
.modal-panel { position: absolute; left: 50%; top: 50%; width: 760px; max-width: calc(100% - 40px); max-height: calc(100vh - 60px); transform: translate(-50%, -50%); display: flex; flex-direction: column; background: var(--card); border-radius: 14px; box-shadow: 0 30px 80px rgba(28, 23, 20, .25); animation: pop .2s ease-out; }
.modal-loading { padding: 60px; text-align: center; color: var(--faint); }
.section { padding: 18px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); font-family: "Poppins", sans-serif; font-weight: 700; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.section-head b { display: block; font-size: 13px; color: var(--ink); }
.section-head small { display: block; font-size: 11px; color: var(--faint); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(50px); } }
@keyframes rise { from { transform: translateY(50px); } }
@keyframes pop { from { transform: translate(-50%, -48%); } }

/* ---------- Order details ---------- */
.order-sum { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.order-sum .end { margin-left: auto; text-align: right; }
.order-sum .end .num { display: block; font-size: 22px; margin-top: 4px; }
.order-sum h3 { font-size: 13.5px; color: var(--ink); font-weight: 400; }
.order-sum p { font-size: 12px; color: var(--muted); }
.timeline { display: flex; padding: 4px 0 18px; }
.tl-step { flex: 1; position: relative; padding-top: 26px; padding-right: 8px; font-size: 11px; color: var(--faint); }
.tl-step::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--line); }
.tl-step i { position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--field); z-index: 1; }
.tl-step b { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.tl-step.is-done::before { background: var(--primary); }
.tl-step.is-done i { background: var(--primary); border-color: var(--primary); }
.tl-step.is-done b { color: var(--ink); }
.tl-step.is-current i { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.tl-step.is-current b { color: var(--primary-dark); font-weight: 700; }
.order-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; }
.info { padding: 14px 16px; border-radius: 8px; background: var(--bg); }
.info h4 { margin: 0 0 8px; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.info p { font-size: 12.5px; color: var(--ink); }
.info p + p { margin-top: 3px; }
.totals { padding: 12px 0 4px; border-top: 1px solid var(--line); }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12.5px; color: var(--muted); }
.totals .grand { padding-top: 8px; font-size: 13.5px; color: var(--ink); align-items: baseline; }
.totals .grand .num { font-size: 19px; color: var(--primary-dark); }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; width: 100%; }
.order-actions form { margin: 0; }
.order-actions .grow { margin-left: auto; display: flex; gap: 8px; align-items: flex-end; }
.order-actions .field { width: 140px; }

/* ---------- Categories, brands, branches, profile ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.cat-card { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.cat-top { display: flex; align-items: center; gap: 12px; }
.cat-top b { display: block; font-size: 13.5px; color: var(--ink); font-weight: 400; }
.cat-top small { font-size: 11px; color: var(--faint); }
.cat-top .end { margin-left: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { height: 24px; padding: 0 9px; border-radius: 6px; background: var(--bg); font-size: 11.5px; color: var(--text); display: inline-flex; align-items: center; }
.tag-own { background: var(--primary-soft); color: var(--primary-dark); }
.cat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.owner { font-size: 10.5px; padding: 2px 7px; border-radius: 6px; background: var(--bg); color: var(--muted); }
.brand-logo { flex: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 15px; color: var(--primary-dark); overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.map { position: relative; z-index: 0; width: 100%; overflow: hidden; background: #EDE8E2; }
.map-big { height: 380px; border-radius: var(--radius) var(--radius) 0 0; }
.map + .table-wrap, .map + .empty { border-top: 1px solid var(--line); }
.pin { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pin.is-main { background: var(--primary); color: #fff; }
.map-pick { height: 240px; border-radius: 8px; border: 1px solid var(--field); }
.pin-icon { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--primary); border: 3px solid #fff; box-shadow: 0 5px 12px rgba(0, 0, 0, .25); }
.pin-icon.is-main { background: #9E3416; }
.cover { position: relative; height: 200px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--hero); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-edit { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.cover-edit input { display: none; }
.profile-id { display: flex; align-items: flex-end; gap: 16px; padding: 0 22px 18px; margin-top: -40px; position: relative; }
.profile-logo { position: relative; flex: none; width: 92px; height: 92px; border-radius: 16px; border: 4px solid #fff; background: #fff; box-shadow: 0 8px 20px rgba(28, 23, 20, .12); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 32px; }
.profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.profile-logo label { position: absolute; inset: auto 0 0 0; height: 24px; background: rgba(28, 23, 20, .6); color: #fff; font-size: 10.5px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.profile-logo input { display: none; }
.profile-id h2 { font-size: 18px; color: var(--ink); }
.profile-id p { font-size: 12px; color: var(--muted); }
.profile-id .end { margin-left: auto; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: block; width: 28px; height: 28px; border-radius: 50%; transition: box-shadow .12s; }
.swatch input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }

/* Stats extras */
.funnel { padding: 16px 20px 20px; display: grid; gap: 14px; }
.funnel-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: 12px; }
.funnel-bar { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.funnel-bar i { display: block; height: 100%; border-radius: 8px; background: #F9CDB9; }
.funnel-row:first-child .funnel-bar i { background: var(--primary); }
.funnel-row .num { font-size: 13px; }

/* ---------- Sign-in and first steps ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-side { position: relative; overflow: hidden; margin: 12px; border-radius: 20px; background: var(--hero); color: #fff; padding: 40px; display: flex; flex-direction: column; }
.auth-side::before { content: ""; position: absolute; width: 420px; height: 420px; top: -180px; right: -140px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.auth-side h2 { margin-top: auto; font-size: 30px; line-height: 1.3; max-width: 440px; position: relative; }
.auth-side p { margin-top: 12px; max-width: 420px; color: rgba(255, 238, 228, .9); font-size: 14px; position: relative; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 380px; }
.auth-box h1 { font-size: 22px; color: var(--ink); }
.auth-box .lead { margin: 6px 0 24px; color: var(--muted); }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--faint); font-size: 11.5px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { margin-top: 20px; text-align: center; font-size: 12.5px; color: var(--muted); }
.auth-foot a { color: var(--primary-dark); font-weight: 700; }
.wizard { max-width: 820px; margin: 0 auto; padding: 0 20px 60px; }
.hdr .wizard { padding-bottom: 0; }
.wizard .card { padding: 24px 26px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; min-width: min(560px, 80vw); }
.steps div { padding-top: 8px; border-top: 3px solid rgba(255, 255, 255, .25); font-size: 11.5px; color: rgba(255, 238, 228, .75); }
.steps .is-done { border-color: rgba(255, 255, 255, .8); }
.steps .is-current { border-color: #fff; color: #fff; font-weight: 700; }
.wizard-foot { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.wizard-foot .btn-primary { margin-left: auto; min-width: 160px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--field); cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice .list-ico { width: 32px; height: 32px; font-size: 15px; }
.choice b { font-size: 12.5px; font-weight: 400; color: var(--ink); }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); }
.choice:has(input:checked)::after { content: "✓"; margin-left: auto; color: var(--primary-dark); font-weight: 700; }

/* Period dropdown */
.period { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.custom-dates { display: inline-flex; align-items: center; gap: 8px; }
.custom-dates[hidden] { display: none; }
.custom-dates .input { width: 150px; height: 38px; }

/* ---------- Laptop ---------- */
@media (max-width: 1180px) {
    .grid-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-main, .grid-half { grid-template-columns: minmax(0, 1fr); }
    .hdr-search { width: 240px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
    :root { --side: 68px; }
    .side .brand { justify-content: center; padding: 0; }
    .side .wordmark, .side-label, .side-title, .who-name { display: none; }
    .side-shop { justify-content: center; padding: 12px 0; }
    .side-nav a, .side-foot button { justify-content: center; padding: 0; }
    .side-nav .badge { position: absolute; top: 4px; right: 10px; min-width: 16px; height: 16px; font-size: 9.5px; }
    .side-nav { padding-top: 10px; }
    .auth { grid-template-columns: 1fr; }
    .auth-side { display: none; }
}

/* ---------- Phone: the app's bottom menu, bottom sheets, rows instead of tables ---------- */
@media (max-width: 640px) {
    body { padding-bottom: 72px; }
    .wrap { padding: 0 14px; }
    .side { display: none; }
    .main { margin-left: 0; }
    .brand.hdr-brand { display: flex; }
    .hdr-search { display: none; }
    .hdr { border-radius: 0 0 22px 22px; }
    .hdr-top { height: 58px; gap: 8px; }
    .wordmark { font-size: 18px; }
    .hdr-hero { flex-wrap: wrap; padding: 6px 0 22px; }
    .hdr-hero h1 { font-size: 19px; }
    .hdr-hero .page-actions { margin-left: 0; width: 100%; }
    .hdr.has-cards .hdr-hero { padding-bottom: 76px; }
    .page-actions { margin-left: 0; width: 100%; }
    .page-actions > *, .period, .period .select-sm { flex: 1; }
    .grid { gap: 10px; }
    .grid-kpi { grid-template-columns: 1fr 1fr; }
    .kpi { padding: 14px; }
    .kpi-value { font-size: 21px; margin-top: 10px; }
    .kpi-label { font-size: 11px; }
    .card-head, .chart-wrap, .list, .donut-legend, .filters { padding-left: 14px; padding-right: 14px; }
    .chart-stats div { padding: 10px 12px; }
    .bars text { font-size: 24px; }
    .search { max-width: none; margin-left: 0; flex-basis: 100%; }
    .table thead { display: none; }
    .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table tr { position: relative; padding: 12px 14px; border-bottom: 1px solid var(--line); }
    .table tbody tr:last-child { border-bottom: 0; }
    .table td { padding: 2px 0; border: 0; }
    .table td.right { text-align: left; }
    .table td.is-end { position: absolute; right: 14px; top: 12px; width: auto; }
    .table td.is-hide { display: none; }
    .cell-main .strong { max-width: 190px; }
    .tabbar { display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line); }
    .tabbar a, .tabbar summary { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: var(--muted); position: relative; }
    .tabbar .ion { font-size: 21px; }
    .tabbar a.is-active { color: var(--primary-dark); font-weight: 700; }
    .tabbar .badge { position: absolute; top: -3px; left: 54%; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 9.5px; display: flex; align-items: center; justify-content: center; }
    .tabbar .menu { flex: 1; display: flex; }
    .tabbar .menu-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; border-radius: 20px 20px 0 0; padding: 10px 10px calc(14px + env(safe-area-inset-bottom)); }
    .drawer-panel, .drawer-sm .drawer-panel, .modal-panel { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-width: none; max-height: 92vh; transform: none; border-radius: 20px 20px 0 0; animation: rise .22s cubic-bezier(.2, .8, .2, 1); }
    .drawer-grab, .modal-grab { display: block; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: #DDD3CC; }
    .drawer-head, .modal-head { padding: 10px 14px 12px; }
    .drawer-body, .modal-body { padding: 4px 14px 18px; }
    .drawer-foot, .modal-foot { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-radius: 0; }
    .drawer-foot .btn-primary { flex: 1; min-width: 0; }
    .row-2, .row-3, .order-cols { grid-template-columns: 1fr; }
    .uploader { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .photo-tools { opacity: 1; }
    .banner { flex-wrap: wrap; }
    .banner .btn { margin-left: 0; width: 100%; }
    .timeline { flex-direction: column; padding-bottom: 10px; }
    .tl-step { display: flex; align-items: baseline; gap: 8px; padding: 0 0 12px 26px; }
    .tl-step::before { left: 7px; right: auto; top: 18px; bottom: 0; width: 2px; height: auto; }
    .tl-step:last-child::before { display: none; }
    .order-actions { flex-direction: column-reverse; align-items: stretch; }
    .order-actions .grow { margin-left: 0; width: 100%; }
    .order-actions .grow .btn, .order-actions .grow .field { flex: 1; }
    .order-actions .btn { width: 100%; }
    .row-go { display: none; }
    .profile-id { flex-wrap: wrap; padding: 0 14px 16px; }
    .cover { height: 140px; }
    .choice-grid { grid-template-columns: 1fr; }
    .steps div { font-size: 0; }
    .wizard .card { padding: 18px 14px; }
    .map-big { height: 260px; }
    .page-foot { flex-direction: column; }
    .custom-dates { width: 100%; }
    .custom-dates .input { flex: 1; width: auto; }
}

/* Saved / error message after an action, like the app's toast */
.toast { position: fixed; z-index: 70; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; box-shadow: 0 14px 34px rgba(28, 23, 20, .28); animation: rise .25s ease-out; transition: opacity .3s, transform .3s; }
.toast .ion { font-size: 18px; color: #8EE0A8; }
.toast-error .ion { color: #FFB4A8; }
.toast.is-gone { opacity: 0; transform: translateY(10px); }
@media (max-width: 640px) {
    .toast { left: 14px; right: 14px; bottom: 84px; max-width: none; }
}
