*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #0f172a;--surface: #1e293b;--surface2: #334155;--border: #475569;--text: #e2e8f0;--text-dim: #94a3b8;--accent: #38bdf8;--danger: #ef4444;--success: #22c55e;--node-company: #4A90D9;--node-person: #E07B6A;--node-org: #F5A623;--node-case: #7ED321;--node-lawfirm: #E8A0BF;--edge-exec-role: #94a3b8;--edge-board-seat: #7dd3fc;--edge-invested-in: #86efac;--edge-revolving-door: #fbbf24;--edge-donated-to: #f472b6;--edge-lobbied-for: #c084fc;--edge-pac-of: #fb923c;--edge-party-to: #a78bfa}html,body{height:100%;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.5;overflow:hidden}#topbar{display:flex;align-items:center;gap:16px;padding:8px 16px;background:var(--surface);border-bottom:1px solid var(--border);height:52px;position:relative;z-index:100}.logo{font-weight:700;font-size:15px;color:var(--accent);white-space:nowrap}#search-container{position:relative;flex:1;max-width:480px}#search-input{width:100%;padding:6px 12px;background:var(--bg);border:1px solid var(--border);border-radius:6px;color:var(--text);font-size:14px;outline:none}#search-input:focus{border-color:var(--accent)}#search-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:6px;list-style:none;z-index:200;max-height:320px;overflow-y:auto}#search-dropdown li{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;cursor:pointer;gap:8px}#search-dropdown li:hover,#search-dropdown li.active{background:var(--surface2)}.result-name{font-weight:500}.result-sub{color:var(--text-dim);font-size:12px}#path-status{font-size:12px;color:var(--accent);white-space:nowrap}#workspace{display:flex;height:calc(100vh - 52px)}#controls-panel{width:220px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);padding:16px 12px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}#controls-panel h3{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);margin-bottom:4px}#controls-panel hr{border:none;border-top:1px solid var(--border);margin:8px 0}.edge-filter-label{display:flex;align-items:center;gap:8px;padding:4px 0;cursor:pointer;font-size:13px}.edge-filter-label input[type=checkbox]{accent-color:var(--accent);width:14px;height:14px;cursor:pointer}.edge-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.edge-exec_role{background:var(--edge-exec-role)}.edge-board_seat{background:var(--edge-board-seat)}.edge-invested_in{background:var(--edge-invested-in)}.edge-revolving_door{background:var(--edge-revolving-door)}.edge-donated_to{background:var(--edge-donated-to)}.edge-lobbied_for{background:var(--edge-lobbied-for)}.edge-pac_of{background:var(--edge-pac-of)}.edge-party_to{background:var(--edge-party-to)}#date-controls{display:flex;flex-direction:column;gap:6px}#date-controls label{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-dim)}#date-controls input[type=number]{width:80px;padding:4px 8px;background:var(--bg);border:1px solid var(--border);border-radius:4px;color:var(--text);font-size:13px}#graph-container{flex:1;position:relative;overflow:hidden}#graph-svg{width:100%;height:100%;display:block}#graph-overlay{position:absolute;bottom:12px;left:12px;display:flex;gap:12px;font-size:12px;color:var(--text-dim);pointer-events:none}#graph-overlay span{background:#0f172ab3;padding:3px 8px;border-radius:4px}#loading{position:absolute;top:12px;left:50%;transform:translate(-50%);background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:6px 16px;font-size:13px;color:var(--accent);pointer-events:none}#sidebar{width:320px;flex-shrink:0;background:var(--surface);border-left:1px solid var(--border);overflow-y:auto;padding:16px;position:relative;display:flex;flex-direction:column;gap:4px}#sidebar-close{position:absolute;top:12px;right:12px;background:none;border:none;color:var(--text-dim);font-size:20px;cursor:pointer;line-height:1;padding:4px}#sidebar-close:hover{color:var(--text)}.sidebar-type{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--accent)}.sidebar-name{font-size:17px;font-weight:700;margin-top:4px;margin-right:24px;line-height:1.3}.sidebar-ticker{color:var(--text-dim);font-size:13px;font-weight:600}.sidebar-domain a{color:var(--accent);font-size:13px;text-decoration:none}.sidebar-domain a:hover{text-decoration:underline}.sidebar-title{color:var(--text-dim);font-size:14px}.sidebar-company{font-size:13px;color:var(--text-dim);margin-top:2px}.sidebar-company strong{color:var(--text)}.sidebar-section{margin-top:12px;background:var(--bg);border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}.sidebar-subhead{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);margin-bottom:4px}.stat-row{display:flex;justify-content:space-between;font-size:13px}.stat-row span:first-child{color:var(--text-dim)}.stat-row span:last-child{font-weight:500}.sidebar-list{list-style:none;display:flex;flex-direction:column;gap:4px;margin-top:4px}.sidebar-list li{display:flex;align-items:center;gap:6px;font-size:12px;flex-wrap:wrap}.sidebar-list li strong{flex:1;min-width:0}.sidebar-list li span{color:var(--text-dim);font-size:11px}.sidebar-list.donations li{border-bottom:1px solid var(--border);padding-bottom:4px}.sidebar-list li.more{color:var(--text-dim);font-style:italic}.sidebar-actions{margin-top:16px;display:flex;flex-direction:column;gap:8px}.btn-primary,.btn-secondary,.btn-ghost{padding:8px 16px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;border:none;transition:opacity .15s;text-align:center}.btn-primary:hover,.btn-secondary:hover,.btn-ghost:hover{opacity:.85}.btn-primary{background:var(--accent);color:#0f172a}.btn-secondary{background:var(--surface2);color:var(--text);border:1px solid var(--border)}.btn-ghost{background:none;color:var(--text-dim);border:1px solid var(--border);font-size:12px}#reset-btn{width:100%;margin-top:4px}.party-d{color:#60a5fa}.party-r{color:#f87171}.dim{color:var(--text-dim)}.hidden{display:none!important}.loading-text,.error-text{color:var(--text-dim);font-size:13px;padding:16px 0}.error-text{color:var(--danger)}
