:root {
  color-scheme: light;
  --paper: #eaf0e3;
  --paper-deep: #dfe7d8;
  --blue: #1739bd;
  --blue-dark: #0c247f;
  --pink: #f43d86;
  --yellow: #f3c623;
  --ink: #17211c;
  --muted: #5d6b63;
  --line: rgba(23, 33, 28, 0.22);
  --white: #f9fbf4;
  --radius: 14px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(244, 61, 134, 0.05), transparent 24rem),
    var(--paper);
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.ink-layer {
  position: fixed;
  z-index: -1;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  pointer-events: none;
  filter: saturate(1.15);
  opacity: 0.05;
}

.ink-blue {
  right: -20vw;
  top: 8vh;
  background: var(--blue);
}

.ink-pink {
  bottom: -22vw;
  left: 18vw;
  background: var(--pink);
}

.app-shell {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 118px;
  border-bottom: 1px solid var(--line);
  padding: 22px;
  color: var(--blue);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
}

.brand-mark i {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  mix-blend-mode: multiply;
}

.brand-mark i:nth-child(1) {
  left: 0;
  top: 0;
  background: var(--blue);
}

.brand-mark i:nth-child(2) {
  right: 0;
  top: 4px;
  background: var(--pink);
}

.brand-mark i:nth-child(3) {
  bottom: 0;
  left: 7px;
  background: var(--yellow);
}

.primary-nav {
  display: grid;
}

.primary-nav button {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.primary-nav button span {
  color: var(--muted);
  font-size: 11px;
}

.primary-nav button strong {
  font-size: 15px;
}

.primary-nav button:hover,
.primary-nav button.active {
  background: var(--blue);
  color: var(--paper);
}

.primary-nav button:hover span,
.primary-nav button.active span {
  color: var(--yellow);
}

.rail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 18px;
}

.rail-foot button,
.help-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
}

.rail-foot button:hover,
.help-button:hover {
  color: var(--blue);
}

.profile-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-weight: 800;
}

.main-stage {
  min-width: 0;
}

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  padding: 0 28px;
  background: rgba(234, 240, 227, 0.94);
}

.crumb {
  color: var(--muted);
  font-size: 13px;
}

.role-switch {
  display: flex;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}

