/* Descubra Delivery v0.79.0 — monitor, relatórios, estúdios e Acesso Assistido */
:root{
  --v078-orange:#ff7417;
  --v078-blue:#578e9e;
  --v078-ink:#102f3b;
  --v078-line:#d6e2e7;
  --v078-soft:#f4f8fa;
  --v078-success:#137a54;
  --v078-danger:#b73b2f;
}

/* Diálogos próprios — substituem confirm/alert do navegador */
.dd-dialog-backdrop{
  position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:24px;
  background:rgba(7,28,36,.52);backdrop-filter:blur(4px);animation:v078Fade .16s ease-out;
}
.dd-dialog{
  width:min(520px,100%);display:grid;grid-template-columns:48px 1fr;gap:16px;
  padding:24px;border:1px solid rgba(87,142,158,.24);border-radius:18px;background:#fff;
  box-shadow:0 28px 80px rgba(5,28,39,.26);animation:v078Pop .18s ease-out;
}
.dd-dialog-symbol{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#eef6f8;color:var(--v078-blue);font-size:23px;font-weight:800}
.dd-dialog.destructive .dd-dialog-symbol,.dd-dialog.danger .dd-dialog-symbol{background:#fff0ed;color:var(--v078-danger)}
.dd-dialog.success .dd-dialog-symbol{background:#e9f8f1;color:var(--v078-success)}
.dd-dialog.warning .dd-dialog-symbol{background:#fff5e8;color:#b86618}
.dd-dialog-copy h3{margin:1px 0 8px;font-size:20px;line-height:1.2;color:#102e39}
.dd-dialog-copy p{margin:0;color:#55707a;line-height:1.55;font-size:14px}
.dd-dialog-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:4px}
.dd-dialog.destructive .dd-dialog-confirm,.dd-dialog.danger .dd-dialog-confirm{background:var(--v078-danger);border-color:var(--v078-danger)}

/* Acesso Assistido */
body.support-assist-active{padding-top:74px}
.support-assist-banner{
  position:fixed;inset:0 0 auto 0;z-index:11800;min-height:70px;padding:10px 18px 10px 92px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;color:#fff;
  background:linear-gradient(112deg,#123f4d,#1b6374);box-shadow:0 10px 28px rgba(5,34,44,.24);
}
.support-assist-banner.maintenance{background:linear-gradient(112deg,#7a3d10,#b95a15)}
.support-assist-main,.support-assist-actions{display:flex;align-items:center;gap:12px}
.support-assist-main strong{display:block;font-size:15px}.support-assist-main small{display:block;margin-top:2px;color:rgba(255,255,255,.86)}
.support-assist-pill{padding:6px 9px;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:rgba(255,255,255,.12);font-size:10px;font-weight:900;letter-spacing:.11em;white-space:nowrap}
.support-assist-time{color:#fff}.support-assist-banner .secondary-btn{border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.12);color:#fff}.support-assist-banner .danger-btn{background:#fff;color:#7e291e;border-color:#fff}
.support-assist-readonly [data-support-mutation-blocked="true"]{opacity:.55;pointer-events:none}

/* Monitor de retirada — painel */
.v078-pickup-hero{align-items:center}.v078-pickup-hero .pickup-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.v078-display-workspace{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(360px,.94fr);gap:18px;margin-top:18px;align-items:start}
.v078-display-settings,.v078-media-library,.v078-display-preview-panel{min-width:0}
.v078-display-preview-panel{position:sticky;top:88px}
.v078-color-field{display:grid;grid-template-columns:54px 1fr;gap:8px}.v078-color-field input[type="color"]{width:54px;height:44px;padding:3px;border-radius:10px;cursor:pointer}
.v078-video-policy{grid-column:1/-1;display:grid;grid-template-columns:1fr minmax(180px,240px);gap:16px;padding:14px 16px;border:1px solid #d7e5ea;border-radius:14px;background:#f7fbfc}
.v078-video-toggle{display:flex;gap:11px;align-items:flex-start}.v078-video-toggle input{margin-top:3px}.v078-video-toggle strong,.v078-video-toggle span{display:block}.v078-video-toggle span{margin-top:3px;color:#67808a;font-size:12px;line-height:1.4}
.v078-number-suffix{display:grid;grid-template-columns:1fr auto;align-items:center}.v078-number-suffix input{border-radius:10px 0 0 10px}.v078-number-suffix span{height:44px;display:grid;place-items:center;padding:0 12px;border:1px solid #cbdce2;border-left:0;border-radius:0 10px 10px 0;background:#eef4f6;color:#5f7881;font-weight:700}
.v078-display-preview{--preview-primary:#ff7b16;--preview-secondary:#578e9e;--preview-bg:#0d3441;--preview-text:#fff;overflow:hidden;border:1px solid rgba(87,142,158,.34);border-radius:18px;background:var(--preview-bg);color:var(--preview-text);box-shadow:0 18px 42px rgba(16,52,65,.15)}
.v078-display-preview header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.16)}
.v078-display-preview header>div{display:flex;align-items:center;gap:10px}.v078-display-preview header img{width:38px;height:38px;object-fit:contain;border-radius:9px;background:#fff}.v078-display-preview header b,.v078-display-preview header small{display:block}.v078-display-preview header b{font-size:16px}.v078-display-preview header small{margin-top:2px;color:rgba(255,255,255,.75)}
.v078-display-preview section{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(180px,.95fr);gap:12px;padding:14px}.v078-preview-orders{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v078-preview-orders article,.v078-display-preview aside{min-height:150px;padding:14px;border-radius:14px;background:rgba(255,255,255,.09)}.v078-preview-orders article.ready{background:color-mix(in srgb,var(--preview-primary) 74%,transparent)}.v078-preview-orders span,.v078-preview-orders b,.v078-display-preview aside span,.v078-display-preview aside small{display:block}.v078-preview-orders span{font-weight:800}.v078-preview-orders b{margin-top:20px;font-size:18px}.v078-display-preview aside{display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,var(--preview-secondary),color-mix(in srgb,var(--preview-secondary) 55%,#091e2a));text-align:center}.v078-display-preview aside span{font-weight:900}.v078-display-preview aside small{margin-top:7px;color:rgba(255,255,255,.78)}
.v078-media-library{margin-top:18px}.v078-media-add-actions{display:flex;gap:9px;flex-wrap:wrap}.v078-upload-label{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px;border:1px solid #c8dae1;border-radius:10px;background:#fff;color:#234b59;font-weight:800;cursor:pointer}.v078-upload-label input{display:none}
.v078-media-list{display:grid;gap:9px;margin-top:14px}.v078-media-card{display:grid;grid-template-columns:28px 96px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;border:1px solid #d5e3e8;border-radius:13px;background:#fff;transition:.18s ease}.v078-media-card:hover{border-color:#94b9c4;box-shadow:0 8px 20px rgba(31,76,91,.08)}.v078-media-card.dragging{opacity:.48;transform:scale(.988)}.v078-drag-handle{display:grid;place-items:center;height:42px;color:#7a949d;font-weight:900;cursor:grab;user-select:none}.v078-media-thumb{position:relative;overflow:hidden;height:64px;border-radius:10px;background:#eaf2f4}.v078-media-thumb img,.v078-media-thumb video{width:100%;height:100%;object-fit:cover}.v078-media-thumb span{position:absolute;left:5px;bottom:5px;padding:3px 5px;border-radius:5px;background:rgba(5,26,35,.78);color:#fff;font-size:8px;font-weight:900}.v078-media-copy strong,.v078-media-copy small{display:block}.v078-media-copy small{margin-top:4px;color:#718991}.v078-media-actions{display:flex;align-items:center;gap:6px}.v078-media-empty{padding:24px;border:1px dashed #b8ced6;border-radius:14px;text-align:center;color:#6f8790;background:#fafcfd}

/* Monitor de retirada — tela cheia */
.v078-pickup-screen{position:fixed;inset:0;z-index:11000;display:grid;grid-template-rows:auto 1fr;background:var(--screen-bg,#0d3441);color:var(--screen-text,#fff);font-family:Arial,Roboto,sans-serif;overflow:hidden}
.v078-pickup-header{min-height:108px;padding:22px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid rgba(255,255,255,.15)}
.v078-pickup-brand{display:flex;align-items:center;gap:17px;min-width:0}.v078-pickup-brand img{width:68px;height:68px;object-fit:contain;border-radius:15px;background:#fff;padding:5px}.v078-pickup-brand h1{margin:0;font-size:clamp(28px,3vw,48px);line-height:1}.v078-pickup-brand p{margin:8px 0 0;color:rgba(255,255,255,.78);font-size:clamp(14px,1.3vw,20px)}.v078-pickup-clock{text-align:right}.v078-pickup-clock strong{display:block;font-size:clamp(28px,3vw,48px)}.v078-pickup-clock small{color:rgba(255,255,255,.68)}
.v078-pickup-body{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:22px;padding:22px 28px 28px;min-height:0}.v078-pickup-screen.layout-balanced .v078-pickup-body{grid-template-columns:1fr 1fr}.v078-pickup-screen.layout-orders_focus .v078-pickup-body{grid-template-columns:minmax(0,1.48fr) minmax(300px,.52fr)}
.v078-pickup-orders{display:grid;grid-template-columns:1fr 1fr;gap:18px;min-height:0}.v078-screen-group{min-height:0;overflow:hidden;padding:22px;border:1px solid rgba(255,255,255,.18);border-radius:24px;background:rgba(255,255,255,.08)}.v078-screen-group.ready{background:linear-gradient(150deg,color-mix(in srgb,var(--screen-primary,#ff7b16) 78%,transparent),color-mix(in srgb,var(--screen-secondary,#578e9e) 42%,transparent))}.v078-screen-group header{display:flex;align-items:center;justify-content:space-between;gap:12px}.v078-screen-group h2{margin:0;font-size:clamp(22px,2.2vw,36px)}.v078-screen-group header span{min-width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.15);font-size:20px;font-weight:900}.v078-screen-group .pickup-display-list{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.v078-screen-group .pickup-display-number{padding:14px 17px;border-radius:14px;background:rgba(255,255,255,.12);font-size:clamp(20px,2.4vw,40px);font-weight:950}.v078-screen-group .pickup-display-empty{padding-top:26px;color:rgba(255,255,255,.72);font-size:18px}
.v078-pickup-media{position:relative;min-height:0;overflow:hidden;border-radius:26px;background:linear-gradient(145deg,var(--screen-secondary,#578e9e),#071d2b);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.v078-pickup-media img,.v078-pickup-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.v078-pickup-media .media-caption{position:absolute;inset:auto 0 0;padding:58px 24px 22px;background:linear-gradient(transparent,rgba(4,20,29,.82));font-size:clamp(18px,2vw,30px);font-weight:900}.v078-screen-brand{height:100%;display:grid;place-items:center;padding:30px;text-align:center}.v078-screen-brand img{max-width:66%;max-height:42%;object-fit:contain}.v078-screen-brand strong{display:block;margin-top:18px;font-size:clamp(28px,3.5vw,54px)}
.v078-pickup-media.fade-enter img,.v078-pickup-media.fade-enter video{animation:v078MediaFade .55s ease}.v078-pickup-media.slide-enter img,.v078-pickup-media.slide-enter video{animation:v078MediaSlide .55s ease}.v078-pickup-media.zoom-enter img,.v078-pickup-media.zoom-enter video{animation:v078MediaZoom 8s ease-out both}

/* Drag-and-drop do catálogo */
.v078-sortable{position:relative}.v078-sortable.dragging{opacity:.42;box-shadow:none}.v078-sortable.drag-over{outline:2px solid rgba(255,116,23,.42);outline-offset:3px}.v078-option-grip,.v078-group-grip{display:inline-grid;place-items:center;width:26px;height:40px;border-radius:8px;color:#77929b;cursor:grab;user-select:none;touch-action:none}.v078-option-grip:hover,.v078-group-grip:hover{background:#eef5f7;color:#345d6a}
.v078-option-drag,.v078-option-row-drag{display:inline-grid;place-items:center;min-width:28px;height:40px;border:0;border-radius:8px;background:transparent;color:#77929b;font-size:17px;font-weight:900;letter-spacing:-4px;cursor:grab;user-select:none;touch-action:none}.v078-option-drag:hover,.v078-option-row-drag:hover{background:#eef5f7;color:#345d6a}.v078-option-drag:active,.v078-option-row-drag:active{cursor:grabbing}


/* Produtos — ordenação manual estável */
.product-row-v2{grid-template-columns:30px 62px minmax(0,1fr) 125px auto}
.product-drag-handle{width:30px;height:48px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#78919a;font-size:18px;font-weight:900;letter-spacing:-4px;cursor:grab;user-select:none;touch-action:none}
.product-drag-handle:hover{background:#eef5f7;color:#345d6a}.product-drag-handle:active{cursor:grabbing}
.product-row-v2.dragging{opacity:.42;box-shadow:none;transform:scale(.993)}
.product-row-v2.drag-over{outline:2px solid rgba(255,116,23,.46);outline-offset:3px}
.product-list-v2.drag-disabled .product-drag-handle{opacity:.35;cursor:not-allowed}

/* Imagem de fundo real no estúdio promocional */
.v078-promo-background-tools{display:grid;gap:10px;padding:12px;border:1px solid #d7e4e9;border-radius:12px;background:#f8fbfc}
.v078-promo-background-tools .v078-upload-label{justify-content:center}.v078-promo-background-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v078-promo-range{display:grid;grid-template-columns:1fr 54px;gap:8px;align-items:center}.v078-promo-range output{font-size:11px;font-weight:850;color:#466773;text-align:right}
.v078-promo-background-preview{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #d8e5e9;border-radius:10px;background:#fff}.v078-promo-background-preview img{width:64px;height:46px;object-fit:cover;border-radius:8px}.v078-promo-background-preview span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5f7780;font-size:11px}

/* Relatório de clientes por canal */
.v078-report-filters{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;align-items:end;margin-bottom:16px}.v078-report-filters .field{margin:0}.v078-channel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;margin:14px 0 18px}.v078-channel-card{padding:16px;border:1px solid #d6e3e8;border-radius:15px;background:#fff;box-shadow:0 7px 18px rgba(22,65,80,.05)}.v078-channel-card span,.v078-channel-card strong,.v078-channel-card small{display:block}.v078-channel-card span{color:#6c858e;font-size:12px;font-weight:800}.v078-channel-card strong{margin-top:7px;color:#102f3b;font-size:24px}.v078-channel-card small{margin-top:5px;color:#718991}.v078-channel-pill{display:inline-flex!important;width:max-content;margin-top:10px!important;padding:4px 8px;border-radius:999px;background:#eef5f7;color:#3f6875!important;font-size:10px!important}.v078-report-table td strong,.v078-report-table td span,.v078-report-table td small{display:block}.v078-report-table td span,.v078-report-table td small{margin-top:3px;color:#718991}.v078-report-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.v078-report-list{padding:16px;border:1px solid #d6e3e8;border-radius:15px;background:#fff}.v078-report-list h4{margin:0 0 12px}.v078-report-list article{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #edf2f4}.v078-report-list article:first-of-type{border-top:0}.v078-report-list article span,.v078-report-list article small{display:block}.v078-report-list article small{margin-top:2px;color:#789098}

/* Estúdio de comprovantes */
.v078-receipt-studio{width:min(1120px,96vw)}.v078-receipt-studio-body{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);gap:22px}.v078-receipt-studio-body>aside{position:sticky;top:0;align-self:start;padding:16px;border:1px solid #d9e5e9;border-radius:16px;background:#f4f8f9}.v078-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v078-template-choice{display:block;padding:12px;border:1px solid #d3e1e6;border-radius:12px;background:#fff;cursor:pointer}.v078-template-choice input{position:absolute;opacity:0;pointer-events:none}.v078-template-choice strong,.v078-template-choice small{display:block}.v078-template-choice small{margin-top:3px;color:#718891}.v078-template-choice.selected{border-color:var(--v078-orange);box-shadow:0 0 0 2px rgba(255,116,23,.13)}.v078-receipt-switches{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.v078-receipt-switches label{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #dbe6ea;border-radius:10px;background:#fff;font-size:12px;font-weight:700}.v078-receipt-paper{width:min(100%,340px);max-height:60vh;overflow:auto;margin:auto;padding:22px 18px;border-radius:3px;background:#fff;color:#111;box-shadow:0 12px 32px rgba(10,37,48,.16);font:12px/1.38 'Courier New',monospace}.v078-receipt-paper h3,.v078-receipt-paper p{margin:0;text-align:center}.v078-receipt-paper .receipt-left{text-align:left}.v078-receipt-rule{margin:9px 0;border-top:1px dashed #111}.v078-receipt-paper table{width:100%;border-collapse:collapse}.v078-receipt-paper td{padding:2px 0;vertical-align:top}.v078-receipt-paper td:last-child{text-align:right;white-space:nowrap}.v078-receipt-paper .receipt-total{font-size:14px;font-weight:900}.v078-receipt-paper .receipt-muted{color:#555;font-size:10px}

/* Estúdio promocional */
.v078-promotion-studio{width:min(1220px,96vw)}.v078-promotion-studio-body{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;min-height:620px}.v078-template-list{display:grid;align-content:start;gap:8px;max-height:68vh;overflow:auto;padding-right:4px}.v078-template-list button{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;padding:8px;border:1px solid #d5e3e8;border-radius:12px;background:#fff;text-align:left;cursor:pointer}.v078-template-list button.active{border-color:var(--v078-orange);box-shadow:0 0 0 2px rgba(255,116,23,.12)}.v078-template-list img{width:72px;height:72px;object-fit:cover;border-radius:9px}.v078-template-list b,.v078-template-list small{display:block}.v078-template-list small{margin-top:3px;color:#758d95}.v078-template-editor{display:grid;grid-template-columns:minmax(320px,1fr) minmax(320px,.88fr);gap:18px}.v078-template-canvas{display:grid;place-items:center;min-height:480px;padding:18px;border-radius:18px;background:#edf4f6}.v078-template-canvas img{width:min(100%,590px);max-height:62vh;object-fit:contain;filter:drop-shadow(0 18px 28px rgba(10,40,52,.16))}.v078-template-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px;flex-wrap:wrap}

@keyframes v078Fade{from{opacity:0}to{opacity:1}}
@keyframes v078Pop{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@keyframes v078MediaFade{from{opacity:.15}to{opacity:1}}
@keyframes v078MediaSlide{from{opacity:.4;transform:translateX(4%)}to{opacity:1;transform:none}}
@keyframes v078MediaZoom{from{transform:scale(1)}to{transform:scale(1.055)}}

@media(max-width:1080px){
  .v078-display-workspace{grid-template-columns:1fr}.v078-display-preview-panel{position:static}
  .v078-report-filters{grid-template-columns:repeat(3,1fr)}.v078-report-mini-grid{grid-template-columns:1fr 1fr}
  .v078-promotion-studio-body{grid-template-columns:210px 1fr}.v078-template-editor{grid-template-columns:1fr}
}
@media(max-width:760px){
  body.support-assist-active{padding-top:130px}.support-assist-banner{padding:10px 12px;align-items:flex-start;flex-direction:column}.support-assist-main,.support-assist-actions{width:100%}.support-assist-actions{justify-content:flex-end}
  .dd-dialog{grid-template-columns:40px 1fr;padding:18px}.dd-dialog-symbol{width:40px;height:40px}
  .v078-video-policy,.v078-display-preview section,.v078-receipt-studio-body,.v078-promotion-studio-body,.v078-template-editor{grid-template-columns:1fr}
  .v078-media-card{grid-template-columns:24px 72px 1fr}.v078-media-actions{grid-column:2/-1;justify-content:flex-end}.v078-media-thumb{height:54px}
  .v078-report-filters{grid-template-columns:1fr 1fr}.v078-report-mini-grid{grid-template-columns:1fr}
  .v078-pickup-header{padding:16px 18px;min-height:88px}.v078-pickup-brand img{width:48px;height:48px}.v078-pickup-body{grid-template-columns:1fr;padding:14px}.v078-pickup-orders{min-height:46vh}.v078-pickup-media{min-height:35vh}
  .v078-template-grid,.v078-receipt-switches{grid-template-columns:1fr}.v078-template-list{grid-template-columns:1fr 1fr;max-height:none}.v078-promotion-studio-body{min-height:0}

  .product-row-v2{grid-template-columns:26px 54px minmax(0,1fr) auto}.product-drag-handle{width:26px;height:44px}.product-price-v2{display:none}
  .v078-promo-background-row{grid-template-columns:1fr}
}

/* v0.79.0 — arraste do catálogo em Todos os itens e feedback das notificações */
.product-list-v2.drag-active .product-row-v2:not(.dragging){transition:transform .12s ease,outline-color .12s ease}
.product-list-v2.drag-active .product-drag-handle{cursor:grabbing}
.product-row-v2.drag-over{outline:2px solid rgba(255,116,23,.58);outline-offset:3px;background:#fffaf6}
.toast.toast-refresh{animation:toastRefreshV078 .18s ease}
@keyframes toastRefreshV078{0%{transform:scale(.985);opacity:.82}100%{transform:none;opacity:1}}


/* v0.79.0 — estabilidade visual e funcional */
.v078-pickup-screen{background:var(--screen-bg,var(--pickup-background,#0d3441))!important;color:var(--screen-text,var(--pickup-text,#fff))!important}
.v078-pickup-brand h1,.v078-pickup-brand p,.v078-pickup-clock b,.v078-pickup-clock small,.v078-pickup-screen footer{color:var(--screen-text,var(--pickup-text,#fff))!important}
.v078-pickup-clock{position:relative;z-index:2;display:grid;justify-items:end;gap:4px;padding:10px 14px;border-radius:14px;background:rgba(0,0,0,.22);text-shadow:0 1px 3px rgba(0,0,0,.55)}
.v078-pickup-clock b{display:block;font-size:clamp(28px,3vw,48px);line-height:1;font-weight:950;letter-spacing:.02em}.v078-pickup-clock small{font-size:clamp(11px,1vw,15px);font-weight:750;opacity:.9}
.v078-pickup-body{grid-template-columns:minmax(440px,1.2fr) minmax(0,.8fr)}
.v078-pickup-screen.layout-balanced .v078-pickup-body{grid-template-columns:minmax(390px,1.08fr) minmax(0,.92fr)}
.v078-pickup-screen.layout-orders_focus .v078-pickup-body{grid-template-columns:minmax(330px,.68fr) minmax(0,1.32fr)}
.v078-pickup-media{grid-column:1}.v078-pickup-orders{grid-column:2}.v078-pickup-orders.single-group{grid-template-columns:1fr}
.v078-display-preview section{grid-template-columns:minmax(190px,1fr) minmax(0,1fr)}
.v078-display-preview aside{grid-column:1}.v078-preview-orders{grid-column:2}
@media(max-width:900px){.v078-pickup-body,.v078-pickup-screen.layout-balanced .v078-pickup-body,.v078-pickup-screen.layout-orders_focus .v078-pickup-body{grid-template-columns:1fr}.v078-pickup-media,.v078-pickup-orders{grid-column:1}.v078-pickup-media{min-height:34vh}.v078-pickup-orders{min-height:42vh}}

.option-group-main.v078-has-drag-handle{grid-template-columns:30px 42px minmax(0,1fr)}
.option-group-main.v078-has-drag-handle>.v078-option-drag{grid-column:1;align-self:center}.option-group-main.v078-has-drag-handle>.option-group-icon{grid-column:2}.option-group-main.v078-has-drag-handle>.option-group-copy{grid-column:3}
.library-option-position{display:grid;grid-template-columns:1fr;justify-items:center;align-items:center;gap:1px;min-width:0}.library-option-position .v078-option-row-drag{width:26px;min-width:26px;height:25px}.v078-option-position-number{font-size:8px;line-height:1;color:#78919a;font-weight:850}

.v078-template-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 2px 6px;color:#315864}.v078-template-list-head.saved{margin-top:12px;padding-top:12px;border-top:1px solid #dce7ea}.v078-template-list-head strong{font-size:10px}.v078-template-list-head span{font-size:9px;color:#718890}.v078-template-list-head .ghost-btn{min-height:30px;padding:0 8px;font-size:8px}
.v078-saved-creative-thumb{display:grid!important;place-items:center;width:54px;height:42px;overflow:hidden;border-radius:8px;background:#edf4f6;color:#547682}.v078-saved-creative-thumb img{width:100%;height:100%;object-fit:cover}

/* v0.79.0 — Estúdio de Campanhas profissional */
.v078-promotion-studio-pro{width:min(1540px,98vw);max-height:94vh;overflow:hidden;display:flex;flex-direction:column}
.v078-promotion-studio-pro .modal-head{padding:16px 20px;border-bottom:1px solid #dce7ea}.v078-promotion-studio-pro .modal-head h3{margin:2px 0 3px;font-size:19px}.v078-promotion-studio-pro .modal-head p{margin:0;color:#69818a;font-size:10px}
.v078-studio-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;background:#f7fafb;border-bottom:1px solid #dce7ea}.v078-studio-segments{display:flex;gap:5px;overflow:auto;padding:2px}.v078-studio-segments button{white-space:nowrap;border:1px solid #d7e4e8;background:#fff;color:#486773;border-radius:999px;padding:7px 10px;font:800 11px/1 Arial;cursor:pointer}.v078-studio-segments button.active{border-color:var(--v078-orange);background:#fff5ec;color:#c95508}.v078-studio-topbar>label{display:flex;align-items:center;gap:8px;min-width:360px}.v078-studio-topbar>label span{font-size:11px;font-weight:850;color:#5d7780}.v078-studio-topbar select{height:34px;min-width:245px;border:1px solid #cfdee3;border-radius:9px;background:#fff;padding:0 9px;color:#173e4b;font-weight:750}
.v078-promotion-studio-body.v078-studio-pro-body{display:grid;grid-template-columns:265px minmax(360px,.92fr) minmax(390px,.92fr);gap:14px;min-height:0;overflow:hidden;padding:14px}.v078-studio-library,.v078-studio-controls,.v078-studio-preview-column{min-height:0;border:1px solid #d9e5e9;border-radius:15px;background:#fff}.v078-studio-library,.v078-studio-controls{overflow:auto}.v078-studio-library{padding:11px}.v078-studio-model-grid{display:grid;gap:7px}.v078-studio-model{display:grid;grid-template-columns:82px 1fr;align-items:center;gap:9px;width:100%;padding:7px;border:1px solid #d7e4e8;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.v078-studio-model:hover{border-color:#a9c3cb}.v078-studio-model.active{border-color:var(--v078-orange);box-shadow:0 0 0 2px rgba(255,123,22,.12)}.v078-studio-model img{width:82px;height:55px;object-fit:cover;border-radius:7px;background:#edf4f6}.v078-studio-model b{display:block;font-size:14px;color:#173e4b}.v078-studio-model small{display:block;margin-top:2px;font-size:10px;line-height:1.3;color:#738a92}.v078-studio-saved-list{display:grid;gap:6px}.v078-saved-creative{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:8px;padding:6px;border:1px solid #dde7ea;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.v078-saved-creative.active{border-color:var(--v078-orange)}.v078-saved-creative b,.v078-saved-creative small{display:block}.v078-saved-creative b{font-size:11px}.v078-saved-creative small{font-size:9px;color:#738a92;margin-top:2px}
.v078-studio-preview-column{display:flex;flex-direction:column;padding:13px;background:#f2f7f8}.v078-studio-preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:9px}.v078-studio-preview-head span,.v078-studio-preview-head b,.v078-studio-preview-head small{display:block}.v078-studio-preview-head span{font-size:10px;letter-spacing:.08em;color:#748c95;font-weight:850}.v078-studio-preview-head b{font-size:14px;color:#173e4b;margin-top:2px}.v078-studio-preview-head small{max-width:190px;text-align:right;font-size:10px;color:#6f858d}.v078-template-canvas.v078-studio-canvas{min-height:0;aspect-ratio:var(--studio-ratio);width:100%;max-height:57vh;padding:10px;background:#e6eff2;border:1px solid #d3e1e6;border-radius:12px}.v078-template-canvas.v078-studio-canvas img{width:100%;height:100%;max-height:none;object-fit:contain;filter:drop-shadow(0 12px 20px rgba(14,48,60,.13))}.v078-studio-target-preview{display:flex;align-items:center;gap:8px;margin-top:9px;padding:9px 10px;border:1px solid #d7e5e9;border-radius:10px;background:#fff;color:#315967}.v078-studio-target-preview span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eef6f7}.v078-studio-target-preview small,.v078-studio-target-preview b{display:block}.v078-studio-target-preview small{font-size:9px;color:#789099}.v078-studio-target-preview b{font-size:11px;margin-top:2px}.v078-studio-export{margin-top:8px;width:100%;justify-content:center}
.v078-studio-controls{padding:12px}.v078-studio-control-section{padding:0 0 13px;margin-bottom:13px;border-bottom:1px solid #e1eaed}.v078-studio-control-section:last-of-type{border-bottom:0}.v078-studio-section-title{display:flex;align-items:center;gap:8px;margin-bottom:9px}.v078-studio-section-title>span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#fff1e5;color:#d6600e;font-weight:900;font-size:9px}.v078-studio-section-title b,.v078-studio-section-title small{display:block}.v078-studio-section-title b{font-size:14px;color:#173e4b}.v078-studio-section-title small{font-size:9px;color:#788f97;margin-top:1px}.v078-studio-controls .field label{font-size:10px}.v078-studio-controls input,.v078-studio-controls select{min-height:34px}.v078-promo-background-tools{display:flex;gap:7px;margin-bottom:9px}.v078-target-rule-summary{display:grid;gap:2px;margin-top:8px;padding:9px 10px;border-radius:9px;background:#eef6f7;color:#365f6d}.v078-target-rule-summary b{font-size:11px}.v078-target-rule-summary span{font-size:9px;line-height:1.35}.v078-studio-check{display:flex!important;align-items:center;gap:7px;padding:8px;border:1px solid #d9e5e9;border-radius:9px;background:#fff;align-self:end}.v078-studio-check input{min-height:0}.v078-studio-check span{font-size:10px;font-weight:800;color:#466772}.v078-purchase-rule[hidden],.v078-target-product[hidden],.v078-target-category[hidden],.v078-target-coupon[hidden]{display:none!important}
@media(max-width:1250px){.v078-promotion-studio-body.v078-studio-pro-body{grid-template-columns:220px minmax(320px,1fr) minmax(340px,1fr)}.v078-studio-model{grid-template-columns:66px 1fr}.v078-studio-model img{width:66px;height:48px}}
@media(max-width:980px){.v078-promotion-studio-pro{max-height:96vh}.v078-studio-topbar{align-items:stretch;flex-direction:column}.v078-studio-topbar>label{min-width:0}.v078-promotion-studio-body.v078-studio-pro-body{grid-template-columns:1fr;overflow:auto}.v078-studio-library,.v078-studio-controls{overflow:visible}.v078-studio-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v078-studio-preview-column{order:-1}.v078-template-canvas.v078-studio-canvas{max-height:50vh}}

/* v0.79.0 — Estúdio profissional: canal real, biblioteca ampliada e destino comercial */
.v078-studio-preview-head{position:relative}.v078-placement-mode{display:inline-flex;width:max-content;margin-top:7px;padding:5px 9px;border-radius:999px;font-size:10px;font-style:normal;font-weight:850;letter-spacing:.02em}.v078-placement-mode.auto{background:#eaf7f2;color:#176349}.v078-placement-mode.export{background:#fff4e8;color:#a84d08}.v078-studio-model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v078-studio-model img{aspect-ratio:1.35/1;object-fit:cover}.v078-studio-model span small{line-height:1.32}.scope-box .scope-head .menu-eyebrow{letter-spacing:.09em}
@media(max-width:1180px){.v078-studio-model-grid{grid-template-columns:1fr}}

/* v0.79.0 — hotfix visual do destino comercial e Estúdio de Campanhas */
body.v078-studio-open{overflow:hidden!important}
.modal-backdrop-top{
  z-index:1400!important;
  padding:14px!important;
  align-items:center!important;
  justify-content:center!important;
}

/* Radios e checks dentro do formulário de marketing nunca herdam dimensões de input de texto. */
body:not(.waiter-mobile) .scope-mode input[type="radio"],
body:not(.waiter-mobile) .scope-check-list input[type="checkbox"],
body:not(.waiter-mobile) .v078-studio-check input[type="checkbox"]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  flex:0 0 16px!important;
  padding:0!important;
  margin:2px 0 0!important;
  border:0!important;
  border-radius:3px!important;
  box-shadow:none!important;
  accent-color:var(--v078-orange)!important;
}
body:not(.waiter-mobile) .scope-mode input[type="radio"]{border-radius:50%!important}
body:not(.waiter-mobile) .scope-mode{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  align-items:start!important;
  gap:9px!important;
  min-width:0!important;
  padding:12px!important;
}
body:not(.waiter-mobile) .scope-mode>span{display:block!important;min-width:0!important;text-align:left!important}
body:not(.waiter-mobile) .scope-mode b{font-size:11px!important;line-height:1.2!important}
body:not(.waiter-mobile) .scope-mode small{font-size:9px!important;line-height:1.35!important}
body:not(.waiter-mobile) .scope-check-list>label{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  align-items:start!important;
  gap:8px!important;
  min-height:34px!important;
  padding:8px 5px!important;
}
body:not(.waiter-mobile) .scope-check-list>label>span{min-width:0!important;overflow-wrap:anywhere!important}
body:not(.waiter-mobile) .scope-selection{align-items:stretch!important}
body:not(.waiter-mobile) .scope-column{overflow:hidden!important}

/* Estúdio: cabe inteiro no Desktop, sem ficar atrás do menu lateral e sem rolagem horizontal. */
.v078-promotion-studio-pro{
  width:min(1500px,calc(100vw - 28px))!important;
  max-width:calc(100vw - 28px)!important;
  height:min(860px,calc(100vh - 28px))!important;
  max-height:calc(100vh - 28px)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.v078-promotion-studio-pro>.modal-head,
.v078-promotion-studio-pro>.v078-studio-topbar,
.v078-promotion-studio-pro>.modal-actions{flex:0 0 auto!important}
.v078-promotion-studio-pro>.modal-actions{min-height:58px!important;background:#fff!important}
.v078-studio-topbar{min-width:0!important;flex-wrap:nowrap!important}
.v078-studio-segments{flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin}
.v078-studio-topbar>label{flex:0 0 auto!important;min-width:315px!important;max-width:420px!important}
.v078-studio-topbar select{width:100%!important;min-width:0!important}
.v078-promotion-studio-body.v078-studio-pro-body{
  flex:1 1 auto!important;
  height:0!important;
  min-height:0!important;
  width:100%!important;
  grid-template-columns:minmax(245px,285px) minmax(390px,1fr) minmax(430px,1.04fr)!important;
  gap:12px!important;
  padding:12px!important;
  overflow:hidden!important;
}
.v078-studio-library,.v078-studio-controls,.v078-studio-preview-column{min-width:0!important;min-height:0!important}
.v078-studio-library,.v078-studio-controls{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable}
.v078-studio-library{padding:10px!important}
.v078-studio-model-grid{grid-template-columns:1fr!important;gap:7px!important}
.v078-studio-model{
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:9px!important;
  min-width:0!important;
  padding:7px!important;
  overflow:hidden!important;
}
.v078-studio-model img{width:72px!important;height:48px!important;min-width:72px!important;object-fit:cover!important}
.v078-studio-model>span{min-width:0!important}
.v078-studio-model b{font-size:11px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important}
.v078-studio-model small{font-size:8.5px!important;line-height:1.28!important;white-space:normal!important;overflow-wrap:anywhere!important}
.v078-template-list-head{position:sticky!important;top:-10px!important;z-index:2!important;background:#fff!important;padding-top:10px!important}
.v078-studio-preview-column{overflow:hidden!important;padding:12px!important}
.v078-studio-preview-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(150px,.9fr) auto!important;align-items:start!important;gap:8px!important}
.v078-studio-preview-head small{max-width:none!important;text-align:left!important}
.v078-placement-mode{margin-top:0!important;white-space:nowrap!important;align-self:start!important}
.v078-template-canvas.v078-studio-canvas{
  width:100%!important;
  max-width:100%!important;
  max-height:min(56vh,470px)!important;
  overflow:hidden!important;
}
.v078-template-canvas.v078-studio-canvas img{display:block!important;max-width:100%!important;max-height:100%!important}
.v078-studio-controls{padding:12px!important}
.v078-studio-controls .form-grid{min-width:0!important}
.v078-studio-controls .field{min-width:0!important}
.v078-studio-controls input[type="range"]{
  width:100%!important;
  height:22px!important;
  min-height:22px!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
}
.v078-studio-controls input[type="color"]{height:42px!important;padding:4px!important;cursor:pointer!important}
.v078-studio-check{min-height:42px!important;align-items:center!important}
.v078-studio-check input[type="checkbox"]{margin-top:0!important}
.v078-template-actions{position:sticky!important;bottom:-12px!important;z-index:3!important;background:#fff!important;padding:11px 0 2px!important;border-top:1px solid #e1eaed!important}

@media(max-width:1280px){
  .v078-promotion-studio-body.v078-studio-pro-body{grid-template-columns:minmax(220px,250px) minmax(340px,1fr) minmax(370px,1fr)!important}
  .v078-studio-topbar{gap:10px!important}
  .v078-studio-topbar>label{min-width:285px!important}
}
@media(max-width:1040px){
  .v078-promotion-studio-pro{height:calc(100vh - 20px)!important;max-height:calc(100vh - 20px)!important;width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}
  .modal-backdrop-top{padding:10px!important}
  .v078-studio-topbar{flex-direction:column!important;align-items:stretch!important}
  .v078-studio-topbar>label{min-width:0!important;max-width:none!important}
  .v078-promotion-studio-body.v078-studio-pro-body{grid-template-columns:minmax(210px,250px) minmax(0,1fr)!important;grid-template-areas:"library preview" "library controls"!important;overflow:auto!important}
  .v078-studio-library{grid-area:library!important}
  .v078-studio-preview-column{grid-area:preview!important}
  .v078-studio-controls{grid-area:controls!important;overflow:visible!important}
}
@media(max-width:760px){
  .v078-promotion-studio-body.v078-studio-pro-body{display:block!important;height:auto!important;overflow:auto!important}
  .v078-studio-library,.v078-studio-preview-column,.v078-studio-controls{margin-bottom:10px!important;overflow:visible!important}
  .v078-studio-preview-head{grid-template-columns:1fr!important}
  .v078-placement-mode{justify-self:start!important}
}

/* v0.79.0 — Estúdio refinado: prévia completa, tipografia leve e edição por etapas */
.v078-promotion-studio-pro,
.v078-promotion-studio-pro button,
.v078-promotion-studio-pro input,
.v078-promotion-studio-pro select,
.v078-promotion-studio-pro label,
.v078-promotion-studio-pro small,
.v078-promotion-studio-pro span{
  font-weight:500;
}
.v078-promotion-studio-pro .modal-head h3{font-weight:700!important;letter-spacing:-.015em}
.v078-promotion-studio-pro .modal-head p{font-weight:400!important}
.v078-studio-segments button{font-weight:600!important}
.v078-template-list-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.v078-template-list-head>div{display:flex!important;align-items:baseline!important;gap:4px!important;min-width:0!important}
.v078-template-list-head strong{font-weight:650!important}
.v078-template-list-head small{font-weight:400!important;white-space:nowrap!important;color:#70868f!important}
.v078-studio-model b{font-weight:650!important}
.v078-studio-model small{font-weight:400!important}
.v078-studio-topbar>label{display:flex!important;align-items:center!important;gap:10px!important}
.v078-studio-topbar>label>span{font-weight:600!important;white-space:nowrap!important;line-height:1.15!important}
.v078-studio-topbar>label>select{flex:1 1 auto!important}
.v078-studio-library{min-width:250px!important}
.v078-promotion-studio-body.v078-studio-pro-body{grid-template-columns:minmax(250px,280px) minmax(360px,1.05fr) minmax(400px,1fr)!important}
.v078-studio-section-title{cursor:pointer!important;list-style:none!important;margin:0!important;padding:10px 2px!important;user-select:none}
.v078-studio-section-title::-webkit-details-marker{display:none}
.v078-studio-section-title::after{content:'⌄';margin-left:auto;color:#6e8790;font-size:16px;font-weight:500;transition:transform .18s ease}
details[open]>.v078-studio-section-title::after{transform:rotate(180deg)}
.v078-studio-section-title>span{font-weight:650!important}
.v078-studio-section-title b{font-weight:650!important;font-size:13px!important}
.v078-studio-section-title small{font-weight:400!important;font-size:9.5px!important}
.v078-studio-section-body{padding:2px 0 13px!important}
.v078-studio-control-section{padding:0!important;margin:0!important;border-bottom:1px solid #e1eaed!important}
.v078-studio-controls .field label{font-weight:550!important}
.v078-target-rule-summary b,.v078-publication-summary b{font-weight:650!important}
.v078-target-rule-summary span,.v078-publication-summary span{font-weight:400!important}
.v078-studio-step-nav{position:sticky;top:-12px;z-index:5;display:flex;gap:5px;overflow-x:auto;padding:0 0 8px;margin-bottom:2px;background:#fff;border-bottom:1px solid #edf2f4;scrollbar-width:thin}
.v078-studio-step-nav button{flex:0 0 auto;border:1px solid #d9e5e9;background:#fff;border-radius:999px;padding:6px 9px;color:#315967;font-size:9px;font-weight:600!important;cursor:pointer}
.v078-studio-step-nav button:hover{border-color:#ff9d5e;background:#fff8f2;color:#a94d0c}
.v078-preview-fit-note{display:flex;align-items:center;gap:7px;margin:9px 0 7px;padding:7px 9px;border:1px solid #dbe7ea;border-radius:9px;background:#f8fbfc;color:#496973}
.v078-preview-fit-note>b{font-size:9.5px;font-weight:650!important;white-space:nowrap}
.v078-preview-fit-note>small{font-size:8.5px;font-weight:400!important;line-height:1.25}
.v078-template-canvas.v078-studio-canvas{
  height:min(55vh,470px)!important;
  min-height:300px!important;
  max-height:min(55vh,470px)!important;
  aspect-ratio:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:12px!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#edf4f6,#f8fbfc)!important;
}
.v078-template-canvas.v078-studio-canvas img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:10px!important;
  box-shadow:0 10px 24px rgba(14,48,60,.12)!important;
}
.v078-template-canvas.v078-studio-canvas[data-format="story"] img{height:100%!important;width:auto!important}
.v078-template-canvas.v078-studio-canvas[data-format="landscape"] img{width:100%!important;height:auto!important}
.v078-template-canvas.v078-studio-canvas[data-format="square"] img{height:min(100%,420px)!important;width:auto!important}
.v078-publication-summary{display:grid;gap:3px;padding:10px 11px;border:1px solid #dbe7ea;border-radius:10px;background:#f8fbfc;color:#315967}
.v078-publication-summary b{font-size:11px}
.v078-publication-summary span{font-size:9px;line-height:1.35;color:#6b858e}
.v078-template-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:7px!important}
.v078-template-actions .danger-link{margin-right:auto!important}
.v078-placement-mode{font-weight:600!important}
.v078-studio-target-preview b{font-weight:650!important}
.v078-studio-target-preview small{font-weight:400!important}
@media(max-width:1280px){
  .v078-promotion-studio-body.v078-studio-pro-body{grid-template-columns:minmax(235px,260px) minmax(330px,1fr) minmax(360px,1fr)!important}
  .v078-studio-topbar>label{min-width:330px!important}
}
@media(max-width:1040px){
  .v078-promotion-studio-body.v078-studio-pro-body{grid-template-columns:minmax(220px,250px) minmax(0,1fr)!important}
  .v078-studio-topbar>label{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important}
  .v078-template-canvas.v078-studio-canvas{height:min(48vh,420px)!important;min-height:270px!important}
}
@media(max-width:760px){
  .v078-studio-step-nav{position:static!important}
  .v078-template-canvas.v078-studio-canvas{height:min(52vh,390px)!important;min-height:250px!important}
}

/* v0.79.0 — Estúdio visual interativo, social profissional e rodapé sempre visível */
.v078-studio-preview-column{
  display:grid!important;
  grid-template-rows:auto auto auto minmax(150px,1fr) auto!important;
  align-content:stretch!important;
  gap:7px!important;
  overflow:hidden!important;
}
.v078-studio-preview-head{margin:0!important}
.v078-studio-model img{height:58px!important;object-fit:contain!important;background:#edf4f6!important}
.v078-preview-fit-note{margin:0!important;min-width:0!important}
.v078-preview-fit-note small{min-width:0!important;overflow-wrap:anywhere!important}
.v078-studio-drag-note{
  display:grid!important;
  grid-template-columns:auto auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  padding:6px 8px!important;
  border:1px solid #f0d6bf!important;
  border-radius:9px!important;
  background:#fff8f2!important;
  color:#6f4b31!important;
}
.v078-studio-drag-note>span{display:grid!important;place-items:center!important;color:#d96614!important}
.v078-studio-drag-note>b{font-size:9px!important;font-weight:650!important;white-space:nowrap!important}
.v078-studio-drag-note>small{min-width:0!important;font-size:8.5px!important;line-height:1.25!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.v078-studio-drag-note .ghost-btn{min-height:26px!important;height:26px!important;padding:0 8px!important;font-size:8px!important;white-space:nowrap!important}
.v078-template-canvas.v078-studio-canvas{
  height:auto!important;
  min-height:150px!important;
  max-height:none!important;
  align-self:stretch!important;
  padding:9px!important;
}
.v078-studio-svg-surface{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  touch-action:none!important;
}
.v078-studio-svg-surface>svg{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  border-radius:10px!important;
  box-shadow:0 10px 24px rgba(14,48,60,.14)!important;
  user-select:none!important;
}
.v078-studio-canvas[data-orientation="portrait"] .v078-studio-svg-surface>svg{height:100%!important;width:auto!important}
.v078-studio-canvas[data-orientation="landscape"] .v078-studio-svg-surface>svg{width:100%!important;height:auto!important}
.v078-studio-canvas[data-orientation="square"] .v078-studio-svg-surface>svg{height:100%!important;width:auto!important}
.v078-studio-svg-surface [data-studio-element]{cursor:grab!important;outline:none!important;transition:filter .14s ease!important}
.v078-studio-svg-surface [data-studio-element]:hover,
.v078-studio-svg-surface [data-studio-element]:focus,
.v078-studio-svg-surface [data-studio-element].selected{filter:drop-shadow(0 0 8px rgba(255,123,22,.95))!important}
.v078-studio-svg-surface [data-studio-element]:active{cursor:grabbing!important}
.v078-studio-preview-footer{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:stretch!important;
  gap:7px!important;
  min-width:0!important;
}
.v078-studio-preview-footer .v078-studio-target-preview{min-width:0!important;margin:0!important;padding:7px 9px!important}
.v078-studio-preview-footer .v078-studio-target-preview>div{min-width:0!important}
.v078-studio-preview-footer .v078-studio-target-preview b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.v078-studio-preview-footer .v078-studio-export{width:auto!important;min-width:170px!important;margin:0!important;padding-inline:11px!important;white-space:nowrap!important}
.v078-brand-lock-note{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  padding:9px 10px!important;
  border:1px solid #cfe0e5!important;
  border-radius:9px!important;
  background:#f1f7f8!important;
  color:#315967!important;
}
.v078-brand-lock-note>span{display:grid!important;place-items:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;border-radius:7px!important;background:#0d3441!important;color:#fff!important}
.v078-brand-lock-note b,.v078-brand-lock-note small{display:block!important}
.v078-brand-lock-note b{font-size:10px!important;font-weight:650!important}
.v078-brand-lock-note small{margin-top:2px!important;font-size:8.5px!important;line-height:1.35!important;color:#66808a!important}

@media(max-width:1040px){
  .v078-studio-preview-column{grid-template-rows:auto auto auto minmax(250px,45vh) auto!important}
  .v078-template-canvas.v078-studio-canvas{height:auto!important;min-height:250px!important;max-height:45vh!important}
}
@media(max-width:760px){
  .v078-studio-preview-column{display:grid!important;grid-template-rows:auto auto auto minmax(250px,48vh) auto!important;overflow:visible!important}
  .v078-template-canvas.v078-studio-canvas{height:auto!important;min-height:250px!important;max-height:48vh!important}
  .v078-studio-drag-note{grid-template-columns:auto minmax(0,1fr) auto!important}
  .v078-studio-drag-note>b{display:none!important}
  .v078-studio-preview-footer{grid-template-columns:1fr!important}
  .v078-studio-preview-footer .v078-studio-export{width:100%!important}
}
