*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#382047,#120d19 70%);color:#f8f0fc;font-family:"PingFang TC","Microsoft JhengHei",sans-serif;line-height:1.8}main{width:calc(100% - 40px);max-width:620px;margin:0 auto;padding:28px 0 40px}a{color:#dcc1fa}.back{font-size:13px;text-decoration:none}.eyebrow{font-size:11px;letter-spacing:2px;color:#c4a5dc;margin-top:36px}h1{font-size:clamp(28px,6vw,38px);line-height:1.4}.intro{font-size:14px;color:#c6b7d1}aside{border:1px solid #80618d;border-radius:14px;background:#35233f;padding:17px 20px;margin:28px 0}aside strong{font-size:14px}aside p{font-size:12px;margin-bottom:0;color:#d3bfdf}form{border:1px solid #594066;background:#191121;border-radius:20px;padding:26px}label{display:block;font-size:14px;margin:0 0 7px}label>span{font-size:11px;color:#ad98bc;margin-left:8px}input:not([type=checkbox]){width:100%;background:#100c17;color:#faf4ff;border:1px solid #70527f;border-radius:9px;padding:13px 12px;font:inherit;font-size:16px;margin:0 0 24px;min-width:0}.consent{display:flex;gap:10px;align-items:flex-start;margin-top:5px}.consent input{flex-shrink:0;margin-top:6px;width:18px;height:18px;accent-color:#b58bd9}.consent span{margin:0;font-size:12px;line-height:1.8;color:#d7c8e0}.purpose{font-size:11px;color:#ab97ba}button{font:inherit;cursor:pointer}#preview-check{width:100%;border:1px solid #bda0d4;border-radius:999px;background:linear-gradient(#a47bcb,#7645a3);padding:13px 18px;color:white;margin-top:12px;font-size:14px}button:disabled{opacity:.55;cursor:default}.reset{display:block;margin:18px auto 0;background:transparent;color:#b6a0c6;border:0;font-size:12px;text-decoration:underline}#preview-result:not(:empty){padding:16px;margin-top:20px;border:1px solid #9b78b2;background:#30203e;border-radius:10px;font-size:13px}.other{display:block;text-align:center;margin:26px 0;font-size:13px}footer{font-size:11px;text-align:center;color:#9f8bab;line-height:2.2}input:focus-visible,button:focus-visible,a:focus-visible,#preview-result:focus{outline:2px solid #dcc1fa;outline-offset:4px}@media(max-width:400px){form{padding:20px}}

