/* 商务风：稳重、清楚、像正式的公司系统。深蓝主色，细线，小圆角 */
:root {
  --bg: #f3f5f8;
  --fg: #0f1b2d;
  --muted: #536176;
  --accent: #0b4f8a;
  --accent-fg: #ffffff;
  --card: #ffffff;
  --border: #d5dbe3;
  --bar: #0f1b2d;
  color-scheme: light;
}


* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  border-top: 6px solid var(--bar);
}

.app { max-width: 640px; margin: 0 auto; padding: 32px 16px; }

h1 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 650; letter-spacing: -0.01em; }

.lead { margin: 0 0 24px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--border); }

button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-fg);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:hover { filter: brightness(1.08); }
button:active { filter: brightness(0.95); }

input, select, textarea {
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.output, .card {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: var(--card);
}

.output:empty { display: none; }

html { font-size: 20px; }
button { min-height: 60px; font-size: 1.05rem; width: 100%; margin-top: 12px; }
button.alt { background: var(--card); color: var(--accent); }
button.danger { background: #fff; color: #b3261e; border-color: #b3261e; }
button.small { width: auto; min-height: 48px; margin: 8px 8px 0 0; padding: 0 16px; }
input, select, textarea { width: 100%; min-height: 52px; font-size: 1rem; margin-top: 6px; }
label { display: block; margin-top: 14px; font-weight: 600; }
.hidden { display: none !important; }
.q { font-size: 1.3rem; font-weight: 650; margin: 8px 0 12px; }
.prog { color: var(--muted); }
button.opt { background: var(--card); color: var(--fg); border: 2px solid var(--border); text-align: left; padding: 10px 16px; }
button.opt.right { background: #dff3e3; border-color: #1e7a34; }
button.opt.wrong { background: #fde3e1; border-color: #b3261e; }
.fb { font-size: 1.2rem; font-weight: 700; margin-top: 14px; }
.score { font-size: 3rem; font-weight: 700; color: var(--accent); text-align: center; margin: 16px 0; }
.item { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); }
.row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.row input[type=radio] { width: 28px; min-height: 28px; margin: 0; }
.msg { color: #b3261e; font-weight: 600; margin-top: 10px; }
