/* Control 3: presentation boundary only; no Traveler checkout/admin selectors. */
.tos-unified-home,.jq:is([data-view="hotels"],[data-view="detail"]){--ota-ink:#16354b;--ota-blue:#087dac;--ota-line:#dce7ee;--ota-radius:18px}
.tos-unified-home .tos-home-hero{min-height:580px}
.tos-unified-home .tos-hero-message{max-width:760px;padding-bottom:0}
.tos-unified-home .tos-hero-message h1{font-size:clamp(36px,4vw,56px);line-height:1.2}
.tos-unified-home .tos-hero-copy{font-size:18px;max-width:52ch}
.tos-unified-home .tos-primary-choices>.tos-button.tos-ai-choice{background:#143e55;color:#fff!important;border:1px solid #ffffff80;box-shadow:none}
.tos-unified-home .tos-hero-inner{padding-top:28px;row-gap:12px}
.tos-unified-home .tos-hero-message h1{margin-block:12px}
.tos-unified-home .tos-hero-thai{margin-block:8px}
.tos-unified-home .tos-primary-choices{margin-top:16px}
.tos-unified-home .tos-hero-search{background:#fff;color:var(--ota-ink);border:1px solid var(--ota-line);border-radius:20px;box-shadow:0 18px 44px #07364a26;padding:24px}
.tos-unified-home .tos-discovery-filter{display:grid;grid-template-columns:1.2fr 1fr auto;gap:16px;align-items:end}
.tos-unified-home [data-stays-fields]{grid-column:1/-1}
.tos-unified-home [data-stays-fields][hidden]{display:none}
.ota-stay-intent{display:grid;grid-template-columns:1fr 1fr .7fr;gap:12px;border:0;border-top:1px solid #dce7ee;padding:12px 0 0;margin:0;min-width:0}
.ota-stay-intent legend{font-size:14px;font-weight:500;padding:0 8px 0 0}
.ota-stay-intent label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px}
.ota-stay-intent input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;font:400 16px/1.5 Prompt,sans-serif;border:1px solid #bbcfdc;border-radius:10px;padding:10px;background:#fff;color:#16354b}
.ota-stay-intent small{grid-column:1/-1;font-size:14px;line-height:1.6;color:#50687b}
.tos-unified-home .tos-native:not(.tos-home-hero){margin-block:40px}
.tos-unified-home .tos-destination-grid{gap:16px}
.tos-unified-home .tos-destination-card{border-radius:var(--ota-radius);aspect-ratio:4/3;min-height:0}
.tos-unified-home .tos-service-card{border:1px solid var(--ota-line);border-radius:var(--ota-radius);box-shadow:0 5px 18px #123b5010;overflow:hidden}
.tos-unified-home .tos-service-photo{aspect-ratio:16/10;margin:0;position:relative}
.tos-unified-home .tos-service-photo img{height:100%;width:100%;object-fit:cover}
.tos-unified-home .tos-service-body{padding:20px}
.tos-unified-home .tos-concierge-section{border:1px solid var(--ota-line);border-radius:24px;overflow:hidden;background:#eef7fb}
.jq:is([data-view="hotels"],[data-view="detail"]){color:var(--ota-ink)}
.jq .tos-copy>[lang="th"]{display:none}
.jq[data-language="th"] .tos-copy>[lang="en"]{display:none}
.jq[data-language="th"] .tos-copy>[lang="th"]{display:inline}
.jq[data-view="hotels"] .page-intro{padding:32px 0 20px}
.jq[data-view="hotels"] .page-intro h1{font-size:clamp(28px,3vw,40px);line-height:1.3}
.jq[data-view="hotels"] .service-destination-banner{max-height:170px;overflow:hidden;border-radius:18px}
.jq[data-view="hotels"] .service-destination-banner img{height:125px;aspect-ratio:auto}
.jq[data-view="hotels"] .listing-filter{background:#f2f8fb;border:1px solid var(--ota-line);box-shadow:none;border-radius:18px;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.jq[data-view="hotels"] .ota-stay-intent{grid-column:1/-1;order:-1}
.jq[data-view="hotels"] .hotel-grid{grid-template-columns:1fr;gap:24px}
.jq[data-view="hotels"] .hotel-card{display:grid;grid-template-columns:minmax(220px,32%) minmax(0,1fr)}
.jq[data-view="hotels"] .hotel-card .hotel-image{height:100%;min-height:260px;width:100%;max-width:100%;min-width:0;aspect-ratio:auto;overflow:hidden}
.jq[data-view="hotels"] .hotel-card .property-placeholder{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.jq[data-view="hotels"] .hotel-content{gap:10px}
.jq[data-view="hotels"] .hotel-content :is(h3,p){margin-block:0}
.jq[data-view="hotels"] .hotel-card{border:1px solid var(--ota-line);border-radius:18px;box-shadow:0 4px 14px #16354b0a}
.jq[data-view="hotels"] .hotel-image{aspect-ratio:16/10;height:auto;min-height:0}
.jq[data-view="hotels"] .hotel-content h3{font-size:20px;line-height:1.5}
.jq[data-view="hotels"] .card-actions{flex-wrap:wrap;gap:8px}
.jq[data-view="detail"] .detail-hero h1{font-size:clamp(28px,3.4vw,44px);line-height:1.3}
.jq[data-view="detail"] .listing-gallery{border-radius:20px;overflow:hidden;gap:20px;align-items:start}
.jq[data-view="detail"] .gallery-primary{aspect-ratio:16/10;min-height:0}
.jq[data-view="detail"] .gallery-primary img{width:100%;height:100%;object-fit:cover}
.jq[data-view="detail"] .detail-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:32px;align-items:start}
.jq[data-view="detail"] #listing-inquiry{background:#f1f8fb;border:1px solid var(--ota-line);border-radius:20px;position:sticky;top:100px}
.ota-stay-context{font-size:14px;line-height:1.7;padding:12px 16px;background:#eef6fb;border-radius:12px}
.jq:is([data-view="hotels"],[data-view="detail"]) :is(a,button,input,select):focus-visible,.tos-unified-home .ota-stay-intent input:focus-visible{outline:3px solid #087dac;outline-offset:3px}
@media(max-width:900px){.jq[data-view="hotels"] .hotel-grid{grid-template-columns:1fr}.jq[data-view="detail"] .detail-layout{grid-template-columns:1fr}.jq[data-view="detail"] #listing-inquiry{position:static}}
.jq[data-view="detail"] .ota-detail-planner{padding:16px;border:1px solid var(--ota-line);border-radius:14px;margin-block:20px}
.jq[data-view="detail"] .service-review-panel{padding:16px;border:1px solid var(--ota-line);border-radius:14px}
@media(max-width:600px){.jq[data-view="hotels"] .hotel-card{display:flex}.jq[data-view="hotels"] .hotel-card .hotel-image{height:auto;min-height:0}.tos-unified-home .tos-primary-choices{grid-template-columns:1fr 1fr}.tos-unified-home .tos-primary-choices>.tos-button:first-child{grid-column:1/-1}.tos-unified-home .tos-primary-choices>.tos-button{font-size:14px;min-height:48px}.tos-unified-home .tos-hero-inner{padding-top:18px}}
@media(max-width:600px){.tos-unified-home .tos-home-hero{min-height:0}.tos-unified-home .tos-hero-search{padding:16px}.tos-unified-home .tos-discovery-filter{grid-template-columns:minmax(0,1fr)}.ota-stay-intent{grid-template-columns:repeat(2,minmax(0,1fr))}.ota-stay-intent label:last-of-type{grid-column:1/-1}.tos-unified-home .tos-native:not(.tos-home-hero){margin-block:28px}.jq[data-view="hotels"] .listing-filter,.jq[data-view="hotels"] .hotel-grid{grid-template-columns:minmax(0,1fr)}.jq:is([data-view="hotels"],[data-view="detail"]) :is(input,select){font-size:16px;min-height:48px;max-width:100%}.jq[data-view="detail"] .listing-gallery{grid-template-columns:1fr}.jq[data-view="detail"] .detail-section-nav{display:flex;overflow-x:auto;flex-wrap:nowrap;gap:12px}.jq[data-view="detail"] .detail-section-nav a{flex:none;min-height:44px}.jq:is([data-view="hotels"],[data-view="detail"]) .site-footer{padding-bottom:100px}}
/* Full-site local audit: concise editorial surfaces; credits and original copy remain accessible. */
.jq .discovery-services{align-items:stretch}
.jq .discovery-service{gap:8px;min-height:0;padding:18px}
.jq .discovery-service .service-source-count{font-size:14px;line-height:1.6}
.jq :is(.discovery-credit,.research-reference-credit){margin:0;padding:8px 16px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.jq :is(.discovery-credit,.research-reference-credit,.research-planning-details,.research-contact-details)>summary{cursor:pointer;min-height:44px;align-content:center;color:#24516a;font-size:14px}
.jq :is(.discovery-credit,.research-reference-credit,.research-planning-details,.research-contact-details)>summary:focus-visible{outline:3px solid #087dac;outline-offset:3px}
.jq .research-reference-body{gap:10px;padding:16px}
.jq .research-reference-body h4{font-size:20px;line-height:1.5}
.jq .research-reference-photo img{aspect-ratio:16/10;max-height:240px;object-fit:cover}
.jq .research-reference-photo img[data-photo-fit="contain"]{object-fit:contain;background:#edf4f5}
.jq .research-reference-photo figcaption{font-size:14px;line-height:1.5;padding:8px 16px}
.jq .research-reference-body .research-inquiry-link{margin:0;border:0;padding:8px 0}
.jq .research-destination-heading figure img{aspect-ratio:16/9;max-height:200px}
.jq .research-destination-heading>div{padding:16px}
.jq .research-destination-heading h3{font-size:28px;line-height:1.4}
.jq .research-destination-copy{padding:16px}
.jq .discovery-collection-copy h3{font-size:22px;line-height:1.5}
.jq .discovery-plan-link{min-height:44px;padding:8px 12px}
.jq .collection-editorial figcaption{font-size:14px;line-height:1.7}
.jq :is(.research-family-filter,.listing-filter) :is(input,select){font-size:16px;min-height:48px;max-width:100%;box-sizing:border-box}
.jq :is(.research-source-details,.research-planning-details,.research-contact-details){overflow-wrap:anywhere}
@media(max-width:640px){
 .jq .page-intro{padding-block:24px 16px}
 .jq .page-intro h1{font-size:30px;line-height:1.4}
 .jq .discovery-services{gap:12px}
 .jq .discovery-service{padding:14px}
 .jq .discovery-service strong{font-size:16px;line-height:1.5}
 .jq .research-reference-body{padding:14px}
 .jq .research-reference-photo img{max-height:200px}
 .jq .research-destination-heading figure img{max-height:160px}
 .jq .research-destination-copy{padding:12px}
 .jq .research-reference-grid{gap:16px}
 .jq .discovery-collections{gap:20px}
 .jq .collection-review-panel{padding:20px}
}

/* Batch 2: bounded category recovery and honest media gaps; no native-theme selectors. */
.jq .service-empty-state{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;text-align:left;padding:24px;grid-column:1/-1}
.jq .service-empty-state:has(.empty-destination-photo){grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
.jq .empty-destination-photo{margin:0;min-width:0}
.jq .empty-destination-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:16px}
.jq .empty-destination-photo figcaption{font-size:14px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}
.jq .empty-recovery-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}
.jq .service-empty-state summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:16px}
.jq .service-empty-state h2{font-size:clamp(24px,3vw,30px);line-height:1.45}
.jq .property-placeholder small{font-size:14px;line-height:1.6;padding:0 16px}
.jq .hotel-content .card-bottom{gap:12px;flex-wrap:wrap}
.jq .discovery-collection-copy h3{overflow-wrap:anywhere;line-height:1.5}
.jq .discovery-service{min-width:0;overflow-wrap:anywhere}
.jq .discovery-service strong{font-size:18px;line-height:1.5}
.jq .discovery-destination-switch a{min-height:44px;display:inline-flex;align-items:center}
.jq .service-empty-state a:focus-visible,.jq .service-empty-state summary:focus-visible{outline:3px solid #0868b2;outline-offset:3px}
@media(max-width:600px){.jq .service-empty-state:has(.empty-destination-photo){grid-template-columns:minmax(0,1fr)}.jq .service-empty-state{padding:18px;gap:18px}.jq .empty-destination-photo img{max-height:180px}.jq .empty-recovery-actions>a{flex:1 1 180px}.jq .hotel-content .card-bottom a{min-height:44px;display:inline-flex;align-items:center}}

/* Batch 3: shared plugin card readability; original supplier images and credits preserved. */
.jq :is(.hotel-card,.discovery-editorial,.destination-editorial-card){min-width:0}
.jq .hotel-card{display:flex;flex-direction:column}
.jq .hotel-card .hotel-image{aspect-ratio:8/5;overflow:hidden;flex-shrink:0}
.jq .hotel-card .hotel-image>img{width:100%;height:100%;object-fit:cover}
.jq .hotel-card .hotel-content{flex:1;display:flex;flex-direction:column;min-width:0}
.jq .hotel-card .card-bottom{margin-top:auto;padding-top:16px}
.jq .hotel-card :is(h3,.card-description,.card-location){overflow-wrap:anywhere}
.jq .hotel-card h3{font-size:20px;line-height:1.5}
.jq .hotel-card .card-description{font-size:16px;line-height:1.75}
.jq :is(.destination-photo-credit,.media-credit,.collection-editorial figcaption){font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.jq .discovery-collection figure{margin:0}
.jq .discovery-collection figure img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.jq .collection-editorial>figure img{display:block;width:100%;height:auto;max-height:420px;object-fit:cover}
.jq .collection-editorial h1{font-size:clamp(28px,4vw,40px);line-height:1.45;overflow-wrap:anywhere}
.jq .collection-destination-nav{display:flex;flex-wrap:wrap;gap:8px 12px}
.jq .collection-destination-nav a{display:inline-flex;align-items:center;min-height:44px;padding:4px 10px}
.jq .collection-destination-nav a:focus-visible{outline:3px solid #0868b2;outline-offset:3px}
@media(max-width:600px){.jq .collection-editorial>figure img{max-height:240px}.jq .hotel-card h3{font-size:18px}.jq .collection-destination-nav{gap:8px}.jq .discovery-handoff{overflow-wrap:anywhere}}
