.uom-query-card{width:min(980px,96vw);padding:0;overflow:hidden;background:linear-gradient(155deg,#0f172a 0%,#111827 60%,#0b1220 100%)}
.uom-query-card>.detail-head{padding:22px 24px 18px;margin:0;border-bottom:1px solid rgba(148,163,184,.18)}
.uom-query-head h3{margin:0 0 6px;font-size:22px;color:#f8fafc}
.uom-query-head p{margin:0;color:#94a3b8;line-height:1.55}
.uom-query-notice{display:flex;gap:12px;margin:18px 24px 0;padding:13px 15px;border:1px solid rgba(56,189,248,.26);border-radius:10px;background:rgba(14,165,233,.08);color:#cbd5e1;font-size:13px;line-height:1.55}
.uom-query-notice strong{flex:none;color:#7dd3fc}
.uom-query-tabs{display:flex;gap:6px;margin:20px 24px 0;padding:4px;border-radius:10px;background:#0b1220}
.uom-query-tabs button{flex:1;border:0;border-radius:7px;padding:10px 16px;background:transparent;color:#94a3b8;cursor:pointer;font-weight:600}
.uom-query-tabs button.is-active{background:#1e3a5f;color:#e0f2fe;box-shadow:inset 0 0 0 1px rgba(56,189,248,.24)}
.uom-query-panel{margin:16px 24px 0;padding:18px;border:1px solid #273449;border-radius:12px;background:rgba(15,23,42,.74)}
.uom-query-panel>label{display:block;margin-bottom:9px;color:#dbeafe;font-weight:600}
.uom-query-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.uom-query-input-row input,.uom-query-panel textarea{width:100%;box-sizing:border-box;border:1px solid #334155;border-radius:8px;background:#0b1220;color:#f8fafc;padding:11px 12px;outline:none}
.uom-query-input-row input:focus,.uom-query-panel textarea:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.12)}
.uom-query-panel textarea{min-height:122px;resize:vertical;line-height:1.55}
.uom-query-batch-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;color:#94a3b8;font-size:13px}
.uom-query-progress{margin:16px 24px 0;color:#93c5fd;font-size:13px;min-height:20px}
.uom-query-results{display:grid;gap:12px;margin:8px 24px 0;max-height:390px;overflow:auto;padding-right:3px}
.uom-query-empty{padding:40px 20px;text-align:center;border:1px dashed #334155;border-radius:12px;color:#64748b}
.uom-query-result{border:1px solid #2b3a50;border-radius:12px;background:#0b1220;overflow:hidden}
.uom-query-result.is-error{border-color:rgba(248,113,113,.45)}
.uom-query-result.is-not-found{border-color:rgba(251,191,36,.42)}
.uom-query-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-bottom:1px solid rgba(148,163,184,.13)}
.uom-query-result-head strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#f8fafc;word-break:break-all}
.uom-query-result-badge{flex:none;padding:4px 9px;border-radius:999px;background:rgba(34,197,94,.13);color:#86efac;font-size:12px}
.uom-query-result.is-not-found .uom-query-result-badge{background:rgba(245,158,11,.13);color:#fcd34d}
.uom-query-result.is-error .uom-query-result-badge{background:rgba(239,68,68,.13);color:#fca5a5}
.uom-query-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:rgba(148,163,184,.11)}
.uom-query-result-field{min-width:0;padding:11px 14px;background:#101827}
.uom-query-result-field span{display:block;margin-bottom:4px;color:#64748b;font-size:12px}
.uom-query-result-field b{display:block;color:#e2e8f0;font-size:13px;font-weight:500;word-break:break-word}
.uom-query-result-message{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;color:#94a3b8;font-size:12px;line-height:1.5}
.uom-query-retry{flex:none;padding:5px 9px;border:1px solid #ef4444;border-radius:6px;background:rgba(127,29,29,.22);color:#fecaca;cursor:pointer}
.uom-query-retry:hover,.uom-query-retry:focus-visible{border-color:#f87171;background:rgba(127,29,29,.42);outline:none}
.uom-query-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 24px 22px}
.uom-query-modal button:disabled{opacity:.55;cursor:not-allowed}
@media (max-width:720px){.uom-query-card>.detail-head{padding:18px}.uom-query-notice,.uom-query-tabs,.uom-query-panel,.uom-query-progress,.uom-query-results{margin-left:16px;margin-right:16px}.uom-query-notice{flex-direction:column;gap:4px}.uom-query-input-row{grid-template-columns:1fr}.uom-query-batch-actions{align-items:stretch;flex-direction:column}.uom-query-result-grid{grid-template-columns:1fr 1fr}.uom-query-footer{padding:16px}}
@media (max-width:460px){.uom-query-result-grid{grid-template-columns:1fr}}
