:root {
  --bg: #07060d;
  --text: #f6f5fc;
  --muted: #a3a0bd;
  --violet: #8b2cf5;
  --blue: #2f7bff;
  --grad: linear-gradient(135deg, #8b2cf5 0%, #5b4bf7 50%, #2f7bff 100%);
  --glass: linear-gradient(150deg, rgba(255,255,255,.095), rgba(255,255,255,.025));
  --edge: rgba(255,255,255,.11);
  --up: #2ee59d;
  --down: #ff5470;
  --head: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 14px/1.55 Inter, "Segoe UI", system-ui, sans-serif; }
a { color: #a9c4ff; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -.02em; }
h1 { font-size: 24px; line-height: 1.2; }
h2 { font-size: 16px; }
h3 { font-size: 15px; }
p { margin: 8px 0; }
.muted { color: var(--muted); }
.grow { flex: 1; min-width: 0; }
.up { color: var(--up); }
.down { color: var(--down); }
svg.ui { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3D background ---------- */
.scene { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: float 14s ease-in-out infinite alternate; }
.orb.a { width: 420px; height: 420px; top: -160px; right: 4%; background: radial-gradient(circle at 32% 30%, #b46cff, #5116b5 45%, transparent 70%); }
.orb.b { width: 520px; height: 520px; bottom: -240px; left: 12%; background: radial-gradient(circle at 40% 30%, #5b9dff, #1b3fb0 45%, transparent 70%); animation-delay: -5s; }
.orb.c { width: 220px; height: 220px; top: 45%; right: -60px; background: radial-gradient(circle at 35% 30%, #c4a1ff, #4b2bd6 50%, transparent 72%); animation-delay: -9s; }
.floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; transform: perspective(500px) rotateX(62deg); transform-origin: bottom;
  background-image: linear-gradient(rgba(139,92,246,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,.18) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000); }
@keyframes float { to { transform: translate3d(-30px, 40px, 0) scale(1.06); } }

/* ---------- layout ---------- */
.sidebar { position: fixed; inset: 14px auto 14px 14px; width: 232px; z-index: 30; display: flex; flex-direction: column; padding: 20px 14px;
  border-radius: 24px; border: 1px solid var(--edge); background: linear-gradient(170deg, rgba(30,24,52,.82), rgba(10,9,18,.86));
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 30px 60px rgba(0,0,0,.5); overflow-y: auto; }
.brand { display: block; padding: 0 6px 24px; }
.brand img { display: block; }
.brand .full { width: 156px; }
.brand .small { width: 44px; display: none; }
#nav { display: flex; flex-direction: column; gap: 6px; }
#nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: var(--muted); text-decoration: none; font-weight: 600; }
#nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
#nav a.active { color: #fff; background: var(--grad); box-shadow: 0 10px 24px rgba(110,60,245,.45), inset 0 1px 0 rgba(255,255,255,.3); }
.side-note { margin: auto 8px 0; padding-top: 20px; color: var(--muted); font-size: 12px; }
.scrim { position: fixed; inset: 0; background: rgba(3,2,8,.65); z-index: 25; display: none; }
.shell { margin-left: 262px; padding: 22px 26px 56px; max-width: 1500px; }
.top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.top p { margin: 2px 0 0; }
.menu { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--edge); background: var(--glass); color: var(--text); place-items: center; cursor: pointer; }
.tabbar { display: none; }

/* ---------- glass cards ---------- */
.card { position: relative; min-width: 0; padding: 20px; border-radius: 22px; border: 1px solid var(--edge); background: var(--glass);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.12); }
.tilt { transition: transform .18s ease-out, border-color .2s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt:hover { border-color: rgba(167,139,250,.55); }
.grid { display: grid; gap: 18px; margin-bottom: 18px; }
.grid > * { min-width: 0; }
.kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.channels { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack > * + * { margin-top: 18px; }
.panel { margin-bottom: 18px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }

.gem { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--grad); color: #fff;
  box-shadow: 0 6px 0 -1px #3a1a8c, 0 14px 22px rgba(100,60,240,.45), inset 0 2px 3px rgba(255,255,255,.4); }
.kpi b { display: block; font: 800 30px/1.15 var(--head); margin: 14px 0 4px; }
.kpi svg.spark { margin-top: 8px; }
.delta { font-weight: 700; font-size: 12px; white-space: nowrap; }
.delta.muted { white-space: normal; }

/* ---------- official platform icons ---------- */
.tile { --size: 46px; width: var(--size); height: var(--size); flex: none; display: grid; place-items: center; border-radius: 30%; background: #000;
  box-shadow: 0 5px 0 -1px rgba(0,0,0,.55), 0 12px 20px rgba(0,0,0,.45), inset 0 2px 2px rgba(255,255,255,.3); border: 1px solid rgba(255,255,255,.14); }
.tile i { width: 56%; height: 56%; background: #fff; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
.tile.facebook { background: #0866ff; }
.tile.instagram { background: radial-gradient(circle at 28% 105%, #ffd776 0 8%, #f3693f 30%, #d92e7f 52%, #9b36b7 72%, #515bd4); }
.tile.linkedin { background: #0a66c2; }
.tile.reddit { background: #ff4500; }
.tile.youtube { background: #ff0033; }
.tile.tiktok i { filter: drop-shadow(0 0 0 #fff); }
.tile.small { --size: 32px; }

.badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--edge); color: var(--muted); white-space: nowrap; text-transform: capitalize; }
.badge.on, .badge.published { color: #fff; border-color: transparent; background: var(--grad); }
.badge.failed, .badge.missed, .badge.partial { color: var(--down); border-color: rgba(255,84,112,.5); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 10px; }
.metric { padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06); }
.metric span { display: block; color: var(--muted); font-size: 12px; }
.metric b { font: 700 20px var(--head); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--edge);
  background: rgba(255,255,255,.07); color: var(--text); font: 600 14px Inter, sans-serif; text-decoration: none; cursor: pointer; transition: transform .12s, background .2s; }
.btn:hover { background: rgba(255,255,255,.14); }
.btn:active { transform: translateY(2px); }
.btn.primary { border-color: transparent; background: var(--grad); color: #fff; box-shadow: 0 5px 0 -1px #3a1a8c, 0 14px 26px rgba(100,60,240,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.small { padding: 6px 12px; font-size: 12px; border-radius: 10px; }
.btn.big { padding: 15px 30px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: wait; }
:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--edge); background: transparent; color: var(--muted); border-radius: 99px; padding: 5px 13px; font: 600 12px Inter, sans-serif; cursor: pointer; }
.chips button.active { background: var(--grad); border-color: transparent; color: #fff; }
label.field { display: block; font-weight: 600; margin: 14px 0 6px; }
input, textarea, select { width: 100%; font: inherit; color: var(--text); background: rgba(0,0,0,.32); border: 1px solid var(--edge); border-radius: 14px; padding: 12px 14px; }
select option { background: #16122a; }
textarea { min-height: 120px; resize: vertical; }
code { display: block; background: rgba(0,0,0,.35); border: 1px solid var(--edge); border-radius: 12px; padding: 10px 12px; word-break: break-all; font-size: 12px; margin-bottom: 8px; }

/* ---------- upload ---------- */
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 260px; padding: 28px;
  border: 2px dashed rgba(167,139,250,.5); border-radius: 20px; background: radial-gradient(circle at 50% 0, rgba(139,44,245,.2), transparent 70%); }
.drop.over { border-color: var(--blue); background: rgba(47,123,255,.16); }
.drop .gem { width: 74px; height: 74px; border-radius: 24px; }
.drop .gem svg { width: 34px; height: 34px; }
.drop img, .drop video { max-width: 100%; max-height: 320px; border-radius: 16px; }
.progress { height: 8px; width: min(360px, 100%); border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 16px; border: 1px solid var(--edge); background: rgba(0,0,0,.22); cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick:has(input:checked) { border-color: #8b5cf6; background: rgba(139,44,245,.22); box-shadow: 0 0 0 1px #8b5cf6; }
.pick:has(input:focus-visible) { outline: 3px solid #a78bfa; }
.pick.off { cursor: not-allowed; }
.pick.off .tile { filter: grayscale(1); opacity: .45; }
.pick small { display: block; color: var(--muted); line-height: 1.3; font-size: 11px; }
.post { padding: 14px 0; border-top: 1px solid var(--edge); }
.post p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0; }
.thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; flex: none; }

/* ---------- charts ---------- */
svg.chart, svg.spark { display: block; width: 100%; overflow: visible; }
svg.chart { height: 230px; }
svg.spark { height: 38px; }
.axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 8px; }
.donut { width: 160px; height: 160px; border-radius: 50%; flex: none; position: relative; box-shadow: 0 12px 0 -4px rgba(60,30,130,.7), 0 26px 36px rgba(0,0,0,.5); }
.donut::after { content: attr(data-total); position: absolute; inset: 26px; border-radius: 50%; background: #14111f; display: grid; place-items: center; font: 800 19px var(--head); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 170px; padding-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; color: var(--muted); font-size: 11px; }
.bars i { width: 100%; max-width: 34px; min-height: 4px; border-radius: 8px 8px 4px 4px; background: var(--grad); box-shadow: 5px -4px 0 -1px rgba(80,40,180,.6); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--edge); }
th { color: var(--muted); font-size: 12px; font-weight: 600; }
.empty { min-height: 180px; display: grid; place-content: center; text-align: center; justify-items: center; gap: 6px; color: var(--muted); }
.banner { border-color: rgba(167,139,250,.6); }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary { margin-bottom: 8px; }

#toast { position: fixed; right: 20px; bottom: 20px; max-width: min(380px, calc(100% - 40px)); z-index: 50; display: none; padding: 14px 18px; border-radius: 16px;
  background: rgba(22,18,40,.97); border: 1px solid #8b5cf6; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
#toast.show { display: block; }

/* ---------- tablet: icon rail ---------- */
@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .sidebar { width: 84px; padding: 18px 10px; inset: 10px auto 10px 10px; }
  .brand { padding: 0 8px 22px; }
  .brand .full { display: none; }
  .brand .small { display: block; }
  #nav a { flex-direction: column; gap: 5px; padding: 11px 2px; font-size: 10px; text-align: center; }
  .side-note { display: none; }
  .shell { margin-left: 104px; padding: 20px 18px 48px; }
}

/* ---------- mobile: drawer and bottom bar ---------- */
@media (max-width: 760px) {
  .sidebar { inset: 0 auto 0 0; width: 260px; border-radius: 0 24px 24px 0; transform: translateX(-105%); visibility: hidden; transition: transform .25s, visibility .25s; }
  body.drawer .sidebar { transform: none; visibility: visible; }
  body.drawer .scrim { display: block; }
  .shell { margin-left: 0; padding: 14px 14px 110px; }
  .menu { display: grid; flex: none; }
  .top p, #cta { display: none; }
  h1 { font-size: 21px; }
  .halves { grid-template-columns: minmax(0, 1fr); }
  .channels { grid-template-columns: minmax(0, 1fr); }
  .kpis { gap: 12px; }
  .card { padding: 16px; border-radius: 18px; }
  .kpi b { font-size: 24px; }
  .tabbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 20; padding: 7px; border-radius: 22px;
    border: 1px solid var(--edge); background: rgba(18,14,32,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0; border-radius: 16px; color: var(--muted); text-decoration: none; font-size: 10px; font-weight: 600; }
  .tabbar a.active { background: var(--grad); color: #fff; }
  #toast { bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } .tilt, .sidebar { transition: none; } }

/* ---------- signed out ---------- */
body.signed-out .sidebar, body.signed-out .top, body.signed-out .tabbar { display: none; }
body.signed-out .shell { margin: 0 auto; max-width: 420px; padding: 12vh 16px; }

/* ---------- flat white theme with optional dark (overrides everything above) ---------- */
:root { --bg: #fff; --panel: #fff; --soft: #f5f5f5; --text: #0a0a0a; --muted: #6b6b6b; --edge: #e6e6e6; --solid: #0a0a0a; --on-solid: #fff;
  --grad: var(--solid); --glass: var(--panel); --up: #0f8a4d; --down: #c8102e; --head: Inter, "Segoe UI", system-ui, sans-serif; }
:root[data-theme="dark"] { --bg: #0b0b0b; --panel: #121212; --soft: #1b1b1b; --text: #f4f4f4; --muted: #9c9c9c; --edge: #272727; --solid: #f4f4f4; --on-solid: #0a0a0a; --up: #35c27a; --down: #ff5c72; }
html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
a { color: var(--text); }
.scene { display: none; }
h1 { font-size: 22px; font-weight: 700; }
.card { border-radius: 12px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tilt { transform: none; }
.tilt:hover, .banner { border-color: var(--muted); }
.sidebar { inset: 0 auto 0 0; width: 240px; padding: 16px 12px; border-radius: 0; border: 0; border-right: 1px solid var(--edge); background: var(--panel); box-shadow: none; backdrop-filter: none; overflow: visible; transition: width .18s; }
.shell { margin-left: 240px; padding: 20px 28px 56px; transition: margin-left .18s; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px 18px; }
.brand { padding: 0; text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 18px var(--head); letter-spacing: .08em; color: var(--text); }
.logo b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--solid); color: var(--on-solid); letter-spacing: 0; }
.icon-btn { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 1px solid var(--edge); border-radius: 8px; background: var(--panel); color: var(--text); cursor: pointer; }
.icon-btn svg.ui { width: 16px; height: 16px; }
#nav { gap: 2px; overflow-y: auto; }
#nav a, .side-btn { display: flex; align-items: center; gap: 12px; padding: 10px 11px; border-radius: 8px; color: var(--muted); text-decoration: none; font: 600 14px var(--head); box-shadow: none; }
#nav a:hover, .side-btn:hover { background: var(--soft); color: var(--text); }
#nav a.active { background: var(--solid); color: var(--on-solid); box-shadow: none; }
.side-foot { position: relative; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--edge); }
.side-btn { width: 100%; border: 0; background: none; cursor: pointer; text-align: left; }
.side-card, .menu-card { z-index: 40; padding: 8px; border-radius: 12px; border: 1px solid var(--edge); background: var(--panel); box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.side-card { position: absolute; left: 0; bottom: 52px; width: 216px; }
.side-card[hidden], .menu-card[hidden] { display: none; }
.side-card > a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.side-card > a:hover { background: var(--soft); }
.theme-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; padding: 4px; border-radius: 10px; background: var(--soft); }
.theme-pick button { border: 0; border-radius: 7px; padding: 7px; background: none; color: var(--muted); font: 600 12px var(--head); cursor: pointer; }
.theme-pick button[aria-pressed="true"] { background: var(--solid); color: var(--on-solid); }
.btn { border-radius: 8px; background: var(--panel); border-color: var(--edge); }
.btn:hover { background: var(--soft); }
.btn.primary { background: var(--solid); color: var(--on-solid); box-shadow: none; }
.btn.primary:hover { background: var(--solid); filter: none; opacity: .86; }
:focus-visible, .pick:has(input:focus-visible) { outline: 2px solid var(--text); }
.chips button { border-radius: 8px; }
.chips button.active, .badge.on, .badge.published { background: var(--solid); color: var(--on-solid); border-color: var(--solid); }
.gem { background: var(--soft); color: var(--text); border: 1px solid var(--edge); border-radius: 10px; box-shadow: none; }
.tile { border-radius: 10px; box-shadow: none; border: 0; }
.kpi b { font-size: 28px; }
input, textarea, select { background: var(--panel); border-radius: 8px; }
select option { background: var(--panel); }
code, .metric { background: var(--soft); border-color: var(--edge); border-radius: 8px; }
.drop { border-color: var(--edge); border-radius: 12px; background: var(--soft); }
.drop.over { border-color: var(--text); background: var(--soft); }
.pick { border-radius: 10px; background: var(--panel); }
.pick:has(input:checked) { border-color: var(--text); background: var(--soft); box-shadow: 0 0 0 1px var(--text); }
.bars i { background: var(--solid); box-shadow: none; border-radius: 4px 4px 0 0; }
.donut { box-shadow: none; }
.donut::after { background: var(--panel); }
svg.chart stop { stop-color: var(--text); }
svg.chart stop[offset="0"][stop-opacity] { stop-opacity: .12; }
svg.chart path[stroke^="url"] { stroke: var(--text); stroke-width: 2; }
svg.chart path[stroke^="#ffffff"], svg.spark path[stroke^="#ffffff"] { stroke: var(--edge); }
#toast { background: var(--solid); color: var(--on-solid); border: 0; border-radius: 10px; }
.profile { position: relative; }
.avatar { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--solid); color: var(--on-solid); font: 700 15px var(--head); cursor: pointer; }
.menu-card { position: absolute; right: 0; top: 46px; width: 240px; }
.menu-card > * { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--text); font: 600 13px var(--head); text-align: left; text-decoration: none; overflow-wrap: anywhere; }
.menu-card a:hover, .menu-card button:hover { background: var(--soft); cursor: pointer; }
.menu { background: var(--panel); border-radius: 8px; }
.link { border: 0; background: none; padding: 0; color: var(--text); font: 600 13px var(--head); text-decoration: underline; cursor: pointer; }
.btn.wide { width: 100%; }
body.signed-out .shell { margin: 0 auto; max-width: 980px; padding: 8vh 18px; }
.auth { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.auth h1 { font-size: 38px; line-height: 1.15; margin: 28px 0 10px; }
.auth li { margin: 6px 0; color: var(--muted); }
.auth .card { padding: 28px; }
#box { max-width: 460px; margin: 0 auto; }

@media (min-width: 761px) {
  html[data-collapsed] .sidebar { width: 68px; }
  html[data-collapsed] .shell { margin-left: 68px; }
  html[data-collapsed] .sidebar .brand, html[data-collapsed] #nav a span, html[data-collapsed] .side-btn span { display: none; }
  html[data-collapsed] .side-head { justify-content: center; }
  html[data-collapsed] #nav a, html[data-collapsed] .side-btn { justify-content: center; }
  body.signed-out .shell, html[data-collapsed] body.signed-out .shell { margin: 0 auto; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  #nav a { flex-direction: row; font-size: 14px; text-align: left; padding: 10px 11px; }
  .brand .logo span { display: inline; }
}
@media (max-width: 760px) {
  .sidebar { width: 260px; transform: translateX(-105%); }
  body.drawer .sidebar { transform: none; }
  .shell { margin-left: 0; padding: 14px 14px 110px; }
  #collapse { display: none; }
  #cta { display: block; }
  .tabbar { background: var(--panel); border-radius: 14px; }
  .tabbar a.active { background: var(--solid); color: var(--on-solid); }
  .auth { grid-template-columns: 1fr; gap: 24px; }
  .auth h1 { font-size: 28px; }
}
