/* Native Django content uses the spacing and colors of the approved design. */
body{font:inherit;color:inherit}
.native-theme-content .smartmed-faq{margin-block:1.75rem}
.native-theme-content .smartmed-faq details{border:1px solid var(--sd-line,#d5e0ef);background:#fff;margin:0;padding:0 18px}
.native-theme-content .smartmed-faq details+details{border-top:0}
.native-theme-content .smartmed-faq details:first-of-type{border-radius:16px 16px 0 0}
.native-theme-content .smartmed-faq details:last-of-type{border-radius:0 0 16px 16px}
.native-theme-content .smartmed-faq details:only-of-type{border-radius:16px}
.native-theme-content .smartmed-faq summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px 0;list-style:none;cursor:pointer}
.native-theme-content .smartmed-faq summary::-webkit-details-marker{display:none}
.native-theme-content .smartmed-faq summary h3{margin:0;font:inherit;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.native-theme-content .smartmed-faq summary::after{content:"";display:block;flex:0 0 32px;width:32px;height:32px;border:0;border-radius:50%;transform:none;margin:0;color:var(--ux-accent,#234abd);background-color:#eef0fa;background-image:linear-gradient(currentColor,currentColor),linear-gradient(currentColor,currentColor);background-position:center;background-repeat:no-repeat;background-size:12px 2px,2px 12px}
.native-theme-content .smartmed-faq details[open] summary::after{transform:none;margin:0;background-size:12px 2px,0 0}
.native-theme-content .smartmed-faq .smartmed-faq-answer{padding:0 0 14px;overflow-wrap:anywhere}
html[data-tone="dark"] .native-theme-content .smartmed-faq details{background:#111;border-color:#fff}
.booking-provider-frame{display:block;width:100%;height:min(570px,62dvh);border:1px solid #d5e0ef;border-radius:14px;margin-top:12px;background:#fff}
.native-theme-content .native-description{margin:0 0 1.75rem;padding:0 18px;border:1px solid var(--sd-line,#d5e0ef);border-radius:16px;background:#f7f9ff}
.native-theme-content .native-description>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;margin:0;padding:12px 0;list-style:none;color:#183d99}
.native-theme-content .native-description>summary::-webkit-details-marker{display:none}
.native-theme-content .native-description>summary::after{content:"";flex:none;width:9px;height:9px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);margin:0 3px 4px}
.native-theme-content .native-description[open]>summary::after{transform:rotate(225deg);margin-block:5px 0}
.native-description-copy{padding:0 0 16px}
.native-description-copy>:last-child{margin-bottom:0}
.native-service-staff,.native-service-extra{margin-block:clamp(2.25rem,5vw,4.5rem)}
.native-service-staff>h2,.native-service-extra .svc-gallery>h2{margin-bottom:clamp(1rem,2vw,1.5rem)}
.native-service-extra>section+section{margin-top:clamp(2rem,4vw,3.8rem)}
html[data-tone="dark"] .native-theme-content .native-description{background:#111;border-color:#fff}
html[data-tone="dark"] .native-theme-content .native-description>summary{color:#fff}
.native-title{margin:0 0 2rem;padding:clamp(1.3rem,4vw,3rem);background:#e8effe;border-radius:22px;color:#152842}
.native-title h1{margin:0;font-size:clamp(2rem,4.4vw,4rem);line-height:1.08;overflow-wrap:anywhere}
.native-title h2,.native-title h3{white-space:normal;overflow-wrap:anywhere}
.native-doctor-facts{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;font-size:.81rem;line-height:1.4;margin:.4rem 0 .65rem}
.native-doctor-facts span{display:inline-flex;flex-wrap:wrap;gap:.25rem;padding:.3rem .55rem;border-radius:.65rem;background:#edf2ff;color:#203e7c}
.native-title p{margin:.8rem 0 0;max-width:72ch;line-height:1.55;color:#425675}
.native-title .ux-button{margin-top:1rem}
.native-breadcrumbs{display:flex;flex-wrap:wrap;gap:.45rem;padding:1rem 0;font-size:.86rem;color:#486080}
.native-breadcrumbs a{color:#2548b1}
.native-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.native-card{padding:1.35rem;border:1px solid #d5e0ef;border-radius:18px;background:#fff;overflow-wrap:anywhere}
.native-card h2,.native-card h3{margin:0 0 .65rem;font-size:1.15rem;line-height:1.35}
.native-card h2 a,.native-card h3 a{color:inherit;text-decoration:none}
.native-card p:last-child{margin-bottom:0}
.native-service-card{position:relative;min-height:132px;display:grid;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:start;gap:.55rem;padding:1rem;color:#132440;overflow-wrap:anywhere}
.native-service-mark,.native-scroll{width:42px;height:42px;border-radius:12px;background:#e8effe;display:inline-grid;place-items:center;color:#234abd;font-size:1.35rem}
.native-arrow{position:absolute;right:1rem;bottom:1rem}
.native-scroll{border:1px solid #c9d8ef;border-radius:50%;background:#fff}
.native-scroll:last-of-type{background:#234abd;color:#fff}
.native-flash,.native-preview-note{padding:.75rem 1rem;background:#edf3ff;border-radius:10px}
.native-theme-content :is(.bg-gray,.page-head){background:transparent}
.native-theme-content .page-head{padding:clamp(1.2rem,4vw,3rem);margin-bottom:1.5rem;border-radius:24px;background:#e8effe;overflow:hidden}
.native-theme-content .page-head h1{margin:0 0 .7rem;font-size:clamp(1.9rem,4vw,3.8rem);line-height:1.1;overflow-wrap:anywhere;color:#162946}
.native-theme-content :is(.container,.page){max-width:1240px}
.native-theme-content .price-item{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:1rem;padding:.9rem 1rem;border:1px solid #d9e3f1;border-radius:10px;margin-bottom:.5rem;color:#172943}
.native-theme-content .price-item div:last-child{font-weight:700;white-space:nowrap}
.native-theme-content :where(img){max-width:100%;height:auto}
.native-theme-content .smartmed-booking{max-width:1240px}
.native-theme-content [id]{scroll-margin-top:6rem}
.native-theme-content .clinic-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:1rem}
.native-theme-content .clinic-photo-grid img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px}
.native-theme-content .doc-card .portrait{display:block}
.native-appointment{width:min(calc(100% - 24px),560px);margin:auto;padding:1.35rem;border:0;border-radius:20px;max-height:calc(100dvh - 24px);overflow:auto;color:#142744;box-shadow:0 18px 70px #09255060}
.native-appointment::backdrop{background:#0d244980}
.native-appointment .native-modal-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.native-appointment h2{margin:0;font-size:1.55rem}
.native-appointment .x{border:1px solid #d1ddef;border-radius:50%;width:40px;height:40px;background:#fff;font-size:1.45rem;color:inherit}
.native-appointment .native-submit{margin-top:1rem;width:100%}
.native-appointment .smartmed-consent{display:flex;align-items:flex-start;gap:.5rem}
@media(max-width:850px){.native-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:570px){.native-card-grid{grid-template-columns:1fr}.native-breadcrumbs{padding-inline:1rem}.native-theme-content .price-item{gap:.65rem;padding:.7rem}.native-theme-content .price-item div:last-child{white-space:normal}}


.native-article .article-body,.native-profile .article-body{max-width:76ch;line-height:1.75;color:#25364d}
.native-article .article-body h2,.native-profile .article-body h2{margin:1.75rem 0 .7rem}
.native-profile-top{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:clamp(1rem,3vw,2rem);align-items:center}
.native-profile-top img{width:100%;height:auto;max-height:340px;border-radius:20px;object-fit:contain}
.native-profile .native-card,.native-profile .article-body{margin:1.5rem 0}
.native-profile-prices{padding-left:1.1rem;margin:1.25rem 0 0}
.native-program img,.native-program-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;margin:0 0 1rem}
.native-program-image{aspect-ratio:5/2}
.native-more{margin-top:1.25rem}
.native-feedback{margin-top:1.5rem}
.native-feedback form{display:grid;gap:.45rem;max-width:37rem}
.native-feedback input:not([type=checkbox]),.native-feedback textarea{border:1px solid #d5e0ef;border-radius:9px;padding:.65rem}
.native-feedback-consent{margin:.65rem 0}
.native-feedback button{justify-self:start}
.native-service-actions{display:flex;gap:.65rem;flex-wrap:wrap}
@media(max-width:640px){.native-profile-top{grid-template-columns:1fr}.native-profile-top img{max-height:290px}}


.ux-home-doctors,.ux-home-doctors .wrap,.native-theme-content :is(.wrap,.container,.clinic-photo-grid){min-width:0}
.ux-home-doctors [data-native-track]{max-width:100%;overflow-x:auto}
.native-theme-content :is(.article-body,.prose,.native-card,.sd-copy,.catalog-section,.svc-gallery,figcaption){overflow-wrap:anywhere;min-width:0}
.native-theme-content table{max-width:100%}
.native-theme-content .native-feedback form{max-width:100%}
.native-theme-content .native-feedback svg{max-width:100%}
.native-theme-content :is(.page-head-image,.smartmed-booking-frame){max-width:100%;min-width:0}
.native-theme-content video.smartmed-about-video{display:block;width:100%;max-width:760px;height:auto}
.booking-contact-form .booking-guard label{display:block}
[data-smartmed-theme="redesign"] .booking-guard { color:var(--ink); }
[data-smartmed-theme="redesign"] .booking-guard-track { background:var(--sky); border-color:var(--line); }
[data-smartmed-theme="redesign"] .booking-guard-fill { background:#cfddff; }
[data-smartmed-theme="redesign"] .booking-guard-handle { background:var(--blue); color:white; }
[data-smartmed-theme="redesign"] .booking-guard-handle:focus-visible { outline-color:white; }
[data-smartmed-theme="redesign"] .booking-guard[data-state=ok] .booking-guard-track { background:#e6eeff; border-color:var(--blue); }
[data-smartmed-theme="redesign"] .booking-guard[data-state=error] .booking-guard-track { background:#fff2f4; border-color:#ad2b38; }
[data-smartmed-theme="redesign"] .booking-guard-hint { color:var(--muted); }
[data-smartmed-theme="redesign"] .booking-guard-fallback button { color:var(--blue); }
.booking-compact .booking-inline-submit{display:none}
@media(max-width:600px){
.ux-home-start .family-services .section-head{flex-wrap:wrap}
.native-theme-content table{display:block;overflow-x:auto}
.native-theme-content .smartmed-booking-tabs button{min-width:0;white-space:normal}
}


.native-description>summary{cursor:pointer;color:#234abd;font-weight:650;margin-bottom:.7rem}
.native-description{max-width:100%}
.ux-stats .wrap,.ux-stats>div{min-width:0;max-width:100%}


/* Match the approved heading weight without changing legacy components. */
h1,h2,h3{font-weight:700}
.profile-copy :is(#smartmed-doctor-prices,#profile-prices),#interview,#documents{scroll-margin-top:6rem}
.profile-booking .booking-inline{margin-top:20px;padding:0;border:0;background:transparent}
.profile-booking .booking-inline h3{margin:12px 0}
#viewer .viewer-caption{color:#fff;text-align:center;margin:8px 0 0}
#viewer .viewer-caption:empty{display:none}
.service-prices-wrap .fee-code{display:block;color:var(--sd-muted,#496079);margin-top:3px}
#appointment-dialog .booking-chosen-portrait{display:block;width:58px}
#appointment-dialog .booking-mobile-doctor{display:grid;gap:4px;margin:0 0 12px}
#appointment-dialog .booking-mobile-doctor span{font-size:.875rem;color:var(--booking-muted,#496079)}
#appointment-dialog .booking-field-title{font-size:.9375rem;margin:14px 0 8px}
#appointment-dialog .booking-next-row{justify-content:space-between;align-items:center}
#appointment-dialog .booking-next-row [role=status]{font-size:.85rem;color:var(--booking-muted,#496079)}
