/* ORYKSA dashboard — signature design system shared by all kits.
   Layout: fixed left rail (business + nav), glass top bar, content in soft rounded cards. Indigo is the thread; each kit may set --biz for its brand mark. */
:root {
  --indigo: #5B57E0; --indigo-2: #4844C9; --indigo-soft: #EEEDFD; --indigo-line: #D9D7FA;
  --bg: #F6F6FB; --panel: #FFFFFF; --panel-2: #FAFAFD; --fg: #15142B; --muted: #6A6A85; --faint: #9A9AB2;
  --line: #E8E7F1; --line-2: #F0EFF6; --hover: #F3F2FA;
  --ok: #15803D; --ok-bg: #E7F6EC; --warn: #B45309; --warn-bg: #FEF3E2; --crit: #C2410C; --crit-bg: #FDECE7; --info: #0369A1; --info-bg: #E6F2FA; --neutral-bg: #F1F1F6;
  --biz: #D9646C;
  --shadow: 0 1px 2px rgba(21, 20, 43, .04), 0 4px 16px rgba(21, 20, 43, .05);
  --shadow-lg: 0 24px 60px rgba(21, 20, 43, .22);
  --r: 16px; --r-sm: 10px;
  --f-ui: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-brand: var(--f-ui);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --indigo: #8B88FF; --indigo-2: #A3A0FF; --indigo-soft: #24234A; --indigo-line: #36356A;
  --bg: #0E0E1A; --panel: #16162A; --panel-2: #1B1B31; --fg: #ECEBFA; --muted: #A2A1BD; --faint: #75748F;
  --line: #2A2A44; --line-2: #222239; --hover: #20203A;
  --ok: #4ADE80; --ok-bg: #12301F; --warn: #FBBF24; --warn-bg: #33270F; --crit: #FB923C; --crit-bg: #3A1E12; --info: #38BDF8; --info-bg: #0F2A3A; --neutral-bg: #23233A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25); --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --indigo: #8B88FF; --indigo-2: #A3A0FF; --indigo-soft: #24234A; --indigo-line: #36356A;
  --bg: #0E0E1A; --panel: #16162A; --panel-2: #1B1B31; --fg: #ECEBFA; --muted: #A2A1BD; --faint: #75748F;
  --line: #2A2A44; --line-2: #222239; --hover: #20203A;
  --ok: #4ADE80; --ok-bg: #12301F; --warn: #FBBF24; --warn-bg: #33270F; --crit: #FB923C; --crit-bg: #3A1E12; --info: #38BDF8; --info-bg: #0F2A3A; --neutral-bg: #23233A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25); --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
  color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 14.5px/1.5 var(--f-ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }
.muted { color: var(--muted); } .sm { font-size: 13px; } .mt { margin-top: 12px; } .mb16 { margin-bottom: 16px; }
.num, .tm, .kpi-v, .price { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ----- shell ----- */
.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100%; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px; background: var(--panel); border-right: 1px solid var(--line); overflow-y: auto; }
.biz { display: flex; align-items: center; gap: 12px; padding: 4px 6px 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.biz-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--biz); color: #fff; font: 800 19px/1 var(--f-brand); flex: none; box-shadow: 0 6px 16px color-mix(in srgb, var(--biz) 35%, transparent); }
.biz b { display: block; font-size: 15.5px; }
.biz small { display: block; color: var(--muted); font-size: 12.5px; }
.nav-g { margin: 14px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.nav-i { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 500; transition: background .15s, color .15s; }
.nav-i:hover { background: var(--hover); color: var(--fg); }
.nav-i.on { background: var(--indigo-soft); color: var(--indigo); }
.nav-i b { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--indigo); color: #fff; font-size: 11.5px; display: grid; place-items: center; }
.side-foot { margin-top: auto; padding-top: 14px; display: grid; gap: 10px; }
.agent-mini { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: linear-gradient(135deg, var(--indigo-soft), var(--panel-2)); border: 1px solid var(--indigo-line); text-decoration: none; color: inherit; }
.agent-mini img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--indigo); }
.agent-mini b { display: block; font-size: 13.5px; }
.agent-mini span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.18); display: inline-block; }
.demo { font-size: 11.5px; color: var(--faint); display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 4px; }
.demo button { background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; font-size: 11.5px; padding: 4px; }
.demo button:hover { color: var(--indigo); }
.powered { font-size: 11.5px; color: var(--faint); padding: 0 4px; display: flex; align-items: center; gap: 6px; }
.powered b { color: var(--indigo); letter-spacing: .06em; }

