@import url("/themes.css?v=themes");
@import url("/tokens.css?v=themes");

:root {
  color-scheme: dark;
  --ns-ocean: var(--bgsolid);
  --ns-deep: color-mix(in srgb, var(--ink) 8%, var(--bgsolid));
  --ns-land: var(--panel);
  --ns-panel: var(--panel);
  --ns-edge: var(--line);
  --ns-ink: var(--ink);
  --ns-ink-dim: var(--mute);
  --ns-ink-faint: var(--parked);
  --ns-ink-on-light: var(--btnfg);
  --sig-lead: var(--lead);
  --sig-talking: var(--talking);
  --sig-deal: var(--deal);
  --sig-booked: var(--booked);
  --sig-past: var(--rebook);
  --sig-queued: var(--parked);
  --sig-other: var(--parked);
  --font-display: var(--display);
  --font-ui: var(--ui);
  --font-mono: var(--mono);
  --radius-panel: var(--radius);
  --radius-field: min(var(--radius), 12px);
  --radius-chip: var(--sradius);
  --radius-pill: var(--bradius);
  --glow-lead: 0 0 12px var(--lead);
  --glow-past: 0 0 12px var(--rebook);
  --bg-hero: var(--bg);
}
:root[data-theme="riso"],
:root[data-theme="concrete"] { color-scheme: light; }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); background-size: var(--bgsize); color: var(--ink); }
.shell { position: relative; z-index: 1; }
body {
  min-height: 100vh;
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--sig-lead); text-decoration: none; }
a:hover { color: var(--ns-ink); }
:focus-visible { outline: 2px solid var(--sig-lead); outline-offset: 2px; }

.serif { font-family: var(--font-display); font-weight: 400; }
.mono, .eyebrow, time, .fee, .credit { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.eyebrow, .kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ns-ink-dim);
  font-weight: 400;
}

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-6);
}
.login-card {
  width: min(420px, 100%);
  background: var(--ns-panel);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-panel);
  padding: 28px 24px 24px;
}
.mark { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.word {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}
.sub { color: var(--ns-ink-dim); margin: 4px 0 0; font-size: var(--text-ui); }

label { display: block; font-size: var(--text-small); color: var(--ns-ink-dim); margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  background: var(--ns-deep);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-field);
  padding: 10px 12px;
  min-height: 38px;
  font-size: var(--text-ui);
}
textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.primary, .ghost, .danger {
  border-radius: var(--radius-pill);
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
a.ghost, a.primary { display: inline-flex; align-items: center; }
.primary { background: var(--btnbg); color: var(--btnfg); border: 0; box-shadow: var(--btnshadow); font-family: var(--btnfont); }
.ghost, .danger { background: transparent; color: var(--ns-ink); border: var(--bw) solid var(--line); }
.danger { color: var(--sig-past); }
.primary:hover { filter: brightness(1.06); }
.ghost:hover, .rail .nav-link:hover, .tabbar a:hover { color: var(--ns-ink); background: var(--ns-land); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.stack { display: grid; gap: 10px; }
.spread { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }

.shell { min-height: 100vh; }
.workspace { min-width: 0; }
.page {
  padding: 28px 20px 108px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1360px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 8vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}
h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ns-ink); display: flex; align-items: center; gap: 10px; }
h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.lede, .meta { color: var(--ns-ink-dim); font-size: var(--text-ui); margin: 0; line-height: 1.55; }
.lede { font-size: var(--text-body); max-width: 66ch; }

