.theme-picker{position:relative;z-index:25;font-size:13px}.theme-picker summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text)}.theme-picker summary::-webkit-details-marker{display:none}.theme-picker summary svg{width:20px;height:20px}.theme-menu{position:absolute;right:0;top:calc(100% + 8px);display:grid;min-width:160px;padding:6px;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 30px #0003}.theme-menu button{text-align:left;padding:12px;border-radius:7px;min-height:44px;color:var(--text)}.theme-menu button[aria-pressed=true]{background:var(--accent-bg);font-weight:650;color:var(--accent)}.login-brand{justify-content:space-between}.theme-picker:focus-within{z-index:30}
:root[data-theme=light]{color-scheme:light;--bg:#f6f5f8;--panel:#fff;--panel-2:#eeeaf3;--line:#ccc7d4;--text:#221c2b;--muted:#5d536b;--soft:#6b6077;--accent:#713a9e;--accent-deep:#5c2886;--accent-bg:#e9dff4}
[data-theme=light] .brand-logo{filter:brightness(0)}
[data-theme=light] :is(.sidebar,.calendar,.horse-card,.notes-card,.login-card,.wk-inspector,#workshop,#photo-dialog){background:#fff;border-color:var(--line)}
[data-theme=light] .login-layout{background:radial-gradient(ellipse at 20% 40%,#e5daf0,transparent 55%),var(--bg)}
[data-theme=light] :is(.company,.search,.calendar-card,.segmented,.account-popover){background:#f0edf5;border-color:#c6bdd1}
[data-theme=light] :is(.login-card input,.wk-select select){background:#fff;color:var(--text);border-color:#9382a5}
[data-theme=light] :is(.company-avatar,.user-avatar,.client-avatar,.foot-code,.date-tile){background:#ece2f5;color:#592c79;border-color:#bca8ce}
[data-theme=light] :is(.date-tile b,.date-tile small,.calendar-card footer,.original-link,.account-popover button,#wk-selection,.wk-range output){color:#66318d}
[data-theme=light] :is(.calendar-card>span:not(.calendar-horse),.wk-hint){color:var(--muted)}
[data-theme=light] :is(.sidebar nav a:hover,.horse-card:hover,.calendar-card:hover,.session-row:hover,.client-row:hover,.secondary:hover:not(:disabled)){background:#e8e0f0;color:var(--text)}
[data-theme=light] .sidebar nav a[aria-current=page]{background:#e9dff4;border-color:#b59acb;color:#58237f}
[data-theme=light] .segmented button[aria-pressed=true]{background:#e3d2f1;color:#482062}
[data-theme=light] .primary{background:#713a9e;color:#fff}[data-theme=light] .primary:hover:not(:disabled){background:#5c2886}
[data-theme=light] .form-error{color:#a42131}[data-theme=light] #wk-3d-error{color:#a42131}
[data-theme=light] .network-banner{background:#fff1d5;color:#70451a;border-bottom:1px solid #ba9c66}
[data-theme=light] .network-banner button{border-color:#97713e}
[data-theme=light] .empty-symbol{background:#e9e2f1;color:#784e97}
[data-theme=light] :is(.missing-photo,.image-frame){background:#eae6ee;color:var(--soft)}[data-theme=light] .image-placeholder{color:#776084}
[data-theme=light] :is(.viewer-stage,.foot-photo,.foot-photo .image-frame,.wk-stage){background:#18171b}
[data-theme=light] :is(.viewer-stage .image-state,.foot-photo .image-state){color:#e0d6eb}
[data-theme=light] .lock-badge{color:#8a5b0c}[data-theme=light] .day-empty{color:#75697f}
[data-theme=light] .day-column.is-today>header>b{background:#713a9e;color:white}
[data-theme=light] :is(.day-column,.day-column>header,.calendar-card footer,.viewer-heading,.viewer-tools,.topbar,.wk-inspector details){border-color:var(--line)}
[data-theme=light] .wk-transform button{background:#ece1f5;border-color:#a78bbc;color:#482160}
[data-theme=light] #wk-message{background:#ece0f7;color:#532875;border-color:#b298c4}
[data-theme=light] #wk-measures strong{color:#25152f}
[data-theme=light] .wk-toolbar input,[data-theme=light] .wk-range input,[data-theme=light] .wk-display input{accent-color:#713a9e}
[data-theme=light] .wk-point:focus-visible>circle:nth-child(2){stroke:#fff}
@media(max-width:760px){.theme-picker summary>span{display:none}.theme-picker summary{width:44px;justify-content:center}.topbar-actions{gap:7px}.topbar-actions>span{max-width:100px;text-align:right}.theme-menu{right:0}.login-brand .theme-menu{right:0}[data-theme=light] .sidebar{background:#fcfafff5}}
@media print{.theme-picker{display:none!important}}

.custom-brand-logo{filter:none!important;background:#fff;border-radius:8px;padding:5px;object-fit:contain}.image-placeholder:has(img){display:block;width:100%;height:100%}.image-placeholder img{object-fit:cover;width:100%;height:100%}

[data-theme=light] .bi-setup-link{color:#66318d}[data-theme=light] input::placeholder{color:#6b6077;opacity:1}@media(prefers-reduced-motion:reduce){.horse-card{transition:none}}