select{display:block;width:100%;min-width:0;background:#100c17;color:#faf4ff;border:1px solid #70527f;border-radius:9px;padding:13px 12px;font:inherit;font-size:16px;margin:0 0 24px}select:focus-visible{outline:2px solid #dcc1fa;outline-offset:4px}.field-help{font-size:12px;color:#c4add4;margin:-17px 0 24px}.callback-notice{padding:15px;border-left:2px solid #af86ca;background:#2c1e38;border-radius:0 8px 8px 0;font-size:13px;line-height:1.9;color:#e5d5ef}

/* Separate registration identities: plum / indigo. */
.theme-trial{--sky:#602044;--base:#200c1b;--panel:#2a1023;--soft:#421a35;--input:#1c0b18;--edge:#945178;--light:#ffd1eb;--muted:#dcb7ce;--button-top:#993568;--button-bottom:#762650;--focus:#ffd1eb}
.theme-consultation{--sky:#30356f;--base:#0e1027;--panel:#171b3b;--soft:#252c55;--input:#0c1029;--edge:#646da3;--light:#d7dcff;--muted:#bdc5e7;--button-top:#505caa;--button-bottom:#384483;--focus:#d7dcff}
body[class^=theme-]{background:radial-gradient(ellipse at top,var(--sky),var(--base) 70%);color:#fff8fe}
body[class^=theme-] a,body[class^=theme-] .eyebrow{color:var(--light)}
body[class^=theme-] .intro,body[class^=theme-] footer,body[class^=theme-] label>span,body[class^=theme-] .purpose,body[class^=theme-] .field-help,body[class^=theme-] .reset{color:var(--muted)}
body[class^=theme-] aside,body[class^=theme-] #preview-result:not(:empty){background:var(--soft);border-color:var(--edge)}
body[class^=theme-] aside p,body[class^=theme-] .consent span{color:var(--light)}
body[class^=theme-] form{background:var(--panel);border-color:var(--edge)}
body[class^=theme-] input:not([type=checkbox]),body[class^=theme-] select{background:var(--input);border-color:var(--edge)}
body[class^=theme-] input::placeholder{color:var(--muted);opacity:1}
body[class^=theme-] #preview-check{background:linear-gradient(var(--button-top),var(--button-bottom));border-color:var(--edge);color:white}
body[class^=theme-] .callback-notice{background:var(--soft);border-color:var(--light);color:var(--light)}
body[class^=theme-] :focus-visible{outline-color:var(--focus)}

.slot-preview{margin:24px 0;border:1px solid var(--edge);border-radius:12px;padding:16px;min-width:0}.slot-preview legend{padding:0 8px;color:var(--light);font-size:14px}.slot-preview p{font-size:12px;color:var(--muted);margin:0 0 20px}.slot-preview select{margin-bottom:16px}.slot-preview select:last-child{margin-bottom:0}.slot-preview select:disabled{opacity:1;color:var(--muted);cursor:not-allowed}

/* One shared native radio group across all seven consultation dates. */
.slot-picker>legend>span{font-size:11px;margin-left:8px;color:var(--muted)}
.slot-day{min-width:0;border:0;padding:0;margin:22px 0 0}.slot-day>legend{padding:0;margin-bottom:10px;font-size:15px;font-weight:600;color:var(--light)}
.slot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.slot-option{display:flex;align-items:center;justify-content:center;gap:8px;position:relative;min-width:0;min-height:48px;margin:0;border:1px solid var(--edge);border-radius:10px;padding:10px 5px;background:var(--input);cursor:pointer}
.slot-option>input[type=radio]{appearance:auto;flex:0 0 16px;width:16px;height:16px;padding:0;margin:0;accent-color:#bfc8ff;cursor:pointer}
body.theme-consultation .slot-option>span{font-size:14px;margin:0;color:var(--light);font-variant-numeric:tabular-nums}
.slot-option:has(input:checked){background:#394780;border-color:#d7dcff;box-shadow:inset 0 0 0 1px #d7dcff}
.slot-option:focus-within{outline:2px solid var(--focus);outline-offset:3px}
@media(max-width:420px){.slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slot-picker{padding:14px}}

[hidden]{display:none!important}.receipt-entry{border:1px solid var(--edge);border-radius:14px;background:var(--soft);padding:20px;margin:20px 0}.receipt-entry input{margin-bottom:10px!important}.receipt-entry .field-help{margin:14px 0 0}.receipt-action,.receipt-entry button{display:inline-block;border:1px solid var(--edge);border-radius:8px;padding:10px 14px;background:var(--input);color:var(--light);margin:8px 8px 0 0;font-size:13px}.receipt-reference{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.receipt-link{display:block;font-size:15px;font-weight:600;margin:14px 0}.slot-option:has(input:disabled){opacity:.5;cursor:not-allowed}#preview-result[data-state=error]{border-color:#f0aaad}#preview-result p:first-child{margin-top:0}#preview-result p:last-child{margin-bottom:0}.consent input{margin-top:6px}form[aria-busy=true]{opacity:.85}

.form-step{font-size:18px;color:var(--light);line-height:1.5;margin:0 0 22px}.form-step:not(:first-child){margin-top:32px}.slot-picker+button{margin-top:18px!important}

.slot-option.slot-unavailable{background:#29292f;border-color:#57575f;color:#c9c9d0;cursor:not-allowed;opacity:1}.slot-option.slot-unavailable>span{color:#c9c9d0!important}.slot-option.slot-unavailable input{cursor:not-allowed;filter:grayscale(1)}
