/* Keep appearance available on the login and in every workspace width. */
.theme-control{position:relative;display:flex;min-width:0;flex-shrink:0;gap:0}
.theme-control>select[hidden]{display:none!important}
.theme-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);padding:9px 11px;font:600 11px/1.3 var(--font);white-space:nowrap}
.theme-trigger:hover,.theme-trigger[aria-expanded=true]{border-color:var(--brand);background:var(--soft)}
.theme-trigger svg,.theme-choices svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.theme-trigger .theme-chevron{width:12px;height:12px}
.theme-current-icon{display:inline-flex;color:var(--muted)}
.theme-current-label{font-weight:400;color:var(--muted)}
.theme-popup{position:fixed;z-index:5102;width:min(284px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;overscroll-behavior:contain;background:var(--raised);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:12px;box-shadow:var(--shadow);text-align:left}
.theme-popup[hidden]{display:none}
.theme-is-open{z-index:5101}
.theme-popup-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 7px;font-size:12px}
.theme-close{display:grid;place-items:center;border:0;border-radius:6px;min-width:32px;min-height:32px;background:transparent;color:var(--muted);font:400 22px/1 var(--font)}
.theme-close:hover{background:var(--soft);color:var(--ink)}
.theme-choices{display:grid;grid-template-columns:1fr;gap:4px}
.theme-choices button{display:flex;align-items:center;gap:10px;min-height:42px;width:100%;padding:9px 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);font:600 12px/1.4 var(--font);text-align:left}
.theme-choices button:hover{background:var(--soft)}
.theme-choices button[aria-pressed=true]{background:var(--soft);border-color:var(--brand);color:var(--brand)}
.theme-choice-check{margin-left:auto;visibility:hidden;font-size:14px}
.theme-choices button[aria-pressed=true] .theme-choice-check{visibility:visible}
.theme-schedule{display:grid;gap:4px;border-top:1px solid var(--line);padding-top:11px;margin:12px 0 0;color:var(--muted);font-size:10px;line-height:1.55}
.theme-schedule strong{font-size:11px;font-weight:600;color:var(--ink)}
.theme-status{margin:8px 0 0;color:var(--muted);font-size:10px;line-height:1.5}
.app-theme,.workspace .app-theme,body[data-nadir-tour-layout=rail] .app-theme{display:flex}
.app-theme .theme-trigger-label{display:inline}
body[data-nadir-tour-layout=rail] .app-theme .theme-trigger-label{display:inline}
body[data-nadir-tour-layout=rail] .app-theme .theme-current-label,body[data-nadir-tour-layout=rail] .app-theme .theme-chevron{display:none}
@media(max-width:1200px){.app-theme .theme-trigger-label{display:inline}.app-theme .theme-current-label,.app-theme .theme-chevron{display:none}}
@media(max-width:600px){.app-header{gap:10px}.header-actions{gap:5px}.app-theme .theme-trigger{gap:5px;padding:9px 7px}.app-theme .theme-trigger svg{width:15px;height:15px}.header-title{gap:6px}.header-title h1{overflow-wrap:normal}.header-actions .profile-avatar{flex-shrink:0}}
@media(max-width:360px){.app-header{padding-left:10px;padding-right:10px;gap:7px}.header-title h1{font-size:12px}.app-theme .theme-trigger{padding:9px 6px}.app-theme .theme-current-icon{display:none}}
@media(max-height:560px){.theme-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-choices button{position:relative;flex-direction:column;justify-content:center;gap:7px;padding:10px 3px;min-height:66px;font-size:11px}.theme-choice-check{position:absolute;right:5px;top:2px;font-size:11px}.theme-choices svg{width:16px;height:16px}}
@media(max-height:400px){.theme-popup{padding:9px 12px}.theme-popup-heading{margin-bottom:4px}.theme-choices{gap:2px}.theme-choices button{min-height:38px;padding:7px 10px}.theme-schedule{margin-top:8px;padding-top:8px}.theme-status{margin-top:5px}}
@media(forced-colors:active){.theme-choices button[aria-pressed=true]{border-color:Highlight}.theme-popup{border-color:CanvasText}}
