:root{--bg:#f6f7f4;--surface:#fff;--surface-strong:#f0f4f6;--ink:#172026;--muted:#69767f;--line:#d9e0e4;--accent:#256f87;--accent-strong:#15596d;--green:#24775b;--amber:#a56716;--red:#b33a3a;--violet:#684b9b;--shadow:0 10px 28px #17202614}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.shell{min-height:100vh;padding:24px}.topbar{justify-content:space-between;align-items:flex-end;gap:20px;max-width:1500px;margin:0 auto 18px;display:flex}.eyebrow{color:var(--accent);margin:0 0 6px;font-size:13px;font-weight:700}h1,h2{margin:0}h1{font-size:34px;line-height:1.15}h2{font-size:16px}.statusGroup{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.statusPill{background:var(--surface);border:1px solid var(--line);white-space:nowrap;border-radius:8px;align-items:center;gap:7px;min-height:34px;padding:7px 10px;display:inline-flex}.statusPill.ok{color:var(--green)}.statusPill.warn{color:var(--amber)}.workspace,.bottomGrid{gap:16px;max-width:1500px;margin:0 auto;display:grid}.workspace{grid-template-columns:minmax(0,1fr) 420px}.toolsGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1500px;margin:16px auto 0;display:grid}.bottomGrid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);margin-top:16px}.leftPane,.rightPane{min-width:0}.rightPane{gap:16px;display:grid}.toolbar{grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:10px;margin-bottom:10px;display:grid}.toolbarActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.searchBox{background:var(--surface);border:1px solid var(--line);border-radius:8px;align-items:center;gap:8px;min-height:42px;padding:0 12px;display:flex}.searchBox input{color:var(--ink);background:0 0;border:0;outline:0;width:100%;min-width:0}.segments{background:var(--surface);border:1px solid var(--line);border-radius:8px;align-items:center;gap:3px;padding:3px;display:flex}.segments button{color:var(--muted);background:0 0;border:0;border-radius:6px;min-height:34px;padding:0 10px}.segments button.active{background:var(--accent);color:#fff}.iconButton{background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:8px;justify-content:center;align-items:center;min-width:42px;height:42px;display:inline-flex}.iconButton.small{min-width:34px;height:34px}.modelMeta{color:var(--muted);flex-wrap:wrap;gap:12px;margin-bottom:10px;display:flex}.tableWrap{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px;overflow:auto}.modelTable{border-collapse:collapse;width:100%;min-width:1120px}.modelTable th,.modelTable td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:12px}.modelTable th{background:var(--surface-strong);color:var(--muted);font-size:13px;font-weight:700;position:sticky;top:0}.modelTable tr:last-child td{border-bottom:0}.selectedRow td{background:#eef7f3}.modelNameButton{color:var(--accent-strong);text-align:left;word-break:break-word;background:0 0;border:0;padding:0;font-weight:700;display:block}.muted{color:var(--muted);margin-top:4px;font-size:13px;display:block}.tierBadge{color:#fff;border-radius:999px;padding:6px 9px;font-size:13px;font-weight:700;line-height:1;display:inline-flex}.tierBadge.t0{background:var(--violet)}.tierBadge.t1{background:var(--green)}.tierBadge.t2{background:var(--accent)}.tierBadge.t3{background:var(--amber)}.tierBadge.unparsed{background:var(--muted)}.probeBadge{white-space:nowrap;border-radius:999px;padding:6px 8px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.probeBadge.untested,.probeBadge.testing,.probeBadge.unsupported_probe{color:var(--muted);background:#edf0f1}.probeBadge.testing{color:var(--accent-strong);background:#e8f2f6}.probeBadge.available{color:var(--green);background:#e3f3eb}.probeBadge.unavailable,.probeBadge.unauthorized{color:var(--red);background:#fbe9e9}.probeBadge.rate_limited,.probeBadge.timeout{color:var(--amber);background:#fff1dc}.probeError{color:var(--red);text-overflow:ellipsis;white-space:nowrap;max-width:220px;margin-top:5px;font-size:12px;display:block;overflow:hidden}.rowActions{gap:6px;display:flex}.panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px;min-width:0;padding:16px}.panelTitle{align-items:center;gap:8px;margin-bottom:14px;display:flex}.details{grid-template-columns:86px minmax(0,1fr);gap:9px 12px;margin:0;display:grid}.details dt{color:var(--muted)}.details dd{overflow-wrap:anywhere;margin:0}.warningList,.errorBox{color:var(--amber);background:#fff6e8;border:1px solid #ecd0a6;border-radius:8px;align-items:flex-start;gap:8px;margin-top:12px;padding:10px;display:grid}.errorBox{grid-template-columns:auto 1fr;margin-bottom:10px}.warningList p{margin:0}.probeProgress{background:var(--surface);border:1px solid var(--line);border-radius:8px;margin-bottom:10px;padding:10px 12px}.probeProgressHeader{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:7px;font-size:13px;display:flex}.probeProgress progress{accent-color:var(--accent);width:100%;height:8px}.probeProgress .muted{margin-bottom:0}.field{gap:6px;margin-bottom:12px;display:grid}.field span,.toggle span{color:var(--muted);font-size:13px;font-weight:700}textarea,input[type=number],input[type=text],select{border:1px solid var(--line);color:var(--ink);background:#fbfcfc;border-radius:8px;outline:0;width:100%;padding:10px}textarea{resize:vertical}select{width:100%;min-height:42px}input[type=file]{border:1px solid var(--line);color:var(--muted);background:#fbfcfc;border-radius:8px;width:100%;min-height:42px;padding:8px}.toolInlineGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.toolInlineGrid.twoColumns{grid-template-columns:repeat(2,minmax(0,1fr))}.toolOutput{color:#eef7f3;white-space:pre-wrap;background:#10181d;border-radius:8px;min-height:98px;margin:12px 0 0;padding:12px;overflow:auto}.audioResult{background:var(--surface-strong);border-radius:8px;align-items:center;min-height:58px;margin-top:12px;padding:8px;display:flex}.audioResult audio{width:100%}.numericGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.field.compact{margin-bottom:0}.toggle{align-items:center;gap:8px;margin:14px 0;display:inline-flex}.toggle input{width:18px;height:18px}.secondaryButton,.dangerButton{background:var(--surface);border:1px solid var(--line);color:var(--accent-strong);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 10px;font-size:13px;font-weight:700;display:inline-flex}.secondaryButton:hover{border-color:var(--accent)}.dangerButton{color:var(--red)}.fullButton{width:100%}.primaryButton{background:var(--accent);color:#fff;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:42px;padding:0 16px;font-weight:700;display:inline-flex}.probeDetailBox{background:var(--surface-strong);border:1px solid var(--line);border-radius:8px;margin-top:14px;padding:12px}.probeDetailHeader{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.probeMetrics{color:var(--muted);gap:4px;margin-top:10px;font-size:13px;display:grid}.detailError{max-width:none;text-overflow:initial;white-space:normal;overflow:visible}.outputPanel pre{color:#eef7f3;white-space:pre-wrap;background:#10181d;border-radius:8px;min-height:160px;margin:0;padding:14px;overflow:auto}.outputPanel .rawOutput{color:#d9e0e4;background:#26343b;max-height:280px;margin-top:12px}.logList{gap:8px;display:grid}.logRow{border-bottom:1px solid var(--line);grid-template-columns:70px 58px 74px minmax(0,1fr);align-items:center;gap:8px;padding:8px 0;display:grid}.logRow:last-child{border-bottom:0}.logRow strong,.logRow em{overflow-wrap:anywhere}.logRow em{color:var(--red);grid-column:1/-1;font-style:normal}.spin{animation:.8s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width:1120px){.topbar{flex-direction:column;align-items:flex-start}.statusGroup{justify-content:flex-start}.workspace,.toolsGrid,.bottomGrid,.toolbar{grid-template-columns:1fr}.segments{overflow:auto}}@media (max-width:640px){.shell{padding:14px}h1{font-size:28px}.numericGrid,.toolInlineGrid,.toolInlineGrid.twoColumns{grid-template-columns:1fr}.statusPill{white-space:normal}.logRow{grid-template-columns:1fr 1fr}}
