.pf-choice-group { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.pf-choice-group.pf-choice-group--compact { align-items: stretch; gap: 8px; }
.pf-choice-group--compact > .pf-choice-field--radio {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid var(--pf-control-border, #c5dbe6);
    border-radius: 999px;
    background: var(--pf-control-surface, var(--bs-body-bg, #fff));
    color: var(--pf-control-text, var(--bs-body-color, #173c4f));
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.25;
    text-align: start;
    cursor: pointer;
    box-shadow: 0 1px 2px rgb(23 60 79 / 4%);
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.pf-choice-group--compact > .pf-choice-field--radio .pf-choice-indicator { display: none; }
.pf-choice-group--compact > .pf-choice-field--radio:hover:not(.is-disabled) { border-color: color-mix(in srgb, var(--pf-control-accent,#008eaf) 48%, var(--pf-control-border,#c5dbe6)); background: color-mix(in srgb, var(--pf-control-accent,#008eaf) 5%, var(--pf-control-surface,#fff)); }
.pf-choice-group--compact > .pf-choice-field--radio.is-checked {
    border-color: var(--pf-control-accent, #008eaf);
    background: color-mix(in srgb, var(--pf-control-accent, #008eaf) 13%, var(--pf-control-surface, #fff));
    color: var(--pf-control-accent, #008eaf);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pf-control-accent,#008eaf) 34%, transparent), 0 2px 6px color-mix(in srgb, var(--pf-control-accent,#008eaf) 12%, transparent);
}
.pf-choice-group--compact > .pf-choice-field--radio.is-focused:has(.pf-choice-source:focus-visible) {
    outline: 3px solid color-mix(in srgb, var(--pf-control-accent, #008eaf) 30%, transparent);
    outline-offset: 2px;
}
.pf-choice-group--compact > .pf-choice-field--radio.is-disabled { cursor: default; }
.pf-choice-group--cards > label > .pf-choice-indicator { display: none; }
.pf-choice-group--cards > label > span,
.pf-choice-group--cards > button[data-value] { transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease; }
.pf-choice-group--cards > label:has(> input:checked) > span,
.pf-choice-group--cards > label.is-checked > span,
.pf-choice-group--cards > button[data-value].is-active {
    border-color: var(--pf-control-accent,#008eaf) !important;
    background: color-mix(in srgb,var(--pf-control-accent,#008eaf) 12%,var(--pf-control-surface,#fff)) !important;
    color: var(--pf-control-accent,#007c9b);
    box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--pf-control-accent,#008eaf) 28%,transparent), 0 3px 10px color-mix(in srgb,var(--pf-control-accent,#008eaf) 10%,transparent);
}
.pf-choice-group--cards > label:has(> input:checked) > span > i,
.pf-choice-group--cards > label.is-checked > span > i,
.pf-choice-group--cards > button[data-value].is-active > i { color: var(--pf-control-accent,#008eaf); }
.pf-choice-group--cards > label:focus-within > span { outline: 3px solid color-mix(in srgb,var(--pf-control-accent,#008eaf) 30%,transparent); outline-offset: 2px; }
.pf-choice-group--cards > label.is-disabled { opacity: var(--pf-control-disabled-opacity,.65); cursor: default; }
.pf-choice-group.pf-choice-group--status {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    padding: 3px;
    border: 1px solid var(--pf-control-border, #c5dbe6);
    border-radius: 999px;
    background: color-mix(in srgb, var(--pf-control-accent, #008eaf) 4%, var(--pf-control-surface, #fff));
}
.pf-choice-group--status > button[data-value] {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 34px;
    max-width: 100%;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--pf-control-muted, #61798a);
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.pf-choice-group--status > button[data-value] > i { flex: none; font-size: .92rem; }
.pf-choice-group--status > button[data-tone="positive"] > i { color: #20845c; }
.pf-choice-group--status > button[data-tone="muted"] > i { color: #778993; }
.pf-choice-group--status > button[data-tone="warning"] > i { color: #a56d18; }
.pf-choice-group--status > button[data-tone="info"] > i { color: #167b9d; }
.pf-choice-group--status > button[data-value].is-active {
    border-color: color-mix(in srgb, var(--pf-control-accent, #008eaf) 22%, var(--pf-control-border, #c5dbe6));
    background: var(--pf-control-surface, #fff);
    color: var(--pf-control-text, #193c4f);
    box-shadow: 0 1px 4px color-mix(in srgb, var(--pf-control-accent, #008eaf) 13%, transparent);
}
.pf-choice-group--status > button[data-value].is-active[data-tone="positive"] { color: #176c4b; }
.pf-choice-group--status > button[data-value].is-active[data-tone="muted"] { color: #52636c; }
.pf-choice-group--status > button[data-value].is-active[data-tone="warning"] { color: #86560f; }
.pf-choice-group--status > button[data-value].is-active[data-tone="info"] { color: #12647f; }
.pf-choice-group--status > button[data-value].is-active[data-tone="positive"] { background: #eaf7ef; border-color: #b9e4c9; }
.pf-choice-group--status > button[data-value].is-active[data-tone="muted"] { background: #edf2f5; border-color: #d1dde3; }
.pf-choice-group--status > button[data-value].is-active[data-tone="warning"] { background: #fff5df; border-color: #efd69a; }
.pf-choice-group--status > button[data-value].is-active[data-tone="info"] { background: #e8f6fb; border-color: #b8e2ef; }
.pf-choice-group--status > button[data-value]:focus-visible { outline: 2px solid var(--pf-control-accent, #008eaf); outline-offset: 1px; }
.pf-choice-group--status.is-disabled { opacity: var(--pf-control-disabled-opacity, .65); }
:is([data-segmented],[data-shared-choice]).pf-choice-group:not(.pf-choice-group--status,.pf-choice-group--cards) > button[data-value] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; min-height: 42px; max-width: 100%; border: 1px solid var(--pf-control-border,#c5dbe6); border-radius: 999px; padding: 8px 14px; background: var(--bs-body-bg,#fff); color: var(--bs-body-color,#173c4f); font: inherit; font-weight: 650; cursor: pointer; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgb(23 60 79 / 4%); transition: border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease; }
.pf-choice-group:not(.pf-choice-group--status,.pf-choice-group--cards) > button[data-value]:hover:not(:disabled) { border-color: color-mix(in srgb,var(--pf-control-accent,#008eaf) 48%,var(--pf-control-border,#c5dbe6)); background: color-mix(in srgb,var(--pf-control-accent,#008eaf) 5%,var(--bs-body-bg,#fff)); }
.pf-choice-group:not(.pf-choice-group--status,.pf-choice-group--cards) > button[data-value].is-active { border-color: var(--pf-control-accent,#008eaf); background: color-mix(in srgb,var(--pf-control-accent,#008eaf) 13%,var(--bs-body-bg,#fff)); color: var(--pf-control-accent,#007c9b); box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--pf-control-accent,#008eaf) 34%,transparent),0 2px 6px color-mix(in srgb,var(--pf-control-accent,#008eaf) 12%,transparent); }
.pf-choice-group--cards > button[data-value].is-active { border-color: var(--pf-control-accent,#008eaf); background: color-mix(in srgb,var(--pf-control-accent,#008eaf) 12%,var(--pf-control-surface,#fff)); }
.pf-choice-group > button[data-value]:focus-visible { outline: 3px solid color-mix(in srgb,var(--pf-control-accent,#008eaf) 40%,transparent); outline-offset: 2px; }
.pf-choice-group.is-disabled, .pf-choice-field.is-disabled { opacity: var(--pf-control-disabled-opacity,.65); }
:is([data-segmented],[data-shared-choice]).pf-choice-group > button:disabled { cursor: default; }
.pf-choice-field[data-shared-toggle] { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: var(--pf-control-height,56px); box-sizing: border-box; cursor: pointer; padding-block: 8px; padding-inline-start: 0; }
.pf-choice-field .pf-choice-source { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; clip-path: inset(50%); overflow: hidden; opacity: 0; }
.pf-choice-legacy-visual { display: none !important; }
.pf-choice-indicator { position: relative; display: inline-flex; align-items: center; flex: 0 0 24px; width: 24px; height: 24px; box-sizing: border-box; border: 1.5px solid var(--pf-control-border,#a7c3d1); border-radius: 7px; background: var(--bs-body-bg,#fff); transition: background .15s,border-color .15s; }
.pf-choice-field.is-checked .pf-choice-indicator, .pf-choice-field.is-mixed .pf-choice-indicator { background: var(--pf-control-accent,#008eaf); border-color: var(--pf-control-accent,#008eaf); }
.pf-choice-field--checkbox.is-checked .pf-choice-indicator::after { content: ''; width: 10px; height: 6px; margin: -3px auto 0; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.pf-choice-field--checkbox.is-mixed .pf-choice-indicator::after { content: ''; width: 12px; height: 2px; margin: auto; background: #fff; }
.pf-choice-field--switch .pf-choice-indicator { flex-basis: 44px; width: 44px; height: 26px; border-radius: 99px; background: var(--bs-tertiary-bg,#e3edf2); }
.pf-choice-field--switch .pf-choice-indicator::after { content: ''; position: absolute; inset-inline-start: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--bs-body-bg,#fff); box-shadow: 0 1px 3px #173c4f30; transition: transform .15s; }
.pf-choice-field--switch.is-checked .pf-choice-indicator::after { transform: translateX(18px); }
[dir="rtl"] .pf-choice-field--switch.is-checked .pf-choice-indicator::after { transform: translateX(-18px); }
.pf-choice-field:has(.pf-choice-source:focus-visible) .pf-choice-indicator { outline: 3px solid color-mix(in srgb,var(--pf-control-accent,#008eaf) 40%,transparent); outline-offset: 3px; }
.pf-choice-source:focus-visible + .pf-choice-field .pf-choice-indicator { outline: 3px solid color-mix(in srgb,var(--pf-control-accent,#008eaf) 40%,transparent); outline-offset: 3px; }
.pf-choice-field.is-focused .pf-choice-indicator { outline: 3px solid color-mix(in srgb,var(--pf-control-accent,#008eaf) 40%,transparent); outline-offset: 3px; }
.pf-choice-field.is-invalid .pf-choice-indicator, .pf-choice-indicator[data-invalid="true"] { border-color: var(--pf-control-error,var(--bs-danger,#b42332)); }
.pf-choice-field.is-disabled { cursor: default; }
@media(prefers-reduced-motion:reduce) { .pf-choice-indicator,.pf-choice-indicator::after { transition: none; } }
@media(max-width: 640px) {
    .pf-choice-group.pf-choice-group--compact { display: flex; flex-wrap: wrap; }
    .pf-choice-group--compact > .pf-choice-field--radio { width: auto; max-width: 100%; justify-content: center; }
    .pf-choice-group--status { flex-wrap: wrap; }
    .pf-choice-group--status > button[data-value] { flex: 1 1 auto; min-width: max-content; gap: 4px; padding-inline: 8px; font-size: .75rem; }
}
.pf-choice-group--compact > .pf-choice-field--radio .pf-choice-indicator,
.pf-choice-group--cards > .pf-choice-field--radio .pf-choice-indicator { display: none; }