.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 28px; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-2); }
.top .search { max-width: 380px; flex: 1; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
select.sel, .top select { height: 38px; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 0 10px; cursor: pointer; }
.me { display: flex; align-items: center; gap: 10px; padding-left: 8px; border-left: 1px solid var(--line); margin-left: 4px; }
.me .av-ini { font-weight: 700; }
.me b { font-size: 13.5px; display: block; } .me small { color: var(--muted); font-size: 12px; display: block; }
.burger { display: none; }
main#main { padding: 28px 28px 64px; max-width: 1360px; width: 100%; margin: 0 auto; animation: fade .25s ease; }
@keyframes fade { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ----- primitives ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; }
.btn:hover { background: var(--hover); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--indigo); border-color: var(--indigo); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--indigo) 30%, transparent); }
.btn.primary:hover { background: var(--indigo-2); }
.btn.ghost { background: transparent; }
.btn.danger { background: #DC2626; border-color: #DC2626; color: #fff; }
.btn.wa { background: #25D366; border-color: #25D366; color: #06331A; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; background: var(--indigo-soft); border-color: var(--indigo-line); color: var(--indigo); }
.btn.xs:hover { background: var(--indigo); color: #fff; }
.ib { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; flex: none; transition: background .15s, color .15s; }
.ib:hover { background: var(--hover); color: var(--fg); border-color: var(--line); }
.ib.dng:hover { color: #DC2626; background: var(--crit-bg); }
.lnk { background: none; border: 0; padding: 0; color: var(--indigo); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; white-space: nowrap; }
.lnk:hover { text-decoration: underline; }
.search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--muted); min-width: 0; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; color: var(--fg); }
.search:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-weight: 500; font-size: 13px; cursor: pointer; transition: all .15s; }
.chip b { font-weight: 600; color: var(--faint); font-size: 12px; }
.chip:hover { color: var(--fg); border-color: var(--indigo-line); }
.chip.on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip.on b { color: var(--bg); opacity: .7; }
.sw { position: relative; width: 38px; height: 22px; border-radius: 11px; border: 0; background: var(--line); cursor: pointer; flex: none; transition: background .2s; padding: 0; }
.sw i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.sw.on { background: var(--indigo); } .sw.on i { transform: translateX(16px); }
.av { border-radius: 50%; object-fit: cover; object-position: 50% 30%; flex: none; display: inline-block; }
.av-ini { display: inline-grid; place-items: center; color: #fff; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--neutral-bg); color: var(--muted); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-confirmed, .pill-ready, .pill-paid, .pill-active { background: var(--ok-bg); color: var(--ok); }
.pill-pending, .pill-new { background: var(--warn-bg); color: var(--warn); }
.pill-seated, .pill-preparing { background: var(--info-bg); color: var(--info); }
.pill-noshow, .pill-cancelled { background: var(--crit-bg); color: var(--crit); }
.pill-finished, .pill-picked { background: var(--neutral-bg); color: var(--muted); }
.stars { color: #F5A524; letter-spacing: 1px; white-space: nowrap; } .stars span { color: var(--line); } .stars span.on { color: #F5A524; }
.empty { display: grid; place-items: center; gap: 8px; padding: 48px 16px; color: var(--faint); text-align: center; }
.meter { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--indigo); transition: width .4s; }
.meter.mid i { background: #F59E0B; } .meter.full i { background: #16A34A; }
.tg { display: inline-block; margin: 2px 4px 2px 0; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; background: var(--neutral-bg); color: var(--muted); }
.tg-vip { background: #FDF2D8; color: #92590B; } .tg-regular { background: var(--indigo-soft); color: var(--indigo); } .tg-new { background: var(--info-bg); color: var(--info); }
.tg-allergy { background: var(--crit-bg); color: var(--crit); } .tg-bday { background: #FCE7F3; color: #BE185D; }
:root[data-theme="dark"] .tg-vip { background: #3A2E12; color: #FCD34D; } :root[data-theme="dark"] .tg-bday { background: #3B1530; color: #F9A8D4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tg-vip { background: #3A2E12; color: #FCD34D; } :root:not([data-theme="light"]) .tg-bday { background: #3B1530; color: #F9A8D4; } }

/* ----- layout blocks ----- */
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ph h1 { font-size: 26px; font-weight: 700; } .ph p { color: var(--muted); margin-top: 4px; max-width: 70ch; }
.ph-a { display: flex; gap: 8px; flex-wrap: wrap; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-h h2 { font-size: 15.5px; font-weight: 650; }
.count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--indigo-soft); color: var(--indigo); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.grid-2-1:first-child, .mb16.grid-2-1, .mb16.grid-3 { margin-top: 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.toolbar .search { width: 280px; max-width: 100%; margin-left: auto; }
.summary { color: var(--muted); font-size: 13px; margin-left: auto; }
.note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin: -6px 0 16px; }

/* greeting + kpis */
.greet { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.greet h1 { font-size: 28px; font-weight: 700; } .greet p { color: var(--muted); margin-top: 4px; }
.greet-agent { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.greet-agent img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.greet-agent b { display: block; font-size: 14px; } .greet-agent span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); display: grid; gap: 6px; position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--indigo-soft), transparent 70%); pointer-events: none; }
.kpi-h { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.kpi-v { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.kpi-v small { font-size: 18px; color: #F5A524; }
.kpi-s { color: var(--muted); font-size: 12.5px; }
.kpi .meter { margin-top: 4px; }

/* chart */
.chart svg { width: 100%; height: auto; display: block; }
.chart .gl { stroke: var(--line-2); stroke-width: 1; }
.chart .ax { fill: var(--faint); font: 500 10.5px var(--f-ui); }
.chart .bar { fill: var(--indigo); opacity: .78; transition: opacity .15s; } .chart .bar:hover { opacity: 1; }
.chart .bar-last { opacity: 1; fill: var(--biz); }
.chart .bar-off { fill: var(--line); }
.chart .avg { stroke: var(--fg); stroke-dasharray: 4 4; opacity: .35; }
.chart .avg-t { fill: var(--muted); font-weight: 600; }
.sales-tot { text-align: right; } .sales-tot b { display: block; font-size: 22px; font-weight: 700; } .sales-tot span { color: var(--muted); font-size: 12.5px; }

/* attention */
.att { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.att li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); }
.att-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.att-warn .att-ic { background: var(--warn-bg); color: var(--warn); } .att-crit .att-ic { background: var(--crit-bg); color: var(--crit); } .att-info .att-ic { background: var(--info-bg); color: var(--info); }
.att-t { font-size: 13.5px; font-weight: 500; }
.done { color: var(--ok); font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }

/* seats / top list / mini conv */
.seats { display: grid; gap: 12px; margin-top: 12px; }
.seat-l { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; } .seat-l b { font-variant-numeric: tabular-nums; }
.top-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.top-list li { display: grid; grid-template-columns: 18px 46px 1fr auto; gap: 10px; align-items: center; }
.top-list .rk { color: var(--faint); font-weight: 700; font-size: 13px; }
.top-list img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.top-n b { display: block; font-size: 13.5px; } .top-n small { color: var(--muted); }
.top-v { font-weight: 700; font-variant-numeric: tabular-nums; }
.mini-conv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.mini-conv button { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer; }
.mini-conv button:hover { background: var(--hover); }
.mc-b { min-width: 0; flex: 1; } .mc-top { display: flex; justify-content: space-between; gap: 8px; } .mc-top b { font-size: 13.5px; } .mc-top small { color: var(--faint); font-size: 12px; white-space: nowrap; }
.mc-m { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-m .ic { flex: none; } .mc-m span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* tables */
.tw { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .12s; } .tbl tbody tr:hover { background: var(--hover); }
.tbl tr.click { cursor: pointer; } .tbl tr.sel { background: var(--indigo-soft); }
.tbl .tm { font-weight: 700; white-space: nowrap; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .nowrap { white-space: nowrap; }
.tbl small.sub { display: block; color: var(--muted); font-size: 12px; }
.tbl .nt { max-width: 260px; color: var(--muted); font-size: 12.5px; }
.tbl .acts { white-space: nowrap; text-align: right; } .tbl .acts > * { vertical-align: middle; margin-left: 2px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 180px; } .who b { display: block; font-weight: 600; } .who small { display: block; color: var(--muted); font-size: 12px; }
.src { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.yk { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: var(--indigo-soft); color: var(--indigo); font-size: 11px; font-weight: 600; white-space: nowrap; }
.flag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 5px; background: var(--crit-bg); color: var(--crit); font-size: 11px; font-weight: 700; }
.foot-count { padding: 10px 14px; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line-2); }

/* day strip */
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; }
.day { flex: none; width: 74px; display: grid; justify-items: center; gap: 1px; padding: 9px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: all .15s; }
.day small { color: var(--muted); font-size: 11.5px; text-transform: capitalize; } .day b { font-size: 20px; } .day span { font-size: 11.5px; color: var(--faint); }
.day:hover { border-color: var(--indigo-line); }
.day.on { background: var(--indigo); border-color: var(--indigo); color: #fff; } .day.on small, .day.on span { color: rgba(255,255,255,.8); }
.day.closed { opacity: .55; }

/* split with side panel */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.split.has-side { grid-template-columns: minmax(0, 1fr) 340px; }
.side-panel { position: sticky; top: 84px; display: grid; gap: 10px; }
.side-panel h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-top: 8px; }
.side-panel .ln { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.sp-h { display: flex; gap: 12px; align-items: center; } .sp-h h2 { font-size: 18px; } .sp-h .ib { margin-left: auto; align-self: flex-start; }
.sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-stats div { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px; text-align: center; } .sp-stats b { display: block; font-size: 15px; } .sp-stats span { font-size: 11.5px; color: var(--muted); }
.hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; }
.hist li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); } .hist li .pill { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.sp-f { display: flex; gap: 8px; margin-top: 8px; }

/* cards grid (catalog) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.item:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(21,20,43,.1); }
.item.off { opacity: .62; } .item.off .item-img img { filter: grayscale(.8); }
.item-img { position: relative; aspect-ratio: 4 / 3; background: var(--panel-2); overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-img .badge { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.92); color: #15142B; backdrop-filter: blur(6px); }
.item-img .badge.r { left: auto; right: 10px; background: #DC2626; color: #fff; }
.item-b { padding: 14px 16px 12px; display: grid; gap: 6px; flex: 1; }
.item-t { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; } .item-t b { font-size: 15px; } .price { font-weight: 700; color: var(--fg); }
.ja { color: var(--muted); font-size: 12.5px; }
.desc { color: var(--muted); font-size: 13px; line-height: 1.45; }
.als { display: flex; flex-wrap: wrap; gap: 4px; } .al { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--neutral-bg); color: var(--muted); font-weight: 500; } .al.veg { background: var(--ok-bg); color: var(--ok); }
.item-f { display: flex; align-items: center; gap: 6px; padding: 10px 12px 12px 16px; border-top: 1px solid var(--line-2); margin-top: auto; }
.item-f .grow { flex: 1; color: var(--muted); font-size: 12.5px; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; cursor: pointer; }
.row-card { display: flex; align-items: center; gap: 14px; }
.rc-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; flex: none; }
.rc-ic.warn { background: var(--warn-bg); color: var(--warn); }
.rc-b { flex: 1; min-width: 0; display: grid; gap: 2px; } .rc-b small { color: var(--muted); font-size: 12.5px; }
.rc-b code { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* suppliers */
.sups { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sup { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sup-img { aspect-ratio: 16 / 7; overflow: hidden; background: linear-gradient(135deg, var(--indigo-soft), var(--panel-2)); display: grid; place-items: center; color: var(--indigo); }
.sup-img img { width: 100%; height: 100%; object-fit: cover; }
.sup-b { padding: 14px 16px; display: grid; gap: 6px; flex: 1; } .sup-b h3 { font-size: 16px; }
.sup .cat { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--indigo); }
.sup dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 6px 0 0; font-size: 13px; } .sup dt { color: var(--muted); } .sup dd { margin: 0; text-align: right; }
.sup-f { display: flex; gap: 6px; align-items: center; padding: 10px 12px 12px 16px; border-top: 1px solid var(--line-2); } .sup-f .btn { margin-right: auto; }
.deliv { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deliv li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.dv-d { display: grid; justify-items: center; padding: 6px; border-radius: 10px; background: var(--indigo-soft); color: var(--indigo); } .dv-d b { font-size: 18px; line-height: 1; } .dv-d small { font-size: 11px; text-transform: capitalize; }
.dv-n b { display: block; font-size: 13.5px; } .dv-n small { color: var(--muted); font-size: 12px; } .dv-t { font-size: 12.5px; color: var(--muted); }
.stat-card { display: grid; align-content: center; gap: 4px; } .stat-card b { font-size: 30px; font-weight: 700; }

/* reviews */
.big-rate { display: grid; justify-items: start; align-content: center; gap: 6px; } .big-rate b { font-size: 46px; font-weight: 700; line-height: 1; } .big-rate .stars { font-size: 18px; }
.dist { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; font-size: 12.5px; margin: 5px 0; } .dist b { text-align: right; } .dist .meter i { background: #F5A524; }
.srcs { display: grid; align-content: center; gap: 10px; } .srcs-i { display: flex; justify-content: space-between; } .srcs-i span { color: var(--muted); font-size: 13px; }
.revs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rev { display: grid; gap: 10px; align-content: start; }
.rev-h { display: flex; gap: 10px; align-items: center; } .rev-w { flex: 1; min-width: 0; } .rev-w b { display: block; } .rev-w small { color: var(--muted); font-size: 12px; }
.rev-t { line-height: 1.55; }
.reply { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; font-size: 13.5px; }
.reply.draft { background: var(--indigo-soft); border-color: var(--indigo-line); }
.reply-h { display: flex; align-items: center; gap: 4px; } .reply-h span { flex: 1; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.reply.draft .reply-h span { color: var(--indigo); }
.reply textarea { width: 100%; border: 1px solid var(--indigo-line); border-radius: 10px; padding: 8px 10px; background: var(--panel); resize: vertical; }
.reply-f { display: flex; justify-content: flex-end; }

/* conversations */
.conv { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 16px; height: calc(100vh - 210px); min-height: 520px; }
.conv-l, .conv-r { display: flex; flex-direction: column; min-height: 0; }
.conv-tools { padding: 12px; display: grid; gap: 10px; border-bottom: 1px solid var(--line-2); }
.cl { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.cl button { width: 100%; display: flex; gap: 10px; text-align: left; background: none; border: 0; padding: 10px; border-radius: 12px; cursor: pointer; }
.cl button:hover { background: var(--hover); } .cl button.on { background: var(--indigo-soft); }
.cl-b { flex: 1; min-width: 0; display: grid; gap: 2px; } .cl-t { display: flex; justify-content: space-between; gap: 8px; } .cl-t b { font-size: 13.5px; } .cl-t small { color: var(--faint); font-size: 12px; white-space: nowrap; }
.cl-m { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; min-width: 0; } .cl-m span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cst { justify-self: start; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: var(--neutral-bg); color: var(--muted); }
.cst-needs { background: var(--warn-bg); color: var(--warn); } .cst-booked, .cst-ordered { background: var(--ok-bg); color: var(--ok); }
.th-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); } .th-w { flex: 1; min-width: 0; } .th-w b { display: block; } .th-w small { display: inline-flex; gap: 5px; align-items: center; color: var(--muted); font-size: 12px; }
.th-h .back { display: none; }
.th-b { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: radial-gradient(circle at 100% 0, var(--indigo-soft), transparent 40%), var(--panel-2); }
.bub { max-width: 76%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; box-shadow: var(--shadow); }
.bub small { display: block; font-size: 11px; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.bub-g { align-self: flex-start; background: var(--panel); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bub-y { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 5px; }
.bub-u { align-self: flex-end; background: var(--fg); color: var(--bg); border-bottom-right-radius: 5px; }
.th-note { display: flex; gap: 6px; align-items: center; padding: 8px 14px; font-size: 12.5px; color: var(--indigo); background: var(--indigo-soft); }
.th-note.you { color: var(--warn); background: var(--warn-bg); }
.th-f { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-2); }
.th-f input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--panel); }
.th-f input:focus { outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.th-f .btn { height: 40px; }
.empty-r { display: grid; place-items: center; }

/* my ai */
.grid-ai { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.grid-ai .col { display: grid; gap: 16px; min-width: 0; }
.ai-hero { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--indigo-soft), var(--panel) 60%); }
.ai-ph { position: relative; } .ai-ph img { width: 132px; height: 132px; border-radius: 24px; object-fit: cover; object-position: 50% 25%; box-shadow: 0 10px 30px color-mix(in srgb, var(--indigo) 35%, transparent); }
.ai-st { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; background: var(--neutral-bg); color: var(--muted); } .ai-st.on { background: #22C55E; color: #fff; }
.ai-n { display: grid; gap: 6px; } .ai-n h2 { font-size: 24px; } .ai-n p { color: var(--muted); }
.ai-m { grid-column: 1 / -1; display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ai-m > span { color: var(--muted); font-size: 12.5px; } .ai-m b { display: block; font-size: 20px; } .ai-m small { color: var(--muted); font-size: 12px; }
.fld-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); } .fld-row:last-child { border-bottom: 0; }
.lbl { color: var(--muted); font-size: 13px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--neutral-bg); flex-wrap: wrap; } .seg button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; } .seg button.on { background: var(--panel); color: var(--fg); box-shadow: var(--shadow); }
.tgl { list-style: none; margin: 0; padding: 0; } .tgl li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); } .tgl li:last-child { border-bottom: 0; }
.greeting textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--panel); resize: vertical; }
.greeting .bform-f { margin-top: 10px; }

