.workbench{grid-template-columns:minmax(285px,340px) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.calibration-workbench{grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr)}.inspection-workbench{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}.workspace-main{gap:1rem;min-width:0;display:grid}.panel{background:var(--paper);border:1px solid #cfd9cc;border-radius:10px;min-width:0}.panel h2{letter-spacing:-.041em;font-size:1.39rem}.panel-section{padding:1rem 1.02rem}.panel-section+.panel-section{border-top:1px solid var(--line)}.panel-section>h2{margin:0 0 .82rem}.control-heading,.panel-head{justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:.75rem;display:flex}.control-heading{min-height:30px}.panel-head p,.preview-bar p,.step-title p{color:var(--muted);margin-top:.2rem;font-size:.88rem}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.upload-box{background:#f2f5ed;border:1px dashed #a8bda7;border-radius:7px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.54rem .7rem;margin-bottom:.62rem;padding:.74rem;display:grid}.upload-box.has-file{border-style:solid}.file-symbol{color:#3c6246;background:#e1ebdd;border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.file-symbol i{border:1.3px solid;border-radius:2px;width:13px;height:16px;position:relative}.file-symbol i:after{content:"";background:currentColor;width:6px;height:1px;position:absolute;top:8px;left:2px;box-shadow:0 3px}.upload-text{gap:.02rem;min-width:0;display:grid}.upload-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.upload-text span,.mono-data{color:var(--muted);font-size:.78rem}.file-actions{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:.8rem;display:flex}.file-actions .quiet-button,.source-actions .quiet-button{font-size:.83rem}.file-picker{cursor:pointer;position:relative}.file-picker:focus-within{outline-offset:3px;outline:2px solid #527d48}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .62rem;display:grid}.field{color:var(--ink);gap:.28rem;min-width:0;font-size:.87rem;font-weight:600;display:grid}.panel-section>.field,.panel-section>.field-grid:not(:first-child),.control-details>.field-grid,.calibration-step>.field-grid{margin-bottom:.65rem}.field>span:first-child{line-height:1.3}.field input,.field select{width:100%;min-width:0;height:40px;color:var(--ink);background:#fdfdf8;border:1px solid #c4d1c2;border-radius:5px;padding:.44rem .58rem;font-size:.92rem;font-weight:500}.field select{appearance:none;background-image:linear-gradient(45deg,#0000 49%,#4c6a54 51%),linear-gradient(135deg,#4c6a54 49%,#0000 51%);background-position:calc(100% - 12px),calc(100% - 8px);background-repeat:no-repeat;background-size:4px 4px;padding-right:1.55rem}.number-input{display:block;position:relative}.number-input small{font:500 .76rem var(--mono);color:#56705a;pointer-events:none;position:absolute;top:50%;right:.6rem;transform:translateY(-50%)}.number-input:has(small) input{padding-right:2.12rem}.number-input input::-webkit-outer-spin-button,.number-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number-input input[type=number]{appearance:textfield}.check{color:#375342;align-items:center;gap:.42rem;min-height:23px;margin:.4rem 0 .62rem;font-size:.87rem;font-weight:550;line-height:1.3;display:flex}.check input{accent-color:#42664a;flex:none;width:15px;height:15px;margin:0}.control-details{border-top:1px solid #dce3d7;margin:.52rem 0 .68rem;padding-top:.46rem}.control-details[open] summary{margin-bottom:.58rem}.control-details summary{color:#345840;font-size:.86rem;font-weight:650}.control-details .field{margin-top:.25rem}.control-details>.button{margin-top:.6rem}.field-note{color:var(--muted);margin:.38rem 0;font-size:.83rem}.field-note a{font-weight:650}.source-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.segmented{white-space:nowrap;background:#edf1e8;border:1px solid #d3ddd1;border-radius:6px;gap:2px;padding:2px;display:inline-flex}.segmented button,.zoom-control button{color:#415b46;background:0 0;border:0;border-radius:4px;min-height:29px;padding:.22rem .47rem;font-size:.78rem;font-weight:650}.segmented button[aria-pressed=true]{color:#244733;background:#fffefa;box-shadow:0 1px 3px #38593c1d}.segmented button:hover,.zoom-control button:hover{background:#e3ecdf}.preview-panel{overflow:hidden}.preview-bar{border-bottom:1px solid #d2ded0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.55rem;min-height:65px;padding:.68rem 1rem;display:flex}.preview-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.44rem;display:flex}.zoom-control{background:#f1f4ec;border:1px solid #d2ddd1;border-radius:6px;padding:2px;display:flex}.zoom-control button:first-child,.zoom-control button:last-child{min-width:34px;font-size:1.05rem}.fit-control button,.zoom-control button{white-space:nowrap;min-height:34px}.zoom-control button:nth-child(2){min-width:47px;font:600 .74rem var(--mono)}.preview-stage{background-color:#dfe8da;background-image:linear-gradient(#47694a18 1px,#0000 1px),linear-gradient(90deg,#47694a18 1px,#0000 1px),linear-gradient(#47694a0f 1px,#0000 1px),linear-gradient(90deg,#47694a0f 1px,#0000 1px);background-position:50%;background-size:64px 64px,64px 64px,16px 16px,16px 16px;height:437px;min-height:255px;overflow:auto}.preview-stage.can-pan .preview-center{cursor:grab;user-select:none}.preview-stage.can-pan .preview-center:active{cursor:grabbing}.preview-center{place-items:center;width:max-content;min-width:100%;height:max-content;min-height:100%;display:grid}.preview-graphic canvas{outline:1px solid #bdcbbb;width:100%;height:auto;display:block;box-shadow:0 9px 24px #28482729}@media (pointer:coarse){.fit-control button,.zoom-control button{min-height:40px}.zoom-control button:first-child,.zoom-control button:last-child{min-width:40px}}.preview-empty{color:#365641;text-align:center;align-content:center;justify-items:center;gap:1rem;min-height:100%;padding:1rem;font-size:.95rem;display:grid}.empty-sheet{background:#fffcf3d6;border:1px solid #b4c7b4;border-radius:3px;place-items:center;width:96px;height:124px;display:grid;position:relative;transform:rotate(-7deg);box-shadow:0 8px 17px #2d4b3120}.empty-sheet i{border:1px dashed #9ab49a;width:67px;height:93px}.output-panel,.tile-panel,.inspector-panel,.calibration-step{padding:.92rem 1rem 1rem}.output-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.output-actions .button{white-space:nowrap}.metric-row{flex-wrap:wrap;gap:.55rem 1.6rem;margin:.55rem 0 .1rem;display:flex}.metric-row>div{gap:.13rem;min-width:70px;display:grid}.metric-row dt{color:var(--muted);font-size:.81rem}.metric-row dd{color:#274936;overflow-wrap:anywhere;margin:0;font-size:.92rem;font-weight:650}.notice{color:#32533d;background:#eaf2e3;border:1px solid #cbdcc8;border-radius:6px;margin:.58rem 0 .15rem;padding:.57rem .7rem;font-size:.88rem}.notice-error{color:#88351f;background:#fbede5;border-color:#eac2ae}.notice-warning{color:#684a23;background:#fbf3df;border-color:#dcc58f}.orientation-options{grid-template-columns:1fr 1fr;gap:.52rem;margin:.45rem 0 .65rem;display:grid}.orientation-choice{color:#46604d;background:#fbfcf7;border:1px solid #ccd8c9;border-radius:5px;flex-direction:column;align-items:flex-start;gap:.18rem;padding:.4rem .54rem;font-size:.79rem;display:flex}.orientation-choice[aria-pressed=true]{color:#31523a;background:#e8efe3;border-color:#94ad93}.orientation-choice strong{font-size:.86rem}.tile-overflow,.table-scroll{max-width:100%;overflow:auto}.tile-map{gap:.3rem;min-width:min-content;margin:.25rem 0;display:grid}.tile-map button{color:#32563c;font:600 .77rem/1.2 var(--mono);background:#eef4e9;border:1px solid #bdd0bc;border-radius:4px;min-height:34px;padding:.34rem .26rem}.tile-map button[aria-pressed=true]{color:#fff;background:#30523e;border-color:#30523e}.reference-preview{width:min(100%,190px);margin:.5rem 0}.pick-canvas{cursor:crosshair;border-radius:4px;width:100%;height:auto}.step-title{align-items:flex-start;gap:.65rem;margin-bottom:.75rem;display:flex}.step-title>span{color:#365640;width:30px;height:30px;font:700 .82rem var(--mono);background:#dfebd9;border-radius:50%;flex:none;place-items:center;display:grid}.calibration-step>.button{margin:.22rem 0 .4rem}.data-chip{font:600 .73rem/1 var(--mono);color:#325340;white-space:nowrap;background:#e6efe1;border:1px solid #c9dac7;border-radius:5px;padding:.42rem}.calibration-stage{place-items:center;height:382px;padding:1rem;display:grid}.calibration-paper{background:#fffefa;border:1px solid #bdccba;flex-direction:column;justify-content:center;align-items:flex-start;gap:.42rem;width:220px;height:309px;padding:20px;display:flex;box-shadow:0 10px 23px #2e4b2e34}.calibration-paper>span{font:700 .59rem var(--mono);letter-spacing:.15em;color:#41604c}.calibration-paper>b{font:650 1.25rem var(--display)}.calibration-paper>small{color:var(--muted);font-size:.7rem}.reference-square{aspect-ratio:1;border:1px solid #365340;place-items:center;width:140px;margin:.45rem 0;display:grid}.reference-square i{border:1px solid #365340;border-radius:50%;width:50%;height:50%}.profile-list{margin:0;padding:0;list-style:none}.profile-list li{border-top:1px solid #dce5d8;justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem 0;display:flex}.profile-list li>div:first-child{overflow-wrap:anywhere;min-width:0}.profile-list li p{color:var(--muted);margin:.13rem 0;font-size:.83rem}.data-table{border-collapse:collapse;text-align:left;color:#385742;width:100%;font-size:.87rem}.data-table th,.data-table td{white-space:nowrap;border-bottom:1px solid #dde6d9;padding:.48rem .44rem}.data-table th{color:#46624d;background:#f0f4ea;font-size:.78rem;font-weight:700}.data-table td:last-child{white-space:normal}.data-table .selected-row{background:#e9f0e4}.data-table .quiet-button{white-space:nowrap}.inspector-panel>h2{margin-bottom:.45rem}.inspector-panel .metric-row{margin-bottom:.55rem}.capitalize{text-transform:capitalize}@media (width<=1000px){.workbench{grid-template-columns:minmax(270px,310px) minmax(0,1fr)}.calibration-workbench,.inspection-workbench{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}.preview-stage{height:398px}}@media (width<=760px){.workbench,.calibration-workbench,.inspection-workbench{grid-template-columns:1fr;gap:.8rem}.workspace-main{gap:.8rem}.preview-stage{height:375px}.settings-panel{grid-template-columns:1fr 1fr;display:grid}.settings-panel .panel-section:first-child{grid-column:1/-1}.settings-panel .panel-section:nth-child(3){border-left:1px solid var(--line)}.output-panel .panel-head{align-items:flex-start}}@media (width<=530px){.settings-panel{display:block}.settings-panel .panel-section:nth-child(3){border-left:0}.preview-stage{height:325px}.preview-bar{min-height:57px;padding:.55rem .7rem}.preview-bar h2,.panel h2{font-size:1.22rem}.preview-bar p,.panel-head p{font-size:.8rem}.preview-actions{gap:.25rem}.preview-actions button{padding-inline:.31rem}.output-panel .panel-head{flex-wrap:wrap}.output-panel .output-actions{width:100%}.output-panel .output-actions>.button:last-child{flex:1}.tile-panel .panel-head,.inspector-panel .panel-head{align-items:flex-start}.data-table{font-size:.82rem}}
