/* Independently authored styles, scoped to generated links and settings previews. */
.cs-button-v3 {
    position: relative;
    vertical-align: middle;
    overflow-wrap: anywhere;
    line-height: 1.5;
    isolation: isolate;
}
a.cs-button-v3:focus-visible {
    outline: 3px solid #2271b1;
    outline-offset: 4px;
}
.cs-button-v3:hover, .cs-button-v3:focus-visible { filter: brightness(.92); }
.cs-button-v3[data-cs-style="raised"]:active { transform: translateY(3px); }
.cs-button-v3[data-cs-style="arrow"]::after {
    content: "";
    position: absolute;
    right: 22px;
    top: calc(50% - 5px);
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: right .18s;
    pointer-events: none;
}
.cs-button-v3[data-cs-style="arrow"]:hover::after,
.cs-button-v3[data-cs-style="arrow"]:focus-visible::after { right: 17px; }
.cs-button-v3[data-cs-style="sheen"] { overflow: hidden; }
.cs-button-v3[data-cs-style="sheen"]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,transparent 30%,rgba(255,255,255,.32) 50%,transparent 70%);
    transform: translateX(-130%);
    transition: transform .5s;
    pointer-events: none;
}
.cs-button-v3[data-cs-style="sheen"]:hover::after,
.cs-button-v3[data-cs-style="sheen"]:focus-visible::after { transform: translateX(130%); }
.cs-button-choices { display: grid; grid-template-columns: repeat(auto-fit,minmax(225px,1fr)); gap: 12px; max-width: 1150px; }
.cs-button-choice { display: block; min-width: 0; padding: 12px; background: #fff; border: 1px solid #c3c4c7; border-radius: 6px; cursor: pointer; }
.cs-button-choice:focus-within { outline: 2px solid #2271b1; outline-offset: 2px; }
.cs-button-choice:has(input:checked) { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; }
.cs-button-choice input:focus-visible ~ .cs-button-v3 { outline: 2px solid #2271b1; outline-offset: 3px; }
@media (max-width: 480px) { .cs-button-choices { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
    .cs-button-v3, .cs-button-v3::after { transition: none !important; }
    .cs-button-v3[data-cs-style="raised"]:active { transform: none; }
    .cs-button-v3[data-cs-style="arrow"]::after { right: 22px !important; }
    .cs-button-v3[data-cs-style="sheen"]::after { display: none; }
}
