/* Scoped legal reading surfaces; the booking form and its acceptance remain native. */
.cn-booking-terms { margin:16px 0; font:400 12px/1.6 Inter,sans-serif; color:#637273; }
.cn-booking-terms a { color:#143f43; text-decoration:underline; text-underline-offset:3px; font-weight:500; }
.cn-booking-terms span { display:block; margin-top:4px; }
.cn-legal-page .cn-information-copy { max-width:none; }
.cn-prescriber-terms-page .cn-information-copy{max-width:900px}
.cn-prescriber-terms-page .cn-legal-section__title{margin:0;font-size:16px;font-weight:600;line-height:1.5}
.cn-prescriber-terms-page .cn-terms-document p,.cn-prescriber-terms-page .cn-terms-document li{font-size:15px;line-height:1.75}
.cn-prescriber-terms-page .cn-information-note{padding:18px;border:1px solid #dce5e4;border-radius:6px;background:#fff}
.cn-prescriber-terms-page .cn-information-note p{margin:8px 0 0}
.cn-prescriber-terms-page .cn-terms-document .cn-legal-version{margin:28px 0 0;padding-top:16px;border-top:1px solid #dce5e4;font-size:12px;color:#637273}
.cn-terms-document { display:block; box-sizing:border-box; color:#143f43; font-family:Inter,sans-serif; font-size:15px; line-height:1.75; }
.cn-terms-document a:focus-visible,.cn-terms-dialog button:focus-visible { outline:2px solid #143f43; outline-offset:3px; }
/* Same 1px neutral dividers, compact titles and 5px outer radius as the site FAQ. */
.cn-legal-intro > p { margin:0 0 20px; color:#637273; font-size:12px; line-height:1.6; }
.cn-legal-accordion > .cn-legal-version { margin:20px 0 0; color:#637273; font-size:12px; line-height:1.6; }
.cn-legal-sections { overflow:hidden; border:1px solid #dce5e4; border-radius:var(--cn-radius,5px); background:#fff; }
.cn-legal-accordion .cn-legal-section { margin:0; padding:0; border:0; scroll-margin-top:24px; }
html body[class] .cn-legal-accordion .cn-legal-section { border-radius:0 !important; }
.cn-legal-accordion .cn-legal-section + .cn-legal-section { border-top:1px solid #dce5e4; }
.cn-legal-section > summary { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:56px; padding:16px 20px; list-style:none; cursor:pointer; color:#143f43; background:#fff; }
.cn-legal-section > summary::-webkit-details-marker { display:none; }
.cn-legal-section > summary::after { content:""; flex:0 0 8px; width:8px; height:8px; margin:0 3px 4px 0; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
.cn-legal-section[open] > summary::after { margin-bottom:-4px; transform:rotate(225deg); }
.cn-legal-section > summary:hover { background:#f4f8f6; }
.cn-legal-section > summary:focus-visible { outline:2px solid #143f43; outline-offset:-4px; }
.cn-legal-accordion .cn-legal-section > summary h2 { min-width:0; margin:0 !important; padding:0; border:0; color:#143f43; font:500 15px/1.5 Manrope,Inter,sans-serif !important; }
.cn-legal-section__content { min-width:0; padding:0 20px 20px; }
.cn-legal-section__content p,.cn-legal-section__content li { color:#556464; font-size:15px; line-height:1.75; }
.cn-legal-section__content p { margin:0 0 16px; }
.cn-legal-section__content ul { margin:0 0 16px; padding-left:20px; }
.cn-legal-section__content li { margin-bottom:10px; }
.cn-legal-section__content > :last-child { margin-bottom:0; }
.cn-legal-section__content h3 { margin:20px 0 12px; color:#143f43; font:600 16px/1.5 Manrope,Inter,sans-serif; }
.cn-legal-section__content strong { color:#143f43; font-weight:600; }
.cn-legal-section__content a { color:#143f43; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.cn-legal-section__content code { overflow-wrap:anywhere; font-size:.9em; }
html.cn-terms-open { overflow:hidden; }
html.cn-terms-open:has(body.cn-mobile-enabled) { scrollbar-gutter:auto; }
dialog.cn-terms-dialog { box-sizing:border-box; width:min(880px,calc(100% - 48px)); max-width:880px; max-height:calc(100dvh - 48px); margin:auto; padding:0; border:1px solid #dce5e4; border-radius:8px; background:#f6f5ef; color:#143f43; font-family:Inter,sans-serif; overflow:hidden; }
dialog.cn-terms-dialog:not([open]) { display:none; }
dialog.cn-terms-dialog[open] { display:flex; flex-direction:column; }
.cn-terms-dialog::backdrop { background:rgba(15,38,40,.65); }
.cn-terms-dialog__header { display:flex; align-items:center; justify-content:space-between; gap:16px; flex:0 0 auto; padding:20px 24px; background:#fff; border-bottom:1px solid #dce5e4; }
.cn-terms-dialog__header p { margin:0 0 4px; color:#637273; font-size:12px; line-height:1.5; }
.cn-terms-dialog .cn-terms-dialog__header h2 { margin:0; color:#143f43; font:600 22px/1.35 Manrope,Inter,sans-serif; }
.cn-terms-dialog .cn-terms-dialog__close { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; min-height:44px; margin:0; padding:0; border:1px solid #dce5e4; border-radius:5px; background:#fff; color:#143f43; font:400 28px/1 Inter,sans-serif; text-transform:none; letter-spacing:0; }
.cn-terms-dialog__body { flex:1 1 auto; min-height:0; overflow:auto; overscroll-behavior:contain; padding:20px 24px; }
.cn-terms-dialog__footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; flex:0 0 auto; padding:12px 24px; border-top:1px solid #dce5e4; background:#fff; }
.cn-terms-dialog__footer > a { display:inline-flex; align-items:center; min-height:44px; gap:8px; color:#143f43; font-size:13px; text-decoration:underline; }
.cn-terms-dialog__footer > button { min-height:44px; margin:0; padding:10px 16px; border:1px solid #143f43; border-radius:5px; background:#143f43; color:#fff; font:500 13px/1.5 Inter,sans-serif; text-transform:none; letter-spacing:0; }
.cn-terms-dialog__footer > p { flex-basis:100%; margin:0; font-size:11px; line-height:1.5; color:#637273; }
@media (max-width:599px) {
 dialog.cn-terms-dialog { width:100vw; height:100dvh; max-width:100vw; max-height:100dvh; margin:0; border:0; border-radius:0; }
 .cn-terms-dialog__header { padding:calc(16px + env(safe-area-inset-top)) 20px 16px; }
 .cn-terms-dialog .cn-terms-dialog__header h2 { font-size:19px; }
 .cn-terms-dialog__body { padding:16px 20px; }
 .cn-terms-dialog__footer { padding:12px 20px calc(12px + env(safe-area-inset-bottom)); }
 .cn-terms-dialog__footer > button { width:100%; order:-1; }
}
@media print {
 .cn-legal-page .cn-terms-document { display:block; }
 .cn-legal-section::details-content { content-visibility:visible !important; display:block !important; }
 .cn-legal-section > summary::after { display:none; }
}