.role-switch button {
  border: 0;
  padding: 7px 12px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.role-switch button.active {
  background: var(--ink);
  color: var(--paper);
}

.help-button {
  justify-self: end;
}

.view {
  min-height: calc(100vh - 66px);
}

.view-enter {
  animation: ink-arrive 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ink-arrive {
  from {
    opacity: 0.2;
    filter: blur(5px);
    clip-path: inset(0 0 7% 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0);
  }
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(520px, 1.18fr);
  min-height: 660px;
  border-bottom: 1px solid var(--line);
}

.opening {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 92px);
}

.opening-line {
  margin: 0 0 18px;
  color: var(--pink);
  font-weight: 800;
}

.opening h1,
.square-head h1,
.creator-workbench > header h1,
.studio-room > header h1,
.rights-room > header h1 {
  max-width: 720px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.opening-copy {
  max-width: 620px;
  margin: 26px 0 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.opening-actions {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.record-entry {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 2px 14px;
  align-items: center;
  border: 0;
  border-radius: 12px;
  padding: 16px;
  background: var(--pink);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease-out, filter 180ms ease-out;
}

.record-entry:hover {
  transform: translate(-2px, -2px);
  filter: saturate(1.2);
}

.record-entry strong {
  font-size: 18px;
}

.record-entry small {
  grid-column: 2;
  opacity: 0.78;
}

.record-core {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border: 9px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: var(--white);
}

.quiet-action {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  padding: 14px 16px;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  text-align: left;
}

.quiet-action span {
  color: var(--muted);
  font-size: 12px;
}

.hero-print {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--blue);
}

.hero-print img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.print-caption {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  background: var(--yellow);
  color: var(--ink);
  mix-blend-mode: hard-light;
}

.print-caption span {
  font-size: 11px;
}

.print-caption strong {
  font-size: 22px;
}

.continuum {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  border-bottom: 1px solid var(--line);
}

.continuum-copy {
  padding: 46px;
  background: var(--blue);
  color: var(--paper);
}

.continuum-copy h2,
.story-sampler h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.12;
}

.continuum-copy p {
  margin: 0;
  color: rgba(234, 240, 227, 0.75);
  line-height: 1.7;
}

.life-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.life-path li {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  border-right: 1px solid var(--line);
  padding: 28px 20px;
}

.life-path li:last-child {
  border-right: 0;
}

.life-path b {
  color: var(--pink);
  font-size: 26px;
}

.life-path strong {
  margin-top: auto;
}

.life-path span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.life-path .active {
  background: var(--yellow);
}

.story-sampler {
  padding: 48px;
}

.story-sampler > header,
.creator-workbench > header,
.studio-room > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.story-sampler header button,
.material-head > button,
.creator-layout button,
.studio-room button,
.rights-room button {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  cursor: pointer;
}

.sampler-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.story-tile {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 270px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(249, 251, 244, 0.35);
  transition: filter 180ms ease-out;
}

.story-tile:hover {
  filter: saturate(1.15);
}

.story-art,
.material-art,
.public-art {
  min-height: 220px;
  background-image: url("./assets/story-riso-sheet.png");
  background-repeat: no-repeat;
  background-size: 400% 100%;
}

.art-thermos {
  background-position: 0 0;
}

.art-survey {
  background-position: 33.333% 0;
}

.art-meal {
  background-position: 66.666% 0;
}

.art-recorder {
  background-position: 100% 0;
}

.story-tile-copy {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.story-tile-copy > span,
.feature-story > div > span,
.material-head > div > span,
.public-title > span,
.parallel-proposals article span,
.studio-room > header span,
.decision-log article > span {
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
}

.story-tile h3 {
  margin: 10px 0;
  font-size: 22px;
}

.story-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.story-tile small {
  margin-top: auto;
  color: var(--blue);
}

.capture-room {
  position: relative;
  min-height: calc(100vh - 66px);
  overflow: hidden;
  background: var(--blue);
  color: var(--paper);
}

.capture-room::after {
  position: absolute;
  right: -6vw;
  bottom: -14vw;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: var(--pink);
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.7;
}

.capture-context {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(234, 240, 227, 0.25);
  padding: 18px 28px;
  font-size: 12px;
}

.capture-context button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.capture-context span {
  color: var(--yellow);
}

.question-field {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(50px, 8vh, 100px) 40px 25px;
  text-align: center;
}

.listener-mark {
  display: inline-flex;
  gap: 5px;
  margin-bottom: 32px;
}

.listener-mark i {
  width: 20px;
  height: 20px;
  background: var(--yellow);
  mix-blend-mode: screen;
}

.listener-mark i:nth-child(2) {
  background: var(--pink);
  transform: translate(4px, 4px);
}

.listener-mark i:nth-child(3) {
  background: var(--paper);
  transform: translate(-2px, 8px);
}

.question-field h1 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.question-field p {
  color: rgba(234, 240, 227, 0.7);
}

.voice-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: min(720px, 80vw);
  height: 90px;
}

.wave i {
  width: 5px;
  height: calc(var(--n) * 7px);
  background: var(--paper);
  opacity: 0.3;
}

.is-recording .wave i {
  animation: voice 760ms ease-in-out infinite alternate;
  animation-delay: calc(var(--n) * -70ms);
  opacity: 0.9;
}

@keyframes voice {
  to {
    height: calc(var(--n) * 12px);
    background: var(--yellow);
  }
}

.record-control {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px 11px 12px;
  background: var(--paper);
  color: var(--blue);
  cursor: pointer;
}

.record-control span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
}

.is-recording .record-control span {
  border-radius: 5px;
  transform: scale(0.55);
}

.capture-tools {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.capture-tools button {
  border: 0;
  border-bottom: 1px solid rgba(234, 240, 227, 0.55);
  padding: 4px 0;
  background: transparent;
  color: rgba(234, 240, 227, 0.78);
  cursor: pointer;
  font-size: 12px;
}

.live-transcript {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 60px));
  margin: 48px auto 0;
  padding: 22px 26px;
  background: var(--paper);
  color: var(--ink);
}

