:root { font-family: Inter, "Noto Sans TC", system-ui, sans-serif; line-height: 1.55; color: #17202a; background: #f4f7fa; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
header { padding: 2.5rem 0 1.25rem; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.04em; }
.eyebrow { color: #174ea6; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 2; background: white; padding: .5rem; }
section { background: white; border: 1px solid #dfe6ec; border-radius: .8rem; padding: 1.2rem; margin-bottom: 1rem; }
form { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
.stacked { display: grid; align-items: stretch; }
label { display: grid; gap: .3rem; font-weight: 650; }
fieldset { display: grid; gap: .8rem; border: 1px solid #dfe6ec; border-radius: .5rem; padding: 1rem; }
legend { font-weight: 750; padding-inline: .35rem; }
input, textarea, select, button { min-height: 2.75rem; border: 1px solid #8795a1; border-radius: .4rem; padding: .6rem .75rem; font: inherit; }
textarea { min-height: 5rem; resize: vertical; }
button { color: white; background: #174ea6; border-color: #174ea6; cursor: pointer; font-weight: 700; }
button:disabled { cursor: not-allowed; opacity: .55; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
.signup-fixed-values, .signup-status { margin-block: 1rem; }
.signup-status:empty { display: none; }
code { overflow-wrap: anywhere; user-select: all; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.notice { color: #52606d; }
#error-summary, #success-summary { margin: 1rem 0; padding: .8rem; border-left: .4rem solid; }
#error-summary { border-color: #b42318; background: #fff0ef; }
#success-summary { border-color: #08783d; background: #e9f8ef; }
.grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); gap: 1rem; align-items: start; }
.stack { display: grid; gap: 0; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; }
dt { font-weight: 700; } dd { margin: 0; overflow-wrap: anywhere; }
footer { padding: 2rem 0; color: #52606d; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } form label, form input, form button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
