/* Design board for travel-app. Throwaway mockup code; never copied into the app. */
@import url("fonts/fonts.css");
@import url("board-c.css");

/* ---------- board chrome ---------- */
:root {
  --board-bg: #e6e8e3;
  --board-grid: rgba(0, 0, 0, 0.06);
  --board-ink: #1c231f;
  --board-muted: #5f6a64;
  --board-panel: #fbfbf9;
  --board-line: #cfd5cf;
  --board-accent: #0f6f67;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: var(--board-bg);
  color: var(--board-ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.toolbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 16px; background: var(--board-panel);
  border-bottom: 1px solid var(--board-line);
}
.toolbar h1 { font: 500 18px/1.2 "Newsreader", serif; margin: 0 8px 0 0; }
.toolbar .hint { color: var(--board-muted); font-size: 13px; margin-left: auto; }
.toolbar .group { display: flex; align-items: center; gap: 4px; }
.toolbar label { font-size: 12px; color: var(--board-muted); margin-right: 4px; }
.toolbar button, .toolbar select {
  font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--board-line); background: #fff; color: var(--board-ink); cursor: pointer; min-height: 32px;
}
.toolbar button[aria-pressed="true"] { background: var(--board-accent); color: #fff; border-color: var(--board-accent); }
.toolbar button:focus-visible, .toolbar select:focus-visible { outline: 2px solid var(--board-accent); outline-offset: 2px; }

.canvas-viewport { position: absolute; inset: 0; cursor: grab; }
.canvas-viewport.dragging { cursor: grabbing; }
.canvas {
  position: absolute; left: 0; top: 0; transform-origin: 0 0;
  background-image: linear-gradient(var(--board-grid) 1px, transparent 1px), linear-gradient(90deg, var(--board-grid) 1px, transparent 1px);
  background-size: 40px 40px; width: 5600px; height: 9800px;
}
.page-label {
  position: absolute; font: 500 28px/1 "Newsreader", serif; color: var(--board-ink);
}
.page-label small { display: block; font: 400 14px/1.4 "Source Sans 3", sans-serif; color: var(--board-muted); margin-top: 6px; max-width: 520px; }
.frame { position: absolute; }
.frame-title { font-size: 13px; color: var(--board-muted); margin: 0 0 8px 2px; display: flex; gap: 8px; align-items: baseline; }
.frame-title b { color: var(--board-ink); font-weight: 600; }
.canvas.hide-a .frame[data-variant="a"], .canvas.hide-b .frame[data-variant="b"] { display: none; }
.canvas.hide-a .page-label.for-a, .canvas.hide-b .page-label.for-b { display: none; }

/* ---------- iPhone shell ---------- */
.phone {
  width: 375px; height: 812px; border-radius: 44px; padding: 12px;
  background: #0c0d0e; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden; position: relative;
  background: var(--bg); color: var(--ink); font-family: var(--font-ui);
  display: flex; flex-direction: column;
}
.phone .island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 120px; height: 34px; border-radius: 20px; background: #0c0d0e; z-index: 5; }
.statusbar { height: 54px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 28px 6px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.statusbar .right { display: flex; gap: 5px; align-items: center; }
.statusbar svg { width: 18px; height: 12px; }
.content { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.scroll { flex: 1; overflow: hidden; padding: 0 20px; }
.tabbar { flex: none; height: 84px; border-top: 1px solid var(--line); display: flex; padding: 8px 10px 0; background: var(--bg-raised); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); text-decoration: none; padding-top: 4px; min-height: 44px; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.desktop { width: 1280px; height: 800px; border-radius: 12px; overflow: hidden; background: var(--bg); color: var(--ink); font-family: var(--font-ui); box-shadow: 0 30px 60px rgba(0,0,0,.22); display: grid; grid-template-columns: 240px 1fr; }
.wide { width: 820px; min-height: 812px; border-radius: 16px; background: var(--bg); color: var(--ink); font-family: var(--font-ui); padding: 32px; box-shadow: 0 20px 40px rgba(0,0,0,.18); }

/* ---------- shared tokens (defaults = variant A light) ---------- */
.ui {
  --font-ui: "Source Sans 3", system-ui, sans-serif;
  --font-display: "Newsreader", Georgia, serif;
  --font-num: "Newsreader", Georgia, serif;
  --bg: #eef1ee;
  --bg-raised: #ffffff;
  --bg-sunken: #e3e7e3;
  --ink: #15211c;
  --muted: #58645e;
  --line: #d3dad4;
  --primary: #0f6f67;
  --on-primary: #ffffff;
  --primary-soft: #dcefe9;
  --warn: #9a5b0b;
  --warn-soft: #f6e9d2;
  --danger: #b3261e;
  --danger-soft: #f7dedc;
  --ok: #2f6b3a;
  --accent-teal: #0f6f67;
  --accent-plum: #6b3f7a;
  --accent-amber: #9a5b0b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(21, 33, 28, 0.06);
  --pad: 20px;
  --fs-body: 16px;
}
.ui.theme-dark {
  --bg: #121715;
  --bg-raised: #1a2320;
  --bg-sunken: #0d110f;
  --ink: #eef2ef;
  --muted: #a3b0a9;
  --line: #2c3833;
  --primary: #5fc3b5;
  --on-primary: #0d1c19;
  --primary-soft: #1d3b36;
  --warn: #f0b35a;
  --warn-soft: #3a2b12;
  --danger: #ff8a80;
  --danger-soft: #4a1f1b;
  --ok: #8fd39b;
  --accent-teal: #5fc3b5;
  --accent-plum: #c89ad8;
  --accent-amber: #f0b35a;
  --shadow: none;
}
/* Variant B: cockpit */
.ui.vb {
  --font-ui: "Be Vietnam Pro", system-ui, sans-serif;
  --font-display: "Be Vietnam Pro", system-ui, sans-serif;
  --font-num: "Be Vietnam Pro", system-ui, sans-serif;
  --bg: #121820;
  --bg-raised: #1a222d;
  --bg-sunken: #0c1116;
  --ink: #e9eef3;
  --muted: #93a0ae;
  --line: #2b3542;
  --primary: #ffb454;
  --on-primary: #1a1206;
  --primary-soft: #3a2c15;
  --warn: #ffb454;
  --warn-soft: #3a2c15;
  --danger: #ff7a70;
  --danger-soft: #4a211d;
  --ok: #5ed3b0;
  --accent-teal: #5ed3b0;
  --accent-plum: #c9a2ff;
  --accent-amber: #ffb454;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: none;
}
.ui { font-size: var(--fs-body); line-height: 1.45; }
.ui * { font-variant-numeric: tabular-nums; }
.ui h1, .ui h2, .ui h3 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.ui.vb h1, .ui.vb h2, .ui.vb h3 { font-weight: 700; letter-spacing: -0.02em; }
.ui h1 { font-size: 34px; }
.ui h2 { font-size: 24px; }
.ui h3 { font-size: 18px; }
.ui p { margin: 0; }
.ui .muted { color: var(--muted); }
.ui .small { font-size: 13px; }
.ui .num { font-family: var(--font-num); font-weight: 500; }
.ui.vb .num { font-weight: 700; }
.ui a { color: inherit; }
.ui svg.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ui button { font: inherit; color: inherit; cursor: pointer; }
.ui button:focus-visible, .ui a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.header { padding: 6px var(--pad) 10px; display: flex; align-items: center; gap: 12px; }
.header .back { width: 44px; height: 44px; margin-left: -12px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; }
.header h2 { flex: 1; }
.header .spacer { flex: 1; }
.eyebrow { font-size: 14px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-raised); font-weight: 600; font-size: 16px; text-decoration: none; transition: background 150ms ease, transform 100ms ease; }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; }
.btn.sm { min-height: 40px; padding: 0 12px; font-size: 14px; }
.btn .icon { width: 18px; height: 18px; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--bg-sunken); color: var(--ink); }
.chip.ok { background: var(--primary-soft); color: var(--primary); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.danger { background: var(--danger-soft); color: var(--danger); }
.chip.fixed { border: 1px solid var(--line); background: transparent; color: var(--muted); }
.ui.vb .chip.ok { color: var(--ok); background: #163a30; }

.card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card + .card { margin-top: 12px; }
.card.accent { border-left: 4px solid var(--card-accent, var(--primary)); }
.row { display: flex; align-items: center; gap: 12px; }
.row .grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.divider { height: 1px; background: var(--line); margin: 14px 0; }

/* trips list */
.trip-hero { padding: 8px var(--pad) 18px; }
.trip-hero .countdown { font-family: var(--font-num); font-size: 56px; line-height: 1; margin: 6px 0 2px; font-weight: 500; letter-spacing: -0.02em; }
.ui.vb .trip-hero .countdown { font-weight: 700; font-size: 60px; }
.trip-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); text-decoration: none; min-height: 84px; }
.trip-card + .trip-card { margin-top: 10px; }
.trip-card .date { font-family: var(--font-num); font-size: 26px; line-height: 1; font-weight: 500; text-align: center; }
.trip-card .date small { display: block; font-family: var(--font-ui); font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 3px; letter-spacing: 0.02em; }
.trip-card .title { font-weight: 600; font-size: 17px; }
.trip-card .meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.trip-card .when { font-size: 13px; font-weight: 600; color: var(--card-accent, var(--primary)); text-align: right; }
.ui.vb .trip-card { border-left: 3px solid var(--card-accent, var(--primary)); }

