:root { color-scheme: dark; font-family: "Inter", "Noto Sans Thai", system-ui, sans-serif; background: #101012; color: #f1eff3; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 32px, 510px); margin: clamp(20px, 8vh, 80px) auto; }
header, .brand, .actions { display: flex; align-items: center; }
header { justify-content: space-between; margin-bottom: clamp(24px, 7vh, 56px); }
.brand { gap: 10px; font-size: 20px; font-weight: 620; letter-spacing: -.03em; }
section { padding: clamp(18px, 5vw, 32px); background: #19181b; border: 1px solid #39353b; border-radius: 16px; }
h1 { margin: 0; font-size: clamp(26px, 5vw, 36px); line-height: 1.25; letter-spacing: -.03em; }
:lang(th) h1 { letter-spacing: 0; line-height: 1.45; }
p { margin: 12px 0 24px; color: #d5d0d8; line-height: 1.6; }
.message { padding: 14px; border: 1px solid #403b42; background: #131215; border-radius: 10px; }
label { display: block; margin-bottom: 6px; color: #c7bccb; font-size: 14px; }
textarea { width: 100%; resize: vertical; min-height: 5.8em; padding: 2px; color: #f4eff4; border: 0; background: transparent; font: inherit; line-height: 1.5; }
a, button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: #e5d7ed; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
button[hidden] { display: none; }
:focus-visible { outline: 2px solid #ccb3df; outline-offset: 3px; }
[role=status] { display: block; font-size: 14px; line-height: 1.5; color: #cfc4d6; }
.actions { gap: 8px 16px; flex-wrap: wrap; margin-top: 18px; }
details { margin-top: 14px; color: #c7bccb; font-size: 14px; }
summary { width: fit-content; min-height: 44px; align-content: center; cursor: pointer; }
details a { text-align: start; }
.primary { border-radius: 8px; padding: 9px 16px; color: #181519; background: #efe9f1; text-decoration: none; font-weight: 600; }
