/* Cloud v0.3.51 — concise evidence timeline with keyboard-accessible markers */
#appShell .re351-panel{padding:18px 20px;margin:16px 0;border:1px solid var(--border,#344454);border-radius:14px;background:var(--card-bg,transparent);min-width:0}
#appShell .re351-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:14px}
#appShell .re351-header h2{font-size:19px!important;font-weight:800;margin:0 0 4px}
#appShell .re351-header p{font-size:12px;color:var(--muted,#8b9bad);margin:0;max-width:660px}
#appShell .re351-tools{display:flex;justify-content:flex-end;align-items:center;gap:9px;flex-wrap:wrap}
#appShell .re351-tools label{display:grid;gap:4px;font-size:11px;color:var(--muted,#8b9bad)}
#appShell .re351-tools select,#appShell .re351-tools button{height:34px;min-width:80px;background:var(--card-bg,#1a2939);color:inherit;border:1px solid var(--border,#41576c);border-radius:8px;padding:6px 9px;font-size:12px}
#appShell .re351-tools button{cursor:pointer}
#appShell .re351-status{font-size:12px;color:var(--muted,#8b9bad);margin:11px 0;min-height:20px}
#appShell .re351-plot{position:relative;min-width:0;max-width:100%;height:272px;background:var(--re-panel,rgba(100,140,170,.035));border:1px solid var(--border,#344454);border-radius:12px;overflow:hidden}
#appShell #re351Chart{position:absolute;inset:8px 8px 6px 8px}
#appShell #re351Chart svg{width:100%;height:100%;color:var(--muted,#98a9bb)}
#appShell #re351Markers{position:absolute;inset:9px 8px 6px 8px;pointer-events:none}
#appShell #re351Markers .re351-marker{pointer-events:auto;position:absolute;z-index:2;border:1px solid #629ac2;border-radius:50%;background:#1d536e;color:#fff;width:23px;height:23px;padding:0;font-size:11px;font-weight:700;transform:translateX(-50%);cursor:pointer;box-shadow:0 1px 4px #0005}
#appShell #re351Markers .re351-marker:focus-visible{outline:3px solid #ffd078;outline-offset:2px;z-index:4}
#appShell #re351Markers .re351-marker-note{background:#8b622d;border-color:#e1a443}
#appShell #re351Markers .re351-marker-seo_applied{background:#17654b;border-color:#35c193}
#appShell #re351Markers .re351-marker-seo_queued{background:#625c68;border-color:#a6a2b3}
#appShell .re351-caption{margin:9px 0;font-size:11px;color:var(--muted,#8b9bad)}
#appShell .re351-coverage{display:flex;gap:7px;flex-wrap:wrap}
#appShell .re351-cover-note{font-size:11px;line-height:1.5;background:var(--re-panel,rgba(104,136,159,.07));border:1px solid var(--border,#41576c);border-radius:8px;padding:6px 8px;color:var(--muted,#8b9bad)}
#appShell .re351-investigation{margin:16px 0 0;border:1px solid #37769e;border-radius:12px;padding:15px;background:var(--re-panel,rgba(23,51,75,.1));}
#appShell .re351-investigation[hidden]{display:none!important}
#appShell .re351-investigation header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
#appShell .re351-investigation h3{font-size:16px;margin:0}
#appShell .re351-investigation .re351-meta{color:var(--muted,#9bacbf);font-size:11px;margin:5px 0}
#appShell .re351-investigation p{font-size:12px;margin:9px 0;max-width:900px}
#appShell .re351-investigation button{border:1px solid var(--border,#41576c);border-radius:8px;background:transparent;color:inherit;padding:7px 11px;cursor:pointer;font-size:12px}
#appShell .re351-investigation .re351-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#appShell .re351-investigation .re351-fact{display:grid;gap:3px;min-width:0;padding:8px;border:1px solid var(--border,#41576c);border-radius:8px;overflow-wrap:anywhere}
#appShell .re351-fact span{font-size:11px;color:var(--muted,#9bacbf)}
#appShell .re351-fact strong{font-size:12px;font-weight:650}
#appShell .re351-overlaps{margin:2px 0;padding-left:20px;font-size:12px;grid-column:1/-1}
#appShell .re351-investigation .re351-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:12px}
#appShell .re351-investigation button[hidden]{display:none!important}
@media(max-width:780px){#appShell .re351-tools{justify-content:flex-start}#appShell .re351-plot{height:230px}#appShell .re351-investigation .re351-facts{grid-template-columns:1fr}#appShell .re351-panel{padding:12px}}

/* v0.4.93 read-only evidence status in existing Impact Timeline — no duplicate module */
#appShell .re493-evidence{margin:12px 0 14px;padding:12px;border:1px solid var(--border,#3c454f);border-radius:12px;background:var(--card-bg,#1e2024);color:inherit}
#appShell .re493-evidence-head{display:flex;gap:8px;flex-wrap:wrap;align-items:baseline;justify-content:space-between}
#appShell .re493-evidence-head strong{font-size:13px}
#appShell .re493-evidence-head span,#appShell .re493-note{font-size:11px;color:var(--muted,#a9b4c3)}
#appShell .re493-evidence-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:10px 0}
#appShell .re493-source{display:grid;gap:4px;background:var(--re-panel,rgba(112,130,146,.08));border:1px solid var(--border,#3c454f);border-radius:9px;padding:9px;min-width:0}
#appShell .re493-source strong{font-size:12px;overflow-wrap:anywhere}
#appShell .re493-source small{font-size:11px;line-height:1.4;color:var(--muted,#a9b4c3)}
#appShell .re493-state{font-size:11px;font-weight:700;color:var(--text,#f1f5f9)}
#appShell .re493-source[data-state="read_ok"] .re493-state{color:#36be95}
#appShell .re493-source[data-state="no_records"] .re493-state{color:inherit}
#appShell .re493-source[data-state="read_failed"] .re493-state,#appShell .re493-source[data-state="truncated"] .re493-state{color:#e5a449}
#appShell .re493-source[data-state="not_connected"] .re493-state,#appShell .re493-source[data-state="not_available"] .re493-state{color:var(--muted,#a9b4c3)}
#appShell .re493-note{margin:5px 0 0;line-height:1.5}
@media(max-width:650px){#appShell .re493-evidence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){#appShell .re493-evidence-grid{grid-template-columns:1fr}}

#appShell[data-theme="light"] .re493-source[data-state="read_ok"] .re493-state{color:#086c4f}
#appShell[data-theme="light"] .re493-source[data-state="read_failed"] .re493-state,#appShell[data-theme="light"] .re493-source[data-state="truncated"] .re493-state{color:#925b0b}
