/* Canonical circular selector contract. Synced to Quant by sync-selector-styles.py. */
html body input[type="radio"] {
 appearance:none;-webkit-appearance:none;box-sizing:border-box;display:inline-grid;place-content:center;
 width:20px;height:20px;min-width:20px;min-height:20px;flex:0 0 20px;padding:0;margin:0;
 border:2px solid var(--accent);border-radius:50%;background:var(--control);color:var(--accent);
 outline:0!important;box-shadow:none;vertical-align:middle;cursor:pointer;
}
/* The dot is painted from the circle's own center, never laid out (owner 11-14: "the little circles ... are off center"). At a browser
   zoom such as 90% the ring's inner space is 16 screen pixels and a laid-out 10px dot is 9, so it sat 4 pixels from one side and 3
   from the other. A centered gradient is drawn from the box itself and stays centered at every zoom. ::before keeps only the glow. */
html body input[type="radio"]:checked {background:radial-gradient(circle at 50% 50%,var(--accent) 0 4.5px,transparent 5px) var(--control)}
html body input[type="radio"]::before {content:"";width:10px;height:10px;border-radius:50%;background:transparent;opacity:0;box-shadow:0 0 6px color-mix(in srgb,var(--accent) 45%,transparent)}
html body input[type="radio"]:checked::before {opacity:1}
html body input[type="radio"]:focus {box-shadow:none}
html body input[type="radio"]:hover:not(:disabled) {box-shadow:0 0 8px color-mix(in srgb,var(--accent) 40%,transparent)}
html body input[type="radio"]:focus-visible {box-shadow:0 0 0 3px var(--canvas),0 0 0 5px var(--accent)}
html body input[type="radio"]:disabled {opacity:.45;cursor:not-allowed}
html body :is(.theme-choice,#axPalettePicker [data-palette]) i {
 box-sizing:border-box;position:relative;display:inline-grid;place-content:center;width:22px;height:22px;flex:0 0 22px;
 border:2px solid var(--swatch);border-radius:50%;background:var(--surface,var(--control));box-shadow:none;
}
html body :is(.theme-choice,#axPalettePicker [data-palette]) i::after {
 content:"";width:10px;height:10px;border-radius:50%;background:var(--swatch);opacity:0;box-shadow:0 0 7px var(--swatch);
}
html body :is(.theme-choice,#axPalettePicker [data-palette])[aria-pressed="true"] i::after {opacity:1}
html body :is(.theme-choice,#axPalettePicker [data-palette]):is(:hover,:focus-visible) i {box-shadow:0 0 9px color-mix(in srgb,var(--swatch) 55%,transparent)}
html body .quick-themes button {position:relative;display:inline-grid;place-content:center;background:var(--control);border:2px solid var(--swatch);border-radius:50%;box-shadow:none}
html body .quick-themes button::after {content:"";width:5px;height:5px;border-radius:50%;background:var(--swatch);opacity:0}
html body .quick-themes button[aria-pressed="true"]::after {opacity:1;box-shadow:0 0 5px var(--swatch)}
html body .quick-themes button:is(:hover,:focus-visible) {box-shadow:0 0 8px var(--swatch)}