/* brain */
.score { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.ring { --p: 50; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--indigo) calc(var(--p) * 1%), var(--line-2) 0); flex: none; position: relative; }
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--panel); }
.ring b { position: relative; font-size: 17px; }
.score h2 { font-size: 17px; }
.brain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bform { display: grid; gap: 12px; }
.bform-f { display: flex; justify-content: flex-end; }
.miss { font-style: normal; font-size: 11px; color: var(--warn); background: var(--warn-bg); padding: 1px 6px; border-radius: 5px; margin-left: 6px; }
.faq, .files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.faq li { display: flex; gap: 6px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); } .faq li > div { flex: 1; min-width: 0; } .faq p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.files li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); color: var(--muted); } .files li span { flex: 1; min-width: 0; } .files b { display: block; color: var(--fg); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .files small { font-size: 12px; }
.upl { cursor: pointer; }

/* connectors */
.conns { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.conn { display: grid; gap: 8px; align-content: start; }
.conn-h { display: flex; justify-content: space-between; align-items: flex-start; }
.conn-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.conn-st { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--neutral-bg); color: var(--muted); }
.conn-st.st-on { background: var(--ok-bg); color: var(--ok); } .conn-st.st-busy { background: var(--info-bg); color: var(--info); }
.conn h3 { font-size: 16px; margin-top: 4px; }
.conn-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }

