/* Issue #25 公開 LIFF 站：以手機直向、LINE 內建瀏覽器為主。 */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f2f4f7; color: #1f2a37; font: 17px/1.6 -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
main { max-width: 560px; margin: 0 auto; padding: 20px 16px 24px; }
h1 { font-size: 22px; margin: 0 0 12px; }
h2 { font-size: 18px; margin: 20px 0 8px; }
p { margin: 8px 0; overflow-wrap: anywhere; }
footer { max-width: 560px; margin: 0 auto; padding: 0 16px calc(20px + env(safe-area-inset-bottom)); color: #5b6675; font-size: 14px; }
.card { background: white; border-radius: 12px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 2px rgb(0 0 0 / 8%); }
.muted { color: #5b6675; font-size: 15px; }
.ok { color: #17663a; font-weight: 600; }
#error { color: #a52e25; }
#error:empty, #notice:empty { display: none; }
#notice { background: #fff6dd; border-radius: 8px; padding: 8px 12px; font-size: 15px; }
label { display: block; margin: 12px 0 4px; font-weight: 600; }
input, select, button { font: inherit; width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid #b6c0cd; padding: 8px 12px; background: white; color: inherit; }
button { border: 0; background: #06a34a; color: white; font-weight: 600; margin-top: 16px; }
button.secondary { background: white; color: #1f2a37; border: 1px solid #b6c0cd; }
button.link { background: transparent; color: #a52e25; min-height: 0; padding: 8px 0; width: auto; font-weight: 400; margin-top: 8px; }
button:disabled { opacity: .5; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice label { flex: 1; min-width: 120px; margin: 0; padding: 12px; border: 1px solid #b6c0cd; border-radius: 10px; background: white; font-weight: 400; display: flex; align-items: center; gap: 8px; }
.choice input { width: auto; min-height: 0; }
.slot { border-top: 1px solid #e3e8ef; padding-top: 4px; margin-top: 12px; }
.slot:first-of-type { border-top: 0; margin-top: 0; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { padding: 8px 0; border-bottom: 1px solid #e3e8ef; }
ul.plain li:last-child { border-bottom: 0; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #e7edf5; font-size: 14px; margin-left: 6px; }
.tag.wait { background: #fff0c2; }
.tag.done { background: #d8f3e2; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1f2a37; outline-offset: 2px; }
