:root{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#dce7ef;background:#0b111a;font-size:14px;color-scheme:dark;--muted:#8d9daa;--border:#293543;--accent:#5ee3cd}*{box-sizing:border-box}body{margin:0}header{height:68px;display:flex;align-items:center;gap:12px;padding:0 22px;border-bottom:1px solid var(--border);background:#101925}.brand{font-weight:750;letter-spacing:1.4px;display:flex;align-items:center;gap:7px;color:#fff}.brand>span:not(.mark){font-weight:350}.brand small{font-size:10px;color:var(--accent);border-left:1px solid #435564;padding-left:12px;margin-left:8px;letter-spacing:1.5px}.mark{font-size:31px;line-height:33px;width:34px;text-align:center;color:#5ee3cd}.case{margin-left:auto;margin-right:24px;color:#95a9b8;font-size:13px}.dot{display:inline-block;background:var(--accent);width:6px;height:6px;border-radius:50%;margin-right:8px}button,input,select{font:inherit}button{border:1px solid var(--border);background:#1a2634;border-radius:6px;padding:9px 12px;color:#ccd8e2;cursor:pointer;transition:background .15s,border-color .15s}button:hover{background:#293b4c;border-color:#506779}button:disabled{opacity:.4;cursor:wait}button.primary{background:var(--accent);color:#072e2c;border-color:var(--accent);font-weight:650}button.primary:hover{background:#8cf0df}.secondary{background:#172634}.wide{width:100%;margin:7px 0}.danger{color:#ff9999}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.workspace{display:grid;grid-template-columns:246px minmax(280px,1fr) 305px;height:calc(100dvh - 68px)}aside{overflow:auto;background:#101925;padding:22px 17px}.left{border-right:1px solid var(--border)}.right{padding:0;border-left:1px solid var(--border)}.right section{padding:23px 19px}.eyebrow{font-size:11px;letter-spacing:1.9px;color:var(--accent);font-weight:600;margin-bottom:10px}h2{font-size:21px;font-weight:500;margin:0 0 13px;letter-spacing:-.4px}.muted{font-size:13px;color:var(--muted);margin-top:0}.hint{font-size:12px;color:#93a4b3;line-height:1.6}.panel-title{margin:24px 0 12px;font-size:11px;letter-spacing:1.5px;color:#91a1b0;display:flex;justify-content:space-between}label{display:block;margin:14px 0;color:#bdcbd5;font-size:13px}label output{float:right;color:var(--accent);font-variant-numeric:tabular-nums}input:not([type=checkbox]):not([type=range]),select{width:100%;margin-top:7px;padding:8px 9px;background:#0c141e;border:1px solid #31404e;color:#dbe7ef;border-radius:5px;min-width:0}input[type=range]{width:100%;accent-color:var(--accent);margin-top:13px}input[type=checkbox]{accent-color:var(--accent)}.check{display:flex;align-items:center;gap:8px;line-height:1.5}.row{display:flex;gap:9px}.row>label{flex:1;min-width:0}main{min-width:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at center,#243547 0,#151f2d 65%,#121c29 100%)}.viewport-bar{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;gap:12px}.segmented{display:flex;background:#111c28;border:1px solid #2a3a49;border-radius:7px;padding:3px}.segmented button{border:0;font-size:12px;background:none;padding:7px 10px}.segmented button.active{background:#344959;color:#f0f6fa}#viewport{flex:1;position:relative;min-height:300px;overflow:hidden}canvas{display:block;width:100%;height:100%;touch-action:none}#view-label{position:absolute;left:22px;top:8px;pointer-events:none;font-size:11px;color:#a5b7c7;letter-spacing:1.4px}#view-label span{display:block;font-size:10px;margin-top:7px;letter-spacing:1px;color:#698294}.view-caption{position:absolute;bottom:19px;left:22px;font-size:11px;color:#7891a4;pointer-events:none}.axis-key{position:absolute;right:20px;bottom:20px;display:flex;gap:10px;font-size:12px}.x{color:#ef8188}.y{color:#83cfab}.z{color:#77aaf1}.bottom{display:flex;justify-content:space-between;gap:12px;padding:10px 18px;font-size:12px;background:#111b26;border-top:1px solid #293747;color:#9eb4c6}.notice{font-size:11px;color:#b6a788;padding:10px 18px;background:#191e25;line-height:1.4}#tabs{display:flex;position:sticky;top:0;z-index:2;background:#101925;border-bottom:1px solid var(--border)}#tabs button{flex:1;font-size:12px;border:0;border-radius:0;padding:17px 6px;background:transparent;color:#869dad}#tabs button.active{border-bottom:2px solid var(--accent);color:var(--accent)}.type-options{display:flex;gap:6px}.type-options button{flex:1;padding:11px 3px;text-align:center}.type-options b{display:block;font-size:17px;font-weight:500}.type-options span{display:block;font-size:10px;margin-top:5px;color:#8da5b5}.type-options .active{border-color:var(--accent);background:#173632;color:var(--accent)}.obj{display:flex;gap:7px;align-items:center;padding:11px 7px;border:1px solid transparent;border-bottom-color:#233140;cursor:pointer;font-size:12px}.obj.active{background:#1d383e;border:1px solid #3c676a;border-radius:5px}.obj .swatch{width:7px;height:19px;border-radius:2px;flex-shrink:0}.obj .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.obj small{font-size:10px;color:#7f96a7;display:block}.obj input{margin:0}.import-note{font-size:11px;line-height:1.6;color:#607a8e;margin-top:28px}#empty{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);text-align:center;color:#8ca4b7;line-height:1.8;font-size:16px;pointer-events:none;width:80%}#busy{position:absolute;inset:0;background:#102030cc;z-index:9;display:flex;align-items:center;justify-content:center;gap:15px;flex-direction:column;backdrop-filter:blur(4px)}[hidden]{display:none!important}.spinner{width:26px;height:26px;border:2px solid #41626c;border-top-color:#5ee3cd;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);background:#233c46;border:1px solid #5b8c8d;padding:16px 22px;border-radius:8px;z-index:99;max-width:600px;line-height:1.5;box-shadow:0 10px 35px #0009}#brushTip{position:absolute;left:20px;top:58px;font-size:12px;color:var(--accent);pointer-events:none}#selection{font-size:12px;color:#90a7b8;overflow-wrap:anywhere}@media(max-width:1050px){.workspace{grid-template-columns:200px minmax(250px,1fr) 265px}.brand small,.case{display:none}header{gap:8px}.brand{margin-right:auto}.segmented button{padding:6px;font-size:11px}.viewport-bar{padding:10px 5px}.right section{padding:18px 13px}}@media(max-width:760px){header{padding:0 10px;flex-wrap:wrap;height:auto;min-height:65px}.brand{font-size:13px}.brand small{display:none}header button{font-size:11px;padding:7px}.workspace{height:auto;display:flex;flex-wrap:wrap}main{order:0;width:100%;height:58vh;min-height:430px}.left{order:1;width:40%;padding:18px 12px}.right{order:2;width:60%;max-height:70vh}.type-options span{font-size:9px}.view-caption{font-size:10px}.notice{font-size:10px}.segmented button{font-size:11px}.eyebrow{font-size:10px}}

.library-picker{border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:20px}.library-picker label{font-size:14px}.library-picker button{font-size:12px}dialog{background:#14202e;color:#dce7ef;border:1px solid #3b5365;border-radius:12px;width:min(940px,94vw);max-height:92dvh;padding:24px;overflow:auto;box-shadow:0 24px 100px #0009}dialog::backdrop{background:#06101bd9;backdrop-filter:blur(3px)}.library-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.library-header h2{font-size:24px}.library-header button{flex-shrink:0}.library-axis{max-width:180px}#libraryGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px;max-height:44vh;overflow:auto;padding:4px}.library-card{background:#0b1521;border:1px solid #2c4053;border-radius:8px;padding:12px}.library-card img{display:block;margin:auto;width:100%;max-width:128px;aspect-ratio:1;object-fit:contain;border-radius:4px;background:#f3f3f3}.asset-name{font-size:11px;color:#aec1ce;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:10px}.library-card label{font-size:12px;margin:10px 0}.library-card select{font-size:14px}.library-card small{font-size:10px;color:#7e96a7}.library-add{border-top:1px solid #344757;margin-top:20px;padding-top:10px}.library-add h3{font-weight:500;font-size:17px}.library-add .row{gap:16px}.library-add label{font-size:14px;flex:1}.library-add button{font-size:14px}.library-add input{min-width:0}@media(max-width:600px){dialog{padding:16px}#libraryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-header h2{font-size:19px}.library-add .row{flex-wrap:wrap}.library-add label{min-width:180px}.library-card{padding:8px}}

#caseDialog h3{font-size:17px;font-weight:500;margin-top:24px}.case-table{overflow:auto;max-height:32vh;border:1px solid var(--border);border-radius:8px}.case-table table{width:100%;border-collapse:collapse;font-size:12px}.case-table td,.case-table th{padding:9px 12px;text-align:left;border-bottom:1px solid var(--border)}.case-table th{position:sticky;top:0;background:#1c2b3b;color:#a4bacb;font-weight:500;z-index:1}.case-table td:first-child{max-width:280px;overflow-wrap:anywhere}.case-table small{display:block;color:#7e96a7;margin-top:4px}.case-table select{min-width:150px;margin:0}#caseChecklist{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 10px}#caseChecklist span{font-size:11px;border:1px solid #344556;border-radius:14px;padding:6px 9px;color:#8495a5}#caseChecklist .present{color:#8ce9d7;border-color:#376b65;background:#173831}#caseProgress{color:#e6c28a;overflow-wrap:anywhere;min-height:20px}#csvReview{border-top:1px solid var(--border)}#caseDialog .row{flex-wrap:wrap}#caseDialog .row>label{min-width:150px}

.registration-workflow{border:1px solid #34515e;border-radius:8px;padding:12px;background:#12232f;margin-bottom:18px}.registration-workflow h3{margin:0 0 14px;font-size:17px;font-weight:500;color:#9cebdc}.registration-workflow label,.registration-workflow button,.registration-workflow summary{font-size:14px}.registration-workflow details{border-top:1px solid #344b5b;padding-top:12px;margin-top:15px}.registration-workflow summary{cursor:pointer;color:#b0c9d5;line-height:1.5}#registrationReport{color:#aed1d0;line-height:1.65;overflow-wrap:anywhere}

.component-picker{border-top:1px solid var(--border);margin-top:20px}.component-picker label{font-size:14px}.component-picker select{font-size:13px}.component-picker button{font-size:14px}#componentGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin:20px 0;max-height:40vh;overflow:auto}.component-card{background:#0c1724;border:1px solid #344f60;padding:18px;border-radius:8px}.component-card strong{font-size:16px;line-height:1.5;display:block;overflow-wrap:anywhere}#componentDialog label,#componentDialog button{font-size:14px}#componentDialog .row{flex-wrap:wrap}#componentDialog .row>label{min-width:180px}

.tooth-editor{margin:20px 0;padding:15px 12px;border:1px solid #3a6467;border-radius:8px;background:#12282e}.tooth-editor h3{font-size:18px;font-weight:500;margin:0 0 10px;color:#a0eddd}.tooth-editor label,.tooth-editor button,.tooth-editor summary{font-size:14px}.tooth-editor .hint{font-size:13px}.tooth-editor fieldset{border:0;padding:0;margin:16px 0 0;min-width:0}.tooth-editor fieldset:disabled{opacity:.45}.tooth-editor fieldset:disabled button{cursor:default}.tooth-editor .row{gap:5px}.tooth-editor .row label{margin:6px 0 14px}.tooth-editor input:not([type=checkbox]){padding:8px 5px}.tooth-field-label{margin-top:13px;color:#a7bdc9;font-size:14px}.tooth-editor summary{cursor:pointer;color:#b1d9d3}.tooth-selection-actions{flex-wrap:wrap}.tooth-selection-actions button{flex:1;white-space:nowrap;padding:8px}.tooth-modes{display:grid;grid-template-columns:1fr 1fr;gap:5px}.tooth-modes button.active,#toothChips button.active{border-color:var(--accent);background:#24534c;color:#e0fff7}#toothChips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}#toothChips button{padding:8px 3px}#toothHandleHint{position:absolute;left:20px;right:20px;top:65px;color:#a4eedf;font-size:14px;line-height:1.5;pointer-events:none;text-shadow:0 1px 3px #000}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Keep the experimental edition visible at every viewport width. */
.brand small{display:block;color:#dfb4ff;border-left-color:#715e85}
.scanbody-workspace .workspace{grid-template-columns:270px minmax(300px,1fr) 370px}
.scanbody-workspace label,.scanbody-workspace button,.scanbody-workspace select,.scanbody-workspace .obj{font-size:14px}
.scanbody-workspace .hint{font-size:14px;line-height:1.6}
.scanbody-workspace .eyebrow,.scanbody-workspace .panel-title,.scanbody-workspace .brand small{font-size:12px}
.scanbody-workspace .notice,.scanbody-workspace .obj small,.scanbody-workspace .import-note{font-size:12px}
.scanbody-workspace .right details{margin:16px 0;padding:12px 0;border-top:1px solid var(--border)}
.scanbody-workspace summary{cursor:pointer;line-height:1.6;color:#b9d6df}
.scanbody-workspace .registration-workflow{border:0;padding:0;background:none}
.scanbody-workspace .registration-workflow h3{margin-top:25px}
.scanbody-workspace .model-result{padding:16px 12px;margin:14px 0;border:1px solid #355360;border-radius:8px;background:#12232f;overflow-wrap:anywhere}
.positions-table{width:100%;font-size:12px;font-variant-numeric:tabular-nums;margin-top:14px;border-collapse:collapse}
.positions-table td,.positions-table th{text-align:right;padding:8px 3px;border-bottom:1px solid var(--border)}
.positions-table td:first-child,.positions-table th:first-child{text-align:left}
@media(max-width:1100px){.scanbody-workspace .workspace{grid-template-columns:220px minmax(230px,1fr) 320px}.scanbody-workspace .brand small{display:none}}
@media(max-width:850px){.scanbody-workspace .workspace{display:flex;height:auto}.scanbody-workspace main{order:0;width:100%;height:55vh;min-height:390px}.scanbody-workspace .left{order:1;width:40%}.scanbody-workspace .right{order:2;width:60%;max-height:none}.scanbody-workspace header{height:auto;min-height:68px;flex-wrap:wrap;padding:12px}.scanbody-workspace .case{display:none}}
@media(max-width:540px){.scanbody-workspace .left,.scanbody-workspace .right{width:100%}.scanbody-workspace .viewport-bar{flex-wrap:wrap}.scanbody-workspace .brand{width:100%}}
.section-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px;font-size:12px}.section-legend span{display:flex;align-items:center;gap:7px}.section-legend i{display:inline-block;width:18px;height:3px}.section-model{background:#ffd473}.section-copy{background:#5ee3cd}[data-panel="section"] input[type="number"]{width:100%;min-width:0}[data-panel="section"] .row>label{flex:1;min-width:0}

.alignment-appearance{border-top:1px solid var(--border);margin-top:16px;padding-top:4px}.alignment-appearance>label{display:block;margin:14px 0 7px}.alignment-appearance output{float:right;color:#5ee3cd;font-variant-numeric:tabular-nums}.alignment-appearance>input[type="range"]{width:100%;accent-color:#5ee3cd}.alignment-appearance label.check{display:flex;align-items:center;gap:8px}
.section-inset{position:absolute;left:12px;bottom:12px;width:360px;height:420px;min-width:min(280px,calc(100% - 16px));min-height:280px;max-width:calc(100% - 16px);max-height:calc(100% - 16px);z-index:25;background:#101d29;border:1px solid #527384;border-radius:10px;box-shadow:0 12px 35px #0008;resize:both;overflow:hidden;display:flex;flex-direction:column;color:#d9e8ef;font:12px system-ui;text-align:left}.section-inset[hidden]{display:none}.section-inset-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 10px;background:#1a3040;cursor:move;touch-action:none}.section-inset button{padding:4px 8px;margin:0;min-height:26px;font-size:12px}.section-inset-tools{display:flex;align-items:end;gap:5px;padding:7px;flex-wrap:wrap}.section-inset-tools label{margin:0;flex:1;min-width:140px;display:flex;flex-direction:column;gap:3px;font-size:11px}.section-inset-tools select{margin:0;padding:4px;font-size:12px;width:100%}.section-inset-canvas{position:relative;flex:1;min-height:80px;overflow:hidden}.section-inset canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.section-inset-legend{display:flex;gap:12px;flex-wrap:wrap;padding:6px 9px;font-size:11px}.section-inset-status,.section-inset-help{margin:0;padding:4px 9px;font-size:11px;line-height:1.4}.section-inset-help{color:#a3bdca;padding-bottom:9px}.section-inset-measures{margin:0;padding:0 10px 0 29px;max-height:68px;overflow:auto;font-size:12px}.section-inset-measures:empty{display:none}.section-inset-measures li{padding:2px 0;overflow-wrap:anywhere}.section-inset-measures button{float:right;min-height:18px;padding:0 5px}
:root .scanbody-inspection{width:98vw;max-width:98vw;max-height:98vh;padding:16px;background:#101d29;color:#e4edf4;border:1px solid #3b5262;border-radius:14px;overflow:auto}
.scanbody-inspection::backdrop{background:#020912bc}
.scanbody-inspection header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.scanbody-inspection h2{margin:6px 0;font-size:20px;overflow-wrap:anywhere}
.body-inspection-help{font-size:14px;color:#acbdcb;margin:10px 0 16px}
.body-inspection-views{display:grid;grid-template-columns:repeat(var(--inspection-columns,3),minmax(0,1fr));position:relative;height:clamp(360px,62vh,900px);border:1px solid #354c5c;border-radius:8px;overflow:hidden}
.body-inspection-views canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.body-inspection-views section{position:relative;min-width:0;touch-action:none;cursor:grab;border-right:1px solid #354c5c}
.body-inspection-views section:last-child{border-right:0}
.body-inspection-views section:active{cursor:grabbing}
.body-inspection-views section:focus-visible{outline:2px solid #57e1cb;outline-offset:-3px}
.body-inspection-views strong{position:absolute;top:12px;left:12px;padding:5px 8px;background:#132330db;border-radius:4px;font-size:14px;pointer-events:none}
.scanbody-inspection footer{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:16px}
.scanbody-inspection footer label{flex:1;min-width:160px;font-size:14px;margin:0}
.scanbody-inspection footer input{width:100%;display:block;margin-top:10px}
.scanbody-inspection footer button{margin-left:auto}
@media(max-width:700px){.body-inspection-views{grid-template-columns:1fr;height:900px}.body-inspection-views section{border-right:0;border-bottom:1px solid #354c5c}.body-inspection-views section:last-child{border-bottom:0}.scanbody-inspection{padding:12px}}
#componentDialog .component-browser{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(280px,1.2fr);gap:18px;margin:20px 0;align-items:start}
#componentDialog .component-browser #componentGrid{grid-template-columns:1fr;margin:0;max-height:460px;overflow:auto}
#componentDialog .component-card.previewed{border-color:#5ee3cd}
#componentDialog .component-card button{margin:6px 8px 0 0}
#componentDialog .component-preview{background:#0b1723;border:1px solid #344f60;border-radius:8px;padding:16px;min-width:0}
#componentDialog .component-preview h3{margin:0;font-size:17px;overflow-wrap:anywhere}
#componentDialog .component-preview .hint{font-size:14px;margin:8px 0}
#componentDialog .component-preview-canvas{height:310px;position:relative;overflow:hidden}
#componentDialog .component-preview-canvas canvas{display:block;width:100%;height:100%;touch-action:none}
#componentDialog .component-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;color:#acbdcb}
@media(max-width:700px){#componentDialog .component-browser{grid-template-columns:1fr}#componentDialog .component-browser #componentGrid{max-height:240px}#componentDialog .component-preview-canvas{height:260px}}
#componentDialog .component-rename{margin-top:14px;padding-top:12px;border-top:1px solid #344f60}
#componentDialog .component-rename label{display:block;margin:0 0 8px}
#componentDialog .component-rename input{width:100%;margin-top:8px}
.alignment-report{width:min(1060px,94vw);box-sizing:border-box}.alignment-report h2{margin:0;font-size:1.35rem}.alignment-report-summary{font-size:1rem;line-height:1.6;margin:20px 0 8px;color:#edf7ff}.alignment-report>.hint{font-size:.875rem;line-height:1.5}.alignment-report-table{overflow-x:auto;margin-top:20px}.alignment-report table{width:100%;border-collapse:collapse;font-size:.9rem;text-align:left}.alignment-report th{color:#b5c8d8;font-weight:500;font-size:.875rem;background:#0d1824}.alignment-report th,.alignment-report td{padding:12px;border-bottom:1px solid #314557;vertical-align:top}.alignment-report td:first-child{min-width:150px;max-width:260px;overflow-wrap:anywhere}.alignment-report td:nth-child(n+2):nth-child(-n+4){font-variant-numeric:tabular-nums;text-align:center}.alignment-report td:nth-child(5){min-width:140px}.alignment-report td:last-child{min-width:140px}.alignment-report .hint{font-size:.8rem;margin:7px 0 0;line-height:1.5;color:#a8bdcf}.alignment-report td button{display:block;width:100%;margin-bottom:8px;font-size:.875rem;white-space:normal}.alignment-report .report-complete td:nth-child(5){color:#62dfcb}.alignment-report .report-attention td:nth-child(4),.alignment-report .report-attention td:nth-child(5){color:#ffce66}@media(max-width:600px){.alignment-report{padding:16px}.alignment-report th,.alignment-report td{padding:9px}.alignment-report h2{font-size:1.15rem}}
.scanbody-inspection{box-sizing:border-box}.body-deviation-legend{margin-top:16px;padding:14px 16px;background:#0b1621;border:1px solid #354c5c;border-radius:8px}.body-deviation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.body-deviation-heading strong{font-size:16px}.body-deviation-heading label{display:flex;align-items:center;gap:8px;font-size:14px;margin:0}.body-deviation-heading input{width:auto;margin:0}.body-deviation-gradient{height:18px;border-radius:4px}.body-deviation-ticks{display:flex;justify-content:space-between;margin-top:6px;font-size:14px;font-variant-numeric:tabular-nums}.body-deviation-legend p{margin:10px 0 0;font-size:13px;line-height:1.5;color:#b6c9d9}.body-deviation-legend [data-deviation-status]{color:#e4edf4}

.body-manual-adjustment{margin:12px 0;padding:12px;border:1px solid #3b5262;border-radius:8px;background:#132330}.body-manual-adjustment [hidden]{display:none!important}.body-manual-toolbar,.body-manual-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.body-manual-toolbar label{display:flex;align-items:center;gap:10px;margin:0;font-size:14px}.body-manual-toolbar select{width:auto}.body-manual-adjustment p{font-size:14px;line-height:1.5;margin:10px 0;color:#b6c9d9}.body-manual-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:12px 0}.body-manual-fields label{font-size:14px;margin:0}.body-manual-fields input{box-sizing:border-box;width:100%;margin-top:6px}.body-manual-actions .primary{margin-left:auto}.body-manual-adjustment button{font-size:14px;min-height:38px}@media(max-width:900px){.body-manual-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}

.scanbody-inspection[data-manual-editing] .body-inspection-views{height:clamp(360px,62vh,900px)}@media(max-width:700px){.scanbody-inspection[data-manual-editing] .body-inspection-views{height:750px}}

.body-inspection-display{display:flex;align-items:center;gap:12px;font-size:14px;margin:12px 0}.body-inspection-display select{width:auto;min-width:200px}.body-outline-controls{border:1px solid #354c5c;border-radius:8px;padding:10px 14px;margin-bottom:12px;background:#0b1621}.body-outline-controls p{font-size:14px;margin:0 0 10px;line-height:1.5}.outline-model-key{color:#e7b568}.outline-body-key{color:#57e1cb}.body-outline-depths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.body-outline-depths label{font-size:14px;margin:0}.body-outline-depths output{float:right;font-variant-numeric:tabular-nums}.body-outline-depths input{width:100%;margin:8px 0}.body-outline-controls button{font-size:14px;padding:6px 12px}.body-outline-empty{position:absolute;bottom:10px;left:8px;right:8px;font-size:13px;text-align:center;color:#b6c9d9;pointer-events:none}.scanbody-inspection [hidden]{display:none!important}@media(max-width:700px){.body-outline-depths{grid-template-columns:1fr}}

.scanbody-inspection[data-inspection-view="outline"] .body-inspection-views{height:clamp(360px,62vh,900px)}@media(max-width:700px){.scanbody-inspection[data-inspection-view="outline"] .body-inspection-views{height:750px}}

.body-inspection-toolbar{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.body-inspection-toolbar .body-inspection-display{margin:8px 0 12px}.body-inspection-views[data-single-view="true"]{grid-template-columns:1fr;height:clamp(400px,68vh,1000px)}.body-inspection-views[data-single-view="true"] section{border:0}.body-deviation-range{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 14px}.body-deviation-range label{display:flex;align-items:center;gap:10px;margin:0;font-size:14px}.body-deviation-range input[type="number"]{width:100px;margin:0}.body-deviation-range input[type="range"]{flex:1;min-width:150px;margin:0}.body-deviation-range button{white-space:nowrap}@media(max-width:700px){.body-inspection-toolbar{gap:0}.body-inspection-toolbar label{width:100%}.body-deviation-range{gap:10px}.body-deviation-range input[type="range"]{flex-basis:100%}.scanbody-inspection .body-inspection-views[data-single-view="true"]{height:65vh;min-height:360px}}

.scanbody-inspection > header{position:sticky;top:-16px;z-index:5;margin:-16px -16px 0;padding:16px;background:#101d29;min-height:76px;height:auto}.scanbody-inspection > header button{flex-shrink:0}

.body-inspection-options{display:flex;flex-wrap:wrap;gap:10px 18px;margin:8px 0 12px;padding:10px 14px;border:1px solid #354c5c;border-radius:8px;min-width:0}.body-inspection-options legend{padding:0 6px;font-size:14px}.body-inspection-options legend small{color:#acbdcb;margin-left:8px;font-size:12px}.body-inspection-options label{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;cursor:pointer}.body-inspection-options input[type="checkbox"]{width:17px;height:17px;margin:0;accent-color:#57e1cb;flex-shrink:0}.body-inspection-options input:disabled{opacity:1}@media(max-width:700px){.body-inspection-toolbar .body-inspection-options{width:100%}.body-inspection-options label{width:auto}}
.export-evaluation{padding:12px 14px;border:1px solid #354c5c;border-radius:8px;background:#0b1621}.export-evaluation a{color:#5ee3cd;text-decoration:underline;text-underline-offset:3px}.export-evaluation a:focus-visible{outline:2px solid #5ee3cd;outline-offset:3px}
.main-deviation{border-top:1px solid var(--border);margin-top:16px;padding-top:10px}.main-deviation>label.check{font-size:14px;align-items:flex-start}.main-deviation [data-controls]>label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px}.main-deviation input[type="number"]{width:90px}.main-deviation input[type="range"]{width:100%;accent-color:#5ee3cd}.main-deviation .body-deviation-ticks{font-size:12px;gap:3px}.main-deviation .body-deviation-gradient{height:16px;margin-top:12px}.main-deviation [hidden]{display:none}

.scanbody-name{display:inline-block;padding:5px 9px;margin:3px 4px 3px 0;font-size:12px;text-align:left;cursor:pointer}.scanbody-name[aria-pressed="true"]{color:#ffce66;border-color:#ffce66;background:#493c20;box-shadow:0 0 0 1px #ffce66}.scanbody-name:focus-visible{outline:2px solid #ffce66;outline-offset:2px}