/* forms + modal */
.fld { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); min-width: 0; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--panel); color: var(--fg); font-weight: 400; font-size: 14px; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.fld .bad, textarea.bad { border-color: #DC2626 !important; box-shadow: 0 0 0 3px var(--crit-bg) !important; }
.err { color: #DC2626; font-style: normal; font-size: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.ck { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--line); cursor: pointer; font-weight: 500; color: var(--fg); }
.ck:has(input:checked) { background: var(--indigo-soft); border-color: var(--indigo-line); color: var(--indigo); }
.ck input { accent-color: var(--indigo); }
#modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.mb { position: absolute; inset: 0; background: rgba(14, 14, 30, .45); backdrop-filter: blur(4px); animation: fade .2s; }
.md { position: relative; width: min(620px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); animation: pop .22s cubic-bezier(.2,.9,.3,1.2); }
.md-wide { width: min(860px, 100%); }
.md-sm { width: min(420px, 100%); }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: none; } }
.md-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-2); } .md-h h2 { font-size: 17px; }
.md-b { padding: 18px 20px; overflow-y: auto; display: flex; flex-wrap: wrap; gap: 14px; }
.md-b .fld { flex: 1 1 100%; } .md-b .fld.half { flex: 1 1 calc(50% - 7px); }
.md-f { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line-2); }
.md-f .grow { margin-right: auto; font-weight: 700; font-size: 16px; }
.cf-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--crit-bg); color: #DC2626; }
.cf-t { flex: 1 1 100%; font-size: 15px; color: var(--fg); }

/* cart (order builder) */
.cart { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.cart-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; max-height: 340px; overflow-y: auto; padding: 2px; }
.cart-pick button { display: grid; gap: 4px; text-align: left; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: border-color .15s, transform .1s; }
.cart-pick button:hover { border-color: var(--indigo); } .cart-pick button:active { transform: scale(.98); }
.cart-pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.cart-pick b { font-size: 12.5px; line-height: 1.25; } .cart-pick span { font-size: 12px; color: var(--muted); }
.cart-list { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; min-height: 160px; }
.cart-list .ln { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px; font-size: 13px; color: var(--fg); }
.qty { display: inline-flex; align-items: center; gap: 2px; } .qty b { min-width: 20px; text-align: center; } .qty .ib { width: 26px; height: 26px; }
.cart-tot { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; font-weight: 700; color: var(--fg); }
.cart-empty { color: var(--faint); font-size: 13px; text-align: center; margin: auto; }

/* toast */
#toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 200; display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; background: var(--fg); color: var(--bg); font-weight: 500; font-size: 14px; box-shadow: var(--shadow-lg); transition: all .25s; max-width: calc(100vw - 32px); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast .ic { color: #4ADE80; }

/* orders board */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.col-h { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; font-weight: 650; font-size: 13.5px; } .col-h .count { margin-left: auto; }
.col-h i { width: 8px; height: 8px; border-radius: 50%; }
.lane { display: grid; gap: 10px; min-height: 80px; padding: 8px; border-radius: 14px; background: var(--panel-2); border: 1px dashed var(--line); }
.ord { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.ord-h { display: flex; justify-content: space-between; gap: 8px; align-items: center; } .ord-h b { font-size: 13.5px; } .ord-h small { color: var(--muted); font-size: 12px; font-family: var(--f-mono); }
.ord-items { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ord-thumbs { display: flex; } .ord-thumbs img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; border: 2px solid var(--panel); margin-right: -8px; }
.ord-f { display: flex; align-items: center; gap: 4px; } .ord-f .tot { margin-right: auto; font-weight: 700; } .ord-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); align-items: center; }

/* ----- responsive ----- */
@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split.has-side { grid-template-columns: minmax(0, 1fr); } .side-panel { position: static; } }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 60; transform: translateX(-102%); transition: transform .25s; box-shadow: var(--shadow-lg); height: 100%; }
  body.nav-open .side { transform: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(14,14,30,.4); z-index: 50; }
  .burger { display: inline-grid; }
  .top { padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  .top .search { display: none; }
  .me div { display: none; }
  main#main { padding: 20px 16px 56px; }
  .grid-2-1, .grid-2, .brain, .grid-ai, .revs { grid-template-columns: minmax(0, 1fr); }
  .conv { grid-template-columns: minmax(0, 1fr); height: auto; }
  .conv.has-sel .conv-l { display: none; } .conv:not(.has-sel) .conv-r { display: none; }
  .conv-r { height: calc(100vh - 170px); min-height: 460px; }
  .th-h .back { display: inline-grid; }
  .toolbar .search { width: 100%; margin-left: 0; }
  .summary { margin-left: 0; width: 100%; }
  .cart { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .kpis, .grid-3, .board { grid-template-columns: minmax(0, 1fr); }
  .kpi-v { font-size: 26px; }
  .ph h1, .greet h1 { font-size: 22px; }
  .ai-hero { grid-template-columns: 96px 1fr; } .ai-ph img { width: 96px; height: 96px; border-radius: 18px; }
  .ai-m { grid-template-columns: repeat(3, 1fr); } .ai-m > span { grid-column: 1 / -1; }
  .fld-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .md-b .fld.half { flex-basis: 100%; }
  .greet-agent { display: none; }
  .row-card { flex-wrap: wrap; }
}

/* ----- schedule (agenda by resource: stylists, doctors, rooms…) ----- */
.sched-wrap { overflow-x: auto; }
.sched { --row: 46px; display: grid; grid-template-columns: 64px repeat(var(--cols), minmax(150px, 1fr)); min-width: calc(64px + var(--cols) * 150px); }
.sched-h { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px; background: var(--panel-2); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line-2); font-weight: 600; font-size: 13px; min-width: 0; }
.sched-h:first-child { border-left: 0; }
.sched-h small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.sched-h .av { flex: none; }
.sched-h > div { min-width: 0; } .sched-h b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-times { position: relative; }
.sched-times span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.sched-col { position: relative; border-left: 1px solid var(--line-2); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--row) - 1px), var(--line-2) calc(var(--row) - 1px), var(--line-2) var(--row)); cursor: copy; }
.sched-col.off { background-color: var(--panel-2); cursor: default; }
.appt { position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 6px 8px; overflow: hidden; cursor: pointer; border: 1px solid transparent; background: color-mix(in srgb, var(--c) 14%, var(--panel)); border-left: 3px solid var(--c); transition: transform .12s, box-shadow .12s; text-align: left; font: inherit; color: var(--fg); }
.appt:hover { transform: translateY(-1px); box-shadow: var(--shadow); z-index: 1; }
.appt b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt.st-done { opacity: .55; } .appt.st-cancelled, .appt.st-noshow { opacity: .45; text-decoration: line-through; }
.appt.st-pending { border-style: dashed; border-left-style: solid; border-color: var(--warn); }
.appt.st-inchair { box-shadow: 0 0 0 2px var(--c); }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: #EF4444; z-index: 1; pointer-events: none; }
.now-line::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #EF4444; }
.view-tog { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--neutral-bg); }
.view-tog button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.view-tog button.on { background: var(--panel); color: var(--fg); box-shadow: var(--shadow); }
.pill-inchair { background: var(--info-bg); color: var(--info); } .pill-done { background: var(--neutral-bg); color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.team-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tm-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tm-top { display: flex; gap: 14px; align-items: center; padding: 16px; }
.tm-top img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; object-position: 50% 30%; }
.tm-top b { display: block; font-size: 16px; } .tm-top small { color: var(--muted); }
.tm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px 14px; }
.tm-stats div { background: var(--panel-2); border-radius: 10px; padding: 8px; text-align: center; } .tm-stats b { display: block; font-size: 16px; } .tm-stats span { font-size: 11.5px; color: var(--muted); }
.tm-body { padding: 0 16px 12px; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.tm-f { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 10px 12px 12px 16px; border-top: 1px solid var(--line-2); }
.tm-f .grow { flex: 1; font-size: 12.5px; color: var(--muted); }
.formula { font-family: var(--f-mono); font-size: 12px; background: var(--indigo-soft); color: var(--indigo); padding: 8px 10px; border-radius: 8px; }
.sched-times span:first-child { transform: none; } .sched-times span:last-child { transform: translateY(-100%); }
/* My AI: photo change + live test chat */
.ai-photo-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; } .ai-photo-btn { cursor: pointer; }
.ai-test .card-h { align-items: flex-start; }
.ai-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: var(--panel-2); }
.ai-live .dot { background: var(--faint); } .ai-live.on { color: var(--ok); background: var(--ok-bg); } .ai-live.on .dot { background: var(--ok); }
.ai-thread { display: flex; flex-direction: column; gap: 8px; min-height: 180px; max-height: 340px; overflow-y: auto; padding: 12px; border-radius: 12px; background: var(--panel-2); margin-bottom: 10px; }
.ai-thread .bub { max-width: 88%; } .ai-empty { margin: auto; text-align: center; max-width: 30ch; }
.ai-tnote { align-self: center; max-width: 92%; font-size: 12.5px; color: var(--muted); text-align: center; padding: 6px 10px; border-radius: 10px; border: 1px dashed var(--line); background: var(--panel); }
.ai-typing i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: aiDot 1s infinite ease-in-out; } .ai-typing i:nth-child(3) { animation-delay: .15s; } .ai-typing i:nth-child(4) { animation-delay: .3s; }
@keyframes aiDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-thread .bub-y { align-self: flex-start; border-bottom-right-radius: 16px; border-bottom-left-radius: 5px; } .ai-thread .bub-u { align-self: flex-end; }
/* My AI layout mirroring the standard ORYKSA "Your AI" page: settings left, live test chat right */
.ai-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 16px; align-items: start; }
.ai-main { display: grid; gap: 16px; min-width: 0; }
.ai-side { position: sticky; top: 16px; min-width: 0; }
.ai-side .ai-test { display: flex; flex-direction: column; min-height: min(640px, calc(100vh - 120px)); }
.ai-side .ai-thread { flex: 1; max-height: none; min-height: 260px; }
.ai-ph-edit { position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--fg); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; }
.ai-ph-edit:hover { background: var(--hover); }
@media (max-width: 1180px) { .ai-layout { grid-template-columns: minmax(0, 1fr); } .ai-side { position: static; } .ai-side .ai-test { min-height: 0; } .ai-side .ai-thread { max-height: 380px; } }
/* email connector: automatic agent */
.ma { display: grid; gap: 8px; margin-top: 4px; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); }
.ma-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; } .ma-h .ic { color: var(--indigo); flex: none; }
.ma-st { margin-left: auto; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--neutral-bg); color: var(--muted); } .ma-st.on { background: var(--ok-bg); color: var(--ok); }
.ma > p { margin: 0; }
.ma-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ma-l li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.ma-l b { display: block; font-size: 13px; } .ma-l small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.ma-ev { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; flex-wrap: wrap; }
.ma-ev select { min-width: 0; max-width: 100%; }
.ma-cost { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); } .ma-cost b { color: var(--fg); font-variant-numeric: tabular-nums; }
.ma.ma-off { opacity: .7; } .sw[disabled] { opacity: .45; cursor: not-allowed; }
/* standard ORYKSA panel footer */
.body { display: flex; flex-direction: column; min-width: 0; } .body > main#main { flex: 1 0 auto; }
.app-foot { border-top: 1px solid var(--line); padding: 16px 28px calc(16px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 12.5px; }
.af-in { max-width: 1360px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.af-brand { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-size: 13px; } .af-brand b { letter-spacing: .04em; }
.af-o { width: 20px; height: 20px; border-radius: 6px; display: inline-grid; place-items: center; background: var(--indigo); color: #fff; font-weight: 800; font-size: 11px; }
.af-copy { min-width: 0; }
.af-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 16px; } .af-links a { color: var(--muted); text-decoration: none; } .af-links a:hover { color: var(--indigo); text-decoration: underline; }
@media (max-width: 760px) { .app-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); } .af-links { margin-left: 0; } }

