/* THERASPA R17: retain R16 typography and compact the mobile catalogue.
 * Be Vietnam Pro leads public UI; Noto Serif500 is reserved for editorial
 * headings. Mobile cards use two columns with every duration/price retained.
 * This file is the public typography authority, after component styles.
 */
/* R14 Admin screens reuse this asset. Keep their accepted09 token values;
 * R16 tokens are deliberately bound to the existing public body marker. */
:root,[lang]{--ths-ui09:"THS Be Vietnam09","THS Noto Sans09","Segoe UI",Arial,sans-serif;--ths-display09:"THS Noto Serif09",Georgia,serif;--sans:var(--ths-ui09);--serif:var(--ths-display09);--p32-body:var(--ths-ui09);--p32-display:var(--ths-display09)}
:root:lang(ru),[lang^="ru"]{--ths-ui09:"THS Noto Sans09","Segoe UI",Arial,sans-serif}
:root:lang(zh),[lang^="zh"]{--ths-ui09:"THS Noto SC Common09","THS Noto SC09","Microsoft YaHei",sans-serif;--ths-display09:var(--ths-ui09)}
:root:lang(ja),[lang^="ja"]{--ths-ui09:"THS Noto JP Common09","THS Noto JP09","Yu Gothic",Meiryo,sans-serif;--ths-display09:var(--ths-ui09)}
:root:lang(ko),[lang^="ko"]{--ths-ui09:"THS Noto KR Common09","THS Noto KR09","Malgun Gothic",sans-serif;--ths-display09:var(--ths-ui09)}
body[data-ths-release],body[data-ths-release] [lang]{
 --ths-ui09:"THS Be Vietnam09","Segoe UI",Arial,sans-serif;
 --ths-display09:"THS Noto Serif09",Georgia,serif;
 --sans:var(--ths-ui09);--serif:var(--ths-display09);
 --p32-body:var(--ths-ui09);--p32-display:var(--ths-display09);
 --ths-r15-h2:clamp(28px,2.8vw,40px);
 --ths-r15-section:clamp(48px,6vw,88px);
 --ths-r15-gutter:24px;
 --ths-r15-measure:68ch;
}
body[data-ths-release]:lang(ru),body[data-ths-release] [lang^="ru"]{
 --ths-ui09:"THS Noto Sans09","Segoe UI",Arial,sans-serif;
}
body[data-ths-release]:lang(zh),body[data-ths-release] [lang^="zh"]{
 --ths-ui09:"THS Noto SC Common09","THS Noto SC09","Microsoft YaHei",sans-serif;
 --ths-display09:var(--ths-ui09);
}
body[data-ths-release]:lang(ja),body[data-ths-release] [lang^="ja"]{
 --ths-ui09:"THS Noto JP Common09","THS Noto JP09","Yu Gothic",Meiryo,sans-serif;
 --ths-display09:var(--ths-ui09);
}
body[data-ths-release]:lang(ko),body[data-ths-release] [lang^="ko"]{
 --ths-ui09:"THS Noto KR Common09","THS Noto KR09","Malgun Gothic",sans-serif;
 --ths-display09:var(--ths-ui09);
}
html{font-synthesis:none;font-kerning:normal;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body[data-ths-release]{font-family:var(--ths-ui09)!important;font-size:16px;line-height:1.75;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility}
body[data-ths-release] :is(button,input,select,textarea){font-family:var(--ths-ui09)!important;font-style:normal!important;font-synthesis:none;letter-spacing:normal}
body[data-ths-release] :is(h1,h2,h3,h4,h5,h6),
body[data-ths-release] .service-name{
 font-family:var(--ths-ui09)!important;font-weight:600!important;font-style:normal;
 letter-spacing:normal!important;font-synthesis:none;word-break:normal;
 overflow-wrap:break-word;hyphens:none;text-transform:none;
}
body[data-ths-release] :is(h1,h2,h3,h4,h5,h6) :is(strong,b){font-weight:inherit}
/* Retain the established text logotype as well as the unchanged raster logos. */
body[data-ths-release] .brand-word{font-family:"THS Be Vietnam09","THS Noto Sans09","Segoe UI",Arial,sans-serif!important}
body[data-ths-release] .brand-word small{font-family:inherit}
/* Shared content rhythm. Navigation and compact form controls keep their own scales. */
body[data-ths-release] .wrap{width:min(1280px,calc(100% - 2 * var(--ths-r15-gutter)))}
body[data-ths-release] .section{padding-block:var(--ths-r15-section)}
body[data-ths-release] .section-heading{margin-bottom:36px}
body[data-ths-release] .hero-inner{padding-inline:0}
body[data-ths-release] .hero h1{
 font-family:var(--ths-display09)!important;font-weight:500!important;
 font-size:clamp(34px,3.75vw,54px)!important;line-height:1.3!important;
 max-width:900px;overflow:visible;margin-block:16px 20px;text-wrap:balance;
}
body[data-ths-release] .hero-subpage h1{font-size:clamp(32px,3.4vw,48px)!important;max-width:900px}
body[data-ths-release] .hero-inner>p{font-size:16px;line-height:1.75;max-width:62ch;margin-bottom:26px}
/* Home hero: keep Korean words together and balance supporting copy. */
body.page-home[data-ths-release] .hero-inner>p{text-wrap:balance}
body.page-home[data-ths-release]:lang(ko) .hero :is(h1,p){word-break:keep-all;overflow-wrap:break-word}
body[data-ths-release] .section-heading h2,
body[data-ths-release] .inline-title h2,
body[data-ths-release] .content-page>h2,
body[data-ths-release] .ths-core14-section>h2{
 font-family:var(--ths-display09)!important;font-weight:500!important;
 font-size:var(--ths-r15-h2)!important;line-height:1.35!important;
 margin-block:12px 14px;max-width:100%;text-wrap:balance;
}
body[data-ths-release] .section-heading p{font-size:16px;line-height:1.75;max-width:62ch}
body[data-ths-release] :is(.promo-content>p,.review-card>p,.faq-item>p,.news-body>p,.archive-card p,.footer-intro p){font-size:16px;line-height:1.75}
body[data-ths-release] :is(.promo-content ul,.faq-item>button){font-size:16px;line-height:1.75}
body[data-ths-release] .promo-content h2{font-family:var(--ths-display09)!important;font-weight:500!important;font-size:clamp(28px,2.4vw,34px);line-height:1.35!important;max-width:100%}
body[data-ths-release] .app-chat h3{font-size:22px;line-height:1.4}
body[data-ths-release] .review-card{min-height:0}
body[data-ths-release] .video-name{font-family:var(--ths-ui09)!important;font-weight:600!important}
body[data-ths-release] .news-body>p{height:auto;max-height:none;min-height:0}
/* Service and article names can wrap naturally; no fixed-height glyph clipping. */
body[data-ths-release] .service-name,
body[data-ths-release] .archive-card h3,
body[data-ths-release] .news-body h3,
body[data-ths-release] .ths-core14-service-body h3,
body[data-ths-release] .ths-r13-related-card>a{
 font-family:var(--ths-ui09)!important;font-weight:600!important;
 font-size:clamp(18px,1.4vw,20px)!important;line-height:1.45!important;
 min-height:2.9em;height:auto!important;max-height:none!important;
 overflow:visible!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;
 display:block;text-wrap:pretty;
}
body[data-ths-release] .ths-core14-hero h1{font-family:var(--ths-display09)!important;font-weight:500!important;font-size:clamp(32px,3.4vw,48px);line-height:1.3}
body[data-ths-release] :is(.ths-core14-steps h3,.ths-core14-branch h2,.ths-r13-booking h2){font-size:20px;line-height:1.45}
body[data-ths-release] .service-body{padding:20px}
body[data-ths-release] .service-from{flex-wrap:wrap;gap:5px 8px}
body[data-ths-release] .service-from small{font-size:13px}
body[data-ths-release] .service-from strong{font-size:18px;font-weight:600}
body[data-ths-release] .service-rule{font-size:12px;gap:8px;flex-wrap:wrap}
body[data-ths-release] .time-chip{font-size:13px;line-height:1.5;min-height:48px;padding:7px 4px}
body[data-ths-release] .time-chip em{font-size:12px}
body[data-ths-release] .service-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
body[data-ths-release] :is(.btn,.ths-r04-primary,.ths-core14-button){
 font-family:var(--ths-ui09)!important;font-size:15px;font-weight:600;
 min-height:48px;line-height:1.45;white-space:normal;max-width:100%;
 overflow-wrap:break-word;text-align:center;
}
body[data-ths-release] .btn *{font-family:var(--ths-ui09)!important;font-style:normal!important;letter-spacing:normal!important}
body[data-ths-release] .btn-small{font-size:13px;padding:10px 12px}
body[data-ths-release] .hero-actions{flex-wrap:wrap}
body[data-ths-release] .text-link{font-size:14px;line-height:1.65;min-height:48px}
/* Body-copy measure is independent of page/photograph width. */
body[data-ths-release] .article-excerpt{font-family:var(--ths-ui09)!important;font-size:16px;line-height:1.75;max-width:var(--ths-r15-measure);overflow-wrap:anywhere}
body[data-ths-release] .article-excerpt :where(p,li,span,strong,em,b,i,a,ul,ol,blockquote,td,th,div){font-family:inherit!important;font-size:inherit!important}
body[data-ths-release] .article-excerpt :is(p,li){line-height:1.75}
body[data-ths-release] .article-excerpt :is(h1,h2,h3,h4,h5,h6){height:auto!important;max-height:none!important;line-height:1.4!important;overflow:visible!important;margin-block:1.5em .65em}
body[data-ths-release] .article-excerpt :is(h1,h2,h3),
body[data-ths-release] .ths-r13-body :is(h2,h3){font-family:var(--ths-display09)!important;font-weight:500!important;line-height:1.4!important}
body[data-ths-release] .article-excerpt :is(h1,h2),
body[data-ths-release] .ths-r13-body h2{font-size:clamp(26px,2.1vw,30px)!important}
body[data-ths-release] .article-excerpt h3,
body[data-ths-release] .ths-r13-body h3{font-size:clamp(22px,1.75vw,25px)!important}
body[data-ths-release] .article-excerpt :is(h4,h5,h6){font-size:20px!important}
/* Navigation keeps accepted R08 geometry; all action/menu labels use the UI family. */
body[data-ths-release] :is(.ths-nav05,.ths-nav05-layer){font-family:var(--ths-ui09)!important}
body[data-ths-release] .ths-nav05-language-list [lang]{font-family:var(--ths-ui09)!important}
body[data-ths-release] .ths-nav05-menu-list a,
body[data-ths-release] .ths-nav05-menu-list li>span{font-family:var(--ths-ui09)!important;font-weight:500;font-size:18px;line-height:1.45}
body[data-ths-release] .ths-nav05-menu-list a.ths-nav05-drawer-book{font-family:var(--ths-ui09)!important;font-weight:600;font-size:16px}
body[data-ths-release] .ths-nav05-layer[data-ths-nav-layer=language] h2{font-family:var(--ths-ui09)!important}
body[data-ths-release] .ths-nav05>.ths-nav05-strip>.ths-nav05-scroll>.ths-nav05-strip-link,
body[data-ths-release] .ths-nav05>.ths-nav05-strip>.ths-nav05-book{font-family:var(--ths-ui09)!important;font-size:14px!important;font-weight:500!important;line-height:1.45!important}
body[data-ths-release] .nav-links>a{font-size:13px;font-weight:600}
body[data-ths-release] .btn-nav{font-size:13px;padding-inline:16px}
body[data-ths-release] .footer-intro h2{font-family:var(--ths-display09)!important;font-weight:500!important;font-size:var(--ths-r15-h2)!important;line-height:1.35!important}
body[data-ths-release] .footer-columns h4{font-size:15px;line-height:1.5}
body[data-ths-release] .footer-columns :is(p,a,button){font-size:14px;line-height:1.75}
body[data-ths-release] .footer-ctas{flex-wrap:wrap}
body[data-ths-release] .footer-ctas .btn{font-size:14px;min-width:0}
body[data-ths-release] .footer-social-grid button{min-height:48px}
/* Existing Booking: fonts and reading rhythm only, field logic/IDs/actions untouched. */
body[data-ths-release] .ths-r04-main{width:min(1280px,100%)}
body[data-ths-release] .ths-r04-hero h1{font-family:var(--ths-display09)!important;font-size:clamp(32px,3.4vw,48px);font-weight:500!important;line-height:1.3!important;letter-spacing:normal!important}
body[data-ths-release] .ths-r04-hero p{font-size:16px;line-height:1.75}
body[data-ths-release] .ths-r04-ticket h2,
body[data-ths-release] .ths-r04-transfer strong{font-family:var(--ths-ui09)!important;font-size:20px;font-weight:600!important;line-height:1.45!important;letter-spacing:normal!important}
body[data-ths-release] .ths-r04-ticket p{font-size:16px;line-height:1.75}
body[data-ths-release] :is(.ths-r04-ticket a,.ths-r04-transfer-details a){min-height:48px}
body[data-ths-release] :is(.ths-booking-submit,.ths-booking-preview,.ths-booking-mobile-summary-bar,.ths-booking-mode-card,.ths-booking-field,.ths-compact-disclosure,.ths-compact-number){font-family:var(--ths-ui09)!important;font-style:normal!important;letter-spacing:normal!important;font-synthesis:none}
body[data-ths-release] :is(.ths-booking-submit,.ths-booking-preview) *{font-family:var(--ths-ui09)!important}
body[data-ths-release] #ths-booking-submit-inline-btn,
body[data-ths-release] #ths-booking-submit-btn,
body[data-ths-release] #ths-booking-mobile-open,
body[data-ths-release] .ths-booking-success-modal .ths-booking-submit{font-family:var(--ths-ui09)!important;font-size:16px!important;font-weight:600!important;line-height:1.45!important;min-height:48px!important;text-transform:none!important;text-shadow:none!important;-webkit-text-stroke:0}
body[data-ths-release] .ths-booking-field>span,
body[data-ths-release] .ths-booking-mode-card strong,
body[data-ths-release] .ths-compact-disclosure summary strong,
body[data-ths-release] .booking-service-row__title{font-family:var(--ths-ui09)!important;font-weight:600!important}
body[data-ths-release] .booking-step-heading h2,
body[data-ths-release] .ths-compact06 .ths-compact-heading-small h2{font-family:var(--ths-ui09)!important;font-size:18px!important;font-weight:600!important;line-height:1.45!important}
body[data-ths-release] :lang(zh),body[data-ths-release] :lang(ja),body[data-ths-release] :lang(ko){letter-spacing:normal!important;word-break:normal;line-break:strict}
@media(max-width:980px){
 body[data-ths-release] .ths-nav05>.ths-nav05-strip,
 body[data-ths-release] .ths-nav05>.ths-nav05-strip>.ths-nav05-home,
 body[data-ths-release] .ths-nav05>.ths-nav05-strip>.ths-nav05-scroll>.ths-nav05-strip-link,
 body[data-ths-release] .ths-nav05>.ths-nav05-strip>.ths-nav05-book{min-height:48px;height:48px}
}
@media(max-width:640px){
 body[data-ths-release]{--ths-r15-gutter:20px}
 body[data-ths-release] .hero h1{font-size:clamp(28px,7.7vw,34px)!important;line-height:1.32!important;max-width:100%}
 body[data-ths-release] .hero-subpage h1{font-size:clamp(28px,7.7vw,32px)!important}
 body[data-ths-release] .section-heading{margin-bottom:28px}
 body[data-ths-release] .section-heading h2{padding-inline:0;font-size:28px!important}
 body[data-ths-release] :is(.news-grid,.archive-grid){grid-template-columns:minmax(0,1fr);gap:20px}
 body[data-ths-release] .service-image{height:auto;aspect-ratio:16/10}
 body[data-ths-release] :is(.news-card,.archive-card) img{height:auto;aspect-ratio:16/10;object-fit:cover}
 body[data-ths-release] .service-body{padding:20px}
 body[data-ths-release] .news-body{padding:20px}
 body[data-ths-release] .service-name,
 body[data-ths-release] .news-body h3,
 body[data-ths-release] .archive-card h3,
 body[data-ths-release] .ths-core14-service-body h3,
 body[data-ths-release] .ths-r13-related-card>a{font-size:18px!important}
 body[data-ths-release] .ths-core14-hero h1{font-size:32px;line-height:1.32}
 body[data-ths-release] .ths-r04-hero h1{font-size:30px;line-height:1.32!important}
 body[data-ths-release] :is(.ths-r04-ticket h2,.ths-r04-transfer strong){font-size:18px}
 body[data-ths-release] .booking-step-heading h2,
 body[data-ths-release] .ths-compact06 .ths-compact-heading-small h2{font-size:16px!important}
 body[data-ths-release] :is(input,select,textarea){font-size:16px!important}
 body[data-ths-release] .ths-booking-mode-card strong{font-size:12px!important}
 body[data-ths-release] .ths-r04-hero-copy{padding-inline:20px}
}

/* R17 mobile catalogue: two real columns, readable complete prices and 48px actions. */
@media(max-width:767px){
 body[data-ths-release] :is(.services-grid,.services-grid.cols-three){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
 body[data-ths-release] .service-card{display:flex;flex-direction:column;min-width:0;border-radius:13px}
 body[data-ths-release] .service-image{height:auto;aspect-ratio:4/3;flex:none}
 body[data-ths-release] .service-image>img{height:100%;width:100%;object-fit:cover}
 body[data-ths-release] .service-image .image-caption{display:none}
 body[data-ths-release] .service-tag{top:8px;left:7px;max-width:calc(100% - 58px);padding:3px 5px;font-size:7px;line-height:1.4;letter-spacing:.02em}
 body[data-ths-release] .favorite-icon{top:3px;right:3px;width:44px;height:44px;background:transparent;isolation:isolate}
 body[data-ths-release] .favorite-icon::before{content:"";position:absolute;inset:6px;border-radius:50%;background:#fffdf4;z-index:-1;box-shadow:0 2px 7px #18334c16}
 body[data-ths-release] .favorite-icon.on::before{background:#fff1e8}
 body[data-ths-release] .favorite-icon .icon{width:16px;height:16px}
 body[data-ths-release] .service-body{display:flex;flex:1;flex-direction:column;padding:13px 11px 12px;min-width:0}
 body[data-ths-release] .service-name{font-size:15px!important;line-height:1.45!important;min-height:2.9em;overflow-wrap:anywhere}
 body[data-ths-release] .service-from{gap:2px 5px;margin:8px 0}
 body[data-ths-release] .service-from small{font-size:11px;line-height:1.5}
 body[data-ths-release] .service-from strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
 body[data-ths-release] .service-rule{display:block;padding:8px 0;font-size:10px;line-height:1.55}
 body[data-ths-release] .service-rule>span:first-child{display:flex;align-items:flex-start;gap:4px;overflow-wrap:anywhere}
 body[data-ths-release] .service-rule>span:nth-child(2){display:none}
 body[data-ths-release] .service-rule .icon{margin-top:2px}
 body[data-ths-release] .service-times{grid-template-columns:minmax(0,1fr);gap:5px;margin-bottom:12px}
 body[data-ths-release] .time-chip{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;min-height:48px;padding:8px 7px;font-size:12px;line-height:1.45;text-align:start}
 body[data-ths-release] .time-chip em{font-size:11px;line-height:1.45;margin:0;min-width:0;overflow-wrap:anywhere;text-align:end}
 body[data-ths-release] .service-actions{grid-template-columns:minmax(0,1fr);gap:7px;margin-top:auto;padding-top:1px}
 body[data-ths-release] .service-actions .btn{min-height:48px;line-height:1.45;font-size:12px;padding:10px 6px;gap:5px}
 body[data-ths-release] .service-actions .icon{width:12px;height:12px}
}
@media(max-width:359px){
 body[data-ths-release] :is(.services-grid,.services-grid.cols-three){gap:9px}
 body[data-ths-release] .service-body{padding-inline:9px}
 body[data-ths-release] .service-name{font-size:14px!important}
 body[data-ths-release] .time-chip{padding-inline:5px;gap:3px}
 body[data-ths-release] .time-chip em{font-size:10px}
}

/* R18 App Chat: the circle belongs to the icon; channel names are plain labels. */
body[data-ths-release] .chat-app-grid>button{gap:7px;color:var(--ink,#17324d);font-size:11px;font-weight:600;line-height:1.35}
body[data-ths-release] .chat-app-grid>button>span:last-child:not(.chat-brand-ring){display:block;width:auto;height:auto;min-width:0;max-width:100%;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:inherit;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
