:root{color-scheme:light;}
.appearance-toggle{display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;flex-shrink:0;background:var(--white);border:1px solid var(--line);color:var(--ink);border-radius:6px;}
.appearance-toggle svg,.agency-site .appearance-toggle svg{width:18px;height:18px;}
.appearance-toggle:hover{background:var(--surface);}
.appearance-toggle:focus-visible{outline:3px solid var(--teal);outline-offset:3px;}
.login-header-actions{display:flex;align-items:center;gap:18px;}
.login-page>header{gap:18px;flex-wrap:wrap;}
.activation-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:32px;}
.workspace-header .appearance-toggle{margin-inline-start:auto;}
.brand:not(.brand-square) img{position:static!important;inset:auto;width:100%!important;height:100%;max-width:100%;object-fit:contain;}
@media(max-width:480px){.login-header-actions{margin-inline-start:auto;}.login-header-actions .text-link{font-size:12px;}.agency-site .nav-actions{gap:12px;}.agency-site .public-nav{gap:10px;}}
@media(max-width:350px){.agency-site .nav-actions{gap:7px;}.agency-site .public-nav{padding-inline:10px;gap:8px;}}
@media screen{
 html[data-color-mode=dark]{color-scheme:dark;--ink:#eeeef2;--muted:#b7b6c1;--line:#3a3842;--surface:#19191d;--white:#242329;--panel:#242329;--subtle:#2d2b34;--readable-primary:color-mix(in srgb,var(--purple) 32%,white 68%);--readable-teal:#83dce4;--readable-orange:#ffb28b;}
 html[data-color-mode=dark] body{background:#161619;}
 html[data-color-mode=dark] .appearance-toggle[aria-pressed=true]{background:#302c27;color:#ffd29b;border-color:#575047;}
 html[data-color-mode=dark] :is(.secondary,.icon,.sidebar,.workspace-header,.stats article,.entity,.table-wrap,.messages,.settings-form,.login-panel,.preview,dialog){background:var(--panel);color:var(--ink);border-color:var(--line);}
 html[data-color-mode=dark] :is(input,select,textarea){background:#1b1b20;color:var(--ink);border-color:#53515c;}
 html[data-color-mode=dark] ::placeholder{color:#aaa7b4;opacity:1;}
 html[data-color-mode=dark] :is(.secondary:hover,.gate-list a:hover){background:var(--subtle);}
 html[data-color-mode=dark] :is(.text-link,.eyebrow,.amount,.file-list a,.preview h2,.login-intro h1){color:var(--readable-primary);}
 html[data-color-mode=dark] .primary{background:var(--purple);color:#fff;}
 html[data-color-mode=dark] .primary:hover{background:color-mix(in srgb,var(--purple) 80%,white 20%);}
 html[data-color-mode=dark] .brand{background:transparent;}
 html[data-color-mode=dark] .sidebar nav button{color:#bdbac8;}
 html[data-color-mode=dark] .sidebar nav button:hover{background:var(--subtle);color:var(--ink);}
 html[data-color-mode=dark] .sidebar nav button.selected{background:#35303f;color:var(--readable-primary);}
 html[data-color-mode=dark] .nav-symbol{color:inherit;}
 html[data-color-mode=dark] .sidebar .selected .nav-symbol{color:var(--readable-primary);}
 html[data-color-mode=dark] .logout,html[data-color-mode=dark] .danger{color:#ffb0b5;}
 html[data-color-mode=dark] .avatar{background:#393140;color:var(--readable-primary);}
 html[data-color-mode=dark] :is(.financial-strip,.decision){background:#23302e;color:var(--ink);}
 html[data-color-mode=dark] .financial-strip b{color:var(--readable-teal);}
 html[data-color-mode=dark] th{background:var(--subtle);color:#c4c0ce;}
 html[data-color-mode=dark] .progress{background:#3b3842;}
 html[data-color-mode=dark] .message.internal{background:#322b3e;}
 html[data-color-mode=dark] .empty{background:#202025;border-color:var(--line);}
 html[data-color-mode=dark] .tag{background:#352d43;color:#dcc6ff;}
 html[data-color-mode=dark] :is(.tag.active,.tag.approved,.tag.accepted,.tag.done){background:#203b2d;color:#9ae8b8;}
 html[data-color-mode=dark] :is(.tag.revision,.tag.paused){background:#3d2a1e;color:#ffc195;}
 html[data-color-mode=dark] .tag.pending{background:#1d373c;color:#a3e4ed;}
 html[data-color-mode=dark] :is(.form-error,#toast.error){color:#ffd2d6;}
 html[data-color-mode=dark] .demo-banner{background:#3a301f;color:#ffe1a7;border-color:#584827;}
 html[data-color-mode=dark] .demo-note{color:#c8bd91;}
 html[data-color-mode=dark] .confirmation strong{background:var(--panel);border-color:var(--line);}
 html[data-color-mode=dark] .preview .service{background:var(--panel);}
 html[data-color-mode=dark] .preview .service-top{color:var(--readable-primary);}
 html[data-color-mode=dark] .preview .service :is(small,.service-end){color:var(--readable-primary);}

}
@media screen{
 html[data-color-mode] .dashboard>.sidebar{background:var(--purple);color:#fff;border-color:#ffffff30;color-scheme:dark;}
 html[data-color-mode] .sidebar .portal-label{color:#e8ddf8;border-color:#ffffff30;}
 html[data-color-mode] .sidebar nav button{color:#fff;}
 html[data-color-mode] .sidebar nav button:is(:hover,:focus-visible,.selected){background:var(--orange);color:#24143b;}
 html[data-color-mode] .sidebar nav button:focus-visible{outline:2px solid #fff;outline-offset:2px;}
 html[data-color-mode] .sidebar nav button .nav-symbol,
 html[data-color-mode] .sidebar nav button:is(:hover,:focus-visible,.selected) .nav-symbol{color:inherit;}
 html[data-color-mode] .sidebar>.text-link{color:#e8ddf8;}
 html[data-color-mode] .sidebar>.logout{color:#ffd6d6;}
 html[data-color-mode] .sidebar>:is(.text-link,.logout):hover{color:#fff;text-decoration:underline;}
}
@media print{.appearance-toggle{display:none!important;}html{color-scheme:light;}}