/* standard top-right frame */
.top-r { gap: 6px; }
.tp-pop { position: relative; }
.bell { position: relative; } .bell b { position: absolute; top: 2px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #EF4444; color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 700; }
.lang-pick { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 4px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; }
.lang-pick select { border: 0; background: transparent; color: var(--fg); font: 600 13px var(--f-ui, inherit); height: 34px; padding: 0 4px; cursor: pointer; }
.top .me { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; cursor: pointer; }
.top .me:hover { background: var(--hover); } .me-cr { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; color: #B45309; }
.tp-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 300px; padding: 6px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(15,23,42,.18); display: grid; gap: 2px; }
.tp-h { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 10px; } .tp-h small { color: var(--muted); }
.tp-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--fg); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; } .tp-i:hover { background: var(--hover); } .tp-i small { display: block; color: var(--muted); font-size: 11.5px; } .tp-i > span { min-width: 0; }
.acct-h { display: flex; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; } .acct-h b { display: block; } .acct-h small { color: var(--muted); font-size: 12px; }
.plan { display: inline-block; padding: 1px 7px; border-radius: 999px; background: linear-gradient(90deg, #6366F1, #A855F7); color: #fff; font-weight: 700; font-size: 10.5px; }
.acct-ai img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.acct-cr { display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 6px; padding: 9px 10px; border-radius: 10px; background: #FEF3C7; color: #92400E; font-size: 13px; } .acct-cr b { font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .acct-cr { background: rgba(245,158,11,.15); color: #FCD34D; } :root[data-theme="dark"] .me-cr { color: #FCD34D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .acct-cr { background: rgba(245,158,11,.15); color: #FCD34D; } :root:not([data-theme="light"]) .me-cr { color: #FCD34D; } }
@media (max-width: 640px) { .lang-pick span { display: none; } .tp-menu { width: min(300px, calc(100vw - 24px)); } }
/* My AI — standard profile page */
.aip-layout { align-items: start; }
.aip-main { display: grid; gap: 16px; min-width: 0; }
.aip { display: grid; gap: 14px; }
.aip-h h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .aip-h p { margin: 4px 0 0; }
.aip-id { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.aip-ph { width: 96px; height: 96px; } .aip-ph img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.aip-who { display: grid; gap: 6px; min-width: 0; } .aip-who p { margin: 0; }
.aip-name { display: flex; align-items: center; gap: 6px; } .aip-name h3 { font-size: 22px; margin: 0; }
.aip-nf { display: flex; gap: 6px; flex-wrap: wrap; } .aip-nf input { height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; width: 160px; } .aip-nf input.bad { border-color: #DC2626; }
.aip-ory { justify-self: start; display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--indigo-soft); color: var(--indigo); font-size: 12px; font-family: ui-monospace, Consolas, monospace; } .aip-ory b { font-family: inherit; font-weight: 800; }
.aip-row { display: grid; gap: 8px; } .aip-row .lbl, .aip-sigf .lbl { font-size: 13px; font-weight: 600; }
.aip-seg { display: inline-flex; flex-wrap: wrap; justify-self: start; }
.aip-tg { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); } .aip-tg b { display: block; font-size: 13.5px; } .aip-tg small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.aip-cap { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.aip-sig { display: grid; gap: 10px; } .aip-sigf { display: grid; gap: 6px; } .aip-sigr { display: flex; gap: 6px; } .aip-sigr input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-size: 13.5px; }
.aip-prev { padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line); } .aip-prev small { color: var(--muted); font-size: 11.5px; } .aip-prev p { margin: 4px 0 0; font-size: 13.5px; } .aip-prev i { color: var(--muted); }
.aip-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.aip-lang { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; } .aip-lang .fl { font-size: 16px; line-height: 1; }
.aip-lang.on { border-color: var(--indigo); background: var(--indigo-soft); color: var(--indigo); font-weight: 600; }
.aip-voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.aip-voice { display: grid; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); } .aip-voice.on { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.aip-vsel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 0; background: none; padding: 0; color: var(--fg); font: inherit; text-align: left; cursor: pointer; } .aip-vsel b { display: block; font-size: 14px; } .aip-vsel small { color: var(--muted); font-size: 11.5px; }
.aip-vav { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #6366F1, #EC4899); color: #fff; font-weight: 800; }
.aip-ck { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: #fff; }
.aip-voice .btn.xs { justify-self: start; display: inline-flex; gap: 5px; align-items: center; }
@media (max-width: 760px) { .aip-voices { grid-template-columns: 1fr; } .aip-id { grid-template-columns: 1fr; justify-items: start; } }

/* floating assistant bubble (standard ORYKSA panel) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ai-fab { position: fixed; left: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 70; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; }
.ai-fab img { position: relative; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--panel); box-shadow: 0 10px 28px rgba(79,70,229,.35); transition: transform .2s; }
.ai-fab:hover img { transform: scale(1.06); }
.fab-ring { position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from 0deg, #6366F1, #A855F7, #EC4899, #22D3EE, #6366F1); animation: fabSpin 4s linear infinite; filter: blur(.3px); }
.fab-ring::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: inherit; filter: blur(12px); opacity: .55; animation: fabGlow 2.4s ease-in-out infinite; }
.fab-dot { position: absolute; right: 3px; bottom: 3px; width: 13px; height: 13px; border-radius: 50%; background: #22C55E; border: 2px solid var(--panel); }
@keyframes fabSpin { to { transform: rotate(360deg); } }
@keyframes fabGlow { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: .7; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .fab-ring, .fab-ring::after { animation: none; } }
.fab-panel { position: fixed; left: 22px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 71; width: min(380px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(15,23,42,.28); overflow: hidden; }
.fab-panel .ai-test { border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; min-height: 0; flex: 1; margin: 0; }
.fab-panel .ai-thread { flex: 1; min-height: 220px; max-height: 360px; }
.fab-h { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: linear-gradient(135deg, var(--indigo-soft), var(--panel-2)); border-bottom: 1px solid var(--line-2); }
.fab-h img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.fab-h div { flex: 1; min-width: 0; } .fab-h b { display: block; } .fab-h small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
@media (max-width: 640px) { .ai-fab { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; } .ai-fab img { width: 46px; height: 46px; } .fab-panel { left: 16px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }


.fab-panel { position: fixed; } .fab-x { position: absolute; top: 12px; right: 12px; z-index: 2; } .fab-panel #pfd-head { padding-right: 52px; }

/* ===== ORYKSA standard chrome (copied verbatim from the standard panel: profile.html + _shell.html) ===== */
/* token bridge: the standard panel variables mapped onto each kit's light/dark theme */
.bt-footer, #pf-demo-card, .fab-panel, .nav-links, .bt-tabbar {
  --border-dim: var(--line-2); --border2: var(--line); --border: var(--line); --border3: color-mix(in srgb, var(--indigo) 35%, var(--line));
  --muted2: var(--muted); --muted3: var(--faint, var(--muted)); --text: var(--fg); --text2: var(--fg); --text2c: var(--fg); --text2d: var(--fg);
  --cyan: var(--indigo); --cyan2: #22D3EE; --accent: var(--indigo); --accent2: var(--indigo); --ok: #22C55E;
  --c-0b141a: var(--panel); --bg2: var(--panel); --card-a: var(--panel-2); --card: var(--panel); --bubble-out: var(--indigo-soft); --bubble-in: var(--panel-2);
}
.bt-footer { border-top: 1px solid var(--border-dim); padding: 20px 20px 24px; text-align: center; color: var(--muted2); font-size: .78rem; line-height: 1.9; }
.bt-footer a { color: var(--muted); }
.bt-footer a:hover { color: var(--cyan); }
html[data-theme="light"] .bt-footer { border-top: 1px solid var(--border2) !important; }
#pf-demo-wrap { align-self: stretch; min-width: 0; }
#pf-demo-card { position: sticky; top: 100px; height: calc(100vh - 124px); min-height: 440px; display: flex; flex-direction: column; background: var(--c-0b141a); border: 1px solid var(--border-dim); border-radius: 16px; overflow: hidden; }
@media (max-width: 1180px) { #pf-demo-wrap { align-self: auto; } }
#pfd-head { background: var(--card-a); border-bottom: 1px solid var(--border-dim); padding: 12px 16px; display: flex; align-items: center; gap: 11px; }
#pfd-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan2)); display: flex; align-items: center; justify-content: center; font-weight: 800; color:#fff; font-size: .95rem; flex-shrink: 0; overflow: hidden; }
#pfd-av img { width: 100%; height: 100%; object-fit: cover; }
#pfd-msgs { flex: 1; overflow-y: auto; padding: 14px; }
.pfd-out { background: var(--bubble-out); border-radius: 10px 10px 2px 10px; padding: 8px 12px; color: var(--text2d); font-size: .82rem; max-width: 85%; margin-left: auto; margin-bottom: 8px; width: fit-content; white-space: pre-wrap; word-break: break-word; }
.pfd-in { background: var(--bubble-in); border-radius: 10px 10px 10px 2px; padding: 8px 12px; color: var(--text2d); font-size: .82rem; max-width: 88%; margin-bottom: 8px; width: fit-content; white-space: pre-wrap; word-break: break-word; }
.pfd-note { text-align: center; margin: 10px 0; }
.pfd-note span { background: var(--card); color: var(--muted); font-size: .66rem; border-radius: 8px; padding: 3px 12px; }
#pfd-typing { display: none; background: var(--bubble-in); border-radius: 10px 10px 10px 2px; padding: 10px 14px; width: 56px; margin-bottom: 8px; }
#pfd-typing.show { display: flex; gap: 4px; align-items: center; }
#pfd-typing span { width: 6px; height: 6px; background: var(--muted); border-radius: 50%; animation: pfdDot 1.2s infinite; }
#pfd-typing span:nth-child(2) { animation-delay: .2s; }
#pfd-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes pfdDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
#pfd-bar { border-top: 1px solid var(--border-dim); padding: 10px 12px; background: var(--card-a); }
#pfd-row { display: flex; gap: 8px; }
#pfd-input { flex: 1; min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: 20px; color: var(--text); padding: 10px 15px; font-size: .84rem; }
#pfd-send { background: var(--accent); border: none; color:#fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; flex-shrink: 0; }
.pfd-ghost { background: var(--card); border: 1px solid var(--border); color: var(--muted); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; flex-shrink: 0; }
.pfd-ghost:hover { border-color: var(--accent); color: var(--text2c); }
#pfd-foot { color: var(--muted3); font-size: .64rem; text-align: center; margin-top: 7px; }
.pfd-empty { background: rgba(79,111,245,.08); border: 1px dashed var(--border3); border-radius: 14px; padding: 26px 20px; text-align: center; margin: 16px 6px; }
.pfd-empty-ic { font-size: 2rem; line-height: 1; }
.pfd-empty-t { color: var(--text); font-weight: 700; font-size: .96rem; margin-top: 10px; }
.pfd-empty-s { color: var(--muted); font-size: .78rem; line-height: 1.5; margin-top: 6px; max-width: 280px; margin-left: auto; margin-right: auto; }
.pfd-empty-arrow { color: var(--accent); font-size: 1.55rem; margin-top: 12px; animation: pfdBounce 1.4s infinite; }
@keyframes pfdBounce { 0%,100%{transform:none} 50%{transform:translateY(5px)} }
/* kit integration (layout only) */
.app-foot { padding: 0; border: 0; }
.bt-foot-row{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:1560px;margin:0 auto 6px;padding:0 8px;flex-wrap:wrap}
.bt-foot-left{text-align:left} .bt-foot-right{text-align:right} .bt-foot-dev{text-align:center}
@media(max-width:820px){.bt-foot-row{flex-direction:column;text-align:center;gap:4px}.bt-foot-left,.bt-foot-right{text-align:center}}
#pf-demo-card .ic { vertical-align: middle; }
#pfd-bar form, #pfd-row { margin: 0; }
.pfd-ghost, #pfd-send { display: grid; place-items: center; }

.fab-panel #pf-demo-wrap, .fab-panel #pf-demo-card { position: static; height: auto; min-height: 0; border: 0; border-radius: 0; }
.fab-panel #pfd-msgs { min-height: 240px; max-height: 360px; }

/* ===== standard top tabs + mobile tab bar (copied verbatim from the standard panel) ===== */
.nav-links { display: flex; align-items: center; border-top: 1px solid var(--border-dim); }
.nav-links a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 8px; color: var(--muted); text-decoration: none; font-size: .82rem; transition: all .15s; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); border-bottom-color: var(--accent); background: var(--bg); }
html[data-theme="light"] .nav-links { border-top: 1px solid var(--border2) !important; }
.bt-tabbar { display: none; }
@media (max-width: 768px) {
  .bt-tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: 60px; background: var(--bg2); border-top: 1px solid var(--border-dim); z-index: 800; align-items: center; justify-content: space-around; }
  .bt-tabbar a { color: var(--muted); font-size: .66rem; display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .bt-tabbar a.active { color: var(--cyan); }
  .bt-tabbar a i { font-size: 1.05rem; }
  .bt-tabbar .bt-tab-orb { justify-content: center; }
  .bt-tabbar .bt-tab-orb { margin-top:-6px; }
  .bt-tabbar .bt-tab-orb .orb { width:48px; height:48px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--cyan2)); display:flex; align-items:center; justify-content:center; box-shadow:0 6px 16px rgba(124,58,237,.45); margin-top:-24px; border:2px solid var(--bg2); }
  .bt-tabbar .bt-tab-orb .orb img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
  .bt-tabbar .bt-tab-orb .bt-orb-name { font-size:.66rem; line-height:1; margin-top:3px; max-width:76px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}
