/* Customer controls share the existing mobile preview layout. */
.cp-page #cp-viewer{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline-offset:-3px;cursor:grab}
.cp-page #cp-viewer:active{cursor:grabbing}
.cp-page #cp-viewer[hidden],.cp-page .cp-view-tools[hidden],.cp-page .cp-view-hint[hidden]{display:none}
.cp-page .cp-chosen,.cp-page .cp-inset,.cp-page .cp-example-badge{pointer-events:none}
.cp-page .cp-stage[data-state="updating"] #cp-viewer,.cp-page .cp-stage[data-state="stale"] #cp-viewer{opacity:.72}
.cp-page .cp-view-tools{display:flex;align-items:center;gap:6px;margin-top:10px;flex-wrap:wrap}
.cp-page .cp-view-button{font:inherit;font-size:12px;color:#173d58;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid #ced9e2;border-radius:8px;background:white;cursor:pointer}
.cp-page .cp-view-button[aria-pressed="true"]{background:#edf3f8;border-color:#173d58}
.cp-page .cp-view-button:nth-child(3){margin-left:auto}
.cp-page .cp-zoom-value{min-width:38px;font-size:12px;text-align:center;color:#536274}
.cp-page .cp-view-hint{font-size:11px;line-height:1.5;color:#536274;margin:6px 0 0;text-align:right}
@media(max-width:767px){
  .cp-page .cp-view-tools{gap:4px;margin-top:6px}
  .cp-page .cp-view-button{font-size:11px;padding:6px 8px}
  .cp-page .cp-view-hint{font-size:10px;margin-top:2px}
  .cp-page .cp-preview{position:static}
  .cp-page .cp-stage{aspect-ratio:4/3;max-height:none}
}
