.cms-otp { --otp-size: 3rem; --otp-gap: .5rem; --otp-accent: var(--bs-primary, #4f46e5); --otp-border: #ced4da; --otp-bg: #fff; --otp-fg: #212529;
  display: inline-flex; gap: var(--otp-gap); justify-content: center; max-width: 100%; }
.cms-otp .otp-cell, .cms-otp .otp-single { font: 600 1.4rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; color: var(--otp-fg);
  background: var(--otp-bg); border: 1px solid var(--otp-border); outline: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cms-otp .otp-cell { width: var(--otp-size); height: calc(var(--otp-size) * 1.2); padding: 0; min-width: 0; flex: 0 1 var(--otp-size); }
.cms-otp .otp-cell:focus, .cms-otp .otp-single:focus { border-color: var(--otp-accent); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--otp-accent) 25%, transparent); }
.cms-otp .otp-cell:not(:placeholder-shown), .cms-otp .otp-cell:focus { transform: translateY(-1px); }
.otp-boxes .otp-cell { border-radius: 2px; }
.otp-rounded .otp-cell { border-radius: .75rem; background: #f8f9fa; }
.otp-circles .otp-cell { border-radius: 50%; height: var(--otp-size); }
.otp-underline .otp-cell { border: 0; border-bottom: 3px solid var(--otp-border); border-radius: 0; background: transparent; }
.otp-underline .otp-cell:focus { box-shadow: none; border-bottom-color: var(--otp-accent); }
.otp-joined { gap: 0; }
.otp-joined .otp-cell { border-radius: 0; margin-left: -1px; }
.otp-joined .otp-cell:first-of-type, .otp-joined > input[type=hidden] + .otp-cell { border-radius: .6rem 0 0 .6rem; margin-left: 0; }
.otp-joined .otp-cell:last-child { border-radius: 0 .6rem .6rem 0; }
.otp-joined .otp-cell:focus { position: relative; z-index: 1; }
.otp-single .otp-single, .otp-spaced .otp-single, .otp-dots .otp-single { width: calc(var(--n, 6) * 1.6ch + 3rem); max-width: 100%; height: 3.4rem; border-radius: .6rem; }
.otp-spaced .otp-single { letter-spacing: .6em; text-indent: .6em; }
.otp-dots .otp-single { letter-spacing: .5em; text-indent: .5em; }
.otp-single .otp-single::placeholder, .otp-spaced .otp-single::placeholder, .otp-dots .otp-single::placeholder { opacity: .3; }
.cms-verify-choice { min-width: 0; padding: 0; border: 0; }
.cms-verify-choice legend { float: none; width: auto; margin: 0 0 .45rem; font-size: .9rem; font-weight: 600; }
.cms-verify-switch { display: inline-grid; grid-template-columns: repeat(2, minmax(7rem, 1fr)); gap: .25rem; padding: .25rem; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .8rem; background: var(--bs-tertiary-bg, #f8f9fa); }
.cms-verify-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cms-verify-switch label { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 0; padding: .55rem .9rem; border-radius: .6rem; color: var(--bs-secondary-color, #6c757d); font-weight: 600; cursor: pointer; transition: background-color .15s, box-shadow .15s, color .15s, transform .15s; }
.cms-verify-switch input:checked + label { color: #fff; background: var(--bs-primary, #4f46e5); box-shadow: 0 .3rem .8rem color-mix(in srgb, var(--bs-primary, #4f46e5) 25%, transparent); }
.cms-verify-switch input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--bs-primary, #4f46e5) 30%, transparent); outline-offset: 2px; }
.cms-verify-switch input:disabled + label { opacity: .45; cursor: not-allowed; }
.cms-verify-action { padding-top: .2rem; }
.cms-field-required { color: var(--bs-danger, #dc3545); }
.cms-field-optional { color: var(--bs-secondary-color, #6c757d); font-size: .86em; font-weight: 400; }
@media (max-width: 420px) { .cms-otp { --otp-size: 2.4rem; --otp-gap: .3rem; } .cms-otp .otp-cell { font-size: 1.15rem; } }
