/* simonyou.dev — a workspace that fills the screen:
   top tabs · console pane | stage · status bar */
:root {
  --ground: #2b141b;
  --panel: #190a0f;
  --panel-2: #21101a;
  --line: rgba(246, 236, 232, 0.14);
  --line-strong: rgba(246, 236, 232, 0.3);
  --text: #f6ece8;
  --dim: #cdb5bb;
  --gold: #ebc56b;
  --rose: #ff8196;
  --mint: #9fd9c3;
  --sky: #a9c9ee;

  --font-sans: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --measure: 60ch;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  height: 100%;
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-sans);
  /* 16px on a laptop, up to 19px on a big monitor */
  font-size: clamp(16px, 0.55vw + 9px, 19px);
  line-height: 1.55;
  font-variant-ligatures: none;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  font-variation-settings: "opsz" 14;
}
::selection { background: var(--gold); color: var(--panel); }

a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(235, 197, 107, 0.45);
  transition: text-decoration-color 120ms ease;
}
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h2:focus { outline: none; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol, dl { margin: 0; padding: 0; }
code, kbd, pre { font-family: var(--font-mono); }
[hidden] { display: none !important; }

@keyframes rise   { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; transform: translateY(2px); }   to { opacity: 1; transform: none; } }
@keyframes blink  { to { visibility: hidden; } }
@keyframes grow   { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255, 129, 150, 0.18); }
  50%      { box-shadow: 0 0 0 9px rgba(255, 129, 150, 0.06); }
}

/* =====================================================================
   frame: top tabs
   ===================================================================== */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.brand { color: var(--text); font-weight: 500; text-decoration: none; }
.tabs { display: flex; gap: 0.25rem; }
.tabs a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--dim);
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}
.tabs a kbd { color: var(--rose); }
.tabs a kbd::after { content: ":"; color: var(--dim); }
.tabs a:hover { color: var(--text); background: rgba(246, 236, 232, 0.06); }
.tabs a.is-active { background: var(--rose); color: var(--panel); }
.tabs a.is-active kbd, .tabs a.is-active kbd::after { color: var(--panel); }

/* =====================================================================
   frame: workspace = console | stage
   ===================================================================== */
.workspace {
  display: grid;
  grid-template-columns: minmax(21rem, 34%) minmax(0, 1fr);
  min-height: 0;
}
@media (min-width: 1600px) {
  .workspace { grid-template-columns: minmax(24rem, 30%) minmax(0, 1fr); }
}

/* ---------- console pane ---------- */
.console {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 0.8vw, 0.92rem);
  line-height: 1.6;
  cursor: text;
}
.console-bar {
  flex: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.82em;
  cursor: default;
}
.console-hint kbd { padding: 0 0.35em; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--text); }