/* timeline */
.timeline { position: relative; padding-left: 70px; }
.timeline::before { content: ""; position: absolute; left: 58px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 18px 18px; }
.tl-item .time { position: absolute; left: -70px; top: 0; width: 52px; text-align: right; font-family: var(--font-num); font-size: 17px; font-weight: 500; line-height: 1.2; }
.tl-item .time small { display: block; font-family: var(--font-ui); font-size: 11px; color: var(--muted); font-weight: 600; }
.tl-item .dot { position: absolute; left: -17px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-raised); border: 2px solid var(--primary); }
.tl-item.fixed .dot { background: var(--primary); }
.tl-item.buffer .dot { border-color: var(--warn); border-style: dashed; }
.tl-item.now .dot { box-shadow: 0 0 0 4px var(--primary-soft); }
.tl-item .title { font-weight: 600; }
.tl-item .sub { color: var(--muted); font-size: 14px; }
.tl-item .tags { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.tl-item.buffer .title { color: var(--warn); font-weight: 500; }
.tl-item.shifted .time { color: var(--warn); }
.tl-item .delta { display: block; font-size: 11px; color: var(--warn); font-weight: 700; }
.tl-item.swapped .title { color: var(--primary); }

/* leg sheet */
.sheet { margin-top: auto; background: var(--bg-raised); border-radius: 22px 22px 0 0; padding: 10px var(--pad) 28px; border-top: 1px solid var(--line); box-shadow: 0 -10px 40px rgba(0,0,0,.18); }
.sheet .grip { width: 36px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.addr { display: grid; grid-template-columns: 20px 1fr; gap: 6px 10px; align-items: start; font-size: 15px; }
.addr .lbl { font-size: 12px; color: var(--muted); font-weight: 600; }
.handoff { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.handoff .btn { justify-content: flex-start; }
.brand { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; font-family: "Be Vietnam Pro", sans-serif; }
.brand.uber { background: #000; }
.brand.grab { background: #00b14f; }
.brand.gojek { background: #00aa13; }
.brand.bolt { background: #34d186; color: #0b2e1d; }
.brand.db { background: #ec0016; }
.brand.gmaps { background: #4285f4; }
.brand.amaps { background: #3c8af7; }
.brand.freenow { background: #c21b36; }
.url { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--muted); word-break: break-all; margin-top: 10px; padding: 8px 10px; background: var(--bg-sunken); border-radius: 8px; }

/* day plan */
.daybar { display: flex; gap: 8px; overflow: hidden; padding: 0 var(--pad) 12px; }
.daybar .d { flex: none; width: 56px; padding: 8px 0; text-align: center; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-raised); font-size: 12px; color: var(--muted); }
.daybar .d b { display: block; font-family: var(--font-num); font-size: 20px; color: var(--ink); font-weight: 500; }
.daybar .d.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.daybar .d.active b { color: var(--on-primary); }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner.info { background: var(--primary-soft); color: var(--primary); }
.banner.danger { background: var(--danger-soft); color: var(--danger); }
.banner .icon { margin-top: 1px; }
.banner b { font-weight: 700; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* map */
.map { position: relative; flex: 1; background: var(--bg-sunken); overflow: hidden; }
.map svg.base { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.map .pin .marker { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--primary); border: 2px solid var(--bg-raised); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.map .pin .marker .n { transform: rotate(45deg); color: var(--on-primary); font-size: 12px; font-weight: 800; }
.map .pin.stay .marker { background: var(--accent-plum); }
.map .pin .label { font-size: 11px; font-weight: 700; background: var(--bg-raised); padding: 2px 6px; border-radius: 6px; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.map .legend { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.map .note { position: absolute; top: 10px; left: 14px; right: 14px; font-size: 11px; color: var(--muted); }

/* profile */
.pref { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.pref:last-child { border-bottom: 0; }
.pref .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.pref .v { grid-column: 1; }
.pref .edit { grid-row: 1 / span 2; grid-column: 2; }
.progress { height: 6px; border-radius: 3px; background: var(--bg-sunken); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--primary); }
.option { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-raised); min-height: 56px; }
.option.selected { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.option .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.option.selected .radio { border-color: var(--primary); }
.option.selected .radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.option + .option { margin-top: 8px; }
.slider { position: relative; height: 44px; display: flex; align-items: center; }
.slider .track { position: absolute; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--bg-sunken); }
.slider .fill { position: absolute; left: 0; height: 4px; border-radius: 2px; background: var(--primary); }
.slider .knob { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-raised); border: 2px solid var(--primary); transform: translateX(-50%); }
.slider-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* group & money */
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; flex: none; }
.avatar.teal { background: var(--accent-teal); }
.avatar.plum { background: var(--accent-plum); }
.avatar.amber { background: var(--accent-amber); }
.ui.vb .avatar { color: #0c1116; }
.balance { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.balance .card { padding: 14px; }
.balance .amt { font-family: var(--font-num); font-size: 28px; font-weight: 500; line-height: 1.1; margin-top: 4px; }
.ui.vb .balance .amt { font-weight: 700; }
.amt.pos { color: var(--ok); }
.amt.neg { color: var(--danger); }
.expense { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.expense:last-child { border-bottom: 0; }
.expense .cat { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-sunken); display: grid; place-items: center; }
.expense .t { font-weight: 600; font-size: 15px; }
.expense .m { font-size: 12px; color: var(--muted); }
.expense .a { font-family: var(--font-num); font-size: 17px; font-weight: 500; text-align: right; }
.expense .a small { display: block; font-family: var(--font-ui); font-size: 11px; color: var(--muted); font-weight: 600; }
.fab { position: absolute; right: 20px; bottom: 100px; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--on-primary); border: 0; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.fab .icon { width: 26px; height: 26px; stroke-width: 2.2; }

/* checklist */
.check { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 6px 0; }
.check .box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.check.done .box { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.check.done .label { color: var(--muted); text-decoration: line-through; }
.check.unknown .box { border-style: dashed; }
.check .label { flex: 1; }
.section-h { font-size: 13px; font-weight: 700; color: var(--muted); margin: 18px 0 4px; }

/* settings */
.setting { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.setting .grow { min-width: 90px; }
.setting:last-child { border-bottom: 0; }
.setting .grow { flex: 1; }
.setting .sub { font-size: 13px; color: var(--muted); }
.seg { display: inline-flex; background: var(--bg-sunken); border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 6px 9px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); min-height: 32px; }
.seg button[aria-pressed="true"] { background: var(--bg-raised); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.toggle { width: 50px; height: 30px; border-radius: 15px; background: var(--line); position: relative; border: 0; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left 150ms ease; }
.toggle[aria-checked="true"] { background: var(--primary); }
.toggle[aria-checked="true"]::after { left: 23px; }

/* push preview */
.lock { flex: 1; background: linear-gradient(180deg, #2b3a4a, #0f1620); color: #fff; padding: 20px 14px; font-family: "Be Vietnam Pro", system-ui, sans-serif; }
.lock .clock { text-align: center; margin: 30px 0 26px; }
.lock .clock .t { font-size: 76px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lock .clock .d { font-size: 18px; margin-top: 4px; opacity: .9; }
.notif { background: rgba(255,255,255,0.82); color: #111; border-radius: 20px; padding: 12px 14px; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: start; backdrop-filter: blur(20px); }
.notif + .notif { margin-top: 8px; }
.notif .app { width: 38px; height: 38px; border-radius: 9px; background: #0f6f67; color: #fff; display: grid; place-items: center; }
.notif .app svg { width: 22px; height: 22px; stroke: #fff; }
.notif .h { font-weight: 700; font-size: 14px; }
.notif .b { font-size: 14px; line-height: 1.3; }
.notif .ago { font-size: 12px; color: #555; }
.notif.critical { background: rgba(255, 244, 230, 0.95); }
.notif.critical .app { background: #9a5b0b; }

/* style guide */
.sg h2 { margin-bottom: 14px; }
.sg section { margin-bottom: 28px; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.swatch { border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.swatch i { display: block; height: 56px; }
.swatch span { display: block; font-size: 11px; padding: 6px 8px; }
.swatch span b { display: block; font-size: 12px; }
.type-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.type-row .meta { font-size: 12px; color: var(--muted); }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* desktop layout */
.desktop .side { background: var(--bg-raised); border-right: 1px solid var(--line); padding: 28px 20px; display: flex; flex-direction: column; gap: 4px; }
.desktop .side .logo { font-family: var(--font-display); font-size: 24px; margin-bottom: 22px; }
.desktop .side a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; }
.desktop .side a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
.desktop .main { padding: 36px 44px; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
