/* Shared control geometry and accessible states. */
:root body input.ui-check{appearance:none;-webkit-appearance:none;box-sizing:border-box;display:inline-block;flex:0 0 26px;width:26px!important;min-width:26px;height:26px!important;min-height:26px;padding:0!important;margin:0!important;border:2px solid #65704d;border-radius:6px;background:#fff;vertical-align:middle;cursor:pointer;box-shadow:none}
:root body input.ui-check:checked{background:var(--brand-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4.5 4.5L19 7' fill='none' stroke='%2320251b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat;border-color:var(--accent)}
:root body .ui-check-row{display:flex;align-items:center;gap:12px;min-height:48px;box-sizing:border-box;cursor:pointer;line-height:1.8;padding:10px 12px;border:1px solid var(--line,#d8ddcf);border-radius:12px;background:var(--surface,#fff)}
:root body .ui-check-row[hidden]{display:none!important}
:root body .ui-check-row:has(input:checked){border-color:#7b890b;background:color-mix(in srgb,var(--surface,#fff) 90%,var(--brand-lime))}
:root body .ui-check-row>span{min-width:0}
:root body .ui-switch-row{justify-content:space-between;flex-direction:row-reverse}
:root body input.ui-switch-input{flex-basis:48px;width:48px!important;min-width:48px;height:28px!important;min-height:28px;border-radius:18px;background:#e1e5d7;border-color:#74805e;position:relative}
:root body input.ui-switch-input::after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#566144}
:root body input.ui-switch-input:checked{background:var(--brand-lime);border-color:var(--accent)}
:root body input.ui-switch-input:checked::after{left:23px;background:#263000}
:root body .ui-switch-button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;text-align:start;border:1px solid var(--line,#d8ddcf)!important;background:var(--surface,#fff)!important;color:var(--text,#20251b)!important;padding:12px!important;border-radius:12px}
:root body .ui-switch-button::after{content:"";flex:0 0 48px;width:48px;height:28px;box-sizing:border-box;border:2px solid #74805e;border-radius:18px;background:radial-gradient(circle at 12px 12px,#566144 9px,transparent 9.5px),#e1e5d7}
:root body .ui-switch-button[aria-checked=true]::after{background:radial-gradient(circle at 32px 12px,#263000 9px,transparent 9.5px),var(--brand-lime);border-color:var(--accent)}
:root body :is(input.ui-check,.ui-switch-button,.ui-password-toggle):focus-visible{outline:3px solid var(--text,#20251b);outline-offset:3px}
:root body :is(input.ui-check,.ui-switch-button):disabled{opacity:.5;cursor:not-allowed}
:root body .ui-password-wrap{display:flex!important;position:relative;align-items:stretch;width:100%;margin:0!important}
:root body .ui-password-wrap>input{box-sizing:border-box;min-width:0;width:100%;padding-right:100px!important;margin:0}
:root body .ui-password-toggle{position:absolute;right:4px;top:4px;bottom:4px;display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;max-width:96px;padding:6px!important;border:0!important;background:transparent!important;color:var(--text,#20251b)!important;font-size:.8rem;border-radius:8px;box-shadow:none}
:root body .ui-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
:root body .ui-password-toggle span{margin:0!important;display:inline!important}
:root body .waiting-service-choices .service-tick{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border:2px solid #65704d;border-radius:6px;background:#fff;color:#20251b;font-size:20px;font-weight:800}
:root body .waiting-service-choices button[aria-pressed=true]{background:color-mix(in srgb,var(--surface,#fff) 90%,var(--brand-lime))!important;color:var(--text,#20251b)!important}
:root body .waiting-service-choices button[aria-pressed=true] .service-tick{background:var(--brand-lime)}
@media(forced-colors:active){:root body input.ui-check{appearance:auto;-webkit-appearance:auto;background:none}:root body input.ui-switch-input::after{display:none}}
