/* Shared WackyWeb live-preview component */
.ww-live-preview{padding:12px;min-width:0;background:#f2f5f8}
.ww-live-preview-bar{display:grid;grid-template-columns:minmax(175px,1fr) auto minmax(175px,1fr);align-items:center;gap:12px;margin-bottom:12px}
.ww-live-preview-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:17px}
.ww-live-badge{background:#e4f3ea;color:#176345;font-size:11px;border-radius:30px;padding:4px 9px;white-space:nowrap}
.ww-live-devices{display:flex;align-items:center;justify-content:center;gap:8px}
.ww-device{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:74px;padding:7px 10px;background:transparent;border:1px solid transparent;border-radius:10px;color:#254253;font-size:12px;font-weight:700}
.ww-device svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ww-device.active{background:#e7f2eb;border-color:#94b9a6;color:#164b37}
.ww-editor-toggle{justify-self:end;border:1px solid #d8e2e9;background:#e9eff4;border-radius:9px;padding:9px 12px;font-weight:700}
.ww-live-preview iframe{display:block;width:100%;height:calc(100dvh - 175px);min-height:480px;margin:0 auto;border:1px solid #d1dce4;border-radius:9px;background:white}
.ww-live-preview.tablet iframe{width:min(768px,100%)}.ww-live-preview.mobile iframe{width:min(390px,100%)}
@media(max-width:1050px){.ww-live-preview-bar{grid-template-columns:1fr auto}.ww-live-devices{grid-column:1/-1;grid-row:2}.ww-editor-toggle{grid-column:2;grid-row:1}}
@media(max-width:620px){.ww-live-preview-bar{grid-template-columns:1fr}.ww-live-devices,.ww-editor-toggle{grid-column:1;grid-row:auto}.ww-editor-toggle{justify-self:end}.ww-live-preview iframe{height:620px;min-height:400px}}
