:root {
  color-scheme: dark;
  --canvas: #111516;
  --rail: #0c0f10;
  --surface: #171b1d;
  --surface-raised: #1d2325;
  --line: #2b3234;
  --line-soft: #22282a;
  --paper: #f0eee7;
  --muted: #959d9f;
  --muted-dim: #697174;
  --cue: #e6a33e;
  --cue-soft: #3b2d18;
  --good: #72aa8a;
  --danger: #dd765f;
  --risk: #d6ae62;
  --display: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "Avenir Next", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--paper);
  font-family: var(--body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible, a:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--canvas);
}
.skip-link:focus { transform: translateY(0); }
.sr-only, .sr-only:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell { min-height: 100vh; }

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: 218px;
  flex-direction: column;
  border-right: 1px solid var(--line-soft);
  background: var(--rail);
}

.brand {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 13px;
  padding: 0 28px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .83;
}

.brand-mark {
  display: flex;
  width: 21px;
  height: 31px;
  align-items: flex-end;
  gap: 3px;
  border-left: 2px solid var(--cue);
  padding-left: 4px;
}
.brand-mark i { display: block; width: 3px; background: var(--paper); }
.brand-mark i:nth-child(1) { height: 45%; }
.brand-mark i:nth-child(2) { height: 92%; }
.brand-mark i:nth-child(3) { height: 68%; }

