.cm-theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;min-height:42px;padding:10px;border:1px solid var(--line,#d9d5cc);border-radius:50%;background:transparent;color:var(--olive,#535c46);cursor:pointer;flex:none}.cm-theme-toggle svg{width:20px;height:20px;display:block}.cm-theme-toggle:focus-visible{outline:2px solid currentColor;outline-offset:4px}.cm-theme-toggle:hover{background:var(--cream,var(--paper-2,#ebe7e0))}html[data-cm-theme=dark]{--olive:#c0c9ae;--olive-dark:#dce4cf;--olive-muted:#a9b398;--olive-soft:#a9b398;--paper:#171c17;--paper-2:#232b22;--cream:#252d23;--white:#1e251e;--sand:#c1b8a6;--ink:#edf0e7;--muted:#b8c0b0;--line:#3d4839;color-scheme:dark}html[data-cm-theme=dark] body{background:var(--paper);color:var(--ink)}html[data-cm-theme=dark] :is(input,textarea,select){background:var(--white);color:var(--ink);border-color:var(--line)}html[data-cm-theme=dark] :is(input,textarea)::placeholder{color:#a7b09f}html[data-cm-theme=dark] :is(.brand,.mobile-brand,.portal-brand,.setup-unavailable) img{filter:brightness(0) invert(1);opacity:.92}html[data-cm-theme=dark] :is(.sidebar,.auth-brand){background:#252f23;color:#edf0e7}html[data-cm-theme=dark] .auth-brand img{filter:brightness(0) invert(1)}html[data-cm-theme=dark] :is(.button,.chip.selected){background:#667655;border-color:#667655;color:#fff}html[data-cm-theme=dark] :is(.button.secondary,.button-outline){background:transparent;border-color:#657359;color:#d4ddc6}html[data-cm-theme=dark] .button:hover{background:#788864;color:#fff}html[data-cm-theme=dark] .button-light{background:#e3e8d9;color:#283320}html[data-cm-theme=dark] :is(.topbar,.bottom-nav,.mobile-nav){background:#1a221af5;border-color:var(--line)}html[data-cm-theme=dark] :is(.bottom-nav,.mobile-nav) :is(.active,.nav-link.active){background:#35412e;color:#e7eddd}html[data-cm-theme=dark] :is(.bottom-nav .nav-link,.mobile-nav button){color:#b7c1aa}html[data-cm-theme=dark] :is(.client-banner,.feature-emblem,.action-icon,.status-pill,.avatar-button){background:#2c3828;border-color:#47573d;color:#d0daba}html[data-cm-theme=dark] :is(.home-hero,.contact-primary){background:#37462f;color:#fff}html[data-cm-theme=dark] .hero-photo::before{background:linear-gradient(to right,#37462f,transparent)}html[data-cm-theme=dark] :is(dialog,.sheet-body,.dialog-body){background:var(--white);color:var(--ink)}html[data-cm-theme=dark] :is(.stat,.panel,.task-card,.kanban-column,.auth-card,.office-address,.article-card,.quick-action,.module-card){background:var(--white);border-color:var(--line)}html[data-cm-theme=dark] :is(.stat.danger,.inline-error,.portal-error,.form-error,.notice.error){background:#422c25;color:#ffd7c7;border-color:#795245}html[data-cm-theme=dark] :is(.priority-urgent,.priority-high,.due.late){color:#ffc3a7}html[data-cm-theme=dark] :is(.priority-normal,.priority-low,.tag,.status-active,.status-todo,.status-done){background:#2e3b29;color:#d2ddc5;border-color:#4b5b42}html[data-cm-theme=dark] .auth-panel{background:var(--paper)}html[data-cm-theme=dark] .toast,html[data-cm-theme=dark] .notice{background:#dce5ce;color:#21301c}html[data-cm-theme=dark] .portal-nav button.active{background:#667655;border-color:#667655;color:white}html[data-cm-theme=dark] .legal-note,html[data-cm-theme=dark] .app-footer{color:#aeb8a4}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
