/* Public pages only. Shared order dialogs, admin screens and data stay unchanged. */
#content:has(.sc-public) { padding: 0 5%; margin-top: 36px; }
.sc-public { max-width: 1180px; margin: 0 auto 42px; color: #332a30; font-size: 15px; line-height: 1.65; }
.sc-public *, .sc-public *::before, .sc-public *::after { box-sizing: border-box; }
.sc-public [hidden] { display: none !important; }
.sc-public p { text-align: left; }
.sc-public h1 { margin: 9px 0 14px; font-size: clamp(28px,3vw,36px); line-height: 1.2; color: #332a30; letter-spacing: -.025em; }
.sc-public h2 { margin: 0 0 16px; font-size: 21px; line-height: 1.4; color: #332a30; }
.sc-public h3 { line-height: 1.45; }
.sc-public .sc-page-heading { margin-bottom: 28px; }
.sc-public .sc-page-heading p { margin: 0; max-width: 980px; color: #75666f; font-size: 15px; }
.sc-public .sc-eyebrow { color: #911455; font-size: 11px; letter-spacing: .13em; font-weight: 700; }
.sc-public a { overflow-wrap: anywhere; }
.sc-public :focus-visible { outline: 3px solid #ab4c7e; outline-offset: 3px; }
.sc-public .button, .sc-public input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 12px 20px; min-height: 46px; border: 1px solid #911455; border-radius: 10px; background: #911455; color: #fff; font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; cursor: pointer; }
.sc-public .button:hover, .sc-public input[type="submit"]:hover { background: #741044; }
.sc-public .sc-page-actions { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 28px; gap: 14px; }
.sc-public .sc-page-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; background: #ffedc6; color: #986000; border-radius: 10px; }
.sc-public .sc-page-icon svg { width: 23px; height: 23px; }
.sc-public .sc-empty { padding: 24px; background: #faf5f8; border: 1px solid #eadce4; border-radius: 14px; }
/* Contact */
#sc-contact .sc-contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); gap: 28px; align-items: start; }
#sc-contact .sc-contact-help { padding: 28px; border-radius: 17px; border: 1px solid #eddbb9; border-top: 4px solid #efa000; background: #fff9ee; }
#sc-contact .sc-contact-help h2 { color: #805515; }
#sc-contact .sc-contact-help ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 22px; }
#sc-contact .sc-contact-help li { display: flex; align-items: flex-start; gap: 13px; padding: 0; margin: 0; color: #6e5e4c; font-size: 14px; }
#sc-contact .sc-contact-help li > div { min-width: 0; }
#sc-contact .contactInformation { color: inherit; font-weight: 500; }
#sc-contact .sc-contact-help a { color: #911455; font-weight: 600; }
#sc-contact .sc-contact-help a[href^="tel:"] { display: block; color: #805515; font-size: 23px; }
#sc-contact .sc-contact-form { padding: 28px; min-width: 0; border: 1px solid #e7dfe4; border-radius: 17px; box-shadow: 0 5px 22px rgba(60,30,45,.04); }
#sc-contact form > ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 22px 0 0; }
#sc-contact form > ul > li { margin: 0; padding: 0; min-width: 0; font-size: 13px; color: #5e4e58; }
#sc-contact form > ul > li:first-child, #sc-contact form > ul > li:last-child, #sc-contact .sc-field-wide { grid-column: 1/-1; }
#sc-contact label { display: block; margin-bottom: 7px; font-weight: 550; }
#sc-contact form > ul input, #sc-contact textarea { display: block; width: 100%; min-width: 0; border: 1px solid #ded4db; border-radius: 9px; background: #fdfcfd; padding: 12px; margin: 6px 0 0; color: #332a30; font: inherit; font-size: 15px; line-height: 1.45; }
#sc-contact textarea { min-height: 165px; resize: vertical; }
#sc-contact form > .buttons { display: flex; justify-content: flex-end; margin: 20px 0 0; }
/* FAQ: native disclosures work with and without JavaScript. */
#sc-faq { max-width: 1050px; }
#sc-faq .sc-faq-list { display: grid; gap: 12px; }
#sc-faq .sc-faq-item { border: 1px solid #e7dfe4; border-radius: 13px; overflow: clip; background: #fff; }
#sc-faq summary { position: relative; list-style: none; cursor: pointer; padding: 21px 58px 21px 22px; font-size: 16px; font-weight: 600; color: #4c3744; line-height: 1.5; }
#sc-faq summary::-webkit-details-marker { display: none; }
#sc-faq summary::after { content: "+"; position: absolute; right: 18px; top: 20px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f9eaf2; color: #911455; font-size: 22px; line-height: 1; font-weight: 400; }
#sc-faq details[open] { border-color: #dfb9cd; }
#sc-faq details[open] summary { background: #fcf4f8; color: #911455; }
#sc-faq details[open] summary::after { content: "−"; }
#sc-faq .sc-faq-answer { padding: 4px 22px 20px; color: #6d5e67; }
#sc-faq .sc-faq-answer p { margin: 16px 0 0; }
#sc-faq .sc-faq-answer ul { padding-left: 22px; }
/* Audio libraries: the same cards and palette as the order choosers. */
.sc-library .category { display: block; width: auto; margin: 0 0 22px; padding: 22px; border: 1px solid #ead3a7; border-top: 4px solid #efa000; border-radius: 15px; background: #fff8eb; }
.sc-library .category h2 { margin: 0 0 17px; color: #805008; font-size: 20px; }
.sc-library .category > ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sc-library .category li { display: block; min-width: 0; padding: 0; margin: 0; }
.sc-public .sc-audio-listen { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; height: 100%; margin: 0; padding: 14px; background: #fff; border: 1px solid #e5d9e0; border-radius: 10px; font: inherit; font-size: 14px; color: #82134d; text-align: left; cursor: pointer; }
.sc-public .sc-audio-listen:hover, .sc-public .sc-audio-listen.is-playing { background: #fff4fa; border-color: #a12466; box-shadow: inset 0 0 0 1px #a12466; }
.sc-public .sc-audio-listen img.control { flex: 0 0 28px; width: 28px; height: 28px; margin: 0; }
.sc-public .sc-audio-name { display: block; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.sc-public .sc-audio-tags { display: block; margin-top: 4px; color: #786b73; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.sc-library .sc-library-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.sc-library .sc-library-tabs:empty { display: none; }
.sc-library .sc-library-tabs button { display: flex; align-items: center; gap: 9px; min-height: 42px; border: 1px solid #e7dfe3; border-radius: 9px; padding: 9px 13px; background: white; color: #66555f; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.sc-library .sc-library-tabs button[aria-selected="true"] { background: #911455; border-color: #911455; color: #fff; }
.sc-library .sc-library-tabs button:hover { border-color: #911455; }
.sc-library .sc-library-count { border-radius: 5px; padding: 1px 6px; font-size: 11px; background: rgba(145,20,85,.07); }
.sc-library [aria-selected="true"] .sc-library-count { background: rgba(255,255,255,.18); }
#sc-voice-library .sc-voice-language-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 22px; align-items: start; }
#sc-voice-library .sc-voice-category { margin: 0; }
#sc-voice-library .sc-voices-en { background: #f0f7fd; border-color: #bed6ed; border-top-color: #2878bd; }
#sc-voice-library .sc-voices-en h2, #sc-voice-library .sc-voices-en .sc-audio-listen { color: #245a9a; }
#sc-voice-library .sc-voices-en .sc-audio-listen:hover, #sc-voice-library .sc-voices-en .is-playing { background: #eaf4ff; border-color: #2878bd; box-shadow: inset 0 0 0 1px #2878bd; }
#sc-voice-library .sc-voices-en > ul { grid-template-columns: minmax(0,1fr); }
#sc-voice-library .category h2 { display: flex; align-items: center; gap: 12px; }
#sc-voice-library .sc-language-badge { display: grid; place-items: center; flex: 0 0 36px; height: 32px; border-radius: 7px; background: #ffedc6; font-size: 12px; }
#sc-voice-library .sc-voices-en .sc-language-badge { background: #dcecfb; }
/* Five service detail pages. */
#sc-service-detail .sc-service-hero { position: relative; margin: 0 0 30px; padding: 30px; border: 1px solid #ead9e2; border-radius: 18px; background: linear-gradient(115deg,#fcf3f8,#fffaf0); }
#sc-service-detail .sc-service-hero .sc-page-icon { float: right; width: 52px; height: 52px; background: #f5dfeb; color: #911455; margin-left: 16px; }
#sc-service-detail .sc-service-hero h1 { max-width: 950px; font-size: clamp(25px,2.7vw,34px); }
#sc-service-detail .sc-service-hero p { margin: 18px 0 0; font-size: 15px; color: #6e5d67; line-height: 1.8; font-weight: 400; }
#sc-service-detail .sc-service-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
#sc-service-detail .sc-secondary-link { font-size: 14px; color: #911455; text-decoration: underline; text-underline-offset: 4px; }
#sc-service-detail .sc-examples-heading { font-size: 20px; color: #49303e; margin: 0 0 22px; }
#sc-service-detail .sc-example-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
#sc-service-detail .sc-example-card { padding: 21px; min-width: 0; border: 1px solid #e7dfe4; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(50,30,40,.03); }
#sc-service-detail .sc-example-number { display: block; margin-bottom: 12px; color: #9b6d39; font-size: 10px; letter-spacing: .1em; font-weight: 650; }
#sc-service-detail .sc-example-card h3 { margin: 0; font-size: 15px; }
#sc-service-detail .sc-audio-listen { padding: 0; border: 0; border-radius: 0; box-shadow: none; min-height: 42px; align-items: flex-start; font-size: 15px; background: transparent; }
#sc-service-detail .sc-audio-listen:hover .sc-audio-name { text-decoration: underline; text-underline-offset: 3px; }
#sc-service-detail .sc-audio-listen.is-playing { color: #a12466; }
#sc-service-detail .sc-example-card p { font-size: 14px; color: #75666f; line-height: 1.75; margin: 15px 0 0; }
/* Legal text: all paragraphs, links and article numbers remain visible. */
.sc-legal .sc-legal-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; align-items: start; }
.sc-legal.sc-has-toc .sc-legal-layout { grid-template-columns: 260px minmax(0,1fr); }
.sc-legal .sc-legal-toc { position: sticky; top: 20px; padding: 20px; border: 1px solid #e8dbe3; border-radius: 14px; background: #fcf5f9; }
.sc-legal .sc-legal-toc h2 { color: #911455; font-size: 17px; margin: 0 0 14px; }
.sc-legal .sc-legal-toc ol { margin: 0; padding: 0 0 0 19px; color: #a2768d; }
.sc-legal .sc-legal-toc li { display: list-item; margin: 9px 0; padding: 0 0 0 3px; font-size: 12px; line-height: 1.55; }
.sc-legal .sc-legal-toc a { color: #705261; font-weight: 500; }
.sc-legal .sc-legal-toc a:hover { color: #911455; text-decoration: underline; }
.sc-legal .sc-legal-body { min-width: 0; padding: 30px; border: 1px solid #e7dfe4; border-radius: 15px; color: #665860; font-size: 14px; line-height: 1.8; }
.sc-legal .sc-legal-body p { margin: 14px 0; }
.sc-legal .sc-legal-body > h2, #sc-cgv #saleConditions > h3 { scroll-margin-top: 24px; margin: 30px 0 14px; padding-top: 25px; border-top: 1px solid #eee3e9; font-size: 20px; font-variant: normal; color: #911455; line-height: 1.4; }
.sc-legal .sc-legal-body > h2:first-child, #sc-cgv #saleConditions > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
#sc-cgv #saleConditions h4 { font-size: 16px; font-variant: normal; margin: 24px 0 12px; color: #705362; }
#sc-cgv #saleConditions h5 { font-size: 14px; font-variant: normal; margin: 21px 0 10px; color: #705362; }
.sc-legal .sc-legal-body ul { padding-left: 22px; margin: 14px 0; }
.sc-legal .sc-legal-body li { display: list-item; margin: 6px 0; }
.sc-legal .sc-legal-body blockquote { margin: 16px 0; padding: 18px 22px; background: #faf5f8; border-left: 3px solid #b54c83; border-radius: 0 10px 10px 0; }
@media(max-width: 1050px) {
 #sc-voice-library .sc-voice-language-grid { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); }
 #sc-voice-library .sc-voices-fr > ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .sc-legal.sc-has-toc .sc-legal-layout { grid-template-columns: 210px minmax(0,1fr); gap: 18px; }
 #sc-contact .sc-contact-grid { gap: 20px; }
 #sc-contact .sc-contact-help, #sc-contact .sc-contact-form { padding: 22px; }
}
@media(max-width: 800px) {
 #sc-contact .sc-contact-grid, #sc-voice-library .sc-voice-language-grid, .sc-legal.sc-has-toc .sc-legal-layout { grid-template-columns: minmax(0,1fr); }
 #sc-contact .sc-contact-help ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
 #sc-voice-library .sc-voices-fr > ul, #sc-voice-library .sc-voices-en > ul, .sc-library .category > ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .sc-legal .sc-legal-toc { position: static; }
 .sc-legal .sc-legal-toc ol { columns: 2; column-gap: 30px; }
 .sc-legal .sc-legal-toc li { break-inside: avoid; }
 #sc-service-detail .sc-example-grid { grid-template-columns: minmax(0,1fr); }
}
@media(max-width: 520px) {
 #content:has(.sc-public) { margin-top: 26px; }
 .sc-public .sc-page-heading { margin-bottom: 24px; }
 #sc-contact .sc-contact-help ul, #sc-contact form > ul, #sc-voice-library .sc-voices-fr > ul, #sc-voice-library .sc-voices-en > ul, .sc-library .category > ul { grid-template-columns: minmax(0,1fr); }
 #sc-contact .sc-contact-help, #sc-contact .sc-contact-form, .sc-library .category, .sc-legal .sc-legal-body, #sc-service-detail .sc-service-hero { padding: 20px; }
 .sc-library .sc-library-tabs { gap: 6px; }
 .sc-library .sc-library-tabs button { padding: 8px 10px; font-size: 12px; }
 .sc-legal .sc-legal-toc ol { columns: auto; }
 #sc-faq summary { padding: 18px 50px 18px 18px; font-size: 15px; }
 #sc-faq summary::after { right: 12px; top: 18px; }
 #sc-faq .sc-faq-answer { padding: 0 18px 18px; font-size: 14px; }
 #sc-service-detail .sc-service-hero .sc-page-icon { float: none; margin: 0 0 16px; width: 40px; height: 40px; }
 #sc-service-detail .sc-example-card { padding: 18px; }
 .sc-public .sc-page-actions .button, #sc-contact input[type="submit"] { width: 100%; }
}
@media print {
 .sc-legal.sc-has-toc .sc-legal-layout { display: block; }
 .sc-legal .sc-legal-toc { display: none; }
 .sc-legal .sc-legal-body { border: 0; padding: 0; }
 #sc-faq details::details-content { content-visibility: visible; display: block; }
}

/* V27: public voice groups. Direct-child lists preserve audio and responsive rules. */
#sc-voice-library .category > h3.sc-public-voice-group-title { margin: 22px 0 14px; padding: 18px 0 0; border-top: 1px solid #e8d5b3; color: #805008; background: transparent; font-size: 17px; line-height: 1.4; font-weight: 700; }
#sc-voice-library .category > h2 + h3.sc-public-voice-group-title { margin-top: 0; padding-top: 0; border-top: 0; }
#sc-voice-library .sc-voices-en > h3.sc-public-voice-group-title { color: #245a9a; border-top-color: #bed6ed; }