.splash {
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.1rem;
  align-items: center;
  padding: 1.1rem 1.25rem 0.9rem;
  border-bottom: 1px solid var(--line);
  cursor: default;
}
.gem-wrap {
  width: clamp(110px, min(9.5vw, 20vh), 250px);
  aspect-ratio: 1;
  cursor: pointer;
  filter: drop-shadow(0 0 22px rgba(255, 129, 150, 0.2));
}
.gem { display: block; width: 100%; height: 100%; }
.facts { font-size: 0.92em; line-height: 1.55; min-width: 0; }
.facts div { display: grid; grid-template-columns: 5.5ch minmax(0, 1fr); gap: 0 0.5ch; }
.facts dt { color: var(--rose); }
.facts dd { margin: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facts .who { margin-bottom: 0.35em; padding-bottom: 0.35em; border-bottom: 1px solid var(--line); grid-template-columns: auto auto; justify-content: start; gap: 0; }
.facts .who dt { color: var(--gold); font-weight: 700; }
.facts .who dd { color: var(--gold); font-weight: 700; }

.console-out {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.8rem 1.25rem 0;
}
.console-log {
  white-space: pre-wrap;
  word-break: break-word;
}
.console-log > div { animation: appear 160ms ease both; }
.console-log .in  { color: var(--text); }
.console-log .out { color: var(--dim); }
.console-log .p   { color: var(--gold); }
.console-log .s   { color: var(--mint); }
.console-log .y   { color: var(--sky); }
.console-log .n   { color: var(--rose); }
.console-log .err { color: var(--rose); }
.console-log .k   { color: var(--gold); }
.console-log .c   { color: var(--dim); font-style: italic; }
.console-log a    { color: var(--gold); }
.console-log .bar { color: var(--rose); letter-spacing: -0.05em; }
.console-log .train { display: inline-block; white-space: pre; will-change: transform; }
.console-log .rain { display: block; white-space: pre; color: var(--mint); text-shadow: 0 0 6px rgba(159, 217, 195, 0.6); line-height: 1.25; }
.console-log .sw.r { color: var(--rose); } .console-log .sw.g { color: var(--gold); }
.console-log .sw.m { color: var(--mint); } .console-log .sw.b { color: var(--sky); } .console-log .sw.t { color: var(--text); }
.console-line {
  position: sticky; bottom: 0;
  display: flex; align-items: baseline; gap: 0.6ch;
  padding: 0.35rem 0 1rem;
  background: var(--panel);
}
.console-prompt { color: var(--gold); white-space: nowrap; }
.console-in {
  flex: 1; min-width: 0;
  background: transparent; border: 0; padding: 0; margin: 0;
  color: var(--text); font: inherit; caret-color: var(--rose); outline: none;
}
.console-in::placeholder { color: var(--dim); opacity: 0.6; }
.console.is-typing .console-line { visibility: hidden; }
.cursor {
  display: inline-block; width: 0.6ch; height: 1.05em; vertical-align: -0.15em;
  background: var(--rose); animation: blink 1s steps(2, start) infinite;
}

/* ---------- stage ---------- */
.stage {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(70% 55% at 88% 8%, rgba(255, 129, 150, 0.09), transparent 70%),
    var(--ground);
}
.view {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vh, 4rem) clamp(1.5rem, 4.5vw, 5.5rem);
}
.view-inner { width: 100%; max-width: 84rem; margin-inline: auto; min-width: 0; }

.section-head { display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap; margin-bottom: clamp(1rem, 2.5vh, 1.75rem); }
h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
}
.cmd { color: var(--dim); font-size: 0.85rem; }
.cmd::before { content: "$ "; color: var(--rose); }

/* entrances when a view opens */
.view.is-in .section-head { animation: rise 420ms var(--ease) both; }
.view.is-in .display, .view.is-in .lede, .view.is-in .hero-links { animation: rise 520ms var(--ease) both; }
.view.is-in .lede { animation-delay: 120ms; }
.view.is-in .hero-links { animation-delay: 220ms; }
.view.is-in .stack-main .panel, .view.is-in .contact-lede { animation: rise 480ms var(--ease) 100ms both; }
.view.is-in .term, .view.is-in .contact-row { animation: rise 480ms var(--ease) 200ms both; }
.view.is-in .work-show, .view.is-in .contact-list { animation: rise 480ms var(--ease) 280ms both; }

/* =====================================================================
   home
   ===================================================================== */
.display {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 6.8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 13ch;
  font-variation-settings: "opsz" 96;
}
.lede {
  margin-top: clamp(1.25rem, 2.5vh, 2rem);
  font-size: clamp(1.02rem, 1.15vw, 1.3rem);
  line-height: 1.5;
  max-width: 50ch;
}
.hero-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem;
  margin: 1.25rem 0 0;
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 0.85vw, 1rem);
}
html.js .display:not(.is-split) { opacity: 0; }
.display .word { display: inline-block; white-space: nowrap; }
.display .ch {
  display: inline-block; text-align: center; will-change: transform;
  transition: font-variation-settings 120ms ease, color 120ms ease, transform 120ms ease;
}
html.js body:not(.is-ready) .display .ch { opacity: 0; transform: translateY(0.5em) rotate(3deg); }
body.is-ready .display .ch { animation: rise 640ms var(--ease) both; animation-delay: calc(var(--i) * 16ms); }

/* =====================================================================
   shared panel
   ===================================================================== */
