/* Overview: Responsive portfolio dashboard, tag sidebar, accessible bars and overlap matrix. */
:root { color-scheme: dark; font-family: system-ui,sans-serif; color:#dce6f3; background:#080e19; }
* { box-sizing:border-box; } body { margin:0; } button,a { -webkit-tap-highlight-color:transparent; } button { font:inherit; cursor:pointer; } a { color:#7dd3fc; } :focus-visible { outline:2px solid #5eead4; outline-offset:3px; }
header { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:30px 32px; border-bottom:1px solid #243047; background:#0d1524; }
h1 { margin:4px 0 8px; font-size:30px; letter-spacing:-.8px; } h2 { font-size:17px; margin:0 0 10px; } p { margin:0; color:#9aabc3; line-height:1.5; font-size:13px; }.eyebrow { color:#5eead4; font-size:11px; letter-spacing:2px; }.galaxy-link { display:flex; align-items:center; justify-content:center; text-align:center; min-height:66px; background:#14283c; border:1px solid #32445c; border-radius:8px; padding:10px 12px; text-decoration:none; font-size:13px; }
.workspace { display:grid; grid-template-columns:254px minmax(0,1fr); } aside { padding:25px 18px; background:#0d1524; border-right:1px solid #243047; align-self:start; position:sticky; top:0; max-height:100vh; overflow:auto; }.filter-actions { display:flex; gap:8px; margin:15px 0; }.filter-actions button { border:1px solid #34465e; border-radius:6px; padding:6px 10px; color:#c9d8e9; background:#152236; font-size:12px; }.tag { display:flex; align-items:flex-start; gap:9px; padding:10px 0; font-size:12px; border-bottom:1px solid #1b293d; cursor:pointer; }.tag input { accent-color:#5eead4; }.tag span { flex:1; }.tag small { color:#8296af; font-variant-numeric:tabular-nums; }.note { font-size:11px; margin-top:18px; }
main { min-width:0; padding:24px; } #message { font-size:13px; color:#99bad3; margin-bottom:15px; } .metric-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; grid-auto-rows:1fr; } #metrics { display:contents; }.metric { min-height:66px; padding:10px 12px; background:#101d2e; border:1px solid #26364e; border-radius:10px; }.metric strong { display:block; font-size:22px; color:#f1f7ff; }.metric span { font-size:12px; color:#9caec4; }.method { margin:16px 0 22px; } #charts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }.chart { min-width:0; background:#101a2a; border:1px solid #26364e; border-radius:12px; padding:20px; }.chart > p { margin-bottom:20px; font-size:12px; min-height:36px; }.chart:last-child { grid-column:1/-1; }
.bar-row { display:grid; grid-template-columns:minmax(100px,46%) 1fr 32px; align-items:center; gap:9px; padding:6px 0; color:inherit; background:none; border:0; width:100%; text-align:left; font-size:11px; }.bar-track { height:11px; background:#1d2c40; border-radius:3px; overflow:hidden; }.bar-fill { display:block; height:100%; width:var(--width); background:var(--color,#5eead4); border-radius:3px; }.bar-count { text-align:right; font-variant-numeric:tabular-nums; }.empty { padding:25px 0; color:#93a8c2; }
.year-scroll,.matrix-scroll { overflow:auto; }.year-plot { display:flex; gap:5px; height:225px; align-items:flex-end; padding-top:24px; min-width:380px; }.year { flex:1; height:100%; display:flex; flex-direction:column; justify-content:flex-end; align-items:stretch; min-width:10px; }.year-stack { display:flex; flex-direction:column-reverse; height:var(--height); min-height:1px; }.year-segment { height:var(--height); background:var(--color); }.year-label { font-size:9px; color:#a1b4cc; writing-mode:vertical-rl; padding-top:7px; height:43px; }.legend { display:flex; flex-wrap:wrap; gap:8px 12px; margin-top:18px; font-size:10px; color:#afc0d4; }.legend i { display:inline-block; width:9px; height:9px; background:var(--color); margin-right:5px; }.year-total { font-size:9px; text-align:center; color:#c4d3e4; }
table { border-collapse:separate; border-spacing:3px; font-size:11px; width:100%; } th { text-align:left; font-weight:500; color:#b9cbe1; } thead th { height:155px; vertical-align:bottom; } thead th span { writing-mode:vertical-rl; transform:rotate(180deg); padding:6px; } tbody th { min-width:190px; } td { text-align:center; min-width:35px; height:35px; border-radius:3px; background:var(--cell); font-variant-numeric:tabular-nums; color:#edfaff; } td.zero { color:#667b96; }.error { color:#fda4af!important; }
@media(max-width:1100px) { .metric-row { grid-template-columns:repeat(2,minmax(0,1fr)); } #charts { grid-template-columns:1fr; } }
@media(max-width:700px) { header { padding:20px; align-items:flex-start; flex-direction:column; } .workspace { grid-template-columns:1fr; } aside { position:static; max-height:none; border-right:0; } #tags { display:grid; grid-template-columns:1fr 1fr; gap:0 12px; } main { padding:14px; } .metric-row { gap:7px; }.metric { padding:8px 10px; }.metric strong { font-size:20px; } }
