/* NOIR Kempen Gerila — mockup styles. Mobile-first. */
:root {
  --purple: #51346c;
  --purple-2: #4A2C7A;
  --purple-dark: #3A2450;
  --purple-deep: #2A1838;
  --purple-soft: #EEE8F7;
  --purple-wash: #F6F2FA;
  --purple-mid: #BBAADE;
  --purple-line: #D9CDE8;
  --bg: #F7F4F9;
  --card: #ffffff;
  --text: #2C1E38;
  --muted: #746484;
  --faint: #9A8BA6;
  --line: #E8DFEE;
  --success: #157A4B;
  --success-bg: #E5F6EC;
  --warn: #9A6700;
  --warn-bg: #FFF4D6;
  --danger: #B42318;
  --danger-bg: #FCE8E6;
  --info: #175CD3;
  --info-bg: #E8F1FC;
  --revise: #B54708;
  --revise-bg: #FEECDC;
  --process: #175CD3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(81, 52, 108, 0.08);
  --shadow-sm: 0 4px 14px rgba(81, 52, 108, 0.06);
  --header-h: 58px;
  --banner-h: 32px;
  --tabbar-h: 64px;
  --sidebar-w: 240px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--purple); text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
h1,h2,h3,h4,p { margin: 0; }
:focus-visible { outline: 2px solid var(--purple-mid); outline-offset: 2px; }

/* Mockup banner — every screen */
.mock-banner {
  position: sticky; top: 0; z-index: 80;
  height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  background: #F3E3A3; color: #6B4E00;
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid #E6D27A;
}

/* App shell */
.app { min-height: calc(100vh - var(--banner-h)); display: flex; flex-direction: column; }
.main { flex: 1; padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px); }
.topbar {
  height: var(--header-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: var(--banner-h); z-index: 70;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(145deg, var(--purple) 0%, var(--purple-2) 100%);
  color: #fff; font-weight: 800; font-size: 13px;
  display: grid; place-items: center; letter-spacing: -.02em;
}
.brand-text { min-width: 0; }
.brand-text strong { display: block; font-size: 13.5px; font-weight: 800; color: var(--purple); line-height: 1.15; }
.brand-text span { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }

.switcher {
  display: flex; background: var(--purple-wash); border: 1px solid var(--purple-line);
  border-radius: 999px; padding: 3px; gap: 2px;
}
.switcher a {
  font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
  color: var(--muted); white-space: nowrap;
}
.switcher a.active, .switcher a[aria-current="page"] {
  background: var(--purple); color: #fff;
}

.user-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--purple-wash); border-radius: 999px; padding: 4px 10px 4px 4px;
}
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.user-chip small { display: none; font-size: 11px; font-weight: 700; color: var(--purple); }

/* Sidebar: desktop only */
.sidebar { display: none; }
.side-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px; }
.side-nav a, .side-nav button.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  color: var(--text); font-size: 13.5px; font-weight: 600;
  background: none; border: 0; text-align: left; width: 100%;
}
.side-nav a .ico, .nav-link .ico { width: 18px; text-align: center; font-size: 14px; opacity: .85; }
.side-nav a.active, .side-nav a[aria-current="page"] {
  background: var(--purple-soft); color: var(--purple);
}
.side-label {
  margin: 16px 12px 6px; font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}

