/* C306 - Landscape tablet poster, separate from preexisting fullscreen QR */
.toura-tablet-marketing[hidden] {display:none!important}
.toura-tablet-marketing {
  position:fixed;inset:0;z-index:2147483100;box-sizing:border-box;
  background:#10392d;color:#153d2d;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:14px;
  padding:max(18px,env(safe-area-inset-top,0px)) 24px max(16px,env(safe-area-inset-bottom,0px));
  overflow:auto;font-family:system-ui,-apple-system,Segoe UI,sans-serif;
}
.toura-tm-toolbar {display:flex;justify-content:center;flex-wrap:wrap;gap:8px;width:min(100%,1440px);flex:none}
.toura-tm-toolbar button {border:1px solid #9bc4a9;background:#f9fdf9;color:#163e2d;min-height:40px;border-radius:10px;padding:8px 14px;font-size:13px;font-weight:750;cursor:pointer}
.toura-tm-toolbar button.tm-emphasis {background:#43ba77;color:#082c20;border-color:#43ba77}
.toura-tm-toolbar button.tm-close {background:#173d2e;color:#fff;border-color:#7cae8a}
.toura-tm-toolbar button:focus-visible {outline:3px solid #f0d468;outline-offset:3px}
.toura-tm-stage {display:grid;grid-template-columns:48% 52%;width:min(100%,1450px);aspect-ratio:16/9;max-height:calc(100dvh - 132px);
  min-height:0;flex:none;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 24px 70px #001b1470}
.toura-tm-qr-zone {background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:3% 5%;min-width:0;min-height:0}
.toura-tm-side-label {font-size:clamp(12px,1.6vw,25px);color:#168154;letter-spacing:.12em;font-weight:850;white-space:nowrap}
.toura-tm-qr-frame {width:min(85%,67vh);aspect-ratio:1;background:#fff;padding:3%;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.toura-tm-qr {display:block;width:100%;height:100%;object-fit:contain;image-rendering:auto}
.toura-tm-qr-help {font-size:clamp(10px,1.13vw,18px);line-height:1.3;color:#426450;text-align:center;font-weight:650}
.toura-tm-brand-zone {background:#f1f7f1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.3%;padding:3% 5%;min-width:0;text-align:center}
.toura-tm-kicker {font-size:clamp(10px,1.2vw,17px);color:#137a4a;letter-spacing:.13em;font-weight:800}
.toura-tm-touralogo {display:block;width:min(64%,340px);height:22%;min-height:44px;object-fit:contain;mix-blend-mode:multiply}
.toura-tm-separator {height:1px;background:#c6ddcb;width:64%;position:relative;margin:2% auto 4%}
.toura-tm-separator span {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:clamp(16px,2.2vw,30px);color:#1d804f;background:#f1f7f1;padding:0 14px;font-weight:600}
.toura-tm-partner-image-wrap {display:flex;align-items:center;justify-content:center;width:min(78%,430px);height:19%;min-height:40px}
.toura-tm-partner-logo {display:block;max-width:100%;max-height:100%;object-fit:contain}
.toura-tm-partner-logo[hidden], .toura-tm-partner-fallback[hidden] {display:none}
.toura-tm-partner-fallback {font-size:clamp(14px,2vw,30px);line-height:1.15;color:#173f30;max-width:100%;overflow-wrap:anywhere}
.toura-tm-partner-name {font-size:clamp(15px,2.15vw,32px);line-height:1.08;margin:0;color:#153f2e;max-width:100%;overflow-wrap:anywhere}
.toura-tm-headline {font-size:clamp(13px,1.8vw,28px);line-height:1.2;color:#159154;font-weight:850;margin:0}
.toura-tm-footnote {font-size:clamp(10px,1.05vw,16px);line-height:1.25;color:#557465}
.toura-tm-message {color:#e0f0e4;text-align:center;font-size:13px;min-height:18px;font-weight:650;flex:none}
.toura-tablet-marketing:fullscreen {padding:12px;background:#10392d}
.toura-tablet-marketing:fullscreen .toura-tm-stage {width:min(100%,calc(100dvh * 16 / 9 - 40px));max-height:calc(100dvh - 95px)}
@media(max-height:580px) and (orientation:landscape) { .toura-tablet-marketing {gap:7px;padding:7px 15px}.toura-tm-toolbar button {padding:5px 9px;min-height:30px;font-size:11px}.toura-tm-stage {max-height:calc(100dvh - 80px)}.toura-tm-message {font-size:10px;min-height:12px}.toura-tm-qr-zone {gap:5px}.toura-tm-brand-zone {gap:.7%}}
@media(orientation:portrait) and (max-width:850px) { .toura-tablet-marketing {justify-content:flex-start;padding:15px 12px;gap:12px}.toura-tm-stage {aspect-ratio:auto;max-height:none;display:flex;flex-direction:column;width:min(100%,570px)}.toura-tm-qr-zone {padding:20px 16px 14px;gap:9px}.toura-tm-qr-frame {width:min(69vw,300px)}.toura-tm-brand-zone {padding:18px;gap:12px}.toura-tm-touralogo {height:85px;width:240px}.toura-tm-partner-image-wrap {height:88px}.toura-tm-separator {margin:0}.toura-tm-partner-name {font-size:24px}.toura-tm-headline {font-size:20px}.toura-tm-side-label {font-size:15px}.toura-tm-qr-help {font-size:12px}.toura-tm-footnote {font-size:12px}.toura-tablet-marketing:fullscreen .toura-tm-stage {width:min(100%,570px);max-height:none}}
@media(prefers-reduced-motion:reduce){.toura-tablet-marketing *{scroll-behavior:auto!important;animation:none!important}}
/* Keep both poster panels within the actual tablet viewport; grid auto rows must not expand beyond the stage. */
@media(orientation:landscape) {
 .toura-tm-stage {grid-template-rows:minmax(0,1fr)}
 .toura-tm-qr-zone,.toura-tm-brand-zone {height:100%;min-height:0;box-sizing:border-box;overflow:hidden}
 .toura-tm-qr-frame {max-height:77%;flex-shrink:1}
 .toura-tm-touralogo {max-height:23%;flex-shrink:1}
 .toura-tm-partner-image-wrap {max-height:19%;flex-shrink:1}
}

/* Uncluttered tablet kiosk presentation: controls return on exit from fullscreen. */
.toura-tablet-marketing:fullscreen .toura-tm-toolbar {position:absolute;z-index:2;right:12px;top:9px;width:auto;justify-content:flex-end}
.toura-tablet-marketing:fullscreen .toura-tm-toolbar button:not([data-tm-action="fullscreen"]) {display:none}
.toura-tablet-marketing:fullscreen .toura-tm-toolbar [data-tm-action="fullscreen"] {background:#fffde8;color:#1d4b32;font-size:11px;min-height:34px;padding:6px 10px;opacity:.6}
.toura-tablet-marketing:fullscreen .toura-tm-message {display:none}

/* C307: keep the two tablet-launch controls tappable and expose failure inline. */
#networkHomeTabletMarketing,#showNetworkTabletMarketing{position:relative;pointer-events:auto!important;touch-action:manipulation;cursor:pointer}
.toura-tm-inline-message{width:100%;flex-basis:100%;padding:8px 10px;margin-top:5px;border:1px solid #b37b35;border-radius:8px;background:#fff7e9;color:#603d1e;font-size:12px;font-weight:700;line-height:1.4}
.toura-tm-inline-message[hidden]{display:none!important}