.rail { display: none; }
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  padding: 0 6px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bgsolid) 94%, transparent);
  border-top: var(--bw) solid var(--line);
  z-index: 5;
}
.tabbar a, .tabbar button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  background: transparent;
  border: 0;
  color: var(--ns-ink-dim);
  min-height: var(--touch);
  font-size: 11px;
  font-weight: 500;
  padding: 8px 0;
}
.tabbar a.active, .tabbar button.active { color: var(--ns-ink); }
.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  padding: 10px 0;
  border-radius: 12px;
  color: var(--ns-ink-dim);
  font-size: 11.5px;
  font-weight: 500;
  background: transparent;
  border: 0;
  text-decoration: none;
}
.nav-link.active {
  color: var(--ns-ink);
  background: var(--ns-land);
  box-shadow: inset 0 0 0 var(--bw) var(--line);
}
.more {
  position: fixed;
  left: 12px; right: 12px; bottom: 76px;
  background: var(--ns-land);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-panel);
  padding: 8px;
  display: grid;
  z-index: 6;
}
.more a, .more button {
  text-decoration: none;
  text-align: left;
  padding: 12px;
  border-radius: 10px;
  color: var(--ns-ink);
  background: transparent;
  border: 0;
  min-height: var(--touch);
  font-size: var(--text-ui);
}
.more a.active, .more a:hover, .more button:hover { background: var(--ns-deep); }

.panel, .card, .list article, .kpi, .lead-block, .poster {
  background: var(--ns-panel);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-panel);
}
.card, .lead-block, .kpi { padding: 20px 22px; }
.panel { overflow: hidden; }
.panel-pad { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.list { display: grid; gap: 8px; }
.list article { padding: 14px 16px; }
.lane-head, .panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
}
.lane-card, .event-row { position: relative; overflow: hidden; }
.lane-card { --wash: var(--sig-lead); }
.lane-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 55%;
  height: 160%;
  background: radial-gradient(circle, color-mix(in srgb, var(--wash) 34%, transparent), transparent 68%);
  pointer-events: none;
}
.lane-still, .card-still {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  opacity: 0.85;
}
.lane-card .copy, .lane-card .primary { position: relative; z-index: 1; }
.lane-card, .event-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-top: var(--bw) solid var(--line);
}
.lane-card .copy, .event-row .copy { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.card-name {
  font-family: var(--font-display);
  font-size: var(--text-card);
  color: var(--ns-ink);
  line-height: 1.05;
}
.card-name:hover { color: var(--ns-ink); }
.due { border-color: color-mix(in srgb, var(--deal) 55%, transparent); }
.pitch { border-color: color-mix(in srgb, var(--lead) 45%, transparent); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--sradius);
  font-size: 12px;
  font-weight: 500;
  background: var(--ns-deep);
  border: var(--bw) solid var(--line);
  color: var(--ns-ink);
  white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot.glow-lead { box-shadow: var(--glow-lead); }
.dot.glow-past { box-shadow: var(--glow-past); }
.proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  color: var(--prooffg);
  background: var(--proofbg);
  border: var(--proofborder);
  border-radius: var(--sradius);
  padding: 5px 10px;
}

.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi b, .kpi-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kpi .unit { font-size: 24px; color: var(--ns-ink-dim); }
.desk {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.desk-main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.desk-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}
.head-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.seg {
  display: flex;
  padding: 3px;
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--ns-deep);
}
.seg .primary, .seg .ghost { height: 30px; border: 0; }
.seg .ghost { color: var(--ns-ink-dim); }
.search-btn { min-width: min(280px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ns-ink-dim); }
.search-icon { display: none; }
.kbd { font-family: var(--font-mono); font-size: 11.5px; border: var(--bw) solid var(--line); border-radius: 6px; padding: 2px 6px; }

