:root{--ink:#233f38;--green:#28695e;--deep:#174c43;--muted:#7b8983;--line:#e3e9e2;--paper:#f6f7f2;--mint:#edf3e8;--accent:#d8e6b8;--white:#fff;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.55;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #97b8a3;outline-offset:3px}button{border:0}p{line-height:1.8}h1,h2,h3,p{margin:0}button,input,select{min-height:44px}.topbar{height:96px;max-width:1240px;margin:auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:650;letter-spacing:.6px}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:2.6px;margin-top:5px;font-weight:500}.records-link{display:flex;gap:9px;align-items:center;font-size:13px}.records-link #record-count{font-size:10px;min-width:20px;background:#e9eee5;border-radius:20px;padding:4px;text-align:center}.icon{font-size:22px}.site-footer{max-width:1160px;margin:45px auto 0;border-top:1px solid var(--line);padding:24px 0 30px;display:flex;gap:10px;align-items:center;color:#6f8177;font-size:12px}.site-footer>span:last-child{margin-left:auto;color:#9ba69c}.footer-mark{font-size:20px}.home{max-width:1160px;margin:48px auto 0;display:grid;grid-template-columns:1.04fr 1fr;gap:70px;align-items:center}.eyebrow{color:var(--green);font-size:11px;letter-spacing:2px;font-weight:650;display:flex;align-items:center;gap:9px}.eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green)}.home h1{font-size:46px;line-height:1.55;letter-spacing:1px;font-weight:550;margin:21px 0}.intro-copy{color:#738078;font-size:15px;max-width:430px}.hero-art{margin-top:30px;position:relative;border-radius:24px;overflow:hidden;height:235px;background:#e6edde}.hero-art svg{width:100%;height:100%}.art-caption{position:absolute;bottom:20px;left:24px;font-size:10px;letter-spacing:1.5px;color:#647c63}.start-card{background:var(--white);border:1px solid var(--line);border-radius:26px;padding:34px;box-shadow:0 12px 40px #314b3410}.tag{display:inline-flex;color:#73835f;background:#f2f5e8;border:1px solid #e7ecd8;padding:7px 10px;border-radius:7px;font-size:10px;letter-spacing:.5px}.start-card h2{font-size:23px;font-weight:550;margin-top:18px}.start-card>.muted{margin-top:10px;font-size:13px}.journey{margin:25px 0 27px}.journey-item{display:flex;align-items:center;gap:16px;position:relative;padding:13px 0}.journey-item+.journey-item:before{content:"";height:20px;width:1px;background:#dae5d6;position:absolute;left:20px;top:-10px}.journey-num{width:41px;height:41px;border-radius:13px;background:#f0f5eb;display:grid;place-items:center;color:#67825b;font-size:13px}.journey-item b{display:block;font-size:14px;font-weight:550}.journey-item p{font-size:12px;color:var(--muted);margin-top:3px}.button{border-radius:12px;min-height:51px;padding:13px 22px;display:inline-flex;justify-content:center;align-items:center;gap:14px;font-size:14px;font-weight:550;transition:background .2s,transform .2s}.button:active{transform:translateY(1px)}.primary{background:var(--green);color:white}.primary:hover{background:var(--deep)}.secondary{background:#eef3eb;color:var(--green)}.outline{border:1px solid #cddbcf;background:transparent;color:var(--green)}.text-button{background:none;color:var(--green);padding:10px 4px;min-height:44px;font-size:13px}.wide{width:100%}.muted{color:var(--muted)}.privacy-inline{font-size:11px;line-height:1.9;color:var(--muted);margin-top:17px;display:flex;gap:9px}.privacy-inline svg{flex-shrink:0;margin-top:3px}.workspace{max-width:1160px;margin:35px auto 0;display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px}.sidebar{padding-top:5px;position:sticky;top:28px;align-self:start}.back-link{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:10px;margin-bottom:26px;min-height:44px}.sidebar h1{font-size:25px;font-weight:550;margin-bottom:11px;line-height:1.55}.sidebar>p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:30px}.steps{display:grid;gap:10px}.step-item{display:flex;align-items:center;gap:12px;background:transparent;text-align:left;border-radius:12px;padding:13px 12px;color:#8b968e;font-size:13px}.step-item.active{background:#e9f0e3;color:var(--deep);font-weight:600}.step-number{width:27px;height:27px;border:1px solid #d2ddcf;border-radius:50%;display:grid;place-items:center;font-size:11px;flex-shrink:0}.active .step-number{background:var(--green);color:white;border-color:var(--green)}.done .step-number{color:var(--green);border-color:var(--green)}.side-note{border-top:1px solid var(--line);margin-top:35px;padding:21px 10px;color:var(--muted);font-size:11px;line-height:1.9}.side-note strong{display:block;font-weight:500;color:#58715e;margin-bottom:5px}.form-column{min-width:0}.form-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);padding-bottom:14px}.progress{display:flex;gap:5px}.progress i{width:24px;height:3px;border-radius:3px;background:#dfe7dc}.progress i.on{background:var(--green)}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:29px 30px;margin-bottom:18px}.panel-title{font-size:20px;font-weight:550;margin-bottom:8px;display:flex;align-items:center;gap:12px}.panel-title small{font-size:10px;color:#8b9a8a;letter-spacing:1px;font-weight:400}.panel-caption{font-size:12px;color:var(--muted);margin-bottom:26px;line-height:1.8}.section-label{font-size:12px;font-weight:550;color:#6f7e71;margin:29px 0 17px;display:flex;align-items:center;gap:12px}.section-label:after{content:"";height:1px;background:var(--line);flex:1}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px 20px}.field{display:flex;flex-direction:column;gap:9px;min-width:0}.field>span:first-child{font-size:13px;color:#465b50;display:flex;justify-content:space-between;gap:8px}.field .optional{color:#97a296;font-size:10px;font-weight:400}.input-wrap{position:relative}.input-wrap input{padding-right:50px}.input-unit{position:absolute;right:14px;top:16px;font-size:11px;color:#8f9d91;pointer-events:none}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;border:1px solid #dce5d9;border-radius:10px;background:#fcfdfb;color:var(--ink);padding:13px 14px;line-height:1.4;min-width:0;font-size:16px}input::placeholder,textarea::placeholder{color:#b1b9ae;font-size:13px}input.invalid{border-color:#bd6b4b;background:#fffaf5}select{appearance:auto;padding-right:8px}.field-help{font-size:11px;color:#96a08f;line-height:1.75;margin-top:6px}.segment{display:flex;background:#f1f5ec;padding:4px;border-radius:11px;gap:4px}.segment label{flex:1;position:relative;display:block;cursor:pointer}.segment input{position:absolute;opacity:0;width:1px;height:1px}.segment span{display:flex;justify-content:center;align-items:center;min-height:43px;border-radius:8px;color:#889480;font-size:13px;transition:.15s}.segment input:checked+span{background:white;box-shadow:0 2px 5px #223f2910;color:var(--green);font-weight:600}.segment input:focus-visible+span{outline:3px solid #97b8a3;outline-offset:1px}.frozen-box{background:#f3f6ee;border:1px solid #e4ecd8;padding:20px;border-radius:13px;margin-top:20px}.frozen-box .field-grid{margin-top:16px}.frozen-box details{margin-top:15px}.frozen-box summary{font-size:12px;color:var(--green);cursor:pointer}.frozen-box .field-help{color:#78866d}.summary-strip{font-size:12px;line-height:1.9;border-radius:9px;padding:13px 15px;background:#f3f7ee;margin-top:18px;color:#6a805d}.form-actions{display:flex;gap:14px;justify-content:space-between;padding:4px 0 8px}.form-actions .primary{min-width:185px}.error-box{background:#fff3e9;color:#925035;border:1px solid #f0d8c7;padding:14px;border-radius:10px;margin-bottom:17px;font-size:13px;line-height:1.7}.diagnosis-row{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:15px 0;border-bottom:1px solid #edf1e8}.diagnosis-row:last-child{border-bottom:0}.diagnosis-row>span{font-size:13px;line-height:1.6;max-width:60%}.choice-group{display:flex;gap:5px;flex-shrink:0}.choice-group label{position:relative;cursor:pointer}.choice-group input{opacity:0;position:absolute;width:1px;height:1px}.choice-group span{min-width:44px;padding:10px 11px;min-height:39px;border-radius:8px;background:#f5f7f1;color:#9aa38f;font-size:11px;display:flex;align-items:center;justify-content:center;border:1px solid transparent}.choice-group input:checked+span{background:#eaf1e2;border-color:#ccdcbc;color:#406844}.choice-group input:focus-visible+span{outline:3px solid #97b8a3}.details-block{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.details-block>summary{font-size:13px;cursor:pointer;color:#536d55;line-height:1.8}.details-block[open]>summary{margin-bottom:17px}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check-option{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#6d7d69;line-height:1.8}.check-option input,.consent-line input{width:18px;height:18px;min-height:18px;accent-color:var(--green);margin:2px 0;flex-shrink:0}.check-option input{margin-top:1px}.result-wrap{max-width:890px;margin:35px auto 0}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.result-header h1{font-weight:550;font-size:25px}.result-header span{font-size:11px;color:var(--muted)}.probability-panel{background:#eaf0e1;border:1px solid #dde8cf;border-radius:24px;padding:30px;display:flex;gap:35px;align-items:center}.prob-ring{width:190px;height:190px;flex-shrink:0;border-radius:50%;background:conic-gradient(var(--green) calc(var(--p)*1%),#d7e2cb 0);padding:8px;display:grid;place-items:center}.prob-core{width:100%;height:100%;border:7px solid #eaf0e1;border-radius:50%;background:#f9fbf4;display:flex;flex-direction:column;align-items:center;justify-content:center}.prob-core strong{font-size:44px;font-weight:500;letter-spacing:-1.5px;line-height:1.2}.prob-core strong span{font-size:19px;margin-left:3px;letter-spacing:0}.prob-core>span{font-size:10px;color:#82916e;margin-top:8px}.prob-copy h2{font-size:22px;font-weight:550;line-height:1.6}.prob-copy p{color:#7c8c73;font-size:12px;margin-top:10px;max-width:320px}.pills{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.pill{font-size:10px;border:1px solid #cedcbe;color:#668050;border-radius:20px;padding:5px 10px}.result-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;margin-top:20px}.result-grid .panel{margin:0;padding:24px}.result-grid h3{font-size:15px;font-weight:550;margin-bottom:20px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stat small{font-size:11px;color:#91a08b;display:block;margin-bottom:7px}.stat strong{font-size:18px;font-weight:500}.stat strong span{font-size:11px;margin-left:4px;color:#8f9c86}.list-clean{padding:0;margin:0;list-style:none;display:grid;gap:15px}.list-clean li{display:flex;align-items:flex-start;gap:10px;color:#78896c;font-size:12px;line-height:1.9}.list-clean li:before{content:"";width:5px;height:5px;border-radius:50%;background:#aac08d;margin-top:9px;flex-shrink:0}.result-save{margin-top:20px}.consent-line{display:flex;gap:9px;font-size:12px;color:#71816b;line-height:1.9;align-items:flex-start;margin-bottom:17px}.result-buttons{display:flex;gap:11px}.result-buttons .primary{flex:1}.result-save .field-help{margin-top:15px}.records-page{max-width:890px;margin:35px auto 0;min-height:460px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.page-heading h1{font-size:26px;font-weight:550}.empty-state{background:white;border:1px solid var(--line);border-radius:24px;padding:65px 25px;text-align:center}.empty-icon{font-size:45px;color:#adbea0;display:block;margin-bottom:23px}.empty-state h2{font-size:19px;font-weight:500;margin-bottom:12px}.empty-state p{font-size:13px;color:var(--muted);margin-bottom:25px}.record-card{background:white;border:1px solid var(--line);border-radius:17px;padding:23px;margin-bottom:15px;display:grid;grid-template-columns:1fr auto;gap:16px}.record-date{font-size:11px;color:#8d9b87}.record-title{font-size:16px;font-weight:550;margin:10px 0 7px}.record-summary{font-size:12px;color:#91a08a;line-height:1.9}.record-probability{font-size:28px;color:var(--green);font-weight:500;align-self:center}.record-actions{grid-column:1/-1;display:flex;gap:15px;border-top:1px solid #edf1e8;padding-top:9px;margin-top:2px}.record-actions .delete{margin-left:auto;color:#a18b7c}.record-status{font-size:10px;background:#f2f5ec;border-radius:20px;padding:5px 10px;display:inline-block;margin-top:8px}.records-note{font-size:11px;color:var(--muted);margin-top:20px;line-height:1.9}.export-row{display:flex;gap:8px}.pill-link{font-size:11px;color:var(--green);border:1px solid #d8e3ce;border-radius:9px;background:transparent;padding:8px 12px}.notice-panel{font-size:12px;line-height:1.9;color:#829175;background:#f3f6ec;border-radius:10px;padding:15px;margin-top:15px}dialog{width:min(94vw,520px);border:1px solid #d9e3d2;border-radius:22px;padding:26px;color:var(--ink);max-height:90dvh;overflow:auto}dialog::backdrop{background:#16372b66;backdrop-filter:blur(3px)}dialog .field{margin-top:18px}dialog .button{margin-top:22px}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top h2{font-size:20px;font-weight:550}.icon-button{background:#f1f5eb;border-radius:50%;width:40px;font-size:23px;color:var(--muted)}dialog p{font-size:12px;margin-top:12px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);background:#244c3fea;color:white;padding:13px 22px;border-radius:12px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:85vw;text-align:center;line-height:1.7}#toast.visible{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}.saved-label{font-size:12px;color:var(--green);margin:15px 0}.step-kicker{display:none}
@media(min-width:1450px){.home{margin-top:70px}.hero-art{height:260px}}
@media(max-width:1000px){.topbar{padding:0 28px;height:83px}.home,.workspace,.site-footer{margin-left:28px;margin-right:28px}.home{gap:35px}.home h1{font-size:35px}.workspace{grid-template-columns:215px minmax(0,1fr);gap:25px}.panel{padding:25px}.start-card{padding:27px}.result-wrap,.records-page{margin-left:28px;margin-right:28px}.site-footer{margin-top:35px}}
@media(max-width:650px){.topbar{height:77px;padding:0 21px}.brand{font-size:16px;gap:10px;letter-spacing:0}.brand img{width:33px;height:33px}.brand small{font-size:8px;letter-spacing:2px;margin-top:5px}.records-link{font-size:11px;gap:6px}.records-link .icon{font-size:19px}.records-link #record-count{min-width:18px;padding:3px}.home{display:flex;flex-direction:column;gap:25px;align-items:stretch;margin:28px 21px 0}.eyebrow{font-size:9px;letter-spacing:1.6px}.home h1{font-size:32px;line-height:1.55;margin:17px 0 12px;letter-spacing:.4px}.intro-copy{font-size:12px;line-height:1.9;max-width:300px}.hero-art{height:172px;margin-top:23px;border-radius:19px}.art-caption{font-size:8px;left:20px;bottom:16px;letter-spacing:1px}.start-card{padding:25px;border-radius:21px;box-shadow:none}.start-card h2{font-size:20px;margin-top:15px}.start-card>.muted{font-size:12px;margin-top:8px}.tag{font-size:9px;padding:6px 9px}.journey{margin:17px 0 22px}.journey-item{padding:11px 0;gap:14px}.journey-item b{font-size:13px}.journey-item p{font-size:11px}.journey-num{width:37px;height:37px;border-radius:11px;font-size:12px}.journey-item+.journey-item:before{left:18px}.privacy-inline{font-size:10px;margin-top:14px}.site-footer{margin:29px 21px 0;padding:19px 0 24px;font-size:10px;gap:7px}.site-footer>span:last-child{font-size:9px}.footer-mark{font-size:17px}.workspace{display:block;margin:17px 18px 0}.sidebar{position:static;padding:0}.sidebar .back-link{margin:0 0 10px;font-size:11px;min-height:28px}.sidebar h1{font-size:23px;margin-bottom:6px}.sidebar>p{font-size:11px;margin-bottom:14px}.sidebar .side-note{display:none}.steps{display:flex;gap:3px;margin:0 0 20px;justify-content:space-between}.step-item{padding:8px 6px;gap:5px;font-size:10px;border-radius:8px;min-height:39px}.step-number{width:21px;height:21px;font-size:9px}.form-top{padding-bottom:11px;font-size:10px}.progress i{width:18px}.panel{border-radius:17px;padding:22px 19px;margin-bottom:15px}.panel-title{font-size:18px;gap:9px}.panel-title small{font-size:9px}.panel-caption{font-size:11px;margin-bottom:23px}.field-grid{gap:19px 13px}.field>span:first-child{font-size:12px}.field .optional{font-size:9px}.input-wrap input{padding-right:31px}.input-unit{right:10px;font-size:10px;top:15px}input:not([type=checkbox]):not([type=radio]),select,textarea{padding:12px 11px;border-radius:9px;font-size:16px}input::placeholder{font-size:11px}.field{gap:8px}.section-label{font-size:11px;margin:24px 0 17px}.field-help{font-size:10px;line-height:1.8}.segment span{font-size:12px;min-height:40px}.frozen-box{padding:15px;margin-top:16px}.frozen-box .field-grid{gap:16px 10px}.frozen-box .field>span:first-child{font-size:11px}.frozen-box summary{font-size:11px}.form-actions{position:sticky;bottom:0;margin:0 -18px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:#f6f7f2f5;z-index:5;border-top:1px solid #e5ecdf;backdrop-filter:blur(8px)}.form-actions .primary{flex:1;min-width:0}.form-actions .secondary{padding-left:18px;padding-right:18px}.form-actions .button{min-height:49px;font-size:13px}.diagnosis-row{gap:7px;padding:14px 0}.diagnosis-row>span{font-size:12px;max-width:53%}.choice-group{gap:3px}.choice-group span{padding:9px 8px;min-width:36px;font-size:10px;min-height:37px}.check-grid{gap:13px 9px}.check-option{font-size:11px;gap:7px}.details-block>summary{font-size:12px}.summary-strip{font-size:11px;padding:11px 12px}.result-wrap,.records-page{margin:22px 18px 0}.result-header{gap:8px;margin-bottom:18px}.result-header h1{font-size:22px}.result-header span{font-size:9px}.probability-panel{padding:27px 19px;flex-direction:column;gap:23px;border-radius:20px;text-align:center}.prob-ring{width:180px;height:180px}.prob-copy h2{font-size:19px}.prob-copy p{font-size:11px;margin-top:8px;max-width:260px}.pills{justify-content:center;margin-top:15px}.pill{font-size:9px}.result-grid{grid-template-columns:1fr;gap:15px;margin-top:15px}.result-grid .panel{padding:22px}.result-grid h3{font-size:14px}.stat small{font-size:10px}.stat strong{font-size:17px}.result-save{margin-top:15px}.consent-line{font-size:11px;gap:8px}.result-buttons{gap:8px;flex-wrap:wrap}.result-buttons .button{font-size:12px;padding:12px 16px}.result-buttons .primary{min-width:100%;order:-1}.result-buttons .secondary{flex:1}.page-heading h1{font-size:23px}.page-heading .button{font-size:11px;padding:10px 13px;min-height:42px}.empty-state{padding:44px 20px}.empty-state p{font-size:12px}.record-card{padding:19px;gap:10px}.record-probability{font-size:25px}.record-title{font-size:14px}.record-summary{font-size:11px}.record-date{font-size:10px}.record-actions{gap:11px}.record-actions button{font-size:11px}.export-row{flex-wrap:wrap}.records-note{font-size:10px}.pill-link{font-size:10px;padding:9px 11px}dialog{padding:23px;width:calc(100vw - 28px);border-radius:19px}dialog .field{margin-top:16px}#toast{bottom:calc(23px + env(safe-area-inset-bottom));font-size:12px;min-width:180px}.step-kicker{display:block;font-size:9px;color:#89977e;letter-spacing:1.7px;margin-bottom:9px}}
@media(max-width:350px){.topbar{padding:0 14px}.brand{font-size:14px}.records-link{font-size:10px}.home{margin-left:15px;margin-right:15px}.home h1{font-size:28px}.panel{padding:20px 15px}.choice-group span{padding:8px 6px;min-width:31px}.diagnosis-row>span{font-size:11px}.step-item{font-size:9px;gap:3px;padding:8px 4px}.site-footer>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.topbar,.site-footer,.result-save,.back-link,.records-link,#toast,.form-actions{display:none!important}body{background:white}.result-wrap{margin:0;max-width:none}.result-grid{grid-template-columns:1fr 1fr}.panel,.probability-panel{break-inside:avoid}.probability-panel{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

#app:focus{outline:none}.diagnosis-help{display:block;font-size:11px;line-height:1.8;color:var(--muted);font-weight:400;margin-top:7px}.diagnosis-row>span:has(.diagnosis-help){max-width:65%}@media(max-width:650px){.diagnosis-help{font-size:10px}.diagnosis-row>span:has(.diagnosis-help){max-width:62%}}

.guidance-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.guidance-card{margin:0;padding:25px}.guidance-card h2{font-size:20px;font-weight:550;line-height:1.65;margin:16px 0 12px}.guidance-card .eyebrow{font-size:10px}.guidance-card .department{font-size:12px;color:var(--green);margin:10px 0 16px}.guidance-summary{font-size:13px;color:#6e8068;line-height:1.9;margin:10px 0 17px}.visit-now{background:#f0f4e8;border-color:#dce5cc}.visit-needs_information{background:#fbf6eb;border-color:#e8dfcb}.preparation-card h3{font-size:15px;font-weight:550;margin-bottom:19px}.guidance-sources p{font-size:11px;color:var(--muted)}.guidance-sources ul{padding-left:18px;color:var(--muted);font-size:11px;line-height:1.9}.guidance-sources li{margin:10px 0;overflow-wrap:anywhere}.guidance-sources small{display:block;color:#93a08a;font-size:10px}.guidance-sources a{text-decoration:underline;text-underline-offset:3px}.probability-panel{margin-top:20px}@media(max-width:650px){.guidance-grid{grid-template-columns:1fr;gap:14px;margin-bottom:14px}.guidance-card{padding:22px 20px}.guidance-card h2{font-size:18px;margin-top:14px}.guidance-summary{font-size:12px}.guidance-card .department{font-size:11px}.preparation-card h3{font-size:14px}.probability-panel{margin-top:15px}}@media print{.guidance-grid{grid-template-columns:1fr 1fr}.guidance-card,.preparation-card{break-inside:avoid}.guidance-sources{display:none}}

.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.panel-heading .panel-title{flex:1;min-width:0}.all-no-button{flex-shrink:0;min-height:36px;padding:7px 11px;background:#f0f5e9;border:1px solid #dce6cf;border-radius:8px;color:var(--green);font-size:11px;white-space:nowrap}.module-actions{display:flex;justify-content:flex-end;margin-bottom:10px}.section-label .all-no-button{margin-left:auto}.plan-card{border-color:#c7d9b4;background:#f6f9f0}.plan-timing{font-size:12px;color:#6d805f;line-height:1.9;padding:12px 14px;border-left:2px solid #adc697;margin:14px 0 17px;background:#edf3e6}@media(max-width:650px){.panel-heading{gap:8px}.all-no-button{min-height:35px;font-size:10px;padding:7px 9px}.plan-timing{font-size:11px}.panel-heading .panel-title{line-height:1.6}}

/* One scroll surface; navigation stays at the bottom of this viewport. */
html{height:100%;overflow:hidden;scroll-behavior:auto}body{height:100dvh;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
body.form-view{padding-bottom:110px}.form-view .site-footer{display:none}
.form-actions{position:fixed!important;bottom:0;left:0;right:0;margin:0!important;padding:12px max(18px,calc((100vw - 1160px)/2)) calc(12px + env(safe-area-inset-bottom))!important;background:#f6f7f2;border-top:1px solid #dbe3d5;backdrop-filter:none!important;z-index:30;display:flex;justify-content:space-between;box-shadow:0 -3px 12px #244c3f0a}
.form-actions .button{min-width:120px;max-width:360px}.form-actions .primary{flex:1}.workspace{padding-bottom:24px}
.diagnosis-option{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid var(--line);border-radius:12px;margin:10px 0;cursor:pointer;line-height:1.7;font-size:14px;min-height:52px}.diagnosis-option:has(input:checked){background:#edf4e7;border-color:#8eaf97}.diagnosis-option input{width:20px;height:20px;min-height:20px;flex-shrink:0;accent-color:var(--green);margin:2px 0}.diagnosis-option span{min-width:0}
.consent-link{background:transparent;color:var(--green);text-decoration:underline;padding:0;min-height:32px}.consent-content{font-size:13px;line-height:1.9}.consent-content h3{font-size:14px;margin-top:20px}.consent-content p{font-size:13px}.consent-line{margin:22px 0}.research-unavailable{margin:12px 0}.home{align-items:start}.home h1{font-size:32px;margin-top:0}#consent-error{color:#925035;font-size:13px;line-height:1.8;margin:12px 0}#research-status{font-size:12px;color:var(--green);overflow-wrap:anywhere;margin-bottom:16px}
@media(max-width:650px){.form-actions .button{min-height:48px}.form-view .workspace{margin-top:14px}.home{margin-top:24px}.home h1{font-size:27px}.start-card{padding:22px}.consent-content h3{font-size:14px}.steps{gap:3px}.step-item{flex:1;min-width:0;font-size:9px;gap:3px;padding:8px 3px}.step-number{width:18px;height:18px;font-size:9px}}

/* Use the same option typography and control size as the diagnosis checkboxes. */
.immune-history .check-option{font-size:14px;color:var(--ink);line-height:1.7;gap:12px}
.immune-history .check-option input{width:20px;height:20px;min-height:20px;margin-top:2px}
