/* Add from email: the button on the map's pipeline sidebar and its panel (scripts/intake.js). */
#page-map { position: relative; }
#intake-open-btn { width: auto; margin: 0 0 0 8px; padding: 3px 9px; font-size: 11px; white-space: nowrap; }
#intake-panel { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 340px; max-width: calc(100% - 24px);
  max-height: calc(100% - 24px); overflow-y: auto; box-sizing: border-box; z-index: 1000; background: var(--surface);
  border: 1px solid var(--border2); border-radius: 10px; padding: 12px; font-size: 12px; color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
#intake-panel[hidden] { display: none; }
#intake-panel .ip-hdr { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
#intake-panel .ip-x { background: transparent; border: none; color: var(--muted); font-size: 18px; cursor: pointer; line-height: 1; }
#intake-panel .ip-drop { border: 1px dashed var(--border2); border-radius: 6px; padding: 4px; }
#intake-panel .ip-drop.over { border-color: var(--teal); }
#intake-panel textarea { width: 100%; box-sizing: border-box; resize: vertical; background: transparent; color: inherit; border: none; outline: none; font: inherit; padding: 4px; }
#intake-panel .ip-row { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; flex-wrap: wrap; }
#intake-panel .ip-row .bb-btn { width: auto; }
#intake-panel .ip-muted { color: var(--muted2); }
#intake-panel #intake-status { margin-top: 4px; }
#intake-panel .ip-pending { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 8px; }
#intake-panel .ip-pending summary { cursor: pointer; color: var(--muted2); }
#intake-panel .ip-item { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1px solid var(--border); }
#intake-panel .ip-item .ip-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#intake-panel .ip-item .bb-btn { width: auto; }
.intake-banner { background: rgba(255,212,59,0.12); border: 1px solid rgba(255,212,59,0.5); border-radius: 8px; padding: 10px 12px; }
.intake-warn { color: var(--coral); padding: 2px 0; }
#intake-panel .ip-filing { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 8px; }
#intake-panel .ip-filing-hdr { font-size: 10.5px; letter-spacing: .3px; text-transform: uppercase; color: var(--muted2); margin-bottom: 4px; }
#intake-panel .ip-file { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
#intake-panel .ip-fname { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#intake-panel .ip-sub { max-width: 150px; font-size: 11px; background: var(--surface); color: var(--text); border: 1px solid var(--border2); border-radius: 4px; }

/* "Pursued before?" choice (scripts/intake.js _intakeRepursueChoice) */
.ip-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ip-rp { background: var(--surface); border: 1px solid var(--border2); border-radius: 10px; padding: 18px 20px; max-width: 460px; width: 100%; color: var(--text); }
.ip-rp-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.ip-rp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.ip-rp-name { font-size: 13px; font-weight: 500; }
.ip-rp .ip-muted { font-size: 12px; color: var(--muted2); line-height: 1.45; }
.ip-rp-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.ip-rp-row .bb-btn { flex-shrink: 0; }
