/* Shared choice row; switch appearance comes from form-switch.css. */
.shared-choice-field{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:0 12px;min-width:0;margin:0 0 16px;padding:10px 0}
.shared-choice-field .choice-field-heading{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0}
.shared-choice-field .choice-field-heading>label{min-width:0;margin:0;line-height:1.5;cursor:pointer}
.shared-choice-field .choice-field-info-toggle{box-sizing:border-box;display:inline-grid;place-items:center;flex:0 0 20px;width:20px;min-width:20px;height:20px;padding:0;margin:0;border:1px solid var(--st-muted,#aaa);border-radius:50%;background:transparent;color:var(--st-muted,#aaa);font:700 12px/1 Georgia,serif;cursor:pointer}
.shared-choice-field .choice-field-info-toggle[aria-expanded=true]{color:var(--st-accent);border-color:currentColor}
.shared-choice-field .choice-field-help{grid-column:1/-1;grid-row:2;min-width:0}
.shared-choice-field .choice-field-info-body{padding:10px 12px;margin:10px 0 0;border:1px solid var(--st-edge);border-radius:8px;background:var(--st-panel);color:var(--st-muted);font:13px/1.6 system-ui}
.shared-choice-field>input[type=checkbox]{grid-column:2;grid-row:1;justify-self:end;margin-inline-start:auto}
.shared-choice-field>input[type=checkbox]:disabled{opacity:.45;cursor:not-allowed}
.shared-choice-field :is(input,button):focus-visible{outline:2px solid var(--st-accent);outline-offset:3px}
.shared-choice-field>.form-field-errors{grid-column:1/-1;margin:8px 0 0}
.shared-choice-field.has-errors>input[type=checkbox]{border-color:#dc3545}
@media(prefers-reduced-motion:reduce){.shared-choice-field>input[type=checkbox]{transition:none}}
.form-field.shared-choice-field{margin:0}
