/* ============================================================
   IMPORT-PANEL.CSS - the one Import panel (Session 23, importV2)
   The panel host itself is .nav-import-panel (styles/glass.css); every
   selector here needs an ip- class (only js/import-panel.js makes them)
   or the topbar / Copilot card classes it adds, so the page is unchanged
   with the flag off.
   ============================================================ */
.ip-tabs { display: flex; gap: 4px; margin: 0 0 var(--space-3); border-bottom: 1px solid var(--border-subtle); }
.ip-tab { border: 0; background: transparent; color: var(--text-secondary); font-size: var(--text-sm); padding: 6px 12px; cursor: pointer; border-bottom: 2px solid transparent; }
.ip-tab.is-active { color: var(--text-primary); border-bottom-color: var(--accent); }
.ip-tab:focus-visible, .ip-drop:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ip-drop { border: 1.5px dashed var(--border-subtle); border-radius: 12px; padding: var(--space-4); text-align: center; cursor: pointer; margin-bottom: var(--space-3); }
.ip-drop:hover { border-color: var(--accent); }
.ip-drop-title { font-weight: 600; }
.ip-drop-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.ip-h { font-size: var(--text-md, 15px); margin: 0 0 6px; }
.ip-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ip-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--border-subtle); border-radius: 10px; }
.ip-row--refused { opacity: 0.75; }
.ip-tick { margin-top: 3px; }
.ip-main { flex: 1 1 auto; min-width: 0; }
.ip-name { font-weight: 600; font-size: var(--text-sm); overflow-wrap: anywhere; }
.ip-path { font-size: 11px; color: var(--text-muted); overflow-wrap: anywhere; }
.ip-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; font-size: 11px; }
.ip-kind { color: var(--text-secondary); }
.ip-chip { padding: 0 6px; border-radius: 6px; border: 1px solid var(--border-subtle); color: var(--text-secondary); }
.ip-chip--high { border-color: var(--success, #2e7d32); }
.ip-chip--low { border-color: var(--warning, #b26a00); }
.ip-chip--licensed { border-color: var(--accent); color: var(--accent); }
.ip-reasons, .ip-notes { margin: 2px 0 0; padding-left: 16px; font-size: 12px; color: var(--text-secondary); }
.ip-notes { color: var(--text-muted); }
.ip-side { flex: 0 0 auto; max-width: 46%; }
.ip-dest { font-size: 12px; max-width: 100%; }
.ip-dest.ip-low { border-color: var(--warning, #b26a00); }
.ip-dest-fixed { font-size: 12px; color: var(--text-muted); }
.ip-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: var(--space-3); position: sticky; bottom: 0; background: var(--bg-card, #fff); padding: 8px 0; }
.ip-result { font-size: var(--text-sm); margin-bottom: var(--space-3); padding: 8px 10px; border-radius: 8px; background: var(--bg-elevated, rgba(0, 0, 0, 0.03)); }
.ip-queue { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 12px; margin-bottom: var(--space-3); }
.ip-table { font-size: 12px; width: 100%; }
.ip-right { text-align: right; }
.ip-muted, .ip-empty { color: var(--text-muted); font-size: 12px; }
.ip-empty { text-align: center; padding: 16px; }
body.ip-dragging::after { content: 'Drop to import'; position: fixed; inset: 12px; z-index: 899; display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--accent); border-radius: 16px; background: rgba(59, 111, 224, 0.06); color: var(--accent); font-weight: 600; pointer-events: none; }
.copilot-import-card { margin: 6px 10px; padding: 10px; border: 1px solid var(--border-subtle); border-radius: 10px; background: var(--bg-card, #fff); font-size: 12px; }
.copilot-import-card__name { font-weight: 600; overflow-wrap: anywhere; }
.copilot-import-card__dest { margin-top: 2px; }
.copilot-import-card__why { color: var(--text-muted); margin-top: 2px; }
.copilot-import-card__acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .ip-row { flex-wrap: wrap; } .ip-side { max-width: 100%; flex-basis: 100%; } }
