@font-face{font-family:"DejaVu Sans";src:url("../fonts/DejaVuSans.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"DejaVu Sans";src:url("../fonts/DejaVuSans-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Nimbus Sans";src:url("../fonts/NimbusSans-Regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Nimbus Sans";src:url("../fonts/NimbusSans-Bold.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"URW Gothic";src:url("../fonts/URWGothic-Book.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Nimbus Roman";src:url("../fonts/NimbusRoman-Regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}

.mdp-creative-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  color:#0f172a;
  font-family:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.mdp-creative-modal.is-open{display:block}
.mdp-creative-modal *{box-sizing:border-box}
.mdp-creative-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,.76);
  backdrop-filter:blur(10px);
}
.mdp-creative-dialog{
  position:absolute;
  inset:14px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#f7f9fc;
  border:1px solid rgba(255,255,255,.16);
  border-radius:22px;
  box-shadow:0 36px 120px rgba(2,6,23,.46);
}
.mdp-creative-header{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 18px;
  color:#fff;
  background:linear-gradient(135deg,#0b1430 0%,#142654 58%,#1d2f66 100%);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.mdp-creative-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}
.mdp-creative-brand>span{
  flex:0 0 auto;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:9px;
  background:rgba(255,255,255,.08);
  color:#bfdbfe;
  font-size:9px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.mdp-creative-brand>div{min-width:0}
.mdp-creative-brand h2{
  max-width:440px;
  margin:0;
  overflow:hidden;
  color:#fff;
  font-size:18px;
  font-weight:780;
  line-height:1.2;
  letter-spacing:-.02em;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mdp-creative-brand small{
  display:block;
  margin-top:3px;
  color:#9fb0cf;
  font-size:10px;
}
.mdp-creative-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
}
.mdp-creative-header button,
.mdp-creative-sidebar button,
.mdp-creative-stage-toolbar button{
  min-height:34px;
  border:1px solid #dbe3ee;
  border-radius:9px;
  background:#fff;
  color:#172033;
  padding:7px 10px;
  font:inherit;
  font-size:11px;
  font-weight:750;
  line-height:1;
  cursor:pointer;
  transition:border-color .16s ease,color .16s ease,background .16s ease,transform .16s ease;
}
.mdp-creative-header button:hover,
.mdp-creative-sidebar button:hover,
.mdp-creative-stage-toolbar button:hover{
  border-color:#93b4ff;
  color:#1d4ed8;
}
.mdp-creative-header button:disabled,
.mdp-creative-sidebar button:disabled{cursor:not-allowed;opacity:.52}
.mdp-creative-header .mdp-creative-quiet{
  border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#dbeafe;
}
.mdp-creative-header .mdp-creative-quiet:hover{
  border-color:rgba(255,255,255,.34);
  color:#fff;
  background:rgba(255,255,255,.13);
}
.mdp-creative-history-actions{
  display:flex;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:9px;
}
.mdp-creative-history-actions button{
  min-width:35px;
  border:0;
  border-radius:0;
  background:rgba(255,255,255,.08);
  color:#dbeafe;
  font-size:17px;
}
.mdp-creative-history-actions button+button{border-left:1px solid rgba(255,255,255,.14)}
.mdp-creative-header .mdp-creative-save{
  min-height:36px;
  padding-inline:16px;
  border-color:#4f7ff5;
  background:linear-gradient(135deg,#3b82f6,#3159d6);
  color:#fff;
  box-shadow:0 9px 22px rgba(37,99,235,.28);
}
.mdp-creative-header .mdp-creative-close{
  width:35px;
  min-width:35px;
  padding:0;
  border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:20px;
}
.mdp-creative-workspace{
  min-height:0;
  flex:1;
  display:grid;
  grid-template-columns:350px minmax(0,1fr);
}
.mdp-creative-sidebar{
  min-height:0;
  overflow:auto;
  padding:13px;
  background:#f8fafc;
  border-right:1px solid #dfe6ef;
  scrollbar-width:thin;
}
.mdp-creative-tool-tabs{
  position:sticky;
  top:0;
  z-index:6;
  display:flex;
  overflow-x:auto;
  scrollbar-width:thin;
  gap:4px;
  margin:-3px -3px 10px;
  padding:6px;
  border:1px solid #dfe6ef;
  border-radius:13px;
  background:rgba(248,250,252,.96);
  box-shadow:0 8px 20px rgba(15,23,42,.07);
  backdrop-filter:blur(12px);
}
.mdp-creative-tool-tabs button{
  flex:0 0 67px;
  min-width:67px;
  min-height:48px!important;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:5px 2px!important;
  border-color:transparent!important;
  background:transparent!important;
  color:#64748b!important;
  font-size:8px!important;
}
.mdp-creative-tool-tabs button span{font-size:15px;line-height:1}
.mdp-creative-tool-tabs button.is-active{
  border-color:#c7d7ff!important;
  background:linear-gradient(180deg,#fff,#eaf1ff)!important;
  color:#1d4ed8!important;
  box-shadow:0 5px 14px rgba(37,99,235,.10);
}
.mdp-creative-sidebar section{
  margin:0 0 10px;
  padding:13px;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 18px rgba(15,23,42,.035);
}
.mdp-creative-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.mdp-creative-sidebar h3{
  margin:0;
  color:#172033;
  font-size:11px;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.mdp-creative-section-head small{
  margin:0;
  color:#94a3b8;
  font-size:9px;
  font-weight:700;
}
.mdp-creative-sidebar label,
.mdp-creative-color-row span{
  display:block;
  color:#64748b;
  font-size:10px;
  font-weight:720;
}
.mdp-creative-sidebar input,
.mdp-creative-sidebar select,
.mdp-creative-sidebar textarea{
  width:100%;
  max-width:100%;
  margin-top:5px;
  border:1px solid #d5deea;
  border-radius:9px;
  outline:0;
  background:#fff;
  color:#0f172a;
  padding:8px 9px;
  font:inherit;
  font-size:11px;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.mdp-creative-sidebar textarea{min-height:68px;resize:vertical;line-height:1.45}
.mdp-creative-sidebar input:focus,
.mdp-creative-sidebar select:focus,
.mdp-creative-sidebar textarea:focus{
  border-color:#6e9af8;
  box-shadow:0 0 0 3px rgba(37,99,235,.10);
}
.mdp-creative-sidebar input[type="color"]{
  height:36px;
  padding:3px;
  cursor:pointer;
}
.mdp-creative-sidebar input[type="range"]{
  height:22px;
  padding:0;
  border:0;
  box-shadow:none;
  accent-color:#3159d6;
}
.mdp-creative-tools-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}
.mdp-creative-tools-grid button,
.mdp-creative-tool-upload{
  min-width:0;
  min-height:58px!important;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  margin:0!important;
  border:1px solid #dce4ef!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,#fff,#f8fafc)!important;
  color:#334155!important;
  text-align:center;
  font-size:9px!important;
  font-weight:760!important;
  cursor:pointer;
}
.mdp-creative-tools-grid button:hover,
.mdp-creative-tool-upload:hover{
  border-color:#86aaf8!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
}
.mdp-creative-tools-grid span{
  color:#1d4ed8;
  font-size:18px;
  font-weight:800;
  line-height:1;
}
.mdp-creative-tool-upload{position:relative;overflow:hidden}
.mdp-creative-tool-upload input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  cursor:pointer;
}
.mdp-creative-field{margin-top:8px}
.mdp-creative-field-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:8px;
}
.mdp-creative-color-row{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  gap:10px;
  align-items:end;
  margin-top:8px;
}
.mdp-creative-brand-colors{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:36px;
  margin-top:5px;
}
.mdp-creative-brand-colors button{
  width:30px;
  min-width:30px;
  height:30px;
  min-height:30px;
  padding:0;
  border:2px solid #fff;
  border-radius:8px;
  box-shadow:0 0 0 1px #cbd5e1;
}
.mdp-creative-upload-stack{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}
.mdp-creative-upload{
  position:relative;
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin:0!important;
  overflow:hidden;
  border:1px dashed #94a3b8;
  border-radius:10px;
  background:#f8fafc;
  padding:8px;
  color:#475569!important;
  text-align:center;
  cursor:pointer;
}
.mdp-creative-upload:hover{border-color:#2563eb;color:#1d4ed8!important;background:#eff6ff}
.mdp-creative-upload input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  cursor:pointer;
}
.mdp-creative-full-button{width:100%;margin-top:7px}
.mdp-creative-format-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
  margin-top:8px;
}
.mdp-creative-format-actions button{
  min-width:0;
  min-height:31px;
  padding:5px 3px;
  font-size:10px;
}
.mdp-creative-format-actions button.is-active,
.mdp-creative-stage-toolbar button.is-active{
  border-color:#3159d6;
  background:#eaf1ff;
  color:#1d4ed8;
}
.mdp-creative-highlight{
  display:grid;
  grid-template-columns:1fr 44px;
  gap:8px;
  align-items:center;
  margin-top:8px;
  padding:7px 9px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#f8fafc;
}
.mdp-creative-highlight label{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
}
.mdp-creative-highlight input[type="checkbox"]{
  width:auto;
  margin:0;
}
.mdp-creative-highlight input[type="color"]{margin:0}
.mdp-creative-inline{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}
.mdp-creative-inline button{flex:1 1 auto;padding:7px 8px}
.mdp-creative-control-group.is-unavailable{
  opacity:.52;
}
.mdp-creative-control-group.is-unavailable input,
.mdp-creative-control-group.is-unavailable select,
.mdp-creative-control-group.is-unavailable textarea,
.mdp-creative-control-group.is-unavailable button{
  pointer-events:none;
}
.mdp-creative-layers{
  display:grid;
  gap:5px;
  max-height:210px;
  overflow:auto;
}
.mdp-creative-empty-layers{
  padding:14px;
  border:1px dashed #cbd5e1;
  border-radius:10px;
  color:#94a3b8;
  text-align:center;
  font-size:10px;
}
.mdp-creative-layer-row{
  display:grid;
  grid-template-columns:18px minmax(0,1fr) 28px 28px;
  gap:4px;
  align-items:center;
  padding:3px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#fff;
}
.mdp-creative-layer-grip{
  color:#94a3b8;
  font-size:15px;
  line-height:1;
  text-align:center;
  cursor:grab;
  user-select:none;
}
.mdp-creative-layer-row.is-dragging{opacity:.42}
.mdp-creative-layer-row.is-drag-over{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.13)}
.mdp-creative-layer-row.is-selected{
  border-color:#79a0f6;
  background:#eff6ff;
  box-shadow:0 0 0 2px rgba(37,99,235,.08);
}
.mdp-creative-layer-select{
  min-width:0;
  min-height:30px!important;
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr);
  align-items:center;
  gap:7px;
  padding:3px!important;
  border:0!important;
  background:transparent!important;
  text-align:left;
}
.mdp-creative-layer-select span{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:7px;
  background:#e8eef7;
  color:#3159d6;
  font-size:10px;
}
.mdp-creative-layer-select b{
  overflow:hidden;
  color:#334155;
  font-size:10px;
  font-weight:760;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mdp-creative-layer-toggle{
  width:28px;
  min-width:28px;
  min-height:28px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#64748b!important;
  font-size:11px!important;
}
.mdp-creative-layer-actions{
  display:grid;
  grid-template-columns:34px 34px 1fr 1fr;
  gap:6px;
  margin-top:8px;
}
.mdp-creative-layer-actions button{padding:6px}
.mdp-creative-layer-actions .is-danger{color:#be123c}
.mdp-creative-stage-shell{
  position:relative;
  min-width:0;
  min-height:0;
  display:grid;
  grid-template-rows:48px minmax(0,1fr);
  background:#e9eef5;
}
.mdp-creative-stage-toolbar{
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:7px 14px;
  border-bottom:1px solid #d8e0eb;
  background:rgba(255,255,255,.92);
  box-shadow:0 4px 14px rgba(15,23,42,.04);
}
.mdp-creative-stage-toolbar button{min-height:30px;padding:6px 9px}
.mdp-creative-zoom{
  display:flex;
  align-items:center;
  gap:7px;
}
.mdp-creative-zoom button{
  width:30px;
  min-width:30px;
  padding:0;
  font-size:16px;
}
.mdp-creative-zoom input{
  width:120px;
  margin:0;
  accent-color:#3159d6;
}
.mdp-creative-zoom output{
  min-width:38px;
  color:#475569;
  font-size:10px;
  font-weight:780;
  text-align:right;
}
.mdp-creative-stage-viewport{
  position:relative;
  min-width:0;
  min-height:0;
  overflow:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px;
  background-color:#dfe5ee;
  background-image:linear-gradient(45deg,rgba(203,213,225,.55) 25%,transparent 25%),linear-gradient(-45deg,rgba(203,213,225,.55) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(203,213,225,.55) 75%),linear-gradient(-45deg,transparent 75%,rgba(203,213,225,.55) 75%);
  background-size:22px 22px;
  background-position:0 0,0 11px,11px -11px,-11px 0;
}
.mdp-creative-stage{
  position:relative;
  flex:0 0 auto;
  margin:auto;
  overflow:hidden;
  background:#fff;
  line-height:0;
  box-shadow:0 22px 65px rgba(15,23,42,.24),0 0 0 1px rgba(15,23,42,.08);
}
.mdp-creative-stage canvas{
  display:block;
  max-width:none;
  outline:0;
  cursor:default;
  touch-action:none;
}
.mdp-creative-loading{
  position:absolute;
  inset:0;
  z-index:8;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(241,245,249,.84);
  color:#1d4ed8;
  font-size:12px;
  font-weight:820;
  backdrop-filter:blur(4px);
}
.mdp-creative-status{
  position:absolute;
  left:50%;
  bottom:14px;
  z-index:10;
  max-width:min(520px,80%);
  transform:translateX(-50%);
  margin:0;
  padding:8px 13px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(15,23,42,.90);
  color:#fff;
  box-shadow:0 10px 30px rgba(15,23,42,.20);
  font-size:11px;
  text-align:center;
}
.mdp-creative-status:empty{display:none}
.mdp-creative-status.is-error{background:#b91c1c}
.mdp-creative-status.is-success{background:#047857}
body.mdp-creative-open{overflow:hidden}

@media(max-width:1050px){
  .mdp-creative-dialog{inset:5px;border-radius:14px}
  .mdp-creative-workspace{grid-template-columns:310px minmax(0,1fr)}
  .mdp-creative-header .mdp-creative-quiet{display:none}
}
@media(max-width:760px){
  .mdp-creative-header{min-height:64px;padding:8px 10px}
  .mdp-creative-brand>span,.mdp-creative-brand small{display:none}
  .mdp-creative-brand h2{max-width:170px;font-size:14px}
  .mdp-creative-header-actions{gap:4px}
  .mdp-creative-header .mdp-creative-save{padding-inline:10px}
  .mdp-creative-workspace{
    grid-template-columns:1fr;
    grid-template-rows:minmax(235px,39vh) minmax(0,1fr);
  }
  .mdp-creative-sidebar{
    display:flex;
    gap:9px;
    overflow:auto;
    border-right:0;
    border-bottom:1px solid #dfe6ef;
  }
  .mdp-creative-sidebar section{
    flex:0 0 min(310px,88vw);
    margin:0;
  }
  .mdp-creative-stage-shell{grid-template-rows:42px minmax(0,1fr)}
  .mdp-creative-stage-toolbar{padding:5px 9px}
  .mdp-creative-zoom input{width:78px}
  .mdp-creative-stage-viewport{padding:20px}
}

/* MKPRO Creative Studio 10.2 */
.mdp-creative-tools-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.mdp-creative-ai-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
.mdp-creative-ai-tools button:first-child{border-color:#c4b5fd;background:#f5f3ff;color:#6d28d9}
.mdp-creative-ai-tools button:last-child{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.mdp-creative-local-note{margin:7px 0 0;color:#64748b;font-size:9px;line-height:1.45}
.mdp-creative-eraser-panel{margin-top:8px;padding:10px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff}
.mdp-creative-eraser-panel[hidden]{display:none!important}
.mdp-creative-stage canvas.is-erasing{cursor:crosshair!important}
.mdp-creative-gallery-head{margin-top:12px!important;margin-bottom:7px!important}
.mdp-creative-gallery-head button{min-height:26px!important;padding:5px 7px!important;font-size:9px!important}
.mdp-creative-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-height:54px}
.mdp-creative-gallery>button{height:54px!important;min-height:54px!important;overflow:hidden;padding:0!important;border-radius:9px!important;background:#eef2f7!important}
.mdp-creative-gallery img{width:100%;height:100%;display:block;object-fit:cover}
.mdp-creative-gallery small{grid-column:1/-1;padding:10px;color:#94a3b8;font-size:9px;text-align:center}
.mdp-creative-font-previews{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  max-height:184px;
  margin-top:8px;
  overflow:auto;
  scrollbar-width:thin;
}
.mdp-creative-font-previews button{
  min-width:0;
  min-height:46px!important;
  display:flex!important;
  align-items:center;
  gap:7px;
  padding:6px 8px!important;
  text-align:left;
}
.mdp-creative-font-previews button b{font-size:18px;line-height:1}
.mdp-creative-font-previews button small{min-width:0;overflow:hidden;color:#64748b;font:inherit;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.mdp-creative-font-previews button.is-active{border-color:#3159d6!important;background:#eff6ff!important;color:#1d4ed8!important}
.mdp-creative-spacing-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.mdp-creative-spacing-grid label:first-child{grid-column:1/-1}
.mdp-creative-stage-toolbar{gap:7px!important}
.mdp-creative-pages{min-width:0;max-width:42%;display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin}
.mdp-creative-page-tab{flex:0 0 auto!important;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mdp-creative-page-tab.is-active{border-color:#3159d6!important;background:#eff6ff!important;color:#1d4ed8!important}
.mdp-creative-stage-toolbar>[data-mdp-creative-page-add],
.mdp-creative-stage-toolbar>[data-mdp-creative-page-duplicate],
.mdp-creative-stage-toolbar>[data-mdp-creative-page-delete]{padding-inline:7px!important;font-size:9px!important}
.mdp-creative-stage-toolbar>[data-mdp-creative-page-delete]{color:#be123c!important}
@media(max-width:780px){
  .mdp-creative-pages{max-width:100%;order:3;width:100%}
  .mdp-creative-stage-toolbar{flex-wrap:wrap;height:auto!important}
  .mdp-creative-stage-shell{grid-template-rows:auto minmax(0,1fr)!important}
  .mdp-creative-sidebar{display:block!important}
  .mdp-creative-sidebar section{min-width:0!important}
  .mdp-creative-tool-tabs{position:sticky}
}

/* MKPRO Creative Studio 10.4 — fluxo profissional */
.mdp-creative-autosave-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:86px;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:#dbeafe;
  font-size:9px;
  font-weight:760;
  white-space:nowrap;
}
.mdp-creative-autosave-status i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#34d399;
  box-shadow:0 0 0 4px rgba(52,211,153,.12);
}
.mdp-creative-autosave-status.is-pending i{background:#fbbf24;box-shadow:0 0 0 4px rgba(251,191,36,.12)}
.mdp-creative-autosave-status.is-saving i{background:#60a5fa;box-shadow:0 0 0 4px rgba(96,165,250,.12);animation:mdpCreativePulse .9s ease-in-out infinite}
.mdp-creative-autosave-status.is-error i{background:#fb7185;box-shadow:0 0 0 4px rgba(251,113,133,.12)}
@keyframes mdpCreativePulse{50%{opacity:.42;transform:scale(.82)}}

.mdp-creative-panel-help{
  margin:-2px 0 11px;
  padding:8px 9px;
  border-left:3px solid #93b4ff;
  border-radius:0 8px 8px 0;
  background:#f5f8ff;
  color:#64748b;
  font-size:9px;
  line-height:1.5;
}
.mdp-creative-template-library-head,
.mdp-creative-effects-head,
.mdp-creative-align-head{margin-top:13px}
.mdp-creative-template-filters{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:7px;
  margin-bottom:10px;
}
.mdp-creative-template-filters label{
  min-width:0;
  margin:0!important;
  color:#64748b!important;
  font-size:8px!important;
  font-weight:750!important;
}
.mdp-creative-template-filters label span{display:block;margin:0 0 4px}
.mdp-creative-template-filters input,
.mdp-creative-template-filters select{
  width:100%;
  min-width:0;
  min-height:34px;
  padding:6px 8px;
  border:1px solid #dbe3ee;
  border-radius:9px;
  background:#fff;
  color:#334155;
  font:inherit;
  font-size:8.5px;
}
.mdp-creative-section-head>button{
  min-height:25px!important;
  padding:4px 7px!important;
  font-size:8px!important;
}
.mdp-creative-template-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.mdp-creative-template-grid>small{grid-column:1/-1;padding:12px;color:#94a3b8;text-align:center;font-size:9px}
.mdp-creative-template-builtins>button,
.mdp-creative-template-card{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid #dce4ef;
  border-radius:12px;
  background:#fff;
}
.mdp-creative-template-builtins>button,
.mdp-template-preview{
  width:100%;
  min-height:124px!important;
  display:flex!important;
  flex-direction:column;
  align-items:stretch!important;
  justify-content:flex-start!important;
  padding:6px!important;
  text-align:left;
}
.mdp-creative-template-builtins>button>span,
.mdp-template-preview>span{
  display:block;
  height:76px;
  margin-bottom:7px;
  border-radius:8px;
  background-color:#e2e8f0;
  background-position:center;
  background-size:cover;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.06);
}
.mdp-creative-template-builtins .is-minimal{background:linear-gradient(90deg,#3159d6 0 35%,#f8fafc 35%)}
.mdp-creative-template-builtins .is-product{background:radial-gradient(circle at 50% 42%,#fff 0 24%,#dbeafe 25% 52%,#f8fafc 53%)}
.mdp-creative-template-builtins .is-promo{background:linear-gradient(135deg,#0f172a,#3159d6 58%,#60a5fa)}
.mdp-creative-template-builtins .is-quote{background:linear-gradient(160deg,#172033,#172033 66%,#3159d6 67%)}
.mdp-creative-template-grid b{display:block;color:#334155;font-size:9px;line-height:1.2}
.mdp-creative-template-grid small{display:block;margin-top:2px;color:#94a3b8;font-size:8px}
.mdp-template-delete{
  position:absolute;
  top:5px;
  right:5px;
  z-index:2;
  width:24px;
  min-width:24px;
  min-height:24px!important;
  padding:0!important;
  border-color:#fecdd3!important;
  background:rgba(255,255,255,.92)!important;
  color:#be123c!important;
}
.mdp-creative-template-card>em{
  position:absolute;
  top:9px;
  left:9px;
  z-index:2;
  padding:4px 6px;
  border-radius:999px;
  background:rgba(30,64,175,.92);
  color:#fff;
  font-size:7px;
  font-style:normal;
  font-weight:850;
  letter-spacing:.08em;
  box-shadow:0 4px 12px rgba(30,64,175,.22);
}
.mdp-creative-template-card.is-global{border-color:#bfd0ff}
.mdp-creative-template-save{
  display:grid;
  gap:8px;
  margin-top:12px;
  padding:11px;
  border:1px solid #c7d7ff;
  border-radius:12px;
  background:linear-gradient(180deg,#f8fbff,#eef4ff);
}
.mdp-creative-template-save[hidden]{display:none!important}
.mdp-creative-template-save strong{font-size:10px;color:#1e3a8a}
.mdp-creative-template-save>button{background:#3159d6!important;color:#fff!important;border-color:#3159d6!important}
.mdp-creative-template-transfer{
  margin-top:10px;
  padding:11px;
  border:1px solid #dce5f5;
  border-radius:12px;
  background:#f8faff;
}
.mdp-creative-template-transfer[hidden]{display:none!important}
.mdp-creative-template-transfer>strong{display:block;margin-bottom:8px;color:#1e3a8a;font-size:10px}
.mdp-creative-template-transfer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.mdp-creative-template-transfer-actions button,
.mdp-creative-template-transfer-actions label{
  display:flex!important;
  min-height:34px;
  align-items:center;
  justify-content:center;
  margin:0!important;
  padding:7px 8px;
  border:1px solid #cbd8f2;
  border-radius:9px;
  background:#fff;
  color:#3159d6!important;
  font-size:8.5px!important;
  font-weight:780!important;
  text-align:center;
  cursor:pointer;
}
.mdp-creative-template-transfer-actions input{display:none!important}
.mdp-creative-template-transfer>p{margin:8px 0 0;color:#64748b;font-size:8.5px;line-height:1.45}
.mdp-creative-layer-picker-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
  align-items:end;
  margin-bottom:9px;
}
.mdp-creative-layer-picker-row>.mdp-creative-field{margin:0}
.mdp-creative-layer-picker-row>button{min-height:34px!important;margin-bottom:0;padding-inline:10px!important}
.mdp-creative-layer-picker{margin-bottom:10px!important}
.mdp-creative-color-input{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr);
  gap:6px;
  align-items:center;
}
.mdp-creative-color-input input[type="color"]{height:35px!important;margin-top:5px!important}
.mdp-creative-color-input input[type="text"]{
  height:35px!important;
  margin-top:5px!important;
  padding-inline:8px!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;
  text-transform:uppercase;
}

.mdp-creative-version-list{display:grid;gap:7px}
.mdp-creative-version-item{
  display:grid;
  grid-template-columns:28px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:8px;
  border:1px solid #e2e8f0;
  border-radius:11px;
  background:#fff;
}
.mdp-creative-version-item>span{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:9px;
  background:#eef4ff;
  color:#3159d6;
  font-weight:850;
}
.mdp-creative-version-item div{min-width:0}
.mdp-creative-version-item b{display:block;overflow:hidden;color:#334155;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.mdp-creative-version-item small{display:block;margin-top:2px;color:#94a3b8;font-size:8px}
.mdp-creative-version-item button{min-height:27px!important;padding:5px 7px!important;font-size:8px!important}

.mdp-creative-effect-sliders{display:grid;gap:7px}
.mdp-creative-effect-sliders label{position:relative;padding-right:42px}
.mdp-creative-effect-sliders output{position:absolute;top:0;right:0;color:#3159d6;font-size:9px;font-weight:800}
.mdp-creative-effect-sliders input{grid-column:1/-1}
.mdp-creative-shadow-controls{
  margin-top:9px;
  padding:9px;
  border:1px solid #e2e8f0;
  border-radius:11px;
  background:#f8fafc;
}
.mdp-creative-shadow-controls>label{display:flex;align-items:center;gap:7px}
.mdp-creative-shadow-controls input[type="checkbox"]{width:auto;margin:0}
.mdp-creative-align-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
}
.mdp-creative-align-grid button{min-width:0;padding:6px!important;font-size:15px!important}
.mdp-creative-layer-select{grid-template-columns:24px minmax(0,1fr) auto}
.mdp-creative-layer-select em{
  padding:3px 5px;
  border-radius:999px;
  background:#ede9fe;
  color:#6d28d9;
  font-size:7px;
  font-style:normal;
  font-weight:820;
}
.mdp-creative-layer-row.is-grouped{border-left:3px solid #8b5cf6}
.mdp-creative-group-actions button{font-size:9px}
.mdp-creative-stage-toolbar>[data-mdp-creative-snap]{
  border-color:#cbd5e1;
  color:#475569;
}
.mdp-creative-stage-toolbar>[data-mdp-creative-snap].is-active{
  border-color:#c4b5fd;
  background:#f5f3ff;
  color:#6d28d9;
}

@media(max-width:1050px){
  .mdp-creative-autosave-status{min-width:0}
  .mdp-creative-autosave-status b{display:none}
}
@media(max-width:760px){
  .mdp-creative-tool-tabs{flex:0 0 310px;margin:0}
  .mdp-creative-autosave-status{display:none}
}

/* MKPRO 10.4.1 — molduras de imagem */
.mdp-creative-frames-head{
  margin-top:2px!important;
  padding-top:11px;
  border-top:1px solid #e8edf5;
}
.mdp-creative-frame-help{margin:0 0 9px!important;color:#64748b!important;font-size:9px!important;line-height:1.45!important}
.mdp-creative-frame-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin-bottom:13px;
}
.mdp-creative-frame-grid button{
  display:grid!important;
  place-items:center!important;
  gap:6px!important;
  min-width:0!important;
  min-height:78px!important;
  padding:8px 5px!important;
  border:1px solid #dfe6f0!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#fff,#f8fafc)!important;
  color:#475569!important;
  box-shadow:0 5px 12px rgba(15,23,42,.03)!important;
  cursor:pointer!important;
  transition:.16s ease!important;
}
.mdp-creative-frame-grid button:hover{
  border-color:#91a9ea!important;
  background:#f4f7ff!important;
  color:#3159d6!important;
  transform:translateY(-1px);
}
.mdp-creative-frame-grid button span{
  display:block;
  width:36px;
  height:30px;
  border:3px solid currentColor;
  background:
    linear-gradient(135deg,transparent 44%,currentColor 45% 52%,transparent 53%),
    radial-gradient(circle at 70% 28%,currentColor 0 7%,transparent 8%);
  color:#8ba0c2;
}
.mdp-creative-frame-grid button b{font-size:8px!important;font-weight:800!important;line-height:1.1!important}
.mdp-creative-frame-grid .is-frame-circle{width:32px;height:32px;border-radius:50%}
.mdp-creative-frame-grid .is-frame-rounded{border-radius:9px}
.mdp-creative-frame-grid .is-frame-squircle{width:32px;height:32px;border-radius:12px}
.mdp-creative-frame-grid .is-frame-arch{height:34px;border-radius:18px 18px 3px 3px}
.mdp-creative-frame-grid .is-frame-hexagon{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}
.mdp-creative-gallery button[draggable="true"]{cursor:grab}
.mdp-creative-gallery button[draggable="true"]:active{cursor:grabbing}

/* MKPRO 10.6.1 — editor alinhado ao novo design system */
.mdp-creative-dialog{
  inset:0!important;
  border:0!important;
  border-radius:0!important;
  background:#f3f5f9!important;
  box-shadow:none!important;
}
.mdp-creative-header{
  min-height:64px!important;
  padding:9px 14px!important;
  border-bottom:1px solid #e1e6ee!important;
  background:rgba(255,255,255,.96)!important;
  color:#172033!important;
  box-shadow:0 6px 22px rgba(23,32,51,.045)!important;
  backdrop-filter:blur(16px)!important;
}
.mdp-creative-brand>span{
  border:1px solid #cbd8fa!important;
  background:#edf3ff!important;
  color:#3159d6!important;
  font-size:8px!important;
}
.mdp-creative-brand h2{
  color:#172033!important;
  font-size:16px!important;
}
.mdp-creative-brand small{
  color:#8490a3!important;
  font-size:8.5px!important;
}
.mdp-creative-autosave-status{
  border-color:#dfe5ee!important;
  background:#f8fafc!important;
  color:#526079!important;
}
.mdp-creative-header .mdp-creative-quiet{
  min-height:34px!important;
  border-color:#dfe5ee!important;
  background:#fff!important;
  color:#526079!important;
}
.mdp-creative-header .mdp-creative-quiet:hover{
  border-color:#9db5f6!important;
  background:#f3f7ff!important;
  color:#3159d6!important;
}
.mdp-creative-history-actions{
  border-color:#dfe5ee!important;
  background:#fff!important;
}
.mdp-creative-history-actions button{
  background:#fff!important;
  color:#526079!important;
}
.mdp-creative-history-actions button+button{
  border-left-color:#e5eaf2!important;
}
.mdp-creative-header .mdp-creative-save{
  border-color:#3159d6!important;
  background:linear-gradient(135deg,#315fe9,#4f46e5)!important;
  box-shadow:0 7px 18px rgba(49,89,214,.2)!important;
}
.mdp-creative-header .mdp-creative-close{
  border-color:#e1e6ee!important;
  background:#f8fafc!important;
  color:#526079!important;
}
.mdp-creative-workspace{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) 350px!important;
  min-height:0!important;
  background:#eef1f5!important;
}
.mdp-creative-sidebar{
  display:contents!important;
}
.mdp-creative-tool-tabs{
  position:relative!important;
  top:auto!important;
  z-index:7!important;
  grid-column:1!important;
  grid-row:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:4px!important;
  min-width:0!important;
  margin:0!important;
  padding:8px 6px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  border:0!important;
  border-right:1px solid #dfe5ee!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
.mdp-creative-tool-tabs button{
  flex:0 0 auto!important;
  width:100%!important;
  min-width:0!important;
  min-height:52px!important;
  padding:5px 2px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  font-size:7px!important;
}
.mdp-creative-tool-tabs button span{
  font-size:16px!important;
}
.mdp-creative-tool-tabs button.is-active{
  border-color:#cbd8fa!important;
  background:#edf3ff!important;
  color:#3159d6!important;
  box-shadow:none!important;
}
.mdp-creative-inspector{
  grid-column:3!important;
  grid-row:1!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:15px!important;
  overflow:auto!important;
  border:0!important;
  border-left:1px solid #dfe5ee!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  scrollbar-width:thin!important;
}
.mdp-creative-inspector>section{
  margin:0 0 14px!important;
  padding:0 0 14px!important;
  border:0!important;
  border-bottom:1px solid #edf0f5!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.mdp-creative-inspector>section:last-child{
  margin-bottom:0!important;
  padding-bottom:0!important;
  border-bottom:0!important;
}
.mdp-creative-inspector>section[hidden]{
  display:none!important;
}
.mdp-creative-sidebar h3{
  font-size:10px!important;
  letter-spacing:.045em!important;
}
.mdp-creative-stage-shell{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  border:0!important;
  background:#eef1f5!important;
}
.mdp-creative-stage-toolbar{
  min-height:46px!important;
  padding:6px 11px!important;
  border-bottom:1px solid #dfe5ee!important;
  background:rgba(255,255,255,.94)!important;
}
.mdp-creative-stage-toolbar button{
  min-height:30px!important;
  border-radius:8px!important;
  font-size:8.5px!important;
}
.mdp-creative-stage-viewport{
  padding:28px!important;
  background-color:#e9edf3!important;
  background-image:radial-gradient(circle,#cbd3df 1px,transparent 1px)!important;
  background-position:0 0!important;
  background-size:18px 18px!important;
}
.mdp-creative-stage{
  box-shadow:0 20px 55px rgba(23,32,51,.19),0 0 0 1px rgba(23,32,51,.07)!important;
}
.mdp-creative-sidebar input,
.mdp-creative-sidebar select,
.mdp-creative-sidebar textarea{
  border-radius:9px!important;
  font-family:"Poppins",sans-serif!important;
  font-size:9.5px!important;
}
.mdp-creative-sidebar section,
.mdp-creative-tools-grid button,
.mdp-creative-frame-grid button,
.mdp-creative-layer-row{
  box-shadow:none!important;
}
.mdp-creative-layer-row{
  min-height:39px!important;
  border-radius:9px!important;
  cursor:grab!important;
}
.mdp-creative-layer-row:active{
  cursor:grabbing!important;
}

@media(max-width:1160px){
  .mdp-creative-workspace{
    grid-template-columns:58px minmax(0,1fr) 310px!important;
  }
  .mdp-creative-header .mdp-creative-quiet:first-of-type{display:none!important}
}
@media(max-width:820px){
  .mdp-creative-header{
    min-height:58px!important;
    padding:7px 9px!important;
  }
  .mdp-creative-brand>span,
  .mdp-creative-brand small,
  .mdp-creative-autosave-status,
  .mdp-creative-header .mdp-creative-quiet{
    display:none!important;
  }
  .mdp-creative-brand h2{
    max-width:140px!important;
    font-size:13px!important;
  }
  .mdp-creative-workspace{
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(260px,43vh) minmax(0,1fr)!important;
  }
  .mdp-creative-sidebar{
    grid-column:1!important;
    grid-row:2!important;
    display:grid!important;
    grid-template-rows:58px minmax(0,1fr)!important;
    min-height:0!important;
    overflow:hidden!important;
    padding:0!important;
    border:0!important;
    background:#fff!important;
  }
  .mdp-creative-tool-tabs{
    position:relative!important;
    grid-column:1!important;
    grid-row:1!important;
    flex-direction:row!important;
    gap:4px!important;
    padding:5px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    border-right:0!important;
    border-bottom:1px solid #dfe5ee!important;
  }
  .mdp-creative-tool-tabs button{
    flex:0 0 62px!important;
    width:62px!important;
    min-height:46px!important;
  }
  .mdp-creative-inspector{
    grid-column:1!important;
    grid-row:2!important;
    height:100%!important;
    padding:12px!important;
    border-left:0!important;
    overflow:auto!important;
  }
  .mdp-creative-stage-shell{
    grid-column:1!important;
    grid-row:1!important;
  }
  .mdp-creative-stage-viewport{
    padding:18px!important;
  }
}
