#theme-picker-button,.header-account{min-height:40px;border:1px solid var(--border-subtle);border-radius:10px;background:var(--surface-panel)}
#theme-picker-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:10px;color:var(--text-secondary);flex:none}
.header-account{height:40px;padding:5px 10px;gap:8px}
.header-account-name{line-height:16px}
.header-account .auth-role{line-height:12px;margin-top:0}
.header-account .auth-avatar{display:grid;place-items:center;width:28px;height:28px;flex:none;border:0;border-radius:0;background:transparent;font-size:14px;color:var(--accent-text)}
.theme-picker-label{display:none}
.sidebar a.mobile-sidebar-link{display:none}
#theme-picker-button:hover{background:var(--surface-hover);color:var(--text-primary);border-color:var(--border-strong)}
#topbar-account{gap:8px}
#dialog.theme-picker-dialog{width:min(760px,calc(100vw - 24px));overflow:hidden;border-radius:18px;max-height:calc(100dvh - 24px)}
.theme-picker-dialog #dialog-content{display:flex;flex-direction:column;max-height:calc(100dvh - 26px)}
.theme-picker-dialog .dialog-header{padding:24px 26px 20px;border-bottom:1px solid var(--border-subtle);flex:none}
.theme-picker-dialog .dialog-body{padding:24px 26px;overflow-y:auto;min-height:0}
.theme-options{padding:0;border:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}
.theme-option{position:relative;padding:10px 10px 16px;border:1px solid var(--border-default);border-radius:13px;cursor:pointer;min-width:0;background:var(--surface-panel)}
.theme-option:hover{border-color:var(--border-strong)}
.theme-option:has(input:checked){border-color:var(--accent-primary);box-shadow:0 0 0 1px var(--accent-primary);background:var(--accent-soft)}
.theme-option:has(input:focus-visible){outline:3px solid var(--focus-ring);outline-offset:4px}
.theme-option>input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.theme-preview{display:flex;gap:10px;height:112px;padding:10px;border-radius:8px;background:var(--surface-canvas);border:1px solid var(--border-subtle);overflow:hidden}
.theme-preview-sidebar{display:grid;align-content:start;gap:8px;width:29%;padding:7px;border-radius:4px;background:var(--surface-base);border:1px solid var(--border-subtle)}
.theme-preview-sidebar i{height:4px;background:var(--text-muted);border-radius:2px;opacity:.45}.theme-preview-sidebar i:first-child{background:var(--accent-primary);opacity:1}
.theme-preview-main{flex:1;min-width:0;display:grid;align-content:start;gap:12px;padding-top:6px}
.theme-preview-header{height:6px;width:60%;background:var(--text-primary);border-radius:3px}
.theme-preview-cards{display:flex;gap:6px;height:40px}.theme-preview-cards i{flex:1;border:1px solid var(--border-default);background:var(--surface-panel);border-radius:4px}.theme-preview-cards i:first-child{background:color-mix(in srgb,var(--accent-primary) 20%,var(--surface-panel))}
.theme-preview-line{height:5px;width:80%;background:var(--text-muted);opacity:.45;border-radius:3px}
.theme-option-name{display:flex;align-items:center;gap:8px;margin:16px 4px 7px;font-size:13px}.theme-option-name>.studio-icon{width:17px;height:17px;color:var(--text-secondary)}
.theme-option-check{display:none;margin-left:auto;color:var(--accent-text)}.theme-option:has(input:checked) .theme-option-check{display:block}
.theme-option-description{display:block;color:var(--text-muted);font-size:11px;line-height:1.6;margin:0 4px}
.theme-picker-status{color:var(--text-muted);font-size:12px;margin:22px 0 0;line-height:1.6}.theme-picker-footer{margin-top:20px;padding-top:18px;border-top:1px solid var(--border-subtle)}
@media(max-width:560px){.theme-options{grid-template-columns:minmax(0,1fr)}.theme-option{display:grid;grid-template-columns:105px minmax(0,1fr);gap:0 14px;padding:12px}.theme-preview{grid-row:1/3;height:80px;gap:5px;padding:6px}.theme-preview-sidebar{padding:4px}.theme-preview-main{gap:8px}.theme-preview-cards{height:25px}.theme-option-name{margin:7px 0 4px}.theme-option-description{margin:0;font-size:11px}.theme-picker-dialog .dialog-header{padding:20px 18px 16px}.theme-picker-dialog .dialog-body{padding:20px 18px}.theme-picker-footer{margin-top:16px}}
@media(max-width:380px){.theme-option{grid-template-columns:90px minmax(0,1fr);column-gap:12px}.theme-option-name{gap:6px}}