.nav-list { display: flex; flex: 1; flex-direction: column; gap: 3px; padding: 18px 14px; }
.nav-item {
  display: grid;
  min-height: 46px;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0 13px;
  text-align: left;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.nav-item span { color: var(--muted-dim); font-family: var(--mono); font-size: 10px; }
.nav-item b {
  min-width: 22px;
  border-radius: 20px;
  background: #292f31;
  padding: 3px 6px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
}
.nav-item:hover { background: #141819; color: var(--paper); }
.nav-item.active { border-left-color: var(--cue); background: #171b1c; color: var(--paper); }
.nav-item.active span { color: var(--cue); }

.rail-footer {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line-soft);
  padding: 0 27px;
}
.system-light { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px #1a2921; }
.rail-footer strong, .rail-footer small { display: block; }
.rail-footer strong { font-size: 11px; font-weight: 600; }
.rail-footer small { margin-top: 4px; color: var(--muted-dim); font-family: var(--mono); font-size: 9px; }

.workspace { min-height: 100vh; margin-left: 218px; }
.project-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
  padding: 0 28px 0 34px;
}
.eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project-switcher { border: 0; background: transparent; cursor: pointer; padding: 0; font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.project-switcher span { margin-left: 7px; color: var(--muted); font-family: var(--body); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.sync-status { display: flex; align-items: center; gap: 7px; margin-right: 12px; color: var(--muted); font-size: 10px; }
.sync-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.quiet-button, .primary-button {
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 650;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.quiet-button:hover { border-color: var(--muted); background: var(--surface); }
.primary-button { border-color: var(--cue); background: var(--cue); color: #1b160f; }
.primary-button:hover { background: #f1b14f; }
.avatar, .mini-avatar {
  display: grid;
  place-items: center;
  border: 1px solid #41494b;
  border-radius: 50%;
  background: #22282a;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
}
.avatar { width: 36px; height: 36px; cursor: pointer; }
.mobile-menu { display: none; }

.timecode-band {
  display: grid;
  min-height: 116px;
  grid-template-columns: 190px minmax(400px, 1fr) 210px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #131718;
  padding: 0 34px;
}
.timecode-readout span, .deadline-block span { display: block; margin-bottom: 7px; color: var(--muted-dim); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.timecode-readout strong { font-family: var(--mono); font-size: 19px; font-weight: 450; letter-spacing: .07em; }
.pipeline-track { padding: 0 45px 0 10px; }
.track-line { position: relative; height: 2px; background: var(--line); }
.track-progress { width: 46%; height: 100%; background: var(--cue); }
.playhead { position: absolute; top: 50%; left: 46%; width: 9px; height: 9px; transform: translate(-50%, -50%); border: 2px solid var(--canvas); border-radius: 50%; background: var(--cue); box-shadow: 0 0 0 3px rgba(230, 163, 62, .18); }
.track-labels { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.track-labels span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.track-labels i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-dim); }
.track-labels i.complete { background: var(--good); }
.track-labels i.active { background: var(--cue); animation: cue-pulse 2s infinite; }
.track-labels b { color: var(--paper); font-family: var(--mono); font-size: 10px; font-weight: 500; }
.deadline-block { border-left: 1px solid var(--line); padding-left: 28px; }
.deadline-block strong, .deadline-block small { display: block; }
.deadline-block strong { font-size: 12px; }
.deadline-block small { margin-top: 4px; color: var(--risk); font-family: var(--mono); font-size: 9px; }

.content-grid { display: grid; min-height: calc(100vh - 194px); grid-template-columns: minmax(620px, 1fr) 346px; }
.operations-column { min-width: 0; padding: 37px 34px 40px; }
.section-heading { display: flex; min-height: 74px; align-items: flex-start; justify-content: space-between; gap: 40px; }
.section-heading h1 { margin: 0; font-family: var(--display); font-size: 31px; font-weight: 650; letter-spacing: -.02em; line-height: 1; }
.section-heading p { width: 275px; margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.table-heading { display: flex; min-height: 45px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.table-heading h2 { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.table-heading h2 span { margin-left: 7px; color: var(--cue); font-family: var(--mono); font-weight: 500; }
.text-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 6px 0; font-size: 10px; }
.text-button:hover { color: var(--paper); }

.attention-list { border-bottom: 1px solid var(--line); }
.attention-row {
  display: grid;
  width: 100%;
  min-height: 70px;
  grid-template-columns: 76px minmax(210px, 1fr) 105px 105px 18px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
  padding: 0 12px 0 8px;
  text-align: left;
  transition: background 150ms ease, transform 150ms ease;
}
.attention-row:last-child { border-bottom: 0; }
.attention-row:hover, .attention-row.selected { background: var(--surface); }
.attention-row.selected { box-shadow: inset 2px 0 var(--cue); }
.severity { justify-self: start; border: 1px solid var(--line); padding: 5px 7px; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.severity.blocked { border-color: #753f35; background: #291c1a; color: #ee927e; }
.severity.risk { border-color: #6c5633; background: #292319; color: #e4bd72; }
.severity.approval { border-color: #71613d; background: var(--cue-soft); color: var(--cue); }
.job-copy strong, .job-copy small, .owner small, .impact strong, .impact small { display: block; }
.job-copy strong { margin-bottom: 5px; font-size: 12px; font-weight: 600; }
.job-copy small, .owner small, .impact small { color: var(--muted-dim); font-size: 9px; }
.owner { display: flex; align-items: center; gap: 7px; }
.mini-avatar { width: 24px; height: 24px; }
.impact strong { margin-bottom: 5px; font-family: var(--mono); font-size: 10px; font-weight: 500; }
.arrow { color: var(--muted-dim); transition: transform 150ms ease, color 150ms ease; }
.attention-row:hover .arrow { transform: translateX(3px); color: var(--cue); }

.flow-section { margin-top: 27px; }
.legend { display: flex; gap: 17px; color: var(--muted-dim); font-size: 9px; }
.legend span { display: flex; align-items: center; gap: 5px; }
.pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--good); animation: green-pulse 2s infinite; }
.flow-row {
  display: grid;
  width: 100%;
  min-height: 66px;
  grid-template-columns: minmax(235px, 1.6fr) minmax(105px, .65fr) minmax(150px, .8fr) 75px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
  padding: 0 8px;
  text-align: left;
}
.flow-row:not(.flow-header):hover { background: var(--surface); }
.flow-header { min-height: 34px; cursor: default; color: var(--muted-dim); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.work-name strong, .work-name small { display: block; }
.work-name strong { margin-bottom: 5px; font-size: 11px; font-weight: 600; }
.work-name small { color: var(--muted-dim); font-size: 9px; }
.stage { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.stage i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-dim); }
.stage i.live-dot { background: var(--good); }
.progress-cell { padding-right: 30px; }
.progress-cell > span { display: block; height: 3px; margin-bottom: 7px; background: var(--line); }
.progress-cell > span i { display: block; height: 100%; background: var(--cue); }
.progress-cell small, .due small { color: var(--muted-dim); font-family: var(--mono); font-size: 8px; }
.due strong, .due small { display: block; }
.due strong { margin-bottom: 4px; font-family: var(--mono); font-size: 10px; font-weight: 500; }
.completed-strip { display: flex; min-height: 69px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 26px; }
.completed-strip > div { display: grid; grid-template-columns: 30px auto; }
.completed-strip .check { grid-row: span 2; display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid #41604d; border-radius: 50%; color: var(--good); font-size: 10px; }
.completed-strip strong { font-size: 10px; }
.completed-strip small { margin-top: 5px; color: var(--muted-dim); font-size: 9px; }

.inspector { display: flex; min-width: 0; flex-direction: column; border-left: 1px solid var(--line); background: var(--surface); }
.inspector-topline { display: flex; min-height: 59px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 24px; }
.inspector-topline .eyebrow { margin: 0; }
.icon-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 6px; font-size: 18px; line-height: 1; }
#inspectorContent { flex: 1; padding: 24px; animation: inspector-enter 220ms ease both; }
.inspect-status { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; color: var(--danger); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.inspect-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.inspect-title { margin: 0 0 9px; font-family: var(--display); font-size: 25px; font-weight: 650; line-height: 1.05; }
.inspect-subtitle { margin: 0 0 24px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.evidence-block { border-top: 1px solid var(--line); padding: 17px 0; }
.evidence-block > span { display: block; margin-bottom: 10px; color: var(--muted-dim); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.evidence-block dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px; margin: 0; font-size: 9px; }
.evidence-block dt { color: var(--muted-dim); }
.evidence-block dd { margin: 0; color: var(--paper); font-family: var(--mono); overflow-wrap: anywhere; }
.failure-code { border-left: 2px solid var(--danger); background: #211a19; padding: 10px 12px; color: #dba99e; font-family: var(--mono); font-size: 9px; line-height: 1.55; }
.inspect-actions { display: flex; gap: 8px; margin-top: 18px; }
.inspect-actions button { flex: 1; }

.supervisor-chat { border-top: 1px solid var(--line); padding: 20px 24px 23px; }
.channel-routes { display: flex; align-items: center; gap: 5px; margin-bottom: 16px; }
.channel-routes > span { margin-right: auto; color: var(--muted-dim); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.channel-routes button { border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--muted-dim); cursor: pointer; padding: 3px 2px; font-size: 8px; }
.channel-routes button:hover, .channel-routes button.active { border-bottom-color: var(--cue); color: var(--paper); }
.chat-label { display: grid; grid-template-columns: 27px 1fr; align-items: center; }
.chat-label .agent-orbit { grid-row: span 2; width: 17px; height: 17px; border: 1px solid var(--cue); border-radius: 50%; position: relative; }
.agent-orbit:after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--cue); }
.chat-label strong { font-size: 10px; }
.chat-label small { color: var(--muted-dim); font-size: 8px; }
.supervisor-chat p { min-height: 34px; margin: 14px 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.supervisor-chat form { display: flex; align-items: flex-end; border: 1px solid var(--line); background: #121617; padding: 8px; }
.supervisor-chat textarea { flex: 1; resize: none; border: 0; outline: 0; background: transparent; color: var(--paper); font-size: 10px; line-height: 1.45; }
.supervisor-chat textarea::placeholder { color: var(--muted-dim); }
.supervisor-chat form button { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border: 0; background: var(--cue); color: var(--canvas); cursor: pointer; }
.chat-hints { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.chat-hints button, .request-context button { border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; padding: 5px 7px; font-size: 8px; }
.chat-hints button:hover, .request-context button:hover { border-color: var(--cue); color: var(--paper); }

dialog { max-width: calc(100vw - 32px); border: 1px solid var(--line); background: #171b1d; color: var(--paper); padding: 0; box-shadow: 0 35px 100px rgba(0,0,0,.6); }
dialog::backdrop { background: rgba(4, 6, 7, .74); backdrop-filter: blur(5px); }
dialog[open] { animation: dialog-enter 180ms ease-out both; }
.request-dialog { width: 640px; }
.plan-dialog { width: 760px; }
.dialog-shell { padding: 27px 30px 25px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 27px; }
.dialog-header h2 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 650; }
.dialog-shell > label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 10px; }
.dialog-shell > textarea { width: 100%; resize: vertical; border: 1px solid var(--line); background: #101415; color: var(--paper); padding: 15px; font-size: 13px; line-height: 1.55; }
.request-context { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 12px 0 28px; }
.request-context > span { margin-right: 5px; color: var(--muted-dim); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); padding-top: 19px; }
.dialog-actions > span { flex: 1; color: var(--muted-dim); font-size: 9px; line-height: 1.4; }
.plan-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-summary div { padding: 15px 4px; border-right: 1px solid var(--line); }
.plan-summary div:last-child { border-right: 0; padding-left: 16px; }
.plan-summary div:nth-child(2) { padding-left: 16px; }
.plan-summary span, .plan-summary strong { display: block; }
.plan-summary span { margin-bottom: 6px; color: var(--muted-dim); font-size: 8px; text-transform: uppercase; }
.plan-summary strong { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.plan-steps { list-style: none; margin: 20px 0; padding: 0; }
.plan-steps li { display: grid; min-height: 52px; grid-template-columns: 30px 1fr auto; align-items: center; border-bottom: 1px solid var(--line-soft); }
.plan-steps i { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--cue); font-family: var(--mono); font-size: 8px; font-style: normal; }
.plan-steps strong, .plan-steps span { display: block; }
.plan-steps strong { margin-bottom: 4px; font-size: 10px; }
.plan-steps span { color: var(--muted-dim); font-size: 8px; }
.plan-steps b { color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 500; }
.plan-warning { display: grid; grid-template-columns: 27px 1fr auto; align-items: center; border: 1px solid #5e4c2d; background: #211d16; padding: 11px 13px; }
.plan-warning > span { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid var(--cue); border-radius: 50%; color: var(--cue); font-family: var(--mono); font-size: 8px; }
.plan-warning p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.plan-warning p strong { display: block; color: var(--paper); font-size: 9px; }
.plan-warning button { border: 0; background: transparent; color: var(--cue); cursor: pointer; font-size: 9px; }
.plan-dialog .dialog-actions { margin-top: 20px; }

.toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; display: flex; min-width: 310px; align-items: center; gap: 12px; border: 1px solid #34543f; background: #152019; padding: 14px 17px; transform: translateY(140%); opacity: 0; transition: transform 230ms ease, opacity 230ms ease; }
.toast.visible { transform: translateY(0); opacity: 1; }
.toast > span { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid var(--good); border-radius: 50%; color: var(--good); }
.toast strong, .toast small { display: block; }
.toast strong { font-size: 10px; }
.toast small { margin-top: 4px; color: var(--muted); font-size: 8px; }

@keyframes cue-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(230,163,62,.45); } 50% { box-shadow: 0 0 0 6px rgba(230,163,62,0); } }
@keyframes green-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes inspector-enter { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .content-grid { grid-template-columns: minmax(560px, 1fr) 310px; }
  .timecode-band { grid-template-columns: 165px minmax(350px, 1fr) 190px; }
  .attention-row { grid-template-columns: 72px minmax(190px, 1fr) 90px 90px 14px; }
  .owner small { display: none; }
  .pipeline-track { padding-right: 30px; }
}

@media (max-width: 960px) {
  .rail { transform: translateX(-100%); transition: transform 180ms ease; box-shadow: 20px 0 50px rgba(0,0,0,.35); }
  .rail.open { transform: translateX(0); }
  .workspace { margin-left: 0; }
  .mobile-menu { display: block; border: 1px solid var(--line); background: transparent; cursor: pointer; margin-right: 15px; padding: 7px 9px; font-size: 9px; }
  .project-header { justify-content: flex-start; }
  .header-actions { margin-left: auto; }
  .sync-status, .header-actions .quiet-button { display: none; }
}

@media (max-width: 760px) {
  .project-header { min-height: 68px; padding: 0 16px; }
  .project-header .eyebrow { display: none; }
  .project-switcher { font-size: 14px; }
  .header-actions { gap: 7px; }
  .header-actions .primary-button { padding: 0 10px; }
  .timecode-band { grid-template-columns: 1fr auto; min-height: 100px; padding: 0 16px; }
  .pipeline-track { grid-column: 1 / -1; grid-row: 2; padding: 0 0 14px; }
  .deadline-block { border-left: 0; padding-left: 0; text-align: right; }
  .deadline-block span { display: none; }
  .content-grid { display: block; }
  .operations-column { padding: 28px 16px 40px; }
  .section-heading { min-height: auto; flex-direction: column; gap: 8px; margin-bottom: 22px; }
  .section-heading p { width: auto; margin-top: 3px; }
  .attention-row { min-height: 82px; grid-template-columns: 68px minmax(170px, 1fr) 75px 12px; padding-right: 5px; }
  .attention-row .owner { display: none; }
  .impact small { display: none; }
  .flow-table { overflow-x: auto; }
  .flow-row { min-width: 620px; }
  .inspector { border-top: 1px solid var(--line); border-left: 0; }
  #inspectorContent { min-height: 450px; }
  .request-dialog, .plan-dialog { width: calc(100vw - 24px); }
  .dialog-shell { padding: 21px 18px; }
  .dialog-actions { flex-wrap: wrap; }
  .dialog-actions > span { flex-basis: 100%; }
  .plan-summary { grid-template-columns: 1fr; }
  .plan-summary div, .plan-summary div:nth-child(2), .plan-summary div:last-child { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 10px 4px; }
  .plan-steps li { grid-template-columns: 28px 1fr; padding: 8px 0; }
  .plan-steps b { display: none; }
  .toast { right: 12px; bottom: 12px; left: 12px; min-width: 0; }
}

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