/* Theme gallery: a stable control strip and accessible, filtered palette samples. */
.v-theme-modal .v-theme-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:-1px;z-index:3;background:var(--card);padding:12px 0 10px;border-bottom:1px solid var(--line);margin-bottom:0}
.v-theme-modal .v-theme-filters{display:flex;gap:4px;padding:4px;background:var(--bg);border:1px solid var(--line);border-radius:16px;min-width:0}
.v-theme-modal .v-theme-filters button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:90px;padding:10px 15px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--muted);font:inherit;font-size:13px;line-height:1.35;cursor:pointer}
.v-theme-modal .v-theme-filters button .ico{width:17px;height:17px;flex:none}
.v-theme-modal .v-theme-filters button[aria-pressed=true]{background:var(--accent);color:var(--v-on-accent);border-color:var(--accent)}
.v-theme-modal .v-theme-filters button:hover:not([aria-pressed=true]){background:var(--v-surface);color:var(--ink)}
.v-theme-modal .v-theme-filters button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.v-theme-modal .v-theme-count{margin:0;color:var(--muted);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;text-align:right;min-width:7ch}
.v-theme-modal .v-theme-help{margin:12px 0 20px;max-width:65ch;color:var(--muted);font-size:12px;line-height:1.65}
.v-theme-modal .v-theme-card[hidden]{display:none!important}
.v-theme-modal .v-theme-card{scroll-margin-block:110px 20px}
.v-theme-modal .v-theme-card-title strong{overflow-wrap:anywhere}
.v-theme-modal .v-theme-desc{font-size:12px;line-height:1.6;min-height:36px}
.v-theme-modal .v-theme-card-title b{flex:none}
.v-theme-modal .v-theme-preview{isolation:isolate}
.v-theme-modal .v-theme-bottom{align-items:flex-start}
.v-theme-modal .v-theme-bottom label{cursor:pointer;min-height:44px}
.v-theme-modal .v-theme-bottom input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:767px){
 .v-theme-modal .v-theme-toolbar{display:block;padding:8px 0 10px}
 .v-theme-modal .v-theme-filters{width:100%;box-sizing:border-box}
 .v-theme-modal .v-theme-filters button{flex:1;min-width:0;padding:9px 8px;font-size:12px}
 .v-theme-modal .v-theme-count{text-align:left;font-size:11px;margin-top:9px}
 .v-theme-modal .v-theme-help{font-size:11px;margin:10px 0 16px}
 .v-theme-modal .v-theme-card{scroll-margin-top:128px}
 .v-theme-modal .v-theme-desc{font-size:11px;line-height:1.65;min-height:45px}
}
@media(max-width:480px){.v-theme-modal .v-theme-filters button .ico{display:none}.v-theme-modal .v-theme-filters button{padding:8px 5px;min-height:44px}.v-theme-modal .v-theme-card-title strong{font-size:12px}.v-theme-modal .v-theme-card-title i{display:none}}
@media(prefers-reduced-motion:reduce){.v-theme-modal .v-theme-filters button,.v-theme-modal .v-theme-card{transition:none!important;animation:none!important;scroll-behavior:auto}}
@media(forced-colors:active){.v-theme-modal .v-theme-filters button{border:1px solid ButtonText}.v-theme-modal .v-theme-filters button[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-4px}.v-theme-modal .v-theme-card:has(input:checked){outline:2px solid Highlight}.v-theme-modal .v-theme-card:has(input:focus-visible){outline:3px solid Highlight;outline-offset:3px}}