.venue-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-panel);
  padding: 28px 24px 22px;
  background: var(--ns-land);
  border: var(--bw) solid var(--line);
}
.venue-stage .still, .poster .still {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ns-ocean) 10%, transparent), color-mix(in srgb, var(--ns-ocean) 88%, transparent)),
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--wash, var(--sig-lead)) 55%, transparent), transparent 62%),
    var(--ns-ocean);
}
.venue-stage .still img, .poster .still img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  mask-image: linear-gradient(180deg, #000 0%, #000 36%, transparent 88%);
}
.venue-stage .head-copy, .venue-stage .panel, .poster-copy { position: relative; z-index: 1; }
.venue-hero {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 12vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
}
.stepper { display: flex; gap: 6px; flex-wrap: wrap; }
.step { flex: 1 1 64px; min-width: 64px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--ns-ink-dim); background: transparent; border: 0; padding: 0; text-align: left; min-height: 36px; }
.step i { display: block; height: 3px; border-radius: 2px; background: var(--ns-edge); }
.step.on { color: var(--ns-ink); }
.step.on i { background: var(--step, var(--sig-lead)); box-shadow: 0 0 10px var(--step, var(--sig-lead)); }
.split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.split-main { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.split-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.kv { display: flex; justify-content: space-between; gap: 16px; font-size: var(--text-ui); padding: 10px 0; border-top: var(--bw) solid var(--line); }
.kv span:first-child { color: var(--ns-ink-dim); }
.crumbs { margin: 0; font-size: 13px; color: var(--ns-ink-dim); }
.crumbs a { color: var(--sig-lead); }

.toast {
  position: fixed;
  top: 12px; left: 12px; right: 12px;
  background: var(--ns-land);
  border: 1px solid var(--sig-deal);
  color: var(--ns-ink);
  border-radius: var(--radius-field);
  padding: 12px 14px;
  z-index: 8;
}
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters .wide { grid-column: 1 / -1; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; color: var(--ns-ink-dim); font-weight: 500; }
td, th { padding: 8px 6px; vertical-align: middle; }
td a.name { font-family: var(--font-display); font-size: 22px; color: var(--ns-ink); }
@media (max-width: 800px) {
  table thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { background: var(--ns-panel); border: var(--bw) solid var(--line); border-radius: var(--radius-panel); margin-bottom: 10px; padding: 8px; }
  td { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
  td::before { content: attr(data-label); color: var(--ns-ink-dim); font-size: 12px; }
}
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.board section { background: var(--ns-panel); border: var(--bw) solid var(--line); border-radius: var(--radius-panel); padding: 12px; min-height: 120px; }
.board article { padding: 8px 0; border-top: var(--bw) solid var(--line); }
.board article:first-of-type { border-top: 0; }

.map-wrap {
  background:
    linear-gradient(color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px),
    var(--ns-ocean);
  background-size: 48px 48px;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: var(--bw) solid var(--line);
}
.map-wrap svg { width: 100%; height: auto; display: block; }
.land { fill: var(--ns-land); stroke: var(--ns-edge); stroke-width: 0.6; }
.dot { cursor: pointer; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ns-ink-dim); }
.swatch { width: 8px; height: 8px; border-radius: 99px; display: inline-block; margin-right: 6px; }
.map-layout { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.map-layout .map-wrap { flex: 3 1 520px; min-width: 0; }
.sheet { flex: 1 1 260px; min-width: 0; padding: 18px 18px 8px; }

.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar .dow, .calendar .day { min-height: 44px; border-radius: 10px; }
.calendar .dow { color: var(--ns-ink-dim); font-size: 12px; display: grid; place-items: center; font-family: var(--font-mono); }
.calendar .day { background: var(--ns-land); border: 1px solid transparent; padding: 4px; font-size: 12px; }
.calendar .day em { font-style: normal; color: var(--ns-ink-dim); font-family: var(--font-mono); }
.hold-chip { display: block; border-radius: 6px; padding: 2px 4px; margin-top: 3px; color: var(--ns-ink-on-light); font-size: 10px; white-space: nowrap; overflow: hidden; }

.secret {
  background: var(--ns-deep);
  border: 1px dashed var(--sig-deal);
  border-radius: var(--radius-field);
  padding: 12px;
  word-break: break-all;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.posters, .stops { display: grid; gap: 16px; }
.poster {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.poster-copy { padding: 28px 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.poster .artist-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ns-ink-dim);
}
.poster h2 {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 0;
  text-transform: none;
  overflow-wrap: break-word;
}
.board article { position: relative; overflow: hidden; }
.board article .card-still { position: relative; inset: auto; width: 100%; height: 64px; margin: 0 0 8px; mask-image: linear-gradient(#000 30%, transparent); display: block; }
.route-title em { font-style: italic; color: var(--sig-lead); }
.book-link, a.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  background: var(--btnbg);
  color: var(--btnfg);
  box-shadow: var(--btnshadow);
  font-family: var(--btnfont);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-pill);
  min-height: 44px;
  padding: 0 16px;
}
.book-link:hover, a.primary:hover, .primary.rb:hover { color: var(--btnfg); }
.primary.rb, a.primary.rb { background: var(--rebookbtn); color: var(--rebookbtnfg); }
.primary.rb:hover, a.primary.rb:hover { color: var(--rebookbtnfg); }
.clips { display: grid; gap: 10px; }
.clip { margin: 0; background: var(--ns-deep); border-radius: var(--radius-panel); overflow: hidden; border: var(--bw) solid var(--line); }
.clip img, .frame-link { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ns-ocean); }
.frame-link { display: grid; place-items: center; text-decoration: none; font-family: var(--font-display); font-size: 28px; color: var(--ns-ink); }
.clip figcaption { padding: 10px 12px 12px; }
.credit { font-size: 12px; margin: 4px 0 0; word-break: break-word; color: var(--ns-ink-dim); }
.credit a { color: var(--sig-lead); }
.agenda { display: flex; gap: 14px; align-items: flex-start; }
.agenda time { flex: 0 0 72px; font-size: 12px; color: var(--sig-lead); }
.rhythm { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-ui); }
.log article { font-family: var(--font-mono); font-size: 12.5px; }

.palette {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--bgsolid) 72%, transparent);
  z-index: 20;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 12vh 16px 16px;
}
.palette-card {
  width: min(640px, 100%);
  background: var(--ns-land);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.palette input { border: 0; border-bottom: var(--bw) solid var(--line); border-radius: 0; min-height: 52px; background: transparent; font-size: 16px; }
.palette-results { display: grid; max-height: 50vh; overflow: auto; }
.palette-results a, .palette-results button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 16px; color: var(--ns-ink); border: 0; border-top: var(--bw) solid var(--line); border-radius: 0; min-height: var(--touch); align-items: center; background: transparent; text-align: left; font: inherit; box-shadow: none; }
.palette-results a:hover, .palette-results a.active, .palette-results button:hover, .palette-results button.active { background: var(--ns-deep); color: var(--ns-ink); }

