.bh-scroll-cue{box-sizing:border-box;color:#fff;background:#315e58;border:1px solid #173c37;border-radius:5px;padding:3px 8px;margin:3px 0;font-size:13px;font-weight:600;letter-spacing:normal;line-height:normal;flex:none;white-space:normal;pointer-events:none}
.bh-scroll-cue[hidden]{display:none!important}
.bh-page-cue{width:max-content;max-width:calc(100% - 16px);margin:4px auto}
button:not(:disabled):active,button.bh-pressed:not(:disabled),[role="button"].bh-pressed:not([aria-disabled="true"]),a.communication-control.bh-pressed{filter:brightness(.72)!important;box-shadow:inset 0 3px 7px #0009!important;outline:2px solid #315e58;outline-offset:-2px}
body[data-admin-view="phone"] .reply-body{overflow:auto}
body[data-admin-view="phone"] #photo-preview2{flex:none;max-height:none;overflow:visible;box-sizing:border-box;background:#f1eadc;padding:6px;border-radius:8px}
body[data-admin-view="phone"] #photo-preview2:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:center}
body[data-admin-view="phone"] #photo-preview2 img{grid-row:1/3;grid-column:1;display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:120px!important;object-fit:contain;margin:auto}
body[data-admin-view="phone"] #photo-preview2 a{grid-column:2;overflow-wrap:anywhere;font-size:12px;line-height:normal}
body[data-admin-view="phone"] #delete-photo2{grid-column:2;min-height:40px;white-space:normal;padding:5px}
html.bh-short-ipad,html.bh-short-ipad body{height:auto!important;min-height:var(--bh-visible-height)!important;max-height:none!important;overflow-y:auto!important}
html.bh-short-ipad main.single-screen-site{height:auto!important;min-height:var(--bh-visible-height)!important;max-height:none!important;overflow:visible!important}
html.bh-short-ipad .communication-main,html.bh-short-ipad .communication-form,html.bh-short-ipad .communication-composer{height:auto!important;max-height:none!important;overflow:visible!important}
html.bh-short-ipad .communication-composer textarea{min-height:96px!important;flex:none!important}
html.bh-short-ipad .communication-history{min-height:160px!important;max-height:280px!important;overflow:auto!important}
html.bh-short-ipad #buri-admin-refined,html.bh-short-ipad #buri-admin-refined .layout,html.bh-short-ipad #buri-admin-refined .stage{height:auto!important;max-height:none!important;overflow:visible!important}
html.bh-short-ipad #draft2{min-height:110px!important}

html.bh-short-ipad #history2{min-height:160px!important;max-height:280px!important;overflow-y:auto!important}
html.bh-short-ipad #list2{max-height:360px!important;overflow-y:auto!important}

body[data-bh-training]::before{content:"TRAINING · Учебный сайт · ข้อมูลฝึกหัด";display:block;position:relative;box-sizing:border-box;text-align:center;background:#7c381c;color:#fff;padding:3px 6px;font:600 12px Arial,sans-serif;line-height:normal;letter-spacing:normal}

/* BH029003: indicator-only, no pointer interception, natural text metrics. */

html{scrollbar-color:#ff1616 #fff;scrollbar-width:auto}
*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-thumb{background:#ff1616;border:1px solid white;border-radius:5px}*::-webkit-scrollbar-track{background:#fff}
#buri-admin-refined #attach2,#buri-admin-refined #confirm-reservation2,#buri-admin-refined #admin-communication2{white-space:normal;word-spacing:normal;letter-spacing:normal;line-height:normal;text-align:center}
@media(min-width:1051px){html:not([data-buri-layout="ipad"]) .communication-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important}.communication-controls>.communication-photo-send{min-width:0;white-space:normal}}
@media(min-width:1051px){html:not([data-buri-layout="ipad"]) main[data-desktop-service].phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:40px!important}}

/* BH004: content owns the guest card height; only history owns chat scrolling. */
html[data-buri-layout="ipad"][data-locale] main.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-information-panel{overflow:visible!important;min-height:min-content!important;height:auto!important;max-height:none!important}
html[data-buri-layout="ipad"][data-locale] main.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-information-primary{overflow:visible!important;height:auto!important;min-height:min-content!important;max-height:none!important;flex:1 0 auto}
html[data-buri-layout="ipad"][data-locale] main.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-reservation-summary{overflow:visible!important;height:auto!important;min-height:min-content!important;max-height:none!important;flex-shrink:0}
html[data-buri-layout="ipad"][data-locale] main.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-reservation-summary dl{overflow:visible!important;min-height:min-content!important;flex-shrink:0}
html[data-buri-layout="ipad"][data-locale] main.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-cost-summary{flex:none;min-height:min-content;overflow:visible}

html[data-buri-layout="ipad"][data-locale].bh-card-page-flow,html[data-buri-layout="ipad"][data-locale].bh-card-page-flow body{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow-y:auto!important}
html[data-buri-layout="ipad"][data-locale].bh-card-page-flow main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page){height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important}
html[data-buri-layout="ipad"][data-locale].bh-card-page-flow main.phone-communication-page .communication-workspace{height:var(--bh-card-space-height)!important;min-height:var(--bh-card-space-height)!important;flex:none!important}

html[data-buri-layout="ipad"][data-locale].bh-card-page-flow body{overflow:visible!important}

/* Cached002/003 helpers must not reintroduce layout rows or floating legacy tracks. */
.bh-scroll-cue:not([role="status"]){display:none!important}
.bh-phone-scroll-indicator:not(.bh-scroll-indicator004){display:none!important}

/* Same accepted iPad composition in every interface language. */
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-composer{flex-direction:column;height:100%;min-height:0;display:flex;overflow-y:auto!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-composer textarea{flex:160px;height:auto!important;min-height:150px!important;max-height:none!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-controls{grid-column:1/-1;gap:8px 10px;display:grid;grid-row:3!important;grid-template-rows:auto auto!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-control{white-space:normal;overflow-wrap:normal;word-break:normal;letter-spacing:normal;width:100%;min-width:0;padding:8px;line-height:normal;grid-area:auto!important;min-height:48px!important}
html[data-buri-layout=ipad][data-locale] .communication-controls .communication-photo-send{color:#fff;background:linear-gradient(#ff7065,#ca2822)!important}
html[data-buri-layout=ipad][data-locale] .communication-controls .communication-action-status{color:#fffdf6;grid-column:1/-1;margin:0;font-size:14px;line-height:normal}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-form{min-height:0;grid-area:2/1!important;height:100%!important;display:block!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-composer{height:100%!important;display:flex!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-workspace{grid-template-rows:minmax(130px,1fr) minmax(170px,1fr) auto auto max(44px,calc(54 * var(--ipad-unit)))!important}
html[data-buri-layout=ipad][data-locale] .communication-ipad-visible-instructions{min-height:0;grid-area:3/1/4/3!important;height:auto!important;max-height:none!important;padding:8px 10px!important;overflow:visible!important}
html[data-buri-layout=ipad][data-locale] .communication-ipad-visible-instructions .communication-approved-instructions{height:auto!important;display:block!important;overflow:visible!important}
html[data-buri-layout=ipad][data-locale] .communication-ipad-visible-instructions .communication-approved-instructions>p{margin:0 0 6px!important}
html[data-buri-layout=ipad][data-locale] .communication-ipad-visible-instructions ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;margin:0!important;display:grid!important}
html[data-buri-layout=ipad][data-locale] .communication-ipad-visible-instructions li{letter-spacing:normal;height:auto!important;min-height:0!important;max-height:none!important;line-height:normal!important;overflow:visible!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page .communication-controls{grid-row:4!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page .communication-control{padding:6px 8px;min-height:44px!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page .communication-desktop-actions{grid-row:5!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-controls{grid-row:4!important}
html[data-buri-layout=ipad][data-locale] .communication-ipad-visible-instructions li{align-self:stretch;margin:0!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-ipad-visible-instructions.communication-desktop-instruction{margin:0!important;padding:8px 10px!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-ipad-visible-instructions.communication-desktop-instruction .communication-approved-instructions>ol{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:6px 0 0!important;padding:0!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-ipad-visible-instructions.communication-desktop-instruction .communication-approved-instructions>ol>li{align-self:stretch;margin:0!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-control{min-height:44px!important;padding:6px 8px!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page.phone-communication-page .communication-file-picker{display:none!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-controls{grid-template-rows:repeat(2,1fr)!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-workspace{padding-bottom:6px!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-controls>.communication-control{padding:6px 8px!important;line-height:normal!important}
html[data-buri-layout=ipad][data-locale] main.phone-communication-page.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-controls>:is(.communication-photo-choose,.communication-photo-remove,.communication-photo-send){padding:5px 8px!important}
html[data-buri-layout="ipad"][data-locale] body main.single-screen-site.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-history-intro-ipad{grid-template-columns:minmax(0,1fr) auto!important;column-gap:10px!important}
html[data-buri-layout="ipad"][data-locale] body main.single-screen-site.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-history-intro-ipad>.communication-history-title{grid-area:1/1!important}
html[data-buri-layout="ipad"][data-locale] body main.single-screen-site.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-history-intro-ipad>.communication-history-id{grid-area:1/2!important;align-self:start;white-space:nowrap;text-align:right!important}
html[data-buri-layout="ipad"][data-locale] body main.single-screen-site.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-history-intro-ipad>.communication-history-hotel{grid-area:2/1/3/3!important}
html[data-buri-layout="ipad"][data-locale] body main.single-screen-site.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-history-intro-ipad>.communication-history-guest{grid-area:3/1/4/3!important}

html[data-buri-layout="ipad"][data-locale] main.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-reservation-summary dl{height:auto!important;max-height:none!important}
html[data-buri-layout="ipad"][data-locale] main.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-cost-summary{position:static!important;margin-top:8px}

html[data-buri-layout="ipad"][data-locale] main.phone-communication-page.phone-communication-page:not(.phone-price-page):not(.phone-reservation-page) .communication-information-panel{grid-area:1/2/3/3!important}
