:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#dce6f1;background:#0d121b;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{height:84px;border-bottom:1px solid #27313e;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#111824}.brand{display:flex;align-items:center;gap:13px;font-size:21px;font-weight:700}.mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#a6e7c8;color:#132c27}small{font-size:12px;font-weight:400}.brand small{display:block;color:#90a0b3;margin-top:3px}.machine{font-size:12px;color:#a6b7cb}main{display:grid;grid-template-columns:354px minmax(0,1fr);min-height:calc(100vh - 84px)}aside{border-right:1px solid #27313e;background:#111824}section{padding:25px;border-bottom:1px solid #27313e}.eyebrow{font-size:10px;color:#96d6ba;letter-spacing:2px;font-weight:700;margin-bottom:9px}h2{font-size:17px;margin:0 0 18px}h1{font-size:28px;margin:0 0 9px;font-weight:600}label{font-size:12px;display:block;margin:15px 0 8px;color:#b2c2d3}input,select,button{font:inherit;border:1px solid #354155;background:#1b2636;color:#e5edf8;border-radius:7px;min-height:39px;padding:8px 10px;max-width:100%}input,select{width:100%;font-size:12px}button{cursor:pointer;white-space:nowrap;font-size:12px}button:hover{border-color:#9ddfc0}button:disabled{opacity:.45;cursor:not-allowed}input:focus,select:focus,button:focus-visible{outline:2px solid #9ddfc0;outline-offset:2px}.row{display:flex;gap:8px}.row input{min-width:0}.columns{display:grid;grid-template-columns:1fr 1.3fr;gap:10px}.primary{background:#a6e7c8;color:#17382c;border-color:#a6e7c8;font-weight:700}.wide{display:flex;width:100%;justify-content:space-between;margin-top:16px}.filebox{display:block;border:1px dashed #4d6277;border-radius:9px;padding:18px 12px;background:#172231}.filebox strong{display:block;color:#e0eaf6;font-weight:500}.filebox span{display:block;font-size:10px;margin:8px 0 14px;color:#8ea1b7}.filebox input{padding:0;border:0;background:none;font-size:10px}.muted,.hint{color:#91a4b9;font-size:11px;line-height:1.8;margin-bottom:0}.hint{padding-left:10px;border-left:2px solid #517969}.section-head{display:flex;align-items:center;justify-content:space-between}.section-head h2{margin:0}.quiet{border:0;background:none;color:#a6e7c8}.jobs{margin-top:14px;display:grid;gap:8px;max-height:360px;overflow:auto}.job{display:block;text-align:left;width:100%;padding:13px}.job.active{border-color:#a6e7c8;background:#20342f}.job strong{display:block;white-space:normal;font-size:12px}.job span{display:block;font-size:10px;color:#91a4b9;margin-top:6px}article{padding:32px;min-width:0}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.workspace-head p{color:#91a4b9;font-size:12px;line-height:1.7;margin:0}.badge{flex-shrink:0;background:#23382f;color:#a6e7c8;padding:8px 12px;border-radius:20px;font-size:11px}.progress{height:3px;background:#243143;margin:22px 0}.progress div{height:100%;width:0;background:#a6e7c8;transition:width .4s}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.toolbar select{width:160px}.inline{margin:0 6px;display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:11px}.inline input{width:75px}#viewer{position:relative;height:clamp(380px,56vh,760px);border:1px solid #29384a;border-radius:12px;overflow:hidden;background:radial-gradient(ellipse at center,#1b2a3d,#111b29)}#viewer canvas{display:block;touch-action:none}#empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;pointer-events:none;z-index:1}#empty h2{font-size:20px;margin:24px 0 10px}#empty p{font-size:12px;color:#91a4b9;line-height:1.8}#empty small{font-size:10px;color:#8192a7}.empty-icon{font-size:75px;color:#8abca9;line-height:1}.viewer-label{position:absolute;left:18px;bottom:16px;font-size:9px;letter-spacing:2px;color:#72889d;pointer-events:none}#stats{margin-left:18px;letter-spacing:0}#notice{font-size:12px;color:#accab9;padding:16px 0;line-height:1.7}details{border-top:1px solid #27313e;padding-top:14px;color:#8fa2b7;font-size:12px}summary{cursor:pointer}pre{white-space:pre-wrap;word-break:break-word;max-height:220px;overflow:auto;font-size:10px;line-height:1.6}@media(max-width:900px){main{grid-template-columns:300px minmax(0,1fr)}article{padding:20px}.workspace-head{align-items:flex-start}h1{font-size:22px}.machine{display:none}section{padding:20px}}@media(max-width:680px){header{padding:0 20px;height:72px}main{display:flex;flex-direction:column}aside{border-right:0}article{padding:20px}.task-section{max-height:260px;overflow:auto}.workspace-head{display:block}.badge{display:inline-block;margin-top:10px}#viewer{height:420px}.columns{grid-template-columns:1fr 1fr}}

.site-footer{text-align:center;padding:16px 20px;border-top:1px solid #27313e;font-size:12px}.site-footer a{color:#91a4b9;text-decoration:none}.site-footer a:hover{text-decoration:underline}

[hidden]{display:none!important}.capture-tabs{margin:18px 0 14px}.capture-tabs button[aria-pressed="true"]{border-color:#a6e7c8;color:#a6e7c8}.project-tabs{flex-wrap:wrap}.scan-actions{margin-top:10px;flex-wrap:wrap}#cameraPreview{display:block;width:100%;height:180px;background:#080e16;border:1px solid #354155;border-radius:9px;object-fit:contain}.project-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#acc0d3;border-left:2px solid #517969;padding-left:12px;line-height:1.7}dialog{background:#172231;color:#e5edf8;border:1px solid #4d6277;border-radius:12px;padding:24px;width:min(440px,calc(100% - 32px))}dialog::backdrop{background:#050a12bb}dialog h2{margin-bottom:16px}textarea{display:block;width:100%;font:inherit;font-size:13px;border:1px solid #354155;border-radius:7px;padding:10px;color:#e5edf8;background:#1b2636;resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.project-actions{margin-bottom:14px}

@media(max-width:680px){main aside{display:contents}#captureSection{order:0}main article{order:1}#projectSection{order:2}#systemPanel{order:3}#loginPanel{order:-1}body.scanning #cameraPreview{height:120px}body.scanning #viewer{height:300px}}