.skeleton { display: grid; gap: 12px; }
.skeleton i {
  display: block;
  height: 18px;
  border-radius: 8px;
  background: var(--ns-land);
  animation: pulse var(--dur-breathe) ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.55; } }
body.touring .page { padding-bottom: 320px; }
.tour {
  position: fixed;
  z-index: 4;
  left: 12px;
  right: 12px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  max-height: min(52vh, 460px);
  overflow: hidden;
  background: var(--ns-land);
  border: var(--bw) solid color-mix(in srgb, var(--lead) 55%, var(--line));
  border-radius: var(--radius-panel);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tour-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.tour-scroll { overflow: auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.tour-actions { flex: none; }
.tour-body { margin: 0; font-size: var(--text-ui); line-height: 1.5; }
.tour-steps { margin: 0; padding-left: 1.15em; display: grid; gap: 6px; font-size: var(--text-ui); line-height: 1.45; }
.tour-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-actions .primary, .tour-actions .ghost { min-height: var(--touch); }
.nav-link.tour-on, .tabbar .tour-on { color: var(--ns-ink); box-shadow: inset 0 0 0 1px var(--sig-lead); }
@media (min-width: 720px) {
  body.touring .page { padding-bottom: 64px; }
  .tour { left: calc(var(--rail-width) + 28px); right: auto; bottom: 28px; width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton i { animation: none; }
  .step.on i, .dot.glow-lead, .dot.glow-past { box-shadow: none; }
}

@media (max-width: 719px) {
  .primary, .ghost, .danger, .step { min-height: var(--touch); }
  .search-btn { width: 44px; min-width: 44px; height: 44px; border-radius: 50%; padding: 0; justify-content: center; }
  .search-btn .search-label, .search-btn .kbd { display: none; }
  .search-icon { display: block; }
  .kpi b, .kpi-value { font-size: 32px; }
  h1 { font-size: 44px; }
}

@media (min-width: 720px) {
  .shell { display: grid; grid-template-columns: var(--rail-width) 1fr; }
  .tabbar { display: none; }
  .rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 0;
    border-right: var(--bw) solid var(--line);
    position: sticky;
    top: 0;
    height: 100vh;
  }
  .brand { margin-bottom: 18px; }
  .rail-foot { margin-top: auto; color: var(--ns-ink-dim); font-size: 11px; text-align: center; padding: 8px; }
  .page { padding: 40px 48px 64px; }
  .more { left: 96px; right: auto; bottom: 16px; width: 240px; }
  .filters { grid-template-columns: repeat(6, 1fr); }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .posters, .stops { grid-template-columns: 1fr 1fr; }
  .toast { left: auto; right: 24px; width: min(420px, 40vw); }
}

.pile { display: grid; gap: 22px; }
.pile-note { margin: 0; padding-left: 1.1em; color: var(--ns-ink-dim); font-size: var(--text-ui); }
.pile-list { display: grid; gap: 10px; }
.pile-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: var(--bw) solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ns-land) 88%, transparent);
}
.pile-card.in-reel { box-shadow: inset 0 0 0 1px var(--sig-lead); }
.pile-card img, .pile-mark {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bgsolid);
}
.pile-mark {
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ns-ink-dim);
}
.pile-card strong { display: block; margin-bottom: 4px; }
.pile-card .credit { margin: 0 0 8px; }
.reel-maker { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.reel-phone {
  width: min(100%, 220px);
  height: min(392px, 52vh);
  margin: 0 auto;
  flex: none;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--bgsolid);
  border: var(--bw) solid var(--line);
  box-shadow: 0 24px 80px color-mix(in srgb, var(--sig-lead) 18%, transparent);
}
.reel-phone img, .reel-phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-empty {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.reel-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 72px 16px 16px;
  background: linear-gradient(transparent, color-mix(in srgb, var(--bgsolid) 94%, transparent));
}
.reel-name {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.95;
  margin: 4px 0 8px;
  overflow-wrap: anywhere;
}
.reel-shade .credit { margin: 0; }
.reel-dots { display: flex; gap: 6px; justify-content: center; min-height: 8px; }
.reel-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--ns-edge); display: block; }
.reel-dots i.on { width: 16px; background: var(--sig-lead); }
.reel-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.reel-actions .primary, .reel-actions .ghost { min-height: var(--touch); }
.reel-saved-list { display: grid; gap: 8px; }
.reel-saved {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  align-items: center;
  color: var(--ns-ink);
}
.reel-saved img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; }
@media (min-width: 960px) {
  .pile { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .pile-form, .pile-list { grid-column: 1; }
  .reel-maker { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; }
}

h1, .word, .card-name, .kpi b, .kpi-value, .venue-hero, .poster h2, .tour-title, td a.name, .reel-name, .frame-link, .serif {
  font-family: var(--display);
  font-weight: var(--dweight);
  font-stretch: var(--dstretch);
  text-transform: var(--dcase);
}
h1, .word, .kpi b, .kpi-value, .venue-hero, .poster h2 {
  color: var(--hero);
  text-shadow: var(--heroshadow);
}
.brand-mark { display: block; }
.brand-mark rect { fill: color-mix(in srgb, var(--ink) 12%, var(--bgsolid)); stroke: var(--line); rx: 8; }
.brand-mark path { stroke: var(--lead); }
:root[data-theme="concrete"] .land { fill: color-mix(in srgb, var(--bgsolid) 72%, white); }
.theme-label { margin: 4px 12px 0; }
.more .theme-pick { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.more .theme-pick button {
  width: auto;
  min-height: 36px;
  padding: 0 10px;
  border-radius: var(--sradius);
  border: var(--bw) solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.more .theme-pick button[aria-pressed="true"] { background: var(--ink); color: var(--bgsolid); }
.t-scan {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0, rgba(0, 0, 0, 0.28) 1px, transparent 1px, transparent 3px);
}
:root[data-theme="scope"] .t-scan { display: block; }
@media (prefers-reduced-motion: reduce) {
  .t-scan { display: none !important; }
}
