*,:after,:before{box-sizing:border-box;margin:0;padding:0}:root{--bg:#f1f5f9;--surface:#ffffff;--surface-2:#f8fafc;--surface-3:#f1f5f9;--border:#e2e8f0;--text:#0f172a;--muted:#64748b;--accent:#16a34a;--accent-bg:#dcfce7;--accent-text:#15803d;--danger:#dc2626;--danger-bg:#fee2e2;--good:#16a34a;--good-bg:#dcfce7;--warn:#d97706;--warn-bg:#fef3c7;--sidebar-w:248px;--radius:12px;--shadow:0 1px 3px rgba(0,0,0,0.08),0 1px 2px rgba(0,0,0,0.04);--shadow-md:0 4px 6px rgba(0,0,0,0.05),0 2px 4px rgba(0,0,0,0.04)}body,html{min-height:100%}body{font-family:Inter,Helvetica Neue,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}a{text-decoration:none}a,button{color:inherit}button{font:inherit;cursor:pointer;border:none;background:none}input{width:100%;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;padding:10px 12px;font-size:14px}input:focus{outline:2px solid rgba(22,163,74,.25);border-color:var(--accent)}.dashboard-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-w) 1fr}.dashboard-shell__overlay{display:none}.dashboard-shell__main{min-width:0;display:flex;flex-direction:column}.dashboard-shell__content{padding:1.5rem;display:grid;grid-gap:1.25rem;gap:1.25rem;align-content:start}.dashboard-sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;padding:1.25rem .875rem;border-right:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;gap:0;overflow-y:auto}.sidebar-brand{display:flex;align-items:center;gap:.625rem;padding:.125rem .375rem 1.125rem;border-bottom:1px solid var(--border);margin-bottom:1.25rem}.sidebar-logo{width:2.1rem;height:2.1rem;border-radius:8px;background:var(--accent);display:grid;place-items:center;color:#fff;font-size:1.05rem;flex-shrink:0}.sidebar-brand-name{font-size:.925rem;font-weight:700;letter-spacing:-.02em;color:var(--text);line-height:1.25}.sidebar-brand-sub{font-size:.7rem;color:var(--muted);line-height:1.25}.sidebar-section-label{font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:0 .5rem;margin-bottom:.375rem}.sidebar-nav{display:flex;flex-direction:column;gap:.2rem;flex:1 1}.sidebar-link{display:flex;align-items:center;gap:.625rem;padding:.575rem .75rem;border-radius:8px;font-size:.875rem;font-weight:500;color:var(--muted);transition:background .12s ease,color .12s ease}.sidebar-link:hover{background:var(--surface-3);color:var(--text)}.sidebar-link[data-active=true]{background:var(--accent);color:#fff}.sidebar-link[data-active=true] .sidebar-link-icon{opacity:1}.sidebar-link-icon{flex-shrink:0;opacity:.7}.sidebar-link-label{flex:1 1}.sidebar-footer{margin-top:auto;padding-top:.875rem;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:.2rem}.dashboard-sidebar__identity{display:flex;align-items:center;gap:.625rem;padding:.625rem .75rem;border-radius:8px;margin-top:.375rem}.dashboard-sidebar__identity-mark{width:2rem;height:2rem;border-radius:50%;background:var(--accent-bg);color:var(--accent-text);display:grid;place-items:center;flex-shrink:0}.dashboard-sidebar__identity-label{font-size:.7rem;color:var(--muted)}.dashboard-sidebar__identity-value{font-size:.8rem;font-weight:600;color:var(--text);word-break:break-all}.dashboard-topbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;background:var(--surface);border-bottom:1px solid var(--border)}.topbar-welcome-title{font-size:1.3rem;font-weight:700;letter-spacing:-.03em;color:var(--text)}.topbar-welcome-sub{font-size:.75rem;color:var(--muted);margin-top:.1rem}.topbar-actions,.topbar-user{display:flex;align-items:center;gap:.5rem}.topbar-user{padding:.25rem .625rem .25rem .25rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);cursor:default;transition:background .12s ease}.topbar-user-avatar{width:1.875rem;height:1.875rem;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:.7rem;font-weight:700;flex-shrink:0}.topbar-user-name{font-size:.8rem;font-weight:600;color:var(--text);line-height:1.2}.topbar-user-role{font-size:.68rem;color:var(--muted);line-height:1.2}.topbar-bell-dot{position:absolute;top:.2rem;right:.2rem;width:.45rem;height:.45rem;border-radius:50%;background:var(--danger);border:1.5px solid var(--surface)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:2.1rem;height:2.1rem;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--muted);position:relative;transition:background .12s ease,color .12s ease}.icon-button:hover{background:var(--surface-3);color:var(--text)}.button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.25rem;padding:.5rem .875rem;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--muted);font-size:.875rem;font-weight:500;transition:background .12s ease,color .12s ease}.button:hover{background:var(--surface-3);color:var(--text)}.button--ghost{justify-content:center;width:100%;color:var(--danger);border-color:transparent;background:transparent}.button--ghost:hover{background:var(--danger-bg);color:var(--danger)}.dashboard-grid,.dashboard-page{display:grid;grid-gap:1rem;gap:1rem}.dashboard-grid--metrics,.dashboard-grid--support{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-grid--boards{grid-template-columns:1.1fr 1fr;align-items:start}.panel{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.panel--quiet{background:var(--surface-2);box-shadow:none}.panel__inner{padding:1.25rem;display:grid;grid-gap:1rem;gap:1rem}.panel__inner--compact{padding:1rem}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.panel-header__title{font-size:.95rem;font-weight:700;color:var(--text)}.panel-header__sub{font-size:.75rem;color:var(--muted);margin-top:.1rem}.panel-header__action{color:var(--muted);cursor:pointer;transition:color .12s}.panel-header__action:hover{color:var(--text)}.section-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.section-header__copy{display:grid;grid-gap:.25rem;gap:.25rem}.dashboard-sidebar__section-label,.dashboard-topbar__eyebrow,.section-header__eyebrow{color:var(--muted);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600}.section-header__title{font-size:clamp(1.1rem,1.8vw,1.5rem);font-weight:700;letter-spacing:-.03em;line-height:1.2;color:var(--text)}.section-header__description{color:var(--muted);font-size:.8rem;max-width:52rem}.metric-tile{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);padding:1.25rem;display:grid;grid-gap:.625rem;gap:.625rem}.metric-tile__top{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem}.metric-tile__label{font-size:.8rem;color:var(--muted);font-weight:500;display:flex;align-items:center;gap:.35rem}.metric-tile__value{font-size:clamp(1.4rem,2vw,1.85rem);font-weight:700;letter-spacing:-.04em;color:var(--text);margin-top:.25rem}.metric-tile__note{color:var(--muted);font-size:.75rem}.metric-tile__trend{display:inline-flex;align-items:center;gap:.3rem;border-radius:999px;padding:.25rem .6rem;font-size:.75rem;font-weight:600;flex-shrink:0}.metric-tile__trend[data-tone=good]{background:var(--good-bg);color:var(--good)}.metric-tile__trend[data-tone=danger]{background:var(--danger-bg);color:var(--danger)}.metric-tile__trend[data-tone=warn]{background:var(--warn-bg);color:var(--warn)}.metric-tile__trend[data-tone=neutral]{background:var(--surface-3);color:var(--muted)}.metric-tile__trend[data-tone=accent]{background:var(--accent-bg);color:var(--accent-text)}.metric-tile__meta-tag{display:inline-flex;align-items:center;gap:.3rem;border-radius:999px;padding:.2rem .55rem;font-size:.72rem;font-weight:500;background:var(--surface-3);color:var(--muted)}.metric-tile__meta{display:flex}.status-pill{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.25rem .6rem;font-size:.75rem;font-weight:600;background:var(--surface-3);color:var(--muted)}.status-pill[data-tone=good]{background:var(--good-bg);color:var(--good)}.status-pill[data-tone=danger]{background:var(--danger-bg);color:var(--danger)}.status-pill[data-tone=warn]{background:var(--warn-bg);color:var(--warn)}.status-pill[data-tone=accent]{background:var(--accent-bg);color:var(--accent-text)}.status-pill[data-tone=neutral]{background:var(--surface-3);color:var(--muted)}.status-pill__dot{width:.4rem;height:.4rem;border-radius:50%;background:currentColor}.ranked-table{width:100%;border-collapse:collapse}.ranked-table td,.ranked-table th{padding:.75rem .5rem;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle}.ranked-table tr:last-child td{border-bottom:none}.ranked-table th{color:var(--muted);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;background:var(--surface-2)}.ranked-table th:first-child{border-radius:var(--radius) 0 0 0}.ranked-table th:last-child{border-radius:0 var(--radius) 0 0}.ranked-table__rank{color:var(--muted);font-weight:700;font-size:.8rem}.ranked-table__value{font-weight:700;color:var(--text)}.ranked-table__primary{display:grid;grid-gap:.1rem;gap:.1rem}.activity-list__title,.ranked-table__title,.stack-list__title{font-weight:600;font-size:.875rem;color:var(--text)}.activity-list__description,.activity-list__time,.ranked-table__meta,.ranked-table__subtitle,.stack-list__meta,.stack-list__subtitle{color:var(--muted);font-size:.75rem}.stack-list{display:grid;grid-gap:.75rem;gap:.75rem}.stack-list__item{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--border)}.stack-list__item:last-child{border-bottom:none;padding-bottom:0}.stack-list__meta{display:grid;justify-items:end;grid-gap:.35rem;gap:.35rem}.activity-list{display:grid;grid-gap:.875rem;gap:.875rem}.activity-list__item{display:grid;grid-template-columns:auto 1fr;grid-gap:.875rem;gap:.875rem}.activity-list__rail{width:2px;border-radius:999px;background:currentColor;opacity:.4}.activity-list__content{display:grid;grid-gap:.2rem;gap:.2rem}.activity-list__meta,.activity-list__row{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.activity-list__time{font-size:.73rem}.progress-bar{height:.5rem;border-radius:999px;background:var(--surface-3);overflow:hidden;margin-top:.35rem}.progress-bar__fill{height:100%;border-radius:999px;background:var(--accent)}.health-list{display:grid;grid-gap:0;gap:0}.health-list__item{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem 0;border-bottom:1px solid var(--border)}.health-list__item:last-child{border-bottom:none}.health-list__label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text)}.health-list__dot{width:.5rem;height:.5rem;border-radius:50%;flex-shrink:0}.health-list__dot--good{background:var(--good)}.health-list__dot--danger{background:var(--danger)}.health-list__dot--warn{background:var(--warn)}.health-list__value{font-size:.875rem;font-weight:600;color:var(--text)}.topbar-menu-toggle{display:none}@media (max-width:1200px){.dashboard-grid--metrics,.dashboard-grid--support{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1000px){.dashboard-grid--boards{grid-template-columns:1fr}}@media (max-width:820px){.dashboard-shell{grid-template-columns:1fr}.dashboard-sidebar{position:fixed;inset:0 auto 0 0;width:min(18rem,88vw);transform:translateX(-100%);transition:transform .16s ease;z-index:30}.dashboard-sidebar[data-open=true]{transform:translateX(0)}.dashboard-shell__overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.3);opacity:0;pointer-events:none;transition:opacity .16s ease;z-index:20}.dashboard-shell__overlay[data-open=true]{opacity:1;pointer-events:auto}.dashboard-grid--boards,.dashboard-grid--metrics,.dashboard-grid--support{grid-template-columns:1fr}.topbar-menu-toggle{display:inline-flex}.topbar-user .topbar-user-name,.topbar-user .topbar-user-role{display:none}.activity-list__meta,.activity-list__row,.section-header,.stack-list__item{flex-direction:column;align-items:flex-start}}