﻿:root{font-family:system-ui,-apple-system,"Noto Sans TC",sans-serif;color:#18342e;background:#f4f7f6;font-size:16px}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #246a58;outline-offset:3px}.shell{max-width:1280px;margin:auto;padding:0 24px}.header{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d7e2de}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:.12em}.brand small{display:block;font-size:9px;letter-spacing:.16em;color:#738780}.brand-mark{font-size:33px;color:#4e8675}.language,.switch{display:flex;background:#e7efec;border-radius:30px;padding:4px}.language button,.switch button{border:0;background:transparent;border-radius:25px;min-height:40px;padding:0 16px;color:#59736a}.language button[aria-pressed=true],.switch button[aria-pressed=true]{background:white;color:#173b30;box-shadow:0 2px 8px #173b3015;font-weight:700}.intro{padding:54px 0 38px;max-width:780px}.eyebrow,.overline{font-size:12px;letter-spacing:.15em;font-weight:800;color:#66877b}.eyebrow{margin:0 0 16px}.intro h1{font-size:clamp(2rem,5vw,3.5rem);letter-spacing:-.04em;line-height:1.2;margin:0 0 18px}.lead{font-size:1.08rem;line-height:1.8;color:#536e64;margin:0}.privacy{color:#527d6d;font-size:.9rem;margin:16px 0 0}.workspace{background:#fff;border:1px solid #e0eae5;border-radius:24px;padding:32px;box-shadow:0 18px 65px #2345390b}.step-head,.figure-top,.list-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.step{display:inline-block;background:#dceee7;color:#396d5b;border-radius:20px;padding:6px 10px;font-weight:700;font-size:.8rem}h2{font-size:1.55rem;margin:12px 0 5px}h3{font-size:1.2rem;margin:6px 0}.progress{font-size:.88rem;color:#597a6d;white-space:nowrap}.muted,.figure-hint{color:#72867e;line-height:1.6;font-size:.9rem}.palette{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0 26px}.choice{border:1px solid #dce7e2;border-radius:12px;background:white;min-height:62px;padding:10px;display:flex;gap:10px;align-items:center;text-align:left;color:#27483c}.choice[aria-pressed=true]{border:2px solid #426f5e;background:#f2f8f5}.dot{width:17px;height:17px;border-radius:50%;flex:none}.allow{background:#43c653}.ask{background:#f5d923}.deny{background:#e53935}.unset{background:#dce5e1}.body-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.figure-card,.list-card{background:#f7faf8;border:1px solid #e6eeea;border-radius:18px;padding:24px}.figure{min-height:550px;display:flex;justify-content:center;align-items:center}.figure svg{width:min(100%,310px);height:auto;overflow:visible}.figure path{stroke:#fff;stroke-width:2;cursor:pointer;transition:filter .15s}.figure path:hover{filter:brightness(.92)}.figure path.locked{cursor:not-allowed}.region-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.region{min-width:0;min-height:52px;border:1px solid #e1eae5;border-radius:10px;background:white;display:flex;align-items:center;gap:8px;padding:8px 10px;text-align:left;color:#28483d}.region .dot{width:11px;height:11px}.region span:nth-child(2){flex:1}.region small{font-size:.75rem;color:#758a80}.region:disabled{cursor:default;opacity:1}.list-count{color:#7b968b}.actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}.actions p{margin:0 auto 0 0;color:#8d5f22;font-size:.9rem}.primary,.secondary{min-height:48px;padding:0 22px;border-radius:10px;font-weight:700}.primary{background:#285b4b;border:1px solid #285b4b;color:white}.secondary{background:white;border:1px solid #cbdad2;color:#315b4c}.reminder{display:flex;align-items:start;gap:14px;padding:28px 4px;color:#59786b;line-height:1.7}.reminder span{font-size:24px}.reminder p{margin:0}footer{border-top:1px solid #dce8e1;padding:22px 0 36px;color:#879a91;font-size:.8rem}@media(max-width:700px){.shell{padding:0 16px}.header{height:68px}.intro{padding:38px 0 28px}.workspace{padding:20px 16px;border-radius:18px}.body-layout{grid-template-columns:1fr}.figure-card,.list-card{padding:18px}.figure{min-height:470px}.region-list{gap:7px}.region{font-size:.88rem}.palette{gap:6px}.choice{padding:8px;font-size:.9rem;justify-content:center}.actions p{width:100%}.actions button{flex:1}.figure svg{width:min(100%,260px)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
[hidden]{display:none!important}

/* Cool blue surfaces keep the permission colors distinct. */
:root{color:#202944;background:#e7eaf6}
.header{border-color:#c7cee4}.intro{padding-top:38px}.workspace{border-color:#cdd4e7;box-shadow:0 18px 65px #24305214}.figure-card,.list-card{background:#eef0fa;border-color:#d6dbed}.language,.switch{background:#d7ddf1}.language button,.switch button{color:#39466e}.language button[aria-pressed=true],.switch button[aria-pressed=true]{color:#202944}.lead,.muted,.figure-hint,.reminder,.progress{color:#4e5b77}.region,.choice{border-color:#d4dbea;color:#202944}.choice[aria-pressed=true]{border-color:#455991;background:#e9edfa}.primary{background:#334b87;border-color:#334b87}.secondary{border-color:#b9c4df;color:#293c71}.figure svg{width:min(100%,390px)}.figure text{font-size:8px;font-weight:700;fill:#14203b;paint-order:stroke;stroke:#fff;stroke-width:1.4px;stroke-linejoin:round;pointer-events:none}.figure path:focus-visible{outline:none;stroke:#172a62;stroke-width:4}.reminder{padding-bottom:30px}@media(max-width:700px){.figure svg{width:min(100%,350px)}}
.unset{background:#dce1ec}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;color:#edf0fb;background:#171c2e}.header{border-color:#39415e}.workspace{background:#222941;border-color:#39415e}.figure-card,.list-card{background:#29314d;border-color:#434d6b}.region,.choice,.secondary{background:#222941;border-color:#546080;color:#edf0fb}.choice[aria-pressed=true]{background:#36456d;border-color:#9baee3}.language,.switch{background:#394463}.language button,.switch button{color:#d9def0}.language button[aria-pressed=true],.switch button[aria-pressed=true]{background:#61709a;color:white}.lead,.muted,.figure-hint,.reminder,.progress{color:#c5cce1}.region small{color:#c0c9df}}

.progress-controls{display:flex;align-items:center;gap:12px}.progress-controls .secondary{min-height:44px;padding:0 16px}#notice:empty{display:none}@media(max-width:420px){.step-head{align-items:flex-start}.progress-controls{gap:6px}.progress-controls .secondary{padding:0 10px}.progress{font-size:.8rem}}

.intro{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:none}.intro h1{margin:0}.language{flex:none}@media(max-width:600px){.intro h1{font-size:clamp(1.3rem,5vw,2rem)}.language button{padding:0 10px}}

@media(max-width:500px){.step-head{flex-wrap:wrap}.progress-controls{flex-wrap:wrap}}

:is(#share-dialog,#reset-dialog){width:min(90vw,520px);border:1px solid #bac6df;border-radius:16px;padding:24px;background:#fff;color:#202944}:is(#share-dialog,#reset-dialog)::backdrop{background:#131b33a8}:is(#share-dialog,#reset-dialog) h2{margin:0 0 16px}:is(#share-dialog,#reset-dialog) label{display:block;margin-bottom:8px}#share-url{width:100%;padding:12px;border:1px solid #aab8d4;border-radius:8px;font:inherit;color:#202944;background:white}:is(#share-dialog,#reset-dialog) form{display:flex;justify-content:flex-end;margin-top:16px}#share-status:empty{display:none}@media(prefers-color-scheme:dark){:is(#share-dialog,#reset-dialog){background:#222941;color:#edf0fb;border-color:#546080}#share-url{background:#171c2e;color:#edf0fb;border-color:#546080}}

#reset-dialog form{gap:10px}
