:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #20242d; background: #f6f7f9; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
button, select { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #829deb; outline-offset: 3px; }
[hidden] { display: none !important; }
.topbar { padding: 17px 28px; display: flex; align-items: center; gap: 20px; background: white; border-bottom: 1px solid #dfe3e9; font-size: 13px; }
.topbar a { font-weight: 650; color: #20242d; text-decoration: none; }
.topbar > span { color: #737b88; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 24px; max-width: 1600px; margin: auto; padding: 24px 28px; }
.code-pane { min-width: 0; }
.code-pane-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 20px; margin-bottom: 10px; font-weight: 650; letter-spacing: -.3px; }
.code-pane-heading > span { font-size: 11px; color: #7b8290; }
#profile-description { font-size: 13px; line-height: 1.5; color: #444d5d; margin-bottom: 7px; }
#profile-status { color: #7a8290; font-size: 11px; line-height: 1.5; margin-bottom: 18px; }
.controls { position: sticky; top: 20px; padding: 20px; background: white; border: 1px solid #dfe3e9; border-radius: 7px; max-height: calc(100vh - 40px); overflow-y: auto; }
.controls h2 { font-size: 16px; font-weight: 650; margin-bottom: 22px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 600; color: #505967; }
select { width: 100%; min-width: 0; padding: 10px 8px; border: 1px solid #ced5df; border-radius: 5px; font-size: 12px; color: #283141; background: white; }
.case-description { font-size: 11px; color: #778191; line-height: 1.55; margin: -5px 0 19px; }
#run-test { width: 100%; border: 0; border-radius: 5px; padding: 12px; color: white; background: #344ec7; font-size: 13px; font-weight: 600; }
#run-test:hover:enabled { background: #293da1; }
.run-note { font-size: 11px; line-height: 1.55; color: #7b8493; margin: 10px 0 0; }
#run-status { font-size: 11px; color: #4a5c75; line-height: 1.5; margin: 15px 0 0; }
#run-error { font-size: 12px; line-height: 1.5; color: #ab3434; background: #fff0f0; padding: 10px; margin: 12px 0 0; overflow-wrap: anywhere; }
.latest-results { margin-top: 22px; padding-top: 17px; border-top: 1px solid #e6e9ef; }
.latest-results h3 { font-size: 12px; font-weight: 600; color: #606b7b; margin-bottom: 13px; }
.result-item + .result-item { margin-top: 16px; }
.result-item-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 7px; font-size: 11px; font-variant-numeric: tabular-nums; }
.result-item-heading strong { font-weight: 650; }
.result-item-heading > span { color: #5e6b80; }
.result-item p { font-size: 10px; line-height: 1.5; color: #798293; margin: 6px 0 0; }
.result-item p.saved { color: #3b7758; }
.result-item p.failed { color: #ab3434; }
.result-item small { display: block; margin-top: 4px; color: #939ba8; font-size: 9px; }
.timing-help { border-top: 1px solid #e6e9ef; padding-top: 14px; margin-top: 20px; color: #778191; font-size: 11px; line-height: 1.55; }
.timing-help summary { color: #56637b; }
.timing-help p { margin: 12px 0 0; }
.replay-controls { border-top: 1px solid #e6e9ef; padding-top: 14px; margin-top: 18px; }
.replay-controls h3 { font-size: 12px; margin-bottom: 10px; }
.replay-buttons { display: flex; gap: 6px; }
.replay-buttons button { border: 1px solid #ced5df; background: white; color: #344ec7; border-radius: 4px; padding: 6px 8px; font-size: 11px; }
.replay-buttons select { padding: 6px; flex: 1; font-size: 10px; }
#replay-position { width: 100%; margin: 12px 0 8px; accent-color: #344ec7; }
.follow-label { font-size: 10px; display: flex; align-items: center; gap: 5px; color: #5e6b80; }
.follow-label input { margin: 0; accent-color: #344ec7; }
#replay-status { font-size: 10px; color: #5e6b80; line-height: 1.5; min-height: 30px; margin: 9px 0 0; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .workspace { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; padding: 20px; } .controls { padding: 16px; } .code-pane-heading > span { display: none; } }
@media (max-width: 720px) { .workspace { grid-template-columns: 1fr; padding: 14px; } .controls { grid-row: 1; position: static; max-height: none; } .topbar { padding: 15px; gap: 12px; font-size: 11px; } .controls h2 { margin-bottom: 14px; } }
