/* 仅作用于无人机成果分析，保留主系统地图和模块样式。 */
.uap-panel { position:fixed; z-index:1100; top:76px; right:20px; bottom:20px; width:430px; max-width:calc(100vw - 24px); display:flex; flex-direction:column; background:#f4f8f7; border:1px solid #d8e6e1; border-radius:16px; overflow:hidden; box-shadow:0 12px 36px #102f3e35; color:#22372f; font:15px/1.55 "Microsoft YaHei","PingFang SC",sans-serif; }
.uap-panel[hidden] { display:none; }
.uap-panel *, .uap-draw-hint * { box-sizing:border-box; }
.uap-header { display:flex; align-items:center; justify-content:space-between; padding:18px 20px; color:white; background:linear-gradient(120deg,#176d59,#11a57b); }
.uap-header span { font-size:12px; opacity:.85; }
.uap-panel h2 { color:inherit; font-size:21px; font-weight:650; margin:2px 0 0; }
.uap-header button { background:#ffffff20!important; border-color:#ffffff40!important; color:white!important; width:34px; height:34px; line-height:24px!important; font-size:22px!important; padding:4px!important; }
.uap-steps { display:flex; justify-content:space-between; padding:12px 18px; background:white; font-size:12px; color:#8d9e96; border-bottom:1px solid #e2ece8; }
.uap-steps .is-active { color:#087e62; font-weight:600; }
.uap-body { flex:1; min-height:0; overflow:auto; padding:14px; overscroll-behavior:contain; }
.uap-card { padding:16px; margin:0 0 12px; background:white; border:1px solid #dfebe6; border-radius:11px; }
.uap-panel h3 { font-size:15px; font-weight:650; margin:0 0 12px; }
.uap-panel label { display:block; margin:10px 0 5px; font-size:13px; color:#53685d; }
.uap-panel select { width:100%; padding:9px 10px; background:white; border:1px solid #cfded6; border-radius:7px; font-size:14px; color:#243a30; }
.uap-panel button, .uap-draw-hint button { cursor:pointer; font:inherit; font-size:13px; padding:7px 10px; border:1px solid #cdded6; background:white; color:#176d59; border-radius:7px; }
.uap-panel button:hover:not(:disabled) { background:#e9f7f1; border-color:#0a9571; }
.uap-panel button:disabled { opacity:.45; cursor:not-allowed; }
.uap-panel button:focus-visible, .uap-panel select:focus-visible { outline:2px solid #008669; outline-offset:2px; }
.uap-meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:13px 0; color:#6a7a72; font-size:11px; text-align:center; }
.uap-meta b { font-size:16px; display:block; color:#243b31; font-variant-numeric:tabular-nums; }
.uap-actions { display:flex; gap:7px; flex-wrap:wrap; }
.uap-actions button { flex:1; white-space:nowrap; }
.uap-note { font-size:12px; line-height:1.7; color:#6e8077; margin:10px 0; overflow-wrap:anywhere; }
.uap-title { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.uap-title span { font-size:11px; color:#087e62; background:#e8f8f0; padding:3px 7px; border-radius:5px; white-space:nowrap; }
.uap-preview { height:180px; display:flex; align-items:center; justify-content:center; background:repeating-conic-gradient(#eaf0ed 0% 25%,#f8faf9 0% 50%) 50% / 18px 18px; border:1px solid #dfebe6; border-radius:7px; overflow:hidden; }
.uap-preview img { height:100%; max-width:100%; object-fit:contain; }
.uap-primary { text-align:center; padding:15px 0 9px; }
.uap-primary span { font-size:12px; color:#6a7a72; display:block; }
.uap-primary strong { display:block; font-size:32px; line-height:1.4; font-weight:650; color:#059674; font-variant-numeric:tabular-nums; }
.uap-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; text-align:center; font-size:11px; color:#728278; }
.uap-stats div { background:#f3f8f5; padding:7px 3px; border-radius:6px; }
.uap-stats b { display:block; color:#314a3d; font-size:14px; font-variant-numeric:tabular-nums; }
.uap-gradient { height:8px; border-radius:6px; background:linear-gradient(90deg,#5635ae,#268bd2,#20b7a6,#a6d96a,#148044); }
.uap-legend { margin:16px 0; }
.uap-legend>div:last-child { display:flex; justify-content:space-between; color:#73877b; font-size:11px; margin-top:5px; }
.uap-table { width:100%; border-collapse:collapse; font-size:12px; font-variant-numeric:tabular-nums; }
.uap-table caption { text-align:left; font-weight:600; padding:0 0 7px; color:#30493d; }
.uap-table th, .uap-table td { padding:7px 3px; border-bottom:1px solid #edf2ef; text-align:right; }
.uap-table th:first-child, .uap-table td:first-child { text-align:left; }
.uap-table th { font-weight:500; color:#728278; }
.uap-table i { display:inline-block; width:9px; height:9px; border-radius:2px; margin-right:5px; }
.uap-details { font-size:12px; color:#61776b; }
.uap-details summary { cursor:pointer; font-weight:600; }
.uap-details p { margin:10px 0 0; }
.uap-footer { background:white; padding:11px 17px 14px; border-top:1px solid #dce8e1; }
.uap-footer p { margin:0 0 8px; color:#6a7c71; font-size:12px; }
.uap-panel .uap-primary-button { width:100%; background:#079b76; color:white; border-color:#079b76; padding:10px; font-size:15px; }
.uap-panel .uap-primary-button:hover:not(:disabled) { background:#087e62; color:white; }
.uap-message { color:#945219; background:#fff7e8; border:1px solid #f1d4a4; padding:12px; margin-bottom:12px; border-radius:8px; font-size:13px; overflow-wrap:anywhere; }
.uap-message button { margin-top:8px; }
.uap-empty { padding:28px 15px; text-align:center; color:#71897c; }
.uap-draw-hint { position:fixed; z-index:2500; top:85px; left:50%; transform:translateX(-50%); max-width:95vw; padding:10px 14px; border-radius:9px; background:white; color:#243b31; box-shadow:0 3px 20px #0003; font:14px/1.6 sans-serif; }
.uap-draw-hint button { margin-left:10px; }
@media(max-width:800px) { .uap-panel { top:72px; right:8px; bottom:8px; width:390px; max-width:calc(100vw - 16px); } .uap-header { padding:12px 15px; } .uap-body { padding:10px; } .uap-card { padding:12px; } .uap-steps { padding:10px 12px; } }
