/* One visual system for both customer languages. Editorial tools are separate. */
.customer-site{font-family:"Segoe UI","Microsoft YaHei","PingFang SC",Arial,sans-serif}
html .customer-site h1,html .customer-site h2,html .customer-site h3{font-family:"Segoe UI","Microsoft YaHei","PingFang SC",Arial,sans-serif;font-weight:400;letter-spacing:0}
html .customer-site .compact-hero h1{font-size:clamp(36px,4.2vw,62px);line-height:1.35;letter-spacing:0}
.customer-site .hero h1 em{font-style:normal}
.customer-site .site-header{background:#fcf9f5}
.customer-site .compact-hero .hero-media{height:auto;width:100%;margin:0}
.customer-site .compact-hero .hero-media>img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.customer-site .customer-access{font-size:12px;align-items:center;gap:12px;line-height:1.5}
.customer-languages{display:flex;align-items:center;gap:8px;flex-shrink:0}
.customer-languages a{display:flex;align-items:center;min-height:36px;padding:0 5px;text-decoration:none}
.customer-languages a[aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:4px}
.customer-facts{margin:20px 0}.customer-facts>div{padding:16px 0;border-bottom:1px solid var(--line)}
.customer-facts dt{font-weight:600}.customer-facts dd{margin:6px 0 0;color:var(--muted)}
.customer-site [data-media-gallery]{scroll-margin-top:94px}
.customer-site .customer-gallery img{width:100%;height:auto;object-fit:contain}
.customer-site [data-media-flow="continuous"]{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.customer-site [data-media-flow="continuous"]>figure{margin:0;padding-top:20px;border-top:1px solid var(--line)}
.customer-site [data-media-flow="continuous"]>figure:first-child{border-top:0;padding-top:0}
.customer-site [data-media-flow="continuous"] .text-link{display:inline-flex;align-items:center;min-height:44px;margin-top:8px}
[data-continuous-section]{margin-block:24px}
[data-continuous-section]>h3{font-size:1.15rem;font-weight:400;line-height:1.5}
.customer-site .doctor-intro img,.customer-site .catalog-portrait{object-fit:contain;object-position:center top}
.customer-site .hospital-main img{height:auto;object-fit:contain}
.customer-site .catalog-card{align-items:flex-start}
.customer-site .home-support>.button{margin-top:24px}
.customer-site .clinical-note{padding:18px;background:#f3e9e3;line-height:1.8}
.review-edition-bar{padding:16px 22px;background:#f0dfd4;border-bottom:1px solid #d8c8bd;line-height:1.8}
.review-edition-bar a{margin-right:22px;text-decoration:underline}
.review-audit-notes{padding:22px;margin-block:24px;border:1px solid #c8b6ab;background:#f7eee8}
.review-audit-notes li{margin-block:10px}
@media(max-width:640px){
 .customer-site .customer-access{font-size:10px;padding:4px 12px}
 .customer-site .customer-access>span:first-child{max-width:none;flex:1}
 .customer-site .customer-languages{gap:3px;font-size:12px}
 .customer-site .nav-wrap{min-height:72px}.customer-site #main-navigation{top:72px}
 html .customer-site .compact-hero .hero-copy h1{font-size:34px;line-height:1.35;letter-spacing:0}
 .customer-site .brand{font-size:18px}
 .customer-site .page-intro h1{font-size:29px;line-height:1.4;overflow-wrap:anywhere}
 .customer-site .catalog-card h2{font-size:21px;line-height:1.4}
 .customer-site .catalog-portrait{width:80px;height:115px;flex-shrink:0}
 .customer-site .compact-section .section-heading{display:flex;flex-direction:column;gap:5px}
 .customer-site .compact-section .section-heading>a{margin-top:0}
 .customer-site .mobile-contact{padding-bottom:calc(9px + env(safe-area-inset-bottom))}
 .customer-site .mobile-contact a{min-height:46px}
}

/* One detail disclosure: narrative, gallery and native source-film player. */
.customer-introduction .case-media{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
[data-source-film] video{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#171415}
.customer-introduction .introduction-copy p:first-child{margin-top:22px}

/* Full source text, photographs and film live on one detail page. */
.detail-contents{position:sticky;top:90px;z-index:20;background:#fcf9f5;display:flex;gap:24px;flex-wrap:wrap;padding:10px 0 18px;border-block:1px solid var(--line);margin-bottom:28px}
.detail-contents a{display:flex;align-items:center;min-height:44px;text-decoration:none;border-bottom:1px solid var(--wine,#704b52)}
.customer-introduction #introduction,.customer-introduction #pictures,.customer-introduction #film{scroll-margin-top:174px}
.customer-introduction #pictures{margin-top:38px}
.introduction-copy p{white-space:pre-line}
.source-paragraph-pairs{padding-left:22px}.source-paragraph-pairs>li{padding:16px 0;border-top:1px solid var(--line)}.source-paragraph-pairs p{white-space:pre-line}.source-paragraph-pairs p[lang="vi"]{color:#704b52}.source-text-entry{overflow-wrap:anywhere}
[data-captioned-video]{background:#fcf9f5;color:#292b29}
.screen-caption-area{padding:22px 20px 26px;border-top:2px solid #704b52;background:#fcf9f5}
.screen-caption-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#704b52;font-size:13px;line-height:1.6}
.screen-caption-heading button{font-size:13px;min-height:44px;flex-shrink:0}
[data-screen-captions]{padding:0;list-style:none;margin:14px 0 0;font-size:16px;line-height:1.65}
[data-screen-captions] li{padding:10px 0;border-top:1px solid #e7ded8;display:flex;flex-direction:column;gap:3px}
.screen-caption-position{font-size:12px;color:#77766f}
[data-captioned-video]:fullscreen,[data-captioned-video].is-expanded{box-sizing:border-box;width:100%;height:100dvh;padding:12px;display:flex;flex-direction:column;overflow:hidden;background:#191617}
[data-captioned-video].is-expanded{position:fixed;inset:0;z-index:10000}
body.has-expanded-player{overflow:hidden}
[data-captioned-video]:fullscreen [data-video-player],[data-captioned-video].is-expanded [data-video-player]{min-height:0;flex:1;display:flex;flex-direction:column;justify-content:center}
[data-captioned-video]:fullscreen video,[data-captioned-video].is-expanded video{width:100%;height:100%;min-height:0;object-fit:contain}
[data-captioned-video]:fullscreen .screen-caption-area,[data-captioned-video].is-expanded .screen-caption-area{flex:0 1 auto;max-height:35dvh;overflow:auto;padding:12px 18px;scrollbar-gutter:stable}
[data-captioned-video]:fullscreen .screen-caption-heading,[data-captioned-video].is-expanded .screen-caption-heading{position:sticky;top:-12px;background:#fcf9f5;z-index:1;padding-block:4px}
[data-captioned-video]:fullscreen [data-video-status],[data-captioned-video].is-expanded [data-video-status]{display:none}
@media(max-width:640px){.detail-contents{gap:20px;top:72px}.screen-caption-area{padding:18px 16px 22px}.screen-caption-heading{gap:12px}.screen-caption-heading button{max-width:190px;text-align:right}.customer-introduction #introduction,.customer-introduction #pictures,.customer-introduction #film{scroll-margin-top:158px}}

/* Controls are progressive enhancements; readable content does not require JS. */
.customer-site [data-filter-section]:not([data-directory-ready]) .directory-tools,
.customer-site [data-filter-section]:not([data-directory-ready]) .pagination{display:none}
.customer-site .directory-tools input{min-height:44px;font-size:16px}
.customer-site .filters button{min-height:44px}
.customer-site .hospital-detail section[id],.customer-site .hospital-detail details[id]{scroll-margin-top:110px}
.customer-site .home-trust>img{height:auto;object-fit:contain}
.customer-site .not-found{max-width:780px;padding-block:80px}
.customer-site .not-found h1{font-size:clamp(30px,5vw,48px);line-height:1.4;margin-bottom:22px}
.customer-site .not-found p{margin-block:20px;font-size:16px}
.customer-site .not-found nav{display:flex;gap:22px;flex-wrap:wrap;align-items:center}
@media(max-width:1100px){
 .customer-site:not(.menu-enhanced) .menu-toggle{display:none}
 .customer-site:not(.menu-enhanced) .nav-wrap{flex-wrap:wrap;padding-block:18px;gap:14px}
 .customer-site:not(.menu-enhanced) #main-navigation{display:flex;position:static;width:100%;flex-wrap:wrap;gap:8px 22px;padding:0;border:0;max-height:none}
}
@media(max-width:640px){
 .customer-site.editing-field .mobile-contact{display:none}
 .customer-site{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
 .customer-site .hospital-detail section[id],.customer-site .hospital-detail details[id]{scroll-margin-top:94px}
 .customer-site .detail-contents{gap:14px;padding-bottom:10px}
 .customer-site .not-found{padding-block:45px}
}
/* Full-motion translated media: readable controls and an embedded-browser fallback. */
.video-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin:.8rem 0}
.video-actions button{font:inherit;color:var(--wine,#704b52);background:#fcf9f5;border:1px solid #cdbab5;padding:.65rem 1rem;cursor:pointer;min-height:44px}
.video-fallback-fullscreen{position:fixed;inset:0;z-index:9999;background:#191616;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));display:flex;flex-direction:column;justify-content:center;overflow:auto}
.video-fallback-fullscreen video{width:100%;height:calc(100dvh - 150px);min-height:120px;object-fit:contain;background:#000}
.video-fallback-fullscreen .video-actions{justify-content:center}
.video-fallback-fullscreen [data-video-status]{color:#f4ece7;text-align:center;margin:.25rem 0}

.video-fullscreen-dialog{margin:0;padding:0;border:0;max-width:none;max-height:none;width:100vw;height:100dvh;background:#191616;color:#f4ece7}
.video-fullscreen-dialog::backdrop{background:#191616}

/* Original-site project previews: untouched source photos, never synthetic results. */
.customer-site .catalog-card.project-preview-card{display:flex;flex-direction:column;padding:0;overflow:hidden;gap:0}
.customer-site .project-preview{display:block;width:100%;background:#f3eee8;line-height:0}
.customer-site .project-preview img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.customer-site .project-preview-card>div{padding:20px;width:100%;box-sizing:border-box}
.customer-site .project-preview-card .catalog-excerpt{display:none}
.customer-site .source-home-kv{position:relative;isolation:isolate;overflow:hidden;background:#f4e5d6}
.customer-site .source-home-kv .kv-vietnamese{position:absolute;inset:0 55% 0 0;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(100deg,#f5e8db,#f1dfcb);padding:4%;box-sizing:border-box;color:#33251e;font-size:clamp(10px,1vw,16px);line-height:1.6}
.customer-site .kv-vietnamese strong{display:block;font-size:clamp(14px,1.4vw,24px);font-weight:600;margin-top:8px}
@media(max-width:700px){.customer-site .source-home-kv .kv-vietnamese{font-size:11px}.customer-site .kv-vietnamese strong{font-size:15px}.customer-site .project-preview-card>div{padding:16px}}
.customer-site .compact-hero .source-home-kv{align-self:center;aspect-ratio:12/5}
.customer-site .source-home-kv>img{mix-blend-mode:normal}

/* Case covers retain full clinical framing and source stage labels. */
.customer-site .catalog-card.case-preview-card{display:flex;flex-direction:column;padding:0;overflow:hidden;gap:0}
.customer-site .case-preview{display:flex;flex-direction:column;width:100%;aspect-ratio:3/4;align-items:center;justify-content:center;background:#f3eee8;line-height:0}
.customer-site .case-preview img{display:block;width:100%;height:auto;max-height:100%;object-fit:contain}
.customer-site .case-preview:has(img+img){aspect-ratio:auto}
.customer-site .case-preview:has(img+img) img{height:auto;max-height:none}
.customer-site .case-preview-card>div{padding:20px;width:100%;box-sizing:border-box}
.customer-site .case-preview-card .catalog-excerpt{display:none}
@media(max-width:700px){.customer-site .case-preview-card>div{padding:16px}}

.customer-site .zalo-contact{display:grid;grid-template-columns:1fr minmax(240px,360px);gap:48px;align-items:center;padding-bottom:48px}
.customer-site .zalo-contact figure{margin:0}.customer-site .zalo-contact img{width:100%;height:auto;display:block;border-radius:12px}.customer-site .zalo-contact figcaption{font-size:13px;margin-top:10px}.customer-site .zalo-contact .button{margin:14px 0;min-height:44px}
@media(max-width:700px){.customer-site .zalo-contact{grid-template-columns:1fr;gap:24px}.customer-site .zalo-contact figure{max-width:360px;width:100%;margin:auto}}

/* Draw decorative arrows with borders, independent of installed glyph fonts. */
.customer-site .compatible-arrow{display:inline-block;position:relative;width:14px;height:14px;font-size:0;vertical-align:middle;flex:none}.compatible-arrow::before{content:"";position:absolute;right:2px;top:2px;width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor}.compatible-arrow::after{content:"";position:absolute;right:2px;top:2px;width:13px;border-top:1.5px solid currentColor;transform:rotate(-45deg);transform-origin:right center}

.video-text-transcript{padding:26px 20px;background:#fcf9f5;border-top:1px solid #e7ded8}.video-text-transcript h3{font-size:24px;line-height:1.4}.video-text-transcript ol{margin:18px 0 0;padding:0;list-style:none}.video-text-transcript li{display:flex;flex-direction:column;gap:5px;padding:13px 0;border-top:1px solid #e7ded8;font-size:15px;line-height:1.75;overflow-wrap:anywhere}

/* Contact actions reuse existing navigation and safe-area behavior. */
#zalo,#email{scroll-margin-top:7rem}
.contact-intro-actions a,.customer-site .contact-channel .button{min-height:44px}
.customer-site .contact-channel .contact-email{overflow-wrap:anywhere;user-select:text}
.customer-site .site-footer a.footer-email:focus-visible,.customer-site .mobile-contact a:focus-visible{outline:2px solid #57343c;outline-offset:2px}
@media(max-width:640px){
 .customer-site{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 .customer-site .mobile-contact{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
 .customer-site .mobile-contact a:first-child{background:#795358;color:#fffaf6}
 .customer-site .mobile-contact a:last-child{background:transparent;color:#69434d}
}