.panel { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.panel-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 2.4rem;
  padding: 0.3rem 0.75rem 0.3rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--dim);
}
.run, .copy {
  font: inherit; font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--gold); background: transparent;
  border: 1px solid rgba(235, 197, 107, 0.5); border-radius: 4px;
  padding: 0.25rem 0.7rem; cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.run::before { content: "$ "; color: var(--rose); }
.run:hover, .copy:hover { background: rgba(235, 197, 107, 0.12); border-color: var(--gold); }
.run:disabled { opacity: 0.6; cursor: progress; }
.run.is-done, .copy.is-done { color: var(--mint); border-color: rgba(159, 217, 195, 0.6); }
.run.is-done::after { content: " ✓"; }

/* =====================================================================
   work: git log | git show
   ===================================================================== */
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
.work-grid > *, .stack-grid > * { min-width: 0; }   /* long <pre> lines scroll inside their panel, never widen the page */
.log { list-style: none; position: relative; padding-left: 2rem; }
.log::before {
  content: "";
  position: absolute; left: 0.5rem; top: 1rem; bottom: 1rem; width: 2px;
  background: var(--line-strong); transform-origin: top;
}
.view.is-in .log::before { animation: grow 900ms var(--ease) 120ms both; }
.commit, .tag { position: relative; }
.view.is-in .commit, .view.is-in .tag { animation: rise 480ms var(--ease) both; animation-delay: calc(var(--i) * 80ms + 160ms); }
.commit::before, .tag::before {
  content: "";
  position: absolute; left: -2rem; top: 0.95rem;
  width: 0.8rem; height: 0.8rem; margin-left: 0.11rem;
  border-radius: 50%;
  background: var(--ground); border: 2px solid var(--rose);
  transition: background 200ms ease, transform 200ms ease;
}
.commit.is-head::before { background: var(--rose); animation: pulse 2.4s ease-in-out infinite; }
.commit.is-selected::before, .commit.is-open::before { background: var(--rose); transform: scale(1.15); }
.tag::before { border-color: var(--gold); border-radius: 2px; transform: rotate(45deg) scale(0.8); top: 0.7rem; }

.commit .row {
  all: unset;
  box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.25rem 0.85rem;
  width: 100%;
  padding: 0.5rem 0.7rem 0.15rem;
  margin: 0 -0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  transition: background 140ms ease;
}
.commit .row:hover { background: rgba(246, 236, 232, 0.045); }
.commit .row:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.commit.is-selected .row { background: rgba(255, 129, 150, 0.09); }
.hash { color: var(--rose); }
.row time { color: var(--dim); min-width: 8ch; }
.role { font-family: var(--font-sans); font-size: clamp(1rem, 1.05vw, 1.2rem); font-weight: 600; letter-spacing: -0.01em; color: var(--text); font-variation-settings: "opsz" 24; }
.at { font-weight: 400; color: var(--dim); }
.at::before { content: "at "; }
.refs { color: var(--gold); }
.refs::before { content: "("; color: var(--dim); }
.refs::after  { content: ")"; color: var(--dim); }
.twist { margin-left: auto; color: var(--gold); }
.twist::before { content: "+"; }
.commit.is-open .twist::before { content: "−"; }
.gist { margin: 0.1rem 0 0.9rem; color: var(--dim); font-size: clamp(0.9rem, 0.9vw, 1.02rem); max-width: var(--measure); }
.detail { padding: 0 0 1rem; animation: rise 320ms var(--ease) both; }
.meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--dim); white-space: pre-wrap; margin-bottom: 0.9rem; }
.detail ul, .show-body ul { list-style: none; max-width: var(--measure); margin: 0 0 0.7rem; }
.detail li, .show-body li { position: relative; padding-left: 1.5rem; margin-bottom: 0.35rem; font-size: clamp(0.92rem, 0.92vw, 1.05rem); }
.detail li::before, .show-body li::before { content: "+"; position: absolute; left: 0; color: var(--mint); font-family: var(--font-mono); }
.detail li.branch::before, .show-body li.branch::before { content: "|\\"; color: var(--gold); }
li.branch .refs { margin-right: 0.35rem; font-family: var(--font-mono); font-size: 0.8rem; }
.trailer { font-family: var(--font-mono); font-size: 0.8rem; color: var(--dim); margin: 0; max-width: none; }
.trailer span { color: var(--gold); }
.tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.85rem; padding: 0.35rem 0; margin-top: 0.3rem; font-family: var(--font-mono); font-size: 0.82rem; }
.tag .role { font-size: clamp(0.95rem, 0.95vw, 1.08rem); }
.commit + .tag { margin-top: 0.8rem; }

