/* Subdivision navigation uses the shared .tabs component in styles.css. */
[data-direct-guidance][hidden],[data-display-fields][hidden] { display: none !important; }
.screen-player header .button { color: #203329; background: #fff; }
body:has(.screen-player) { height: 100dvh; display: flex; flex-direction: column; overflow-y: hidden; }
body:has(.screen-player) > .simulation-notice { flex-shrink: 0; }
.channel-app:has(.screen-player) { flex: 1; min-height: 0; width: 100%; }
.channel-app .screen-player { height: 100%; }
.campaign-visibility { margin: 20px 0; padding-block: 16px; border-block: 1px solid var(--line); }
.campaign-visibility legend { font-weight: 600; }
.campaign-visibility .actions { margin-bottom: 12px; }
.creative-align-left :is(.promotion-copy,.screen-copy) { text-align: left; }
.creative-align-center :is(.promotion-copy,.screen-copy) { text-align: center; }
.creative-align-right :is(.promotion-copy,.screen-copy) { text-align: right; }
.promotion.creative-theme-dark { --promotion-surface: #25313e; --promotion-ink: #fff; --promotion-muted: #d9e1e9; --promotion-line: #25313e; }
.promotion.creative-theme-light { --promotion-surface: #f5f7f9; }
.promotion.creative-media-only { grid-template-columns: minmax(0,1fr); }
.promotion.creative-media-only .promotion-image { grid-column: 1/-1; height: auto; max-height: 65vh; }
.screen-stage:has(.screen-creative) { padding: 0; display: block; }
.screen-creative { position: relative; box-sizing: border-box; width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 40px 24px 24px; overflow: auto; overscroll-behavior: contain; color: #f4f7f5; background: #111b16; }
.screen-creative[data-position="top"] { flex-direction: column-reverse; }
.screen-creative[data-position="bottom"] { flex-direction: column; }
.screen-creative[data-position="left"] { flex-direction: row-reverse; }
.screen-creative[data-position="right"] { flex-direction: row; }
.screen-creative > .screen-media { flex: 1 1 0; min-width: 0; min-height: 0; max-height: 100%; }
.screen-creative[data-position="left"] > .screen-media,.screen-creative[data-position="right"] > .screen-media { width: 50%; max-width: 65%; }
.screen-creative > .screen-copy { flex: 0 1 auto; min-width: 0; max-width: 65ch; overflow-wrap: anywhere; }
.screen-creative[data-position="left"] > .screen-copy,.screen-creative[data-position="right"] > .screen-copy { max-width: 45%; }
.screen-creative[data-format="square"] > .screen-media { aspect-ratio: 1; }
.screen-ad-label { position: absolute; top: 10px; left: 14px; max-width: calc(100% - 28px); color: #c3d2c8; font-size: 11px; }
.screen-creative.creative-theme-light { background: #f4f7f5; color: #203329; }
.screen-creative.creative-theme-light .screen-ad-label { color: #435c4d; }
.screen-creative.creative-media-only > .screen-media { width: 100%; max-width: 100%; height: 100%; max-height: 100%; }
.screen-cta { display: inline-block; padding: 9px 16px; border: 1px solid currentColor; border-radius: 6px; margin-top: 8px; }
.screen-preview { height: 320px; width: 100%; min-width: 0; }
.screen-preview .screen-creative { padding: 32px 12px 12px; gap: 12px; }
.screen-preview .screen-copy h1 { font-size: 1.2rem; }
.screen-preview .screen-copy p,.screen-preview .screen-cta { font-size: .85rem; }
@media(max-width:760px) {
  .screen-creative[data-position] { flex-direction: column; }
  .screen-creative[data-position] > .screen-media { width: 100%; max-width: 100%; }
  .screen-creative[data-position] > .screen-copy { max-width: 100%; }
  .marketing-campaign-row h3,.marketing-campaign-row p,.placement-tags { overflow-wrap: anywhere; min-width: 0; }
}
.marketing-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.marketing-section-head h2{margin:0 0 8px;font-size:1.35rem}
.marketing-section-head p{margin:0;max-width:64ch;color:var(--muted)}
.marketing-campaigns{display:flex;flex-direction:column;gap:12px}
.marketing-campaign-row{display:grid;grid-template-columns:96px minmax(0,1fr) minmax(218px,244px);align-items:center;gap:20px;padding:20px}
.marketing-campaign-thumb{height:92px;background:#eef2f1;display:grid;place-items:center;border-radius:8px;overflow:hidden;color:#456254;font-size:.75rem}
.marketing-campaign-thumb img{height:100%;width:100%;object-fit:contain}
.marketing-campaign-row h3{margin:4px 0 6px;font-size:1.05rem}.marketing-campaign-row p{margin:5px 0;font-size:.85rem}
.campaign-row-actions{display:grid;gap:8px;min-width:0;align-self:center}.campaign-action-group{min-width:0}.campaign-action-group-state .button{width:100%;justify-content:center}.campaign-action-group-work{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.campaign-action-group-work .button{justify-content:center;min-width:0}.campaign-action-group-danger{padding-top:8px;border-top:1px solid #e5e9ec}.campaign-action-group-danger .button{min-height:34px;padding:6px 0;border-color:transparent;background:transparent;justify-content:flex-start}.campaign-action-group-danger .button:hover{border-color:#efc1bd;background:#fff7f6}
.marketing-status{display:inline-flex;gap:6px;align-items:center;color:#66727a;font-size:.75rem}.marketing-status[data-state="live"]{color:#1e6037}.marketing-status[data-state="partner"],.marketing-status[data-state="expired"]{color:#8b432e}
.marketing-guidance{padding:20px;margin-bottom:20px;background:#f2f5f3;border:1px solid #dbe4df;border-radius:12px}.marketing-guidance h3{margin-top:0}.marketing-guidance p{max-width:78ch;margin:8px 0}.marketing-guidance .actions{margin-top:14px}
.marketing-format-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 20px}.marketing-format-options.position-options{grid-template-columns:repeat(4,minmax(0,1fr))}
.marketing-format-option{display:flex;align-items:center;flex-direction:column;gap:8px;border:1px solid #dbe3e1;border-radius:8px;padding:10px 5px;cursor:pointer;font-size:.75rem;text-align:center}
.marketing-format-option:has(input:checked){background:#e9f2ed;border-color:#557667;color:#284d3a}.marketing-format-option:hover{background:#f0f5f2}.marketing-format-option:focus-within{outline:2px solid #426882;outline-offset:2px}
.marketing-format-option input{margin:0}.format-mini{width:60px;height:40px;background:#fff;border:1px solid #a6b7ae;position:relative;border-radius:3px}.format-mini:before{content:"";position:absolute;background:#5c806d;left:6px;right:6px;bottom:5px;height:12px;border-radius:2px}
.format-mini[data-position="top"]:before{top:5px;bottom:auto}.format-mini[data-position="left"]:before{top:5px;left:5px;right:auto;width:14px;height:28px}.format-mini[data-position="right"]:before{top:5px;right:5px;left:auto;width:14px;height:28px}
.format-mini[data-format="card"]:before{top:5px;bottom:5px;height:auto;left:15px;right:15px}.format-mini[data-format="square"]:before{width:27px;height:27px;left:16px;top:6px}.format-mini[data-format="banner"]:before{top:14px;height:12px}
.marketing-editor-preview{background:#f1f4f2;padding:14px;border-radius:10px;margin-top:20px}.marketing-editor-preview>p{font-size:.8rem;color:#53655c}
.marketing-preview-page{display:flex;flex-direction:column;gap:10px;min-height:160px;padding:10px;border:1px solid #dbe3df;background:#fff}.marketing-preview-page[data-position="top"]{flex-direction:column-reverse}.marketing-preview-page[data-position="left"]{flex-direction:row-reverse}.marketing-preview-page[data-position="right"]{flex-direction:row}.marketing-preview-content{flex:1;min-width:50px;background:#f1f3f4;display:grid;place-items:center;color:#79837d;font-size:.75rem;padding:20px}.marketing-preview-page>.promotion{flex:1;min-width:0}.marketing-preview-page .promotion h3{font-size:1rem}
.marketing-message-preview{padding:20px;border:1px solid #dbe3df;border-radius:10px;background:#fff}.marketing-message-body{white-space:pre-wrap;overflow-wrap:anywhere}.marketing-video-preview{width:100%;max-height:220px;background:#17221c}
.marketing-media-list{display:flex;flex-direction:column;gap:12px}.marketing-media-list article{border-bottom:1px solid #e1e7e4;padding:12px 0}.marketing-media-list video{max-height:200px;width:100%;background:#17221c}
.campaign-slot{min-width:0;max-width:850px;margin:0 0 24px}.campaign-slot:empty{display:none}.campaign-slot[data-campaign-slot="BOOKING_SUCCESS"]{margin-top:28px}
.promotion{position:relative;background:var(--promotion-surface,#fff);border:1px solid var(--promotion-line,#d7dfe6);border-radius:12px;overflow:hidden;color:var(--promotion-ink,#25313e);display:grid;grid-template-columns:minmax(0,1fr)}
.promotion-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;font-size:.72rem;color:var(--promotion-muted,#596878);grid-column:1/-1}.promotion-label button{min-width:36px;min-height:36px;border:0;border-radius:6px;color:inherit;background:transparent;font-size:22px;cursor:pointer}.promotion-label button:hover{background:color-mix(in srgb,currentColor 10%,transparent)}.promotion-label button:focus-visible,.promotion-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}.promotion-copy{padding:20px;min-width:0;align-self:center}.promotion-copy h3{margin:0 0 10px;font-size:1.3rem;letter-spacing:-.025em;line-height:1.2;overflow-wrap:anywhere}.promotion-copy p{max-width:65ch;margin:0 0 16px;color:var(--promotion-muted,#596878);font-size:.9rem;line-height:1.6;overflow-wrap:anywhere;white-space:pre-line}.promotion-copy p:empty{display:none}.promotion-link{display:inline-flex;align-items:center;min-height:44px;color:var(--promotion-ink,#25313e);font-weight:650;font-size:.85rem;text-decoration:underline;text-underline-offset:5px}.promotion-link:hover{text-decoration-thickness:2px}.promotion-image{display:block;width:100%;height:220px;background:var(--promotion-surface,#f5f7f9);object-fit:contain}.promotion-fit-cover .promotion-image{object-fit:cover}.promotion-square .promotion-image{height:auto;aspect-ratio:1}.promotion-placeholder{min-height:110px;display:grid;place-items:center;background:#edf1f5;color:#526578;font-size:.85rem}.promotion-banner{grid-template-columns:minmax(100px,35%) minmax(0,1fr)}.promotion-banner .promotion-image{height:100%;min-height:180px;max-height:320px}.promotion-banner:not(:has(img)):not(:has(.promotion-placeholder)) .promotion-copy{grid-column:1/-1}
.campaign-slot :is(.promotion-card,.promotion-square):has(.promotion-image){grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}.campaign-slot .promotion-card .promotion-image{height:100%;min-height:220px;max-height:340px}.campaign-slot .promotion-copy{padding:clamp(20px,3vw,40px)}
.screen-player{height:100dvh;display:flex;flex-direction:column;background:#111b16;color:#fff;overflow:hidden}.screen-player>header{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-shrink:0;padding:12px 20px;background:#1c2b22}.screen-player>header>span{font-size:.8rem;color:#c3d2c8}.screen-player header .button{font-size:.8rem}.screen-player header>div{display:flex;gap:6px}.screen-stage{min-height:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;gap:20px;padding:24px}.screen-media{display:block;width:100%;min-height:0;max-height:75%;object-fit:contain;flex:1}.screen-fit-cover{object-fit:cover}.screen-copy{text-align:center;max-width:65ch;flex-shrink:0}.screen-copy h1{font-size:clamp(1.8rem,3vw,3.5rem);margin:6px 0}.screen-copy p{font-size:clamp(1rem,1.7vw,1.6rem);margin:6px 0}.screen-copy span,.screen-copy small{color:#c3d2c8}.screen-copy small{display:block}.screen-copy small[hidden]{display:none}.screen-stage[data-position="top"]{flex-direction:column-reverse}.screen-stage[data-position="left"]{flex-direction:row-reverse}.screen-stage[data-position="right"]{flex-direction:row}.screen-stage[data-position="left"] .screen-media,.screen-stage[data-position="right"] .screen-media{max-width:65%;max-height:100%}.screen-format-square .screen-media{aspect-ratio:1;max-width:65%}.screen-idle{text-align:center}.channel-app:has(.screen-player){max-width:none;padding:0;margin:0}.channel-app:has(.screen-player)~.site-legal-footer{display:none}.screen-player:fullscreen{width:100vw;height:100dvh}
@media(max-width:600px){.campaign-slot :is(.promotion-card,.promotion-square):has(.promotion-image),.campaign-slot .promotion-banner{grid-template-columns:minmax(0,1fr)}.campaign-slot .promotion-image,.campaign-slot .promotion-card .promotion-image,.campaign-slot .promotion-banner .promotion-image{height:auto;min-height:0;max-height:320px;aspect-ratio:16/10}.campaign-slot .promotion-square .promotion-image{aspect-ratio:1}.campaign-slot .promotion-copy{padding:20px}}
@media(max-width:760px){.marketing-campaign-row{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:16px}.marketing-campaign-thumb{height:70px}.campaign-row-actions{grid-column:1/-1;width:100%;max-width:none}.marketing-section-head{flex-direction:column}.promotion-banner .promotion-image{height:100%}.screen-player>header{flex-wrap:wrap;padding:10px}.screen-player>header>div{flex-wrap:wrap}.screen-stage{padding:14px}.screen-stage[data-position]{flex-direction:column}.screen-stage[data-position] .screen-media{max-width:100%;max-height:65%}.screen-copy h1{font-size:1.8rem}}

/* Campaign design renderer. Legacy campaigns keep their existing rules above. */
:is(.campaign-slot,.screen-preview,.screen-stage):has(> .campaign-designed) { container-type: inline-size; container-name: campaign-surface; }
:is(.promotion,.screen-creative).campaign-designed {
  --campaign-space: 24px; --campaign-heading: 1.6rem; --campaign-body: 1rem;
  --promotion-surface: var(--campaign-bg); --promotion-ink: var(--campaign-ink); --promotion-muted: var(--campaign-ink);
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr); gap: 0;
  min-width: 0; box-sizing: border-box; padding: 0;
  border-color: color-mix(in srgb,var(--campaign-ink) 18%,var(--campaign-bg)); border-radius: var(--campaign-radius);
  background: var(--campaign-bg); color: var(--campaign-ink);
}
.campaign-designed.campaign-spacing-compact { --campaign-space: 16px; }
.campaign-designed.campaign-spacing-spacious { --campaign-space: clamp(24px,4cqi,48px); }
.campaign-designed.campaign-size-small { --campaign-heading: 1.25rem; --campaign-body: .875rem; }
.campaign-designed.campaign-size-large { --campaign-heading: clamp(1.8rem,4cqi,3rem); --campaign-body: 1.125rem; }
.campaign-designed > :is(.promotion-label,.screen-ad-label) {
  position: relative; inset: auto; z-index: 2; grid-column: 1 / -1; box-sizing: border-box;
  width: 100%; max-width: none; padding: 10px var(--campaign-space);
  color: var(--campaign-ink); background: var(--campaign-bg); font-size: .75rem; overflow-wrap: anywhere;
}
.campaign-designed .promotion-label button { flex-shrink: 0; min-width: 44px; min-height: 44px; }
:is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed > :is(.promotion-image,.promotion-placeholder,.screen-media),
.campaign-designed > :is(.promotion-image,.promotion-placeholder,.screen-media) {
  grid-column: auto; width: 100%; max-width: 100%; height: auto; min-height: 0; max-height: none;
  aspect-ratio: var(--campaign-ratio); object-position: var(--campaign-focal); align-self: center;
}
:is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed > :is(.promotion-copy,.screen-copy),
.campaign-designed > :is(.promotion-copy,.screen-copy) {
  position: relative; z-index: 1; box-sizing: border-box; width: 100%; min-width: 0; max-width: none;
  padding: var(--campaign-space); align-self: center; color: var(--campaign-ink); overflow-wrap: anywhere;
}
:is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed :is(.promotion-copy,.screen-copy) :is(h1,h3),
.campaign-designed :is(.promotion-copy,.screen-copy) :is(h1,h3) {
  max-width: 32ch; margin: 0 0 12px; font-size: var(--campaign-heading); line-height: 1.15;
  letter-spacing: -.025em; white-space: pre-line; overflow-wrap: anywhere;
}
.campaign-designed :is(.promotion-copy,.screen-copy) p {
  max-width: 65ch; margin: 0 0 20px; font-size: var(--campaign-body); line-height: 1.55;
  white-space: pre-line; color: var(--campaign-ink);
}
.campaign-designed.creative-align-center :is(.promotion-copy,.screen-copy) > :is(h1,h3,p) { margin-inline: auto; }
.campaign-designed.creative-align-right :is(.promotion-copy,.screen-copy) > :is(h1,h3,p) { margin-left: auto; }
.campaign-designed :is(.promotion-link,.screen-cta) {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; max-width: 100%; padding: 10px 18px; margin-top: 0;
  border: 1px solid var(--campaign-accent); border-radius: min(var(--campaign-radius),12px);
  background: var(--campaign-accent); color: var(--campaign-button-ink); font-size: var(--campaign-body);
  line-height: 1.4; text-decoration: none; overflow-wrap: anywhere;
}
.campaign-designed.campaign-button-outline :is(.promotion-link,.screen-cta) { background: var(--campaign-bg); color: var(--campaign-accent); }
.campaign-designed.campaign-button-text :is(.promotion-link,.screen-cta) { padding-inline: 0; border-color: transparent; background: none; color: var(--campaign-accent); text-decoration: underline; text-underline-offset: 4px; }
.campaign-designed a.promotion-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.campaign-designed :is(a,button):focus-visible { outline: 2px solid var(--campaign-ink); outline-offset: -4px; }
.campaign-designed.campaign-valign-top > :is(.promotion-copy,.screen-copy) { align-self: start; }
.campaign-designed.campaign-valign-bottom > :is(.promotion-copy,.screen-copy) { align-self: end; }
:is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only),
.campaign-designed.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only) { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.campaign-slot .campaign-designed.campaign-layout-auto:is(.promotion-card,.promotion-square):has(> :is(img,.promotion-placeholder)):not(.creative-media-only) { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); }
.campaign-slot .campaign-designed.campaign-layout-auto.promotion-banner:has(> :is(img,.promotion-placeholder)):not(.creative-media-only) { grid-template-columns: minmax(100px,35%) minmax(0,1fr); }
:is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed:is(.campaign-layout-stacked,.campaign-layout-text,.campaign-layout-overlay,.creative-media-only) { grid-template-columns: minmax(0,1fr); }
.campaign-designed.campaign-layout-overlay {
  grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(min-content,1fr); min-height: 260px;
}
.campaign-designed.campaign-layout-overlay::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: rgb(0 0 0 / var(--campaign-overlay)); }
.campaign-designed.campaign-layout-overlay::after { content: ''; grid-area: 2 / 1; width: 100%; aspect-ratio: var(--campaign-ratio); pointer-events: none; }
:is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed.campaign-layout-overlay > :is(.promotion-image,.promotion-placeholder,.screen-media),
.campaign-designed.campaign-layout-overlay > :is(.promotion-image,.promotion-placeholder,.screen-media) {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; max-height: none; aspect-ratio: auto;
}
.campaign-designed.campaign-layout-overlay > :is(.promotion-copy,.screen-copy) {
  grid-area: 2 / 1; width: auto; max-width: min(65ch,100%); margin: var(--campaign-space); background: color-mix(in srgb,var(--campaign-bg) 94%,transparent);
}
.campaign-designed.campaign-layout-overlay > :is(.promotion-label,.screen-ad-label) { background: color-mix(in srgb,var(--campaign-bg) 94%,transparent); }
.campaign-designed.campaign-layout-overlay.creative-align-center > :is(.promotion-copy,.screen-copy) { justify-self: center; }
.campaign-designed.campaign-layout-overlay.creative-align-right > :is(.promotion-copy,.screen-copy) { justify-self: end; }
.screen-creative.campaign-designed { grid-template-rows: auto minmax(min-content,1fr); align-content: start; align-items: center; overflow: auto; }
.screen-creative.campaign-designed[data-position] > .screen-copy { max-width: none; }
.screen-creative.campaign-designed.campaign-layout-stacked { grid-template-rows: auto auto minmax(min-content,1fr); }
.screen-creative.campaign-designed.campaign-layout-stacked > .screen-media { max-height: 55vh; }
.screen-creative.campaign-designed.campaign-layout-auto[data-position="top"]:has(> .screen-media) > .screen-copy { grid-area: 2 / 1; }
.screen-creative.campaign-designed.campaign-layout-auto[data-position="top"]:has(> .screen-copy) > .screen-media { grid-area: 3 / 1; }
.screen-creative.campaign-designed.campaign-layout-auto[data-position="left"]:has(> .screen-media) > .screen-copy { grid-area: 2 / 1; }
.screen-creative.campaign-designed.campaign-layout-auto[data-position="left"]:has(> .screen-copy) > .screen-media { grid-area: 2 / 2; }
.screen-creative.campaign-designed [data-screen-media-error] { position: relative; z-index: 2; grid-column: 1 / -1; margin: 12px; color: var(--campaign-ink); }
.screen-preview:has(.campaign-designed) { height: auto; min-height: 320px; }
.screen-preview .screen-creative.campaign-designed { min-height: 320px; height: auto; }
@media(max-width:600px) {
  :is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only),
  .campaign-designed.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only) { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto minmax(min-content,1fr); }
  .campaign-designed.campaign-layout-overlay > :is(.promotion-copy,.screen-copy) { margin: 12px; max-width: calc(100% - 24px); }
}
@container campaign-surface (max-width:600px) {
  :is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only),
  .campaign-designed.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only) { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto minmax(min-content,1fr); }
  .campaign-designed.campaign-layout-overlay > :is(.promotion-copy,.screen-copy) { margin: 12px; max-width: calc(100% - 24px); }
  .campaign-slot .campaign-designed.campaign-layout-auto:is(.promotion-card,.promotion-square,.promotion-banner):has(> :is(img,.promotion-placeholder)):not(.creative-media-only) { grid-template-columns: minmax(0,1fr); }
  .screen-creative.campaign-designed.campaign-layout-auto[data-position]:has(> .screen-media) > .screen-copy { grid-area: 3 / 1; }
  .screen-creative.campaign-designed.campaign-layout-auto[data-position]:has(> .screen-copy) > .screen-media { grid-area: 2 / 1; }
}
/* Visual placement is opt-in: legacy cards keep their original slot geometry. */
.campaign-slot:has(> .campaign-visual) { display: flow-root; width: 100%; max-width: none; margin: 0; }
html.booking-home #public-booking.welcome-mode .campaign-slot:has(> .campaign-visual) {
  width: min(1120px,calc(100% - clamp(40px,8vw,116px))); max-width: none; margin: 0 auto;
}
html.booking-flow .campaign-slot:has(> .campaign-visual) { max-width: none; }
:is(.promotion,.screen-creative).campaign-designed.campaign-visual {
  width: var(--campaign-width); height: auto; min-height: var(--campaign-min-height);
  margin-block: var(--campaign-space-before) var(--campaign-space-after);
  margin-inline: var(--campaign-margin-start) var(--campaign-margin-end);
  grid-template-rows: auto minmax(min-content,1fr);
}
:is(.promotion,.screen-creative).campaign-designed.campaign-visual.campaign-layout-stacked:not(.creative-media-only) { grid-template-rows: auto auto minmax(min-content,1fr); }
:is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed.campaign-visual.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only) {
  grid-template-columns: minmax(0,var(--campaign-image-share)) minmax(0,1fr);
}
:is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed.campaign-visual.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only)[data-campaign-image-side="right"] {
  grid-template-columns: minmax(0,1fr) minmax(0,var(--campaign-image-share));
}
.campaign-designed.campaign-visual.campaign-layout-split[data-campaign-image-side]:has(> :is(.promotion-copy,.screen-copy)) > :is(.promotion-image,.promotion-placeholder,.screen-media) { grid-area: 2 / 1; }
.campaign-designed.campaign-visual.campaign-layout-split[data-campaign-image-side]:has(> :is(img,video,.promotion-placeholder)) > :is(.promotion-copy,.screen-copy) { grid-area: 2 / 2; }
.campaign-designed.campaign-visual.campaign-layout-split[data-campaign-image-side="right"]:has(> :is(.promotion-copy,.screen-copy)) > :is(.promotion-image,.promotion-placeholder,.screen-media) { grid-area: 2 / 2; }
.campaign-designed.campaign-visual.campaign-layout-split[data-campaign-image-side="right"]:has(> :is(img,video,.promotion-placeholder)) > :is(.promotion-copy,.screen-copy) { grid-area: 2 / 1; }
/* Editorial surfaces share the website's canvas instead of adding a framed card. */
:is(.promotion,.screen-creative).campaign-designed.campaign-visual:is([data-campaign-surface="section"],[data-campaign-surface="plain"]) {
  border: 0; border-radius: 0; box-shadow: none; overflow: visible;
}
:is(.promotion,.screen-creative).campaign-designed.campaign-visual[data-campaign-surface="plain"] { background: transparent; }
.campaign-designed.campaign-visual:is([data-campaign-surface="section"],[data-campaign-surface="plain"]) > :is(.promotion-label,.screen-ad-label) {
  padding: 0 0 12px; background: transparent; color: var(--campaign-ink); font-size: .6875rem; letter-spacing: .025em;
}
.campaign-designed.campaign-visual:is([data-campaign-surface="section"],[data-campaign-surface="plain"]) > :is(.promotion-image,.promotion-placeholder,.screen-media) { border-radius: var(--campaign-radius); }
.campaign-designed.campaign-visual:is([data-campaign-surface="section"],[data-campaign-surface="plain"]):not(.campaign-layout-overlay) > :is(.promotion-copy,.screen-copy) { background: transparent; }
.campaign-designed.campaign-visual[data-campaign-surface="plain"].campaign-button-outline :is(.promotion-link,.screen-cta) { background: transparent; }
.campaign-designed.campaign-visual:is([data-campaign-surface="section"],[data-campaign-surface="plain"]).campaign-layout-overlay { overflow: hidden; }
.campaign-designed.campaign-visual:is([data-campaign-surface="section"],[data-campaign-surface="plain"]).campaign-layout-overlay > :is(.promotion-label,.screen-ad-label) { padding: 8px var(--campaign-space); background: color-mix(in srgb,var(--campaign-bg) 94%,transparent); }
@container campaign-surface (max-width:600px) {
  :is(.promotion,.screen-creative).campaign-designed.campaign-visual {
    width: var(--campaign-mobile-width); min-height: var(--campaign-mobile-min-height);
    margin-block: var(--campaign-mobile-space-before) var(--campaign-mobile-space-after);
    margin-inline: var(--campaign-mobile-margin-start) var(--campaign-mobile-margin-end);
  }
  :is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed.campaign-visual.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only),
  :is(.campaign-slot,.screen-preview,.screen-stage,.marketing-preview-page) .campaign-designed.campaign-visual.campaign-layout-split:has(> :is(img,video,.promotion-placeholder)):not(.creative-media-only)[data-campaign-image-side] { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto minmax(min-content,1fr); }
  .campaign-designed.campaign-visual.campaign-layout-split[data-campaign-image-side]:has(> :is(.promotion-copy,.screen-copy)) > :is(.promotion-image,.promotion-placeholder,.screen-media) { grid-area: 2 / 1; }
  .campaign-designed.campaign-visual.campaign-layout-split[data-campaign-image-side]:has(> :is(img,video,.promotion-placeholder)) > :is(.promotion-copy,.screen-copy) { grid-area: 3 / 1; }
}
/* End campaign design renderer. */

/* Campaign studio: isolated from booking, checkout and other drawers. */
#drawer:has(.campaign-studio){width:min(1160px,100%)}
#drawer:has(.campaign-studio) .drawer-body{padding:0}
#drawer:has(.campaign-studio) .drawer-head{padding:22px 28px}
.campaign-studio{--studio-line:#dfe4e8;--studio-muted:#5b6873;min-width:0}
.campaign-studio [hidden]{display:none!important}
.campaign-studio .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.campaign-studio-tabs{display:flex;gap:4px;padding:12px 24px;border-bottom:1px solid var(--studio-line);background:#fff}
.campaign-studio-tabs button{display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:52px;padding:9px 12px;border:0;border-radius:7px;font:inherit;text-align:left;color:var(--studio-muted);background:transparent;cursor:pointer}
.campaign-studio-tabs button strong{font-size:14px;font-weight:650;line-height:1.2}.campaign-studio-tabs button small{font-size:11px;font-weight:500;line-height:1.25;color:inherit}
.campaign-studio-tabs button[aria-selected=true]{background:#edf0f3;color:#232b33}
.campaign-studio button:focus-visible,.campaign-studio input:focus-visible,.campaign-studio select:focus-visible{outline:2px solid #465b72;outline-offset:3px}
.campaign-studio-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;min-height:560px}
.campaign-studio-controls{min-width:0}
.campaign-mobile-preview{display:none}
.campaign-studio-preview>h3,.campaign-studio-tabs button{scroll-margin-top:130px}
.campaign-studio .campaign-editor-section{padding:24px 28px;border-bottom:0}
.campaign-studio .campaign-editor-section>h3,.campaign-studio-preview>h3{margin:0 0 10px;font-size:18px;line-height:1.35;letter-spacing:-.02em}
.campaign-section-intro{max-width:62ch;margin:0 0 22px;font-size:13px;line-height:1.55;color:var(--studio-muted)}
.campaign-studio h4{margin:26px 0 14px;font-size:14px}
.campaign-studio .muted,.campaign-studio .notice,.campaign-studio [data-campaign-release-summary]{font-size:13px;line-height:1.55;color:var(--studio-muted);margin:10px 0 20px;overflow-wrap:anywhere}
.campaign-studio .form-grid{gap:0 14px}
.campaign-studio .field>span{font-size:13px;color:#52616d}
.campaign-studio .field input,.campaign-studio .field select,.campaign-studio .field textarea{min-height:44px;color:#25313e;border-color:#cbd3da}
.campaign-studio .field textarea{min-height:102px}
.campaign-studio .campaign-advanced{border-top:1px solid var(--studio-line);margin-top:20px;padding-top:2px}
.campaign-studio .campaign-advanced>summary{font-size:13px;font-weight:600;color:#344250;min-height:44px;padding:14px 0}
.campaign-studio .campaign-advanced[open]>summary{margin-bottom:12px}
.campaign-studio [data-design-controls]:disabled{opacity:.55}
.campaign-design-scope{padding-bottom:14px}.campaign-design-scope .field{margin:0}.campaign-design-scope .toggle-row{margin-top:12px}.campaign-design-scope [data-design-inheritance]{margin:10px 0 0}
.campaign-design-basics{margin-top:24px}.campaign-design-basics>h4{margin:0 0 6px}.campaign-design-basics>p{margin:0;font-size:13px;line-height:1.5;color:var(--studio-muted)}
.campaign-choice-sources{position:relative;height:0;overflow:hidden}.campaign-choice-source{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}
.campaign-design-section-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin:0 0 6px}.campaign-design-section-head h4{margin:0}.campaign-design-section-head p{margin:5px 0 0;font-size:13px;line-height:1.5;color:var(--studio-muted)}
.campaign-workspace-launch{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,250px);gap:22px;align-items:center;margin:24px 0 28px;padding:20px;border:1px solid #aac1d2;border-radius:10px;background:linear-gradient(135deg,#edf4f8 0%,#f7fafb 100%)}
.campaign-workspace-launch h4{margin:5px 0 0}.campaign-workspace-launch p{max-width:62ch;margin:6px 0 0;color:#4e6271;font-size:13px;line-height:1.5}.campaign-workspace-launch .button{width:100%;min-height:48px;white-space:normal}.campaign-workspace-launch [data-campaign-canvas-toggle]{margin:0}
.campaign-step{display:block;color:#52728a;font-size:11px;font-weight:750;letter-spacing:.07em;line-height:1.3;text-transform:uppercase}.campaign-workspace-list{display:flex;flex-wrap:wrap;gap:6px 14px;margin:13px 0 0;padding:0;list-style:none;color:#435766;font-size:12px;line-height:1.45}.campaign-workspace-list li{position:relative;padding-left:12px}.campaign-workspace-list li::before{position:absolute;left:0;top:.48em;width:5px;height:5px;border-radius:50%;background:#477b70;content:""}
.campaign-layout-start{margin-top:0}.campaign-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 0}
.campaign-preset{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;border:1px solid #c7d1da;background:#fff;padding:11px;border-radius:9px;text-align:left;font:inherit;color:#25313e;cursor:pointer;min-width:0;transition:border-color 140ms ease,background 140ms ease,box-shadow 140ms ease,transform 140ms ease}
.campaign-preset[aria-pressed=true]{border-color:#294b67;background:#eef5f8;box-shadow:0 5px 16px rgb(37 59 77 / .12)}
.campaign-preset-copy{display:grid;gap:3px;min-width:0}.campaign-preset-copy strong{font-size:13px;line-height:1.25}.campaign-preset-copy small{font-size:11px;line-height:1.35;color:var(--studio-muted)}
.campaign-preset-sample{position:relative;display:block;height:92px;background:#eff3f5;overflow:hidden;border-radius:6px}
.campaign-preset-sample :is(i,b,em,u){position:absolute;display:block;border-radius:2px}.campaign-preset-sample u{text-decoration:none}
.campaign-preset-sample i{inset:10px auto 10px 10px;width:42%;background:linear-gradient(145deg,#c9d6df,#8aa3b1)}
.campaign-preset-sample b{left:58%;top:25px;width:29%;height:7px;background:#263640}.campaign-preset-sample em{left:58%;top:40px;width:23%;height:4px;background:#8b9aa6}.campaign-preset-sample u{left:58%;top:56px;width:18%;height:16px;background:#344c5d}
.preset-dark-overlay{background:linear-gradient(135deg,#101a25,#6d8495)}.preset-dark-overlay i{inset:0;width:100%;background:linear-gradient(120deg,#152535 0%,#557083 48%,#101b27 100%)}.preset-dark-overlay b,.preset-dark-overlay em{left:14px;background:#fff}.preset-dark-overlay b{top:37px;width:64%}.preset-dark-overlay em{top:52px;width:39%;opacity:.78}.preset-dark-overlay u{left:14px;top:66px;background:#f6f8fa}
.preset-editorial-text{background:#fbfbf8}.preset-editorial-text i{display:none}.preset-editorial-text b,.preset-editorial-text em{left:15px;background:#27333b}.preset-editorial-text b{top:27px;width:69%;height:8px}.preset-editorial-text em{top:46px;width:54%;height:5px}.preset-editorial-text u{left:15px;top:64px;width:22%;height:2px;background:#9b7057}
.preset-compact-banner{background:#e8eef2}.preset-compact-banner i{inset:13px auto 13px 13px;width:27%;background:#91aab8}.preset-compact-banner b{left:47%;top:30px;width:42%;height:7px;background:#2f4656}.preset-compact-banner em{left:47%;top:46px;width:28%;height:4px;background:#7d8f9d}.preset-compact-banner u{left:47%;top:59px;width:21%;height:12px;background:#3b566b}
.preset-soft-editorial{background:#eee7dc}.preset-soft-editorial i{inset:10px 10px auto 10px;width:auto;height:34px;background:linear-gradient(145deg,#d3a873,#729490)}.preset-soft-editorial b,.preset-soft-editorial em{left:15px;background:#315b54}.preset-soft-editorial b{top:55px;width:57%}.preset-soft-editorial em{top:68px;width:35%}.preset-soft-editorial u{left:72%;top:58px;width:14%;height:14px;border-radius:50%;background:#b98261}
.campaign-placement-tuning{padding:18px;border:1px solid #d8e2e8;border-radius:9px;background:#fff}.campaign-placement-tuning .campaign-design-section-head{margin-bottom:10px}.campaign-device-indicator{align-self:flex-start;flex:none;padding:5px 8px;border-radius:999px;background:#edf2f5;color:#3e5b70;font-size:11px;font-weight:700}.campaign-placement-controls-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0;color:#354a5b;font-size:13px}.campaign-placement-controls-head span{color:var(--studio-muted);font-size:11px}.campaign-placement-controls .campaign-choice-grid{margin-top:12px}.campaign-placement-controls .campaign-range-grid{margin-top:16px}
.campaign-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.campaign-choice{min-width:0;margin:0;padding:0;border:0}.campaign-choice legend{padding:0 0 7px;color:#52616d;font-size:12px;font-weight:700}.campaign-choice legend small{display:block;margin-top:2px;font-weight:500}.campaign-choice-options{display:flex;flex-wrap:wrap;gap:6px}.campaign-choice-options button{min-height:38px;padding:7px 10px;border:1px solid #cbd5dd;border-radius:6px;background:#fff;color:#3a4854;font:inherit;font-size:12px;font-weight:650;line-height:1.25;cursor:pointer}.campaign-choice-options button[aria-pressed=true]{border-color:#294b67;background:#dfeaf0;color:#1f3e56}.campaign-choice-options button:disabled{opacity:.55;cursor:not-allowed}
.campaign-range-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.campaign-range{display:grid;gap:8px;min-width:0}.campaign-range-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;color:#40505d;font-size:13px;font-weight:700;line-height:1.35}.campaign-range-heading small{display:block;margin-top:2px;color:var(--studio-muted);font-size:11px;font-weight:500}.campaign-range output{flex:none;color:#294b67;font-variant-numeric:tabular-nums}.campaign-range input[type=range]{width:100%;min-height:30px;margin:0;accent-color:#294b67;cursor:ew-resize}.campaign-range input[type=range]:disabled{cursor:not-allowed}
.campaign-precision{margin:16px 0 0;padding-top:2px;border-top:1px solid var(--studio-line)}.campaign-precision>summary{min-height:40px;padding:11px 0;color:#40515f;font-size:12px;font-weight:700;cursor:pointer}.campaign-precision[open]>summary{margin-bottom:8px}.campaign-precision>.muted{margin:0 0 14px}
.campaign-color-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.campaign-color-fields input[type=color]{padding:4px;height:44px;cursor:pointer}
.campaign-studio .campaign-placement-group{margin:0 0 24px}
.campaign-placement-group>legend{font-size:12px;font-weight:650;color:#52616d;padding:0 0 8px}
.campaign-placement-choice{display:flex;align-items:flex-start;gap:12px;padding:13px 10px;border-bottom:1px solid #e8ecef;cursor:pointer;border-radius:5px}
.campaign-placement-choice:has(input:checked){background:#f0f3f5}
.campaign-placement-choice input{width:18px;height:18px;margin-top:2px;flex:none}
.campaign-placement-choice strong{display:block;font-size:13px;font-weight:600;line-height:1.45}
.campaign-placement-choice small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:var(--studio-muted)}
.campaign-studio-preview{position:sticky;top:110px;min-width:0;background:#f5f6f7;border-left:1px solid var(--studio-line);padding:24px;align-self:start}
.campaign-studio-preview>div[data-display-only]{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:12px}
.campaign-preview-state{margin:-3px 0 18px;font-size:12px;line-height:1.45;color:#52616d}.campaign-canvas-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,205px);gap:16px;align-items:center;margin:18px 0;padding:16px;border:1px solid #c6d3de;border-radius:9px;background:#edf3f7}.campaign-canvas-entry strong{display:block;color:#293948;font-size:13px}.campaign-canvas-entry p{margin:5px 0 0;color:#526575;font-size:12px;line-height:1.45}.campaign-canvas-entry .button{width:100%;min-height:44px;white-space:normal}.campaign-canvas-entry .button:disabled{background:#dce5eb;color:#667785;border-color:#cbd7df;cursor:not-allowed}
.campaign-studio-preview .campaign-format-preview{background:white;border:1px solid #dfe4e8;border-radius:8px;min-width:0;overflow:hidden;margin:0 auto}
.campaign-studio-preview .campaign-format-preview[data-preview-device=mobile]{max-width:340px}
.campaign-studio-preview .campaign-format-preview>header{padding:12px 14px;display:flex;flex-direction:column;gap:4px;font-size:12px;border-bottom:1px solid var(--studio-line)}
.campaign-studio-preview .campaign-format-preview>header span{font-size:11px;color:var(--studio-muted)}
.campaign-studio-preview .campaign-editor-preview-slot{margin:0;padding:12px;width:100%;container-type:inline-size}
.campaign-studio-preview .marketing-preview-destination{padding:0 12px}
.campaign-studio-preview .campaign-canvas-hint{margin:14px 0 0;font-size:12px;line-height:1.55;color:var(--studio-muted)}
body #drawer .campaign-studio .campaign-editor-section>h3,body #drawer .campaign-studio-preview>h3{font-size:18px;color:#25313e}
body #drawer .campaign-designed :is(.promotion-copy,.screen-copy) :is(h1,h3){font-size:var(--campaign-heading);color:var(--campaign-ink);line-height:1.15;letter-spacing:-.025em;margin:0 0 12px}
#drawer:has(.campaign-studio) .form-error{margin:16px 28px}
@media(hover:hover) and (pointer:fine){.campaign-studio-tabs button:hover,.campaign-preset:hover{background:#f1f3f5}.campaign-preset[aria-pressed=true]:hover{background:#f4f7f8}.campaign-placement-choice:hover{background:#f5f7f8}}
@media(max-width:760px){
  #drawer:has(.campaign-studio) .drawer-head{padding:18px 16px}
  #drawer:has(.campaign-studio) .drawer-head h2{font-size:22px}
  .campaign-studio-tabs{padding:9px 8px;gap:0}
  .campaign-studio-tabs button{align-items:center;min-height:44px;padding:8px 6px;text-align:center}.campaign-studio-tabs button small{display:none}
  .campaign-studio-body{grid-template-columns:minmax(0,1fr);min-height:0}
  .campaign-studio .campaign-mobile-preview{display:block;min-height:44px;margin:8px 16px;color:#344250}
  .campaign-studio-preview .campaign-mobile-preview{margin:0 0 16px;padding-left:0}
  .campaign-studio .campaign-editor-section{padding:22px 16px}
  .campaign-studio .field input,.campaign-studio .field select,.campaign-studio .field textarea{font-size:16px}
  .campaign-studio-preview{position:static;padding:22px 16px;border-left:0;border-top:1px solid var(--studio-line)}
  .campaign-studio-preview>div[data-display-only]{grid-template-columns:minmax(0,1fr) 100px}
  .campaign-workspace-launch,.campaign-presets,.campaign-choice-grid,.campaign-range-grid{grid-template-columns:minmax(0,1fr)}
  .campaign-workspace-launch{gap:16px;padding:16px}.campaign-workspace-list{display:grid;gap:6px;margin-top:12px}
  #drawer:has(.campaign-studio) .drawer-footer{padding:14px 16px;padding-bottom:max(14px,env(safe-area-inset-bottom))}
  #drawer:has(.campaign-studio) .form-error{margin:16px}
}
/* End campaign studio. */

/* Real website canvas: scale the viewport, never its responsive breakpoint. */
#drawer:has(.campaign-canvas-open){width:min(1440px,100%)}
.campaign-canvas-open .campaign-studio-body{grid-template-columns:minmax(320px,.8fr) minmax(0,1.4fr)}
.campaign-page-layout{padding-bottom:16px;border-bottom:1px solid var(--studio-line)}
.campaign-page-layout>h4{margin-top:0}
.campaign-page-layout .campaign-advanced{margin-top:8px}
.campaign-page-layout .campaign-advanced>summary{cursor:pointer}
.campaign-studio [data-campaign-page-layout]{padding-bottom:0;border-bottom:0}
.campaign-studio [data-campaign-canvas-toggle]{width:100%;margin:0 0 16px;min-height:44px;white-space:normal}
.campaign-page-viewport{position:relative;width:100%;overflow:hidden;background:#fff;outline:1px solid #dfe4e8;isolation:isolate}
.campaign-page-viewport iframe{display:block;position:absolute;left:0;top:0;max-width:none;border:0;transform-origin:top left;background:#fff}
.campaign-page-viewport[data-device=mobile]{max-width:390px;margin-inline:auto}
.campaign-studio [data-campaign-page-status]{font-size:12px;line-height:1.5;margin:0 0 12px;color:#435363}
.campaign-studio .campaign-canvas-hint{font-size:12px;line-height:1.5;color:var(--studio-muted);margin:12px 0}
.campaign-canvas-open .campaign-workspace-launch{grid-template-columns:minmax(0,1fr);gap:14px}.campaign-canvas-open .campaign-workspace-list{display:grid;gap:6px}
@media(max-width:760px){.campaign-canvas-open .campaign-studio-body{grid-template-columns:minmax(0,1fr)}}

/* Read-only campaign projection: actual published page, no editing controls. */
#drawer:has(.campaign-projection){width:min(980px,100%)}
.campaign-projection{padding:24px 28px}
.campaign-projection-intro{margin:0 0 18px;font-size:14px;line-height:1.55;color:#435363}
.campaign-projection-controls{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:14px;padding-bottom:20px;border-bottom:1px solid #dfe4e8}
.campaign-projection-controls .field{margin:0}
.campaign-projection-status{margin:18px 0 12px;font-size:13px;line-height:1.5;color:#435363}
.campaign-projection .campaign-page-viewport{margin:0}
.campaign-projection .campaign-page-viewport iframe{pointer-events:none}
.campaign-projection-screen-preview{margin-top:14px}
.campaign-projection-note{margin:14px 0 0;font-size:12px;line-height:1.55;color:#5b6873}
@media(max-width:760px){.campaign-projection{padding:20px 16px}.campaign-projection-controls{grid-template-columns:minmax(0,1fr)}.campaign-projection-controls [data-campaign-projection-device]{max-width:none}}
