/* consistency.css, 28 Nov 2026. Reggie locked one set of controls (components.html) and asked for it on every page.
   Loaded last on every relaunch page. It restyles each page's own switchers, chips, swatches and demo buttons
   to the locked set: rounded corners (never pills), neutral white, selected = solid #F7F7F5 with dark text.
   Only shape and colour change here, never size or spacing, so nothing on a page moves. */

/* 1. Switches: a track with 12px corners, options with 9px corners */
html body :is(.avsw,.sx-seg,.pr-bill,.br-seg,.tx-seg,.vx-seg,.wd-seg,.ds-seg,.ev-seg,.uh-lpills){
 border-radius:12px!important;background:rgba(255,255,255,.05);border:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
html body :is(.avsw,.sx-seg,.pr-bill,.br-seg,.tx-seg,.vx-seg,.wd-seg,.ds-seg,.ev-seg,.uh-lpills) > button{
 border-radius:9px!important;background:transparent;box-shadow:none;color:rgba(255,255,255,.72)}
html body :is(.avsw,.sx-seg,.pr-bill,.br-seg,.tx-seg,.vx-seg,.wd-seg,.ds-seg,.ev-seg,.uh-lpills) > button:hover{color:#fff}
html body :is(.avsw,.sx-seg,.pr-bill,.br-seg,.tx-seg,.vx-seg,.wd-seg,.ds-seg,.ev-seg,.uh-lpills) > button:is([aria-selected="true"],[aria-checked="true"],[aria-pressed="true"],.on){
 background:#F7F7F5;color:#0B0C10;box-shadow:none}
html body :is(.avsw,.sx-seg,.pr-bill,.br-seg,.tx-seg,.vx-seg,.wd-seg,.ds-seg,.ev-seg,.uh-lpills) > button:is([aria-selected="true"],[aria-checked="true"],[aria-pressed="true"],.on) *{color:inherit}

/* 2. Option buttons that stand on their own (languages, filters, voices, sections): 10px corners, same selected state */
html body :is(.lg-chips button,.ax-chip,.ucx-tab,.uh-pill,.acc-pills button){border-radius:10px!important}
html body :is(.lg-chips button,.ax-chip,.ucx-tab,.acc-pills button):is([aria-selected="true"],[aria-checked="true"],[aria-pressed="true"],.on){
 background:#F7F7F5;color:#0B0C10;box-shadow:none;border-color:#F7F7F5}
html body .dvoice{border-radius:12px!important}

/* 3. Tabs: the selected underline is white, never a gradient */
html body .bz-tab[aria-selected="true"]::after,html body .in-t::after{background:#F7F7F5}

/* 4. Buttons inside a product screen: 10px corners. The action that finishes the screen stays solid white. */
html body :is(.kn-done,.ig-pb,.tx-cta,.tx-pl,.tx-sv,.ax-wb,.ig-b){border-radius:10px!important}
html body .uh-play{border-radius:16px}

/* 5. Theme swatches: circles with the white ring, as on Website widget */
html body .br-sw button{border-radius:50%}
html body .br-sw button:is([aria-checked="true"],[aria-pressed="true"]){box-shadow:0 0 0 2px #14161B,0 0 0 3.5px #F7F7F5}

/* 6. A card never shows a lighter frame at its corners: it takes the corners of the frame it sits in (Reggie, 28 Nov 2026) */
html body :is(.sw-g,.uep-in) > .cif{border-radius:inherit!important}
