:root {
  --ink: #17221f;
  --muted: #76827c;
  --line: #dce4df;
  --paper: #f4f6f1;
  --card: #fbfcf9;
  --lime: #c7f36b;
  --lime-dark: #385121;
  --coral: #ed705c;
  --blue: #5e94d6;
  --mono: "DM Mono", Consolas, monospace;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--display); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .27; background-image: radial-gradient(#c7d2ca 0.7px, transparent .7px); background-size: 18px 18px; }
.shell { position: relative; max-width: 1260px; min-height: 100vh; margin: auto; padding: 28px 42px 20px; }
.topbar, footer { display: flex; align-items: center; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .08em; }
.brand { display: flex; gap: 10px; align-items: center; }
.brand-mark { color: var(--coral); font-size: 17px; font-weight: 500; }
.status-chip { border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; color: var(--muted); background: rgba(251,252,249,.65); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--lime-dark); box-shadow: 0 0 0 3px #e4f6bd; }
.intro { padding: 72px 0 48px; max-width: 700px; }
.eyebrow, .panel-index, h2, h3, .metric span, .notice, footer { font-family: var(--mono); }
.eyebrow { color: var(--coral); font-size: 11px; letter-spacing: .12em; }
h1 { margin: 12px 0 11px; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.04em; font-weight: 600; }
.accent { color: var(--coral); }.lede { max-width: 440px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.workspace { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(500px, 1.2fr); gap: 18px; align-items: start; }
.control-panel, .results-panel { border: 1px solid var(--line); background: rgba(251,252,249,.88); padding: 24px; box-shadow: 0 14px 40px rgba(41,59,49,.05); }
.panel-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 27px; }.panel-index { color: var(--coral); font-size: 11px; }.panel-heading h2 { margin: 0; font-size: 11px; letter-spacing: .1em; font-weight: 500; }.run-state { margin-left: auto; color: var(--muted); font: 10px var(--mono); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }.field-wide { grid-column: 1 / -1; }.control-panel { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }.field span { font-size: 12px; font-weight: 600; }.field em { color: var(--muted); font: 10px var(--mono); font-style: normal; font-weight: 400; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 2px; outline: none; background: #f6f8f4; color: var(--ink); padding: 12px; font: 13px var(--mono); transition: border-color .2s, box-shadow .2s; }textarea { resize: vertical; min-height: 74px; } input:focus, select:focus, textarea:focus { border-color: var(--lime-dark); box-shadow: 0 0 0 3px #e5f3c9; }
.form-actions { display: flex; gap: 10px; margin-top: 3px; }.button { border: 0; border-radius: 2px; padding: 13px 17px; cursor: pointer; font: 600 12px var(--display); }.button:disabled { cursor: not-allowed; opacity: .45; }.button-primary { background: var(--lime); color: var(--lime-dark); }.button-primary:hover { background: #d4fa82; }.button-quiet { color: var(--muted); background: #edf1ed; }.button-icon { margin-right: 6px; font-size: 10px; }.notice { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }.metric { min-height: 100px; padding: 16px; background: var(--card); }.metric span { display: block; color: var(--muted); font-size: 10px; }.metric strong { display: block; margin-top: 13px; font: 500 27px var(--mono); }.metric-main { grid-column: 1 / -1; min-height: 126px; }.metric-main strong { margin-top: 8px; font-size: 35px; }.unit { display: inline; font-size: 11px !important; color: var(--muted); }.progress-track { height: 5px; margin-top: 18px; background: #e6ece6; }.progress-bar { width: 0; height: 100%; background: var(--lime-dark); transition: width .2s ease; }
.result-split { display: grid; grid-template-columns: 150px 1fr; gap: 20px; margin-top: 24px; }.result-split h3 { margin: 0 0 17px; font-size: 10px; font-weight: 500; letter-spacing: .08em; }.response-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font: 11px var(--mono); }.response-row b { font-weight: 500; }.legend-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; }.ok { background: var(--lime-dark); }.error { background: var(--coral); }.timeout { background: var(--blue); }.event-log { min-height: 360px; max-height: 600px; overflow-y: auto; padding: 10px; background: #f1f5ef; font: 10px/1.8 var(--mono); word-break: break-all; white-space: pre-wrap; }.event-log p { margin: 0; }.log-empty { color: var(--muted); }.log-line { color: var(--muted); }.log-line b { color: var(--ink); font-weight: 500; }.log-line.is-error b { color: var(--coral); }footer { padding-top: 28px; color: #99a49e; font-size: 9px; }
@media (max-width: 850px) { .shell { padding: 22px 18px 18px; }.intro { padding: 58px 0 34px; }.workspace { grid-template-columns: 1fr; }.control-panel, .results-panel { padding: 18px; } }
@media (max-width: 480px) { .control-panel { grid-template-columns: 1fr; }.field-wide { grid-column: auto; }.notice { grid-column: auto; }.result-split { grid-template-columns: 1fr; gap: 25px; } h1 { font-size: 46px; } }
