.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border-radius:50%;color:#57799f;border:1px solid #ffffffd9;background:linear-gradient(135deg,#ffffffdc,#ffffff70);box-shadow:inset 0 1px 1px white,0 2px 9px #3557810a;cursor:pointer}
.theme-toggle:hover{background:#fff;filter:none;box-shadow:0 3px 12px #007aff1a}.theme-toggle:focus-visible{outline:3px solid #007aff80;outline-offset:3px}.theme-sun{display:none}.top-right{flex-shrink:0}.breadcrumb{min-width:0}.breadcrumb>span.workspace-label{color:inherit!important}.theme-toggle svg{display:block}
:root[data-theme=dark]{color-scheme:dark;background:#111827;color:#dbe5f5;--green:#419fff;--muted:#9faec3;--border:rgba(165,189,224,.13)}
[data-theme=dark] body{background:radial-gradient(ellipse at 0 10%,#1d4e775c 0,transparent 45%),radial-gradient(ellipse at 98% 5%,#33457650 0,transparent 42%),radial-gradient(ellipse at 30% 100%,#3d30374d 0,transparent 50%),linear-gradient(135deg,#111c2a,#131923 60%,#142032);color:#dbe5f5;background-attachment:fixed}
[data-theme=dark] .sidebar{background:linear-gradient(150deg,#273c545c,#1d293a80);border-color:#b0d1ff21;box-shadow:inset 0 1px 1px #cce2ff15,0 8px 30px #0002}
[data-theme=dark] .main{background:#17223399;border-color:#abc6ee17;box-shadow:0 10px 50px #0002}
[data-theme=dark] .topbar{background:#23324742;border-color:#b6d1fb12}
[data-theme=dark] .logo{color:#edf4ff}[data-theme=dark] .logo-mark{background:linear-gradient(140deg,#3897f4,#1d64d0);box-shadow:inset 0 1px 1px #c9e6ff60,0 4px 12px #0002}
[data-theme=dark] .agency{background:#aacaff09;border-color:#bfdaff12;box-shadow:none}[data-theme=dark] .agency .initial{background:#304a69;color:#b5d1f3}
[data-theme=dark] .small,[data-theme=dark] .subtitle,[data-theme=dark] p.subtitle{color:#9babc2}[data-theme=dark] .nav-label{color:#91a3bd}
[data-theme=dark] nav button{color:#a6b8d1}[data-theme=dark] nav button svg{color:#87a6ce}[data-theme=dark] nav button:hover{background:#b9d8ff0b}
[data-theme=dark] nav button.active{background:linear-gradient(135deg,#a5ceff20,#a5ceff0c);color:#83c0ff;box-shadow:inset 0 1px 1px #d4e7ff1f,0 3px 12px #0001}[data-theme=dark] nav button.active svg{color:#64b2ff}[data-theme=dark] nav button em{background:#2d4768;color:#a9d1ff}
[data-theme=dark] .demo-card{background:#b0ceff05;border-color:#c0d8ff0e}[data-theme=dark] .demo-card b{color:#b7c9e2}[data-theme=dark] .demo-card p{color:#8d9eb8}[data-theme=dark] .user{border-color:#b4d0ff15}
[data-theme=dark] .avatar{background:linear-gradient(145deg,#334963,#283a53);color:#bbd2ef;border-color:#bddeff1a}
[data-theme=dark] .breadcrumb,[data-theme=dark] .top-right{color:#94a5bd}[data-theme=dark] .breadcrumb>span{color:#bacbe2!important}[data-theme=dark] .demo-dot{background:#57acff;box-shadow:0 0 0 3px #419fff10}
[data-theme=dark] .theme-toggle{color:#c5e0ff;background:linear-gradient(135deg,#c6ddff1f,#afcaff0c);border-color:#d8ebff2b;box-shadow:inset 0 1px 1px #b7d7ff1c,0 2px 9px #0001}[data-theme=dark] .theme-toggle:hover{background:#bad9ff22}[data-theme=dark] .theme-moon{display:none}[data-theme=dark] .theme-sun{display:block}
[data-theme=dark] h1{color:#eff5ff}[data-theme=dark] h2,[data-theme=dark] h3{color:#deebff}
[data-theme=dark] .btn{color:#c0d7f5;background:linear-gradient(150deg,#abc9f01a,#a3c3f00a);border-color:#b4d0ff24;box-shadow:inset 0 1px 1px #d3e7ff12,0 3px 10px #0001}[data-theme=dark] .btn:hover{background:#accfff24;box-shadow:0 4px 14px #0002}
[data-theme=dark] .btn.primary{background:linear-gradient(155deg,#318ff4,#1a6ddf);color:#fff;border-color:#c1e0ff40;box-shadow:inset 0 1px 1px #d3eaff38,0 4px 15px #006dff20}[data-theme=dark] .btn.primary:hover{background:linear-gradient(155deg,#45a2ff,#237bf0)}[data-theme=dark] .btn.ghost{color:#69b5ff;background:transparent;border-color:transparent;box-shadow:none}[data-theme=dark] .btn.danger{color:#ff9e9a}
[data-theme=dark] .field,[data-theme=dark] select.field{background:#18263b;border-color:#a9c6f12b;color:#d4e5ff;box-shadow:inset 0 1px 3px #0001}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#7f93af}[data-theme=dark] label{color:#a4b6ce}[data-theme=dark] input,[data-theme=dark] textarea{caret-color:#73baff}
[data-theme=dark] .actions #period{background:#b6d5ff0b;border-color:#b2d0ff24;box-shadow:inset 0 1px 1px #cbe4ff12,0 2px 8px #0001}[data-theme=dark] option{background:#1b2b40;color:#dfebff}
[data-theme=dark] .card{background:linear-gradient(150deg,#25364cf2,#1e2d41f2);border-color:#afceff15;box-shadow:inset 0 1px 1px #d0e4ff0a,0 4px 18px #0001}
[data-theme=dark] .kpi-top{color:#a7b8ce}[data-theme=dark] .kpi-top svg{color:#8cafd9}[data-theme=dark] .kpi strong{color:#edf5ff}[data-theme=dark] .kpi-foot{color:#97a9c1}[data-theme=dark] .kpi-foot b{color:#69b5ff}
[data-theme=dark] .pill,[data-theme=dark] .version{background:#91bfff14;border-color:#adcfff15;color:#a7c5e9}[data-theme=dark] .bars{background:repeating-linear-gradient(to top,transparent 0,transparent 39px,#bfd8ff0a 40px,#bfd8ff0a 41px);border-color:#a5c9ff16}[data-theme=dark] .y-axis,[data-theme=dark] .month-label{color:#899ebc}
[data-theme=dark] .bar.first{background:linear-gradient(180deg,#64b5ff,#287ee3);box-shadow:inset 0 1px 0 #daedff50}[data-theme=dark] .bar.second{background:linear-gradient(180deg,#b2d6fc,#679ed5)}
[data-theme=dark] .legend{color:#9eb0c9}[data-theme=dark] .donut:after{background:#223248;box-shadow:0 0 0 1px #abcfff1a}[data-theme=dark] .donut-center strong{color:#e8f3ff}[data-theme=dark] .donut-center span{color:#9bafcb}[data-theme=dark] .status-legend p{color:#b3c4dd}[data-theme=dark] .status-legend b{color:#e4eeff}
[data-theme=dark] .insight{background:linear-gradient(120deg,#28476b7d,#21364f80);border-color:#94bfff24;color:#adc9eb;box-shadow:inset 0 1px 0 #b8d8ff0c}[data-theme=dark] .insight b{color:#bedcff}[data-theme=dark] .insight svg,[data-theme=dark] .insight button{color:#70b8ff}
[data-theme=dark] .table-top h2 span{color:#9aacbf}[data-theme=dark] table{color:#b9cce5}[data-theme=dark] th{background:#15233880;color:#a1b4cf;border-color:#a3c7fa16}[data-theme=dark] td{border-color:#a3c7fa10}[data-theme=dark] td strong{color:#d8e8ff}[data-theme=dark] td small{color:#91a7c4}[data-theme=dark] tbody tr:hover{background:#6eabff0a}
[data-theme=dark] .score{color:#86c4ff!important}[data-theme=dark] .score-bar,[data-theme=dark] .progress{background:#9dbdeb16}[data-theme=dark] .score-bar i{background:#69b1ff!important}[data-theme=dark] .badge{background:#3cbaa321;color:#8adac6}[data-theme=dark] .badge.amber{background:#dfad4621;color:#edca8b}[data-theme=dark] .badge.red{background:#ef8a8021;color:#ffb1a9}[data-theme=dark] .badge.gray{background:#a6bbd616;color:#aabdd4}
[data-theme=dark] .muted,[data-theme=dark] .table-foot{color:#94a9c6}[data-theme=dark] .footer-note{color:#8196b4}
[data-theme=dark] .detail-hero{background:radial-gradient(ellipse at 100% 0,#479dd943,transparent 70%),linear-gradient(130deg,#255a9c,#204c91);border-color:#b6d7ff3b;box-shadow:inset 0 1px 1px #c6e5ff28,0 8px 25px #0002}[data-theme=dark] .detail-hero h2{color:#f5f9ff}[data-theme=dark] .big-score{color:#fff}[data-theme=dark] .block-stat strong{color:#8bc6ff}[data-theme=dark] .meta-list li span{color:#9eafc6}[data-theme=dark] .meta-list li b{color:#cfe0f7}
[data-theme=dark] .risk{background:#d8a85716;color:#e2c28e}[data-theme=dark] .notice{background:#70aaff12;color:#a5bfdf}[data-theme=dark] .builder-note{color:#97adc9}[data-theme=dark] .block-nav button{color:#a9bdd8}[data-theme=dark] .block-nav button.active{background:#68a8ff18;color:#8fc8ff}[data-theme=dark] .block-nav small{color:#8faed3}[data-theme=dark] .block-nav #add-block{color:#7bbcff!important}
[data-theme=dark] .q-label,[data-theme=dark] .eyebrow{color:#9bb3d3}[data-theme=dark] .question-header .field,[data-theme=dark] .option-row input{background:#19293e;color:#d1e3fc;border-color:#abcfff21}[data-theme=dark] .back{color:#80bfff}
[data-theme=dark] .overlay{background:#050c1b85}[data-theme=dark] .dialog{background:linear-gradient(140deg,#26394ff7,#1d2d42f7);border-color:#bad8ff2b;box-shadow:inset 0 1px 1px #d4e7ff16,0 30px 100px #0005}[data-theme=dark] .dialog-head>button{background:#bbd7ff13;color:#adc7e9}[data-theme=dark] .dialog-footer{border-color:#b3ceff1a}
[data-theme=dark] .radio-option{background:#14253a85;border-color:#b1cfff1f;color:#bcd0eb}[data-theme=dark] .radio-option:has(input:checked){background:#3c8de72a;border-color:#70b4ff7d;color:#c3e1ff}[data-theme=dark] .step-line i{background:#abcfff17}[data-theme=dark] .step-line i.active{background:#65afff}
[data-theme=dark] #toast{background:#213752f5;color:#d2e7ff;border-color:#aecfff29;box-shadow:0 10px 30px #0004}[data-theme=dark] .team-row{border-color:#b9d6ff16}[data-theme=dark] .empty{color:#a2b7d3}
@media(max-width:460px){.top-right{gap:10px}.theme-toggle{width:32px;height:32px}.breadcrumb .workspace-label,.breadcrumb>svg{display:none}}
@media(prefers-reduced-transparency:reduce){[data-theme=dark] .sidebar,[data-theme=dark] .topbar,[data-theme=dark] .main,[data-theme=dark] .dialog{background:#1a283b;backdrop-filter:none;-webkit-backdrop-filter:none}[data-theme=dark] .card{background:#223248}[data-theme=dark] .overlay{background:#0b1220ed}}
@supports not (backdrop-filter:blur(10px)){[data-theme=dark] .sidebar,[data-theme=dark] .topbar,[data-theme=dark] .dialog{background:#1e2e43}}
/* A new theme gently unfurls from the switch, preserving the old view beneath. */
html.theme-reveal::view-transition-group(root){animation:none}
html.theme-reveal::view-transition-image-pair(root){isolation:auto}
html.theme-reveal::view-transition-old(root){animation:none;mix-blend-mode:normal;z-index:1}
html.theme-reveal::view-transition-new(root){mix-blend-mode:normal;z-index:2;animation:theme-circle-reveal 620ms cubic-bezier(.22,.65,.25,1) both}
@keyframes theme-circle-reveal{from{clip-path:circle(0px at var(--theme-origin-x) var(--theme-origin-y))}to{clip-path:circle(var(--theme-radius) at var(--theme-origin-x) var(--theme-origin-y))}}
.theme-toggle{position:relative;overflow:hidden;isolation:isolate}
.theme-toggle .theme-moon,.theme-toggle .theme-sun{display:grid;place-items:center;position:absolute;inset:0;transition:opacity 280ms ease,transform 420ms cubic-bezier(.2,.8,.2,1)}
.theme-toggle .theme-moon{opacity:1;transform:rotate(0deg) scale(1)}
.theme-toggle .theme-sun{opacity:0;transform:rotate(-100deg) scale(.45)}
[data-theme=dark] .theme-toggle .theme-moon{opacity:0;transform:rotate(100deg) scale(.45)}
[data-theme=dark] .theme-toggle .theme-sun{opacity:1;transform:rotate(0deg) scale(1)}
html.theme-fade body,html.theme-fade .card,html.theme-fade .sidebar,html.theme-fade .main,html.theme-fade .topbar,html.theme-fade .field,html.theme-fade h1,html.theme-fade h2,html.theme-fade h3,html.theme-fade .kpi strong,html.theme-fade td,html.theme-fade th{transition:color 300ms ease,background-color 300ms ease,border-color 300ms ease,box-shadow 300ms ease}
@media(prefers-reduced-motion:reduce){html.theme-reveal::view-transition-new(root),html.theme-reveal::view-transition-old(root){animation:none!important}.theme-toggle .theme-moon,.theme-toggle .theme-sun{transition:none!important}}
