.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body:not([data-surface="workspace"]) .sidebar,
body:not([data-surface="workspace"]) #search-form,
body:not([data-surface="workspace"]) #plan { display: none; }
body:not([data-surface="workspace"]) .workspace { display: block; }
body:not([data-surface="workspace"]) .topbar { padding-inline: max(24px, calc((100vw - 1184px) / 2)); }
.topbar .top-actions { margin-left: auto; align-items: center; }
.workspace-link { color: var(--muted); font-size: 12px; margin-right: 16px; }
.landing { max-width: 940px; margin: 0 auto; padding: 82px 30px 0; }
.hero { max-width: 780px; margin: auto; }
.hero-kicker, .section-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; line-height: 1.5; color: var(--muted); }
.hero-kicker { justify-content: flex-start; gap: 12px; margin-bottom: 22px; }
.mini-mark { color: var(--accent); font-size: 24px; line-height: 1; }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); font-weight: 500; letter-spacing: -2.8px; line-height: 1.08; margin: 0; }
.hero h1 span { color: var(--accent); }
.hero-copy { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 23px 0 32px; }
.pr-form { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 9px; box-shadow: 0 2px 3px #00000004, 0 6px 24px #00000005; }
.pr-form:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.pr-form input { flex: 1; min-width: 0; width: 100%; border: 0; outline: none; padding: 12px 0; background: transparent; color: var(--text); font: 13px ui-monospace, SFMono-Regular, Consolas, monospace; }
.pr-form input:focus-visible { outline: none; }
.pr-form button { padding: 12px 17px; white-space: nowrap; }
.pr-form button span { margin-left: 18px; }
.input-icon { color: var(--muted); font-size: 22px; padding-left: 7px; }
.input-hint { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 8px 2px; }
.input-hint kbd { border: 1px solid var(--line); padding: 1px 6px; border-radius: 3px; }
.url-error { font-size: 12px; color: var(--red); margin: 8px 0 0; }
.url-error:empty { display: none; }
.shortcut { margin: 60px 0 36px; padding: 23px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shortcut-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 22px; }
.shortcut h2 { font-size: 19px; font-weight: 500; line-height: 1.4; letter-spacing: -.3px; }
.shortcut p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 10px 0 0; }
.url-swap { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.url-line { display: flex; gap: 12px; padding: 12px 14px; font-size: 11px; line-height: 1.7; }
.url-line code { overflow-wrap: anywhere; }
.url-line > span { user-select: none; }
.url-line.before { background: var(--panel); color: var(--muted); }
.url-line.after { background: var(--accent-bg); }
.url-line del { color: var(--red); text-decoration-color: var(--red); }
.url-line mark { color: var(--accent); background: transparent; font-weight: 600; }
.url-swap button { width: 100%; border: 0; border-radius: 0; text-align: left; font-size: 10px; color: var(--muted); padding: 10px 14px; }
.url-swap button span { float: right; }
.section-label h2 { font: inherit; margin: 0; }
.examples { margin-top: 64px; }
.examples .section-label { margin-bottom: 12px; }
.example-row { display: flex; align-items: center; gap: 15px; padding: 19px 4px; border-bottom: 1px solid var(--line); color: var(--text); }
.example-row:hover { background: var(--panel); text-decoration: none; }
.example-icon { color: var(--muted); font-size: 22px; }
.example-text { flex: 1; min-width: 0; }
.example-repo { display: block; color: var(--muted); font: 10px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.example-repo > span { margin-left: 8px; }
.example-text strong { font-size: 13px; font-weight: 500; line-height: 1.6; }
.example-verdict { font-size: 10px; white-space: nowrap; color: var(--muted); }
.example-verdict.new-behavior { color: var(--accent); }
.example-verdict.undeterminable { color: var(--amber); }
.example-note { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.example-scope { display: block; margin-top: 3px; color: var(--muted); white-space: normal; }
.replay-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 33px 0; color: var(--muted); font-size: 10px; }
body[data-surface="pr"] #content { max-width: 1184px; margin: 0 auto; }
.pr-location { display: flex; gap: 17px; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pr-location > a { color: var(--muted); font-size: 20px; }
.pr-location .pr-form { flex: 1; box-shadow: none; border-radius: 6px; padding: 3px 5px; }
.pr-location .pr-form input { font-size: 11px; padding: 8px 0; }
.pr-location .pr-form button { font-size: 11px; padding: 7px 12px; }
.pr-location .url-error { flex-basis: 100%; order: 4; margin: 0; }
#copy-pr-link { font-size: 11px; }
.request-head { padding: 30px 28px 26px; }
.request-head h1 { font-size: 27px; font-weight: 500; letter-spacing: -.8px; line-height: 1.35; margin: 18px 0; overflow-wrap: anywhere; }
.request-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 11px; }
.request-state { border-block: 1px solid var(--line); padding: 45px 28px; background: var(--panel); }
.state-visual { display: flex; align-items: center; color: var(--muted); margin-bottom: 26px; }
.state-visual span { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); font-size: 25px; }
.state-visual i { width: 48px; border-bottom: 1px dashed var(--muted); }
.state-visual span:last-child { border-style: dashed; color: var(--accent); }
.state-copy h2 { font-size: 27px; font-weight: 500; letter-spacing: -.7px; margin: 12px 0; }
.state-copy p, .prepare-copy p { font-size: 13px; color: var(--muted); max-width: 620px; line-height: 1.8; margin: 0; }
.request-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; font-size: 12px; }
.prepare-panel { margin: 32px 28px 60px; }
.prepare-copy { display: flex; align-items: center; gap: 32px; justify-content: space-between; margin-top: 22px; }
.prepare-copy h2 { font-size: 19px; font-weight: 500; margin: 0 0 10px; }
.prepare-copy > button, .button-link { white-space: nowrap; font-size: 12px; }
.prepare-copy > button { padding: 12px 18px; }
.button-link { border: 1px solid var(--line); padding: 12px 18px; border-radius: 5px; }
.job-panel { margin-top: 26px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.job-panel h3 { font-weight: 500; font-size: 16px; }
.job-panel p { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.job-panel details { font-size: 12px; margin-top: 18px; }
.plan-facts { padding: 0; }
.provenance-strip { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin-top: 16px; color: var(--muted); font-size: 11px; }
.provenance-strip button { font-size: 11px; }
.state-visual.loading span:last-child { animation: replay-pulse 1.5s ease-in-out infinite; }
@keyframes replay-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .state-visual.loading span:last-child { animation: none; } }
@media (max-width: 650px) {
  body[data-surface="workspace"] .workspace-link { display: none; }
  .landing { padding: 44px 22px 0; }
  .hero h1 { letter-spacing: -1.7px; font-size: 39px; }
  .hero-kicker { font-size: 8px; gap: 9px; letter-spacing: .8px; }
  .hero-copy { font-size: 14px; margin-bottom: 24px; }
  .pr-form { flex-wrap: wrap; gap: 6px; padding: 7px; }
  .pr-form button { flex-basis: 100%; }
  .pr-form input { font-size: 11px; }
  .input-hint { font-size: 9px; }
  .shortcut { margin-top: 38px; }
  .shortcut-layout { grid-template-columns: 1fr; gap: 18px; }
  .shortcut h2 br { display: none; }

  .example-row { flex-wrap: wrap; gap: 6px 10px; }
  .example-text { flex-basis: 75%; }
  .example-row > span:last-child { display: none; }
  .example-verdict { padding-left: 29px; }
  .replay-footer { display: grid; line-height: 1.6; }
  .pr-location { padding: 15px; gap: 8px; }
  .pr-location .input-icon { display: none; }
  .pr-location .pr-form { padding-left: 8px; }
  .pr-location .pr-form input { font-size: 10px; }
  .pr-location .pr-form button { flex-basis: auto; padding-inline: 8px; }
  .pr-location .pr-form button span { display: none; }
  #copy-pr-link { flex-basis: 100%; margin-left: 28px; text-align: right; border: 0; padding: 3px; }
  .request-head, .request-state { padding: 26px 20px; }
  .request-head h1 { font-size: 23px; }
  .request-meta { gap: 10px; font-size: 10px; }
  .state-copy h2 { font-size: 24px; }
  .prepare-panel { margin: 25px 20px 40px; }
  .prepare-copy { flex-direction: column; align-items: stretch; gap: 20px; }
  .prepare-copy > .button-link { text-align: center; }
  .provenance-strip { flex-wrap: wrap; font-size: 10px; }
}
.replay-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; padding: 0; }
.replay-steps li { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.replay-steps strong { display: block; font-size: 12px; font-weight: 500; }
.replay-steps small { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.step-index { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; color: var(--muted); }
.replay-steps li.done .step-index { background: var(--ink, currentColor); color: var(--bg); border-color: transparent; }
.replay-steps li.active { border-color: var(--accent); }
.replay-steps li.active .step-index { border-color: var(--accent); color: var(--accent); }
.replay-steps li.blocked { border-style: dashed; }
.replay-steps li.next { opacity: .6; }
.operator-key { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.operator-key input { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; min-width: 240px; }
@media (max-width: 650px) {
  .replay-steps { grid-template-columns: 1fr; }
  .prepare-copy { flex-wrap: wrap; }
  .operator-key input { min-width: 0; width: 100%; }
}
