:root{color:#303133;font-synthesis:none;--primary:#409eff;--border:#dcdfe6;--muted:#909399;--text-primary:#303133;--text-regular:#606266;--border-light:#e4e7ed;--border-lighter:#ebeef5;--fill-light:#f5f7fa;--primary-light:#ecf5ff;--success:#67c23a;--warning:#e6a23c;--danger:#f56c6c;background:#f0f2f5;font-family:Helvetica Neue,Helvetica,PingFang SC,Microsoft YaHei,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}svg{flex-shrink:0;width:18px;height:18px}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.sidebar{border-right:1px solid var(--border-light);width:210px;color:var(--text-regular);z-index:10;background:#fff;flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid var(--border-light);height:60px;color:var(--text-primary);background:#fff;align-items:center;gap:10px;padding:0 20px;display:flex}.brand img{width:30px;height:30px}.brand>span{font-size:17px;font-weight:600}.brand b{margin-left:4px;font-size:14px;font-weight:400}.nav-caption{color:var(--muted);padding:25px 22px 13px;font-size:12px}nav{display:grid}nav button{color:var(--text-regular);text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:18px 22px;display:flex}nav button:hover{background:var(--fill-light)}nav button.active{background:var(--primary-light);color:var(--primary);box-shadow:inset 3px 0 var(--primary)}.source-link{justify-content:space-between;align-items:center;margin-top:auto;padding:18px 22px;font-size:12px;display:flex}.source-link:hover{color:var(--primary)}.source-link svg{width:14px}.sidebar-footer{border-top:1px solid var(--border-light);justify-content:space-between;margin:0 22px;padding:16px 0;font-size:12px;display:flex}.main-shell{flex-direction:column;min-height:100vh;margin-left:210px;display:flex}.topbar{border-bottom:1px solid var(--border-light);height:60px;color:var(--text-regular);background:#fff;flex-shrink:0;justify-content:space-between;align-items:center;padding:0 24px;display:flex}.topbar strong{color:var(--text-primary);font-weight:400}.breadcrumb{align-items:center;gap:12px;display:flex}.breadcrumb>[aria-hidden]{color:#c0c4cc}.local-badge{background:var(--primary-light);color:#337ecc;white-space:nowrap;border:1px solid #d9ecff;border-radius:4px;padding:4px 8px;font-size:12px}main{flex:1;width:100%;max-width:1800px;margin:0 auto;padding:24px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}h1{margin:0 0 8px;font-size:20px;font-weight:600}.page-heading p{color:var(--text-regular);margin:0;font-size:13px;line-height:1.7}.button{border:1px solid var(--border);white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 15px;font-size:13px;line-height:1;transition:background .15s,border-color .15s;display:inline-flex}.button svg{width:15px;height:15px}.outlined{color:var(--text-regular);background:#fff}.outlined:hover:not(:disabled){color:var(--primary);background:var(--primary-light);border-color:#c6e2ff}.primary{color:#fff;background:var(--primary);border-color:var(--primary)}.primary:hover:not(:disabled){background:#66b1ff;border-color:#66b1ff}.workspace-grid{grid-template-columns:minmax(0,1fr) 390px;align-items:start;gap:20px;display:grid}.panel{border:1px solid var(--border-light);background:#fff;border-radius:4px;min-width:0}.panel-heading{border-bottom:1px solid var(--border-lighter);justify-content:space-between;align-items:center;gap:10px;min-height:56px;padding:16px 20px;display:flex}.panel-heading>div{align-items:center;gap:10px;min-width:0;display:flex}.panel-heading h2{margin:0;font-size:15px;font-weight:500}.badge{color:#337ecc;background:var(--primary-light);white-space:nowrap;border:1px solid #d9ecff;border-radius:4px;padding:3px 7px;font-size:12px;line-height:18px;display:inline-block}.box-switch{color:var(--text-regular);white-space:nowrap;align-items:center;gap:5px;font-size:13px;display:flex}.box-switch input{width:14px;height:14px;accent-color:var(--primary);margin:0 3px 0 0}.image-stage{border:1px solid var(--border-lighter);background:var(--fill-light);border-radius:4px;justify-content:center;align-items:center;min-height:390px;margin:20px 20px 0;display:flex;position:relative;overflow:hidden}.image-stage.is-empty{border:1px dashed #c0c4cc}.image-stage.is-empty:hover,.image-stage.dragging{border-color:var(--primary);background:var(--primary-light)}.empty-upload{color:var(--text-regular);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:16px;width:100%;min-height:390px;padding:24px;display:flex}.empty-upload>svg{color:#a8abb2;stroke-width:1.2px;width:48px;height:48px;margin-bottom:8px}.empty-upload strong{font-size:14px;font-weight:400;line-height:1.8}.empty-upload strong>span{color:var(--primary)}.upload-hint{color:var(--muted);font-size:12px;line-height:1.7}.image-wrap{flex-shrink:0;max-width:100%;line-height:0;position:relative}.image-wrap>img{object-fit:contain;width:100%;height:100%;display:block}.image-wrap>svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.image-corner{color:#fff;background:#303133b3;border-radius:3px;padding:5px 8px;font-size:12px;position:absolute;top:12px;left:12px}.detection-box rect{fill:var(--primary);fill-opacity:.04;stroke:#69b5ff;stroke-width:1.5px;vector-effect:non-scaling-stroke}.detection-box text{fill:#fff;paint-order:stroke;stroke:#2469ae;stroke-width:6px;stroke-linejoin:round;font-family:Arial,sans-serif;font-size:22px;font-weight:600}.detection-box.selected rect{stroke:var(--warning);stroke-width:3px;fill:var(--warning);fill-opacity:.12}.image-toolbar{justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}#file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text-regular);font-size:13px;overflow:hidden}.demo-note{color:#73767a;background:#f4f4f5;border-radius:4px;align-items:flex-start;gap:7px;margin:0 20px 20px;padding:10px 12px;font-size:12px;line-height:1.7;display:flex}.demo-note svg{width:15px;height:17px;margin-top:1px}.inspector{gap:20px;min-width:0;display:grid}.settings-body{padding:20px}.field-label{color:var(--text-regular);margin-bottom:10px;display:block}select{border:1px solid var(--border);width:100%;min-height:40px;color:var(--text-regular);background:#fff;border-radius:4px;padding:7px 10px;font-size:13px}select:hover{border-color:#c0c4cc}.connection{color:#73767a;align-items:center;gap:7px;margin:10px 0 22px;font-size:12px;line-height:1.6;display:flex}.status-dot{background:var(--warning);border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.connection.connected .status-dot{background:var(--success)}.connection button{color:var(--muted);background:0 0;border:0;margin-left:auto;font-size:18px}.range-heading{color:var(--text-regular);justify-content:space-between;align-items:center;display:flex}.range-heading output{border:1px solid var(--border);text-align:center;font-variant-numeric:tabular-nums;border-radius:4px;min-width:56px;padding:4px 10px;font-size:13px}input[type=range]{appearance:none;background:linear-gradient(to right, var(--primary) var(--progress), var(--border-light) var(--progress));cursor:pointer;border-radius:3px;width:100%;height:6px;margin:18px 0 10px}input[type=range]::-webkit-slider-thumb{appearance:none;border:2px solid var(--primary);background:#fff;border-radius:50%;width:16px;height:16px}input[type=range]::-moz-range-thumb{border:2px solid var(--primary);background:#fff;border-radius:50%;width:12px;height:12px}.range-labels{color:var(--muted);justify-content:space-between;font-size:12px;display:flex}.field-help{color:var(--muted);margin:14px 0 20px;font-size:12px;line-height:1.7}.settings .primary{width:100%;min-height:36px}.error{color:var(--danger);background:#fef0f0;border-radius:4px;margin:14px 0 0;padding:10px;font-size:12px;line-height:1.7}.result-table-heading,.result-row{text-align:left;grid-template-columns:40px minmax(0,1fr) 72px;align-items:center;gap:8px;padding:12px 16px;font-size:13px;display:grid}.result-table-heading{background:var(--fill-light);color:var(--muted);font-size:12px}.result-table-heading>span:last-child{text-align:right}.result-row{border:0;border-bottom:1px solid var(--border-lighter);width:100%;color:var(--text-regular);background:#fff;min-height:46px}.result-row:hover{background:var(--fill-light)}.result-row.selected{background:var(--primary-light)}.result-row strong{text-align:right;font-variant-numeric:tabular-nums;font-weight:400}.result-label{overflow-wrap:anywhere}.result-help{color:var(--muted);margin:12px 0;padding:0 16px;font-size:12px}.results-footer{border-top:1px solid var(--border-lighter);justify-content:flex-end;gap:10px;padding:14px 16px;display:flex}.empty-results{text-align:center;flex-direction:column;align-items:center;padding:28px 16px 24px;display:flex}.empty-results>svg{color:#c0c4cc;stroke-width:1px;width:36px;height:36px;margin-bottom:16px}.empty-results strong{color:var(--muted);font-size:13px;font-weight:400}.empty-results p{color:var(--muted);margin:10px 0 0;font-size:12px;line-height:1.7}.workspace-note{color:var(--muted);margin:16px 0 0;font-size:12px}.page-footer{text-align:center;color:var(--muted);padding:20px 24px;font-size:12px}.text-button{color:var(--primary);background:0 0;border:0;align-items:center;gap:5px;padding:3px 0;font-size:13px;display:inline-flex}.text-button svg{width:14px}.text-button:hover{color:#79bbff}.toast{color:#529b2e;z-index:100;background:#f0f9eb;border:1px solid #d1edc4;border-radius:4px;max-width:90vw;padding:12px 20px;font-size:13px;line-height:1.6;position:fixed;top:24px;left:50%;transform:translate(-50%);box-shadow:0 2px 12px #00000015}.table-scroll{overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}th{background:var(--fill-light);color:var(--text-regular);font-weight:500}th,td{border-bottom:1px solid var(--border-lighter);white-space:nowrap;padding:14px 18px}td{color:var(--text-regular)}td:first-child{white-space:normal}td strong{overflow-wrap:anywhere;max-width:260px;font-weight:400;display:block}tbody tr:hover{background:var(--fill-light)}.history-empty{text-align:center;padding:70px 20px}.history-empty>svg{color:#c0c4cc;stroke-width:1px;width:48px;height:48px}.history-empty h2{color:var(--muted);margin-top:20px;font-size:15px;font-weight:400}.history-empty p{color:var(--muted);font-size:13px;line-height:1.8}.history-empty .button{margin-top:15px}.about-body{padding:20px}.about-body>p{color:var(--text-regular);margin:0 0 20px;line-height:1.8}.description-list{border-top:1px solid var(--border-lighter);border-left:1px solid var(--border-lighter);grid-template-columns:130px minmax(0,1fr);margin:0;font-size:13px;display:grid}.description-list dt,.description-list dd{border-right:1px solid var(--border-lighter);border-bottom:1px solid var(--border-lighter);margin:0;padding:14px 16px;line-height:1.8}.description-list dt{color:var(--text-regular);background:#fafafa}.description-list dd{color:var(--text-regular)}.about-links{gap:12px;margin-top:20px;display:flex}.scan-line{background:var(--primary);height:2px;animation:1.5s linear infinite scan;position:absolute;left:0;right:0}@keyframes scan{0%{top:0}to{top:100%}}@media (width>=1600px){.workspace-grid{grid-template-columns:minmax(0,1fr) 280px 370px}.inspector{display:contents}}@media (width<=1100px){.sidebar{width:190px}.main-shell{margin-left:190px}main{padding:20px}.workspace-grid{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.panel-heading,.settings-body{padding:16px}.image-stage{margin:16px 16px 0}.image-toolbar{padding:14px 16px}.demo-note{margin:0 16px 16px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.inspector{grid-template-columns:1fr 1fr;align-items:start;gap:16px}.image-stage,.empty-upload{min-height:300px}.results-footer{gap:8px;padding:12px}.results-footer .button{padding:8px 10px;font-size:12px}}@media (width<=650px){.sidebar{width:100%;height:auto;position:static}.brand{height:52px;padding:0 16px}.brand img{width:26px;height:26px}.nav-caption,.sidebar-footer,.source-link{display:none}nav{display:flex}nav button{flex:1;justify-content:center;gap:7px;padding:14px 6px;font-size:13px}nav button.active{box-shadow:inset 0 -2px var(--primary)}nav svg{width:16px;height:16px}.main-shell{min-height:calc(100vh - 98px);margin-left:0}.topbar{height:46px;padding:0 16px;font-size:12px}.local-badge{font-size:11px}main{padding:18px 12px}.page-heading{gap:12px;margin-bottom:16px}h1{margin-bottom:6px;font-size:18px}.page-heading p{font-size:12px}.page-heading>.button{padding:8px 12px;font-size:12px}.panel-heading{min-height:52px;padding:14px}.panel-heading h2{font-size:14px}.box-switch{font-size:12px}.image-stage{min-height:250px;margin:14px 14px 0}.empty-upload{gap:12px;min-height:250px;padding:20px 12px}.empty-upload strong{font-size:13px}.upload-hint{font-size:11px}.image-corner{font-size:11px;top:8px;left:8px}.image-toolbar{padding:14px}.image-toolbar .button{padding:8px 10px;font-size:12px}#file-name{font-size:12px}.demo-note{margin:0 14px 14px}.inspector{grid-template-columns:1fr}.results-footer .button{padding:8px 15px;font-size:13px}.page-footer{padding:16px 12px;font-size:11px}.description-list{grid-template-columns:82px minmax(0,1fr)}.description-list dt,.description-list dd{padding:10px;font-size:12px}.about-body{padding:14px}.history-empty{padding:55px 16px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.capability-banner{background:var(--primary-light);color:var(--text-regular);border:1px solid #d9ecff;border-radius:4px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;padding:14px 18px;font-size:13px;line-height:1.7;display:flex}.capability-banner strong{color:#337ecc;margin-bottom:3px;display:block}.capability-banner .button{flex-shrink:0}.image-stage.has-image{height:420px;min-height:0;display:block;overflow:auto}.image-wrap{max-width:none;margin:auto}.viewer-controls{flex-wrap:wrap;align-items:center;gap:10px;padding:12px 20px 0;display:flex}.viewer-controls .button{width:30px;min-height:28px;padding:4px}.viewer-controls output{text-align:center;font-variant-numeric:tabular-nums;min-width:42px;font-size:12px}.viewer-controls>span{color:var(--muted);margin-left:auto;font-size:12px}.viewer-controls .danger{margin-left:8px}.setup-link{text-align:center;color:var(--primary);margin-top:12px;font-size:12px;display:block}.results-summary{color:var(--text-regular);background:#fafafa;padding:10px 16px;font-size:12px;line-height:1.7}.export-options{flex-wrap:wrap;justify-content:flex-start;gap:8px}.export-options .button{padding:8px 10px;font-size:12px}.record-draft{border-top:1px solid var(--border-lighter);padding:12px 16px}.record-draft label{color:var(--text-regular);margin-bottom:8px;font-size:12px;display:block}textarea,input[type=search]{border:1px solid var(--border);color:var(--text-regular);line-height:1.5;font:inherit;background:#fff;border-radius:4px;max-width:100%;padding:8px 10px}textarea{resize:vertical;width:100%;font-size:13px}textarea:focus,input[type=search]:focus{outline:1px solid var(--primary);border-color:var(--primary)}.record-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.record-stats>div{justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.record-stats span{color:var(--muted);font-size:13px}.record-stats strong{color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:25px;font-weight:500}.history-filters{border-bottom:1px solid var(--border-lighter);flex-wrap:wrap;align-items:flex-end;gap:14px;padding:20px;display:flex}.history-filters label{color:var(--text-regular);gap:9px;font-size:13px;display:grid}.history-filters label:first-child{flex:1;min-width:180px}.history-filters select{min-width:130px;height:40px}.history-filters input{width:100%;height:40px}.history-filters .button{height:40px}.pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;font-size:12px;display:flex}.pagination>div{align-items:center;gap:12px;display:flex}.history-tools{justify-content:space-between;align-items:center;gap:16px;margin-top:16px;display:flex}.history-tools>span{color:var(--muted);font-size:12px}.danger{color:var(--danger)}.danger:hover{color:#f89898}.record-note{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:240px;margin-top:6px;display:block;overflow:hidden}.record-actions .text-button{margin-right:14px;font-size:12px}.badge.success{color:#529b2e;background:#f0f9eb;border-color:#e1f3d8}.badge.warning{color:#9c6f24;background:#fdf6ec;border-color:#faecd8}.record-dialog{border:1px solid var(--border-lighter);width:700px;max-width:calc(100vw - 32px);max-height:85vh;color:var(--text-primary);background:#fff;border-radius:5px;padding:0;box-shadow:0 12px 40px #0003}.record-dialog::backdrop{background:#0007}.dialog-body{padding:20px}.dialog-body h3{overflow-wrap:anywhere;margin:0 0 10px;font-size:16px}.dialog-body .demo-note{margin:16px 0}.detail-meta{color:var(--muted);font-size:12px;line-height:1.8}.dialog-label{color:var(--text-regular);margin:20px 0 10px;font-size:13px;display:block}.review-check{color:var(--text-regular);align-items:center;gap:8px;margin-top:14px;font-size:13px;display:flex}.review-check input{accent-color:var(--primary)}.guide-body{padding:24px}.guide-options{border-bottom:1px solid var(--border-lighter);grid-template-columns:1fr 1fr;gap:24px;padding-bottom:24px;display:grid}.guide-body h3{margin:0 0 12px;font-size:15px;font-weight:500}.guide-body p{color:var(--text-regular);font-size:13px;line-height:1.9}.guide-body pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--fill-light);border:1px solid var(--border-lighter);color:var(--text-primary);border-radius:4px;padding:16px;font-size:12px;line-height:1.8}.setup-steps{margin-top:24px;padding-left:20px}.setup-steps>li{margin-bottom:24px;padding-left:10px}.setup-steps summary{cursor:pointer;color:var(--text-regular);margin:12px 0;font-size:13px}.guide-body>.demo-note{margin:0 0 16px}.guide-body .button{margin-top:8px}#cancel-detection{margin:12px auto 0;display:block}@media (width<=1100px){.record-stats>div{padding:16px}.record-stats span{font-size:12px}.record-stats strong{font-size:23px}.viewer-controls{gap:8px;padding:12px 16px 0}}@media (width<=650px){.capability-banner{padding:12px;font-size:12px;display:block}.capability-banner .button{margin-top:10px}.image-stage.has-image{height:300px}.viewer-controls{padding:12px 14px 0;font-size:12px}.viewer-controls>span{flex-basis:50%;margin-left:0}.record-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.history-filters{gap:12px;padding:14px}.history-filters label:first-child{flex-basis:100%}.history-filters label:not(:first-child){flex:1}.history-filters select{min-width:0}.pagination{flex-wrap:wrap;padding:14px}.pagination>div{justify-content:flex-end;width:100%}.history-tools{align-items:flex-start;gap:12px}.history-tools>span{max-width:65%;line-height:1.6}.guide-options{grid-template-columns:1fr}.guide-body{padding:16px}.dialog-body{padding:14px}.record-dialog{max-width:calc(100vw - 20px)}nav button{gap:5px;padding:14px 4px;font-size:12px}nav button svg{width:14px}.export-options .button{padding:8px 10px;font-size:12px}.page-heading:has(#export-records){flex-direction:column;align-items:flex-start}}select,input[type=search],textarea{transition:border-color .15s}input[type=search]:hover,textarea:hover{border-color:#c0c4cc}.history-filters label,.record-draft label,.dialog-label{font-size:14px}.record-stats span,.record-note,.detail-meta,.pagination{color:var(--text-regular)}.record-stats>div{border-top:3px solid var(--border-light)}.record-stats>div:first-child{border-top-color:var(--primary)}.record-stats>div:nth-child(2){border-top-color:var(--warning)}.export-options{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.export-options .button{min-height:36px}.table-mobile-hint{display:none}#records-table table{min-width:920px}#records-table tbody tr{background:#fff}#records-table tbody tr:nth-child(2n){background:#fafafa}#records-table tbody tr:hover{background:var(--fill-light)}#records-table td:last-child,#records-table th:last-child{position:sticky;right:0;box-shadow:-5px 0 8px -6px #30313350}#records-table td:last-child{background:inherit}#records-table th:last-child{background:var(--fill-light)}.table-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.record-actions .text-button{min-height:32px}.record-dialog .panel-heading{z-index:2;background:#fff;position:sticky;top:0}.record-dialog .results-footer{z-index:2;background:#fff;position:sticky;bottom:0}@media (width>=1600px){.image-stage.has-image{height:480px}.settings-body{padding:18px}.connection{overflow-wrap:anywhere}.panel-heading{padding:16px}}@media (width<=650px){.sidebar nav .nav-caption{display:none}.sidebar nav button{min-height:48px}.button,.viewer-controls .button,.viewer-controls .text-button{min-height:40px}.history-filters .button{width:100%}.table-mobile-hint{color:var(--text-regular);background:var(--fill-light);border-bottom:1px solid var(--border-lighter);margin:0;padding:12px 14px;font-size:12px;display:block}#records-table table{min-width:850px}#records-table td:last-child,#records-table th:last-child{min-width:126px;padding:10px}.record-actions .text-button{min-height:40px;margin-right:8px}.record-actions .text-button:last-child{margin-right:0}.record-stats>div{padding:14px}.record-stats span{font-size:13px}.export-options .button{min-height:40px}.record-dialog .results-footer{padding-bottom:max(12px, env(safe-area-inset-bottom))}}.record-toolbar,#backup-tools,.task-shortcuts,.workspace-task-summary{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.record-toolbar{justify-content:flex-end}.page-heading:has(.record-toolbar){align-items:flex-start}.task-shortcuts{margin-bottom:18px}.task-shortcuts>span,.workspace-task-summary{color:var(--text-regular);font-size:13px}.task-shortcuts [aria-pressed=true]{background:var(--primary-light);color:#337ecc;border-color:var(--primary)}.workspace-task-summary{justify-content:space-between;margin:0 0 18px}.sample-details{border-top:1px solid var(--border-lighter);margin:16px 20px;padding-top:14px}.sample-details summary,.advanced-filters summary{cursor:pointer;color:var(--text-primary);font-size:14px;line-height:1.7}.sample-details summary span{color:var(--text-regular);font-size:12px;display:block}.sample-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.sample-fields label,.advanced-filters label{color:var(--text-regular);gap:8px;min-width:0;font-size:13px;display:grid}.sample-fields input,.advanced-filters input{border:1px solid var(--border);width:100%;min-width:0;height:40px;color:var(--text-regular);font:inherit;background:#fff;border-radius:4px;padding:8px 10px}.sample-fields input:hover,.advanced-filters input:hover{border-color:#c0c4cc}.sample-fields input:focus,.advanced-filters input:focus{border-color:var(--primary);outline:1px solid var(--primary)}.sample-time-source{color:var(--text-regular);margin:25px 0 0;font-size:12px;line-height:1.7}.advanced-filters{border-bottom:1px solid var(--border-lighter);padding:14px 20px}.advanced-filters .history-filters{border:0;padding:14px 0}.advanced-filters .field-help{margin:0}.followup-fields{border:1px solid var(--border-light);border-radius:4px;min-width:0;margin-top:24px;padding:14px}.followup-fields legend{color:var(--text-primary);font-size:14px}.dialog-body .sample-details{margin:18px 0}.dialog-body textarea{font-size:14px}.backup-table{max-height:45vh}.backup-table td{white-space:normal;overflow-wrap:anywhere;max-width:260px}.backup-table small{color:var(--text-regular);margin-top:6px;display:block}.backup-table select{min-width:140px}.backup-table th{position:sticky;top:0}#backup-error,#detail-error{overflow-wrap:anywhere}.comparison-body{white-space:normal;overflow-wrap:anywhere;background:var(--fill-light);min-width:180px;max-width:260px;max-height:240px;padding:8px;font-size:12px;overflow:auto}.comparison-body dt{margin-top:8px;font-weight:600}.comparison-body dd{margin:4px 0}.comparison-body dl{margin:0}@media (width<=900px){.page-heading:has(.record-toolbar){flex-direction:column}.record-toolbar{justify-content:flex-start}}@media (width<=650px){.sample-details{margin:14px}.sample-fields{grid-template-columns:1fr}.sample-time-source{margin:0}.advanced-filters{padding:14px}.advanced-filters .history-filters{grid-template-columns:1fr 1fr;display:grid}.advanced-filters .history-filters label{min-width:0}.record-toolbar .button{padding:9px 11px;font-size:12px}.task-shortcuts{gap:8px}.task-shortcuts>span{width:100%}.workspace-task-summary{line-height:1.8}}.inspection-dialog{width:min(1000px,100% - 32px)}.region-map{max-width:360px;margin:16px 0}.region-map svg{aspect-ratio:1000/650;border:1px solid var(--border-light);background:#f5f7fa;border-radius:4px;width:100%;height:auto;display:block}.region-map rect{fill:#409eff12;stroke:#337ecc;stroke-width:3px}.region-map text{fill:#1c5e9f;font:24px sans-serif}.region-map figcaption{color:var(--text-regular);margin-top:8px;font-size:12px}.region-review td{white-space:normal;vertical-align:top;min-width:110px}.region-review td:last-child{min-width:200px}.region-review input,.report-controls input{width:100%;height:40px;font:inherit;border:1px solid var(--border);border-radius:4px;margin-top:8px;padding:8px}.region-review{margin-top:24px}.region-review input:focus,.report-controls input:focus{outline:1px solid var(--primary)}.inspection-actions,.ai-actions,.ai-presets{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.inspection-actions{border-bottom:1px solid var(--border-light);padding:14px 20px}.inspection-actions span{color:var(--text-regular);font-size:12px}.compare-selectors,.compare-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.compare-selectors label{gap:8px;min-width:0;display:grid}.compare-columns section{min-width:0}.compare-columns h3{overflow-wrap:anywhere}.inspection-meta{grid-template-columns:100px minmax(0,1fr);gap:10px;font-size:13px;line-height:1.65;display:grid}.inspection-meta dt{color:var(--text-regular)}.inspection-meta dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.assistant-panel{border:1px solid var(--border-light);border-radius:4px;margin-top:24px;padding:16px}.assistant-panel summary{cursor:pointer;line-height:1.7}.assistant-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--fill-light);max-height:240px;padding:12px;font-size:12px;overflow:auto}.assistant-panel .dialog-label{margin-top:16px}.assistant-panel>details{margin:16px 0}#ai-text{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:16px;font-size:14px;line-height:1.8}#ai-answer{border-top:1px solid var(--border-light);margin-top:18px}.report-controls{background:var(--fill-light);margin-bottom:24px;padding:16px}.report-controls label{max-width:450px;margin-bottom:16px;display:block}.report-paper{color:#303133;overflow-wrap:anywhere}.report-paper table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:12px}.report-paper th,.report-paper td{white-space:normal;overflow-wrap:anywhere;border:1px solid #dcdfe6;padding:8px}.report-paper h1{font-size:22px}.report-paper h2{font-size:18px}.report-paper h3{font-size:16px}.report-record{border-top:1px solid #dcdfe6;padding:16px 0}.report-paper p{white-space:pre-wrap;line-height:1.7}@media (width<=650px){.compare-selectors,.compare-columns{grid-template-columns:1fr}.inspection-dialog{width:calc(100% - 20px)}.assistant-panel{padding:12px}.inspection-actions{padding:14px}.inspection-actions span{width:100%}}@media print{html:has(.report-dialog[open]){background:#fff}@page{size:A4;margin:14mm}body:has(.report-dialog[open]){background:#fff;height:auto;overflow:visible}body:has(.report-dialog[open])>:not(.report-dialog){display:none!important}.report-dialog[open]{width:auto;max-width:none;height:auto;max-height:none;box-shadow:none;border:0;margin:0;padding:0;position:static;overflow:visible;display:block!important}.report-dialog::backdrop{display:none}.report-dialog>.panel-heading,.report-controls{display:none!important}.report-dialog .dialog-body{max-height:none;padding:0;overflow:visible}.report-paper{font-size:10pt}.report-paper thead{display:table-header-group}.report-paper tr,.report-paper h2,.report-paper h3{break-inside:avoid}.report-paper h2,.report-paper h3{break-after:avoid}.report-paper .inspection-meta{display:block}.report-paper .inspection-meta dt{break-after:avoid;margin-top:5px;font-weight:700}.report-paper .inspection-meta dd{margin-bottom:4px}}@media screen{:root{--muted:#6f7b8b;--text-primary:#283548;--text-regular:#526075;--border:#d5dce6;--border-light:#e2e7ef;--border-lighter:#edf0f5;--fill-light:#f7f9fc;background:#f4f6f9}.sidebar{width:208px}.main-shell{margin-left:208px}.brand{gap:12px;height:72px}.brand>span{line-height:1.25}.brand small{color:var(--muted);letter-spacing:1px;margin-top:5px;font-size:11px;font-weight:400;display:block}.nav-caption{padding:24px 24px 10px}.sidebar nav button{border-radius:5px;margin:3px 12px;padding:14px 12px}.sidebar nav button.active{color:#2469ae;background:#ecf5ff;font-weight:600;box-shadow:inset 3px 0 #409eff}.sidebar nav button:hover{color:#2469ae}.source-link{color:var(--muted)}.topbar{height:56px;padding:0 28px}main{max-width:1800px;padding:26px 28px}h1{letter-spacing:.3px;margin-bottom:7px;font-size:23px}.page-heading{align-items:center;margin-bottom:22px}.page-heading p{color:var(--muted)}.page-actions{flex-shrink:0;gap:10px;display:flex}.button{border-radius:5px;min-height:38px;font-weight:500;line-height:1.3}.primary{background:#2874bd;border-color:#2874bd}.primary:hover:not(:disabled){background:#2266a8;border-color:#2266a8}.text-button{color:#256bb0}.text-button:hover{color:#174c80}.text-button.danger{color:#b94a48}.panel{border-radius:6px;box-shadow:0 1px 2px #26354803}.panel-heading{min-height:54px;padding:14px 18px}.panel-heading h2{align-items:center;gap:9px;font-weight:600;display:flex}.step-index{color:#657a92;font-variant-numeric:tabular-nums;background:#f0f4f8;border:1px solid #e4eaf1;border-radius:4px;padding:3px 5px;font-size:11px;font-weight:500}.capability-banner{background:#f0f6fd;gap:16px;margin-bottom:14px;padding:10px 14px}.capability-banner>div{align-items:baseline;gap:12px;display:flex}.capability-banner strong{flex-shrink:0;margin:0}.capability-banner .button{background:0 0;border-color:#c8d9ec;min-height:32px;font-size:12px}.workspace-task-summary{min-height:28px;margin-bottom:14px;font-size:12px}.workspace-grid,.inspector{gap:16px}.image-stage.is-empty,.empty-upload{min-height:310px}.image-stage.is-empty{background:#f8fafc;border-color:#cbd6e3}.empty-upload>svg{color:#718eac;width:42px;height:42px}.empty-upload strong{font-size:15px;font-weight:500}.image-toolbar{padding-top:14px;padding-bottom:14px}.settings-body{padding:18px}.connection{margin-bottom:18px}.field-help{color:#6b7788}.results-summary{color:#49627c;background:#f5f8fc}.result-row{padding:13px 16px}.result-row.selected{box-shadow:inset 3px 0 #409eff}.result-row strong{color:#2c5f91;font-weight:600}.results-footer{padding:14px 16px}.export-options #save{grid-column:1/-1}.export-options{grid-template-columns:repeat(3,minmax(0,1fr))}.record-draft textarea{min-height:64px}.sample-details{background:#f8fafc;border:1px solid #e7edf4;border-radius:5px;margin:10px 18px 16px;padding:12px}.sample-details summary{font-weight:500}.sample-details summary span{margin-left:8px;font-weight:400;display:inline}.sample-details .sample-fields{margin-top:16px}.demo-note{color:#647185;background:#f7f9fb;border:1px solid #e8edf3}.record-stats{border:1px solid var(--border-light);background:#fff;border-radius:6px;gap:0;margin-bottom:18px;overflow:hidden}.record-stats>.panel{border:0;border-right:1px solid var(--border-lighter);box-shadow:none;border-radius:0;padding:18px 22px}.record-stats>.panel:last-child{border-right:0}.record-stats strong{font-size:26px;font-weight:600}.record-stats>.panel:first-child strong{color:#2874bd}.record-stats>.panel:nth-child(2) strong{color:#a96b19}.history-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;display:flex}.history-section-heading h2{margin:0;font-size:15px;font-weight:600}.record-toolbar,#backup-tools{gap:8px}.record-toolbar .button{min-height:32px;padding:6px 10px;font-size:12px}.task-shortcuts{border-bottom:1px solid var(--border-light);gap:0;margin:0;padding:0 18px}.task-shortcuts .button{min-height:44px;color:var(--text-regular);background:0 0;border:0;border-radius:0;padding:12px 16px;box-shadow:inset 0 -2px #0000}.task-shortcuts [aria-pressed=true]{color:#2469ae;font-weight:600;box-shadow:inset 0 -2px #409eff}.task-shortcuts>span{color:var(--muted);margin-left:auto;font-size:12px}.history-filters{background:#fcfdfe;border:0;gap:14px;padding:18px}.history-filters label{gap:8px;font-size:13px}.history-filters .button{background:#fff}.advanced-filters{background:#fcfdfe;padding:0 18px 16px}.advanced-filters summary{color:#286fab;font-size:13px}.advanced-filters summary span{color:var(--muted);margin-left:8px;font-size:12px}#records-table td,#records-table th{padding:14px 18px}#records-table td:first-child strong{color:var(--text-primary);font-weight:600}#records-table th{color:#647185;background:#f5f7fa;font-size:12px}#records-table tbody tr:nth-child(2n){background:#fcfdfe}.record-note{color:#718095;line-height:1.6}.record-actions [data-details]{font-weight:600}.record-actions [data-delete]{color:#ad5755}.pagination{border-top:1px solid var(--border-lighter);padding:14px 18px}.storage-note{color:var(--muted);margin:14px 0 0;font-size:12px;line-height:1.7}.history-tools{margin-top:12px}.record-dialog{border-color:#dce4ee;border-radius:8px;box-shadow:0 16px 56px #20304726}.record-dialog::backdrop{background:#1b2e484d}#record-dialog[open]{flex-direction:column;width:1100px;height:min(840px,100dvh - 48px);max-height:calc(100dvh - 48px);display:flex;overflow:hidden}#record-dialog>.panel-heading{flex-shrink:0;min-height:62px;padding:14px 22px}#close-detail{min-height:32px;padding:6px 12px;font-size:12px}.detail-identity{flex-shrink:0;padding:16px 22px 12px}.detail-identity h3{overflow-wrap:anywhere;max-height:48px;margin:0 0 6px;font-size:18px;overflow:auto}.detail-identity p{color:var(--muted);overflow-wrap:anywhere;max-height:40px;margin:0;font-size:12px;line-height:1.6;overflow:auto}.detail-tabs{border-bottom:1px solid var(--border-light);flex-shrink:0;padding:0 22px;display:flex}.detail-tabs button{color:var(--text-regular);background:0 0;border:0;min-height:46px;padding:10px 18px;box-shadow:inset 0 -2px #0000}.detail-tabs button[aria-selected=true]{color:#2469ae;font-weight:600;box-shadow:inset 0 -2px #409eff}#record-dialog .detail-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:18px 22px;overflow:auto}#record-dialog .demo-note{margin:0 0 18px}.detail-footer{border-top:1px solid var(--border-light);background:#fff;flex-shrink:0}.detail-footer .results-footer{border:0;align-items:center;padding:14px 22px}.detail-save-state{color:var(--muted);margin-right:auto;font-size:12px}#record-dialog[data-dirty=true] .detail-save-state{color:#9b671e}#detail-error{max-height:68px;margin:10px 22px 0;overflow:auto}.region-review{margin:0}.region-review>h3{font-size:14px}.region-review>.field-help{margin:8px 0 14px}.region-layout{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:20px;display:grid}.region-layout .region-map{margin:0}.region-layout .table-scroll{border:1px solid var(--border-light);border-radius:5px}.region-review th,.region-review td{padding:12px}.region-review td{min-width:90px}.region-review td:last-child{min-width:175px}.region-review .record-note{white-space:normal;font-size:11px}.region-map figcaption{font-size:11px;line-height:1.7}#detail-panel-sample>.field-help,#detail-panel-followup>.field-help{margin:8px 0 20px}#detail-panel-sample .sample-fields{gap:22px;max-width:820px}.followup-fields,.assistant-panel{background:#fcfdff;margin:0;padding:18px}.assistant-panel>summary{font-weight:600}.assistant-panel .field-help{max-width:760px}.assistant-panel pre{border:1px solid var(--border-light);border-radius:5px}.compare-columns>section{border:1px solid var(--border-light);background:#fbfcfe;border-radius:5px;padding:16px}.compare-columns .region-map{max-width:280px}.guide-panel+.guide-panel{margin-top:20px}.guide-body{max-width:1100px}.page-footer{color:#788597;padding:22px}@media (width>=1600px){.workspace-grid{grid-template-columns:minmax(0,1fr) 280px 370px}}@media (width<=1100px) and (width>=651px){.sidebar{width:186px}.main-shell{margin-left:186px}main{padding:22px}.brand{padding:0 15px}.brand b{font-size:12px}.page-heading{flex-wrap:wrap}.task-shortcuts>span{width:100%;margin:0;padding:8px 16px}}@media (width<=900px){.region-layout{grid-template-columns:1fr;gap:14px}.region-layout .region-map{max-width:220px}.history-section-heading{align-items:flex-start}}@media (width<=650px){.sidebar{width:100%}.main-shell{margin-left:0}.brand{height:58px;padding:0 16px}.brand small{letter-spacing:0;margin-left:12px;font-size:10px;display:inline}.sidebar nav{padding:0 8px}.sidebar nav button{border-radius:0;min-height:46px;margin:0;padding:12px 4px}.sidebar nav button.active{box-shadow:inset 0 -2px #409eff}.topbar{height:40px;padding:0 16px}main{padding:20px 12px}h1{font-size:20px}.page-heading{flex-wrap:wrap;gap:14px;margin-bottom:16px}.page-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.page-actions .button{min-height:42px;padding:10px 8px}.button,.text-button{min-height:42px}.capability-banner>div{display:block}.capability-banner strong{margin-bottom:3px}.capability-banner .button{min-height:36px;margin-top:6px}.workspace-task-summary{gap:4px;margin-bottom:12px}.workspace-task-summary>span{font-size:11px}.workspace-task-summary .text-button{font-size:12px}.image-stage.is-empty,.empty-upload{min-height:230px}.empty-upload strong{font-size:13px}.panel-heading{padding:13px 14px}.step-index{padding:2px 4px;font-size:10px}.sample-details{margin:8px 14px 14px}.sample-details summary span{margin:3px 0 0;font-size:11px;display:block}.export-options .button{min-height:42px;padding:8px 6px}.record-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.record-stats>.panel{flex-direction:column;align-items:flex-start;gap:7px;padding:12px 10px}.record-stats>.panel span{font-size:11px}.record-stats strong{font-size:23px}.history-section-heading{gap:12px;padding:14px}.record-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%;display:grid}#backup-tools{display:contents}.record-toolbar .button{white-space:normal;min-height:40px;padding:6px 4px;font-size:11px}.task-shortcuts{padding:0 10px}.task-shortcuts .button{flex:1;padding:10px 5px;font-size:12px}.task-shortcuts>span{width:100%;margin:0;padding:8px 4px;font-size:11px}.history-filters{gap:12px;padding:14px}.advanced-filters{padding:0 14px 14px}.advanced-filters summary span{margin:4px 0 0;font-size:11px;display:block}.table-mobile-hint{display:none}#records-table .table-scroll{background:#f4f6f9;padding:12px;overflow:visible}#records-table table,#records-table tbody{width:100%;min-width:0;display:block}#records-table thead{display:none}#records-table tbody tr{border:1px solid var(--border-light);background:#fff;border-radius:6px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:12px;padding:14px;display:grid}#records-table tbody tr:last-child{margin-bottom:0}#records-table tbody tr:nth-child(2n){background:#fff}#records-table td{white-space:normal;overflow-wrap:anywhere;border:0;min-width:0;padding:0;font-size:12px}#records-table td:first-child{border-bottom:1px solid var(--border-lighter);grid-column:1/-1;padding-bottom:12px}#records-table td:first-child strong{max-width:none;font-size:14px}#records-table .record-note{white-space:normal;max-width:none}#records-table td:first-child .record-note{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}#records-table td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:7px;font-size:11px;display:block}#records-table td:last-child{box-shadow:none;border-top:1px solid var(--border-lighter);grid-column:1/-1;justify-content:flex-end;gap:16px;min-width:0;padding:4px 0 0;display:flex;position:static}.record-actions .text-button{min-height:42px;margin:0;padding:6px}#record-dialog[open]{border-radius:7px;width:calc(100% - 16px);max-width:none;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}#record-dialog>.panel-heading{min-height:54px;padding:10px 14px}.detail-identity{padding:12px 14px}.detail-identity h3{font-size:16px}.detail-identity p{font-size:11px}.detail-tabs{padding:0 8px}.detail-tabs button{flex:1;min-height:44px;padding:10px 4px;font-size:12px}#record-dialog .detail-scroll{scrollbar-gutter:auto;padding:14px}.detail-footer .results-footer{padding:10px 14px max(10px, env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.detail-footer .button{flex:1;min-height:42px}.detail-save-state{flex-basis:100%;font-size:11px}#detail-error{margin:8px 14px 0}.region-layout .region-map{max-width:200px;margin:0 auto}.region-layout .table-scroll{border:0;overflow:visible}.region-review table,.region-review tbody{display:block}.region-review thead{display:none}.region-review tr{border:1px solid var(--border-light);border-radius:5px;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;padding:12px;display:grid}.region-review td{overflow-wrap:anywhere;border:0;min-width:0;padding:0;display:block}.region-review td:last-child{grid-column:1/-1;min-width:0}.region-review td:before{content:attr(data-label);color:var(--muted);margin-bottom:7px;font-size:11px;display:block}.region-review input,.region-review select{min-height:42px}.followup-fields,.assistant-panel,.compare-columns>section{padding:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}}
