.theme-switch{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dbdbdb;background:#ffffff;color:#444444;border-radius:9px;padding:9px 11px;font-size:12px;white-space:nowrap;cursor:pointer}.theme-switch svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.theme-switch:hover{border-color:#858585}.theme-switch .theme-sun{display:none}html[data-theme=dark] .theme-switch .theme-sun{display:block}html[data-theme=dark] .theme-switch .theme-moon{display:none}html[data-theme=dark]{color-scheme:dark;--bg:#161616;--surface:#222222;--ink:#ececec;--muted:#b1b1b1;--line:#3c3c3c;--purple:#a6a6a6;--purple-light:#2b2b2b;--sidebar:#151515;background:#161616;color:#ececec}html[data-theme=dark] body{background:#161616;color:#ececec}html[data-theme=dark] .app-main{background:#161616;color:#ececec}html[data-theme=dark] .app-main .topbar{background:#1d1d1d;border-color:#3c3c3c}html[data-theme=dark] .theme-switch{background:#2c2c2c;color:#dadada;border-color:#464646}html[data-theme=dark] .sidebar{background:#151515;border-right:1px solid #323232}html[data-theme=dark] .srv-budget,html[data-theme=dark] .funds-primary{background:linear-gradient(120deg,#2f2f2f,#282828);border-color:#424242}html[data-theme=dark] .month-grid button[aria-pressed=true],html[data-theme=dark] .day-grid button[aria-pressed=true]{background:#646464;color:white}html[data-theme=dark] .day-grid button.has-hours:not([aria-pressed=true]){background:#363636;color:#e2e2e2}html[data-theme=dark] .day-grid button.has-hours small{color:#cccccc}html[data-theme=dark] .srv-folder-logo,html[data-theme=dark] .funds-logo:has(img){background:#f7f7f7;border-color:#e9e9e9}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color-scheme:dark}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#919191}html[data-theme=dark] .srv-add,html[data-theme=dark] .button-primary{background:#666666;border-color:#666666;color:#ffffff}html[data-theme=dark] .srv-add:hover,html[data-theme=dark] .button-primary:hover{background:#767676}html[data-theme=dark] .srv-empty{background:#212121}html[data-theme=dark] .day-dialog::backdrop{background:#080808ad}html[data-theme=dark] .day-hours-input input:focus{outline:2px solid #9b9b9b;outline-offset:2px}html[data-theme=dark] .login-entry{background:#1d1d1d}html[data-theme=dark] .login-layout{background:#161616}.login-theme{position:fixed;right:22px;top:20px;z-index:50}@media(max-width:600px){.topbar .theme-switch span{display:none}.topbar .theme-switch{padding:8px}.topbar-right{gap:8px}.login-theme span{display:none}}
html[data-theme=dark] .panel,html[data-theme=dark] .metric-card,html[data-theme=dark] .form-section,html[data-theme=dark] .srv-folder,html[data-theme=dark] .srv-card,html[data-theme=dark] .pay-card,html[data-theme=dark] .day-dialog,html[data-theme=dark] .month-panel,html[data-theme=dark] .funds-card:not(.funds-primary){background:#222222;border-color:#3c3c3c}html[data-theme=dark] .srv-folder>summary:hover{background:#2b2b2b}html[data-theme=dark] .day-editor,html[data-theme=dark] .srv-folder-content,html[data-theme=dark] .srv-card-footer{background:#1d1d1d}html[data-theme=dark] .app-main h1,html[data-theme=dark] .app-main h2,html[data-theme=dark] .app-main h3,html[data-theme=dark] .srv-folder-name strong,html[data-theme=dark] .srv-folder-budget strong,html[data-theme=dark] .day-month-total b,html[data-theme=dark] .pay-rate strong,html[data-theme=dark] .day-estimate strong{color:#ededed}html[data-theme=dark] .app-main .button:not(.secondary){background:#666666;border-color:#666666;color:#ffffff}html[data-theme=dark] .app-main .button:not(.secondary):hover{background:#767676}html[data-theme=dark] .srv-currency-bar a.selected{background:#3a3a3a;color:#d9d9d9}html[data-theme=dark] .field input,html[data-theme=dark] .field select,html[data-theme=dark] .field textarea,html[data-theme=dark] .day-hours-input input,html[data-theme=dark] .day-presets button{background:#1a1a1a;color:#e7e7e7;border-color:#474747}

.directory-avatar:has(.project-avatar-image){width:64px;height:64px;padding:0;overflow:hidden;border-radius:16px;background:transparent}.project-avatar-image{display:block;width:100%;height:100%;object-fit:contain}

.srv-folder-logo.srv-project-avatar,html[data-theme=dark] .srv-folder-logo.srv-project-avatar{padding:0;overflow:hidden;border:0;border-radius:14px;background:transparent;flex-shrink:0}.srv-folder-logo.srv-project-avatar>img.srv-project-image{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:inherit}
