:root {
  color-scheme: dark;
  --base: #0f1516;
  --surface: #171f20;
  --inset: #111819;
  --line: #354140;
  --text: #f0f3ec;
  --muted: #a9b6b1;
  --accent: #d5fb9c;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-family: system-ui, "Microsoft YaHei UI", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--base); color: var(--text); }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.top { min-height: 68px; padding: 0 max(24px, calc((100vw - 1260px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.brand, .contract { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; }
.mark { color: var(--accent); font-size: 25px; line-height: 1; }
.contract { font-size: 13px; white-space: nowrap; color: var(--muted); }
.contract span { border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; color: var(--accent); font: 11px var(--mono); }
main { max-width: 1308px; margin: 0 auto; padding: 0 24px; }
.intro { padding: 52px 0 32px; }
.eyebrow { margin: 0; color: var(--muted); font: 11px var(--mono); letter-spacing: .12em; }
.intro .eyebrow { color: var(--accent); display: flex; align-items: center; gap: 8px; }
.intro .eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { margin: 17px 0 14px; font-size: clamp(39px, 5.8vw, 76px); letter-spacing: -.055em; line-height: 1.04; }
h1 em { color: var(--accent); font-style: normal; }
.intro-copy { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 16px; align-items: start; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 21px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
h2 { margin: 5px 0 0; font-size: 25px; letter-spacing: -.025em; }
.ghost { border: 1px solid var(--line); color: var(--text); background: transparent; border-radius: 7px; padding: 8px 11px; font-size: 13px; white-space: nowrap; }
.ghost:hover:not(:disabled), .jump:hover { border-color: var(--accent); }
textarea, input { background: var(--inset); border: 1px solid var(--line); border-radius: 8px; color: var(--text); width: 100%; }
textarea { display: block; resize: vertical; min-height: 270px; padding: 14px; line-height: 1.75; }
input { min-width: 0; padding: 9px 11px; }
.input-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; margin: 10px 0 16px; }
.submit { border-top: 1px solid var(--line); padding-top: 14px; display: flex; align-items: end; gap: 12px; }
.auth { min-width: 0; flex: 1; }
.auth label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.primary { background: var(--accent); color: #1c2815; font-weight: 750; border: 1px solid var(--accent); border-radius: 8px; padding: 9px 14px; white-space: nowrap; }
.primary span { margin-left: 8px; }
.notice { margin: 10px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.notice:empty { display: none; }
.notice.error { color: #ffb3a7; }
.empty { min-height: 348px; border: 1px dashed var(--line); border-radius: 9px; text-align: center; display: grid; align-content: center; justify-items: center; padding: 18px; }
.empty-mark { color: var(--accent); font-size: 30px; }
.empty p { margin: 8px 0 5px; font-weight: 680; }
.empty small { color: var(--muted); line-height: 1.6; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.tabs button { background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 6px; padding: 6px 10px; font-size: 13px; }
.tabs button[aria-pressed="true"] { color: var(--accent); border-color: var(--line); background: var(--inset); }
.report-view { max-height: 620px; overflow: auto; padding: 12px 4px 0 0; }
.summary { line-height: 1.75; margin: 0 0 14px; }
.group, .entry { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 9px; padding: 12px; }
.group h3 { font-size: 13px; margin: 0 0 10px; color: var(--muted); }
.entry p { line-height: 1.6; margin: 8px 0; }
.entry strong, .tag { color: var(--accent); font-size: 13px; }
.tag { display: inline-block; margin-right: 10px; }
.jump { margin-top: 5px; display: block; width: 100%; background: var(--inset); text-align: left; border: 1px solid var(--line); color: var(--muted); border-radius: 6px; padding: 7px 9px; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.run-meta, footer { font: 11px/1.7 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.run-meta { border-top: 1px solid var(--line); padding-top: 8px; margin: 10px 0 0; }
pre { margin: 0; font: 12px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
footer { display: flex; justify-content: space-between; gap: 8px; padding: 24px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .intro { padding: 32px 0 24px; }
  .empty { min-height: 200px; }
}
@media (max-width: 390px) {
  .top, main { padding-left: 14px; padding-right: 14px; }
  .panel { padding: 15px; }
  .submit { align-items: stretch; flex-direction: column; }
}
