
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,sans-serif;background:#f4f6f8;color:#172033}
.topbar{min-height:150px;padding:28px 36px;background:linear-gradient(135deg,#31556a,#467b88 51%,#5c6b7e);color:#fff;display:flex;justify-content:space-between;gap:24px;align-items:center}
.eyebrow{margin:0 0 6px;font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;opacity:.82}
h1{margin:0;font-size:clamp(1.8rem,4vw,3rem)}
.subtitle{max-width:1000px;margin:8px 0 0;line-height:1.45;opacity:.92}
.actions{display:flex;gap:10px;flex-wrap:wrap}
button{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff;padding:10px 14px;border-radius:10px;font-weight:700;cursor:pointer}
.app-shell{padding:20px;display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px}
.sidebar{display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 205px);overflow:auto}
.panel{background:#fff;border:1px solid #dbe1e8;border-radius:16px;padding:16px;box-shadow:0 12px 30px rgba(23,32,51,.08)}
.panel h2{margin:0 0 12px;font-size:1rem}
label{display:block;font-weight:700;margin-bottom:8px}
input[type=search]{width:100%;padding:11px 12px;border:1px solid #dbe1e8;border-radius:10px;font:inherit}
.filters{display:grid;gap:8px}.filter-row{display:flex;gap:9px;align-items:center;font-size:.9rem}
.swatch{width:12px;height:12px;border-radius:50%}
.details-panel p,.details-panel li{line-height:1.5;color:#667085}
.details-title{font-weight:800;color:#172033}
.detail-badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#e8f0f3;color:#365e68;font-size:.78rem;font-weight:800}
.graph-wrap{position:relative;min-height:940px;background:#fff;border:1px solid #dbe1e8;border-radius:18px;box-shadow:0 12px 30px rgba(23,32,51,.08);overflow:hidden}
#cy{width:100%;height:940px}
.hint{position:absolute;left:16px;bottom:14px;background:rgba(255,255,255,.93);border:1px solid #dbe1e8;border-radius:999px;padding:8px 12px;color:#667085;font-size:.8rem}
footer{padding:16px 24px 24px;text-align:center;color:#667085;font-size:.83rem}
@media(max-width:900px){.topbar{flex-direction:column;align-items:flex-start}.app-shell{grid-template-columns:1fr}.sidebar{max-height:none}#cy,.graph-wrap{min-height:650px;height:650px}}
