:root {
  --bg: #f6f7fb; --card: #ffffff; --ink: #14213d; --muted: #5b6577; --line: #e3e6ef;
  --brand: #1f4fd8; --brand-ink: #ffffff; --accent: #0e9f6e; --warn: #b45309; --warn-bg: #fff7e6; --err: #b42318;
  --radius: 14px; --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1424; --card: #151e33; --ink: #eaf0ff; --muted: #9aa7c2; --line: #263253;
    --brand: #6b8cff; --brand-ink: #0d1424; --accent: #34d399; --warn: #fbbf24; --warn-bg: #2a2412; --err: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brand); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); background: var(--card); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 700; letter-spacing: .2px; text-decoration: none; color: var(--ink); }
.logo span { color: var(--brand); }
.pill { display: inline-block; font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--bg); }
.hero { padding: 56px 0 28px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 26px; }
.call { display: inline-flex; align-items: center; gap: 12px; background: var(--brand); color: var(--brand-ink); text-decoration: none; padding: 16px 24px; border-radius: var(--radius); font-size: 26px; font-weight: 700; letter-spacing: .5px; box-shadow: var(--shadow); }
.call small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .4px; opacity: .85; text-transform: uppercase; }
.notice { margin: 22px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); font-size: 15px; max-width: 640px; }
section { padding: 26px 0; }
h2 { font-size: 22px; margin: 0 0 14px; letter-spacing: -.01em; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.say { font-style: italic; color: var(--ink); }
.steps { counter-reset: step; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; list-style: none; margin: 0; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 58px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 15px; }
.board { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.board header { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.board header h2 { margin: 0; font-size: 18px; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
.dot.off { background: var(--err); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
tr.fresh td { animation: fresh 2.4s ease-out; }
@keyframes fresh { from { background: color-mix(in srgb, var(--accent) 22%, transparent); } to { background: transparent; } }
.empty { padding: 28px 18px; color: var(--muted); text-align: center; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); }
.tag.voice { color: var(--brand); } .tag.web { color: var(--accent); }
footer.site { padding: 34px 0 48px; color: var(--muted); font-size: 14px; }
/* report page */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); max-width: 640px; margin: 28px auto; }
.panel h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.01em; }
.status { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 15px; margin: 14px 0 18px; border: 1px solid var(--line); background: var(--bg); }
.status.ok { color: var(--accent); } .status.error { color: var(--err); } .status.wait { color: var(--muted); }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.hint { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
button.primary { margin-top: 20px; width: 100%; font: inherit; font-weight: 700; padding: 13px; border: 0; border-radius: 10px; background: var(--brand); color: var(--brand-ink); cursor: pointer; }
button.primary:disabled { opacity: .5; cursor: not-allowed; }
.success { text-align: center; padding: 10px 0; }
.success .num { font-size: 30px; font-weight: 800; letter-spacing: 1px; margin: 8px 0; }
.is-hidden { display: none !important; }
.filled { animation: fresh 2s ease-out; }

.help { padding: 16px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); text-align: center; }
.help .hint { margin: 10px 0 0; font-size: 14px; }
button.help-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto; min-width: 260px; margin: 0; padding: 14px 24px; font-size: 17px; }
button.help-btn:disabled { opacity: .6; cursor: progress; }
