:root{color-scheme:light;--ui-accent:#287d9b;--ui-accent-soft:#eaf4f8;--ui-text:#243746;--ui-muted:#526777;--ui-border:#cbd6df;--ui-surface:#fff;--ui-background:#f2f5f8;--ui-column:#e8edf2;--ui-primary:#287d9b;--ui-on-primary:#fff;--ui-hover:#edf2f6;--ui-nav:#292f35;--ui-nav-text:#e2e7ed;--ui-nav-active:#525d68;--ui-tag:#e7edf3;--ui-tag-text:#435b70;--ui-warning:#fff0cc;--ui-warning-text:#765409;--ui-danger:#fbe2e6;--ui-danger-text:#913b49;--ui-success:#dceee5;--ui-success-text:#245e47;--ui-overlay:#15243888}:root[data-theme=rose]{--ui-accent:#934064;--ui-accent-soft:#fae8ef;--ui-primary:#934064;--ui-text:#49343e;--ui-muted:#715664;--ui-border:#dec6d1;--ui-surface:#fffafd;--ui-background:#fcf2f6;--ui-column:#f1e6ec;--ui-hover:#f6eaf0;--ui-nav:#393039;--ui-nav-active:#65515f;--ui-tag:#f0e3e9;--ui-tag-text:#715064}:root[data-theme=gray]{--ui-accent:#486075;--ui-accent-soft:#e4eaf0;--ui-primary:#486075;--ui-text:#29323b;--ui-muted:#596572;--ui-border:#cbd1d8;--ui-surface:#fafbfc;--ui-background:#edf0f3;--ui-column:#e2e6eb;--ui-hover:#e9edf1;--ui-nav:#30373f;--ui-nav-active:#515e6b;--ui-tag:#e4e8ed;--ui-tag-text:#495a6b}:root[data-theme=sand]{--ui-accent:#766044;--ui-accent-soft:#eee5d6;--ui-primary:#766044;--ui-text:#3d3831;--ui-muted:#6d6356;--ui-border:#d7cdbd;--ui-surface:#fffdf8;--ui-background:#f3efe7;--ui-column:#eae4d9;--ui-hover:#f0eade;--ui-nav:#37342f;--ui-nav-active:#625b50;--ui-tag:#eae4da;--ui-tag-text:#645640}:root:is([data-theme=dark],[data-theme=graphite]){color-scheme:dark;--ui-text:#e4e9ee;--ui-muted:#acb8c4;--ui-border:#46515e;--ui-surface:#242d37;--ui-background:#171e26;--ui-column:#1d252e;--ui-hover:#303b47;--ui-accent:#8dc7db;--ui-accent-soft:#304653;--ui-primary:#286d87;--ui-nav:#1c232b;--ui-nav-text:#e4e9ee;--ui-nav-active:#394957;--ui-tag:#35424f;--ui-tag-text:#d1dce6;--ui-warning:#4c4027;--ui-warning-text:#f3d594;--ui-danger:#4e3038;--ui-danger-text:#f4b8c1;--ui-success:#28453c;--ui-success-text:#b2deca;--ui-overlay:#080d14b3}:root[data-theme=graphite]{--ui-text:#e7e7e8;--ui-muted:#b7b8bd;--ui-border:#505156;--ui-surface:#2c2d31;--ui-background:#202124;--ui-column:#25262a;--ui-hover:#3a3b40;--ui-accent:#bec8d8;--ui-accent-soft:#414650;--ui-primary:#535e70;--ui-nav:#242529;--ui-nav-active:#484b53;--ui-tag:#404248;--ui-tag-text:#dddfe4}:root[data-theme] :is(body,.app-shell,.app-shell>main,.workspace,.workspace-content,.kanban,.chat-feed,.task-messages,.date-view){background:var(--ui-background);color:var(--ui-text)}:root[data-theme] :is(.panel,.auth,.compact-page,.compact-editor,.workspace-modal,.detail,.compact-modal,.archive-dialog,.mail-account-editor,.task,.project-card,.company-section,.company-title,.structure-explainer,.board-tabs,.board-toolbar,.project-header,.chat-list,.chat-conversation,.chat-bubble,.chat-title,.chat-compose,.messenger-layout,.report-table-scroll,.report-table,.employee-column,.employee-card,.notification,.event-card,.schedule-grid th,.schedule-grid td,.calendar-grid>div,.calendar-grid>strong,.gantt-row,.gantt-scale,.task-messages article,.detail-tabs,.file-drop,.archive-row,.member-settings,.metrics article,.people article,.template-list,.role-descriptions article,.shift-list article){background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}:root[data-theme] .kanban>.column{background:var(--ui-column);border-color:var(--ui-border)}:root[data-theme] :is(input,select,textarea,button){background-color:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}:root[data-theme] p{color:inherit}:root[data-theme] :is(h1,h2,h3,h4,label,legend,strong,.breadcrumbs span,.chat-bubble p,.department-tree,.report-table td,.compact-table td,.task-messages p){color:var(--ui-text)}:root[data-theme] :is(small,time,.muted,.report-note,.task-location,.task-count,.profile-actions span,.task-number,.column-mode,.task-table span,.column h2 span){color:var(--ui-muted)}:root[data-theme] :is(a,.text-link,.profile-section-link,.profile-actions button,.profile-upload){color:var(--ui-accent)}:root[data-theme] :is(th,.column-editor-row,.report-filter-grid,.chat-participants,.structure-summary,.role-permissions,.permission-list,.notification.read){background:var(--ui-background);color:var(--ui-text);border-color:var(--ui-border)}:root[data-theme] :is(.column-add,.shift-chip,.chat-bubble.own,.board-tabs a.active,.report-sections a.active,.report-groups a.active,.segmented button.active,.detail-tabs button.active,.board-link.active){background:var(--ui-accent-soft);color:var(--ui-accent)}:root[data-theme] :is(button[type=submit],.primary,.chat-new,.chat-compose>button,.auth form>button,.profile-panel form>button:not([type=button]),.schedule-bottom-actions button:first-child){background:var(--ui-primary);color:var(--ui-on-primary);border-color:var(--ui-primary)}:root[data-theme] :is(.task-stickers small,.status-pill.inactive){background:var(--ui-tag);color:var(--ui-tag-text)}:root[data-theme] :is(.task-stickers .priority-high,.shift-status:not(.on)){background:var(--ui-warning);color:var(--ui-warning-text)}:root[data-theme] :is(.task-stickers .priority-critical,.task-stickers .deadline-overdue,.error,.toast-error){background:var(--ui-danger);color:var(--ui-danger-text)}:root[data-theme] :is(.notice,.toast-success,.shift-status.on,.status-pill:not(.inactive),.email-task-badge){background:var(--ui-success);color:var(--ui-success-text)}:root[data-theme] :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:1}:root[data-theme] :is(.overlay,.mobile-nav-shade){background:var(--ui-overlay)}:root[data-theme] button:disabled,:root[data-theme] button[aria-disabled=true]{opacity:1;color:var(--ui-muted);background:var(--ui-column);border-color:var(--ui-border);cursor:not-allowed}:root[data-theme] :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}:root[data-theme] button:not(:disabled):not([aria-disabled=true]):not(.active):hover{filter:brightness(.96)}:root[data-theme] .task:not(:disabled):hover{background:var(--ui-hover);filter:none}:root[data-theme] :is(.app-shell>header,.app-navigation,.project-sidebar){background:var(--ui-nav);color:var(--ui-nav-text)}:root[data-theme] :is(.app-navigation button,.project-sidebar a,.project-sidebar button,.app-shell>header button,.app-shell>header select,.app-shell>header strong){background:transparent;color:var(--ui-nav-text);border-color:transparent}:root[data-theme] :is(.app-navigation button.active,.app-navigation button:not(:disabled):hover,.project-link.current,.project-link:hover){background:var(--ui-nav-active);color:var(--ui-nav-text);filter:none}@media(min-width:761px){.app-shell>header:before{background:var(--ui-nav)}.app-shell .project-sidebar{bottom:auto;height:auto;max-height:clamp(64px,calc(100dvh - 176px - var(--navigation-height,400px)),30dvh);overflow-y:auto}.app-shell .app-navigation{top:calc(160px + var(--project-height,100px));bottom:auto;height:auto;max-height:calc(100dvh - 168px - var(--project-height,100px));overflow-y:auto;gap:4px;padding:8px 12px;align-items:stretch}.app-shell .app-navigation button{flex:0 0 auto;min-height:36px;padding:8px;line-height:20px;white-space:normal;overflow-wrap:anywhere}.app-shell .app-navigation .sidebar-logout{margin-top:4px;padding-top:8px;border-radius:6px}}@media(max-width:760px){.mobile-menu-open .project-sidebar{height:auto;max-height:28dvh}.mobile-menu-open .app-navigation{top:calc(163px + var(--project-height,0px));bottom:auto;height:auto;max-height:calc(100dvh - 175px - var(--project-height,0px));gap:4px;grid-auto-rows:minmax(44px,auto)}}:root[data-theme] button.danger:not(:disabled){color:var(--ui-danger-text);background:var(--ui-danger);border-color:var(--ui-danger-text)}
