:root{--bg:#0c101a;--surface:#151c2a;--surface2:#1b2536;--line:#283347;--text:#eef2fb;--muted:#9caac0;--accent:#6485ff;--blue:#6485ff;--green:#49ce96;--red:#f18c99;--amber:#f2c16c;--radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth;color-scheme:dark}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a:focus-visible,button:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #95adff;outline-offset:4px}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:clamp(24px,2.2vw,32px);line-height:1.2;letter-spacing:-.035em;margin:6px 0 0}h2{font-size:17px;letter-spacing:-.015em;margin:0}h3{font-size:15px;margin:0}small{font-size:12px}.ui-icon{width:21px;height:21px;flex-shrink:0}button .ui-icon{pointer-events:none}.muted,.disclaimer{color:var(--muted)}.eyebrow{margin:0;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.08em}.eyebrow span{margin:0 7px;color:#576881}.disclaimer{font-size:12px;line-height:1.65;margin:12px 0 24px}
.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100dvh;padding:28px 16px 20px;border-right:1px solid var(--line);background:#101622;display:flex;flex-direction:column;z-index:40;overflow-y:auto}.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:0 10px 28px}.brand{display:flex;align-items:center;gap:11px}.brand>span:last-child{display:grid;gap:1px}.brand strong{font-size:20px;letter-spacing:-.04em}.brand small{font-size:10px;color:var(--muted);letter-spacing:.04em}.brand-mark{display:grid;place-items:center;width:38px;height:42px;background:#253661;border:1px solid #4562a5;border-radius:12px;color:#bed0ff;font-size:23px;font-weight:700}.sidebar nav{display:grid;gap:18px}.nav-group{border:0;margin:0}.nav-group>summary{display:flex;align-items:center;gap:9px;list-style:none;color:#bcc9dd;font-size:12px;font-weight:650;padding:10px;cursor:pointer}.nav-group>summary::-webkit-details-marker{display:none}.nav-chevron{margin-left:auto;transition:transform .2s}.nav-group[open] .nav-chevron{transform:rotate(180deg)}.nav-group>summary .ui-icon{width:18px;height:18px;color:#7e92b7}.nav-items{display:grid;gap:3px;margin-top:4px}.nav-items a{display:block;padding:10px 12px 10px 37px;border-radius:9px;color:var(--muted);font-size:13px;min-height:42px;border:1px solid transparent;white-space:normal!important}.nav-items a:hover{background:#1b2638;color:var(--text)}.nav-items a.active{color:#c5d3ff;background:#233354;border-color:#334875;box-shadow:none}.sidebar-footer{margin-top:auto;padding:35px 12px 0;color:#bdc9dc;font-size:11px}.sidebar-footer small{display:block;color:var(--muted);font-size:10px;margin:8px 0 0 16px}.secure-dot{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block;margin-right:9px}
main{padding:32px clamp(20px,3vw,48px) 24px;min-width:0;max-width:1900px;width:100%;margin:0 auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.actions{display:flex;align-items:center;gap:14px}.environment{display:inline-flex;align-items:center;border:1px solid #334250;background:#172730;color:#8ddbd4;border-radius:6px;font-size:9px;letter-spacing:.08em;font-weight:700;padding:5px 8px;white-space:nowrap}.environment:before{content:"";width:5px;height:5px;background:#77d7cc;border-radius:50%;margin-right:6px}.account-menu{position:relative;border:0;margin:0;z-index:45}.account-menu>summary{display:flex;align-items:center;gap:9px;font-size:12px;cursor:pointer;list-style:none;padding:0;min-height:44px}.account-menu>summary::-webkit-details-marker{display:none}.avatar{background:#25213f;color:#bfabfb;width:34px;height:34px;display:grid;place-items:center;border:1px solid #473866;border-radius:50%}.avatar .ui-icon{width:17px}.account-card{position:absolute;right:0;top:52px;width:340px;max-width:calc(100vw - 32px);background:#192232;border:1px solid #34415a;padding:22px;border-radius:14px;box-shadow:0 18px 50px #0009}.account-email{overflow-wrap:anywhere;margin:5px 0 20px;font-size:12px}.account-card .language-form{display:grid;grid-template-columns:1fr auto;gap:8px}.account-card label{grid-column:1/-1;font-size:12px;color:var(--muted)}.account-card form{margin:0}.account-card .logout-button{width:100%;justify-content:center;margin-top:16px}.workspace-footer{margin-top:40px;padding-top:20px;border-top:1px solid var(--line);font-size:11px;color:#788aa5}.workspace-footer span{margin:0 8px}
.button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border:1px solid #394760;border-radius:8px;background:#1d293c;color:var(--text);font-size:12px;font-weight:550;cursor:pointer;text-align:center;line-height:1.35}.button:hover,.icon-button:hover{background:#2b3a54;border-color:#536789}.button.primary{background:#5377ee;border-color:#7594ff;color:white;box-shadow:0 3px 8px #0002;font-weight:650}.button.primary:hover{background:#6386fc}.icon-button{width:44px;padding:9px}.button.subtle{background:transparent}.heading,.panel-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.panel-title{margin-bottom:18px}.heading p{margin:4px 0}.panel{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin-bottom:20px;min-width:0;box-shadow:0 5px 18px #0001}.panel h2{margin:0}.report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 22px}.report-toolbar p{margin:0;font-size:12px;color:var(--muted)}.report-toolbar .period{display:inline-flex;align-items:center;gap:8px;color:#cbd7ed;font-size:12px;background:#172033;border:1px solid var(--line);padding:8px 12px;border-radius:8px}.columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.chart-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:20px}.chart-columns>.panel{height:100%}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 14px}.section-heading p{margin:0;color:var(--muted);font-size:12px}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}.kpi-grid.six{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi{min-width:0;position:relative;padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.kpi.revenue{background:var(--surface);border-color:var(--line)}.kpi>span,.kpi>small{display:block;color:var(--muted);font-size:12px}.kpi>strong{display:block;font-size:clamp(22px,2vw,30px);font-weight:650;line-height:1.2;letter-spacing:-.04em;margin:12px 0}.metric-top{display:flex;align-items:center;gap:10px;min-height:32px}.metric-top>span:last-child{font-size:12px;color:#bdcbe0}.metric-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--chart-color,#6485ff) 14%,transparent);color:var(--chart-color,#6485ff);flex-shrink:0}.metric-icon svg{width:17px;height:17px}.metric-value{font-size:clamp(24px,2vw,31px);font-weight:700;line-height:1.2;letter-spacing:-.04em;display:block;margin:14px 0}.metric-bottom{display:flex;align-items:end;justify-content:space-between;gap:8px;min-height:34px}.metric-note{font-size:10px;color:var(--muted);margin:9px 0 0}.delta{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;border-radius:5px;padding:3px 7px;font-size:11px;font-weight:650;line-height:1.25;background:#242e40;color:#acbbd2}.delta.positive{background:#193a30;color:#75e3ad}.delta.negative{background:#3a222d;color:#ffacb7}.sparkline{width:96px;height:34px;flex-shrink:0;color:var(--chart-color,#6485ff)}.sparkline polyline{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.sparkline polygon{fill:currentColor;opacity:.1}
.chart{--chart-color:#6485ff}.chart-top{display:flex;align-items:start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.chart-top p{font-size:11px;color:var(--muted);margin:4px 0 0}.chart-tabs{display:flex;flex-wrap:wrap;gap:4px;background:#1d283b;border-radius:8px;padding:4px}.chart-tabs button{border:0;border-radius:5px;color:var(--muted);background:transparent;font-size:11px;padding:7px 10px;min-height:34px}.chart-tabs button[aria-selected=true]{color:white;background:#5377ee;box-shadow:0 2px 5px #0003}.chart-svg{width:100%;height:230px;display:block;overflow:visible}.chart-svg text{fill:#9aaac2;font-size:11px}.chart-grid{stroke:#2b3548;stroke-width:1;stroke-dasharray:3 4}.chart-line{stroke:var(--chart-color);stroke-width:2.5;fill:none;stroke-linejoin:round;stroke-linecap:round}.chart-area{fill:var(--chart-color);opacity:.09}.chart-point{fill:var(--chart-color);stroke:#151c2a;stroke-width:2}.chart-point:focus{outline:none;stroke:white;stroke-width:3}.chart-dates{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;margin:12px 0 0 42px}.chart-empty{display:grid;place-items:center;min-height:180px;color:var(--muted);text-align:center}.chart-table{font-size:11px;margin-top:14px}.chart-table>summary{color:var(--muted);padding:8px 0;cursor:pointer}.series-key{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.series-key:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--chart-color)}
.breakdown-list{display:grid;gap:18px}.breakdown-item p{display:flex;justify-content:space-between;gap:15px;margin:0 0 8px;font-size:12px}.breakdown-item p span{color:#c0cee1}.breakdown-item p b{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.breakdown-item p small{color:var(--muted);font-weight:400;margin-left:6px}.bar-track{height:6px;border-radius:20px;background:#222e41;overflow:hidden}.bar-fill{height:100%;border-radius:20px;background:var(--chart-color,#6485ff)}.donut-layout{display:flex;align-items:center;gap:26px;margin:20px 0}.donut{position:relative;width:156px;height:156px;flex-shrink:0}.donut svg{width:100%;height:100%;transform:rotate(-90deg)}.donut-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut-center strong{font-size:22px;letter-spacing:-.03em}.donut-center small{font-size:10px;color:var(--muted)}.donut-legend{display:grid;gap:10px;width:100%;font-size:12px}.legend-row{display:grid;grid-template-columns:8px 1fr auto;gap:8px;align-items:center}.legend-dot{width:7px;height:7px;border-radius:2px;background:var(--chart-color)}.legend-row small{color:var(--muted);font-size:11px}.legend-row b{font-size:12px;font-weight:550;white-space:nowrap}.summary-list{display:grid;gap:0;margin-top:16px}.summary-list p{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.summary-list p:last-child{border:0}.summary-list span{color:var(--muted)}
table{width:100%;border-collapse:collapse;margin:0;font-size:12px}th,td{padding:15px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;white-space:nowrap}th{color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.03em;background:#172031}tbody tr:last-child>td{border-bottom:0}tbody tr:hover{background:#1b253644}td strong{font-weight:600}.table-wrap{overflow:auto;max-width:100%;border-radius:10px}.table-wrap:focus-visible{outline:2px solid var(--blue)}.table-wrap .button{min-height:34px;font-size:11px;padding:7px 11px}.empty{padding:30px;text-align:center;color:var(--muted)}.badge{padding:5px 9px;color:#aebed6;border:1px solid var(--line);border-radius:6px;font-size:11px;white-space:nowrap}.alert{padding:15px 18px;margin:16px 0;border:1px solid #8e4553;border-radius:10px;background:#34222c;color:#ffc0c5;line-height:1.65}code{color:#b7c8ef;overflow-wrap:anywhere}details.panel{padding:0}details.panel>summary{padding:20px 24px;font-weight:600;cursor:pointer}details.panel[open]>summary{border-bottom:1px solid var(--line)}details.panel>form,details.panel>p{margin-left:24px;margin-right:24px}details.panel>form{margin-bottom:24px}td details{margin-top:12px}td summary{cursor:pointer;color:#b3c7f4}td details form{min-width:220px}
.mobile-header,#menu-close,.nav-backdrop{display:none}.skip-link{position:fixed;left:20px;top:-100px;z-index:100;background:var(--blue);padding:12px 20px;border-radius:8px}.skip-link:focus{top:10px}.login-body{display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 20%,#26355866,transparent 65%),var(--bg)}.login-card{width:min(440px,100%);margin:0;padding:40px;border:1px solid var(--line);border-radius:22px;background:var(--surface);text-align:center;box-shadow:0 30px 90px #0004}.login-card .brand-mark{margin:0 auto 28px}.login-card h1{font-size:34px;margin:12px 0}.login-card .muted{font-size:14px;line-height:1.7}.login-card form{margin-top:26px}.login-card .button{width:100%;min-height:48px}
@media(min-width:1600px){.kpi-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.kpi-grid.six .kpi{padding:18px}.kpi-grid.six .metric-note{font-size:9px}}
@media(max-width:1200px){.shell{grid-template-columns:210px minmax(0,1fr)}main{padding:28px 24px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-columns{grid-template-columns:1fr}.chart-columns>.panel{height:auto}.donut-layout{gap:20px}.donut{width:135px;height:135px}}
@media(max-width:960px){.shell{display:block}.mobile-header{display:flex;align-items:center;gap:12px;height:64px;padding:0 16px;position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);background:#101622}.mobile-brand{font-size:17px;font-weight:700;letter-spacing:-.03em}.mobile-brand span{display:block;font-size:10px;font-weight:400;color:var(--muted);letter-spacing:0}.mobile-header .environment{margin-left:auto;font-size:8px}.mobile-header .icon-button{background:transparent;border:0}.sidebar{position:static;width:auto;height:auto;max-height:none}.js-enabled .sidebar{position:fixed;top:0;left:0;bottom:0;width:min(310px,calc(100vw - 48px));height:100dvh;transform:translateX(-105%);visibility:hidden;transition:transform .2s ease;z-index:80;box-shadow:12px 0 40px #0004}.js-enabled body.nav-open .sidebar{transform:translateX(0);visibility:visible}.nav-open{overflow:hidden}.nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100%;border:0;background:#050913bb;z-index:70}.js-enabled #menu-close{display:inline-flex;background:transparent;border:0}.sidebar-head{padding-right:0}.sidebar nav{display:grid!important;overflow:visible!important}.sidebar nav .nav-group{margin:0}.sidebar nav a{font-size:14px;padding-top:12px;padding-bottom:12px}.sidebar-footer{margin-top:auto;padding-top:35px}.desktop-environment{display:none}.topbar{margin-bottom:24px;align-items:start;gap:12px}.topbar .actions{flex-shrink:0}.topbar .account-menu>summary>span:not(.avatar){display:none}.account-card{right:0}.account-menu{z-index:45}.columns{grid-template-columns:1fr}main{padding:24px 20px}.workspace-footer{margin-top:28px}.chart-svg{height:220px}}
@media(max-width:600px){main{padding:22px 16px}.kpi-grid,.kpi-grid.six{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:15px}.metric-top{gap:7px;align-items:start}.metric-top>span:last-child{font-size:11px}.metric-icon{width:27px;height:27px;border-radius:7px}.metric-value{font-size:25px;margin:12px 0}.metric-bottom{align-items:start;flex-direction:column;gap:10px}.sparkline{width:100%;height:28px}.metric-note{font-size:10px}.panel{padding:18px}.heading{align-items:start;flex-wrap:wrap}.chart-top{gap:12px}.chart-tabs{width:100%;display:grid;grid-template-columns:repeat(2,1fr)}.chart-tabs button{min-height:38px}.chart-dates{font-size:9px}.donut-layout{gap:20px}.donut{width:130px;height:130px}.donut-center strong{font-size:20px}.panel-title{align-items:start;flex-wrap:wrap;gap:10px}.button{min-height:44px}.finance-toolbar .button{flex:1}.finance-toolbar p{min-width:0!important}.finance-form .button{width:100%}details.panel>summary{padding:18px}details.panel>form,details.panel>p{margin-left:18px;margin-right:18px}.mobile-cards{display:block}.mobile-cards>thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.mobile-cards>tbody{display:grid;gap:14px}.mobile-cards>tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:10px;padding:4px 12px;background:#121b2b}.mobile-cards>tbody>tr>td{display:flex;flex-direction:column;gap:5px;min-width:0!important;max-width:none!important;padding:11px 6px;white-space:normal;overflow-wrap:anywhere;border-bottom:0}.mobile-cards>tbody>tr>td::before{content:attr(data-label);font-size:10px;color:var(--muted);font-weight:400}.mobile-cards>tbody>tr>td:first-child{grid-column:1/-1;border-bottom:1px solid var(--line);font-weight:600}.mobile-cards>tbody>tr>td:last-child{grid-column:1/-1}.mobile-cards td .button{align-self:start}.mobile-cards td details form{min-width:0;padding:12px 0}.mobile-cards td form input,.mobile-cards td form select{width:100%;min-width:0}.mobile-cards td .wrap{min-width:0}.table-wrap:has(>.mobile-cards){overflow:visible;border-radius:0}.page-size-form{flex-wrap:wrap}.page-size-form select{min-height:44px}}
@media(max-width:360px){.kpi-grid,.kpi-grid.six{grid-template-columns:1fr}.metric-bottom{flex-direction:row}.sparkline{width:90px}.donut-layout{flex-direction:column}.account-card{width:calc(100vw - 32px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.mobile-header,.nav-backdrop,.workspace-footer,.skip-link,.chart-tabs{display:none!important}.shell{display:block}body,main,.panel,.kpi{background:white!important;color:black!important;box-shadow:none!important}main{padding:0}.panel,.kpi{break-inside:avoid;border-color:#ccc}.chart-svg text,.muted,.disclaimer{color:#444;fill:#444}.chart-line{stroke:#345bb5}.table-wrap{overflow:visible}}
.chart-plot{display:grid;grid-template-columns:42px minmax(0,1fr);gap:0}.chart-yaxis{display:flex;flex-direction:column;justify-content:space-between;padding:2px 8px 2px 0;font-size:10px;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.chart-panel[hidden]{display:none}
.chart-columns{margin-bottom:20px}.chart-columns>.panel{height:auto;margin-bottom:0}.mobile-cards>tbody>tr[hidden]{display:none}.metric-top{min-height:36px}
