:root{
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-synthesis:none;
  color-scheme:dark;
  color:#f7f6fb;
  background:#252526;
  --canvas:#100f15;
  --sidebar:#1b1b1d;
  --surface:#211f22;
  --surface-2:#27252b;
  --line:#302e35;
  --text:#f7f6fb;
  --muted:#a9a6b1;
  --blue:#7198fa;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px}
button,input,select{font:inherit}
button,select{cursor:pointer}
button:disabled{cursor:wait;opacity:.55}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,tr:focus-visible{outline:3px solid #93b0ff;outline-offset:3px}
a{color:inherit;text-decoration:none}
[hidden],.field[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shell{display:grid;grid-template-columns:84px minmax(0,1fr);width:min(1520px,calc(100% - 72px));min-height:calc(100vh - 104px);margin:52px auto;background:var(--canvas);border:1px solid #353239;border-radius:25px;overflow:hidden;box-shadow:0 32px 85px #09090b44}
.sidebar{background:var(--sidebar);display:flex;align-items:center;flex-direction:column;padding:24px 12px;position:sticky;top:0;height:calc(100vh - 104px);min-height:680px;border-right:1px solid #252428}
.brand{display:grid;place-items:center;width:52px;height:52px;margin:0 0 42px;border-radius:14px}
.brand-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f9f8fc;color:#131319}
.brand-icon svg{width:25px;height:25px}
.brand-icon.large{width:48px;height:48px;margin-bottom:24px}
.brand-icon.large svg{width:30px;height:30px}
.sidebar nav{width:100%;display:grid;gap:10px;justify-items:center}
.nav-link{width:50px;height:50px;display:grid;place-items:center;color:#aaa8b1;border-radius:15px;transition:background .2s,color .2s,transform .2s}
.nav-link:hover{background:#333138;color:white;transform:translateY(-1px)}
.nav-link.active{background:#f8f7fc;color:#17151d}
.nav-link svg,.icon-button svg,.search-box svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sidebar-bottom{display:grid;place-items:center;width:44px;height:44px;margin-top:auto;border-radius:14px;background:#302f33}
.status-dot{width:9px;height:9px;border-radius:50%;background:#79e6b0;box-shadow:0 0 0 5px #79e6b01c}
.content{padding:24px clamp(20px,2.25vw,34px) 30px;min-width:0}
.utility-bar{display:flex;align-items:center;gap:18px;min-height:46px;margin-bottom:35px}
.search-box{height:44px;width:min(295px,34vw);display:flex;align-items:center;gap:10px;padding:0 15px;background:#211f26;border:1px solid #29262f;border-radius:14px;color:#aaa7b2}
.search-box:focus-within{border-color:#8faafb}
.search-box svg{width:18px;height:18px;flex:none}
.search-box input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#f7f6fb;font-size:13px}
.search-box input::placeholder{color:#85818e}
.today-label{color:#d4d1da;font-size:12px;font-weight:650;white-space:nowrap}
.utility-right{margin-left:auto;display:flex;align-items:center;gap:10px}
.updated{font-size:11px;color:#8c8996;white-space:nowrap}
.demo-badge{background:#584627;color:#ffdb91;padding:8px 10px;border-radius:9px;font-weight:800;font-size:10px;letter-spacing:.07em;white-space:nowrap}
.icon-button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:13px;background:#25232a;color:#e8e5ef;cursor:pointer;transition:background .2s,transform .2s}
.icon-button:hover{background:#393642;transform:translateY(-1px)}
.profile-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(140deg,#7b9dfc,#4055b8);color:white;font-size:19px;font-weight:800}
.eyebrow{font-size:10px;font-weight:800;letter-spacing:.14em;color:#97aef1}
.topbar{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}
.topbar h1{font-size:clamp(28px,3vw,40px);letter-spacing:-.05em;line-height:1.14;margin:9px 0 7px;font-weight:700}
.topbar h1 span{color:#a29daa}
.topbar p{color:#9d9aa5;margin:0;font-size:14px;line-height:1.5}
.filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 18px}
.field{min-width:145px;display:flex;flex-direction:column;gap:6px}
.field:first-child{min-width:210px}
.field label{font-size:10px;color:#97939f;font-weight:700;letter-spacing:.05em}
.field select,.field input{height:41px;min-width:0;border:1px solid #302d37;border-radius:12px;background:#211f26;color:#eceaf3;padding:0 12px;font-size:12px}
.field select:hover,.field input:hover{border-color:#514d5c}
.notice{background:#252a3c;border:1px solid #445376;color:#d6e1ff;border-radius:12px;padding:13px 16px;font-size:13px;margin-bottom:17px;line-height:1.5}
.notice.error{background:#44282d;border-color:#824b52;color:#ffe4e6}
.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px;margin-bottom:16px}
.kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.kpi{min-height:158px;padding:18px 19px;border-radius:21px;background:var(--surface);display:flex;flex-direction:column;justify-content:space-between;min-width:0}
.kpi-featured{background:#f7f6fc;color:#1a1820}
.kpi-top{display:flex;align-items:start;justify-content:space-between;gap:10px}
.kpi-top>span:first-child{font-size:13px;font-weight:600;line-height:1.35}
.kpi-arrow{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#37353b;color:#f9f8ff;font-size:18px}
.kpi-featured .kpi-arrow{background:#2459d6}
.kpi strong{display:block;font-size:36px;letter-spacing:-.05em;line-height:1.05;margin-top:10px}
.kpi small{color:#aaa7b0;font-size:11px;line-height:1.3}
.kpi-featured small{color:#797681}
.panel{background:var(--surface);border-radius:21px;padding:20px 22px;min-width:0}
.panel-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:18px}
.panel h2{font-size:17px;letter-spacing:-.025em;margin:6px 0 0;font-weight:680}
.panel-meta{font-size:11px;color:#aaa6b0;white-space:nowrap}
.trend-panel{display:flex;flex-direction:column;min-height:330px}
.trend-panel .panel-heading{margin-bottom:10px}
.trend{display:flex;align-items:end;gap:5px;flex:1;min-height:235px;overflow-x:auto;padding:8px 0 0;background:repeating-linear-gradient(to top,transparent 0,transparent 47px,#ffffff0c 48px,#ffffff0c 49px);background-size:100% calc(100% - 25px);background-repeat:no-repeat}
.trend-item{min-width:25px;max-width:56px;flex:1;height:218px;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px;color:#9e9aa5;font-size:10px;text-align:center}
.bar-value{font-weight:700;color:#d7dff6;font-size:10px}
.bar-track{height:175px;width:min(100%,39px);display:flex;align-items:end}
.bar{width:100%;background:#7095f2;border-radius:9px 9px 5px 5px;min-height:6px;transition:height .25s,background .2s}
.trend-item:hover .bar{background:#9bb6ff}
.insights-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:16px;margin-bottom:16px}
.insight-panel{min-height:245px}
.class-summary{display:flex;align-items:center;gap:20px;min-height:142px}
.donut{width:125px;height:125px;flex:none;border-radius:50%;display:grid;place-items:center}
.donut-hole{width:75px;height:75px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--surface);font-size:10px;color:#a7a4ae}
.donut-hole strong{font-size:24px;line-height:1.1;color:#f7f6fc}
.class-legend{display:grid;gap:7px;flex:1;min-width:0}
.class-row{display:flex;align-items:center;gap:8px;font-size:11px;color:#d3d0da}
.class-row strong{margin-left:auto;color:#f9f8fc}
.legend-dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--class-color)}
.panel-footnote{color:#8f8b96;font-size:10px;margin:9px 0 0}
.rank-list{display:grid;gap:13px}
.rank-list.compact{gap:11px}
.rank-row{display:flex;gap:11px;align-items:start}
.rank-index{color:#85818d;font-size:11px;font-weight:800;padding-top:2px}
.rank-content{flex:1;min-width:0}
.rank-content>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#ccc9d2}
.rank-content>div:first-child span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-content strong{color:#f1eff6}
.rank-track{height:5px;border-radius:10px;background:#38353e;margin-top:7px;overflow:hidden}
.rank-track span{height:100%;background:#7a9cf1;display:block;border-radius:10px}
.empty{color:#a9a5b0;font-size:12px;padding:16px 2px;line-height:1.5}
.team-panel{margin-bottom:16px}
.connections-panel{margin-bottom:16px}
.connection-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0}
.connection-form label,.invite-result label{display:grid;gap:7px;font-size:11px;font-weight:700;color:#c9c5d0}
.connection-form label{flex:1;min-width:180px}
.connection-form input,.invite-result input{height:43px;border:1px solid #514b59;border-radius:10px;background:#1a1920;color:#f6f4fa;padding:0 12px;font-size:13px;min-width:0}
.connection-form .button{white-space:nowrap}
.invite-result{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:13px;border:1px solid #405078;background:#252b3e;border-radius:12px;margin:12px 0 18px}
.invite-result label{flex:1;min-width:220px}
.invite-result input{width:100%}
.invite-result .button{background:#343c55;color:#e9efff}
.verify-button{min-height:31px;padding:0 10px;background:#303c5a;color:#dce7ff;white-space:nowrap;font-size:11px}
.calls-panel{margin-bottom:12px}
.table-scroll{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:12px;min-width:570px}
th{text-align:left;color:#a49fae;font-weight:650;white-space:nowrap;padding:13px 12px;background:#29272b}
th:first-child{border-radius:10px 0 0 10px}
th:last-child{border-radius:0 10px 10px 0}
td{padding:14px 12px;border-bottom:1px solid #37343c;color:#c9c6d0;vertical-align:middle}
td strong{color:#f4f2f8;font-weight:650}
tr:last-child td{border-bottom:0}
tbody tr.clickable:hover{background:#302d38;cursor:pointer}
.score{background:#303c5a;color:#a7c0ff;font-weight:800;padding:6px 9px;border-radius:7px}
.badge{display:inline-flex;align-items:center;justify-content:center;font-size:10px;letter-spacing:.04em;font-weight:800;padding:6px 9px;border-radius:7px;min-width:62px}
.badge.verde{background:#21483c;color:#9ef0c1}
.badge.azul{background:#263b65;color:#a9c6ff}
.badge.naranja{background:#594329;color:#ffd696}
.badge.rojo{background:#603239;color:#ffb1b7}
.badge.gris{background:#3b3b43;color:#c9c7d0}
.muted{color:#a9a5b0;font-size:12px}
footer{color:#77737f;font-size:11px;padding:10px 2px}
dialog{border:1px solid #45414c;border-radius:19px;box-shadow:0 30px 90px #0009;width:min(760px,calc(100% - 28px));max-height:88vh;padding:25px;background:#211f26;color:#f5f3f8}
dialog::backdrop{background:#050408bf}
.dialog-header{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #3d3945;padding-bottom:15px}
.dialog-header h2{margin:6px 0 0;font-size:21px}
.dialog-meta{display:flex;align-items:center;gap:12px;padding:17px 0;color:#c2becb;font-size:13px;flex-wrap:wrap}
.dialog-summary{font-size:14px;line-height:1.6}
.audio-section{margin:19px 0 6px;padding:16px;background:#292730;border:1px solid #44404c;border-radius:13px}
.audio-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.audio-heading h3,.audio-section h3{margin:0 0 12px}
.audio-heading a{color:#a9c2ff;font-size:12px;font-weight:700;text-decoration:none}
.audio-heading a:hover{text-decoration:underline}
.audio-section audio{display:block;width:100%;min-height:40px}
.audio-section video{display:block;width:100%;max-height:440px;background:#0c0b10;border-radius:8px}
.dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
dialog h3{font-size:13px;margin:22px 0 10px}
dialog p,dialog li{font-size:13px;line-height:1.55}
dialog ul{padding-left:18px}
.evidence li{margin-bottom:13px}
.evidence li p{margin:3px 0}
.evidence blockquote{margin:7px 0;padding:9px 12px;background:#2d303e;border-left:3px solid #8ca9f4;color:#dadce9;font-size:12px;line-height:1.5}
.evidence small{color:#a29fad}
.button{border-radius:10px;min-height:43px;padding:0 16px;font-size:13px;font-weight:700;border:1px solid transparent;transition:background .18s,transform .18s;cursor:pointer}
.button:hover{transform:translateY(-1px)}
.button-primary{background:#6c92f4;color:#10121b}
.button-primary:hover{background:#93aeff}
.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at top right,#363447,#19181d 50%)}
.login-card{width:min(430px,100%);padding:38px;background:#211f26;border:1px solid #403c48;box-shadow:0 20px 60px #0005;border-radius:19px}
.login-card h1{font-size:27px;margin:10px 0}
.login-card p{color:#aaa6b3;font-size:13px;line-height:1.6}
.login-card form{display:grid;gap:10px;margin-top:25px}
.login-card label{font-size:12px;font-weight:700;color:#d0ccd8}
.login-card input{height:44px;border:1px solid #524c5b;border-radius:9px;padding:0 12px;background:#18171d;color:#f7f6fb}
.login-card .button{margin-top:6px}
.login-card .form-error{color:#ffabb2;margin:0}
@media(max-width:1120px){.overview-grid{grid-template-columns:1fr}.trend-panel{min-height:285px}.insights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-panel:first-child{grid-column:span 2}}
@media(max-width:760px){.shell{width:100%;margin:0;border:0;border-radius:0;min-height:100vh;grid-template-columns:1fr}.sidebar{height:66px;min-height:0;position:sticky;top:0;z-index:10;flex-direction:row;justify-content:space-between;padding:8px 15px;border-right:0;border-bottom:1px solid #302d36}.brand{margin:0;width:45px;height:45px}.sidebar nav{width:auto;display:flex;gap:5px}.nav-link{width:43px;height:43px;border-radius:12px}.sidebar-bottom{margin:0;width:35px;height:35px}.content{padding:20px 16px}.utility-bar{margin-bottom:26px;flex-wrap:wrap}.search-box{width:min(280px,100%);flex:1}.today-label{display:none}.updated{display:none}.topbar h1{font-size:29px}.filters{gap:9px}.field,.field:first-child{flex:1;min-width:calc(50% - 5px)}.insights-grid{grid-template-columns:1fr}.insight-panel:first-child{grid-column:auto}.dialog-grid{grid-template-columns:1fr}}
@media(max-width:470px){.kpis{gap:9px}.kpi{padding:15px;min-height:143px;border-radius:17px}.kpi strong{font-size:31px}.kpi-top>span:first-child{font-size:11px}.kpi-arrow{width:29px;height:29px;font-size:16px}.field,.field:first-child{min-width:100%}.panel{padding:17px}.search-box{width:100%}.utility-right{margin-left:0}.utility-bar{gap:8px}.trend-item{min-width:24px}.class-summary{gap:15px}.donut{width:111px;height:111px}.donut-hole{width:67px;height:67px}.profile-mark{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