.work-show { display: none; }
.show-body { padding: 1.25rem 1.5rem 1.4rem; }
.show-body.is-swap { animation: rise 320ms var(--ease) both; }
.show-body h3 { margin: 0 0 0.6rem; font-size: clamp(1.2rem, 1.3vw, 1.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; font-variation-settings: "opsz" 40; }
.show-body .gist { margin: 0 0 1rem; color: var(--text); }
.show-body .meta { margin-bottom: 1rem; }

@media (min-width: 1500px) {
  .work-grid { grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.9fr); }
  .work-show { display: block; }
  .commit .detail { display: none !important; }
  .twist { display: none; }
  .commit .row { padding-bottom: 0.15rem; }
}

/* =====================================================================
   stack: Gemfile | bash
   ===================================================================== */
.stack-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.gemfile {
  margin: 0; padding: 1.1rem 1.4rem; overflow-x: auto;
  font-size: clamp(0.78rem, 0.8vw, 0.92rem); line-height: 1.65; tab-size: 2;
}
.gemfile .c { color: var(--dim); font-style: italic; }
.gemfile .m { color: var(--rose); }
.gemfile .s { color: var(--mint); }
.gemfile .k { color: var(--gold); }
.gemfile .y { color: var(--sky); }
.term { cursor: pointer; }
.term-body { padding: 1rem 1.4rem 1.2rem; font-family: var(--font-mono); font-size: clamp(0.78rem, 0.8vw, 0.9rem); line-height: 1.6; min-height: 8rem; }
.term-hint { margin: 0; max-width: none; color: var(--text); }
.term-hint .p { color: var(--gold); }
.term-hint .c { color: var(--dim); font-style: italic; }
.bundle-log { margin: 0; white-space: pre-wrap; color: var(--text); }
.bundle-log > div { animation: appear 160ms ease both; }
.bundle-log .dim { color: var(--dim); }
.bundle-log .ok { color: var(--mint); font-weight: 500; margin-top: 0.4rem; }
@media (min-width: 1500px) {
  .stack-grid { grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr); }
  .term { margin-top: calc(clamp(1.8rem, 2.6vw, 2.8rem) * 1.05 + clamp(1rem, 2.5vh, 1.75rem)); } /* level with the Gemfile panel, under the heading */
}

/* =====================================================================
   contact
   ===================================================================== */
.contact-lede { font-size: clamp(1.05rem, 1.15vw, 1.3rem); }
.contact-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1rem; margin: 0.5rem 0 1.5rem; max-width: none; }
.contact-email {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 3.8rem);
  font-weight: 500;
  color: var(--text);
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  word-break: break-all;
}
.contact-email:hover { color: var(--rose); }
.contact-list { list-style: none; color: var(--dim); display: grid; gap: 0.25rem; font-size: clamp(0.95rem, 0.95vw, 1.08rem); }
.contact-list a { color: var(--text); }

/* =====================================================================
   frame: status bar
   ===================================================================== */
.status {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 1.25rem;
  min-height: 2rem;
  background: var(--panel);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--dim);
  overflow: hidden;
  white-space: nowrap;
}
.seg { padding: 0.3rem 0.8rem; border-right: 1px solid var(--line); }
.seg.branch { color: var(--panel); background: var(--gold); font-weight: 700; border-right: 0; }
.seg.branch::before { content: " "; }
.seg-hint { border-right: 0; color: rgba(205, 181, 187, 0.6); }
.seg-right { margin-left: auto; border-right: 0; padding-right: 0; color: var(--text); }

/* =====================================================================
   overlay + toast
   ===================================================================== */
