﻿:root {
  color-scheme: light;
  --nav: #2c3e50;
  --ink: #24364a;
  --muted: #4c6177;
  --blue: #236d9b;
  --line: #d9e3ec;
  --paper: #fff;
  --background: #f2f6fa;
  --gold: #f4d03f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.6 "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--background);
}
a { color: var(--blue); }
.site-header { background: var(--nav); }
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
}
.brand { color: var(--gold); font-weight: 800; font-size: 19px; }
.back { color: #fff; font-size: 15px; }
.wrap { max-width: 570px; margin: clamp(20px, 6vw, 74px) auto; padding: 0 16px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 12px;
  padding: clamp(20px, 5vw, 36px);
}
h1 { margin: 0; font-size: clamp(24px, 5vw, 31px); line-height: 1.25; }
.intro { color: var(--muted); margin: 9px 0 23px; }
.field { margin: 0 0 14px; }
label { display: block; font-weight: bold; }
input {
  display: block;
  width: 100%;
  margin: 5px 0 2px;
  padding: 9px 11px;
  border: 1px solid #8fa4b7;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.hint { color: var(--muted); font-size: 14px; }
button {
  min-height: 44px;
  padding: 9px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: white;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}
button:hover { background: #195b86; }
a:focus-visible, input:focus-visible, button:focus-visible {
  outline: 3px solid #b87500;
  outline-offset: 3px;
}
.notice {
  margin: 0 0 16px;
  padding: 11px 14px;
  border-left: 4px solid var(--blue);
  border-radius: 0 5px 5px 0;
  background: #eaf2f8;
}
.error { color: #782a1d; background: #fff0ed; border-color: #a63b2a; }
.success { color: #145943; background: #e5f4ec; border-color: #14685e; }
.skip { position: absolute; top: -100px; left: 12px; padding: 8px; background: white; }
.skip:focus { top: 8px; z-index: 1; }
