/* OENOD Business OS · production design system
   Calm enterprise: white work area, navy chrome, one cobalt accent, Inter.
   Premium motion lives only in the welcome/auth hero, the public card and the AI. */
:root {
  --navy: #0B1B3F; --navy-2: #13275A; --navy-3: #1C3470;
  --brand: #2252D1; --brand-h: #1B44B0; --brand-soft: #EEF3FD;
  --bg: #F6F7F9; --surface: #FFFFFF; --surface-2: #F9FAFB; --surface-3: #EEF0F3;
  --line: #E4E7EC; --line-2: #D0D5DD;
  --fg: #0B1220; --fg-2: #344054; --muted: #667085;
  --good: #067647; --good-soft: #ECFDF3; --warn: #B54708; --warn-soft: #FFFAEB;
  --bad: #C01048; --bad-soft: #FFF1F3; --info: #175CD3; --info-soft: #EFF8FF;
  --r: 12px; --r-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --pop: 0 16px 40px -10px rgba(16, 24, 40, .22), 0 2px 6px rgba(16, 24, 40, .06);
  --side-w: 252px;
  --f: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0D1117; --surface: #161B22; --surface-2: #1C222B; --surface-3: #262C36;
  --line: #262C36; --line-2: #343B47; --fg: #E6EDF3; --fg-2: #C2CBD6; --muted: #8B95A3;
  --brand: #4F7BEE; --brand-h: #6B90F2; --brand-soft: rgba(91, 131, 240, .14); --navy: #0A0F1A; --navy-2: #111A2E;
  --good: #3CCB7F; --good-soft: rgba(60, 203, 127, .12); --warn: #F5B544; --warn-soft: rgba(245, 181, 68, .12);
  --bad: #F97066; --bad-soft: rgba(249, 112, 102, .12); --info: #53B1FD; --info-soft: rgba(83, 177, 253, .12);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3); --pop: 0 16px 40px -10px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.5 var(--f); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; font-variant-numeric: tabular-nums; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.25; }
h1 { font-size: 24px; font-weight: 700; } h2 { font-size: 18px; font-weight: 650; } h3 { font-size: 15px; font-weight: 600; }
p { margin: 0 0 8px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.nowrap { white-space: nowrap; } .right { text-align: right; } .center { text-align: center; }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* boot */
.boot { display: grid; place-items: center; height: 100vh; background: var(--navy); }
.boot-mark { color: #fff; font-weight: 800; letter-spacing: .3em; font-size: 22px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }
.side { background: var(--navy); color: #fff; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 18px 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.brandrow { display: flex; align-items: center; gap: 10px; padding: 4px 10px 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; letter-spacing: .16em; font-size: 17px; }
.logo svg { width: 26px; height: 26px; }
.tenant { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.tenant .tl { width: 32px; height: 32px; border-radius: 8px; background: #fff; color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.tenant b { display: block; font-size: 13.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.tenant span { font-size: 11.5px; color: #9AA8C7; }
.nav-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.42); padding: 14px 10px 6px; font-weight: 600; }
.nav a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.76); padding: 8px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav a.on { background: rgba(255,255,255,.12); color: #fff; font-weight: 600; }
.nav a .badge { margin-left: auto; background: var(--brand); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; }
.side-foot { margin-top: auto; padding-top: 14px; }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px 28px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; color: var(--muted); cursor: pointer; font-size: 13.5px; }
.search kbd { margin-left: auto; font: 11px var(--f); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--muted); }
.top .sp { flex: 1; }
.iconbtn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--fg-2); cursor: pointer; }
.iconbtn:hover { background: var(--surface-2); }
.me { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px 4px 4px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }
.me b { font-size: 13px; font-weight: 600; }
.content { padding: 24px 28px 64px; max-width: 1400px; width: 100%; }
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head .t { flex: 1; min-width: 220px; }
.page-head p { color: var(--muted); margin: 4px 0 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.menu-btn { display: none; }
.banner { display: flex; gap: 10px; align-items: center; padding: 10px 28px; font-size: 13.5px; background: var(--info-soft); color: var(--info); border-bottom: 1px solid var(--line); }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner a { font-weight: 600; }

/* ---------- primitives ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); font: 600 13.5px var(--f); cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-h); }
.btn.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface-3); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 11px; }
.btn.block { width: 100%; }
.btn[disabled], .btn.busy { opacity: .6; pointer-events: none; }
.btn.ai { background: linear-gradient(135deg, #2252D1, #6B4FD8); border: 0; color: #fff; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card-h h3 { flex: 1; }
.card-b { padding: 18px; }
.card-b.flush { padding: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.kpi { padding: 16px 18px; }
.kpi .l { color: var(--muted); font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.kpi .v { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; line-height: 1.1; }
.kpi .d { font-size: 12.5px; margin-top: 6px; color: var(--muted); }
.up { color: var(--good) !important; } .down { color: var(--bad) !important; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--fg-2); white-space: nowrap; }
.pill.good { background: var(--good-soft); color: var(--good); } .pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); } .pill.info { background: var(--info-soft); color: var(--info); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }
.pill.pro { background: linear-gradient(135deg, #0B1B3F, #2252D1); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--good); }
.dot.live { box-shadow: 0 0 0 0 rgba(6,118,71,.5); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(6,118,71,0); } 100% { box-shadow: 0 0 0 0 rgba(6,118,71,0); } }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 12.5px; flex: none; background: var(--brand); }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; } .avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.person b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person > div span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty svg.i { width: 34px; height: 34px; color: var(--line-2); margin-bottom: 8px; }
.empty h3 { color: var(--fg); margin-bottom: 4px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 10px 12px; font: 600 13.5px var(--f); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--fg); border-color: var(--brand); }
.seg { display: inline-flex; background: var(--surface-3); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 5px 12px; border-radius: 7px; font: 600 12.5px var(--f); color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--fg); box-shadow: var(--shadow); }

/* tables */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tr.click { cursor: pointer; }
.t tr.click:hover td { background: var(--surface-2); }
.t .num { text-align: right; white-space: nowrap; }

/* forms */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--fg-2); }
.field .hint { font-size: 12px; color: var(--muted); }
.field .err { font-size: 12px; color: var(--bad); }
.input, select.input, textarea.input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); color: var(--fg); font: 14px var(--f); transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; min-height: 88px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.input.bad { border-color: var(--bad); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; margin-bottom: 10px; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-3); border-radius: 99px; padding: 4px 10px; font-size: 12.5px; font-weight: 500; }
.chip button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 0; font-size: 14px; line-height: 1; }

/* overlays */
.overlay { position: fixed; inset: 0; background: rgba(11, 18, 32, .45); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--surface); border-radius: 14px; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; box-shadow: var(--pop); animation: rise .2s cubic-bezier(.2,.8,.2,1); }
.modal.wide { max-width: 860px; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
.modal-h { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-h h2 { flex: 1; font-size: 17px; }
.modal-b { padding: 20px 22px; overflow-y: auto; }
.modal-f { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 14px 14px; }
.drawer-wrap { justify-content: flex-end; padding: 0; align-items: stretch; }
.drawer { width: 100%; max-width: 480px; background: var(--surface); height: 100%; display: flex; flex-direction: column; box-shadow: var(--pop); animation: slide .22s cubic-bezier(.2,.8,.2,1); }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--navy); color: #fff; padding: 11px 16px; border-radius: 10px; box-shadow: var(--pop); font-weight: 500; animation: rise .2s; max-width: 92vw; }
.toast.bad { background: #8A0F36; }
.pop { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--pop); padding: 6px; z-index: 70; min-width: 200px; }
.pop button, .pop a { display: flex; width: 100%; align-items: center; gap: 8px; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 8px; font: 500 13.5px var(--f); color: var(--fg); cursor: pointer; text-decoration: none; }
.pop button:hover, .pop a:hover { background: var(--surface-2); }

/* command palette */
.palette { max-width: 620px; align-self: flex-start; margin-top: 10vh; }
.palette input { border: 0; height: 56px; font-size: 16px; padding: 0 20px; width: 100%; background: transparent; color: var(--fg); border-bottom: 1px solid var(--line); outline: 0; border-radius: 14px 14px 0 0; }
.palette .res { max-height: 50vh; overflow-y: auto; padding: 6px; }
.palette .res a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 9px; color: var(--fg); text-decoration: none; }
.palette .res a.on, .palette .res a:hover { background: var(--brand-soft); }
.palette .res .ty { font-size: 11px; color: var(--muted); width: 72px; flex: none; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }

/* charts */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; height: 100%; justify-content: flex-end; }
.bars .b i { width: 100%; max-width: 34px; border-radius: 6px 6px 3px 3px; background: var(--brand); opacity: .9; min-height: 3px; transition: height .5s cubic-bezier(.2,.8,.2,1); }
.bars .b i.dim { background: var(--line-2); }
.bars .b span { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.meter { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.list-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }

/* setup checklist */
.setup { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.setup a { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--fg-2); font-weight: 600; font-size: 13px; text-decoration: none; }
.setup a.done { border-style: solid; border-color: var(--good-soft); background: var(--good-soft); color: var(--good); }

/* AI */
.ai-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; height: 48px; padding: 0 18px 0 14px; border-radius: 99px; border: 0; color: #fff; font: 600 14px var(--f); display: flex; align-items: center; gap: 8px; cursor: pointer; background: linear-gradient(135deg, #0B1B3F, #2252D1 60%, #6B4FD8); box-shadow: 0 10px 30px -6px rgba(34, 82, 209, .55); background-size: 200% 200%; animation: aig 6s ease infinite; }
@keyframes aig { 50% { background-position: 100% 50%; } }
.ai-panel .msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; word-wrap: break-word; line-height: 1.55; }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.assistant { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg .used { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-right: 3px; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.ai-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); }
.ai-input textarea { min-height: 44px; height: 44px; max-height: 140px; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest button { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 12px; font: 500 12.5px var(--f); color: var(--fg-2); cursor: pointer; text-align: left; }
.suggest button:hover { border-color: var(--brand); color: var(--brand); }
.ai-brief { background: linear-gradient(135deg, #0B1B3F 0%, #13275A 55%, #2252D1 130%); color: #fff; border: 0; position: relative; overflow: hidden; }
.ai-brief::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(107, 79, 216, .45), transparent 70%); pointer-events: none; }
.ai-brief .card-b { position: relative; z-index: 1; white-space: pre-wrap; }
.ai-brief .muted { color: #B7C3E0; }
.ai-brief .btn { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; }

/* ---------- auth & public hero ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--surface); }
.hero { position: relative; overflow: hidden; background: #050B1F; color: #fff; padding: 44px 56px; display: flex; flex-direction: column; }
.aurora { position: absolute; inset: -20%; filter: blur(60px); opacity: .85; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 55%; height: 55%; left: 5%; top: 10%; background: #2252D1; }
.aurora i:nth-child(2) { width: 45%; height: 45%; right: 0; top: 30%; background: #6B4FD8; animation-duration: 22s; }
.aurora i:nth-child(3) { width: 40%; height: 40%; left: 30%; bottom: 0; background: #0E7490; animation-duration: 26s; opacity: .7; }
@keyframes drift { 50% { transform: translate(8%, -6%) scale(1.08); } 100% { transform: translate(-6%, 8%) scale(.95); } }
.gridfx { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: auto 0 18px; max-width: 560px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff, #9DB5F3 40%, #C4B5FD 70%, #fff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.hero p.lead { color: #C9D3EA; font-size: 16px; max-width: 520px; }
.hero ul { list-style: none; padding: 0; margin: 22px 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; max-width: 540px; }
.hero li { display: flex; gap: 8px; align-items: center; color: #DCE4FF; font-size: 13.5px; }
.hero li svg.i { color: #8FAEEB; width: 16px; height: 16px; }
.float-cards { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.fc { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); border-radius: 12px; padding: 10px 14px; font-size: 12.5px; color: #DCE4FF; animation: bob 5s ease-in-out infinite; }
.fc b { color: #fff; display: block; font-size: 15px; }
.fc:nth-child(2) { animation-delay: -1.5s; } .fc:nth-child(3) { animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.auth-box .sub { color: var(--muted); margin-bottom: 24px; }
.auth-alt { margin-top: 18px; text-align: center; color: var(--muted); font-size: 13.5px; }
.alert { padding: 10px 12px; border-radius: 9px; margin-bottom: 14px; font-size: 13.5px; }
.alert.bad { background: var(--bad-soft); color: var(--bad); } .alert.good { background: var(--good-soft); color: var(--good); } .alert.info { background: var(--info-soft); color: var(--info); }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.pick button { text-align: left; border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; padding: 12px; cursor: pointer; font: 13px var(--f); color: var(--fg-2); }
.pick button b { display: block; color: var(--fg); font-size: 14px; margin-bottom: 2px; }
.pick button.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ---------- business card ---------- */
.bcard { --c1: #0B1B3F; --c2: #13275A; --ink: #fff; --sub: #B7C3E0; position: relative; width: 100%; max-width: 420px; aspect-ratio: 1.75; border-radius: 18px; padding: 24px; color: var(--ink); background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 30px 60px -20px rgba(11, 27, 63, .55); overflow: hidden; display: flex; flex-direction: column; }
.bcard::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.bcard .bn { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.bcard .bh { color: var(--sub); font-size: 13px; margin-top: 2px; }
.bcard .bc { margin-top: auto; font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.bcard .bqr { position: absolute; right: 18px; bottom: 18px; background: #fff; border-radius: 10px; padding: 6px; width: 84px; height: 84px; }
.bcard .bqr img, .bcard .bqr svg { width: 100%; height: 100%; display: block; }
.bcard .bm { position: absolute; right: 22px; top: 20px; font-weight: 800; letter-spacing: .2em; font-size: 11px; opacity: .8; }
.bcard.black { --c1: #050505; --c2: #1d1d1f; }
.bcard.white { --c1: #ffffff; --c2: #F2F4F7; --ink: #0B1220; --sub: #667085; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(16,24,40,.3); }
.bcard.white::before { background: radial-gradient(circle, rgba(34,82,209,.12), transparent 65%); }
.bcard.cobalt { --c1: #1B44B0; --c2: #4F7BEE; }
.bcard.graphite { --c1: #2B2F36; --c2: #4A505B; }
.bcard.gold { --c1: #1A1406; --c2: #3D2F0E; --sub: #E9D8A6; }
.bcard.gold .bn { background: linear-gradient(90deg, #F6E7B0, #C9A44C, #F6E7B0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.public { min-height: 100vh; background: radial-gradient(ellipse at top, #13275A, #050B1F 70%); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 40px 16px; }
.public .wrap { width: 100%; max-width: 460px; }
.public .panel { background: #fff; color: var(--fg); border-radius: 18px; padding: 22px; margin-top: 20px; }
.public .foot { margin-top: 26px; font-size: 12px; color: #9AA8C7; text-align: center; }
.public .foot a { color: #DCE4FF; }
.linkbtn { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; color: var(--fg); font-weight: 600; text-decoration: none !important; }
.linkbtn:hover { border-color: var(--brand); }
.badge-card { background: #fff; color: var(--fg); border-radius: 20px; padding: 28px; text-align: center; box-shadow: var(--pop); }
.badge-ok { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; font-weight: 700; font-size: 13px; }

/* QR */
.qr { background: #fff; padding: 10px; border-radius: 12px; display: inline-block; line-height: 0; border: 1px solid var(--line); }
.qr img { width: 180px; height: 180px; image-rendering: pixelated; }

/* ---------- resume ---------- */
.rb { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 20px; align-items: start; }
.rb-editor { max-height: calc(100vh - 150px); overflow-y: auto; position: sticky; top: 76px; padding-right: 4px; }
.rb-preview { background: var(--surface-3); border-radius: var(--r); padding: 24px; overflow-x: auto; }
.sheet { width: 794px; min-height: 1123px; margin: 0 auto; background: #fff; color: #111827; box-shadow: 0 10px 30px rgba(16,24,40,.12); padding: 56px 60px; font: 13px/1.55 var(--f); --acc: #2252D1; transform-origin: top left; }
.sheet h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: #0B1220; }
.sheet .hl { font-size: 15px; color: var(--acc); font-weight: 600; margin-top: 2px; }
.sheet .ct { color: #4B5563; font-size: 12px; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sheet h2 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--acc); margin: 22px 0 8px; font-weight: 700; }
.sheet .it { margin-bottom: 12px; break-inside: avoid; }
.sheet .it .r1 { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: #0B1220; }
.sheet .it .r2 { color: #4B5563; font-size: 12.5px; }
.sheet ul { margin: 5px 0 0; padding-left: 18px; } .sheet li { margin: 2px 0; }
.sheet .sk { display: flex; flex-wrap: wrap; gap: 5px; } .sheet .sk span { background: #F2F4F7; border-radius: 5px; padding: 2px 8px; font-size: 12px; }
.sheet.modern { padding: 0; display: grid; grid-template-columns: 250px 1fr; }
.sheet.modern .sb { background: #0B1B3F; color: #DCE4FF; padding: 48px 26px; }
.sheet.modern .sb h1 { color: #fff; font-size: 25px; } .sheet.modern .sb .hl { color: #9DB5F3; }
.sheet.modern .sb h2 { color: #9DB5F3; } .sheet.modern .sb .ct { color: #C9D3EA; flex-direction: column; }
.sheet.modern .sb .sk span { background: rgba(255,255,255,.1); color: #fff; }
.sheet.modern .mn { padding: 48px 36px; }
.sheet.executive { border-top: 10px solid var(--acc); }
.sheet.executive h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.01em; font-size: 34px; }
.sheet.executive h2 { color: #0B1220; border-bottom: 1.5px solid #0B1220; padding-bottom: 4px; }
.sheet.minimal h2 { color: #6B7280; letter-spacing: .2em; } .sheet.minimal .hl { color: #374151; }
.sheet.compact { padding: 40px 44px; font-size: 12px; } .sheet.compact h2 { margin-top: 14px; }
.sheet.creative { padding: 0; } .sheet.creative .hd { background: linear-gradient(135deg, var(--acc), #6B4FD8); color: #fff; padding: 46px 60px 34px; }
.sheet.creative .hd h1 { color: #fff; } .sheet.creative .hd .hl { color: #E0E7FF; } .sheet.creative .hd .ct { color: #E0E7FF; }
.sheet.creative .bd { padding: 26px 60px 56px; }
.ed-sec { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: var(--surface); }
.ed-sec > summary { padding: 13px 16px; font-weight: 650; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
.ed-sec > summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 18px; }
.ed-sec[open] > summary::after { content: "–"; }
.ed-sec .in { padding: 0 16px 14px; }
.ed-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; background: var(--surface-2); }
.tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tpls button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; padding: 10px 6px; font: 600 12.5px var(--f); cursor: pointer; color: var(--fg); position: relative; }
.tpls button.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.tpls button .lock { position: absolute; top: 4px; right: 6px; font-size: 10px; }

/* ---------- POS ---------- */
.pos { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; height: calc(100vh - 150px); min-height: 520px; }
.pos-items { display: flex; flex-direction: column; min-height: 0; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; overflow-y: auto; padding: 2px; align-content: start; }
.pitem { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 14px; text-align: left; cursor: pointer; font: 14px var(--f); color: var(--fg); min-height: 92px; display: flex; flex-direction: column; transition: border-color .15s, transform .08s; }
.pitem:hover { border-color: var(--brand); } .pitem:active { transform: scale(.98); }
.pitem b { font-weight: 600; line-height: 1.3; }
.pitem .p { margin-top: auto; font-weight: 700; color: var(--brand); }
.pitem .s { font-size: 11.5px; color: var(--muted); }
.pitem.out { opacity: .5; }
.cart { display: flex; flex-direction: column; min-height: 0; }
.cart-lines { flex: 1; overflow-y: auto; }
.cline { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.cline .n { flex: 1; min-width: 0; } .cline .n b { display: block; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 8px; }
.qty button { border: 0; background: none; width: 28px; height: 28px; cursor: pointer; font-size: 16px; color: var(--fg); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.totals { padding: 14px 16px; border-top: 1px solid var(--line); background: var(--surface-2); }
.totals .tr { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .tr.big { font-size: 20px; font-weight: 800; padding-top: 8px; }
.paybtns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px 16px; background: var(--surface-2); border-radius: 0 0 var(--r) var(--r); }
.paybtns .btn { height: 48px; }
.cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; }
.cats button { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 14px; font: 600 13px var(--f); color: var(--fg-2); cursor: pointer; white-space: nowrap; }
.cats button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- schedule ---------- */
.sched { display: grid; grid-template-columns: 200px repeat(7, minmax(110px, 1fr)); min-width: 980px; }
.sched > div { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 8px; min-height: 64px; }
.sched .hd { background: var(--surface-2); font-weight: 600; font-size: 12.5px; min-height: auto; position: sticky; top: 0; }
.sched .hd.today { color: var(--brand); }
.sched .cell { cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.sched .cell:hover { background: var(--surface-2); }
.shift { border-radius: 7px; padding: 5px 8px; font-size: 12px; font-weight: 600; color: #fff; background: var(--brand); line-height: 1.3; }
.shift.draft { background: transparent; color: var(--fg); border: 1.5px dashed var(--line-2); }
.shift small { display: block; font-weight: 500; opacity: .85; }
.offday { font-size: 11px; color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 3px 6px; font-weight: 600; }

/* ---------- clock (my day) ---------- */
.clockface { text-align: center; padding: 28px 18px; }
.clockface .time { font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.clockface .st { margin: 10px 0 20px; color: var(--muted); }
.bigbtn { width: 100%; max-width: 320px; height: 64px; border-radius: 16px; font-size: 18px; }
.kiosk { min-height: 100vh; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.kiosk .clock { font-size: 72px; font-weight: 800; letter-spacing: -.04em; }
.kiosk video { width: 320px; max-width: 90vw; border-radius: 16px; background: #000; aspect-ratio: 1; object-fit: cover; }
.pad { display: grid; grid-template-columns: repeat(3, 76px); gap: 10px; justify-content: center; margin: 14px 0; }
.pad button { height: 64px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: 700 22px var(--f); cursor: pointer; }
.pad button:active { background: rgba(255,255,255,.18); }
.kiosk .msgbox { min-height: 70px; font-size: 20px; font-weight: 700; margin-top: 14px; }

/* print: invoices, receipts, resumes */
.print-only { display: none; }
@media print {
  body { background: #fff; }
  .side, .top, .ai-fab, .tabbar, .no-print, .banner, .rb-editor, .page-head, .toasts { display: none !important; }
  .shell { display: block; } .content { padding: 0; max-width: none; }
  .rb { display: block; } .rb-preview { padding: 0; background: none; }
  .sheet { box-shadow: none; width: auto; min-height: 0; margin: 0; transform: none !important; }
  .card { box-shadow: none; border: 0; }
  .print-only { display: block; }
  @page { margin: 12mm; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .setup { grid-template-columns: repeat(3, 1fr); } .rb { grid-template-columns: 1fr; } .rb-editor { position: static; max-height: none; } }
@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 80; transform: translateX(-100%); transition: transform .22s; }
  .side.open { transform: none; box-shadow: var(--pop); }
  .menu-btn { display: inline-grid; }
  .g-main, .g3 { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; } .hero { padding: 28px 22px; min-height: 360px; } .hero ul { display: none; }
  .pos { grid-template-columns: 1fr; height: auto; } .pos-grid { max-height: 50vh; }
}
@media (max-width: 640px) {
  .content { padding: 16px 16px 90px; } .top { padding: 10px 16px; } .banner { padding: 10px 16px; }
  .g2, .g4, .form-grid { grid-template-columns: 1fr; } .setup { grid-template-columns: repeat(2, 1fr); }
  .search span.lbl, .search kbd, .me b { display: none; } .search { flex: 0 0 auto; }
  .kpi .v { font-size: 22px; } h1 { font-size: 21px; }
  .t th, .t td { padding: 10px 12px; }
  .ai-fab { right: 14px; bottom: 14px; } .ai-fab .lbl { display: none; } .ai-fab { padding: 0 14px; }
  .modal { max-height: calc(100vh - 20px); } .overlay { padding: 10px; }
  .hide-sm { display: none !important; }
  .bcard { padding: 18px; } .bcard .bqr { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }


/* ---------- commerce extras ---------- */
.bare { border: 0; background: none; outline: none; font: inherit; color: var(--fg); flex: 1; min-width: 0; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; cursor: pointer; }
.pos-bar, .cart-x { display: none; }
.receipt .tr, .invdoc .tr { display: flex; justify-content: space-between; padding: 3px 0; }
.receipt .tr.big { font-size: 18px; font-weight: 800; padding-top: 8px; }
.center { text-align: center; }
.invline { display: grid; grid-template-columns: minmax(0, 1fr) 80px 110px auto 90px 36px; gap: 8px; align-items: center; margin-bottom: 8px; }
.invline .lt { text-align: right; }
table.pl td { padding: 9px 4px; } table.pl tr.sum td { border-top: 1.5px solid var(--line-2); }
.invdoc { max-width: 760px; }

/* ---------- people extras ---------- */
.avatar.xl { width: 96px; height: 96px; font-size: 32px; margin-top: 16px; }
.badge-ok.ok { background: #DCFCE7; color: #166534; } .badge-ok.no { background: #FEE4E2; color: #B42318; }
.savebar { display: flex; justify-content: flex-end; }
.rcard { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; } .rcard:hover { transform: translateY(-2px); box-shadow: var(--pop); }
.rthumb { height: 150px; border-radius: 10px; background: var(--surface-3); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.rthumb i { display: block; height: 8px; border-radius: 4px; background: var(--line-2); } .rthumb i:first-child { width: 55%; height: 12px; background: var(--brand); } .rthumb i:nth-child(2) { width: 80%; } .rthumb i:nth-child(3) { width: 70%; }
.rthumb.modern { background: linear-gradient(90deg, var(--navy) 34%, var(--surface-3) 34%); } .rthumb.creative { background: linear-gradient(180deg, #4F46E5 38%, var(--surface-3) 38%); }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; padding: 0; } .swatch.on { box-shadow: 0 0 0 2px var(--brand); }
.titlein { font-size: 22px; font-weight: 700; border-color: transparent; background: transparent; padding-left: 0; margin-top: 4px; max-width: 420px; } .titlein:focus { border-color: var(--line-2); background: var(--surface); padding-left: 10px; }
.rb-seg { display: none; margin-bottom: 12px; }
.sharegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.sharegrid a, .sharegrid button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font: 600 12px var(--f); text-decoration: none; cursor: pointer; }
.pubactions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; } .pubactions .btn:first-child { grid-column: 1 / -1; height: 48px; }
.linkrow { color: inherit; text-decoration: none; }
.pro-hero { background: linear-gradient(135deg, #0B1B3F, #1A3478 60%, #4338CA); color: #fff; border: 0; } .pro-hero .price { font-size: 15px; margin: 12px 0 6px; color: #C9D3EA; } .pro-hero .price b { font-size: 40px; color: #fff; letter-spacing: -.03em; } .pro-hero p { color: #C9D3EA; } .pro-hero h2 { color: #fff; }
.pubsheet { overflow: hidden; } .public .sheet { box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.public .bcard { margin: 0 auto; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }

/* ======================================================================
   Phone app (≤ 760px): native-style app bar, bottom tabs, sheets, card lists
   ====================================================================== */
.tabbar, .applogo, .apptitle, .grab { display: none; }
.overlay.sheet-only { align-items: flex-end; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sheetup { from { transform: translateY(100%); } to { transform: none; } }
.content.enter { animation: enter .28s cubic-bezier(.2,.8,.2,1); }
.msheet-user { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), #1A3478); color: #fff; margin-bottom: 6px; }
.msheet-user .muted { color: rgba(255,255,255,.7) !important; }
.msheet-user > div { flex: 1; min-width: 0; }
.msheet-user .iconbtn { color: #fff; background: rgba(255,255,255,.12); border-color: transparent; }
.msheet-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 18px 4px 8px; }
.msheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.msheet-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.25; transition: transform .12s; }
.msheet-grid a:active { transform: scale(.96); }
.msheet-grid a.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); color: var(--brand); }
.msheet-grid .mi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.msheet-grid .mi svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  :root { --tab-h: 64px; --safe-b: env(safe-area-inset-bottom, 0px); }
  body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; background: var(--bg); }
  .side, .menu-btn { display: none !important; }
  /* App bar */
  .top { padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px; gap: 8px; border-bottom-color: transparent; transition: border-color .2s, box-shadow .2s; }
  body.scrolled .top { border-bottom-color: var(--line); box-shadow: 0 6px 18px -14px rgba(16,24,40,.35); }
  .applogo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); flex: 0 0 auto; }
  .applogo svg { width: 18px; height: 18px; }
  .apptitle { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
  body.scrolled .apptitle { opacity: 1; transform: none; }
  .top .sp { display: none; }
  .top .search { order: 3; width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 12px; }
  .top .iconbtn, .top .me { order: 4; }
  .top .iconbtn { width: 38px; height: 38px; border-radius: 12px; }
  .top .me { padding: 0; }
  .top [data-theme] { display: none; }
  /* Content */
  .content { padding: 4px 16px calc(var(--tab-h) + var(--safe-b) + 88px); }
  .page-head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 18px; }
  .page-head h1 { font-size: 28px; letter-spacing: -.025em; line-height: 1.15; }
  .page-head .actions { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; flex-wrap: nowrap; }
  .page-head .actions::-webkit-scrollbar { display: none; }
  .page-head .actions .btn { flex: 0 0 auto; height: 40px; border-radius: 12px; }
  .card { border-radius: 18px; }
  .card-h { padding: 14px 16px; } .card-b { padding: 16px; }
  .kpi { padding: 16px; } .kpi .v { font-size: 24px; }
  .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .btn { min-height: 42px; border-radius: 12px; }
  .btn.sm { min-height: 34px; border-radius: 10px; }
  .input { height: 46px; border-radius: 12px; font-size: 16px; } /* 16px stops iOS zoom */
  textarea.input { height: auto; }
  .tabs { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: 0 0 auto; }
  .list-row { min-height: 52px; }
  /* Tables become tappable card lists */
  .table-wrap { overflow: visible; }
  table.t.stackable thead { display: none; }
  table.t.stackable, table.t.stackable tbody { display: block; }
  table.t.stackable tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.t.stackable tr:last-child { border-bottom: 0; }
  table.t.stackable tr.click:active { background: var(--surface-2); }
  table.t.stackable td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0; border: 0; grid-column: 1 / -1; font-size: 14px; min-width: 0; }
  table.t.stackable td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 500; flex: 0 0 auto; }
  table.t.stackable td:first-child { grid-column: 1 / -1; margin-bottom: 6px; font-weight: 600; }
  table.t.stackable td:first-child::before, table.t.stackable td:empty, table.t.stackable td[data-label=""]::before { display: none; content: none; }
  table.t.stackable td.right { justify-content: flex-end; margin-top: 6px; }
  table.t.stackable td.num { text-align: right; }
  table.t.stackable td.hide-sm { display: none !important; }
  /* Bottom tab bar */
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(var(--tab-h) + var(--safe-b)); padding: 6px 6px var(--safe-b); background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 10.5px; font-weight: 600; text-decoration: none; border-radius: 14px; position: relative; transition: color .15s; }
  .tabbar a svg { width: 22px; height: 22px; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
  .tabbar a:active svg { transform: scale(.88); }
  .tabbar a.on { color: var(--brand); }
  .tabbar a.on::before { content: ""; position: absolute; top: 2px; width: 46px; height: 30px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 13%, transparent); z-index: -1; }
  /* AI button floats above the tabs */
  .ai-fab { right: 16px; bottom: calc(var(--tab-h) + var(--safe-b) + 14px); width: 54px; height: 54px; padding: 0; border-radius: 18px; justify-content: center; }
  .ai-fab .lbl { display: none; }
  .toasts { bottom: calc(var(--tab-h) + var(--safe-b) + 12px) !important; left: 16px; right: 16px; transform: none; }
  /* Dialogs become bottom sheets */
  .overlay { align-items: flex-end; padding: 0; }
  .overlay .modal, .overlay .modal.wide { max-width: none; width: 100%; max-height: calc(100vh - 36px - env(safe-area-inset-top, 0px)); border-radius: 22px 22px 0 0; animation: sheetup .28s cubic-bezier(.2,.8,.2,1); padding-bottom: var(--safe-b); position: relative; }
  .overlay .grab { display: block; width: 38px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 8px auto 0; }
  .modal-h { padding: 10px 18px 12px; border-bottom: 0; }
  .modal-h h2 { font-size: 19px; }
  .modal-b { padding: 4px 18px 18px; }
  .modal-f { border-radius: 0; padding: 12px 18px; position: sticky; bottom: 0; }
  .modal-f .btn { flex: 1; }
  .drawer { width: 100% !important; max-width: none !important; border-radius: 22px 22px 0 0; height: calc(100vh - 40px) !important; top: auto !important; animation: sheetup .28s cubic-bezier(.2,.8,.2,1); }
  .pop { left: 12px !important; right: 12px !important; }
  /* Time clock gets a big, thumb-friendly button */
  .clockface .time { font-size: 56px; }
  .clockface .bigbtn { width: 100%; height: 64px; font-size: 18px; border-radius: 18px; }
  .banner { padding: 10px 16px; font-size: 13px; }

  /* POS on a phone: products full screen, cart slides up as a sheet */
  .pos { display: block; height: auto; }
  .pos-grid { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 80px; }
  .pitem { min-height: 104px; border-radius: 16px; }
  .pos .cart { display: none; }
  .pos.cart-open .cart { display: flex; position: fixed; inset: 0; z-index: 55; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: var(--safe-b); animation: sheetup .26s cubic-bezier(.2,.8,.2,1); }
  .pos .cart-x { display: inline-grid; }
  .pos.has-items .pos-bar { display: flex; }
  .pos-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 10px); z-index: 45; align-items: center; justify-content: space-between; gap: 10px; height: 56px; padding: 0 18px; border: 0; border-radius: 18px; background: var(--navy); color: #fff; font: 600 14px var(--f); box-shadow: 0 14px 30px -10px rgba(11,27,63,.6); animation: enter .2s; }
  .pos-bar b { font-size: 18px; }
  .pos.has-items ~ .ai-fab, body:has(.pos.has-items) .ai-fab { display: none; }
  .paybtns .btn { height: 54px; }
  .invline { grid-template-columns: 1fr 1fr; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
  .invline input[data-k=description] { grid-column: 1 / -1; }
  .invline .lt { text-align: left; }

  /* Resume builder: switch between editing and a scaled live preview */
  .rb-seg { display: inline-flex; width: 100%; } .rb-seg button { flex: 1; height: 36px; }
  .rb .rb-preview { display: none; padding: 8px; } .rb.show-preview .rb-preview { display: block; } .rb.show-preview .rb-editor { display: none; }
  .titlein { font-size: 24px; max-width: none; }
  .bcard { max-width: none; }
  .public { padding: calc(24px + env(safe-area-inset-top, 0px)) 14px 30px; }
}
@media (max-width: 760px) and (display-mode: standalone) { .top { padding-top: calc(14px + env(safe-area-inset-top, 0px)); } }
.logbox { background: #0B1220; color: #C9D3EA; border-radius: 10px; padding: 12px; font: 11.5px/1.5 ui-monospace, Menlo, monospace; max-height: 360px; overflow: auto; white-space: pre-wrap; word-break: break-all; }
.maint-on { border-color: #FDA29B; }

/* ======================================================================
   Welcome (landing) page
   ====================================================================== */
.lp { background: #fff; color: #0B1220; --lpw: 1180px; overflow-x: hidden; }
.lp-in { max-width: var(--lpw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.lp h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 14px; }
.lp h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.lp p { color: #475467; line-height: 1.6; }
.lp .lead { font-size: 18px; color: #C9D3EA; max-width: 580px; } .lp .lead.dark { color: #475467; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9DB5F3; margin-bottom: 14px; }
.eyebrow svg { width: 15px; height: 15px; } .eyebrow.dark { color: #2252D1; }
.btn.ghost-w { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.btn.ghost-w:hover { background: rgba(255,255,255,.16); }
.btn.lg { height: 52px; padding: 0 24px; font-size: 15.5px; border-radius: 12px; }
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding: 16px 0; transition: background .25s, padding .25s, box-shadow .25s; }
.lp-nav .lp-in { display: flex; align-items: center; gap: 10px; }
.lp-nav.solid { background: rgba(5,11,31,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 0; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.lp-links { display: flex; gap: 26px; margin-left: 40px; } .lp-links a { color: #C9D3EA; font-weight: 500; font-size: 14.5px; text-decoration: none; } .lp-links a:hover { color: #fff; }
.lp-nav .sp { flex: 1; }
.lp-hero { position: relative; overflow: hidden; background: #050B1F; color: #fff; padding: 140px 0 90px; }
.lp-hero .lp-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin-bottom: 22px; }
.lp-hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff, #9DB5F3 40%, #C4B5FD 70%, #fff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.lp .fine { color: #8C9BBE; font-size: 13px; margin-top: 16px; }
.lp-mock { position: relative; height: 470px; perspective: 1400px; }
.mock-win { position: absolute; inset: 0 40px 40px 0; background: #fff; border-radius: 16px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); transform: rotateY(-9deg) rotateX(4deg); overflow: hidden; color: #0B1220; animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 50% { transform: rotateY(-7deg) rotateX(3deg) translateY(-8px); } }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #EEF0F3; font-size: 12px; color: #667085; } .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E4E7EC; } .mock-bar span { margin-left: 10px; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .mock-kpis div { border: 1px solid #EEF0F3; border-radius: 12px; padding: 12px; } .mock-kpis small { display: block; color: #667085; font-size: 11px; } .mock-kpis b { font-size: 22px; letter-spacing: -.03em; } .mock-kpis em { display: block; font-style: normal; font-size: 11px; color: #667085; } .mock-kpis em.up { color: #079455; }
.mock-chart { height: 130px; display: flex; align-items: flex-end; gap: 7px; padding: 10px; border: 1px solid #EEF0F3; border-radius: 12px; } .mock-chart i { flex: 1; background: linear-gradient(180deg, #4F7BEE, #2252D1); border-radius: 5px 5px 2px 2px; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; } .mock-chart i:nth-child(odd) { animation-delay: .1s; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }
.mock-ai { display: flex; gap: 10px; align-items: flex-start; background: linear-gradient(135deg, #0B1B3F, #2252D1); color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; } .mock-ai svg { width: 18px; height: 18px; flex: none; margin-top: 2px; } .mock-ai b { display: block; } .mock-ai span { color: #DCE4FF; }
.mock-phone { position: absolute; right: 0; bottom: 0; width: 190px; height: 360px; background: #0B1220; border-radius: 34px; padding: 10px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12); animation: floaty2 7s ease-in-out infinite; }
@keyframes floaty2 { 50% { transform: translateY(-12px); } }
.mp-notch { width: 70px; height: 18px; background: #0B1220; border-radius: 0 0 12px 12px; margin: 0 auto -18px; position: relative; z-index: 1; }
.mp-screen { background: #F6F7F9; color: #0B1220; border-radius: 26px; height: 100%; padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.mp-screen small { color: #667085; font-size: 11px; } .mp-time { font-size: 34px; font-weight: 800; letter-spacing: -.04em; } .mp-btn { background: #2252D1; color: #fff; border-radius: 12px; padding: 10px; font-weight: 700; font-size: 13px; }
.mp-row { display: flex; justify-content: space-between; background: #fff; border-radius: 10px; padding: 7px 10px; font-size: 11px; } .mp-row span { color: #667085; }
.mp-qr { margin-top: auto; background: #fff; border-radius: 12px; padding: 6px; align-self: center; } .mp-qr img { width: 70px; height: 70px; display: block; }
.lp-strip { background: #0B1B3F; color: #fff; padding: 26px 0; } .lp-strip .lp-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .lp-strip b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; } .lp-strip span { color: #9AA8C7; font-size: 14px; }
.lp-sec { padding: 100px 0; position: relative; overflow: hidden; } .lp-sec.alt { background: #F6F7F9; } .lp-sec.dark { background: #050B1F; color: #fff; } .lp-sec.dark h2 { color: #fff; } .lp-sec.dark p { color: #C9D3EA; }
.lp-head { max-width: 720px; margin: 0 auto 48px; text-align: center; } .lp-head p { font-size: 17px; }
.lp-problem { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.lp-pains { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pain { border: 1px solid #EAECF0; border-radius: 16px; padding: 20px; } .pain b { font-size: 16px; } .pain p { margin-top: 6px; font-size: 14.5px; }
.pain.fix { grid-column: 1 / -1; background: linear-gradient(135deg, #0B1B3F, #2252D1); border: 0; color: #fff; } .pain.fix p { color: #DCE4FF; } .pain.fix b { display: flex; gap: 8px; align-items: center; }
.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .lp-grid.three { grid-template-columns: repeat(3, 1fr); }
.lp-card { background: #fff; border: 1px solid #EAECF0; border-radius: 18px; padding: 24px; transition: transform .25s, box-shadow .25s, border-color .25s; } .lp-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(16,24,40,.25); border-color: #C7D4F5; }
.lp-card p { font-size: 14.5px; } .lp-card.flat h3 { display: flex; align-items: center; gap: 8px; } .lp-card.flat h3 svg { color: #2252D1; width: 18px; height: 18px; }
.lp-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #EEF3FF, #E0E7FF); color: #2252D1; margin-bottom: 16px; } .lp-ic svg { width: 22px; height: 22px; }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .lp-split.rev > :first-child { order: 0; }
.lp-ai-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; } .lp-ai-list b { color: #fff; } .lp-ai-list p { font-size: 14.5px; margin-top: 4px; }
.lp-chat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.lp-chat .msg { border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.55; max-width: 88%; } .lp-chat .me { align-self: flex-end; background: #2252D1; color: #fff; } .lp-chat .bot { background: #fff; color: #0B1220; } .lp-chat .src { display: block; color: #667085; font-size: 11.5px; margin-top: 6px; }
.lp-cards-demo { position: relative; height: 340px; } .lp-cards-demo .bcard { position: absolute; width: 380px; left: 0; top: 0; } .lp-cards-demo .bcard.tilt { left: 120px; top: 120px; transform: rotate(-6deg); }
.lp-ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; } .lp-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: #344054; } .lp-ticks svg { color: #079455; width: 20px; height: 20px; flex: none; margin-top: 1px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; } .lp-chips span { background: #fff; border: 1px solid #EAECF0; border-radius: 99px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: #344054; }
.lp-industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .lp-industries div { background: #fff; border: 1px solid #EAECF0; border-radius: 16px; padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; } .lp-industries svg { color: #2252D1; width: 24px; height: 24px; }
.lp-sec-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: start; }
.lp-price { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.lp-plan { background: #fff; border: 1px solid #EAECF0; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; position: relative; } .lp-plan.pop { border: 2px solid #2252D1; box-shadow: 0 30px 60px -30px rgba(34,82,209,.5); } .lp-plan.person { background: #0B1B3F; color: #fff; border: 0; } .lp-plan.person li { color: #DCE4FF; } .lp-plan.person .amt span { color: #9AA8C7; }
.lp-plan .tag { position: absolute; top: -12px; left: 24px; background: #2252D1; color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 4px 10px; }
.lp-plan .amt { margin: 8px 0 18px; } .lp-plan .amt b { font-size: 38px; font-weight: 800; letter-spacing: -.04em; } .lp-plan .amt span { color: #667085; margin-left: 4px; font-size: 14px; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; } .lp-plan li { display: flex; gap: 8px; font-size: 14px; color: #344054; } .lp-plan li svg { width: 17px; height: 17px; color: #2252D1; flex: none; margin-top: 1px; }
.btn.block { width: 100%; justify-content: center; }
.lp-faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; } .lp-faq details { border-bottom: 1px solid #EAECF0; padding: 18px 0; } .lp-faq summary { font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; } .lp-faq summary::after { content: "+"; color: #2252D1; font-size: 22px; line-height: 1; } .lp-faq details[open] summary::after { content: "–"; } .lp-faq p { margin-top: 10px; }
.lp-final { position: relative; overflow: hidden; background: #050B1F; color: #fff; padding: 110px 0; } .lp-final h2 { color: #fff; } .lp-final .lead { margin: 0 auto; }
.lp-foot { background: #050B1F; border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0 calc(26px + env(safe-area-inset-bottom, 0px)); } .lp-foot .lp-in { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; } .lp-foot a:not(.logo) { color: #9AA8C7; font-size: 14px; text-decoration: none; } .lp-foot .sp { flex: 1; } .lp-foot .muted { color: #667085 !important; font-size: 13px; }
.rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); } .rise.in { opacity: 1; transform: none; }
@media (max-width: 1080px) {
  .lp-hero .lp-in, .lp-split, .lp-problem, .lp-sec-grid, .lp-faq { grid-template-columns: 1fr; gap: 40px; }
  .lp-grid { grid-template-columns: repeat(2, 1fr); } .lp-price { grid-template-columns: repeat(2, 1fr); }
  .lp-links { display: none; }
}
@media (max-width: 640px) {
  .lp-in { padding: 0 18px; }
  .lp-nav .btn.ghost-w { display: none; } .lp-nav .btn { height: 38px; padding: 0 14px; }
  .lp-hero { padding: 104px 0 56px; } .lp-hero h1 { font-size: 38px; } .lp .lead { font-size: 16.5px; }
  .lp-cta .btn { flex: 1 1 100%; justify-content: center; }
  .lp-mock { height: 330px; } .mock-win { inset: 0 50px 50px 0; transform: none; animation: none; } .mock-kpis b { font-size: 16px; } .mock-chart { height: 70px; } .mock-ai { display: none; } .mock-phone { width: 140px; height: 270px; border-radius: 28px; } .mp-time { font-size: 24px; } .mp-qr { display: none; }
  .lp-strip .lp-in { grid-template-columns: 1fr 1fr; } .lp-strip b { font-size: 24px; }
  .lp-sec { padding: 64px 0; } .lp-grid, .lp-grid.three, .lp-pains, .lp-ai-list, .lp-price { grid-template-columns: 1fr; } .lp-industries { grid-template-columns: 1fr 1fr; }
  .lp-cards-demo { height: 300px; } .lp-cards-demo .bcard { width: 88%; } .lp-cards-demo .bcard.tilt { left: 12%; top: 110px; }
  .lp-head { text-align: left; margin-bottom: 30px; }
}
/* sign-in hero */
.hero-top { display: flex; align-items: center; justify-content: space-between; }
.hero-back { color: #C9D3EA; font-size: 13.5px; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: 6px 14px; } .hero-back:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-mid { margin: auto 0; padding: 30px 0; }
.hero-mid h1 { margin: 0 0 16px; }
.hero-proof { display: grid; gap: 12px; margin-top: 26px; max-width: 540px; }
.hero-proof div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 12px 16px; backdrop-filter: blur(8px); }
.hero-proof b { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14.5px; } .hero-proof b svg { width: 17px; height: 17px; color: #9DB5F3; }
.hero-proof span { display: block; color: #C9D3EA; font-size: 13.5px; margin-top: 3px; line-height: 1.5; }
.hero-trust { display: flex; align-items: center; gap: 8px; color: #8C9BBE; font-size: 12.5px; margin-top: 18px; } .hero-trust svg { width: 15px; height: 15px; }
@media (max-width: 980px) { .hero-proof, .hero-trust, .hero .float-cards { display: none; } .hero-mid { padding: 22px 0 6px; } .hero .lead { font-size: 15px; } }
/* download page */
.dl-hero { padding: 130px 0 70px; }
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dl-card { background: #fff; border: 1px solid #EAECF0; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.dl-card.mine { border: 2px solid #2252D1; box-shadow: 0 30px 60px -30px rgba(34,82,209,.45); }
.dl-card .tag { position: absolute; top: -12px; left: 22px; background: #2252D1; color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 4px 10px; }
.dl-ic { width: 54px; height: 54px; border-radius: 16px; background: #0B1B3F; color: #fff; display: grid; place-items: center; } .dl-ic svg { width: 28px; height: 28px; }
.dl-card p { font-size: 14.5px; flex: 1; }
.dl-soon { display: block; text-align: center; border: 1px dashed #D0D5DD; border-radius: 12px; padding: 11px; font-size: 13.5px; font-weight: 600; color: #667085; }
.dl-card details { border-top: 1px solid #EAECF0; padding-top: 10px; } .dl-card summary { font-weight: 700; font-size: 14px; color: #2252D1; cursor: pointer; }
.dl-card ol { margin: 10px 0; padding-left: 20px; font-size: 14px; color: #344054; display: grid; gap: 6px; }
.dl-qr { display: flex; gap: 24px; align-items: center; background: #fff; border: 1px solid #EAECF0; border-radius: 20px; padding: 24px; margin-top: 24px; } .dl-qr .qr img { display: block; }
@media (max-width: 1080px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dl-grid { grid-template-columns: 1fr; } .dl-qr { display: none; } .dl-hero { padding: 100px 0 50px; } }

/* =========================================================================
   v6 look for the work areas: wordmark, midnight command banners with live
   aurora + network, calm motion, and the live activity components.
   ========================================================================= */
@keyframes wAur1 { 0% { transform: translate(-10%, -10%) scale(1); } 100% { transform: translate(18%, 12%) scale(1.25); } }
@keyframes wAur2 { 0% { transform: translate(10%, 0) scale(1.1); } 100% { transform: translate(-16%, 14%) scale(.9); } }
@keyframes wAur3 { 0% { transform: translate(0, 10%) scale(.9); } 100% { transform: translate(8%, -14%) scale(1.2); } }
@keyframes wGrid { to { background-position: 0 64px, 64px 0; } }
@keyframes wUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wShine { to { background-position: 200% 50%; } }
@keyframes wPulse { 0% { box-shadow: 0 0 0 0 rgba(108, 224, 162, .6); } 100% { box-shadow: 0 0 0 9px rgba(108, 224, 162, 0); } }
.wordmark { display: block; height: 22px; aspect-ratio: 581 / 164; background: #fff; -webkit-mask: url('oenod-wordmark.png') center / contain no-repeat; mask: url('oenod-wordmark.png') center / contain no-repeat; }
.brandrow { flex-wrap: wrap; gap: 6px 10px; padding-bottom: 14px; }
.logo.wm .wordmark { height: 24px; }
.brand-sub { flex-basis: 100%; color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.sa-badge { background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; }
.nav a { position: relative; }
.nav a.on::before { content: ""; position: absolute; left: -12px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #8FB4FF, #fff); }
.side-me { display: flex; align-items: center; gap: 10px; padding: 12px 10px; margin-bottom: 6px; border-top: 1px solid rgba(255,255,255,.08); }
.side-me b { display: block; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-me span:not(.ldot):not(.avatar) { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn.ai-top { border: 0; color: #fff; background: linear-gradient(135deg, #2252D1, #4B6BFF 55%, #6D4BFF); position: relative; overflow: hidden; box-shadow: 0 8px 22px -10px rgba(76,107,255,.9); }
.btn.ai-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%); background-size: 250% 100%; animation: wShine 3.5s linear infinite; pointer-events: none; }
.btn.ai-top:hover { filter: brightness(1.06); }
@media (min-width: 761px) { .ai-fab { width: 52px; height: 52px; padding: 0; justify-content: center; } .ai-fab .lbl { display: none; } }
@media (max-width: 760px) { .btn.ai-top { display: none; } }

/* background kit */
.wbg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.w-aurora { position: absolute; inset: -20%; pointer-events: none; }
.w-aurora i { position: absolute; width: 55%; height: 60%; border-radius: 50%; filter: blur(90px); opacity: .55; animation: wAur1 18s ease-in-out infinite alternate; }
.w-aurora i:nth-child(1) { left: 5%; top: 0; background: #2252D1; }
.w-aurora i:nth-child(2) { right: 0; top: 10%; background: #6D4BFF; opacity: .4; animation-name: wAur2; animation-duration: 22s; }
.w-aurora i:nth-child(3) { left: 30%; bottom: 0; background: #0EA5E9; opacity: .32; animation-name: wAur3; animation-duration: 26s; }
.w-grid { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%; background-image: linear-gradient(rgba(140,170,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(140,170,255,.16) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%; animation: wGrid 3.5s linear infinite; -webkit-mask: linear-gradient(0deg, #000 10%, transparent 85%); mask: linear-gradient(0deg, #000 10%, transparent 85%); }
.wbg canvas.fx { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.w-fade { display: none; }

/* command banner on the dashboard and HQ */
.page-head.w-banner { position: relative; overflow: hidden; isolation: isolate; background: #050B1F; color: #fff; border-radius: 18px; padding: 28px 30px; margin-bottom: 20px; align-items: center; box-shadow: 0 30px 60px -36px rgba(34, 82, 209, .8); }
.page-head.w-banner .wbg { z-index: -1; }
.page-head.w-banner .w-aurora i { opacity: .5; }
.page-head.w-banner .w-grid { height: 120%; opacity: .55; }
.page-head.w-banner .eyebrow { color: #8FB4FF; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; animation: wUp .6s both; }
.page-head.w-banner h1 { color: #fff; font-size: 30px; margin-top: 6px; animation: wUp .6s both; }
.page-head.w-banner p { color: #A9B6D3; animation: wUp .6s .1s both; }
.page-head.w-banner .btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(8px); }
.page-head.w-banner .btn:hover { background: rgba(255,255,255,.14); }
.page-head.w-banner .btn.ai { background: #fff; color: #0B1220; border-color: #fff; }

/* calm motion in work areas */
.content.enter > .card, .content.enter > .grid > .card, .content.enter .stack > .card { animation: wUp .42s cubic-bezier(.2,.7,.2,1) both; }
.content.enter .grid > .card:nth-child(2) { animation-delay: .04s; } .content.enter .grid > .card:nth-child(3) { animation-delay: .08s; } .content.enter .grid > .card:nth-child(n+4) { animation-delay: .12s; }
.card.kpi { transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .2s, box-shadow .25s; }
.card.kpi:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 16px 30px -18px rgba(34, 82, 209, .45); }

/* live activity */
.ldot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--line-2, #D0D5DD); box-shadow: 0 0 0 2px var(--surface); }
.ldot.active { background: #12B76A; animation: wPulse 1.6s infinite; }
.ldot.break { background: #F79009; }
.ldot.shift { background: var(--brand); }
.live-row { position: relative; color: inherit; text-decoration: none; }
.live-row .ldot { position: absolute; left: 24px; top: 30px; }
.live-row .small { color: var(--fg-2, var(--fg)); }
a.live-row:hover { background: var(--bg); }
.feed { display: grid; }
.feed-i { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.feed-i:first-child { border-top: 0; }
.feed-i time { white-space: nowrap; padding-top: 2px; }
.feed-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.feed-ic svg { width: 15px; height: 15px; }
.live-now { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); margin-bottom: 12px; }
.live-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.live-stats div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.live-stats small { display: block; color: var(--muted); font-size: 11.5px; }
.live-stats b { font-size: 16px; }
@media (max-width: 760px) { .page-head.w-banner { padding: 22px 18px; border-radius: 16px; } .page-head.w-banner h1 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .w-aurora i, .w-grid, .btn.ai-top::after, .ldot.active { animation: none; } }
.live-counts { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); padding-bottom: 8px; } .live-counts span { display: inline-flex; align-items: center; gap: 6px; } .live-counts .ldot { width: 8px; height: 8px; box-shadow: none; animation: none; }

/* ===================== OENOD 2.0 ===================== */
/* shared bits */
.okbox { display: flex; gap: 10px; align-items: flex-start; background: var(--good-soft); color: var(--good); border: 1px solid color-mix(in srgb, var(--good) 25%, transparent); border-radius: var(--r); padding: 12px 14px; margin: 10px 0; }
.okbox b { color: inherit; } .okbox .small, .okbox div { color: var(--fg-2); }
.okbox.big { padding: 18px; font-size: 15px; } .okbox.big svg { width: 28px; height: 28px; flex: none; }
.codebox { font: 500 13px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; word-break: break-all; user-select: all; }
.prose { line-height: 1.7; color: var(--fg-2); } .prose p { margin: 0 0 12px; } .prose h3 { margin: 18px 0 8px; color: var(--fg); }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 16px; margin: 6px 0; }
.kv > div { display: flex; flex-direction: column; min-width: 0; } .kv .full { grid-column: 1 / -1; }
.kv span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; } .kv b { font-weight: 600; overflow-wrap: anywhere; }
.sec-t { margin: 4px 0 -4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 10px 0; } .ticks li { padding: 4px 0 4px 24px; position: relative; } .ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--good); font-weight: 700; }
.stars { color: #F5A524; letter-spacing: 1px; } .stars .muted { color: var(--line-2); }
.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; max-height: 340px; overflow: auto; padding: 2px; }
.pickgrid label { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.pickgrid label .muted { margin-left: auto; } .pickgrid label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.form-grid.tight { gap: 6px; }
.dropdown { position: relative; display: inline-flex; }
.tbody { color: var(--fg-2); }
.ai-out { background: var(--brand-soft); border-radius: var(--r); padding: 12px 14px; margin-top: 12px; } .ai-out p { margin: 6px 0 0; color: var(--fg); }
.flowcard { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; } .flowcard:hover { border-color: var(--brand); transform: translateY(-1px); }
.kpis .kpi { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* notification bell */
.bell { position: relative; } .bell .bdg { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: var(--bad); color: #fff; font: 700 10px/16px var(--f); font-style: normal; text-align: center; }
.bellpop { width: min(380px, calc(100vw - 16px)); max-height: 70vh; overflow: auto; padding: 0; }
.bell-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); }
.pop a.bell-i { align-items: flex-start; border-radius: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.bell-i.new { background: var(--brand-soft); } .bell-i span { display: block; color: var(--fg-2); font-weight: 400; font-size: 13px; } .bell-i time { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }

/* kanban */
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.kcol { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; min-height: 200px; }
.kcol-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.kcol-b { padding: 8px; display: flex; flex-direction: column; gap: 8px; flex: 1; transition: background .15s; } .kcol-b.over { background: var(--brand-soft); }
.kcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; cursor: grab; box-shadow: var(--shadow); } .kcard:hover { border-color: var(--line-2); }
.kcard.dragging { opacity: .5; } .kempty { color: var(--muted); font-size: 12px; text-align: center; padding: 18px 0; border: 1px dashed var(--line-2); border-radius: var(--r-sm); }

/* steps, checklists, lessons */
.stepcheck { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: inline-grid; place-items: center; cursor: pointer; color: #fff; font: 700 11px var(--f); padding: 0; }
.stepcheck:hover:not(:disabled) { border-color: var(--good); } .stepcheck svg { width: 14px; height: 14px; }
.steprow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .steprow:last-child { border: 0; }
.steprow.done .stepcheck, .lessonrow.done .stepcheck { background: var(--good); border-color: var(--good); } .steprow.done b { text-decoration: line-through; color: var(--muted); }
.steprow.late:not(.done) .stepcheck { border-color: var(--warn); }
.stepedit { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; }
.stepn { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; margin-top: 6px; }
.ckrow { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); cursor: pointer; } .ckrow:last-child { border: 0; }
.ckrow input { width: 18px; height: 18px; accent-color: var(--good); } .ckrow.done .grow { color: var(--muted); text-decoration: line-through; }
.lessonrow { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; border-radius: var(--r-sm); padding: 8px; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.lessonrow:hover { background: var(--surface-2); } .lessonrow.on { background: var(--brand-soft); } .lessonrow .stepcheck { color: var(--fg-2); } .lessonrow.done .stepcheck { color: #fff; }

/* academy & video */
.course { display: block; text-decoration: none; color: inherit; overflow: hidden; } .course:hover { border-color: var(--brand); }
.course-top { display: flex; align-items: center; gap: 8px; padding: 16px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--brand)); font-weight: 600; min-height: 74px; }
.course-top em { margin-left: auto; font-style: normal; font-size: 11px; background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 99px; }
.course-top.safety { background: linear-gradient(135deg, #7A1C1C, #D9480F); } .course-top.service, .course-top.customerservice { background: linear-gradient(135deg, #0B4F3C, #12B886); } .course-top.sales { background: linear-gradient(135deg, #3B1C7A, #7048E8); } .course-top.compliance { background: linear-gradient(135deg, #1F2937, #475467); }
.video { position: relative; padding-top: 56.25%; border-radius: var(--r); overflow: hidden; background: #000; margin-bottom: 14px; } .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* meet */
.meetframe { position: relative; height: min(72vh, 640px); border-radius: var(--r); overflow: hidden; background: var(--navy); }
.meetframe iframe { width: 100%; height: 100%; border: 0; }
.meet-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; gap: 6px; padding: 20px; background: radial-gradient(circle at 50% 30%, var(--navy-3), var(--navy)); }
.meet-cover .muted { color: rgba(255,255,255,.7); } .meet-ic { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; margin-bottom: 8px; } .meet-ic svg { width: 30px; height: 30px; }
.sigpreview { font: italic 32px "Brush Script MT", "Segoe Script", cursive; min-height: 56px; border-bottom: 2px solid var(--line-2); margin-top: 10px; padding: 6px 4px; color: var(--navy); }

/* feed & perks */
.post .post-body { margin: 10px 0; white-space: normal; } .post-act { gap: 12px; } .linkbtn.on { color: var(--bad); }
.cmt { padding: 6px 10px; background: var(--surface-2); border-radius: var(--r-sm); margin-top: 6px; font-size: 13px; }
.perk-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.reply { background: var(--surface-2); border-left: 3px solid var(--brand); padding: 8px 12px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-top: 10px; font-size: 13px; } .reply p { margin: 4px 0 0; }

/* money */
.duo { display: flex; align-items: flex-end; gap: 3px; height: 180px; }
.duo-c { flex: 1; display: flex; align-items: flex-end; gap: 1px; height: 100%; position: relative; min-width: 0; }
.duo-c i { flex: 1; border-radius: 3px 3px 0 0; min-height: 2px; } .duo-c i.a, .lg-a { background: var(--brand); } .duo-c i.b, .lg-b { background: var(--warn); }
.duo-c span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--muted); }
.lg-a, .lg-b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 10px; }
.rangebar { gap: 8px; margin-bottom: 14px; } .rangebar .input { max-width: 160px; }
.resv { border-left: 3px solid var(--brand); padding-left: 12px; } .resv.seated { border-color: var(--good); } .resv.cancelled, .resv.no_show { border-color: var(--line-2); opacity: .65; }
.resv-t { font-weight: 700; font-size: 16px; min-width: 70px; }
.loybar { display: flex; align-items: center; gap: 10px; background: var(--brand-soft); border-radius: var(--r-sm); padding: 8px 12px; margin-bottom: 8px; font-size: 13px; }
.paybtns.four { grid-template-columns: repeat(4, 1fr); }

/* growth, apps, agents */
.growth-score { display: flex; gap: 22px; align-items: center; } .growth-score h2 { margin: 0 0 4px; }
.ring { --p: 0; --c: var(--brand); width: 120px; height: 120px; flex: none; border-radius: 50%; display: grid; place-items: center; align-content: center; background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), var(--surface-3) 0); }
.ring b { font-size: 32px; line-height: 1; } .ring span { font-size: 12px; color: var(--muted); } .ring.good { --c: var(--good); } .ring.warn { --c: var(--warn); } .ring.bad { --c: var(--bad); }
.appcard { text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; } .appcard:hover { border-color: var(--brand); }
.applogo { --h: 220; width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 60% 42%), hsl(calc(var(--h) + 40) 70% 55%)); }
.agent.off { opacity: .6; }
.chat { display: flex; flex-direction: column; gap: 10px; min-height: 300px; max-height: 60vh; overflow: auto; padding: 4px 2px 10px; }
.chat .msg { max-width: 86%; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); white-space: pre-wrap; }
.chat .msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); }
.chat-in { display: flex; gap: 8px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 10px; } .chat-in .input { flex: 1; resize: none; }
.modgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.modrow { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; } .modrow input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); }
.modrow:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); } .modrow.locked { opacity: .55; cursor: not-allowed; }
.thread { display: flex; flex-direction: column; gap: 10px; }
.tmsg { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; background: var(--surface); } .tmsg.staff { background: var(--brand-soft); border-color: transparent; } .tmsg p { margin: 6px 0 0; white-space: pre-wrap; }

/* map */
.map { position: relative; overflow: hidden; border-radius: var(--r); background: #E8ECEF; touch-action: none; }
.map > img { position: absolute; width: 256px; height: 256px; user-select: none; max-width: none; }
.empty-map { display: grid; place-items: center; background: var(--surface-2); }
.pin { --c: var(--brand); position: absolute; transform: translate(-50%, -100%); border: 0; background: none; padding: 0; cursor: pointer; z-index: 2; }
.pin span { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px 15px 15px 3px; transform: rotate(-45deg); background: var(--c); color: #fff; font: 700 11px var(--f); box-shadow: 0 2px 6px rgba(0,0,0,.3); border: 2px solid #fff; }
.pin span > * , .pin span { } .pin.loc span { background: var(--navy); border-radius: 6px; transform: none; }
.map-zoom { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; z-index: 3; box-shadow: var(--pop); border-radius: 8px; overflow: hidden; }
.map-zoom button { width: 34px; height: 34px; border: 0; background: var(--surface); font: 600 18px var(--f); color: var(--fg); cursor: pointer; } .map-zoom button + button { border-top: 1px solid var(--line); }
.map-attr { position: absolute; right: 0; bottom: 0; font-size: 10px; background: rgba(255,255,255,.8); padding: 1px 6px; z-index: 3; color: #333; } .map-attr a { color: inherit; }
.map-tip { position: absolute; left: 10px; bottom: 22px; z-index: 4; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--pop); padding: 10px 12px; max-width: 280px; }

/* command wall (TV) */
.wall { min-height: 100vh; background: radial-gradient(circle at 20% 0%, var(--navy-3), var(--navy) 60%); color: #fff; padding: 22px 28px; }
.wall-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; } .wall-top .logo { color: #fff; } .wall-co { font-size: 18px; } .wall-now { font: 600 28px var(--f); font-variant-numeric: tabular-nums; }
.wall .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.wall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wtile { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 18px 20px; backdrop-filter: blur(6px); min-width: 0; }
.wtile.big { grid-column: span 2; grid-row: span 2; } .wtile.wide { grid-column: span 2; } .wtile.tall { grid-row: span 2; }
.wl { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); } .wv { font: 700 44px/1.1 var(--f); margin: 6px 0; } .wtile.big .wv { font-size: 72px; }
.wd { color: rgba(255,255,255,.7); } .wd.up { color: #4ADE80; } .wd.down { color: #FB7185; }
.wbars { display: flex; align-items: flex-end; gap: 4px; height: 120px; margin-top: 18px; } .wbars i { flex: 1; background: rgba(255,255,255,.35); border-radius: 3px 3px 0 0; min-height: 2px; } .wbars i.now { background: #60A5FA; } .wbars i.future { background: rgba(255,255,255,.08); }
.wrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); } .wrow:last-child { border: 0; } .wall .muted { color: rgba(255,255,255,.55); }
.wall .solo { text-align: center; padding: 30px 0; color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .wall-grid { grid-template-columns: 1fr 1fr; } .wtile.big .wv { font-size: 52px; } }

/* ===================== Parking ===================== */
.plate { display: inline-block; font: 800 20px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; padding: 8px 12px; border: 2px solid var(--fg); border-radius: 6px; background: #FFF; color: #0B1220; }
.plate.sm { font-size: 13px; padding: 3px 7px; border-width: 1.5px; border-radius: 4px; }
.plate-in { font: 800 26px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; text-align: center; height: 60px; }
.pcheck { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; } .pcheck .btn { height: 60px; }
.verdict { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 16px; border-radius: var(--r); border: 2px solid; }
.verdict .vi { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; } .verdict .vi svg { width: 26px; height: 26px; }
.verdict b { display: block; font-size: 18px; margin: 6px 0 2px; } .verdict .plate { font-size: 15px; padding: 4px 8px; }
.verdict.good { border-color: var(--good); background: var(--good-soft); } .verdict.good .vi { background: var(--good); }
.verdict.warn { border-color: var(--warn); background: var(--warn-soft); } .verdict.warn .vi { background: var(--warn); }
.verdict.bad { border-color: var(--bad); background: var(--bad-soft); } .verdict.bad .vi { background: var(--bad); }
.tform { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); } .tform h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.appealbox { margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--info-soft); } .appealbox p { margin: 6px 0 0; white-space: pre-wrap; }
.lotqr img { display: block; border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 4px; }
/* printed ticket */
.pticket { max-width: 420px; margin: 0 auto; border: 2px solid #0B1220; border-radius: 10px; overflow: hidden; background: #fff; color: #0B1220; font-size: 13px; }
.pt-top { display: flex; justify-content: space-between; align-items: center; background: #0B1220; color: #fff; padding: 12px 14px; }
.pt-co { font-weight: 800; font-size: 15px; } .pt-kind { font-size: 10px; letter-spacing: .14em; opacity: .8; } .pt-no { font: 800 18px ui-monospace, Menlo, monospace; }
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; } .pt-grid .full { grid-column: 1 / -1; }
.pt-grid span, .pt-amt span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #667085; } .pt-grid b { font-size: 14px; }
.pt-amt { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px dashed #D0D5DD; border-bottom: 2px dashed #D0D5DD; padding: 12px 14px; gap: 8px; } .pt-amt b { font-size: 17px; }
.pt-pay { display: flex; gap: 12px; align-items: center; padding: 14px; } .pt-pay p { margin: 4px 0; } .pt-qr img { display: block; }
/* lot sign */
.psign { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; color: #0B1220; border: 6px solid #0B1F5C; border-radius: 22px; padding: 30px; }
.ps-p { width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 18px; background: #1D4ED8; color: #fff; font: 900 72px/96px var(--f); }
.psign h1 { margin: 0; font-size: 40px; } .ps-co { color: #475467; font-size: 16px; margin-top: 4px; }
.ps-rate { font: 800 46px var(--f); margin: 18px 0 6px; } .ps-rate small { font-size: 20px; font-weight: 600; color: #475467; } .ps-max { font-size: 18px; font-weight: 600; color: #475467; }
.ps-qr { margin: 14px auto; display: inline-block; padding: 10px; border: 2px solid #0B1220; border-radius: 14px; } .ps-qr img { display: block; }
.ps-scan { font: 800 24px var(--f); } .ps-steps { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 14px 0; } .ps-steps span { background: #EEF3FD; color: #1B44B0; border-radius: 99px; padding: 6px 12px; font-weight: 600; }
.ps-rules { font-size: 15px; color: #344054; margin: 10px 0; white-space: pre-wrap; } .ps-warn { margin-top: 12px; padding: 10px; background: #FFF1F3; color: #C01048; border-radius: 10px; font-weight: 700; }
/* public pay pages */
.parkpub .panel { padding: 22px; }
.pk-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; } .pk-head h2 { margin: 0; }
.pk-p { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--brand); color: #fff; font: 900 34px/52px var(--f); text-align: center; }
.parkpub .lbl { display: block; font-weight: 600; margin: 14px 0 6px; }
.hourpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; } .hourpick .chip { height: 44px; justify-content: center; font-size: 14px; }
.pk-rules { margin-top: 14px; padding: 10px 12px; background: var(--surface-2); border-radius: var(--r-sm); font-size: 13px; color: var(--fg-2); white-space: pre-wrap; }
.pt-due { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; margin: 14px 0; border-radius: var(--r); background: var(--warn-soft); }
.pt-due span { display: block; font-size: 12px; color: var(--muted); } .pt-due b { font-size: 28px; } .pt-due.late { background: var(--bad-soft); } .pt-due .small { text-align: right; max-width: 55%; }
details.appeal { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; } details.appeal summary { cursor: pointer; font-weight: 600; } details.appeal form { margin-top: 10px; }
#printzone { display: none; }
@media print {
  body.printing-zone > *:not(#printzone) { display: none !important; }
  body.printing-zone #printzone { display: block; }
  .pticket, .psign { break-inside: avoid; }
}
@media (max-width: 760px) {
  .pcheck { grid-template-columns: 1fr; } .pcheck .btn { height: 52px; }
  .growth-score { flex-direction: column; text-align: center; }
  .psign { padding: 18px; } .ps-rate { font-size: 34px; }
  .pt-due { flex-direction: column; align-items: flex-start; } .pt-due .small { text-align: left; max-width: none; }
}
button.chip { border: 1px solid transparent; cursor: pointer; font-family: var(--f); color: var(--fg-2); }
button.chip:hover { border-color: var(--line-2); } .chip.on, button.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.hourpick .chip { border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; } .hourpick .chip.on { background: var(--brand); border-color: var(--brand); }
.kv b.plate { align-self: flex-start; }

/* public pages keep light cards even when the app is in dark mode */
:root[data-theme="dark"] .public .panel { --bg: #F6F7F9; --surface: #FFFFFF; --surface-2: #F9FAFB; --surface-3: #EEF0F3; --line: #E4E7EC; --line-2: #D0D5DD; --fg: #0B1220; --fg-2: #344054; --muted: #667085; --brand: #2252D1; --brand-soft: #EEF3FD; --good: #067647; --good-soft: #ECFDF3; --warn: #B54708; --warn-soft: #FFFAEB; --bad: #C01048; --bad-soft: #FFF1F3; --info: #175CD3; --info-soft: #EFF8FF; color-scheme: light; }
.public .lbl { display: block; font-weight: 600; margin: 14px 0 6px; }
/* public 2.0: jobs, booking, reviews, help */
.pubtop { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .pubtop .btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.pubhero { text-align: center; padding: 26px 0 8px; } .pubhero.left { text-align: left; } .pubhero h1 { font-size: clamp(28px, 5vw, 42px); margin: 6px 0 8px; letter-spacing: -.02em; } .pubhero p { color: #B9C4E0; margin: 0 auto; max-width: 60ch; }
.pubsearch { display: flex; gap: 8px; margin: 20px auto 0; max-width: 620px; } .pubsearch .input { background: #fff; color: #0B1220; border-color: transparent; height: 48px; } .pubsearch .input:first-child { flex: 1; } .pubsearch select.input { max-width: 190px; } .pubsearch .btn { height: 48px; }
.joblist { display: grid; gap: 10px; margin-top: 20px; } .public .panel.jobrow { margin-top: 0; display: flex; gap: 14px; align-items: center; text-decoration: none; transition: transform .15s, box-shadow .15s; } .jobrow:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.jobmeta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.panel.job details { margin-top: 12px; } .panel.job summary { cursor: pointer; color: var(--muted); }
.daypick { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; } .daypick .chip { flex-direction: column; min-width: 58px; height: 58px; justify-content: center; gap: 0; border: 1.5px solid var(--line); background: var(--surface); } .daypick .chip small { font-size: 11px; opacity: .8; } .daypick .chip b { font-size: 17px; } .daypick .chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.starpick { display: flex; justify-content: center; gap: 6px; margin: 16px 0; } .starpick button { font-size: 44px; line-height: 1; background: none; border: 0; color: #D0D5DD; cursor: pointer; padding: 0 2px; transition: transform .1s, color .1s; } .starpick button:hover { transform: scale(1.12); } .starpick button.on { color: #F5A524; }
.helpgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 20px; } .helpgrid .panel { margin-top: 0; } .helpgrid h3 { margin: 0 0 8px; }
.helprow { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; } .helprow:last-child { border: 0; } .helprow:hover b { color: var(--brand); }
.helpart h1 { font-size: 30px; margin: 6px 0 14px; letter-spacing: -.01em; } .helpart .prose { font-size: 15.5px; } .helpart .prose li { margin: 4px 0; } .helpart .prose h2, .helpart .prose h3 { color: var(--fg); margin-top: 22px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 12px; } .prose code { background: var(--surface-3); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
@media (max-width: 760px) { .pubsearch { flex-direction: column; } .pubsearch select.input { max-width: none; } .public .panel.jobrow { flex-wrap: wrap; } .jobmeta { flex-direction: row; align-items: center; width: 100%; justify-content: flex-start; } }
.pubtop .grow { flex: 1; }
@media (max-width: 760px) { .pubsearch .input:first-child { flex: none; } }

/* 3.0.1: the real OENOD wordmark everywhere the logo shows (sign in, sign up, download, jobs, help, wall, badges). */
.logo > .wordmark { background: currentColor; height: 21px; flex: none; }
.wall-top .logo > .wordmark { height: 26px; }
.legal3 .legal-doc { padding: 32px clamp(20px, 5vw, 48px); }
.legal3 .legal-doc h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.03em; margin: 6px 0 10px; }
.legal3 .legal-lead { font-size: 16px; color: var(--muted, #667085); line-height: 1.65; margin: 0 0 18px; }
.legal3 .legal-doc h2 { font-size: 18px; margin: 28px 0 8px; }
.legal3 .legal-doc p, .legal3 .legal-doc li { line-height: 1.7; }
.legal3 .legal-doc ul { padding-left: 20px; display: grid; gap: 6px; }
.legal3 .legal-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }
.legal3 .legal-tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line, #E4E7EC); text-decoration: none; font-weight: 600; font-size: 13px; color: inherit; }
.legal3 .legal-tabs a:hover { border-color: var(--accent, #2252D1); }

/* logo: one OENOD logo everywhere (Ahmed's wordmark) */
a.applogo { width: auto; padding: 0 11px; background: #000C58; }
a.applogo svg { width: auto; height: 12px; aspect-ratio: 230 / 62.5; }
.ac-cert .ac-cert-logo svg { width: auto; height: 22px; aspect-ratio: 230 / 62.5; }
.ac-cert .ac-cert-logo b, div.ucp-logo b { display: none; }
div.ucp-logo svg { width: auto; height: 24px; aspect-ratio: 230 / 62.5; }
/* ===== theme-fix 3.8.1: light/dark mode =====
   Some screens used colour names the design system never defined (--card, --text, --bg2, ...),
   so they fell back to white in dark mode. Map them to the real theme colours. */
:root { --card: var(--surface); --text: var(--fg); --bg2: var(--surface-2); --bg-2: var(--surface-2); --soft: var(--surface-2); --hover: var(--brand-soft); }
:root[data-theme="dark"] .alert.warn { background: var(--warn-soft); color: var(--warn); }
:root[data-theme="dark"] .sc-st.warn, :root[data-theme="dark"] .ap-pts:not(.on):not(.got), :root[data-theme="dark"] em.lock { background: rgba(245,181,68,.14); color: #F5C26B; }
:root[data-theme="dark"] .sc-st.bad, :root[data-theme="dark"] .badge-ok.no { background: rgba(249,112,102,.14); color: #FDA29B; }
:root[data-theme="dark"] .sc-off { background: rgba(83,177,253,.14); color: #84CAFF; }
:root[data-theme="dark"] .hd-msg.note { background: rgba(245,181,68,.10); border-color: rgba(245,181,68,.4); color: #F5D78E; }
:root[data-theme="dark"] .ps-who > div { background: var(--surface-2); color: var(--fg); }
:root[data-theme="dark"] .mk-frame-wrap, :root[data-theme="dark"] .mk-frame { background: var(--surface-3); }
:root[data-theme="dark"] .so-cnt span.over { background: rgba(249,112,102,.14); color: #FDA29B; }
:root[data-theme="dark"] .so-mode.review { background: rgba(124,156,255,.14); color: #A4BCFD; }
:root[data-theme="dark"] .so-mode.paused { background: rgba(245,181,68,.14); color: #F5C26B; }
:root[data-theme="dark"] .pb-role { color: color-mix(in srgb, var(--c) 45%, #fff); background: color-mix(in srgb, var(--c) 30%, transparent); }