.fx-overlay { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.toast {
  position: fixed; left: 50%; bottom: 3rem; z-index: 60;
  transform: translate(-50%, 1rem); opacity: 0;
  padding: 0.6rem 1rem;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px;
  color: var(--mint); font-family: var(--font-mono); font-size: 0.85rem;
  white-space: nowrap; max-width: calc(100vw - 2rem); overflow: hidden; text-overflow: ellipsis;
  transition: opacity 200ms ease, transform 200ms ease; pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   404
   ===================================================================== */
.notfound { padding: clamp(2rem, 8vh, 6rem) clamp(1.5rem, 5vw, 5rem); }
.notfound .display { max-width: 20ch; margin-top: 1.5rem; font-size: clamp(2rem, 4.5vw, 5rem); }
.trace {
  margin: 0 0 2rem; padding: 1.25rem 1.5rem; max-width: 60rem;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 8px;
  font-size: 0.9rem; overflow-x: auto; color: var(--dim);
}
.trace .err { color: var(--rose); }
.trace .path { color: var(--mint); }

/* =====================================================================
   small screens: stack the panes, let the page scroll
   ===================================================================== */
@media (max-width: 959px) {
  html, body { overflow-x: hidden; }
  body { height: auto; overflow-y: visible; display: block; }
  .top { position: sticky; top: 0; z-index: 10; }
  .workspace { display: block; }
  .console { border-right: 0; border-bottom: 1px solid var(--line); }
  .console-out { max-height: 36vh; }
  .splash { padding: 1rem 1.25rem 0.75rem; }
  .gem-wrap { width: clamp(90px, 22vw, 130px); }
  .stage { overflow: visible; }
  .view { min-height: 0; display: block; padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem); }
  .status { position: static; flex-wrap: wrap; white-space: normal; }
  .seg-hint { display: none; }
}
@media (max-width: 640px) {
  .console-hint { display: none; }
  .top { padding-inline: 0.9rem; }
  .tabs { gap: 0; }
  .tabs a { padding: 0.2rem 0.5rem; }
  .tabs a kbd { display: none; }
  .log { padding-left: 1.6rem; }
  .log::before { left: 0.35rem; }
  .commit::before, .tag::before { left: -1.6rem; }
  .row time { min-width: 0; }
  .twist { display: none; }
  .commit .row { padding-inline: 0.4rem; margin-inline: -0.4rem; }
  .facts .who { display: none; }
}

/* =====================================================================
   reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  a, .tabs a, .display .ch, .commit::before, .commit .row, .toast, .run, .copy { transition: none; }
  .cursor { animation: none; }
  html.js body:not(.is-ready) .display .ch { opacity: 1; transform: none; }
  body.is-ready .display .ch { animation: none; }
  .console-log > div, .bundle-log > div, .detail, .show-body.is-swap { animation: none; }
  .commit.is-head::before { animation: none; }
}

/* =====================================================================
   print: everything, as a resume
   ===================================================================== */
@media print {
  :root {
    --ground: #fff; --panel: #fff; --text: #111; --dim: #555;
    --gold: #8a5a00; --rose: #9b1b30; --mint: #1f6b4f; --sky: #23518a;
    --line: #ccc; --line-strong: #999;
  }
  html { font-size: 11pt; background: #fff; }
  body { display: block; height: auto; overflow: visible; }
  .workspace { display: block; }
  .top, .console, .status, .fx-overlay, .toast, .term, .copy, .twist, .work-show, .hero-links { display: none !important; }
  .stage { background: none; overflow: visible; }
  .view { display: block !important; min-height: 0; padding: 1rem 0; break-inside: avoid; }
  .view + .view { border-top: 1px solid #ccc; }
  .view-inner { max-width: none; }
  .display { font-size: 24pt; }
  html.js .display:not(.is-split) { opacity: 1; }
  html.js body:not(.is-ready) .display .ch { opacity: 1; transform: none; }
  .commit .detail { display: block !important; }
  .commit .row { margin: 0; padding: 0.3rem 0; }
  .panel, .trace { border: 1px solid #999; }
  a { color: inherit; text-decoration: none; }
}
