:root {
  --ink: #1a2332;
  --muted: #5c6570;
  --line: #d7dde3;
  --bg: #f4f6f8;
  --card: #fff;
  --accent: #c45c16;
  --accent-dark: #9a4510;
  --ok: #1f6b3a;
  --warn: #8a5a00;
  --soft: #fff6ee;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.55 "Noto Sans CJK TC", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.wrap { max-width: 840px; margin: 0 auto; padding: 24px 16px 64px; }
header.brand {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px 18px;
  margin-bottom: 16px;
}
header.brand .org { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
header.brand h1 { font-size: 22px; line-height: 1.35; margin: 6px 0 8px; }
header.brand .sub { margin: 0; color: var(--muted); font-size: 14px; }
header.brand .contact { margin: 12px 0 0; font-size: 14px; }
.notice {
  background: var(--soft);
  border: 1px solid #efd2b5;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 14px;
}
.notice h2 { font-size: 15px; margin: 0 0 8px; }
.notice p { margin: 0 0 8px; }
.notice p:last-child { margin-bottom: 0; }
.notice a { color: var(--accent-dark); }
.success {
  background: #eef8f1;
  border: 1px solid #b7dcc3;
  color: var(--ok);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
}
form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 0 24px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 20px 24px 8px;
}
fieldset + fieldset { border-top: 1px solid var(--line); }
legend {
  font-size: 17px;
  font-weight: 700;
  padding: 0;
  width: 100%;
  margin-bottom: 12px;
}
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.req { color: #b42318; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.span-2 { grid-column: 1 / -1; }
label.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
label.field input, label.field select, label.field textarea {
  font: inherit;
  color: inherit;
  border: 1px solid #c5ccd3;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}
label.field textarea { min-height: 72px; resize: vertical; }
label.field input:focus, label.field select:focus, label.field textarea:focus {
  outline: 2px solid #efd2b5;
  border-color: var(--accent);
}
.choices { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.choice {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 14px; margin: 0;
}
.group-label { font-size: 14px; margin: 0 0 6px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.declare { font-size: 14px; }
.declare li { margin: 0 0 8px; }
.actions { padding: 8px 24px 0; }
button[type=submit] {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
}
button[type=submit]:hover { background: var(--accent-dark); }
button[type=submit]:disabled { opacity: .65; cursor: wait; }
.foot { font-size: 12px; color: var(--muted); margin: 16px 24px 0; }
.venue-fixed { grid-column: 1 / -1; margin: 8px 0 0; font-size: 14px; }
.venue-fixed a { color: var(--accent-dark); font-weight: 700; }
.venue-access { grid-column: 1 / -1; margin: 6px 0 0; font-size: 14px; }
@media (max-width: 680px) {
  .grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  header.brand, fieldset { padding-left: 16px; padding-right: 16px; }
}

.course-type-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.course-type-choice {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.course-type-choice:has(input:checked) { border-color: #0f6b5c; background: #f7fbfa; }
.course-type-choice input { margin-top: 4px; flex-shrink: 0; }
.course-type-icon { display: block; width: 96px; height: 76px; flex-shrink: 0; }
.course-type-icon svg { display: block; width: 100%; height: 100%; }
.course-type-name { font-weight: 700; font-size: 15px; color: #14332e; }
@media (max-width: 680px) {
  .course-type-choices { grid-template-columns: 1fr; }
  .course-type-icon { width: 84px; height: 68px; }
}
@media print {
  .course-type-icon { width: 28mm; height: 22mm; }
  .course-type-choice { break-inside: avoid; }
}

header.brand .share-row { margin: 12px 0 0; }
a.wa-share {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 10px;
}
a.wa-share:hover { background: var(--accent-dark); }
a.wa-share:focus-visible {
  outline: 2px solid #efd2b5;
  outline-offset: 2px;
}

.recognition-disclaimer,
.declare-recognition {
  margin: 12px 0 0;
}
.notice .recognition-disclaimer {
  border-top: 1px solid #efd2b5;
  padding-top: 12px;
  margin-top: 12px;
}
.declare-recognition {
  background: var(--soft);
  border: 1px solid #efd2b5;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 12px;
}
.recognition-disclaimer h3,
.declare-recognition h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
.recognition-disclaimer ol,
.declare-recognition ol {
  margin: 0;
  padding-left: 1.4em;
}
.recognition-disclaimer li,
.declare-recognition li {
  margin: 0 0 8px;
}
.recognition-disclaimer li:last-child,
.declare-recognition li:last-child {
  margin-bottom: 0;
}
