.theme-picker{border:0;padding:0;margin:0;min-width:0}
.theme-picker legend{font-size:18px;font-weight:600;margin:0 0 8px;padding:0;color:var(--ink)}
.theme-picker-hint,.theme-picker-status{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 12px}
.theme-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.theme-choice{display:flex;flex-direction:column;gap:0;min-width:0;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--nav);color:var(--ink);text-align:start;overflow:hidden;cursor:pointer}
.theme-choice[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}
.theme-choice:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.theme-choice-preview{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;background:var(--preview-bg);color:var(--preview-ink);padding:14px 10px;box-sizing:border-box}
.theme-choice-sample{font-size:19px;line-height:1.4;white-space:nowrap;direction:ltr}
.theme-choice-swatches{display:flex;flex:0 0 auto;overflow:hidden;border-radius:5px}
.theme-choice-swatches i{display:block;width:13px;height:28px;background:var(--preview-surface)}
.theme-choice-swatches i:nth-child(2){background:var(--preview-raised)}
.theme-choice-swatches i:nth-child(3){background:var(--preview-accent)}
.theme-choice-label{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;padding:10px;box-sizing:border-box;font-size:14px;line-height:1.4;min-height:50px}
.theme-choice-check{visibility:hidden;color:var(--accent);flex-shrink:0}
.theme-choice[aria-pressed=true] .theme-choice-check{visibility:visible}
.theme-picker-status{margin:14px 0 0;min-height:1.5em}
html[lang=ar] .theme-choice-label{font-size:16px;line-height:1.6}
@media(min-width:700px){.theme-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:340px){.theme-choice-preview{gap:4px;padding:10px 8px}.theme-choice-sample{font-size:17px}.theme-choice-swatches i{width:10px}.theme-choice-label{padding:8px}}
@media(forced-colors:active){.theme-choice{border-color:ButtonText}.theme-choice[aria-pressed=true]{outline-color:Highlight}.theme-choice-check{color:ButtonText}}