/* ORYKSA notification toasts: corner cards for every notification (owner 2026-10-03), same look web/app/kit */
.ory-noti-stack { position: fixed; right: 20px; bottom: 20px; z-index: 1200; display: flex; flex-direction: column; gap: 10px; width: 340px; max-width: calc(100vw - 32px); pointer-events: none; }
.ory-noti { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; box-shadow: 0 12px 30px rgba(0,0,0,.18); cursor: pointer; transform: translateY(12px); opacity: 0; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s; }
.ory-noti.in { transform: none; opacity: 1; }
.ory-noti.out { transform: translateX(24px); opacity: 0; }
.ory-noti-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); }
.ory-noti-bd { min-width: 0; flex: 1; }
.ory-noti-t { font-weight: 600; font-size: 13.5px; color: var(--fg); line-height: 1.3; }
.ory-noti-x2 { color: var(--muted); font-size: 12.5px; margin-top: 2px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ory-noti-time { color: var(--faint); font-size: 11px; margin-top: 4px; }
.ory-noti-cl { flex: none; background: none; border: 0; color: var(--faint); cursor: pointer; padding: 2px; margin: -2px -2px 0 0; border-radius: 6px; line-height: 0; }
.ory-noti-cl:hover { color: var(--fg); background: var(--hover); }
@media (max-width: 768px) { .ory-noti-stack { left: 12px; right: 12px; width: auto; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); } }
/* kit integration (layout only): navigation lives in the top tabs; the sidebar becomes the mobile drawer */
.top-biz { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.top-biz .biz-mark { width: 36px; height: 36px; font-size: 15px; } .top-biz b { display: block; font-size: 14.5px; } .top-biz small { display: block; color: var(--muted); font-size: 12px; }
.nav-links { position: sticky; top: 64px; z-index: 25; background: var(--panel); overflow-x: auto; scrollbar-width: none; } .nav-links::-webkit-scrollbar { display: none; }
.nav-links a { white-space: nowrap; } .nav-links a i { display: inline-grid; font-style: normal; }
@media (max-width: 900px) { .top-biz small { display: none; } .nav-links { top: 56px; } }
@media (max-width: 768px) {
  .nav-links { display: none; } .ory-toggle { display: none; } .top-biz span { display: none; }
  .body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .bt-tabbar { height: calc(60px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .bt-tabbar a { text-decoration: none; flex: 1; } .bt-tabbar a i { display: grid; place-items: center; font-style: normal; }
  .fab-panel { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); }
}

/* only the AI group lives in the top tabs; the sidebar keeps the business sections */
.top-biz { display: none !important; }
/* stat cards open their records */
.kpi.kpi-link { cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.kpi.kpi-link:hover { border-color: var(--indigo-line, var(--line)); box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.kpi.kpi-link:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
/* My AI: standard profile columns (right column 330px fixed) */
.pf-cols{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}
@media(max-width:1180px){.pf-cols{grid-template-columns:1fr} #pf-demo-card{position:static!important;height:500px!important}}
/* add/edit forms as a page (standard panel) */
.form-page { display: grid; gap: 16px; max-width: 860px; }
.fp-head { display: grid; gap: 6px; } .fp-head h1 { font-size: 26px; letter-spacing: -.01em; text-wrap: balance; }
.fp-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; } .fp-back:hover { color: var(--indigo); }
.md.fp-form { width: 100%; max-height: none; box-shadow: var(--shadow, none); border-radius: 16px; animation: none; }
.md.fp-form .md-b { overflow: visible; padding: 22px 24px; } .md.fp-form .md-f { padding: 16px 24px; }
@media (max-width: 768px) { .fp-head h1 { font-size: 22px; } }
/* photo field: pick one of the kit photos or upload */
.ph-fld { display: grid; gap: 6px; flex: 1 1 100%; } .ph-fld > span { font-size: 13px; font-weight: 600; } .ph-hint { font-size: 12px; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); grid-auto-rows: 84px; gap: 8px; max-height: 280px; overflow-y: auto; padding: 2px; }
.ph-o, .ph-up { position: relative; height: 84px; min-height: 0; border-radius: 12px; border: 2px solid transparent; padding: 0; overflow: hidden; background: var(--panel-2); cursor: pointer; }
.ph-o img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-up { display: grid; place-items: center; align-content: center; gap: 4px; border: 2px dashed var(--line); color: var(--muted); background-size: cover; background-position: center; } .ph-up small { font-size: 11.5px; font-weight: 600; }
.ph-up.on { border-style: solid; color: transparent; } .ph-up:hover { border-color: var(--indigo); color: var(--indigo); }
.ph-o.on, .ph-up.on { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.ph-o.on::after { content: ""; position: absolute; right: 6px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
/* settings page (standard /account) */
.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.set-card { display: grid; gap: 4px; padding: 18px 20px; } .set-card .card-h { margin-bottom: 6px; }
.set-acc { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; } .set-acc b { display: block; font-size: 15px; } .set-acc small { color: var(--muted); font-size: 12.5px; }
.set-form { display: flex; flex-wrap: wrap; gap: 12px; } .set-form .fld { flex: 1 1 calc(50% - 6px); min-width: 0; } .set-f { flex: 1 1 100%; display: flex; justify-content: flex-end; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-2); } .set-row:first-of-type { border-top: 0; }
.set-row b { display: block; font-size: 13.5px; } .set-row small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; } .set-row > div:first-child { min-width: 0; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--panel-2); gap: 2px; } .seg button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; } .seg button.on { background: var(--panel); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.set-lang { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-size: 13px; }
@media (max-width: 900px) { .set-grid { grid-template-columns: minmax(0, 1fr); } .set-form .fld { flex-basis: 100%; } }
/* reply-language flags (inline SVG) */
.aip-lang .fl { display: inline-flex; line-height: 0; } .aip-lang .ory-flag { display: block; width: 21px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
/* voice sample play button */
.aip-voice { position: relative; } .aip-voice .aip-vsel { padding-right: 44px; }
.aip-play { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--indigo); color: #fff; cursor: pointer; box-shadow: 0 4px 12px rgba(91,87,224,.35); z-index: 1; padding: 0; }
.aip-play svg { margin-left: 2px; } .aip-play.on svg { margin-left: 0; } .aip-play:hover { filter: brightness(1.08); } .aip-play:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.aip-play.on { background: var(--crit, #DC2626); animation: vpulse 1.2s ease-in-out infinite; }
@keyframes vpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,.35); } 50% { box-shadow: 0 0 0 8px rgba(220,38,38,0); } }
.aip-voice.on .aip-ck { display: none; }
/* Try your AI: empty state sits at the top of the panel */
#pfd-msgs { display: flex; flex-direction: column; justify-content: flex-start; } #pfd-msgs .pfd-empty { margin-top: 4px; }
/* Conversations: full width, taller thread, narrower list */
main#main[data-route="conversations"] { max-width: none; }
.conv { grid-template-columns: 320px minmax(0, 1fr); height: calc(100vh - 170px); min-height: 560px; }
@media (max-width: 900px) { .conv { grid-template-columns: minmax(0, 1fr); height: auto; } }
/* connector cards open their own sheet */
.conn.conn-link { cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; } .conn.conn-link:hover { border-color: var(--indigo-line, var(--line)); box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); } .conn.conn-link:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.cs-h { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px; margin-bottom: 16px; } .cs-h h1 { font-size: 22px; } .cs-h .grow { flex: 1; min-width: 200px; }
.conn-ic.lg { width: 56px; height: 56px; border-radius: 16px; }
.cs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; } .cs-main { display: grid; gap: 16px; min-width: 0; } .cs-main > .card { padding: 18px 20px; }
.cs-side { padding: 18px 20px; display: grid; gap: 10px; position: sticky; top: 120px; }
.cs-st { display: grid; gap: 10px; } .cs-st > div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--panel-2); } .cs-st b { font-size: 22px; font-variant-numeric: tabular-nums; } .cs-st span { font-size: 12.5px; color: var(--muted); }
.snip { margin: 0; padding: 14px; border-radius: 12px; background: #0F172A; color: #E2E8F0; font: 12.5px/1.5 ui-monospace, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 1024px) { .cs-grid { grid-template-columns: minmax(0, 1fr); } .cs-side { position: static; } }
/* document preview */
.dv .md-h { gap: 12px; } .dv-h { display: flex; align-items: center; gap: 10px; min-width: 0; } .dv-h h2 { font-size: 16px; overflow-wrap: anywhere; } .dv-h small { font-size: 12px; }
.dv-b { background: var(--panel-2); justify-content: center; }
.dv-page { width: min(560px, 100%); margin: 0 auto; padding: 36px 40px; background: #fff; color: #111827; border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,.12); display: grid; gap: 10px; }
.dv-page h3 { font-size: 20px; text-transform: capitalize; } .dv-page .muted { color: #6B7280; } .dv-page i { display: block; height: 9px; border-radius: 4px; background: #E5E7EB; }
.dv-ext { justify-self: start; padding: 2px 8px; border-radius: 6px; background: #EEF2FF; color: #4F46E5; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.dv-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: #6B7280; }
.dv-img { max-width: 100%; max-height: 70vh; margin: 0 auto; border-radius: 8px; } .dv-frame { width: 100%; height: 70vh; border: 0; border-radius: 8px; background: #fff; }
.bt-footer a.bt-ory { text-underline-offset: 2px; } .bt-footer a.bt-ory:hover { color: var(--cyan) !important; }
/* standard theme switch (.btn-theme from _shell.html) */
.btn-theme{background:var(--panel);border:1px solid var(--line);color:#0c6a86;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:.9rem;margin-right:8px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;}
.btn-theme:hover{border-color:#574fe0;}
:root[data-theme="dark"] .btn-theme{color:#00d4e8;} :root[data-theme="dark"] .btn-theme:hover{border-color:#4f6ff5;}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .btn-theme{color:#00d4e8;}}
/* ===== standard ORYKSA assistant bubble (#ory-toggle .ory-cw-bubble, copied from _oryksa_chat_widget_dashboard.html) ===== */
@media (max-width: 820px){ .ory-cw-bubble { display:none !important; } }
.ory-cw{position:fixed;bottom:72px;left:24px;z-index:99999}
.ory-cw-bubble{width:54px;height:54px;border-radius:50%;background:#fff;cursor:pointer;box-shadow:0 8px 24px rgba(79,111,245,.45);display:flex;align-items:center;justify-content:center;border:0;padding:0;position:relative;transition:transform .2s}
.ory-cw-bubble:hover{transform:scale(1.08)}
.ory-cw-bubble img{width:100%;height:100%;object-fit:cover;border-radius:50%;position:relative;z-index:2}
.ory-cw-bubble::before,.ory-cw-bubble::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid rgba(123,63,219,.55);animation:ory-wave 2.2s infinite ease-out;z-index:1}
.ory-cw-bubble::after{animation-delay:1.1s}
@keyframes ory-wave{0%{transform:scale(1);opacity:.6}100%{transform:scale(1.9);opacity:0}}
.ory-cw-bubble .pulse{position:absolute;bottom:0;right:0;width:14px;height:14px;background:#22c55e;border-radius:50%;border:2px solid #fff;z-index:3;animation:ory-pulse 2s infinite}
@keyframes ory-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.7}}
/* the chat panel opens where the standard one does (.ory-cw-panel: bottom 148px, left 24px, 400px wide) */
@media (min-width: 821px) { .fab-panel { left: 24px; bottom: 148px; width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 178px); border-radius: 22px; box-shadow: 0 18px 56px rgba(15,23,42,.30); animation: ory-slide .25s ease-out; } }
@keyframes ory-slide{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
/* ===== standard voice section (#sec-voice, copied from the panel profile.html) ===== */
.std-voice { --bg: var(--panel-2); --card: var(--panel); --border: var(--line); --accent: var(--indigo); --cyan: #0c6a86; --text: var(--fg); --text2b: var(--fg); --muted2: var(--muted); --muted3: var(--faint); }
:root[data-theme="dark"] .std-voice { --cyan: #00d4e8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .std-voice { --cyan: #00d4e8; } }
.std-voice h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 12px; }
.std-voice .pf-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; }
.std-voice .pf-sw-t { color: var(--text2b); font-size: .84rem; }
.std-voice .pf-hint { color: var(--muted2); font-size: .74rem; margin-top: 3px; line-height: 1.45; }
.std-voice .bt-switch { position: relative; width: 44px; height: 23px; border-radius: 999px; background: var(--line); cursor: pointer; flex-shrink: 0; transition: background .2s; }
.std-voice .bt-switch.on { background: var(--accent); }
.std-voice .bt-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; background: #fff; border-radius: 50%; transition: left .2s; }
.std-voice .bt-switch.on::after { left: 22px; }
#voice-toggle { color: var(--cyan); font-size: .82rem; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; }
#voice-picker { display: none; margin-top: 16px; }
#voice-picker.open { display: block; }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.vp-card { background: var(--bg); border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; cursor: pointer; transition: border-color .15s; }
.vp-card:hover { border-color: var(--accent); }
.vp-card.on { border-color: var(--cyan); background: var(--card); }
.vp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vp-name { font-size: .86rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; }
.vp-name .ory-flag { width: 20px; height: 15px; border-radius: 2px; flex: none; }
.vp-meta { color: var(--muted2); font-size: .7rem; margin-top: 2px; }
.vp-play { background: var(--card); border: 1px solid var(--border); color: var(--cyan); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: .68rem; flex-shrink: 0; display: grid; place-items: center; padding: 0; }
.vp-play:hover, .vp-play.on { border-color: var(--cyan); }
.vp-test { margin-top: 9px; background: none; border: 0; padding: 0; color: var(--cyan); font: inherit; font-size: .72rem; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
#voice-clone-row { margin-top: 14px; border: 2px dashed var(--border); border-radius: 11px; padding: 12px 14px; cursor: pointer; }
.vc-h { display: flex; align-items: center; gap: 12px; color: var(--muted2); }
.vc-ic { width: 38px; height: 38px; border-radius: 50%; border: 2px dashed var(--accent); color: var(--cyan); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vc-t { font-weight: 700; font-size: .88rem; color: var(--text); }
