.cloud-bar{max-width:1800px;margin:auto;padding:13px 28px;background:#f7fafc;border-bottom:1px solid #dfe6eb;display:flex;align-items:center;justify-content:space-between;gap:14px}.cloud-bar b{font-size:13px}.cloud-bar small{margin-left:16px;color:#6b8190;font-size:11px}.cloud-bar>div{display:flex;gap:8px}.cloud-bar button{font-size:12px;padding:7px 12px}#openPhoto{color:#fff;background:#087f9a;border-color:#087f9a}#stage{background:#eef2f7!important}.stage-bottom>span{background:#eef2f7c9;border-radius:4px;padding:3px 5px}.atom-label{border:1px solid #dce2e9;background:#fffffff0;color:#24364b}dialog{color:#19344c;border:1px solid #d5e0e6;border-radius:14px;padding:0;box-shadow:0 30px 100px #14294033;width:calc(100vw - 40px);max-height:92vh;background:white}dialog::backdrop{background:#18344c66;backdrop-filter:blur(3px)}dialog>header{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:22px 25px;border-bottom:1px solid #e2e8ee}dialog>header h2{font-size:19px}dialog>header p{font-size:12px;color:#6f8294;margin-top:5px}dialog>header>button{border:0;font-size:22px;line-height:1;padding:5px 8px;color:#607487}.photo-dialog{max-width:1080px}.photo-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:24px}.photo-inputs{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:13px}.photo-inputs button,.file-button{font-size:12px;padding:7px 10px}.file-button{display:inline-block;background:#087f9a;color:white;border-radius:6px;cursor:pointer}.file-button.secondary{background:#e8f2f5;color:#176b7e}.file-button input{display:none}.crop-wrap{background:#f1f5f8;border:1px dashed #bacbd6;border-radius:9px;position:relative;min-height:245px;overflow:hidden;display:flex;align-items:center;justify-content:center}.crop-wrap canvas{width:100%;height:auto;max-height:360px;object-fit:contain;touch-action:none;cursor:crosshair}.crop-wrap p{position:absolute;text-align:center;color:#79909f;font-size:13px;pointer-events:none}.crop-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:9px 0}.crop-actions button{font-size:11px;padding:5px 8px}.crop-actions small{font-size:10px;color:#79909f}.form-label{display:block;font-size:12px;font-weight:600;margin:14px 0 6px}dialog input:not([type=checkbox]),dialog textarea{width:100%;border:1px solid #ccd9e2;border-radius:6px;padding:9px 10px;background:white;color:#19344c;min-width:0}dialog textarea{font:12px/1.7 'Microsoft YaHei',sans-serif;resize:vertical}.primary{background:#087f9a;color:white;border:1px solid #087f9a;margin-top:13px;font-size:12px;padding:9px 16px}.primary:hover{background:#066b82;color:white}.form-help{font-size:11px;line-height:1.8;color:#738798;margin-top:8px}.result-empty{text-align:center;padding:65px 25px;color:#748b9c}.result-empty>span{font-size:66px;color:#b4cdd8;line-height:1.3}.result-empty h3{margin:15px 0 7px;color:#4c687c}.result-empty p{font-size:12px}.result-type{display:inline-block;padding:4px 9px;background:#e8f4ee;color:#21785a;font-size:11px;border-radius:4px;margin-bottom:10px}.result-title{font-size:20px;margin-bottom:10px}.result-evidence{font-size:12px;line-height:1.9;color:#536e80;margin:10px 0}.review-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.coordinate-editor{margin-top:14px;border:1px solid #d9e2e9;border-radius:6px;overflow:auto;max-height:260px}.coordinate-editor table{border-collapse:collapse;width:100%;font-size:11px}.coordinate-editor th{background:#f1f6f8;padding:6px;text-align:left}.coordinate-editor td{padding:3px;border-top:1px solid #edf1f4}.coordinate-editor input{padding:5px!important;font-size:11px;min-width:46px!important}.coordinate-editor button{font-size:10px;padding:4px}.check-confirm{display:flex;gap:9px;align-items:start;font-size:12px;color:#44687c;margin-top:15px}.check-confirm input{appearance:auto;width:auto;height:auto;margin-top:4px}.check-confirm input:after{display:none}.result-buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}.result-buttons .primary{margin:0}.small-dialog{max-width:520px}.small-dialog>section,.small-dialog>p,.small-dialog>a{margin:20px 25px}.small-dialog a{display:inline-block;font-size:12px;color:#087f9a;margin-bottom:24px}.small-dialog #keyStatus{font-weight:400;color:#22825b;font-size:10px}.small-dialog #loadVisionModels{font-size:11px;margin-top:8px}.shared-dialog{max-width:960px;padding-bottom:25px}.shared-dialog>.form-label,.shared-dialog>input,.shared-dialog>p{margin-left:25px;width:calc(100% - 50px)}.shared-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 25px}.shared-item{border:1px solid #dbe5ec;border-radius:8px;padding:14px;text-align:left}.shared-item strong{font-size:14px;display:block;margin:6px 0}.shared-item span{font-size:20px;color:#087f9a;font-family:Georgia,serif}.shared-item small{display:block;font-size:10px;color:#748b9c}.shared-item button{font-size:11px;margin-top:12px}.shared-item img{display:block;width:100%;height:90px;object-fit:contain;background:#f4f7f9;border-radius:4px}.shared-item p{font-size:11px;color:#698193}#draftBanner{border:1px solid #e2bc68;background:#fffaeb;padding:13px 15px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;font-size:12px}#draftBanner[hidden]{display:none}#draftSummary{font-size:11px;color:#8f7842;margin-top:4px}#draftBanner button{font-size:11px}#cameraBox video{width:100%;max-height:300px;background:#19344c;border-radius:8px}#recognitionStatus,#settingsStatus,#sharedStatus{font-size:12px;line-height:1.9;color:#187b98;min-height:1em;margin-top:12px}.error-text{color:#b94337!important}.cell-editor{font-size:11px}.cell-editor textarea{font-family:monospace}#ruleEditor{min-height:66px}dialog details{margin:12px 0}.note-box{background:#fff6e8;padding:10px;border-radius:5px;color:#8d6435;font-size:11px;margin:9px 0}@media(max-width:800px){.photo-columns{grid-template-columns:1fr;gap:18px;padding:18px}.cloud-bar{padding:10px 15px;flex-wrap:wrap}.cloud-bar>div{width:100%;gap:6px}.cloud-bar button{flex:1;padding:7px 6px;font-size:11px}.cloud-bar small{font-size:10px}.shared-grid{grid-template-columns:repeat(2,1fr)}dialog{width:calc(100vw - 20px)}dialog>header{padding:17px}.photo-dialog{max-height:95vh}dialog>header h2{font-size:16px}.result-empty{padding:25px}.small-dialog>section,.small-dialog>p,.small-dialog>a{margin:17px}.shared-grid{margin:15px;gap:8px}.shared-item{padding:10px}}@media(max-width:440px){.review-fields{gap:0 8px}.shared-item strong{font-size:12px}.shared-item span{font-size:17px}#draftBanner{align-items:start}.cloud-bar small{display:block;margin-left:0;margin-top:3px}}
.crop-wrap canvas{width:auto;max-width:100%;height:auto;max-height:360px}
.shared-dialog>input:not([type=checkbox]){width:calc(100% - 50px);margin-right:25px}