.live-transcript header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.live-transcript h2 {
  margin: 0 0 12px;
}

.live-transcript header span,
.live-transcript time {
  color: var(--muted);
  font-size: 11px;
}

.live-transcript p {
  display: grid;
  grid-template-columns: 70px 1fr;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  line-height: 1.65;
}

.live-transcript button {
  display: block;
  margin: 18px 0 0 auto;
  border: 0;
  padding: 10px 14px;
  background: var(--yellow);
  cursor: pointer;
  font-weight: 800;
}

.material-room,
.creator-workbench,
.studio-room,
.rights-room {
  padding: 38px;
}

.material-head {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.material-art {
  min-height: 140px;
}

.material-head h1 {
  margin: 7px 0;
  color: var(--blue);
  font-size: 54px;
  line-height: 1;
}

.material-head p {
  margin: 0;
  color: var(--muted);
}

.layer-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.layer-tabs button {
  min-height: 64px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.layer-tabs button.active {
  background: var(--blue);
  color: var(--paper);
}

.layer-content {
  min-height: 520px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 36px;
  background: rgba(249, 251, 244, 0.4);
}

.source-player {
  display: grid;
  grid-template-columns: 52px 1fr 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.source-player > button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
  cursor: pointer;
}

.source-player > button span {
  width: 15px;
  height: 17px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(2px);
}

.source-player p {
  margin: 4px 0 0;
  color: var(--muted);
}

.mini-wave {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-wave i {
  width: 3px;
  height: 24px;
  background: var(--blue);
}

.mini-wave i:nth-child(3n) {
  height: 44px;
  background: var(--pink);
}

.transcript-paper {
  max-width: 780px;
  margin: 36px auto;
}

.transcript-paper time {
  display: block;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.transcript-paper p {
  margin: 8px 0 28px;
  font-size: 22px;
  line-height: 1.8;
}

.faithful-story {
  max-width: 760px;
  margin: 10px auto;
}

.faithful-story h2 {
  margin: 0;
  color: var(--blue);
  font-size: 54px;
}

.faithful-story .story-deck {
  color: var(--blue);
  font-size: 25px;
  font-weight: 800;
}

.faithful-story p {
  font-size: 17px;
  line-height: 2;
}

.faithful-story button,
.source-note {
  width: 100%;
  border: 0;
  padding: 14px;
  background: var(--yellow);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.claim-board {
  max-width: 980px;
  margin: 0 auto;
}

.claim-board > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.claim-board h2 {
  margin: 0;
}

.claim-board header span {
  color: var(--blue);
  font-size: 12px;
}

.claim-row {
  display: grid;
  grid-template-columns: 1fr 160px 220px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 18px 14px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.claim-row:hover {
  background: var(--white);
}

.claim-row span {
  font-weight: 800;
}

.claim-row small {
  color: var(--muted);
}

.tone-blue span {
  color: var(--blue);
}

.tone-pink span {
  color: var(--pink);
}

.tone-yellow span {
  color: #8a6500;
}

.tone-black span {
  color: var(--ink);
}

.permission-board {
  max-width: 820px;
  margin: 0 auto;
}

.permission-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.permission-row span {
  display: grid;
  gap: 5px;
}

.permission-row small {
  color: var(--muted);
}

.permission-row input {
  position: absolute;
  opacity: 0;
}

.permission-row i {
  width: 52px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
}

.permission-row i::after {
  display: block;
  width: 18px;
  height: 18px;
  margin: 3px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
  transition: transform 160ms ease-out;
}

.permission-row input:checked + i {
  background: var(--yellow);
}

.permission-row input:checked + i::after {
  transform: translateX(24px);
}

.square-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  border-bottom: 1px solid var(--line);
  padding: 52px;
}

.square-head h1 {
  font-size: clamp(54px, 7vw, 92px);
}

.square-head p {
  max-width: 690px;
  color: var(--muted);
  line-height: 1.8;
}

.search-box {
  align-self: end;
  display: grid;
  gap: 10px;
}

.search-box span {
  color: var(--muted);
  font-size: 12px;
}

.search-box input {
  width: 100%;
  border: 0;
  border-bottom: 3px solid var(--blue);
  padding: 12px 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
}

.topic-ribbon {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.topic-ribbon button {
  flex: 0 0 auto;
  min-height: 56px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 22px;
  background: transparent;
  cursor: pointer;
}

.topic-ribbon button.active {
  background: var(--pink);
  color: var(--white);
}

.story-wall {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border-left: 1px solid var(--line);
  margin: 36px;
}

.feature-story {
  grid-row: span 3;
  display: grid;
  grid-template-rows: 1.15fr 0.85fr;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.feature-story .story-art {
  min-height: 420px;
}

.feature-story > div:last-child {
  padding: 30px;
}

.feature-story h2 {
  margin: 8px 0;
  color: var(--blue);
  font-size: 48px;
}

.feature-story p {
  color: var(--muted);
  line-height: 1.8;
}

.feature-story > div > div,
.public-title > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.feature-story b,
.public-title b {
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--blue);
  font-size: 10px;
}

.story-wall .story-tile {
  min-height: 240px;
}

.public-story > header {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  min-height: 430px;
  border-bottom: 1px solid var(--line);
}

.public-story > header > button {
  position: absolute;
  z-index: 2;
  border: 0;
  margin: 20px;
  padding: 9px 12px;
  background: var(--yellow);
  cursor: pointer;
}

.public-art {
  min-height: 430px;
}

.public-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

.public-title h1 {
  margin: 10px 0;
  color: var(--blue);
  font-size: 76px;
  line-height: 1;
}

.public-title p {
  color: var(--muted);
}

.story-reading {
  display: grid;
  grid-template-columns: 180px minmax(420px, 760px) 260px;
  justify-content: center;
  gap: 38px;
  padding: 56px 36px;
}

.story-reading > aside:first-child {
  display: grid;
  align-content: start;
}

.story-reading > aside:first-child button {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 13px 4px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.story-reading > aside:first-child button.active {
  color: var(--blue);
  font-weight: 800;
}

.story-reading > section p {
  font-size: 17px;
  line-height: 2;
}

.story-reading .lead-paragraph {
  color: var(--blue);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.7;
}

.source-note {
  display: flex;
  justify-content: space-between;
  margin: 26px 0;
}

.story-actions {
  display: grid;
  align-content: start;
  gap: 10px;
}

.story-actions button {
  border: 1px solid var(--blue);
  border-radius: 12px;
  padding: 12px;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.story-actions button:nth-child(2) {
  background: var(--blue);
  color: var(--paper);
}

.story-actions small {
  color: var(--muted);
  line-height: 1.6;
}

.creator-workbench > header h1,
.studio-room > header h1 {
  font-size: clamp(42px, 5vw, 68px);
}

.creator-workbench > header p,
.studio-room > header p,
.rights-room > header p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.7;
}

.proposal-state {
  flex: 0 0 auto;
  background: var(--yellow);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
}

.creator-layout {
  display: grid;
  grid-template-columns: 260px minmax(480px, 1fr) 280px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.source-spine,
.proposal-canvas,
.parallel-proposals {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px;
}

.source-spine h2,
.parallel-proposals h2 {
  margin-top: 0;
  font-size: 19px;
}

.source-spine ol {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.source-spine li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  line-height: 1.55;
}

.source-spine b {
  color: var(--pink);
}

.proposal-canvas {
  display: grid;
  gap: 26px;
  background: rgba(249, 251, 244, 0.45);
}

.proposal-canvas > label {
  display: grid;
  gap: 9px;
}

.proposal-canvas > label > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.proposal-canvas input,
.proposal-canvas textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--blue);
  padding: 12px 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
  resize: vertical;
}

.format-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-picks button.active {
  background: var(--blue);
  color: var(--paper);
}

.proposal-guard {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--yellow);
  font-size: 12px;
}

.proposal-guard span::before {
  margin-right: 8px;
  content: "—";
}

.submit-proposal {
  justify-self: end;
  border-color: var(--pink) !important;
  background: var(--pink) !important;
  color: var(--white);
  font-weight: 800;
}

.parallel-proposals article {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.parallel-proposals article strong {
  display: block;
  margin: 7px 0;
}

.parallel-proposals article p,
.parallel-proposals > small {
  color: var(--muted);
  line-height: 1.6;
}

.studio-room > header > div {
  max-width: 900px;
}

.production-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.production-line > div {
  display: flex;
  flex-direction: column;
  min-height: 130px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.production-line b {
  color: var(--muted);
}

.production-line strong {
  margin-top: auto;
}

.production-line span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.production-line .done {
  background: var(--blue);
  color: var(--paper);
}

.production-line .done span,
.production-line .done b {
  color: rgba(234, 240, 227, 0.7);
}

.production-line .active {
  background: var(--yellow);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  border-left: 1px solid var(--line);
}

.studio-grid > section {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px;
}

.studio-grid h2 {
  margin-top: 0;
}

.decision-log article {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.decision-log article.urgent {
  background: rgba(244, 61, 134, 0.08);
  padding: 20px;
}

.decision-log article strong {
  display: block;
  margin: 8px 0;
}

.decision-log article p,
.support-board p {
  color: var(--muted);
  line-height: 1.65;
}

.team-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.team-row > b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
}

.team-row span {
  display: grid;
}

.team-row small {
  color: var(--muted);
}

.support-number {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 20px 0;
  padding: 15px 0;
}

.support-number strong {
  color: var(--blue);
  font-size: 52px;
}

.rights-room > header {
  max-width: 1100px;
  padding: 38px 0 50px;
}

.rights-room > header h1 {
  font-size: clamp(48px, 6vw, 82px);
}

.rights-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.rights-layers article {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px;
}

.rights-layers article:nth-child(1) {
  background: var(--blue);
  color: var(--paper);
}

.rights-layers article:nth-child(2) {
  background: var(--pink);
  color: var(--white);
}

.rights-layers article:nth-child(3) {
  background: var(--yellow);
}

.rights-layers article b {
  opacity: 0.7;
}

.rights-layers article h2 {
  margin-top: auto;
}

.rights-layers article p {
  min-height: 76px;
  line-height: 1.6;
}

.rights-layers article span {
  border-top: 1px solid currentColor;
  padding-top: 12px;
  font-size: 11px;
}

.withdraw-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px;
}

.withdraw-panel h2 {
  margin: 0 0 6px;
}

.withdraw-panel p {
  margin: 0;
  color: var(--muted);
}

.mobile-nav {
  display: none;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: 420px;
  transform: translateY(30px);
  padding: 14px 18px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 164px minmax(0, 1fr);
  }

  .brand {
    padding: 18px 14px;
    font-size: 19px;
  }

  .primary-nav button {
    grid-template-columns: 32px 1fr;
    padding: 0 12px;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .hero-print,
  .hero-print img {
    min-height: 520px;
  }

  .continuum {
    grid-template-columns: 1fr;
  }

  .creator-layout {
    grid-template-columns: 220px 1fr;
  }

  .parallel-proposals {
    grid-column: 1 / -1;
  }

  .studio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-board {
    grid-column: 1 / -1;
  }

  .story-reading {
    grid-template-columns: 150px minmax(420px, 1fr);
  }

  .story-actions {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 64px;
  }

  .app-shell {
    display: block;
  }

  .rail {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 58px;
    padding: 0 16px;
  }

  .crumb {
    max-width: 50vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .role-switch button {
    padding: 6px 8px;
  }

  .help-button {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--ink);
    background: var(--paper);
  }

  .mobile-nav button {
    min-height: 60px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    font-size: 11px;
  }

  .mobile-nav button.active {
    background: var(--blue);
    color: var(--paper);
  }

  .opening {
    padding: 42px 22px;
  }

  .opening h1,
  .square-head h1,
  .creator-workbench > header h1,
  .studio-room > header h1,
  .rights-room > header h1 {
    font-size: 45px;
  }

  .opening-copy {
    font-size: 15px;
  }

  .quiet-action {
    flex-direction: column;
  }

  .hero-print,
  .hero-print img {
    min-height: 420px;
  }

  .print-caption {
    align-items: start;
    flex-direction: column;
  }

  .continuum-copy,
  .story-sampler,
  .material-room,
  .creator-workbench,
  .studio-room,
  .rights-room {
    padding: 26px 20px;
  }

  .life-path {
    grid-template-columns: 1fr 1fr;
  }

  .life-path li {
    min-height: 145px;
    border-bottom: 1px solid var(--line);
  }

  .sampler-strip {
    grid-template-columns: 1fr;
  }

  .story-tile {
    min-height: 230px;
  }

  .capture-context strong {
    display: none;
  }

  .question-field {
    padding: 48px 20px 16px;
  }

  .question-field h1 {
    font-size: 38px;
  }

  .capture-tools {
    align-items: center;
    flex-direction: column;
  }

  .live-transcript {
    width: calc(100% - 28px);
    margin-top: 28px;
    padding: 18px;
  }

  .live-transcript header {
    align-items: start;
    flex-direction: column;
  }

  .live-transcript p {
    grid-template-columns: 56px 1fr;
    font-size: 13px;
  }

  .material-head {
    grid-template-columns: 100px 1fr;
  }

  .material-head > button {
    grid-column: 1 / -1;
  }

  .material-art {
    min-height: 100px;
  }

  .material-head h1 {
    font-size: 40px;
  }

  .layer-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .layer-content {
    padding: 20px;
  }

  .source-player {
    grid-template-columns: 48px 1fr;
  }

  .mini-wave {
    grid-column: 1 / -1;
  }

  .claim-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .square-head {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 20px;
  }

  .story-wall {
    grid-template-columns: 1fr;
    margin: 20px;
  }

  .feature-story {
    grid-row: auto;
  }

  .feature-story .story-art {
    min-height: 300px;
  }

  .public-story > header {
    grid-template-columns: 1fr;
  }

  .public-art {
    min-height: 360px;
  }

  .public-title {
    padding: 28px 20px;
  }

  .public-title h1 {
    font-size: 52px;
  }

  .story-reading {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 20px;
  }

  .story-reading > aside:first-child {
    display: flex;
    overflow-x: auto;
  }

  .story-reading > aside:first-child button {
    flex: 0 0 auto;
    padding: 10px 12px;
  }

  .story-actions {
    grid-column: auto;
  }

  .creator-workbench > header,
  .studio-room > header,
  .story-sampler > header {
    align-items: start;
    flex-direction: column;
  }

  .creator-layout,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .parallel-proposals,
  .support-board {
    grid-column: auto;
  }

  .production-line {
    grid-template-columns: 1fr;
  }

  .production-line > div {
    min-height: 96px;
  }

  .rights-layers {
    grid-template-columns: 1fr;
  }

  .rights-layers article {
    min-height: 250px;
  }

  .withdraw-panel {
    align-items: start;
    flex-direction: column;
    padding: 24px 0;
  }

  .toast {
    right: 14px;
    bottom: 76px;
    left: 14px;
  }
}