/* Mobile tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding: 6px 8px var(--safe-b);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; align-items: flex-start;
}
.tabbar a, .tabbar button {
  flex: 1; background: none; border: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 4px; color: var(--muted); font-size: 10px; font-weight: 700;
  min-height: 44px;
}
.tabbar a .ico, .tabbar button .ico { font-size: 18px; line-height: 1; }
.tabbar a.active, .tabbar button.active { color: var(--purple); }
body.is-auth-screen .tabbar,
body.is-auth-screen .sidebar { display: none; }
body.is-auth-screen .main { padding-bottom: 24px; }
body.is-auth-screen .topbar { display: none; }

/* Screens */
.screen { display: none; padding: 16px; max-width: 1120px; margin: 0 auto; }
.screen.active { display: block; }
.page-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--purple-dark); }
.page-sub { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

/* Cards & grid */
.grid { display: grid; gap: 12px; }
.grid-2, .grid-3, .grid-6 { display: grid; gap: 12px; grid-template-columns: 1fr; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 14px; font-weight: 800; color: var(--purple-dark); }
.card .hint { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat { padding: 14px 16px; }
.stat .k { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.stat .v { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; color: var(--purple-dark); }
.stat .d { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 11px 16px;
  font-size: 13.5px; font-weight: 700; line-height: 1.2;
  min-height: 44px; background: var(--purple); color: #fff;
  box-shadow: 0 6px 16px rgba(81,52,108,.22);
}
.btn:hover { background: var(--purple-2); }
.btn-ghost { background: var(--purple-soft); color: var(--purple); box-shadow: none; }
.btn-ghost:hover { background: #E3DAF2; }
.btn-outline { background: #fff; color: var(--purple); border: 1px solid var(--purple-line); box-shadow: none; }
.btn-success { background: var(--success); box-shadow: 0 6px 16px rgba(21,122,75,.2); }
.btn-success:hover { background: #11633D; }
.btn-danger { background: var(--danger); box-shadow: 0 6px 16px rgba(180,35,24,.18); }
.btn-danger:hover { background: #9B1C14; }
.btn-warn { background: var(--revise); box-shadow: 0 6px 16px rgba(181,71,8,.18); }
.btn-warn:hover { background: #93370D; }
.btn-sm { min-height: 36px; padding: 7px 12px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 3px 9px;
  font-size: 11px; font-weight: 800; letter-spacing: .01em; white-space: nowrap;
}
.badge-pending { background: var(--warn-bg); color: var(--warn); }
.badge-approved, .badge-paid, .badge-ok { background: var(--success-bg); color: var(--success); }
.badge-rejected { background: var(--danger-bg); color: var(--danger); }
.badge-revise { background: var(--revise-bg); color: var(--revise); }
.badge-process { background: var(--info-bg); color: var(--info); }
.badge-unpaid { background: #F3F0F6; color: var(--muted); }
.badge-live { background: var(--purple-soft); color: var(--purple); }
.badge-threads { background: #EDE9FE; color: #5B21B6; }
.badge-tiktok { background: #F4F4F5; color: #111; }
.badge-aktif { background: var(--success-bg); color: var(--success); }
.badge-tutup { background: #F3F0F6; color: var(--muted); }

.platform-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; color: var(--purple);
  background: var(--purple-soft); border-radius: 999px; padding: 3px 8px;
}

/* Forms */
label.fld { display: block; margin-bottom: 14px; }
label.fld > span, .fld-label {
  display: block; font-size: 12px; font-weight: 700; color: var(--purple-dark); margin-bottom: 6px;
}
.input, select.input, textarea.input {
  width: 100%; background: #fff; border: 1px solid var(--purple-line);
  border-radius: 12px; padding: 12px 14px; font-size: 15px; color: var(--text);
  outline: none; min-height: 44px;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
.help { font-size: 12px; color: var(--muted); margin-top: 6px; }

.seg {
  display: flex; background: var(--purple-wash); border-radius: 12px; padding: 4px; gap: 4px;
}
.seg button {
  flex: 1; border: 0; background: transparent; border-radius: 10px;
  padding: 10px 8px; font-size: 13px; font-weight: 700; color: var(--muted); min-height: 44px;
}
.seg button.active { background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); }

/* Upload dropzone */
.drop {
  border: 1.5px dashed var(--purple-mid);
  background: var(--purple-wash);
  border-radius: 16px; padding: 22px 16px;
  text-align: center; cursor: pointer; position: relative;
}
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop strong { display: block; color: var(--purple); font-size: 14px; margin-top: 8px; }
.drop p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.drop-ico {
  width: 48px; height: 48px; margin: 0 auto; border-radius: 14px;
  background: #fff; color: var(--purple); display: grid; place-items: center;
  font-size: 22px; box-shadow: var(--shadow-sm);
}
.preview-box { margin-top: 12px; border-radius: 14px; overflow: hidden; background: #1a1222; }
.preview-box img, .preview-box video { width: 100%; max-height: 320px; object-fit: contain; background: #1a1222; }
.preview-box.img-bg { background: #f3eef8; }
.file-chip {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 10px;
}
.file-chip .meta { flex: 1; min-width: 0; }
.file-chip strong { display: block; font-size: 13px; }
.file-chip span { font-size: 11px; color: var(--muted); }

/* Campaign cards */
.camp-card { display: flex; flex-direction: column; gap: 12px; }
.camp-card .thumb {
  height: 110px; border-radius: 14px;
  background: linear-gradient(135deg, #51346c 0%, #7B5EA7 55%, #C9A96A 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 12px; color: #fff;
}
.camp-card .thumb.tt { background: linear-gradient(135deg, #2A1838 0%, #51346c 50%, #111 100%); }
.camp-card .thumb strong { font-size: 15px; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.camp-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.quota { height: 6px; background: var(--purple-soft); border-radius: 99px; overflow: hidden; }
.quota > i { display: block; height: 100%; background: var(--purple); border-radius: 99px; }

/* Tables */
.table-wrap { overflow: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
table.data th {
  text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  padding: 10px 12px; background: var(--purple-wash); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr { cursor: pointer; }
table.data tr:hover td { background: var(--purple-wash); }
.name-cell { font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filters select, .filters input {
  border: 1px solid var(--purple-line); background: #fff; border-radius: 999px;
  padding: 8px 12px; font-size: 13px; min-height: 40px;
}

/* Funnel + charts */
.funnel { display: grid; gap: 8px; margin-top: 12px; }
.funnel-row { display: grid; grid-template-columns: 110px 1fr 48px; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 600; }
.funnel-row b { text-align: right; color: var(--purple); font-variant-numeric: tabular-nums; }
.bar { height: 22px; background: var(--purple-soft); border-radius: 8px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), #7B5EA7); border-radius: 8px; }
.split { display: grid; gap: 14px; margin-top: 12px; }
.split-item { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; }
.split-track { grid-column: 1 / -1; height: 10px; background: #EFEAF5; border-radius: 99px; overflow: hidden; display: flex; }
.split-track .th { background: var(--purple); }
.split-track .tt { background: #1a1a1a; }
.donut-wrap { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.legend { display: grid; gap: 6px; font-size: 13px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* Insights / lists */
.insight { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; }
.insight:last-child { border-bottom: 0; }
.insight .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); margin-top: 7px; flex: 0 0 auto; }
.log { display: grid; gap: 0; }
.log-item { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.log-item time { color: var(--faint); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 2px; }
.log-item:last-child { border-bottom: 0; }

/* Timeline */
.timeline { display: grid; gap: 0; margin: 8px 0 4px; position: relative; }
.tl-step { display: grid; grid-template-columns: 20px 1fr; gap: 10px; position: relative; padding-bottom: 16px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: ""; position: absolute; left: 9px; top: 16px; bottom: 0; width: 2px; background: var(--purple-line);
}
.tl-step:last-child::before { display: none; }
.tl-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--purple-mid); background: #fff; z-index: 1;
}
.tl-step.done .tl-dot { background: var(--purple); border-color: var(--purple); }
.tl-step.current .tl-dot { background: #fff; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
.tl-step.warn .tl-dot { background: var(--revise); border-color: var(--revise); }
.tl-step.bad .tl-dot { background: var(--danger); border-color: var(--danger); }
.tl-step strong { display: block; font-size: 13px; }
.tl-step span { font-size: 12px; color: var(--muted); }

.comment {
  background: var(--purple-wash); border-radius: 12px; padding: 10px 12px; margin-top: 8px;
  font-size: 13px; line-height: 1.45;
}
.comment b { display: block; font-size: 11px; color: var(--purple); margin-bottom: 2px; }

/* Review layout */
.review-list { display: grid; gap: 8px; }
.review-item {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
}
.review-item.selected { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
.review-item .who { font-weight: 800; font-size: 14px; }
.review-item .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.preview-panel { }
.phone {
  width: 100%; max-width: 320px; margin: 0 auto;
  background: #1a1222; border-radius: 28px; padding: 12px 10px 18px;
  box-shadow: var(--shadow); color: #fff;
}
.phone-top { height: 18px; display: flex; justify-content: center; }
.phone-top i { width: 70px; height: 8px; border-radius: 8px; background: #2c2038; }
.phone-body { background: #fff; color: var(--text); border-radius: 20px; overflow: hidden; min-height: 240px; }
.phone-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.phone-caption { padding: 10px 12px 14px; font-size: 13px; line-height: 1.5; }
.phone-media { background: linear-gradient(160deg, #51346c, #8B6FB3 50%, #C9A96A); min-height: 180px; display: grid; place-items: center; color: #fff; position: relative; }
.phone-media.video::after {
  content: "▶"; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,.4); display: grid; place-items: center;
  font-size: 16px; position: absolute;
}
.action-box { margin-top: 14px; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px); transform: translateX(-50%) translateY(20px);
  background: var(--purple-dark); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none;
  transition: .25s ease; z-index: 100; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Auth */
.auth-wrap { min-height: calc(100vh - var(--banner-h)); display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px 24px 24px; box-shadow: var(--shadow); }
.auth-card .brand { justify-content: center; margin-bottom: 8px; }
.auth-card h1 { text-align: center; font-size: 22px; margin: 8px 0 4px; color: var(--purple); }
.auth-card .lead { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.auth-foot { text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
.demo-note { margin-top: 12px; font-size: 12px; color: var(--warn); background: var(--warn-bg); border-radius: 10px; padding: 8px 10px; text-align: center; }

/* Landing */
.landing { max-width: 980px; margin: 0 auto; padding: 28px 16px 48px; }
.hero { text-align: center; padding: 16px 0 28px; }
.hero h1 { font-size: clamp(26px, 6vw, 40px); letter-spacing: -.03em; color: var(--purple-dark); }
.hero p { margin: 10px auto 0; max-width: 520px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.choice { display: grid; gap: 14px; }
.choice a.card {
  display: block; padding: 22px 20px; transition: transform .15s, box-shadow .15s;
  color: inherit;
}
.choice a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.choice h2 { font-size: 18px; color: var(--purple); margin: 8px 0 6px; }
.choice p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Modal */
.modal-bg {
  position: fixed; inset: 0; background: rgba(42,24,56,.55);
  z-index: 90; display: none; align-items: flex-end; justify-content: center; padding: 16px;
}
.modal-bg.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px 20px 16px 16px;
  width: 100%; max-width: 520px; max-height: min(88vh, 720px);
  overflow: auto; padding: 18px 16px 20px;
}
.modal h3 { font-size: 17px; margin-bottom: 8px; }
.receipt-frame { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fafafa; margin: 10px 0; }
.receipt-frame img, .receipt-frame object { width: 100%; display: block; }

/* More sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(42,24,56,.45); z-index: 85; display: none; }
.sheet-bg.open { display: block; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 86;
  background: #fff; border-radius: 20px 20px 0 0; padding: 10px 12px calc(16px + var(--safe-b));
  display: none; box-shadow: 0 -10px 40px rgba(42,24,56,.15);
}
.sheet.open { display: block; }
.sheet a, .sheet button.nav-link {
  display: flex; width: 100%; align-items: center; gap: 10px;
  padding: 14px 12px; border: 0; background: none; border-radius: 12px;
  font-size: 15px; font-weight: 700; color: var(--text); text-align: left;
}
.grab { width: 40px; height: 4px; background: var(--line); border-radius: 4px; margin: 6px auto 10px; }

/* Risk */
.risk-grid { display: grid; gap: 12px; }
.risk-card .num { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.risk-low { color: var(--success); }
.risk-mid { color: var(--revise); }
.risk-high { color: var(--danger); }

/* Public report extras */
.report-hero {
  background: linear-gradient(145deg, var(--purple-dark), var(--purple) 55%, #7B5EA7);
  color: #fff; border-radius: 20px; padding: 22px 18px; margin-bottom: 16px;
}
.report-hero h1 { font-size: clamp(20px, 5vw, 28px); }
.report-hero p { opacity: .85; margin-top: 6px; font-size: 13.5px; }

/* Utility */
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.amount { font-variant-numeric: tabular-nums; font-weight: 800; }
.linkish { color: var(--purple); font-weight: 700; font-size: 12.5px; word-break: break-all; }

/* Desktop */
@media (min-width: 900px) {
  .app { flex-direction: row; align-items: stretch; }
  .sidebar {
    display: flex; flex-direction: column;
    width: var(--sidebar-w); flex: 0 0 var(--sidebar-w);
    background: #fff; border-right: 1px solid var(--line);
    position: sticky; top: var(--banner-h); height: calc(100vh - var(--banner-h));
    overflow: auto;
  }
  .sidebar .brand { padding: 16px 16px 8px; flex: 0 0 auto; }
  .tabbar { display: none; }
  .main { flex: 1; min-width: 0; padding-bottom: 32px; }
  .topbar { position: sticky; }
  .user-chip small { display: block; }
  .screen { padding: 24px 28px 40px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .review-layout { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
  .choice { grid-template-columns: 1fr 1fr; }
  .modal-bg { align-items: center; }
  .modal { border-radius: 20px; }
  .split.two { grid-template-columns: 1.2fr .8fr; }
  .main .topbar .brand { display: none; }
}
@media (min-width: 1100px) {
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}
