:root{font-family:"Segoe UI","Microsoft JhengHei",sans-serif;color:#173b37;background:#f4f7f5;font-size:15px}*{box-sizing:border-box}body{margin:0}header{height:76px;display:flex;align-items:center;gap:28px;padding:0 32px;background:#fff;border-bottom:1px solid #dbe5df}header a:last-child{margin-left:auto;font-size:13px}.brand{font-size:25px;font-weight:800;text-decoration:none;letter-spacing:-1px}.brand span{color:#62846d;font-size:14px}a{color:#146652}button,input,select,textarea{font:inherit}button{border:0;border-radius:7px;padding:11px 17px;background:#17644e;color:white;cursor:pointer;font-weight:600}button:hover{filter:brightness(.93)}button:disabled{opacity:.5;cursor:wait}.quiet{background:#e9f0eb;color:#275344}input,select,textarea{border:1px solid #b6c9bd;border-radius:6px;padding:9px 10px;background:white;color:#183c35;width:100%;margin-top:7px}textarea{min-height:76px}label{font-size:13px;display:block;color:#3d5b52}.shell{display:grid;grid-template-columns:218px 1fr;max-width:1600px;margin:auto}aside{padding:30px 18px;position:sticky;top:0;height:calc(100vh - 76px);border-right:1px solid #dbe5df}nav{display:grid;gap:8px}nav button{background:transparent;color:#4f6b60;text-align:left;font-size:14px;padding:13px 12px}nav button.active{background:#dfece3;color:#144e39}nav b{margin-right:12px;font-weight:500}.aside-note{font-size:12px;line-height:1.9;color:#637d71;margin-top:50px}main{padding:24px 36px;min-width:0}.toolbar{display:flex;gap:15px;align-items:end;border-bottom:1px solid #dbe5df;padding-bottom:22px;margin-bottom:25px}.toolbar label{min-width:270px}.toolbar span{font-size:12px;color:#63776b;margin-left:auto}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#648174;text-transform:uppercase}h1{font-size:36px;line-height:1.35;margin:14px 0;color:#133c31;letter-spacing:-.6px}h2{font-size:24px;margin:20px 0 12px}h3{font-size:17px;margin:8px 0 12px}h4{font-size:14px;margin-bottom:7px}p{line-height:1.8}.lead{font-size:17px;color:#526e60;max-width:760px}.hero{padding:12px 0 26px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:18px 0}.card{background:white;border:1px solid #dce6df;border-radius:10px;padding:22px;min-width:0}.card.selected{border:2px solid #287a58}.card p{font-size:14px;color:#51695b}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:17px;margin:18px 0}.wide{grid-column:1/-1}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.badge{font-size:12px;background:#eaf1ed;border-radius:4px;padding:4px 8px;display:inline-block;color:#345d49}.warning{background:#fff1d7;color:#79541b}.notice{padding:14px 18px;background:#fff5de;border-left:3px solid #bc9242;font-size:14px;line-height:1.7;margin:16px 0}#notice:empty{display:none}#notice{position:sticky;top:8px;z-index:3;padding:12px;background:#e5efe8;border-radius:6px}#notice.error{background:#ffe7e2;color:#962e20}.muted{color:#678072;font-size:13px}.table-wrap{overflow:auto;margin:18px 0}table{border-collapse:collapse;width:100%;font-size:13px;background:#fff}th,td{padding:13px 12px;border-bottom:1px solid #e1e9e3;text-align:left;vertical-align:top}th{background:#eaf0ec;color:#466456;font-weight:600;white-space:nowrap}td small{display:block;color:#78867d;line-height:1.6}td button{font-size:12px;padding:6px 9px}details{margin:14px 0;border:1px solid #dce6df;border-radius:7px;padding:12px;background:#fff}summary{cursor:pointer;color:#336d53;font-size:14px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;max-height:500px;overflow:auto;color:#365b4c}ul{padding-left:22px;line-height:1.9;font-size:14px}.metric strong{display:block;font-size:28px;font-weight:600;letter-spacing:-.7px;margin:12px 0 6px}.metric span{color:#63806f;font-size:12px}.check{display:flex;gap:10px;align-items:start;margin:18px 0}.check input{width:auto;margin:3px 0}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.empty{padding:28px;border:1px dashed #b6c8bd;border-radius:8px;background:#f8faf8;color:#607769}footer{margin-top:48px;border-top:1px solid #dce6df;padding:20px 0;font-size:12px;color:#718376}.mapping{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}.mapping select{margin:3px 0}@media(max-width:950px){.shell{grid-template-columns:1fr}aside{position:static;height:auto;border:0;padding:10px 18px}aside .eyebrow,.aside-note{display:none}nav{display:flex;overflow:auto}nav button{white-space:nowrap}main{padding:16px}.toolbar{flex-wrap:wrap}header{padding:15px;height:auto;flex-wrap:wrap;gap:10px}header span{font-size:12px}h1{font-size:29px}.method-grid{grid-template-columns:1fr}}@media print{aside,header,.toolbar,button{display:none}.shell{display:block}main{padding:0}details{break-inside:avoid}}
/* Technology decisions: compact first level; full evidence only on request. */
.technology-page{max-width:980px;margin:auto;padding:24px}
.technology-reference{font-size:14px;color:#294c40}
.technology-reference h4{font-size:12px;font-weight:600;color:#708277;margin:14px 0 6px}
.technology-reference .technology-intro h4{margin-top:0}
.technology-reference h3{font-size:23px;line-height:1.4;margin:0 0 14px;color:#123c30}
.technology-reference p{margin:6px 0;line-height:1.65}
.technology-scope{font-size:16px!important;color:#315545!important}
.technology-steps{margin:5px 0;padding-left:22px;line-height:1.75;font-size:13px}
.technology-specs{display:flex;gap:10px 22px;flex-wrap:wrap;margin:7px 0}
.technology-specs dt{color:#78867e;font-size:11px}.technology-specs dd{margin:3px 0;font-size:13px}
.technology-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 20px;margin:12px 0}
.technology-kpis strong{font-size:17px;display:block;line-height:1.5;overflow-wrap:anywhere}
.technology-kpis>div:nth-child(-n+3) strong{font-size:23px;color:#17644e}
.field-error{color:#a82d24;min-height:1em}.method-wizard [aria-invalid="true"]{border:2px solid #a82d24}.formula-line{overflow-wrap:anywhere;line-height:1.8;background:#edf4ef;padding:12px;border-radius:6px}
.technology-kpis span{display:block;font-size:12px;color:#6b7c71}
.technology-disclaimer{font-size:12px!important;color:#758278!important}
.technology-warning{font-size:12px!important;color:#856124!important}
.technology-actions{margin-top:16px}
.technology-primary{display:inline-block;border-radius:7px;padding:11px 17px;background:#17644e;color:#fff;text-decoration:none;font-weight:600}
.technology-detail{border:0;border-top:1px solid #e1e9e3;border-radius:0;padding:12px 0 0;margin:12px 0 0;background:transparent}
.technology-evidence{overflow-wrap:anywhere}.technology-detail [data-level="2"]{padding:8px 0}
#view .grid:has(>.card>.technology-reference){grid-template-columns:repeat(auto-fit,minmax(min(100%,560px),1fr))}
@media(max-width:600px){.technology-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.technology-reference h3{font-size:21px}.technology-page{padding:16px}}
.technology-kpis strong small{font-size:11px;font-weight:500;white-space:nowrap;color:#5e7769}
.technology-candidates{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;max-width:980px;margin:20px 0}.technology-candidates>.card{padding:24px 28px}
.method-stepper{display:flex;gap:8px;position:sticky;top:0;background:#f4f8f5;padding:14px 0;z-index:3;border-bottom:1px solid #d4e2dc}.method-stepper button{flex:1;background:#e6eeeb;color:#245348}.method-stepper button[aria-current=step]{background:#17634e;color:white}.method-candidates{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:16px}.method-candidate h3{font-size:1.15rem}.method-excluded{margin:28px 0}.method-imported{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.method-imported>div{background:#eaf3ee;border-radius:8px;padding:14px}.method-imported dd{margin:6px 0 0}.method-progress{padding:16px;background:#edf4ef;border-radius:8px}.method-progress progress{display:block;width:100%;height:12px;margin:10px 0}.method-wizard section{margin:24px 0}.method-wizard textarea{min-height:90px;width:100%;box-sizing:border-box}.method-headline .metric strong{font-size:2rem}.method-wizard .check{align-self:center}.method-wizard small{display:block;margin-top:5px}@media(max-width:640px){.method-stepper{gap:4px}.method-stepper button{font-size:12px;padding:8px}.method-headline{grid-template-columns:1fr}}

/* Full platform name stays readable on narrow screens. */
header{height:auto;min-height:76px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px;gap:16px}.brand{font-size:21px;letter-spacing:0;line-height:1.5;overflow-wrap:anywhere}header a.brand:last-child{margin-left:0;font-size:21px}

/* 觸控裝置：按鈕與表單至少 44px 好點（WCAG 2.5.5） */@media(pointer:coarse){button,select,input:not([type=checkbox]):not([type=radio]),summary{min-height:44px}td button{font-size:14px;padding:10px 14px}nav button{padding:13px 14px}}@media(max-width:600px){.toolbar label{min-width:0;flex:1 1 100%}}
.kq-page{max-width:1200px;margin:auto;padding:32px}@media(max-width:600px){.kq-page{padding:16px}}
@media(max-width:950px){.shell{grid-template-columns:minmax(0,1fr)}aside{min-width:0}}
