:root {
  --bg: #F5F6FA; --card: #FFFFFF; --ink: #0E1726; --ink-2: #3B4558; --muted: #6B7487; --line: #E6E8EF; --line-2: #F0F1F5;
  --brand: #F26B1D; --brand-600: #DB5A10; --brand-50: #FFF3EB; --brand-100: #FFE3D1;
  --side: #0E1726; --side-2: #172234; --side-ink: #C9D1E0;
  --ok: #12A150; --ok-50: #E8F7EE; --warn: #C98400; --warn-50: #FFF6E0; --err: #D93A3A; --err-50: #FDECEC; --info: #2E6BE6; --info-50: #EAF1FE;
  --r: 14px; --r-sm: 10px; --shadow: 0 1px 2px rgba(14,23,38,.05), 0 4px 16px rgba(14,23,38,.05); --shadow-lg: 0 20px 60px rgba(14,23,38,.18);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 14.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-600); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; }
h1 { font-size: 26px; font-weight: 800; } h2 { font-size: 19px; font-weight: 700; } h3 { font-size: 15.5px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .tiny { font-size: 11.5px; }
.boot { height: 100vh; display: grid; place-items: center; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--brand-100); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Layout ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { background: var(--side); color: var(--side-ink); padding: 18px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.logo { display: flex; align-items: center; gap: 10px; padding: 6px 8px 16px; color: #fff; font-weight: 800; font-size: 16.5px; letter-spacing: -.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(242,107,29,.35); }
.logo small { display: block; font-size: 10.5px; color: #8C97AD; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.biz-switch { background: var(--side-2); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; cursor: pointer; border: 1px solid rgba(255,255,255,.04); }
.biz-switch .ic { font-size: 20px; } .biz-switch b { color: #fff; font-size: 13.5px; display: block; line-height: 1.2; } .biz-switch span { font-size: 11.5px; color: #8C97AD; }
.nav-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #66728A; padding: 12px 10px 4px; font-weight: 700; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; color: var(--side-ink); font-weight: 500; font-size: 14px; }
.nav a:hover { background: var(--side-2); color: #fff; }
.nav a.active { background: rgba(242,107,29,.14); color: #fff; }
.nav a.active svg { color: var(--brand); }
.nav svg { width: 18px; height: 18px; flex: none; opacity: .9; }
.nav .badge { margin-left: auto; background: var(--brand); color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 99px; font-weight: 700; }
.side-foot { margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12.5px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #FFB347); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.main { min-width: 0; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.8); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 5; }
.topbar .crumb { font-weight: 700; font-size: 15px; }
.page { padding: 28px 32px 60px; max-width: 1280px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin-top: 4px; }
.menu-btn { display: none; }

/* ---------- Components ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); gap: 10px; }
.grid { display: grid; gap: 18px; }
.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, 1.7fr) minmax(0, 1fr); }
.row { display: flex; align-items: center; gap: 10px; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; } .row.top { align-items: flex-start; }
.stack { display: flex; flex-direction: column; gap: 12px; } .stack.sm { gap: 6px; } .stack.lg { gap: 20px; }
.grow { flex: 1; min-width: 0; }
.hr { height: 1px; background: var(--line-2); margin: 14px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; transition: all .15s; white-space: nowrap; }
.btn:hover { border-color: #CBD0DC; background: #FAFBFC; }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(242,107,29,.25); }
.btn.primary:hover { background: var(--brand-600); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; } .btn.ghost:hover { background: var(--line-2); }
.btn.danger { color: var(--err); } .btn.danger:hover { background: var(--err-50); border-color: #F3C2C2; }
.btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.icon-btn { width: 34px; height: 34px; padding: 0; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 13px; color: var(--ink-2); }
.field label .req { color: var(--brand); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s; }
textarea.input { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 13px; font-size: 13px; cursor: pointer; font-weight: 500; user-select: none; transition: all .12s; }
.chip:hover { border-color: #CBD0DC; }
.chip.on { background: var(--brand-50); border-color: var(--brand); color: var(--brand-600); font-weight: 600; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--ok-50); color: var(--ok); } .pill.warn { background: var(--warn-50); color: var(--warn); } .pill.err { background: var(--err-50); color: var(--err); } .pill.info { background: var(--info-50); color: var(--info); } .pill.brand { background: var(--brand-50); color: var(--brand-600); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.stat { padding: 18px 20px; }
.stat .k { font-size: 12.5px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.stat .v { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.stat .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.stat .ic svg { width: 16px; height: 16px; }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .em { font-size: 34px; margin-bottom: 8px; }

.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-2); }
.list-item:last-child { border-bottom: 0; }
.thumb { width: 52px; height: 52px; border-radius: 10px; background: var(--line-2) center/cover no-repeat; flex: none; position: relative; overflow: hidden; }
.thumb.vid::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 14px; background: rgba(0,0,0,.25); }

.check-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.check.done { background: var(--ok); border-color: var(--ok); color: #fff; }
.progress { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--brand), #FFA45B); border-radius: 99px; transition: width .4s; }

.tabs { display: flex; gap: 4px; background: var(--line-2); padding: 4px; border-radius: 11px; width: fit-content; }
.tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.banner { border-radius: var(--r); padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; }
.banner.info { background: var(--info-50); color: #1D4AA8; } .banner.warn { background: var(--warn-50); color: #7A5200; } .banner.ok { background: var(--ok-50); color: #0B6B35; } .banner.brand { background: var(--brand-50); color: #8A3A08; }

/* Toasts & modal */
#toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 100; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 13.5px; max-width: 380px; animation: up .2s ease; display: flex; gap: 10px; }
.toast.err { background: #8E1F1F; } .toast.ok { background: #0E5E33; }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }
.modal-bg { position: fixed; inset: 0; background: rgba(14,23,38,.55); display: grid; place-items: center; z-index: 50; padding: 20px; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: #fff; border-radius: 18px; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--shadow-lg); }
.modal.sm { width: min(520px, 100%); }
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-body { padding: 22px; }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-hero { background: radial-gradient(1200px 600px at -10% -10%, #2A3B5C 0%, var(--side) 55%); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-hero::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(242,107,29,.45), transparent 65%); right: -160px; bottom: -160px; }
.auth-hero h1 { font-size: 42px; line-height: 1.1; max-width: 520px; letter-spacing: -.035em; }
.auth-hero h1 em { font-style: normal; color: #FFA45B; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 560px; position: relative; z-index: 1; }
.feat div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px; font-size: 13px; color: #C9D1E0; }
.feat b { display: block; color: #fff; margin-bottom: 2px; font-size: 14px; }
.auth-form { display: grid; place-items: center; padding: 40px; }
.auth-form .box { width: min(400px, 100%); }
.types-ticker { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; position: relative; z-index: 1; }
.types-ticker span { background: rgba(255,255,255,.08); padding: 5px 11px; border-radius: 99px; font-size: 12.5px; color: #DCE3EF; }

/* ---------- Onboarding ---------- */
.onb { min-height: 100vh; display: grid; grid-template-columns: 300px 1fr; }
.onb-side { background: var(--side); color: var(--side-ink); padding: 28px 22px; position: sticky; top: 0; height: 100vh; }
.steps { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.step { display: flex; gap: 12px; padding: 10px; border-radius: 10px; align-items: center; font-size: 13.5px; cursor: pointer; }
.step .n { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #3A4760; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.step.on { background: var(--side-2); color: #fff; } .step.on .n { border-color: var(--brand); background: var(--brand); color: #fff; }
.step.done .n { background: #1F7A47; border-color: #1F7A47; color: #fff; }
.step small { display: block; color: #7D889F; font-size: 11.5px; }
.onb-main { padding: 40px 56px 100px; max-width: 920px; }
.onb-foot { position: fixed; bottom: 0; left: 300px; right: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 14px 56px; display: flex; justify-content: space-between; z-index: 4; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.type-card { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 14px; cursor: pointer; transition: all .15s; display: flex; gap: 12px; align-items: center; }
.type-card:hover { border-color: #CBD0DC; transform: translateY(-1px); box-shadow: var(--shadow); }
.type-card.on { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.type-card .em { font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--line-2); border-radius: 12px; flex: none; }
.type-card b { font-size: 13.5px; display: block; line-height: 1.25; } .type-card span { font-size: 12px; color: var(--muted); }
.group-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }

/* Recorder */
.recorder { border: 1.5px dashed #D6DAE4; border-radius: 16px; padding: 20px; background: #FCFCFD; }
.rec-btn { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(242,107,29,.35); transition: transform .15s; }
.rec-btn:hover { transform: scale(1.04); }
.rec-btn.recording { background: var(--err); animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,58,58,.5); } 70% { box-shadow: 0 0 0 16px rgba(217,58,58,0); } }
.rec-btn svg { width: 26px; height: 26px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 20px; }
.live-tx { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-height: 80px; font-size: 14px; color: var(--ink-2); }
.cam { width: 100%; max-width: 300px; aspect-ratio: 9/16; background: #0E1726; border-radius: 16px; overflow: hidden; position: relative; }
.cam video { width: 100%; height: 100%; object-fit: cover; }
.cam .overlay { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 56px; font-weight: 800; text-shadow: 0 4px 20px rgba(0,0,0,.4); pointer-events: none; }
.cam .guide { position: absolute; left: 18%; right: 18%; top: 14%; height: 44%; border: 2px dashed rgba(255,255,255,.5); border-radius: 50%; pointer-events: none; }
.drop { border: 1.5px dashed #D6DAE4; border-radius: 14px; padding: 18px; text-align: center; cursor: pointer; background: #FCFCFD; transition: all .15s; }
.drop:hover { border-color: var(--brand); background: var(--brand-50); }
.consent { background: var(--warn-50); border: 1px solid #F3DFA8; border-radius: 12px; padding: 14px; font-size: 13px; }

/* ---------- Studio ---------- */
.idea { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; transition: all .15s; }
.idea:hover { border-color: #CBD0DC; box-shadow: var(--shadow); }
.idea h3 { font-size: 14.5px; line-height: 1.35; }
.idea .why { font-size: 12.5px; color: var(--muted); }
.idea .hook { font-size: 13px; color: var(--ink-2); background: var(--line-2); padding: 8px 10px; border-radius: 9px; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; transition: all .15s; display: flex; flex-direction: column; }
.ccard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ccard .media { aspect-ratio: 4/5; background: var(--line-2) center/cover no-repeat; position: relative; display: grid; place-items: center; }
.ccard .media .fmt { position: absolute; top: 10px; left: 10px; }
.ccard .media .st { position: absolute; top: 10px; right: 10px; }
.ccard .body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.ccard .body b { font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gen-shimmer { background: linear-gradient(110deg, #EEF0F5 8%, #F8F9FB 18%, #EEF0F5 33%); background-size: 200% 100%; animation: sh 1.4s linear infinite; }
@keyframes sh { to { background-position-x: -200%; } }
.preview-pane { background: #0E1726; border-radius: 16px; padding: 14px; display: grid; place-items: center; }
.preview-pane img, .preview-pane video { max-width: 100%; max-height: 560px; border-radius: 10px; display: block; }
.log { background: #0E1726; color: #A9B4C8; font-family: ui-monospace, Menlo, monospace; font-size: 12px; padding: 12px; border-radius: 10px; white-space: pre-wrap; max-height: 180px; overflow: auto; }
.plat { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px; font-size: 12.5px; font-weight: 600; background: #fff; cursor: pointer; }
.plat.on { border-color: var(--brand); background: var(--brand-50); color: var(--brand-600); }
.plat-ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; flex: none; }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-day { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 132px; padding: 8px; background: #fff; }
.cal-day.other { background: #FAFBFC; } .cal-day.today { background: var(--brand-50); }
.cal-day .d { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.cal-day.today .d { color: var(--brand-600); }
.cal-ev { font-size: 11.5px; padding: 4px 7px; border-radius: 7px; margin-bottom: 4px; cursor: pointer; background: var(--line-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; border-left: 3px solid #A0A8B8; }
.cal-ev.scheduled { background: var(--info-50); border-color: var(--info); color: #1D4AA8; }
.cal-ev.published, .cal-ev.partial { background: var(--ok-50); border-color: var(--ok); color: #0B6B35; }
.cal-ev.pending_approval { background: var(--warn-50); border-color: var(--warn); color: #7A5200; }
.cal-ev.failed { background: var(--err-50); border-color: var(--err); color: #8E1F1F; }
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 8px 0; text-align: center; }

/* Brain */
.brain-pre { white-space: pre-wrap; font-size: 12.5px; background: #FAFBFC; border: 1px solid var(--line); border-radius: 12px; padding: 14px; max-height: 520px; overflow: auto; font-family: ui-monospace, Menlo, monospace; color: var(--ink-2); }
.fact { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.fact:last-child { border-bottom: 0; }

.asset-tile { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.asset-tile .m { aspect-ratio: 1; background: var(--line-2) center/cover no-repeat; display: grid; place-items: center; }
.asset-tile video, .asset-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asset-tile .b { padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; vertical-align: middle; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #CBD0DC; border-radius: 99px; cursor: pointer; transition: .2s; }
.switch span::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::before { transform: translateX(20px); }

table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 10px 20px; border-bottom: 1px solid var(--line); background: #FAFBFC; }
table.t td { padding: 12px 20px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }

@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g-main, .g3 { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: -260px; width: 248px; z-index: 30; transition: left .2s; }
  .side.open { left: 0; box-shadow: var(--shadow-lg); }
  .menu-btn { display: inline-flex; }
  .page, .topbar { padding-left: 16px; padding-right: 16px; }
  .auth, .onb { grid-template-columns: 1fr; } .auth-hero { display: none; } .onb-side { display: none; }
  .onb-main { padding: 24px 16px 100px; } .onb-foot { left: 0; padding: 12px 16px; }
  .g2, .form-grid { grid-template-columns: 1fr; }
}
