
:root{font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;color:#163b55;background:#f4f7f9;font-size:14px;--navy:#123d5a;--teal:#0099a8;--orange:#f0a44b;--line:#dce6ec;--muted:#718797;--surface:#fff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid #cfdee6;background:white;color:var(--navy);padding:10px 15px;border-radius:6px;transition:background .16s,transform .16s}button:hover:not(:disabled){background:#edf7f8;border-color:#55adb4}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.48}button.primary{color:white;background:var(--teal);border-color:var(--teal)}button.primary:hover{background:#008390}button.danger{color:#b55422}.small{padding:6px 10px;font-size:12px}button.flat{border:0;background:transparent}button svg,.icon{width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}input,select,textarea{color:var(--navy);padding:10px 11px;border:1px solid #cfdde5;background:#fff;border-radius:5px;max-width:100%}textarea{resize:vertical;line-height:1.7;min-height:90px}input:focus,select:focus,textarea:focus{outline:2px solid #8acfd3;outline-offset:2px}button:focus-visible,a:focus-visible{outline:3px solid #f0a44b;outline-offset:2px}a{color:#008b9a}h1,h2,h3,p{margin:0}h1{font-size:25px;font-weight:650;letter-spacing:.02em}h2{font-size:17px;font-weight:650}h3{font-size:15px}small,.muted{color:var(--muted);font-size:12px}p{line-height:1.8}header{height:76px;background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #214b65}.brand{display:flex;align-items:center;gap:14px}.brand-mark{width:40px;height:40px;border:1px solid #4b7089;border-radius:9px;padding:6px}.brand-mark svg{stroke:#4bdae0;width:100%;height:100%;fill:none;stroke-width:2.8}.brand-title{font-size:20px;font-weight:650;letter-spacing:2px}.brand-sub{color:#8fbbcf;font-size:10px;letter-spacing:2px;margin-top:5px}.header-right{display:flex;align-items:center;gap:20px}.demo-tag{border:1px solid #55869c;border-radius:4px;padding:5px 8px;color:#b7d9e7;font-size:12px}.identity{background:#1d4c69;color:white;border-color:#3f6680;font-size:13px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#d9ecef;color:var(--navy)}.nav-bar{padding:0 28px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.nav{display:flex;gap:9px;overflow:auto;white-space:nowrap}.nav button{border:0;background:transparent;padding:18px 12px;border-radius:0;position:relative;color:#617886}.nav button.active{color:#008b9b;font-weight:650}.nav button.active:after{content:"";position:absolute;bottom:0;height:3px;background:var(--teal);left:12px;right:12px}.project-select{font-size:13px;background:#f7fafc;max-width:290px}.page{padding:23px 28px 25px;max-width:1920px;margin:auto;animation:reveal .2s ease-out}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.eyebrow{font-size:11px;letter-spacing:1.6px;color:var(--muted);margin-bottom:7px}.subtitle{color:var(--muted);margin-top:7px;font-size:12px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:4px;background:#eaf4f6;color:#257187;font-size:12px;white-space:nowrap}.badge.ok{background:#e4f5f1;color:#098572}.badge.warn{background:#fff2df;color:#b56f16}.badge.bad{background:#fff0ec;color:#b64e33}.badge.neutral{background:#eff3f6;color:#667e90}.card{background:white;border:1px solid var(--line);border-radius:7px;overflow:hidden}.card-heading{padding:17px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9eff3}.card-heading h2{display:flex;align-items:center;gap:9px}.card-body{padding:18px}.workspace{display:grid;grid-template-columns:190px minmax(360px,1fr) 286px;gap:14px}.layers{grid-row:span 2}.layer-row{display:flex;align-items:center;gap:9px;padding:15px 13px;border-bottom:1px solid #edf2f5;cursor:pointer}.layer-row:hover{background:#f6fafb}.layer-row input{accent-color:var(--teal);width:15px;height:15px;padding:0}.layer-row .count{margin-left:auto;color:#658396;background:#eef4f8;font-size:11px;padding:3px 7px;border-radius:12px}.layer-row .icon{color:#235879}.layer-footer{padding:18px 14px}.meta-list{display:grid;gap:13px}.meta-list>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}.meta-list>div span:first-child{color:var(--muted)}.meta-list>div span:last-child{text-align:right}.map-card{position:relative;height:450px;background:#0c3455;overflow:hidden;border:1px solid #1c5573;border-radius:7px}.map-content{position:absolute;inset:0;transition:transform .25s;transform-origin:center;}.map-content canvas,.map-content svg{position:absolute;inset:0;width:100%;height:100%}.map-toolbar{position:absolute;right:13px;top:13px;display:grid;box-shadow:0 3px 10px #001a3330;border-radius:5px;overflow:hidden}.map-toolbar button{padding:8px;border:0;border-bottom:1px solid #dce6ec;border-radius:0}.map-toolbar button.active{background:#d2f0ef}.map-label{position:absolute;top:16px;left:16px;color:#e0f0f5;font-size:11px;padding:7px 10px;background:#0d3455b8;border:1px solid #6891a35c;border-radius:4px}.map-compass{position:absolute;left:19px;top:65px;color:white;text-align:center;font-size:11px}.map-compass b{display:block;font-size:26px}.map-legend{position:absolute;right:13px;bottom:13px;background:#fffffff2;padding:11px 13px;width:115px;border-radius:5px;font-size:11px;color:var(--navy)}.legend-ramp{height:90px;width:12px;background:linear-gradient(#e8d968,#46b8ac,#1d779b,#143457);border-radius:2px}.ramp-row{display:flex;gap:9px;margin:10px 0}.ramp-values{display:flex;flex-direction:column;justify-content:space-between}.legend-symbol{display:flex;align-items:center;gap:6px;margin-top:7px}.scale{position:absolute;left:17px;bottom:28px;color:#eef7fa;font-size:10px}.scale i{display:block;border-top:3px solid white;border-left:1px solid white;border-right:1px solid white;width:110px;height:5px;margin-top:5px}.map-foot{position:absolute;bottom:7px;left:17px;color:#b0cad5;font-size:9px}.station{cursor:pointer}.station:hover{filter:drop-shadow(0 0 4px white)}.right-stack{display:grid;align-content:start;gap:13px}.quality-body{display:flex;gap:18px;align-items:center;padding:16px 18px}.ring{height:68px;width:68px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--teal) var(--score),#e5f0f2 0);flex-shrink:0}.ring:before{content:"";position:absolute;width:49px;height:49px;background:white;border-radius:50%}.ring span{z-index:1;color:var(--teal);font-size:24px}.metric-number{font-size:27px;color:var(--teal);font-weight:650;font-variant-numeric:tabular-nums;margin-top:3px}.quality-foot{margin:0 18px;padding:10px 0 14px;border-top:1px solid #edf1f4;color:#738897;font-size:11px}.compare-years{display:grid;grid-template-columns:1fr 22px 1fr;gap:9px;padding:14px 18px;align-items:center}.year-box{background:#f6fafc;border:1px solid #e5edf3;border-radius:4px;padding:10px}.year-box b{font-size:28px;display:block;line-height:1.5}.year-box:last-child b{color:var(--teal)}.stepper{display:flex;justify-content:space-between;position:relative;margin:17px 18px 12px}.stepper:before{content:"";position:absolute;top:12px;left:15px;right:15px;height:1px;background:#c2d2dc}.step{z-index:1;text-align:center;font-size:10px;color:#768b9b;max-width:58px}.step i{display:grid;place-items:center;margin:0 auto 8px;width:25px;height:25px;border:1px solid #96b2c2;border-radius:50%;background:white;font-style:normal}.step.done i{background:var(--teal);border-color:var(--teal);color:white}.step.current i{border:2px solid var(--teal);box-shadow:0 0 0 3px #e0f5f4;color:var(--teal)}.report-button{display:block;margin:14px 18px;width:calc(100% - 36px)}.profile-card{grid-column:2 / 4;height:204px}.profile-chart{height:143px;padding:5px 16px}.profile-chart svg{width:100%;height:100%}.panel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card{background:white;border:1px solid var(--line);border-radius:6px;padding:19px 21px}.stat-card label{font-size:12px;color:var(--muted);display:block;margin-bottom:10px}.stat-card strong{font-size:30px;font-weight:600;font-variant-numeric:tabular-nums}.stat-card small{display:block;margin-top:9px}.stat-card strong em{font-size:13px;font-style:normal;color:var(--muted);font-weight:400;margin-left:7px}.filters{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}.filters input{min-width:230px}.filters .spacer{flex:1}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{background:#f8fafb;color:#667f8f;font-weight:500;font-size:12px}th,td{padding:15px 17px;border-bottom:1px solid #edf1f4;white-space:nowrap}td .secondary{font-size:11px;color:var(--muted);margin-top:5px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fbfc}.table-action{padding:4px 7px;border:0;background:transparent;color:#008b9b;font-size:12px}.empty{text-align:center;padding:60px 24px;color:var(--muted);line-height:2}.empty .icon{width:42px;height:42px;color:#83a0b1;margin-bottom:15px}.empty h3{color:var(--navy);margin-bottom:8px}.empty button{margin-top:16px}.project-card{padding:24px;cursor:pointer;position:relative}.project-card:hover{border-color:var(--teal)}.project-card .tag{font-size:10px;color:#8ca0ad;letter-spacing:1px}.project-card h2{font-size:20px;margin:18px 0 9px}.project-card p{font-size:13px;color:var(--muted);min-height:46px}.project-card .meta-list{margin:22px 0}.project-card .bottom{padding-top:17px;border-top:1px solid var(--line);display:flex;justify-content:space-between}.selected-project{border-top:3px solid var(--teal)}.device-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.device-card{padding:22px}.device-card>.icon{width:33px;height:33px;color:var(--teal);margin-bottom:18px}.device-card h2{margin-bottom:7px}.device-card .meta-list{margin:22px 0}.notice{padding:13px 17px;background:#eaf5f7;color:#397587;border:1px solid #d4e9ec;border-radius:5px;font-size:12px;line-height:1.8;margin-bottom:20px}.notice.warning{background:#fff6e9;border-color:#f4e1c2;color:#98722e}.two-column{display:grid;grid-template-columns:260px 1fr;gap:18px}.flow-list button{display:block;text-align:left;width:100%;padding:19px;border:0;border-bottom:1px solid #e7edf2;border-radius:0}.flow-list button.active{background:#e8f6f6;border-left:3px solid var(--teal)}.flow-list small{display:block;margin-top:7px;line-height:1.8}.flow-workspace{min-height:390px;background-color:#f9fcfd;background-image:radial-gradient(#d2e0e6 1px,transparent 1px);background-size:16px 16px;position:relative;padding:34px 24px}.flow-nodes{display:flex;flex-direction:column;align-items:center}.flow-node{background:white;border:1px solid #c7dce3;box-shadow:0 4px 10px #133b5510;border-radius:6px;padding:12px 16px;width:260px;display:flex;gap:12px;align-items:center;cursor:grab}.flow-node .node-icon{background:#eaf7f6;padding:7px;border-radius:5px;color:var(--teal)}.flow-node small{display:block;margin-top:5px}.connector{height:24px;width:1px;background:#8fbac2;position:relative}.connector:after{content:"";border-top:5px solid #8fbac2;border-left:4px solid transparent;border-right:4px solid transparent;position:absolute;bottom:0;left:-3px}.flow-config{border-top:1px solid var(--line);padding:20px;display:flex;gap:16px;align-items:end;flex-wrap:wrap}.field{display:grid;gap:7px;flex:1;min-width:100px}.field label{color:#6a8190;font-size:12px}.flow-info{display:flex;gap:12px;font-size:12px;padding:13px 18px;border-top:1px solid var(--line);color:var(--muted)}.algo-card{padding:22px}.algo-card .algo-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.algo-card h2{margin-bottom:9px;line-height:1.5}.algo-card p{color:var(--muted);font-size:12px;min-height:54px}.algo-card .meta-list{margin-top:20px}.algo-card .actions{padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}.code{font-family:Consolas,monospace;font-size:11px;word-break:break-all;color:#668092}.progress{height:5px;background:#e6eff1;border-radius:3px;width:90px;overflow:hidden;margin-top:6px}.progress i{display:block;background:var(--teal);height:100%;transition:width .3s}.log{background:#102d41;color:#9bd0da;border-radius:5px;padding:17px;max-height:300px;overflow:auto;font-family:Consolas,"Microsoft YaHei",monospace;font-size:12px;line-height:2.1}.log time{color:#6b93a6;margin-right:12px}.result-detail{display:grid;grid-template-columns:1fr 290px;gap:18px}.result-chart{height:260px}.result-chart svg{width:100%;height:100%}.report-layout{display:grid;grid-template-columns:200px minmax(350px,1fr) 260px;gap:18px}.chapters{padding:13px}.chapters a{display:block;padding:12px 6px;color:#6b8292;text-decoration:none;font-size:12px}.chapters a:hover{color:var(--teal)}.paper{padding:40px;background:white;border:1px solid var(--line);box-shadow:0 5px 20px #1a405508;min-height:600px}.paper .paper-label{letter-spacing:2px;font-size:10px;color:#7391a2}.paper h1{margin:20px 0 10px;line-height:1.6}.paper h2{font-size:17px;margin:28px 0 12px}.paper p{font-size:13px;color:#4a6578;white-space:pre-wrap;overflow-wrap:anywhere}.paper-header{border-bottom:3px solid var(--teal);padding-bottom:24px}.review-entry{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.9}.review-entry p{color:var(--muted)}.checks{display:grid;gap:10px;font-size:12px}.checks div{display:flex;justify-content:space-between;padding:8px;background:#f5f9fb;border-radius:4px}.chips{display:flex;flex-wrap:wrap;gap:6px}.detail-tabs{display:flex;gap:10px;margin-bottom:20px;border-bottom:1px solid var(--line);padding-bottom:12px}.detail-tabs b{color:var(--teal)}.detail-info{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-info h3{margin-bottom:16px}.detail-description{font-size:12px;line-height:1.8;color:var(--muted);margin-top:16px}.footer{padding:13px 28px 17px;font-size:10px;color:#8196a3;display:flex;justify-content:space-between}.footer b{color:#587889;font-weight:400}dialog{border:1px solid var(--line);border-radius:9px;box-shadow:0 18px 70px #102d4150;width:min(760px,calc(100% - 32px));max-height:90vh;padding:0;color:var(--navy)}dialog::backdrop{background:#092b425e;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}.modal-body{padding:24px}.modal-actions{padding:17px 24px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field.full{grid-column:1/-1}.upload-area{padding:23px;background:#f5fafb;border:1px dashed #94bac7;border-radius:6px;text-align:center}.upload-area input{border:0;background:transparent;width:100%;margin-top:12px}.form-error{color:#b84f33;font-size:12px;margin-top:15px;line-height:1.8}.summary-box{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.summary-box>div{background:#f3f8fa;border:1px solid #e0eaef;border-radius:5px;padding:16px}.summary-box b{font-size:25px;display:block;margin-bottom:6px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);background:#123d5a;color:white;padding:13px 22px;border-radius:6px;box-shadow:0 8px 30px #002c4433;opacity:0;pointer-events:none;z-index:20;transition:opacity .2s,transform .2s;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#a84b35}.boot{padding:80px;text-align:center;color:var(--muted)}@keyframes reveal{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}@media(min-width:1600px){.map-card{height:530px}.workspace{grid-template-columns:215px minmax(360px,1fr) 315px}.profile-card{height:220px}.profile-chart{height:158px}.layer-row{padding:18px 16px}}@media(max-width:1200px){.workspace{grid-template-columns:165px minmax(300px,1fr) 245px;gap:10px}.page{padding:20px}.nav-bar{padding:0 20px}.nav{gap:0}.nav button{padding:17px 9px}.header-right{gap:9px}.brand-title{font-size:17px}.report-layout{grid-template-columns:155px minmax(300px,1fr)}.report-layout>.right-stack{grid-column:1/-1;grid-template-columns:1fr 1fr}.panel-grid,.device-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:950px){header{height:auto;min-height:76px;padding:15px 18px;gap:16px;flex-wrap:wrap}.brand-sub{display:none}.nav-bar{display:block;padding:0 15px}.project-select{margin:9px 0;max-width:100%;width:100%}.workspace{grid-template-columns:155px 1fr}.right-stack{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.profile-card{grid-column:2}.layers{grid-row:span 2}.map-card{height:440px}.stats-row{grid-template-columns:repeat(2,1fr)}.report-layout{grid-template-columns:1fr}.chapters{display:none}.report-layout>.right-stack{grid-template-columns:1fr 1fr}.result-detail{grid-template-columns:1fr}.two-column{grid-template-columns:210px 1fr}.paper{padding:28px}}@media(max-width:640px){.brand-title{font-size:15px;letter-spacing:0}.demo-tag{display:none}.header-right{width:100%;justify-content:flex-end}.page{padding:17px 12px}.page-head{align-items:start;flex-direction:column;gap:13px}h1{font-size:22px}.workspace{grid-template-columns:1fr}.layers{grid-row:auto}.layers .card-heading,.layer-footer{display:none}.layers>div:nth-child(2){display:grid;grid-template-columns:repeat(3,1fr)}.layer-row{padding:10px 8px;font-size:12px;gap:5px}.layer-row .count{display:none}.profile-card{grid-column:1}.map-card{height:390px}.right-stack{grid-template-columns:1fr}.panel-grid,.device-list{grid-template-columns:1fr}.stats-row{gap:10px}.stat-card{padding:16px}.two-column{grid-template-columns:1fr}.flow-list{display:grid;grid-template-columns:1fr 1fr}.flow-list button{padding:12px}.flow-list small{display:none}.flow-workspace{padding:23px 15px}.report-layout>.right-stack{grid-template-columns:1fr}.form-grid,.detail-info{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.summary-box{grid-template-columns:1fr}.footer{padding:15px;gap:12px;flex-wrap:wrap}.paper{padding:22px}.filters input{min-width:0;width:100%}.profile-chart{padding:5px}.identity{max-width:210px;font-size:12px}.modal-body{padding:18px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

:root .flow-inputs{padding:17px 20px;border-top:1px solid var(--line);font-size:12px}.flow-inputs summary{cursor:pointer;color:#3b788a}.input-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.input-grid label{display:flex;align-items:center;gap:7px}.input-grid input{accent-color:var(--teal)}.input-grid label span:nth-child(2){flex:1}@media(max-width:640px){.input-grid{grid-template-columns:1fr}}
.workspace>.right-stack{grid-column:3;grid-row:1 / span 2}.workspace>.profile-card{grid-column:2}.workspace .map-card{height:480px}.workspace>.right-stack .card-heading{padding:13px 16px}.workspace>.right-stack .quality-foot{padding-bottom:11px}@media(min-width:1600px){.workspace .map-card{height:530px}}@media(max-width:950px){.workspace>.right-stack{grid-column:1/-1;grid-row:3}.workspace>.profile-card{grid-column:2;grid-row:2}.workspace .map-card{height:440px}}@media(max-width:640px){.workspace>.profile-card{grid-column:1;grid-row:3}.workspace>.right-stack{grid-row:4}.workspace .map-card{height:390px}}
.workspace>.profile-card{height:216px}.workspace>.profile-card .profile-chart{height:147px}
.app-topbar{height:72px;position:sticky;top:0;z-index:40;background:#fff;color:var(--navy);padding:0 24px 0 20px;border-bottom:1px solid var(--line);gap:18px;flex-wrap:nowrap}
.app-brand{display:flex;align-items:center;gap:10px;width:174px;flex-shrink:0;color:var(--navy);text-decoration:none}
.app-brand .brand-mark{width:34px;height:34px;border-radius:8px;background:var(--navy);color:white;display:grid;place-items:center}
.app-brand b{display:block;font-size:20px;letter-spacing:1.6px;line-height:1.1}
.app-brand small{display:block;font-size:10px;letter-spacing:.6px;margin-top:5px;color:#68808f}
.project-switcher{position:relative;margin-right:auto;min-width:0}
.project-trigger{border-color:transparent;background:transparent;padding:6px 10px 6px 6px;display:flex;align-items:center;gap:11px;text-align:left;border-radius:8px;max-width:360px}
.project-trigger:hover,.project-trigger[aria-expanded=true]{background:#f1f5f7;border-color:#dce5ea}
.project-monogram{width:32px;height:32px;flex-shrink:0;border:1px solid #d0e4e7;background:#eaf5f5;color:#087f8a;border-radius:7px;display:grid;place-items:center;font-weight:700;font-size:14px}
.project-trigger-text{min-width:0}
.project-trigger-text small{display:block;font-size:10px;line-height:1.4;color:#758793}
.project-trigger-text strong{display:block;font-size:13px;line-height:1.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.switch-chevron{margin-left:12px;display:flex;color:#8a9ca7}
.switch-chevron .icon{transform:rotate(90deg);width:14px;height:14px}
.app-topbar .header-right{gap:10px;flex-shrink:0}
.app-topbar .demo-tag{color:#657e8e;background:#f1f5f7;border-color:#e3e9ed;font-size:10px;padding:5px 9px}
.app-topbar .avatar{background:#e7eef3;color:var(--navy);width:28px;height:28px;font-size:11px}
.app-topbar .identity{background:transparent;color:var(--navy);border-color:transparent;font-size:11px;padding:7px 3px;max-width:175px}
.project-popover{position:absolute;top:calc(100% + 12px);left:0;width:370px;background:white;border:1px solid #dce5eb;border-radius:12px;box-shadow:0 12px 38px #1a3d5c26;overflow:hidden;z-index:60}
.project-popover[hidden]{display:none}
.project-search{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #e8edf1;color:#7a8d9a}
.project-search input{border:0;background:transparent;padding:0;min-width:0;width:100%;font-size:12px;outline:none}
.project-search:focus-within{box-shadow:inset 0 -2px var(--teal)}
.project-options{max-height:310px;overflow-y:auto;padding:6px}
.project-option{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;text-align:left;padding:10px;border-radius:7px}
.project-option:hover,.project-option:focus-visible{background:#f2f6f8}
.project-option.current{background:#edf6f7}
.project-option-text{min-width:0;flex:1}
.project-option-text strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-option-text small{display:block;font-size:10px;color:#7b8e9b;margin-top:5px}
.project-option>.icon{color:var(--teal);width:16px}
.project-search-empty{padding:20px 12px;color:#7b8e9b;font-size:12px}
.project-popover-footer{border-top:1px solid #e8edf1;padding:8px;display:flex;gap:5px}
.project-popover-footer button{flex:1;border:0;background:transparent;font-size:11px;justify-content:center;padding:10px 5px}
.project-popover-footer button:hover{background:#f1f5f7}
.app-shell{display:grid;grid-template-columns:214px minmax(0,1fr);min-height:calc(100vh - 72px)}
.project-sidebar{position:sticky;top:72px;height:calc(100vh - 72px);min-height:0;overflow-y:auto;padding:24px 12px 16px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column}
.sidebar-project{padding:0 10px 22px;min-width:0}
.sidebar-caption{display:block;font-size:10px;letter-spacing:1.2px;color:#80939f}
.sidebar-project>strong{display:block;font-size:12px;margin:10px 0 7px;line-height:1.6;color:var(--navy)}
.sidebar-project-code{display:flex;flex-wrap:wrap;gap:5px;font-size:9px;color:#8a9ca7;line-height:1.8}
.sidebar-group-label{font-size:10px;letter-spacing:1px;color:#96a6b0;padding:0 10px;margin:4px 0 10px}
.sidebar-link{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:12px;background:transparent;border:0;text-align:left;font-size:12px;color:#587181;padding:11px 12px;margin:2px 0;border-radius:7px;position:relative}
.sidebar-link .icon{width:17px;height:17px;color:#8295a1}
.sidebar-link:hover{background:#f4f7f9;color:var(--navy)}
.sidebar-link.active{background:#eaf5f5;color:#007f8b;font-weight:700}
.sidebar-link.active .icon{color:#008c99}
.sidebar-link.active:before{content:'';position:absolute;left:-12px;top:11px;bottom:11px;width:3px;background:var(--teal);border-radius:0 2px 2px 0}
.platform-nav{border-top:1px solid #edf1f4;padding-top:19px;margin-top:20px}
.sidebar-footnote{margin-top:auto;padding:22px 10px 0;font-size:10px;color:#6d8594}
.status-dot{display:inline-block;width:6px;height:6px;background:#28a691;border-radius:50%;margin-right:7px}
.sidebar-footnote small{display:block;font-size:9px;color:#9aabb5;margin-top:7px}
.shell-content{min-width:0;display:flex;flex-direction:column}
.shell-content .page{width:100%;padding:27px 24px;flex:1}
.shell-content .footer{padding:15px 24px;gap:12px;flex-wrap:wrap;font-size:9px}
.shell-content .workspace{grid-template-columns:165px minmax(300px,1fr) 250px}
.sidebar-toggle,.sidebar-scrim{display:none}
.project-overview-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px 28px;background:#e9f2f5;border:1px solid #d7e5eb;border-radius:10px;margin-bottom:20px}
.project-overview-banner h2{font-size:23px;color:var(--navy);margin:11px 0 9px;letter-spacing:.2px}
.project-overview-banner p{color:#6d8797;font-size:12px;line-height:1.8}
.project-overview-region{display:flex;gap:12px;color:#597f92;font-size:12px;flex-shrink:0}
.project-overview-region .icon{width:25px;height:25px}
.project-overview-region small{display:block;color:#809aa9;font-size:10px;margin-top:8px}
.overview-columns{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}
.overview-shortcuts{padding:5px 18px}
.overview-shortcuts button{display:flex;align-items:center;gap:15px;width:100%;border:0;border-bottom:1px solid #eef2f5;background:transparent;text-align:left;padding:18px 2px;border-radius:0}
.overview-shortcuts button:last-child{border-bottom:0}
.overview-shortcuts button:hover{background:#f8fafb}
.overview-shortcuts button>.icon:first-child{width:23px;height:23px;color:#36929f}
.overview-shortcuts button>.icon:last-child{margin-left:auto;color:#9db0bb;width:14px}
.overview-shortcuts strong{font-size:12px;display:block;font-weight:500;color:var(--navy)}
.overview-shortcuts small{display:block;font-size:10px;color:#8b9eaa;margin-top:7px}
button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
@media(max-width:1250px){
  .app-shell{grid-template-columns:190px minmax(0,1fr)}
  .app-brand{width:150px}.app-brand small{font-size:9px}
  .app-topbar .demo-tag{display:none}
  .shell-content .workspace{grid-template-columns:155px minmax(300px,1fr)}
  .shell-content .workspace>.right-stack{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(3,minmax(0,1fr))}
  .shell-content .workspace>.profile-card{grid-column:2;grid-row:2}
  .shell-content .panel-grid,.shell-content .device-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell-content .report-layout{grid-template-columns:170px minmax(0,1fr)}
  .shell-content .report-layout>aside:last-child{grid-column:1/-1}
}
@media(max-width:950px){
  .app-topbar{gap:12px;padding:0 16px}
  .app-brand{width:145px}.project-trigger{max-width:300px}
  .shell-content .page{padding:22px 18px}
  .project-overview-banner{align-items:flex-start;flex-direction:column}
  .overview-columns{grid-template-columns:1fr}
  .shell-content .workspace>.right-stack{grid-template-columns:1fr}
  .shell-content .workspace>.map-card{height:430px}
  .shell-content .workspace{grid-template-columns:135px minmax(260px,1fr)}
  .shell-content .report-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
  .app-topbar{height:64px;gap:8px;padding:0 10px}
  .app-brand{width:28px}.app-brand>span:last-child{display:none}.app-brand .brand-mark{width:28px;height:28px;border-radius:6px}.app-brand .icon{width:18px}
  .app-topbar .avatar{display:none}
  .app-topbar .header-right{width:auto;gap:0;flex-shrink:0}.app-topbar .identity{width:89px;font-size:10px;padding:6px 0}
  .project-switcher{flex:1}.project-trigger{max-width:100%;width:100%;padding:5px 2px;gap:7px}
  .project-trigger .project-monogram{display:none}.project-trigger-text strong{font-size:11px}.project-trigger-text small{font-size:9px}.switch-chevron{margin-left:auto}
  .project-popover{position:fixed;left:10px;right:10px;top:70px;width:auto;max-width:420px}
  .sidebar-toggle{display:flex;order:-1;padding:5px;border:0;background:transparent;color:var(--navy);flex-shrink:0}
  .app-shell{display:block;min-height:calc(100vh - 64px)}
  .project-sidebar{position:fixed;top:64px;left:0;bottom:0;height:calc(100dvh - 64px);width:230px;min-height:0;overflow-y:auto;z-index:35;visibility:hidden;transform:translateX(-100%);transition:transform .18s ease,visibility .18s}
  .sidebar-open .project-sidebar{visibility:visible;transform:translateX(0)}
  .sidebar-open .sidebar-scrim{display:block;position:fixed;inset:64px 0 0;background:#15374b40;border:0;border-radius:0;z-index:34}
  .sidebar-footnote{padding-top:18px}.sidebar-project{padding-bottom:14px}.platform-nav{margin-top:14px;padding-top:14px}
  .shell-content .page{padding:22px 14px}.shell-content .footer{padding:15px 14px}
  .shell-content .workspace{grid-template-columns:minmax(0,1fr)}
  .shell-content .workspace>.layers{grid-row:1;grid-column:1;display:block}
  .shell-content .workspace>.layers>div:nth-child(2){display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .shell-content .workspace>.map-card{grid-row:2;grid-column:1;height:400px}
  .shell-content .workspace>.profile-card{grid-row:3;grid-column:1}
  .shell-content .workspace>.right-stack{grid-row:4;grid-column:1;grid-template-columns:1fr}
  .shell-content .panel-grid,.shell-content .device-list,.shell-content .two-column{grid-template-columns:minmax(0,1fr)}
  .project-overview-banner{padding:22px 20px}.project-overview-banner h2{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.project-sidebar{transition:none}.shell-content .page{animation:none}}
.lifecycle-hero{display:flex;justify-content:space-between;gap:24px;padding:28px 30px;margin-bottom:20px;border:1px solid #c8e1e7;border-radius:8px;background:linear-gradient(110deg,#e9f5f4,#f4f9fb);align-items:center}.lifecycle-hero h2{font-size:27px;margin:10px 0}.lifecycle-hero p{color:var(--muted);line-height:1.7;max-width:700px}.hero-summary{display:grid;grid-template-columns:auto auto;gap:8px 16px;align-items:center;flex-shrink:0}.hero-summary strong{font-size:32px;color:var(--teal)}.hero-summary span{color:var(--muted);font-size:12px}.lifecycle-overview{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;margin-bottom:20px}.lifecycle-side{display:grid;gap:18px;align-content:start}.stage-list{padding:6px 20px}.stage-row{display:flex;width:100%;align-items:center;gap:16px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;border-radius:0;padding:19px 0;color:var(--navy);transition:background .15s}.stage-row:last-child{border-bottom:0}.stage-row:hover{background:#f4fafb}.stage-number{font-size:18px;color:var(--teal);font-weight:600;flex-shrink:0;width:30px}.stage-copy{flex:1;min-width:0;display:grid;gap:8px}.stage-copy strong{font-size:15px}.stage-copy small{font-size:11px;line-height:1.6;color:var(--muted)}.stage-row>.icon{width:16px;flex-shrink:0}.todo-link{width:100%;display:flex;text-align:left;justify-content:flex-start;line-height:1.6;white-space:normal;margin-bottom:10px;background:#f6fafc;border-color:#e4edf1}.blocker-link{background:#fffbf3;color:#976b2d;border-color:#eee3c9}.stage-context{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:15px 18px;background:#eaf4f6;border:1px solid #d9e8ed;border-radius:6px;margin-bottom:20px}.stage-context strong{font-weight:500;color:var(--navy)}.section-actions{margin-bottom:20px}.lifecycle-entry{padding:22px;margin-bottom:18px}.entry-title{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:18px}.entry-title h2{font-size:18px;line-height:1.5}.lifecycle-entry .meta-list>div{align-items:flex-start;gap:24px}.lifecycle-entry .meta-list>div>span:last-child{max-width:75%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.batch-tracks{display:grid;gap:16px}.batch-track{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.batch-track strong{min-width:180px}.batch-track>span{font-size:12px;color:var(--muted)}.batch-track progress{flex:1;min-width:80px;height:8px;accent-color:var(--teal)}.preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.preview-card{border:1px solid var(--line);border-radius:6px;padding:18px;background:#f8fbfc}.preview-card h3{margin:10px 0 16px;font-size:14px;overflow-wrap:anywhere}.preview-card p{font-size:12px;color:var(--muted);line-height:1.8}.preview-metric{display:block;font-size:28px;margin-top:18px;color:var(--teal)}.preview-metric small{font-size:13px}.analysis-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tool-card{padding:25px;display:grid;grid-template-columns:32px 1fr 20px;gap:10px;text-align:left;white-space:normal}.tool-card>span{grid-column:2;font-size:12px;color:var(--muted);line-height:1.7}.tool-card>.icon:last-child{grid-column:3;grid-row:1/3;align-self:center}.choice-list{display:grid;gap:12px;margin-top:10px}.choice-list label{display:flex;gap:8px;align-items:center;font-size:13px;line-height:1.6}.choice-list input{width:16px;height:16px;accent-color:var(--teal)}.hash-wrap{overflow-wrap:anywhere;word-break:break-all}.lifecycle-audit{grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);margin-bottom:20px}.stage-row:active,.tool-card:active{transform:translateY(1px)}.lifecycle-hero{animation:reveal .22s ease-out}.sidebar-group-label{margin-top:14px}.sidebar-link span{white-space:normal;line-height:1.6}.sidebar-link{min-height:39px}.project-sidebar{overflow-y:auto;max-height:calc(100vh - 72px)}
@media(max-width:1150px){.lifecycle-overview{grid-template-columns:minmax(0,1fr) 260px}.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.lifecycle-overview,.lifecycle-audit{grid-template-columns:1fr}.lifecycle-hero{padding:20px;align-items:flex-start}.lifecycle-hero h2{font-size:21px}.hero-summary strong{font-size:24px}.stage-list{padding:4px 14px}.stage-row{gap:8px}.stage-copy strong{font-size:13px}.stage-number{width:25px;font-size:15px}.stage-row .badge{font-size:10px;padding:4px 6px}.stage-row>.icon{display:none}.analysis-tools,.preview-grid{grid-template-columns:1fr}.lifecycle-entry{padding:18px}.lifecycle-entry .meta-list>div>span:last-child{max-width:65%}.batch-track strong{min-width:0}.lifecycle-hero p{font-size:12px}.hero-summary{gap:8px;min-width:72px}.project-sidebar{max-height:calc(100vh - 104px)}}

@media(max-width:750px){.lifecycle-entry .meta-list>div{display:block;padding:12px 0}.lifecycle-entry .meta-list>div>span{display:block;text-align:left!important;max-width:100%!important}.lifecycle-entry .meta-list>div>span:last-child{margin-top:5px}.lifecycle-entry .hash-wrap{font-size:11px}}

button.primary:active{transform:translateY(1px)}button[aria-busy=true]{cursor:progress}

.archive-search{margin-bottom:18px;max-width:520px}.archive-search input{width:100%}

.archive-records{padding:15px 0;border-bottom:1px solid var(--line)}.archive-records summary{cursor:pointer;font-weight:600;font-size:14px}.archive-records .meta-list>div{gap:20px;align-items:flex-start}.archive-records .meta-list>div>span:last-child{max-width:70%;overflow-wrap:anywhere;white-space:pre-wrap;text-align:left}

/* Functional workspace: navigation is stable; state and handovers live on objects. */
.domain-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:-5px 0 26px;overflow-x:auto;white-space:nowrap}.domain-tabs a{padding:14px 2px;color:var(--muted);text-decoration:none;font-size:14px;border-bottom:3px solid transparent}.domain-tabs a[aria-current=page]{color:var(--teal);border-color:var(--teal);font-weight:600}.domain-tabs a:hover{color:var(--navy)}
.overview-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px;margin-bottom:22px}.overview-bottom{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:22px}.todo-panel .card-body{padding-top:6px;padding-bottom:6px}.todo-object{display:flex;width:100%;justify-content:space-between;gap:16px;text-align:left;white-space:normal;background:transparent;border:0;border-bottom:1px solid var(--line);padding:18px 0;box-shadow:none;border-radius:0;line-height:1.6}.todo-object:last-child{border-bottom:0}.todo-object:hover{background:#f3fafb}.todo-object span{min-width:0}.todo-object strong{display:block;font-size:14px;font-weight:600}.todo-object small{display:block;color:var(--muted);font-weight:400;margin-top:6px;line-height:1.7}.todo-object>.icon{flex-shrink:0;align-self:center;width:17px}.todo-panel .empty{padding:32px 20px}.empty .todo-object{width:auto;display:inline-flex;background:var(--teal);color:white;border-radius:5px;padding:10px 18px;margin-top:16px}.project-summary h2{font-size:17px;line-height:1.6;margin-bottom:14px}.summary-purpose{font-size:13px;line-height:1.9;color:var(--muted);margin:14px 0}.batch-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.batch-summary-grid article{border:1px solid var(--line);border-radius:7px;padding:18px 20px}.batch-title{display:flex;justify-content:space-between;gap:12px;align-items:start}.batch-title h3{font-size:15px;line-height:1.6}.batch-summary-grid article>p{font-size:12px;color:var(--muted);margin:10px 0 18px;line-height:1.7}.batch-counts{display:flex;gap:26px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.batch-counts b{font-size:20px;color:var(--navy);margin-right:5px}.batch-summary-grid .todo-object{font-size:12px;color:var(--teal);padding-bottom:0}.quiet-empty{font-size:13px;line-height:1.9;color:var(--muted);padding:10px 0}.section-title{font-size:18px;margin:28px 0 18px}.audit-issues{margin-bottom:20px}.review-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.archive-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.archive-toolbar .archive-search{margin:0;flex:1}.archive-gates{margin-bottom:22px}.archive-gates summary{padding:18px 22px;cursor:pointer;font-size:14px;font-weight:600}.object-highlight{outline:2px solid var(--teal)!important;outline-offset:4px;scroll-margin-top:100px}.member-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.member-choice{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid var(--line);border-radius:6px;background:white}.member-choice input{width:17px;height:17px;accent-color:var(--teal);flex-shrink:0}.member-choice strong,.member-choice small{display:block;line-height:1.7}.member-choice small{font-size:12px;color:var(--muted);margin-top:4px}.member-choice:has(input:checked){background:#f2fafb;border-color:#aed9de}.member-choice .avatar{flex-shrink:0}
.wizard-page{max-width:950px;margin:0 auto;padding-bottom:85px}.project-steps{display:flex;list-style:none;padding:0;margin:12px 0 28px;gap:0}.project-steps li{flex:1;position:relative}.project-steps li:not(:last-child):after{content:'';height:1px;background:var(--line);position:absolute;left:48px;right:15px;top:17px}.project-steps button{background:none;border:0;box-shadow:none;display:flex;flex-direction:column;align-items:flex-start;gap:12px;position:relative;padding:0;font-size:13px;color:var(--muted)}.project-steps button span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:#fff;z-index:1}.project-steps li[aria-current=step] span{background:var(--teal);color:white;border-color:var(--teal);box-shadow:0 0 0 4px #e3f3f5}.project-steps li[aria-current=step] strong{color:var(--navy)}.project-steps li.complete span{background:#e9f6f6;color:var(--teal);border-color:#b1dde0}.project-steps li.complete:after{background:#b1dde0}.wizard-card .card-heading>span{font-size:12px;color:var(--muted)}.wizard-card form{padding:25px 28px}.wizard-card .full{grid-column:1/-1}.wizard-card textarea{resize:vertical}.field-hint{font-size:13px;line-height:1.9;color:var(--muted);margin-bottom:16px}.wizard-actions{position:sticky;bottom:0;z-index:10;background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:7px;padding:16px 22px;display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:22px;box-shadow:0 -5px 22px #173d5410}.wizard-actions>span{font-size:12px;color:var(--muted)}.wizard-actions>div{display:flex;gap:12px}.mobile-step{display:none}.wizard-review+.wizard-review{border-top:1px solid var(--line);padding-top:18px}.wizard-review h3{font-size:15px}.wizard-review .meta-list>div{gap:24px;align-items:flex-start}.wizard-review .meta-list>div>span:last-child{max-width:72%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.review-notice{font-size:13px;background:#ecf7f8;border:1px solid #c9e6e9;border-radius:5px;line-height:1.9;padding:14px 18px;color:var(--navy)}.wizard-card{animation:reveal .18s ease-out}.wizard-actions .primary:active{transform:translateY(1px)}
@media(max-width:1000px){.overview-top{grid-template-columns:1.3fr 1fr}.overview-bottom{grid-template-columns:1fr}.batch-summary-grid{grid-template-columns:1fr}}
@media(max-width:750px){.overview-top,.overview-bottom{grid-template-columns:1fr}.domain-tabs{gap:21px;margin-bottom:20px}.domain-tabs a{font-size:13px}.archive-toolbar{align-items:stretch;flex-direction:column}.member-choices{grid-template-columns:1fr}.project-steps{display:none}.mobile-step{display:block;font-weight:600;color:var(--teal);font-size:14px;padding:12px 0 20px}.wizard-card form{padding:20px 18px}.wizard-actions{padding:14px;bottom:8px}.wizard-actions>span{display:none}.wizard-actions>div{width:100%;justify-content:space-between}.wizard-actions>div>button:last-child{margin-left:auto}.wizard-review .meta-list>div{display:block}.wizard-review .meta-list>div>span{display:block;text-align:left!important;max-width:100%!important;margin-top:5px}.wizard-page .page-head{gap:10px}.wizard-page .page-head h1{font-size:25px}.member-choice{padding:14px}.overview-top .meta-list>div{gap:16px}.project-summary .meta-list>div>span:last-child{overflow-wrap:anywhere;max-width:65%}.batch-title{flex-wrap:wrap}.batch-counts{gap:16px}}
@media(prefers-reduced-motion:reduce){.wizard-card{animation:none}.object-highlight{scroll-behavior:auto}}
.project-switcher[hidden]{display:none}.new-project-context{font-size:14px;color:var(--navy);margin-right:auto}.wizard-shell{grid-template-columns:1fr}.wizard-shell .project-sidebar,.wizard-shell .sidebar-scrim{display:none}.app-topbar:has(.new-project-context) .sidebar-toggle{display:none}.wizard-shell .shell-content{grid-column:1/-1;margin-left:0}.wizard-page{display:flex;flex-direction:column;height:calc(100dvh - 125px);min-height:470px;padding-bottom:0;width:min(950px,100%)}.wizard-page>.page-head,.project-steps,.mobile-step,.wizard-actions{flex-shrink:0}.wizard-card{flex:1;min-height:0;overflow-y:auto;scroll-padding:75px 0 20px}.wizard-card .card-heading{position:sticky;top:0;background:white;z-index:1}.wizard-actions{position:static;margin-top:16px}.wizard-review .meta-list>div{display:grid;grid-template-columns:135px minmax(0,1fr);gap:22px}.wizard-review .meta-list>div>span:last-child{max-width:100%;text-align:left}.domain-label{display:none}.wizard-card input,.wizard-card textarea{scroll-margin:85px 0 25px}
.card-body.quiet-empty{padding:18px}
@media(max-width:750px){.new-project-context{font-size:13px;margin-left:0}.wizard-page{height:calc(100dvh - 127px);min-height:430px}.wizard-page .page-head{display:grid;grid-template-columns:1fr auto;align-items:start;margin-bottom:8px}.wizard-page .page-head .actions{grid-column:2;grid-row:1}.wizard-page .page-head .eyebrow{font-size:9px;letter-spacing:1px}.wizard-page .page-head h1{font-size:22px}.wizard-page .page-head button{padding:8px 0;font-size:12px}.wizard-page .subtitle{font-size:11px}.mobile-step{padding:12px 0 16px}.wizard-review .meta-list>div{grid-template-columns:1fr;gap:0}.domain-label{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.wizard-card .card-heading{padding:13px 18px}.wizard-actions{margin-top:12px}}
/* Editable analysis pipeline and project equipment */
.workflow-editor{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}.workflow-editor .flow-list{width:auto}.editor-nodes{list-style:none;padding:0;margin:24px 0}.editor-nodes li{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--border,#d8e5ec);border-radius:10px;margin-bottom:12px;background:#f8fbfd}.node-number{display:grid;place-items:center;border-radius:50%;background:#deeff5;color:#135675;width:32px;height:32px;flex:none;font-weight:700}.editor-node-content{flex:1;min-width:0}.editor-node-content strong,.editor-node-content small{display:block;overflow-wrap:anywhere}.editor-node-content small,.editor-node-content p{font-size:12px;color:#627988;margin:5px 0}.equipment-item{padding:12px 0;border-bottom:1px solid #e2ebef}.sidebar-project{padding-top:20px;padding-bottom:12px}.workflow-editor .card-body>p{overflow-wrap:anywhere}@media(max-width:700px){.workflow-editor{grid-template-columns:1fr}.workflow-editor .flow-list{display:flex;overflow-x:auto}.workflow-editor .flow-list button{min-width:180px}.editor-nodes li{flex-wrap:wrap}.editor-nodes li>.actions{margin-left:46px}.editor-node-content{flex-basis:65%}}
.equipment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.equipment-item .meta-list>div{gap:20px}.editor-nodes li{padding:12px 16px}.editor-nodes{margin-top:18px}@media(max-width:700px){.equipment-grid{grid-template-columns:1fr;gap:12px}.workflow-editor .card-body>.field-hint:first-child{margin-top:0}.workflow-editor .card-heading{padding-top:10px;padding-bottom:10px}}
/* Device instances and interactive DAG */
.device-group{margin:24px 0}.device-group-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.device-group-heading h2{font-size:18px}.device-group-heading span{color:#698396}.device-serial{display:block;color:#12627a;letter-spacing:.04em;margin:12px 0}.member-choice.unavailable{opacity:.65;background:#f3f5f7}.dag-editor{overflow:hidden}.dag-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid #dbe7ee}.dag-toolbar select{max-width:280px}.dag-toolbar .actions{margin-left:auto;align-items:center}.dag-toolbar button{padding:7px 10px}.dag-body{display:grid;grid-template-columns:150px minmax(0,1fr)}.dag-palette{border-right:1px solid #dbe7ee;padding:18px 12px;background:#fff}.dag-palette h3{font-size:15px;margin:0}.dag-palette p{font-size:12px;color:#70889a;line-height:1.8}.dag-palette button{width:100%;display:flex;align-items:center;gap:9px;margin:10px 0;padding:10px 8px;cursor:grab;text-align:left}.dag-type-dot{display:inline-block;width:9px;height:9px;border-radius:3px;background:#5d839d;flex:none}.dag-type-dot.filter{background:#e5a247}.dag-type-dot.merge{background:#806fb7}.dag-type-dot.algorithm{background:#0096a5}.dag-type-dot.quality{background:#3c9f7d}.dag-type-dot.human{background:#6586c3}.dag-viewport{height:580px;overflow:auto;position:relative;background-color:#f5f9fc;background-image:radial-gradient(#d4e0e8 1px,transparent 1px);background-size:20px 20px;cursor:grab;touch-action:none}.dag-space{position:relative}.dag-surface{position:relative;transform-origin:0 0}.dag-wires{position:absolute;inset:0;overflow:visible;pointer-events:none}.dag-edge{fill:none;stroke:#7198ad;stroke-width:2.5;pointer-events:stroke;cursor:pointer;outline:none}.dag-edge:hover,.dag-edge:focus{stroke:#d07832;stroke-width:5}#dag-preview{stroke:#0096a5;stroke-width:2;stroke-dasharray:7 4;fill:none}.dag-node{position:absolute;width:185px;height:98px;background:#fff;border:1px solid #bfced9;border-radius:9px;box-shadow:0 3px 7px #123d5a0b;cursor:default}.dag-node-title{display:flex;align-items:center;gap:8px;padding:12px 12px 4px;cursor:grab;touch-action:none}.dag-node-title strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dag-node-title:focus-visible{outline:2px solid #0096a5;border-radius:8px}.dag-node>small{display:block;font-size:11px;color:#71899a;padding-left:29px}.dag-node-actions{display:flex;justify-content:flex-end;gap:3px;padding:2px 7px}.dag-node-actions button{font-size:11px;padding:4px 8px;min-height:25px}.dag-port{position:absolute!important;top:40px;width:18px!important;height:18px!important;padding:0!important;min-height:0!important;border:2px solid #0096a5!important;background:#fff!important;border-radius:50%!important;z-index:3;touch-action:none;cursor:crosshair}.dag-port:hover,.dag-port:focus-visible{background:#0096a5!important;outline:3px solid #bce5e7}.dag-port.input{left:-10px}.dag-port.output{right:-10px}.dag-status{padding:12px 18px;font-size:12px;color:#587889;border-top:1px solid #dbe7ee}@media(max-width:700px){.dag-toolbar{gap:8px;padding:12px}.dag-toolbar .actions{margin-left:0;flex-wrap:wrap}.dag-toolbar select{max-width:210px}.dag-body{grid-template-columns:1fr}.dag-palette{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:10px;border-right:0;border-bottom:1px solid #dbe7ee}.dag-palette h3,.dag-palette p{display:none}.dag-palette button{flex:none;width:auto;white-space:nowrap;margin:0}.dag-viewport{height:500px}.dag-status{line-height:1.7}.device-group-heading{gap:10px}.device-list{grid-template-columns:1fr}}
.dag-connections{padding:10px 18px;border-top:1px solid #dbe7ee;font-size:12px}.dag-connections summary{cursor:pointer;color:#54778d}.dag-connections>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:3px 0}.dag-port{width:22px!important;height:22px!important;top:38px}.dag-port.input{left:-12px}.dag-port.output{right:-12px}

.dag-overview .dag-node>small,.dag-overview .dag-node-actions{display:none}.dag-overview .dag-node-title{height:96px;padding:12px}.dag-overview .dag-node-title strong{font-size:20px;white-space:normal;line-height:1.3}.dag-overview-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid #dbe7ee;font-size:13px}.dag-overview-controls>span{color:#587889}.dag-overview-controls select{max-width:240px}.device-availability{font-size:13px;font-weight:600;margin-bottom:10px}.device-availability.available{color:#18795d}.device-availability.unavailable{color:#8a622c}
.pro-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px}.pro-catalog{align-self:start;position:sticky;top:92px;padding:12px}.pro-direction h3{font-size:12px;color:#6a8290;margin:18px 10px 7px}.pro-direction button{display:flex;text-align:left;width:100%;gap:9px;border:0;padding:12px 10px;background:transparent;line-height:1.6;align-items:start}.pro-direction button.active{background:#e4f3f3;color:#006d79;border-left:3px solid #0096a5}.pro-direction small{color:#718993}.pro-detail{display:grid;gap:18px;min-width:0}.pro-detail .card-heading h2{margin-top:6px}.pro-detail .card-body>p{line-height:1.8;color:#5d7482}.pro-chain{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:25px 0}.pro-chain>div{padding:14px 10px;background:#f2f7f8;border-top:2px solid #0096a5}.pro-chain small{display:block;color:#74929d;margin-bottom:9px}.pro-chain strong{font-size:13px;line-height:1.7}.pro-contract{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-bottom:24px}.pro-contract h3,.pro-nodes h3{font-size:14px}.pro-contract p{line-height:1.8}.pro-contract small,.pro-nodes small{color:#6a8290}.pro-options{border:1px solid #dce7eb;padding:14px;display:flex;flex-wrap:wrap;gap:14px;margin:12px 0 20px}.pro-options legend{font-size:13px;padding:0 8px}.pro-options label{display:flex;gap:8px;align-items:center;font-size:13px;line-height:1.7}.pro-options input{width:auto}.pro-nodes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}.pro-nodes article{padding:16px;background:#f5f8f9}.pro-nodes label{display:block;margin-top:14px;font-size:12px}.pro-nodes input,.pro-nodes select,.pro-layer-controls input,.pro-layer-controls select{display:block;max-width:100%;width:100%;padding:9px;margin-top:6px;border:1px solid #cddce2;border-radius:4px;background:white;color:#123d5a}.pro-preflight{margin-top:16px;color:#137981;line-height:1.8;overflow-wrap:anywhere}.pro-run{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:13px 0;border-bottom:1px solid #e5ecef}.pro-run>span:first-child{flex:1}.pro-run small{display:block;color:#708894;margin-top:5px}.pro-planned{padding:12px 0}.pro-planned p{margin:8px 0}.pro-overview{margin-top:20px}.pro-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pro-progress article{border-left:2px solid #0096a5;padding-left:16px}.pro-progress h3{margin:9px 0}.pro-progress p{font-size:12px;line-height:1.7;color:#5e7785}.pro-progress small{color:#008c99}.pro-code{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f0f5f7;padding:16px}.pro-layer-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.pro-layer-controls label{font-size:12px;min-width:100px;flex:1}.pro-layer-controls input[type=checkbox]{display:inline;width:auto}.pro-result-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;margin-top:20px}.pro-map,.pro-profile{width:100%;display:block}.pro-map g{cursor:pointer}.pro-legend{display:flex;gap:12px;align-items:center;color:#5d7482;font-size:12px}.pro-legend i{width:90px;height:9px;background:linear-gradient(90deg,hsl(190 65% 43%),hsl(45 65% 43%))}.pro-result-layout aside p{line-height:1.9;overflow-wrap:anywhere}.pro-detail details summary{cursor:pointer;color:#087e89}.pro-chain>div,.pro-direction button{transition:background .18s,transform .18s}.pro-direction button:hover{background:#eff6f7}.pro-map circle{transition:r .18s}.pro-preflight:not(:empty){animation:reveal .2s ease-out}.pro-options.full{grid-column:1/-1}@media(max-width:1100px){.pro-layout{grid-template-columns:195px minmax(0,1fr)}.pro-chain{grid-template-columns:repeat(3,1fr)}.pro-progress{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.pro-layout,.pro-result-layout{grid-template-columns:1fr}.pro-catalog{position:static;display:grid;grid-template-columns:1fr 1fr}.pro-nodes,.pro-contract{grid-template-columns:1fr}.pro-progress{grid-template-columns:1fr}.pro-chain{grid-template-columns:1fr 1fr}.pro-layer-controls label{min-width:120px}.pro-options{min-width:0}.pro-detail .card-heading{flex-wrap:wrap;gap:12px}}
.pro-catalog-toggle{display:none}#pro-config{scroll-margin-top:100px}.pro-contract .small{margin:4px 6px 0 0}@media(max-width:760px){.pro-catalog-toggle{display:block;width:100%;margin-bottom:14px;text-align:left}.pro-catalog:not(.expanded){display:none}.pro-catalog.expanded{display:grid}}

/* Task-owned spatial views: configuration, canvas and layers stay in one context. */
.pro-layout{grid-template-columns:minmax(0,1fr)}
.pro-catalog{position:static;padding:16px 20px;display:block}
.pro-catalog>summary,.pro-method>summary{cursor:pointer;color:#087e89;font-weight:600;padding:5px 0}
.pro-catalog-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pro-method{padding:16px 20px}.pro-method>.card-heading{padding-left:0;padding-right:0}
.pro-catalog-toggle{display:none!important}
.pro-task-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}
.pro-task-workspace #pro-config .card-heading{flex-wrap:wrap;gap:10px}
.pro-task-workspace .pro-nodes{grid-template-columns:1fr}
.pro-task-workspace .pro-options{display:grid;gap:10px;padding:10px}
.pro-task-workspace .pro-options label{align-items:start}
.pro-task-workspace .actions{flex-wrap:wrap;gap:8px}
#pro-analysis-canvas{min-width:0;display:grid;gap:12px;scroll-margin-top:90px}
#pro-config{scroll-margin-top:90px}
.pro-view-heading small{color:#607c8a;line-height:1.8}
.pro-task-workspace .pro-result-layout{grid-template-columns:minmax(0,1fr) 190px;gap:12px}
.pro-task-workspace .pro-layer-controls{gap:12px}
.pro-task-workspace .pro-layer-controls label{min-width:100px;flex:1}
.pro-task-workspace .pro-layer-controls .pro-view-choice{flex-basis:100%}
.pro-layer-list{display:grid;gap:6px;padding-bottom:12px;border-bottom:1px solid #dce7eb}
.pro-layer-list button{display:flex;justify-content:space-between;gap:8px;text-align:left;padding:9px;border:1px solid transparent;background:#f2f7f8;font-size:12px;line-height:1.6}
.pro-layer-list button[aria-pressed=true]{background:#e1f2f2;border-color:#008e9a;color:#006773}
.pro-task-workspace .pro-map{min-height:240px}
.pro-task-workspace .pro-result-layout .card-body{padding:14px}
@media(max-width:1200px){.pro-task-workspace{grid-template-columns:260px minmax(0,1fr)}.pro-task-workspace .pro-result-layout{grid-template-columns:1fr}.pro-layer-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.pro-task-workspace{grid-template-columns:1fr}.pro-catalog-list{grid-template-columns:1fr}.pro-task-workspace #pro-config{order:0}.pro-task-workspace .pro-map{min-height:0}.pro-layer-list{grid-template-columns:1fr 1fr}}

.pro-task-workspace #pro-workflow-form select{width:100%;min-width:0;max-width:100%;text-overflow:ellipsis}
.pro-task-workspace #pro-config{min-width:0;overflow:hidden}
.pro-overlay-options{border:0;border-bottom:1px solid #dce7eb;margin:0 0 12px;padding:0 0 12px;min-width:0}
.pro-overlay-options legend{font-size:12px;font-weight:600;margin-bottom:8px}
.pro-overlay-options label{display:flex;gap:7px;font-size:12px;line-height:1.7;margin-bottom:8px;overflow-wrap:anywhere}
.pro-overlay-options input{width:auto;flex-shrink:0}
.pro-overlay-options small{font-size:11px;color:#607c8a;line-height:1.7}
@media(max-width:760px){.pro-catalog:not(.expanded){display:block}.pro-task-workspace #pro-analysis-canvas{scroll-margin-top:80px}}

.pro-empty-view{padding:12px 18px;color:#607c8a;line-height:1.8}
@media(max-width:760px){.pro-task-workspace .pro-layer-controls label{flex-basis:calc(50% - 12px)}.pro-task-workspace .pro-layer-controls .pro-view-choice{flex-basis:100%}}

.equipment-channels{display:grid;gap:16px}.equipment-channels .card-body{padding:16px}.equipment-channels summary{cursor:pointer;color:#087e89;margin:14px 0}.equipment-channels td{overflow-wrap:anywhere}.equipment-channels p{overflow-wrap:anywhere;line-height:1.7}#equipment-contract-form h3{border-bottom:1px solid #dce7eb;padding-bottom:10px;margin-top:12px}#equipment-contract-form textarea{width:100%;min-height:100px;margin-top:8px;padding:10px}#equipment-contract-form>label{font-size:13px;line-height:1.8}#equipment-contract-form details{padding:12px;background:#f2f7f8}#equipment-contract-form details summary{cursor:pointer;margin-bottom:8px}
#equipment-contract-form>.full{grid-column:1/-1}
