.appearance-control{margin:0 0 19px}.appearance-label{font-size:9px;font-weight:650;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:9px}.appearance-options{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#edf3ef;padding:4px;border-radius:10px}.appearance-options button{display:flex;justify-content:center;align-items:center;gap:7px;border:0;border-radius:7px;background:transparent;color:#6c8176;font-size:11px;font-weight:600;min-height:34px;padding:7px}.appearance-options button.is-selected{background:white;color:#17665c;box-shadow:0 2px 6px #18382d0b}.appearance-login{position:absolute;right:24px;top:20px;width:180px;z-index:2}.appearance-login .appearance-label{display:none}.auth-wrap{position:relative}
:root[data-theme="dark"]{color-scheme:dark;--green:#b9c7d9;--green2:#bfc4cc;--mint:#303030;--ink:#e8e8e6;--muted:#a3a3a3;--line:#343434;--paper:#242424;--shadow:0 12px 35px #00000020;--red:#efb5a8;--red-bg:#3c2925;background:#191919;color:var(--ink)}
[data-theme="dark"] body,[data-theme="dark"] .main,[data-theme="dark"] .auth-wrap{background:#191919}
[data-theme="dark"] .sidebar{background:#202020;border-color:var(--line)}
[data-theme="dark"] .brand-wordmark-dark,[data-theme="dark"] .auth-aside .brand-wordmark{filter:brightness(0) invert(1)}
[data-theme="dark"] .nav-button{color:#b4b4b4}
[data-theme="dark"] .nav-button:hover,[data-theme="dark"] .nav-button.active{background:#303030;color:#eeeeec}
[data-theme="dark"] .nav-label,[data-theme="dark"] .eyebrow{color:#a5a5a5}
[data-theme="dark"] .nav-task-count{background:#2e2e2e;color:#bcbcbc}
[data-theme="dark"] .sidebar-filter.active .nav-task-count{background:#414141;color:#eeeeec}
[data-theme="dark"] .avatar{background:#353535;color:#d7d7d7}
[data-theme="dark"] .signout,[data-theme="dark"] .user-chip small{color:#aaaaaa}
[data-theme="dark"] .welcome-panel{background:#232323}
[data-theme="dark"] .welcome-panel h2{color:#e7e7e5}
[data-theme="dark"] .welcome-date,[data-theme="dark"] .welcome-panel p{color:#a8a8a8}
[data-theme="dark"] .art-orbit,[data-theme="dark"] .art-orbit:after{border-color:#444444}
[data-theme="dark"] .art-sheet{background:#333333;border-color:#505050;box-shadow:6px 7px 0 #292929}
[data-theme="dark"] .art-sheet span{background:#777777}
[data-theme="dark"] .art-sheet b{background:#aaaaaa;color:#242424;border-color:#232323}
[data-theme="dark"] .welcome-art i{color:#818181}
[data-theme="dark"] .stat-card,[data-theme="dark"] .panel,[data-theme="dark"] .assignments-panel,[data-theme="dark"] .task-card,[data-theme="dark"] .focus-panel,[data-theme="dark"] .modal,[data-theme="dark"] .config-warning{background:var(--paper);border-color:var(--line);box-shadow:none}
[data-theme="dark"] .stat-card span,[data-theme="dark"] .stat-card small,[data-theme="dark"] .section-head p,[data-theme="dark"] .task-summary,[data-theme="dark"] .task-meta,[data-theme="dark"] .focus-body p{color:var(--muted)}
[data-theme="dark"] .stat-icon{background:#333333;color:#bdbdbd}
[data-theme="dark"] .stat-icon.violet{background:#383248;color:#c7b9e5}
[data-theme="dark"] .stat-icon.peach{background:#46372d;color:#e4c4a5}
[data-theme="dark"] .task-card:hover{background:#2a2a2a;border-color:#4a4a4a}
[data-theme="dark"] .badge.assigned{background:#2b3b40;color:#c1d3d8}
[data-theme="dark"] .badge.submitted{background:#3b334a;color:#d4c4ed}
[data-theme="dark"] .badge.changes_requested{background:#493f2b;color:#f0d59d}
[data-theme="dark"] .badge.approved{background:#2a4835;color:#b9dfc5}
[data-theme="dark"] .status-text.changes_requested{color:#f0d59d}
[data-theme="dark"] .status-text.approved{color:#aed9be}
[data-theme="dark"] .focus-panel{border-left-color:#666666}
[data-theme="dark"] .focus-label{color:#bbbbbb}
[data-theme="dark"] .btn-primary{background:#b9c7d9;color:#171b21}
[data-theme="dark"] .btn-primary:hover{background:#b4e5cd}
[data-theme="dark"] .btn-secondary,[data-theme="dark"] .btn-outline{background:#253b2d;color:#d0e5d7;border-color:#3b5545}
[data-theme="dark"] .btn-danger{background:#432e29;color:#f0bdaf;border-color:#765044}
[data-theme="dark"] .btn-danger:hover{background:#53372f}
[data-theme="dark"] .field label{color:#bcbcbc}
[data-theme="dark"] .field input,[data-theme="dark"] .field textarea,[data-theme="dark"] .field select,[data-theme="dark"] .task-search{background:#202020;color:var(--ink);border-color:#424242}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#858585}
[data-theme="dark"] .field input:focus,[data-theme="dark"] .field textarea:focus,[data-theme="dark"] .field select:focus{border-color:#8799b3;box-shadow:0 0 0 3px #30353d}
[data-theme="dark"] .task-search input{color:var(--ink)}
[data-theme="dark"] .empty{background:#202020}
[data-theme="dark"] .empty p{color:#a3a3a3}
[data-theme="dark"] .empty-icon,[data-theme="dark"] .detail-box,[data-theme="dark"] .approval-row,[data-theme="dark"] .profile-fields{background:#2c2c2c;color:var(--ink)}
[data-theme="dark"] .detail-box small,[data-theme="dark"] .profile-fields p{color:#b2b2b2}
[data-theme="dark"] .modal-close{background:#363636;color:#dddddd}
[data-theme="dark"] .modal-backdrop,[data-theme="dark"] .notification-backdrop{background:#00000080}
[data-theme="dark"] .profile-photo{background:#292929;border-color:#414141}
[data-theme="dark"] .reviewer-choice small{color:#aaaaaa}
[data-theme="dark"] .auth-aside{background:#202020;color:var(--ink)}
[data-theme="dark"] .auth-aside:after{border-color:#424242;box-shadow:0 0 0 45px #252525,0 0 0 46px #3b3b3b,0 0 0 90px #242424}
[data-theme="dark"] .auth-aside p,[data-theme="dark"] .auth-intro,[data-theme="dark"] #login-hint{color:#aaaaaa}
[data-theme="dark"] .login-switch{background:#292929}
[data-theme="dark"] .login-mode{color:#aaaaaa}
[data-theme="dark"] .login-mode.active{background:#3b3b3b;color:#eeeeec}
[data-theme="dark"] .appearance-options{background:#181818}
[data-theme="dark"] .appearance-options button{color:#aaaaaa}
[data-theme="dark"] .appearance-options button.is-selected{background:#3a3a3a;color:#eeeeec;box-shadow:none}
[data-theme="dark"] .notification-panel{background:#202020;box-shadow:-12px 0 45px #00000030}
[data-theme="dark"] .notification-device{border-color:#424242}
[data-theme="dark"] .notification-device p,[data-theme="dark"] .notification-device small{color:#b3b3b3}
[data-theme="dark"] .notification-item{background:#292929;border-color:var(--line)}
[data-theme="dark"] .notification-item.is-unread{border-left-color:#8e9caf}
[data-theme="dark"] .notification-error{color:#f0bdaf}
[data-theme="dark"] .notification-unread{color:#171b21}
[data-theme="dark"] .toast{background:#c6cbd2;color:#171b21}
[data-theme="dark"] .toast.warn{background:#d9ba7f;color:#30230b}
@media(max-width:560px){.appearance-login{top:15px;right:16px;width:160px}.appearance-control{margin-bottom:15px}.appearance-options button{min-height:32px}}

/* Reference direction: neutral charcoal surfaces, restrained accents. */
[data-theme="dark"] .welcome-panel{border:1px solid #303030;border-radius:12px}
[data-theme="dark"] .stat-card,[data-theme="dark"] .assignments-panel,[data-theme="dark"] .focus-panel,[data-theme="dark"] .task-card{border-radius:10px}
[data-theme="dark"] .btn-primary{background:#397bb7;color:#fff}
[data-theme="dark"] .btn-primary:hover{background:#468aca}
[data-theme="dark"] .btn-outline,[data-theme="dark"] .btn-secondary{background:#292929;color:#d0d0d0;border-color:#3b3b3b}
[data-theme="dark"] .btn-danger{background:#362829;color:#d4aaa9;border-color:#503638}
[data-theme="dark"] .notification-device{background:#292929}

.sidebar-close{display:none}
@media(max-width:820px){.sidebar-close{display:grid;place-items:center;position:absolute;top:10px;right:10px;width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#edf3ef;color:#34564b;font-size:26px;line-height:1;z-index:2}.sidebar .brand{padding-top:32px}[data-theme="dark"] .sidebar-close{background:#303030;color:#eee;border-color:#444}.sidebar-close:focus-visible{outline:2px solid #397bb7;outline-offset:2px}}

.sidebar-notifications{margin-top:12px}.sidebar-notifications .notification-bell{width:100%;display:flex;justify-content:flex-start;gap:12px}.sidebar-notifications .notification-button-label{display:inline!important}.sidebar-notifications .notification-unread{margin-left:auto;background:#dcece4;color:#245e4e}[data-theme="dark"] .sidebar-notifications .notification-unread{background:#414141;color:#eee}.sidebar-notifications svg{flex:none}

/* Settings layout */
.sidebar-notifications{display:none!important}
[data-theme="dark"] .settings-card-icon{background:#333;color:#d0d0d0}
[data-theme="dark"] .settings-appearance{background:#181818}
[data-theme="dark"] .settings-appearance button{color:#aaa}
[data-theme="dark"] .settings-appearance button.is-selected{background:#3a3a3a;color:#eee;box-shadow:none}

/* Compact, single-button theme switch on the sign-in screen. */
.appearance-login{width:auto}
.appearance-login .theme-toggle{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:12px;background:#edf3ef;color:#17665c;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,transform .18s ease}
.appearance-login .theme-toggle:hover{background:#e2eee8;transform:translateY(-1px)}
.appearance-login .theme-toggle:focus-visible{outline:2px solid #397bb7;outline-offset:3px}
.appearance-login .theme-toggle svg{width:19px;height:19px}
[data-theme="dark"] .appearance-login .theme-toggle{background:#292929;color:#ededed;border-color:#444}
[data-theme="dark"] .appearance-login .theme-toggle:hover{background:#353535}
[data-theme="dark"] .password-input-wrap{background:#202020;border-color:#424242}
[data-theme="dark"] .password-input-wrap:focus-within{border-color:#8799b3;box-shadow:0 0 0 3px #30353d}
[data-theme="dark"] .password-input-wrap input,[data-theme="dark"] .password-input-wrap input:focus{background:transparent;border:0;box-shadow:none}
[data-theme="dark"] .password-toggle{color:#bcbcbc}
[data-theme="dark"] .password-toggle:hover{background:#353535;color:#eee}
@media(max-width:560px){.appearance-login{width:auto}.appearance-login .theme-toggle{width:40px;height:40px}}
