
/* R1497: one compact decision, shared by the first-use prompt and Settings.
   Channel checks are draft choices; their disabled state must remain readable. */
:is(.summary-delivery__form, .summary-setup__fields) .summary-delivery__choice { display: flex; align-items: center; gap: .65rem; min-height: 44px; margin: 0; padding: .35rem 0; font-weight: 600; }
.summary-delivery__choice input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--text, #151515); }
.summary-delivery__channels { display: flex; flex-wrap: wrap; column-gap: 1.5rem; row-gap: .25rem; }
.summary-delivery__choice:has(input:disabled) { opacity: .8; }
.summary-setup__fields > p { margin: 0; }
.summary-setup__fields select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; }
.summary-delivery__master input[role="switch"] { appearance: none; flex-basis: 40px; width: 40px; height: 24px; padding: 2px; border: 1px solid #6f726b; border-radius: 20px; background: #e7e9e1; cursor: pointer; }
.summary-delivery__master input[role="switch"]::before { content: ""; display: block; width: 18px; height: 18px; border-radius: 50%; background: #161716; }
.summary-delivery__master input[role="switch"]:checked { background: var(--bol-lime, #c1ff4d); }
.summary-delivery__master input[role="switch"]:checked::before { transform: translateX(16px); }
.summary-setup__footer { grid-template-columns: minmax(0, 1fr) 104px; }
.summary-setup__fields { row-gap: 8px; }
.summary-setup__later { font-size: 13px !important; white-space: nowrap; }

.summary-delivery__schedule { min-width: 0; }
.summary-delivery__schedule summary { min-height: 44px; padding: 6px 0; cursor: pointer; font-size: 13px; line-height: 1.45; }
.summary-delivery__schedule summary span { display: block; padding: 3px 0 0; font-weight: 400; color: var(--bol-ink, #161716); overflow-wrap: anywhere; }
.summary-delivery__schedule[open] .summary-delivery__times { margin-top: 8px; }
.summary-delivery__schedule summary:focus-visible { outline: 3px solid var(--bol-lime-deep, #4f7a06); outline-offset: 3px; }

@media (max-width: 400px) { .summary-setup__save { font-size: 14px !important; } }
/* The Settings region's older generic summary flex rule otherwise joins the
   schedule label and values without separation. Keep both consumers stacked. */
.summary-delivery .summary-delivery__schedule summary { display: list-item; }

/* R2301 WHY: modal labels used display:block, leaving the select's 3px focus
   outline + 3px offset on top of label text. Keep native focus visible and give
   only stacked text/select fields breathing room; channel/consent rows stay flex. */
.summary-setup__fields > label:not(.summary-delivery__choice):not(.summary-setup__consent) { display: grid; gap: 10px; }
