* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #0d1117; color: #e6edf3; min-height: 100vh; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; background: #161b22; border-bottom: 1px solid #21262d; }
.topbar h1 { font-size: 20px; color: #58a6ff; }
.topbar p { font-size: 13px; color: #8b949e; margin-top: 4px; }
button { background: #21262d; color: #e6edf3; border: 1px solid #30363d; border-radius: 6px; padding: 7px 16px; font-size: 13px; cursor: pointer; }
button:hover { background: #30363d; }
button.primary { background: #1f6feb; border-color: #1f6feb; }
button.primary:hover { background: #388bfd; }
button:disabled { opacity: .5; cursor: not-allowed; }
main { max-width: 1180px; margin: 0 auto; padding: 24px 20px 60px; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 22px; }
.status-card { background: #161b22; border: 1px solid #21262d; border-radius: 10px; padding: 16px 18px; }
.status-card .label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8b949e; }
.status-card strong { display: block; font-size: 20px; margin: 6px 0 4px; color: #e6edf3; }
.status-card strong.ok { color: #3fb950; }
.status-card strong.bad { color: #f85149; }
.status-card small { color: #8b949e; font-size: 12px; }
.panel { background: #161b22; border: 1px solid #21262d; border-radius: 10px; margin-bottom: 22px; padding: 18px 20px; }
.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { font-size: 16px; color: #e6edf3; }
.panel-head span { font-size: 12px; color: #8b949e; flex: 1; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.row .grow { flex: 1; min-width: 240px; }
select, input[type="text"], textarea { background: #0d1117; color: #e6edf3; border: 1px solid #30363d; border-radius: 6px; padding: 8px 10px; font-size: 13px; font-family: inherit; }
input[type="file"] { font-size: 12px; color: #8b949e; }
textarea { width: 100%; resize: vertical; }
.result { margin-top: 12px; padding: 12px; background: #0d1117; border: 1px solid #21262d; border-radius: 8px; }
.result.hidden { display: none; }
.metrics { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #8b949e; margin-bottom: 10px; }
.metrics strong { color: #58a6ff; }
.gate { padding: 2px 10px; border-radius: 10px; font-size: 12px; }
.gate.pass { background: #12351e; color: #3fb950; }
.gate.fail { background: #3d1418; color: #f85149; }
audio { width: 100%; height: 36px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #21262d; white-space: nowrap; }
th { color: #8b949e; font-weight: 600; font-size: 12px; }
td audio { width: 220px; height: 30px; }
.muted { color: #8b949e; font-size: 13px; margin-bottom: 8px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 9px; font-size: 12px; }
.tag.pass { background: #12351e; color: #3fb950; }
.tag.fail { background: #3d1418; color: #f85149; }
a.link { color: #58a6ff; cursor: pointer; text-decoration: none; margin-right: 10px; }
