@font-face{font-family:Caslon;src:url('/assets/caslon.ttf') format('truetype');font-display:swap}
:root{color-scheme:light;--paper:#fdfcf9;--ink:#182e3a;--muted:#526471;--red:#ba1521;--red-hover:#99111c;--line:#d5dfe5;--soft:#f3f5f6;--focus:#235a83;--font:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 var(--font)}h1,h2,h3,p,figure{margin:0}a{color:var(--red);text-underline-offset:4px}a:hover{color:var(--red-hover)}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button,summary{cursor:pointer}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}::selection{background:#f8d2ce;color:var(--ink)}input,select{caret-color:var(--red)}[hidden]{display:none!important}.skip{position:fixed;left:20px;top:10px;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;background:white;z-index:10}.skip:focus{width:auto;height:auto;clip-path:none;padding:12px}
.preview-strip{padding:4px 16px;background:#edf2f5;color:var(--muted);font-size:11px;text-align:center}.site-header{max-width:1040px;margin:auto;padding:16px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.brand{font:28px/1.1 Caslon,Georgia,serif;color:var(--ink);text-decoration:none}.brand span{display:none}.header-actions{display:flex;align-items:center;gap:20px;font-size:13px}.header-actions>a{color:var(--ink);text-decoration:none}.header-actions #language{display:inline-flex;align-items:center;justify-content:center;padding:0 9px;border:1px solid var(--line);border-radius:7px;min-height:44px;min-width:58px;background:transparent;color:var(--ink)}.header-actions #language:hover{background:var(--soft)}
main{max-width:1040px;padding:18px 28px 28px;margin:auto}.breadcrumbs{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:8px}.breadcrumbs a{min-height:30px;display:inline-flex;align-items:center;color:var(--muted)}.intro{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px}.intro h1{font:38px/1.12 Caslon,Georgia,serif;letter-spacing:-.025em}.intro p{color:var(--muted);margin-top:7px;font-size:14px}.save-link{border:1px solid var(--line);border-radius:7px;color:var(--red);background:transparent;min-height:44px;padding:9px 15px;font-size:13px;flex-shrink:0}.save-link:hover{background:#fff7f6}
.stage-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stage-nav button{background:transparent;border:0;border-bottom:2px solid transparent;color:var(--muted);padding:0 0 10px;text-align:left;min-width:0}.stage-nav img{display:block;width:100%;height:104px;object-fit:cover;border-radius:9px;background:var(--soft)}.stage-nav button:nth-child(1) img{object-position:65% 65%}.stage-nav button:nth-child(2) img{object-position:85% 65%}.stage-nav button:nth-child(3) img{object-position:75% 65%}.stage-nav strong{display:block;font-size:14px;margin-top:9px;line-height:1.4}.stage-nav [aria-current=step]{color:var(--red);border-bottom-color:var(--red)}.compact .stage-nav img{height:45px}.compact .intro h1{font-size:30px}.image-note{font-size:10px;color:var(--muted);margin:5px 0 20px}
.main-panel{max-width:760px}.stage-head{margin-bottom:17px}.stage-head h2{font-size:24px;line-height:1.3;letter-spacing:-.02em}.main-panel h3{font-size:19px;line-height:1.35}.main-panel p{max-width:65ch}.current-task{padding:18px 0}.current-task p{margin-top:9px;line-height:1.65}.caution{color:#923c35;font-size:13px;line-height:1.65}.current-task .caution{margin-top:11px}.rescue{padding:17px 20px;border-radius:12px;background:#edf2f5;margin:18px 0 0;max-width:760px}.rescue-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.rescue-heading h3{font-size:13px;font-weight:600;color:var(--muted)}.rescue-heading button{min-height:44px;background:transparent;border:0;color:var(--red);font-size:13px;padding:8px}.rescue .chinese,.rescue .fallback-phrase{font-size:22px;font-weight:600;line-height:1.6;margin-top:6px}.translation{font-size:13px;color:var(--muted);line-height:1.6;margin-top:8px}
 details{margin-top:10px;border-top:1px solid var(--line)}summary{min-height:46px;padding:11px 0;color:var(--red);font-size:14px;font-weight:500}details p,details li{font-size:14px;color:var(--muted);line-height:1.7}details p{margin:8px 0 14px}details ul,details ol{padding-left:22px;margin:4px 0 20px}details li{margin:10px 0}#setupDetails{margin-top:0;border-top:0}#setupDetails>summary{color:var(--muted)}#setupDetails[open]>summary{padding-top:0;min-height:30px;font-size:12px}.device-help{font-size:13px;margin-top:15px}.device-help a{font-size:13px}.selected-needs{list-style:none;margin:4px 0 16px;padding:0;max-width:760px}.selected-needs>li{padding:14px 0;border-top:1px solid var(--line)}.selected-needs strong{font-size:16px}.selected-needs p{font-size:14px;color:var(--muted);margin-top:7px;line-height:1.65}.selected-needs details{border:0;margin-top:4px}
fieldset{padding:0;margin:6px 0 20px;border:0;min-width:0}legend{font-size:14px;font-weight:600;margin-bottom:11px}.needs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.need{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;font-size:14px;cursor:pointer;background:#fff}.need:has(input:checked){border-color:var(--red);background:#fff7f6}.need input,.self-check input{width:18px;height:18px;margin:0;accent-color:var(--red);flex-shrink:0}.device-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}.field{display:grid;gap:6px;font-size:13px;font-weight:600}.field select{width:100%;min-height:46px;color:var(--ink);padding:10px 28px 10px 11px;border:1px solid #9aaab4;border-radius:7px;background:#fff;font-size:14px;font-weight:400}.form-bottom{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:20px 0}.form-bottom small{font-size:12px;color:var(--muted);max-width:38ch}#formError{font-size:14px;color:#923c35}
.primary{min-height:48px;border:1px solid var(--red);border-radius:8px;background:var(--red);color:#fff;padding:11px 20px;font-weight:600;font-size:14px}.primary:hover{background:var(--red-hover);border-color:var(--red-hover)}.quiet{background:transparent;border:0;color:var(--red);font-size:13px;min-height:44px;padding:10px 14px}.save-panel{max-width:760px;margin-top:21px;padding:18px 0;border-top:1px solid var(--line)}.save-note{font-size:12px;color:var(--muted);margin-top:9px}.connection-choices{display:flex;gap:10px;max-width:760px}.connection-choices button{flex:1;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;min-height:48px;color:var(--ink);text-align:left;font-size:14px}.connection-choices button[aria-pressed=true]{color:var(--red);border-color:var(--red);background:#fff7f6}.symptoms,.quick-problems{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:760px}.symptoms button,.quick-problems button{min-height:48px;text-align:left;padding:11px 14px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:14px;border-radius:7px}.symptoms button:hover,.quick-problems button:hover{background:var(--soft)}.symptoms button[aria-pressed=true]{border-color:var(--red);color:var(--red)}.quick-problems{margin-bottom:18px}.self-check label{display:flex;align-items:flex-start;gap:10px;min-height:44px;font-size:14px;padding:10px 0}.self-check input{margin-top:3px}
.lines-diagram{margin:16px 0}.lines-diagram h3{font-size:16px;margin-bottom:12px}.line-lanes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.line-lane{width:100%;height:auto;display:block}.lines-diagram figcaption{font-size:12px;line-height:1.65;color:var(--muted);margin-top:10px;max-width:65ch}.other-help{max-width:760px;margin-top:10px}.other-help p{font-size:13px}.help-links{display:flex;flex-wrap:wrap;gap:5px 20px}.help-links a{font-size:14px;min-height:44px;display:inline-flex;align-items:center}.source-notes{max-width:760px;margin-top:0}.source-notes summary{font-size:12px;color:var(--muted)}.source-notes p{font-size:12px}footer{font-size:11px;color:var(--muted);margin-top:18px;display:flex;gap:7px 20px;justify-content:space-between;flex-wrap:wrap}.feedback{font-size:13px;color:var(--ink);min-height:22px;margin-top:10px}
@media(max-width:760px){.site-header{padding:10px 20px}.brand{font-size:24px}.header-actions{gap:12px;font-size:12px}.header-actions #language{min-width:49px}main{padding:12px 20px 24px}.intro{margin-bottom:14px;gap:10px}.intro h1{font-size:32px}.compact .intro h1{font-size:27px}.intro p{font-size:12px;max-width:26ch;line-height:1.5}.save-link{font-size:12px;padding:8px 10px}.breadcrumbs{font-size:10px;margin-bottom:6px;gap:6px}.stage-nav{gap:10px}.stage-nav img{height:70px}.stage-nav strong{font-size:12px;margin-top:7px}.stage-nav button{padding-bottom:8px}.compact .stage-nav img{height:32px}.image-note{margin-bottom:16px}.stage-head{margin-bottom:13px}.stage-head h2{font-size:22px}.needs{gap:8px}.need{font-size:12px;padding:10px;gap:8px}.device-fields{gap:14px 12px}.field{font-size:12px}.field select{font-size:13px}.form-bottom{gap:10px}.form-bottom small{max-width:none}.connection-choices button{font-size:13px;padding:10px}.rescue{padding:12px 16px}.rescue .chinese,.rescue .fallback-phrase{font-size:20px}.current-task{padding:16px 0}.current-task p{font-size:14px}.current-task h3{font-size:18px}.symptoms,.quick-problems{grid-template-columns:1fr}.line-lanes{grid-template-columns:1fr}.save-panel{margin-top:14px}.save-panel .primary{width:100%}.save-panel .quiet{padding-left:0}.source-notes p{font-size:12px}}
@media(max-width:360px){.header-actions #arrivalLink{display:none}.site-header,main{padding-left:16px;padding-right:16px}.intro h1{font-size:29px}.device-fields{grid-template-columns:1fr}.save-link{max-width:89px}.stage-nav{gap:8px}.stage-nav strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.site-header,.preview-strip,.intro,.breadcrumbs,.stage-nav,.image-note,#setupDetails,.connection-choices,.symptoms,.quick-problems,.save-panel,.other-help,.source-notes,footer,.feedback,.skip,.rescue button{display:none!important}main{padding:0;max-width:none}.rescue{background:white;border:1px solid #ccc;break-inside:avoid}.main-panel{max-width:none}.current-task{break-inside:avoid}}

.stage-nav button:disabled{opacity:1;cursor:default}#scriptFallback{margin:0 0 20px}#fallbackTitle{font-size:16px;line-height:1.4}
