[data-editor-appearance] { --lands-inspector-width: clamp(300px, 17vw, 350px); }
:is([data-editor-appearance], .ll-original-inline-panel) {
  --ll-editor-control-height: 40px;
  --ll-editor-icon-size: 36px;
}

.ll-inspector-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 8px 12px;
}

.ll-inspector-tabs button,
.ll-inspector-secondary,
.ll-inspector-component-grid button {
  border: 1px solid var(--lands-editor-border);
  border-radius: 7px;
  background: var(--lands-editor-surface-muted);
  color: var(--lands-editor-text);
  font: 650 12px/1.35 system-ui, sans-serif;
  cursor: pointer;
}

.ll-inspector-tabs button {
  min-height: var(--ll-editor-control-height);
  padding: 4px;
  border-color: transparent;
  background: transparent;
  color: var(--lands-editor-text-muted);
}

.ll-inspector-tabs button[aria-current],
.ll-inspector-tabs button:hover {
  border-color: var(--lands-editor-border);
  background: var(--lands-editor-surface-strong);
  color: var(--lands-editor-text);
}
.ll-inspector-tabs button[aria-current="true"] { box-shadow: inset 0 -2px #8c64ee; }

.ll-inspector-site {
  border-block: 1px solid var(--lands-editor-border-soft);
  background: var(--lands-editor-panel-muted-bg);
}

.ll-inspector-site > summary,
.ll-inspector-model > summary,
.ll-inspector-more > summary,
.ll-inspector-cta > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--lands-editor-text);
  cursor: pointer;
  list-style: none;
  font: 650 12px/1.4 system-ui, sans-serif;
}

.ll-inspector-site > summary { min-height: var(--ll-editor-control-height); padding: 0 14px; }
.ll-inspector-site > summary svg,
.ll-inspector-model > summary svg,
.ll-inspector-more > summary svg,
.ll-inspector-cta > summary svg { flex: none; color: var(--lands-editor-text-muted); }
.ll-inspector-site[open] > summary svg,
.ll-inspector-model[open] > summary svg,
.ll-inspector-more[open] > summary svg,
.ll-inspector-cta[open] > summary svg { transform: rotate(180deg); }

.ll-inspector-fields {
  display: grid;
  align-content: start;
  gap: 12px;
  color: var(--lands-editor-text);
}

.ll-inspector-card {
  display: grid;
  min-width: 0;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--lands-editor-border-soft);
  border-radius: 11px;
  background: var(--lands-editor-surface);
}

.ll-inspector-card h3 { margin: 0; color: var(--lands-editor-text); font-size: 13px; line-height: 1.4; }
.ll-inspector-card p,
.ll-inspector-identity small {
  margin: 0;
  color: var(--lands-editor-text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ll-inspector-identity label,
.ll-inspector-model .section-template-select > label {
  color: var(--lands-editor-text);
  font-size: 12px;
  font-weight: 650;
}

.ll-inspector-identity input,
.ll-inspector-cta-form :is(input:not([type="checkbox"]), select) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: var(--ll-editor-control-height);
  padding: 6px 8px;
  border: 1px solid var(--lands-editor-border);
  border-radius: 7px;
  background: var(--lands-editor-input-bg);
  color: var(--lands-editor-input-text);
  font: 400 13px/1.35 system-ui, sans-serif;
}

.ll-inspector-component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.ll-inspector-component-grid button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  min-height: var(--ll-editor-control-height);
  font-size: 12px;
}

.ll-inspector-component-grid button svg { flex: none; }
.ll-inspector-component-grid button:hover,
.ll-inspector-secondary:hover { background: var(--lands-editor-surface-strong); }
.ll-inspector-more > summary { min-height: 32px; }
.ll-inspector-more[open] > div,
.ll-inspector-model[open] > div { margin-top: 8px; }
.ll-inspector-model > div { display: grid; gap: 8px; }
.ll-inspector-model .section-template-select { margin: 0; }
.ll-inspector-secondary { min-height: var(--ll-editor-control-height); padding: 6px 8px; }

.ll-inspector-cta {
  min-width: 0;
  border: 1px solid var(--lands-editor-border-soft);
  border-radius: 8px;
  background: var(--lands-editor-panel-muted-bg);
}
.ll-inspector-cta > summary { min-height: var(--ll-editor-control-height); padding: 6px 9px; }
.ll-inspector-cta > summary span { flex: 1; overflow-wrap: anywhere; }
.ll-inspector-cta > summary > svg:first-child { color: var(--lands-editor-text-muted); transform: none; }
.ll-inspector-cta[open] { border-color: var(--lands-editor-border); }
.ll-inspector-cta-form { display: grid; gap: 10px; padding: 10px; border-top: 1px solid var(--lands-editor-border-soft); }
.ll-inspector-cta-form label {
  display: grid;
  gap: 5px;
  color: var(--lands-editor-text);
  font-size: 12px;
}
.ll-inspector-cta-form label:has(input[type="checkbox"]) { display: flex; align-items: center; }
.ll-inspector-cta-colors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ll-inspector-cta-form input[type="color"] { padding: 3px; }
.ll-inspector-cta-form [role="alert"] { color: #a32243; }
[data-editor-appearance="dark"] .ll-inspector-cta-form [role="alert"] { color: #ffa2b1; }
.ll-inspector-cta-apply {
  padding: 7px 9px;
  border: 1px solid #7044de;
  border-radius: 7px;
  background: #7044de;
  color: #fff;
  cursor: pointer;
  font: 650 12px/1.35 system-ui, sans-serif;
}

.ll-inspector-header { min-height: 58px; }
.ll-inspector-context { letter-spacing: .07em !important; }
.ll-inspector-body { scrollbar-width: thin; }
.ll-inspector-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ll-inspector-count {
  display: grid;
  min-width: 20px;
  min-height: 20px;
  place-items: center;
  border-radius: 6px;
  background: var(--lands-editor-surface-strong);
  color: var(--lands-editor-text-muted);
  font: 650 11px/1 system-ui, sans-serif;
}
.ll-inspector-cta-appearance { border-block: 1px solid var(--lands-editor-border-soft); padding: 6px 0; }
.ll-inspector-cta-appearance > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  list-style: none;
  cursor: pointer;
  color: var(--lands-editor-text);
  font: 650 12px/1.4 system-ui, sans-serif;
}
.ll-inspector-cta-appearance[open] > :not(summary) { margin-top: 8px; }
.ll-inspector-cta-appearance[open] > summary svg { transform: rotate(180deg); }
.ll-inspector-cta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ll-inspector-cta-actions button {
  box-sizing: border-box;
  min-height: var(--ll-editor-control-height);
  border-radius: 7px;
  font: 650 12px/1.35 system-ui, sans-serif;
}
.ll-inspector-cta-remove {
  padding: 6px 8px;
  border: 1px solid var(--lands-editor-border);
  background: transparent;
  color: var(--lands-editor-text-muted);
  cursor: pointer;
}
.ll-inspector-cta-remove:hover { color: var(--lands-editor-text); text-decoration: underline; }
[data-editor-side-panel] :is(label, .editor-panel-area-label) { color: var(--lands-editor-text); }
[data-editor-side-panel] :is(.section-template-select, .ll-inspector-identity) label {
  color: var(--lands-editor-text) !important;
  font: 650 12px/1.4 system-ui, sans-serif;
}
:is([data-editor-side-panel], .ll-original-inline-panel) :is(button, summary, select, input):focus-visible {
  outline: 2px solid #9474e7;
  outline-offset: 2px;
}
[data-editor-side-panel] :is(.ll-crafto-field, .ll-section-layout-controls) button,
[data-editor-side-panel] :is(.ll-crafto-tools, .ll-section-layout-controls) :is(select, input:not([type="checkbox"])) {
  box-sizing: border-box;
  min-height: var(--ll-editor-control-height);
}
[data-editor-side-panel] .ll-section-layout-controls {
  margin: 8px 0;
  padding: 10px;
  border-radius: 8px;
  background: var(--lands-editor-panel-muted-bg);
}
[data-editor-side-panel] .ll-section-layout-controls > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  font: 650 12px/1.4 system-ui, sans-serif;
}
[data-editor-side-panel] .ll-section-layout-controls > summary::before { content: "›"; color: var(--lands-editor-text-muted); font-size: 17px; }
[data-editor-side-panel] .ll-section-layout-controls[open] > summary::before { transform: rotate(90deg); }
[data-editor-side-panel] .ll-section-layout-controls > summary small { margin-left: auto; }
[data-editor-side-panel] .ll-section-layout-controls > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-editor-side-panel] .ll-section-layout-controls > div > :is(label:first-child, button, small) { grid-column: 1 / -1; }
[data-editor-side-panel] .ll-section-layout-controls :is(label, button) { font: 550 12px/1.4 system-ui, sans-serif; }

[data-editor-side-panel] .ll-inspector-header {
  box-sizing: border-box;
  min-height: 64px;
  padding: 12px 14px !important;
}
[data-editor-side-panel] .ll-inspector-header h2 { font-size: 17px !important; line-height: 1.25; }
[data-editor-side-panel] .editor-panel-area-label { display: none; }
[data-editor-side-panel] .ll-inspector-tabs {
  margin: 8px 12px;
  padding: 3px !important;
  border: 1px solid var(--lands-editor-border-soft);
  border-radius: 9px;
  background: var(--lands-editor-panel-muted-bg);
}
[data-editor-side-panel] .ll-inspector-tabs button { padding-inline: 4px !important; font: 650 12px/1.35 system-ui, sans-serif !important; }
[data-editor-side-panel] .ll-inspector-tabs button[aria-current="true"] {
  background: var(--lands-editor-surface-strong) !important;
  color: var(--lands-editor-text) !important;
}
[data-editor-side-panel] .ll-inspector-body { padding: 12px 14px 24px !important; }
[data-editor-side-panel] .ll-inspector-card { box-shadow: none; }
[data-editor-side-panel] .ll-inspector-cta { background: transparent; }
[data-editor-side-panel] .ll-inspector-schema-field {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 6px !important;
}
[data-editor-side-panel] .ll-inspector-schema-field > label {
  padding-top: 0 !important;
  color: var(--lands-editor-text) !important;
  font: 600 12px/1.4 system-ui, sans-serif !important;
  text-transform: none !important;
  white-space: normal !important;
}
[data-editor-side-panel] .ll-inspector-body :is(input:not([type="checkbox"],[type="radio"],[type="range"],[type="hidden"],[type="color"],[type="file"]), select, textarea) {
  box-sizing: border-box;
  min-height: var(--ll-editor-control-height);
  border-radius: 8px !important;
  font: 500 13px/1.4 system-ui, sans-serif !important;
}
[data-editor-side-panel] .ll-inspector-body button:not([aria-label]) {
  min-height: var(--ll-editor-control-height);
  border-radius: 8px !important;
}

@media (min-width: 980px) {
  [data-editor-appearance]:has([data-editor-side-panel][data-collapsed="false"])
    button[aria-label="Abrir formulário de contato"] {
    right: calc(var(--lands-inspector-width) + 18px) !important;
  }
}

@media (max-width: 979px) {
  [data-editor-appearance]:has([data-editor-side-panel][data-collapsed="false"])
    button[aria-label="Abrir formulário de contato"] {
    visibility: hidden;
  }
}

.ll-section-components {
  position: relative;
}
.ll-section-components[data-has-components]:not([data-device]) {
  container-type: inline-size;
}
.ll-section-components-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 12px;
}
.ll-section-components-menu {
  position: absolute;
  top: 48px;
  left: 12px;
  z-index: 34;
}
.ll-section-components-menu button,
.ll-section-component-tools button,
.ll-section-component-tools select,
.ll-section-component-tools summary,
.ll-section-component-tools input {
  padding: 6px 9px;
  border: 1px solid #7c6aa9;
  border-radius: 5px;
  color: #fff;
  background: #252039;
  font: 600 12px/1.4 system-ui, sans-serif;
}
.ll-section-components-menu button,
.ll-section-component-tools :is(button, summary) {
  min-height: 36px;
  border-radius: 8px;
}
.ll-section-components-insert-mode {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.ll-section-components-insert-mode button[aria-pressed="true"] {
  border-color: #a98cf2;
  background: #473471;
}
.ll-section-component-placement {
  position: absolute;
  inset: 0;
  z-index: 33;
  width: 100%;
  border: 2px dashed #9c77ff;
  background: rgb(35 22 67 / 12%);
  cursor: crosshair;
}
.ll-section-component-placement span {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90%;
  padding: 8px 12px;
  border-radius: 5px;
  color: #fff;
  background: #252039;
  font: 600 12px/1.4 system-ui, sans-serif;
  pointer-events: none;
}
.ll-section-components-options {
  display: grid;
  width: min(220px, calc(100vw - 44px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid #635584;
  border-radius: 10px;
  background: #1d172d;
  box-shadow: 0 10px 24px #0e0a1f55;
}
.ll-section-component {
  --component-render-x: var(--component-x, var(--component-x-desktop));
  --component-render-y: var(--component-y, var(--component-y-desktop));
  position: absolute;
  z-index: 4;
  width: max-content;
  max-width: 85%;
  left: var(--component-render-x);
  top: var(--component-render-y);
  transform: translate(calc(-1 * var(--component-render-x)), calc(-1 * var(--component-render-y)));
}
.ll-section-component[data-decoration]:not([data-editable]) { z-index: 2; pointer-events: none; }
.ll-section-component[data-inline] {
  position: relative;
  inset: auto;
  transform: none;
}
.ll-section-component[data-inline] .ll-section-component-tools { bottom: 100%; top: auto; }
.ll-section-component[data-selected] { z-index: 32; }
.ll-section-component-tools {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  width: max-content;
}
.ll-section-component-tools[data-tools-below] { top: 100%; bottom: auto; }
.ll-section-component-tools[data-tools-align="start"] { left: 0; transform: none; }
.ll-section-component-tools[data-tools-align="end"] { left: auto; right: 0; transform: none; }
.ll-section-component-appearance { position: relative; }
.ll-section-component-appearance summary { cursor: pointer; }
.ll-section-component-appearance > div {
  position: absolute;
  inset: 100% auto auto 0;
  display: grid;
  gap: 8px;
  width: min(190px, 60vw);
  max-height: 50vh;
  overflow: auto;
  padding: 10px;
  border-radius: 5px;
  color: #fff;
  background: #252039;
  box-shadow: 0 6px 16px #0005;
  font: 600 12px/1.4 system-ui, sans-serif;
}
.ll-section-component-tools[data-tools-align="end"] .ll-section-component-appearance > div { left: auto; right: 0; }
.ll-section-component-appearance label { display: grid; gap: 4px; }
.ll-section-component-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ll-section-component-appearance :is(input, select) { box-sizing: border-box; width: 100%; }
.ll-section-component-appearance input[type="color"] { height: 30px; padding: 2px 4px; }
.ll-section-component-drag { cursor: grab; touch-action: none; }
.ll-section-component-drag:active { cursor: grabbing; }
.ll-section-visual-effect {
  width: 112px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #9a67ff;
  background: radial-gradient(circle, currentColor 0%, transparent 68%);
}
.ll-section-visual-effect[data-visual-effect="rings"] {
  background: repeating-radial-gradient(circle, transparent 0 11%, currentColor 12% 14%, transparent 15% 18%);
  mask-image: radial-gradient(circle, #000 54%, transparent 71%);
}
.ll-section-visual-effect[data-visual-effect="blur"] {
  background: radial-gradient(ellipse at 39% 46%, currentColor 3%, transparent 65%);
  filter: blur(12px);
}
@container (max-width: 991px) {
  .ll-section-component {
    --component-render-x: var(--component-x, var(--component-x-tablet));
    --component-render-y: var(--component-y, var(--component-y-tablet));
  }
}
@container (max-width: 767px) {
  .ll-section-component {
    --component-render-x: var(--component-x, var(--component-x-mobile));
    --component-render-y: var(--component-y, var(--component-y-mobile));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ll-section-component-content[data-effect="fade"] { animation: ll-component-fade .45s ease both; }
  .ll-section-component-content[data-effect="float"] { animation: ll-component-float 3s ease-in-out infinite; }
  .ll-section-component-content[data-effect="lift"] { transition: transform .18s ease; }
  .ll-section-component-content[data-effect="lift"]:is(:hover, :focus-within) { transform: translateY(-5px); }
}
@keyframes ll-component-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ll-component-float { 50% { transform: translateY(-5px); } }

.ll-original-inline-panel {
  position: fixed;
  z-index: 2147483010;
  box-sizing: border-box;
  width: min(300px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--tool-border, #e0e2ee);
  border-radius: 12px;
  background: var(--tool-panel, #fff);
  color: var(--tool-text, #22273b);
  box-shadow: 0 8px 30px #10091f42;
  font: 13px/1.45 system-ui, sans-serif;
}

.ll-original-inline-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.ll-original-inline-panel-header strong { font: 700 14px/1.4 system-ui, sans-serif; }
.ll-original-inline-panel-header > button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--tool-border, #e0e2ee);
  border-radius: 8px;
  background: var(--tool-field, #f7f7fb);
  color: inherit;
  cursor: pointer;
}

.ll-original-inline-cta {
  width: min(340px, calc(100vw - 24px));
  --lands-editor-text: var(--tool-text, #22273b);
  --lands-editor-text-muted: var(--tool-muted, #555e76);
  --lands-editor-border: var(--tool-border, #e0e2ee);
  --lands-editor-border-soft: var(--tool-border, #e0e2ee);
  --lands-editor-input-bg: var(--tool-field, #f7f7fb);
  --lands-editor-input-text: var(--tool-text, #22273b);
}

.ll-original-inline-cta .ll-inspector-cta-form { padding: 10px 0 0; }

.ll-original-inline-media :is(.ll-original-media-controls, .ll-original-media-link, label) {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.ll-original-inline-media :is(.ll-original-media-controls button, input[type="url"], .ll-crafto-upload) {
  min-height: var(--ll-editor-control-height, 40px);
  padding: 6px 9px;
  border: 1px solid var(--tool-border, #e0e2ee);
  border-radius: 6px;
  background: var(--tool-field, #f7f7fb);
  color: inherit;
  font: inherit;
}

.ll-original-inline-media button { cursor: pointer; }
.ll-original-inline-media button:disabled { cursor: wait; opacity: .65; }
.ll-original-inline-media :is(button, input):focus-visible { outline: 2px solid #8052cc; outline-offset: 2px; }
.ll-original-inline-media :is(input[type="file"], input[type="url"]) { min-width: 0; width: 100%; color: inherit; }
.ll-original-inline-media .ll-original-media-preview { display: flex; align-items: center; gap: 8px; }
.ll-original-inline-media .ll-original-media-preview img { width: 52px; height: 44px; object-fit: contain; background: var(--tool-field, #f7f7fb); border-radius: 5px; }
.ll-original-inline-media [role="alert"] { color: #a0233c; margin: 0; }

:is(.ll-original-text-toolbar, .ll-original-inline-panel) {
  --tool-panel: #fff;
  --tool-field: #f7f7fb;
  --tool-border: #e0e2ee;
  --tool-text: #22273b;
  --tool-muted: #555e76;
  --tool-accent: #5837ac;
  --tool-selected: #ece6fb;
}

body:has([data-editor-appearance="dark"]) :is(.ll-original-text-toolbar, .ll-original-inline-panel) {
  --tool-panel: #1a2134;
  --tool-field: #242c41;
  --tool-border: #3b455e;
  --tool-text: #f3f5fc;
  --tool-muted: #b3bdd3;
  --tool-accent: #d0bfff;
  --tool-selected: #3a2c62;
}

.ll-original-text-toolbar {
  position: fixed;
  z-index: 10001;
  box-sizing: border-box;
  max-width: calc(100vw - 24px);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--tool-border);
  border-radius: 12px;
  background: var(--tool-panel);
  color: var(--tool-text);
  box-shadow: 0 12px 32px #0c122a38;
  font: 12px/1.4 system-ui, sans-serif;
}

.ll-original-text-toolbar * { box-sizing: border-box; }
.ll-original-toolbar-header,
.ll-original-text-toolbar-row,
.ll-original-format-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: end; }
.ll-original-toolbar-header { align-items: center; margin-bottom: 8px; }
.ll-original-toolbar-header strong { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.ll-original-toolbar-header strong svg { color: var(--tool-accent); }
.ll-original-toolbar-scope {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: end;
  gap: 6px;
  margin: 0;
  color: var(--tool-muted);
  font-size: 11px;
}

.ll-original-text-toolbar label { display: grid; gap: 4px; min-width: 0; color: var(--tool-muted); font: 600 11px/1.35 system-ui, sans-serif; }
.ll-original-text-toolbar :is(input, select, button) {
  height: 32px;
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid var(--tool-border);
  border-radius: 6px;
  background: var(--tool-field);
  color: var(--tool-text);
  font: 500 12px/1.4 system-ui, sans-serif;
}
.ll-original-text-toolbar button { cursor: pointer; }
.ll-original-text-toolbar button:hover,
.ll-original-text-toolbar button[aria-pressed="true"],
.ll-original-text-toolbar button[aria-expanded="true"] {
  background: var(--tool-selected);
  color: var(--tool-accent);
}
.ll-original-text-toolbar :is(button, input, select):focus-visible { outline: 2px solid var(--tool-accent); outline-offset: 2px; }
.ll-original-text-toolbar :is(.ll-original-toolbar-close, .ll-original-toolbar-scope button) { height: 25px; background: transparent; }
.ll-original-toolbar-close { display: grid; width: 26px; padding: 0 !important; place-items: center; }
.ll-original-font-label { flex: 1 1 120px; }
.ll-original-size-label { width: 60px; }
.ll-original-color-label { width: 32px; }
.ll-original-color-label input { width: 32px; padding: 3px; }
.ll-original-part-colors { display: flex; align-items: end; gap: 6px; flex: 0 0 auto; }
.ll-original-part-colors .ll-original-color-label { width: auto; min-width: 42px; }
.ll-original-format-actions { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--tool-border); }
.ll-original-format-actions > button { display: grid; width: 30px; height: 30px; padding: 3px; place-items: center; }
.ll-original-format-actions svg { width: 15px; height: 15px; }
.ll-original-box-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--tool-border);
}
.ll-original-box-controls p { grid-column: 1 / -1; margin: 0; }
.ll-original-box-controls p span { display: block; color: var(--tool-muted); font-size: 11px; }
.ll-original-box-controls :is(input, select) { width: 100%; }

@media (max-width: 480px) {
  .ll-original-text-toolbar { padding: 8px; }
  .ll-original-format-actions { gap: 4px; }
}

/* Responsive editor chrome only; section renderers and saved content stay unchanged. */
[data-editor-model-tools] > * { flex-shrink: 0; }
@media (max-width: 979px) {
  [data-editor-appearance] { height: 100dvh !important; }
  [data-editor-center] { padding: 4px 0 0 !important; }
  [data-editor-topbar] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box;
    max-width: 100%;
    flex-wrap: wrap !important;
    gap: 4px !important;
    padding: 4px !important;
  }
  [data-editor-topbar] [title="Mover barra"],
  [data-editor-topbar] [title="Minimizar barra"],
  [data-editor-topbar] [data-editor-brand] { display: none !important; }
  [data-editor-actions] {
    order: -1;
    width: 100%;
    min-width: 0 !important;
    flex-wrap: wrap;
    gap: 4px !important;
    justify-content: flex-start !important;
  }
  [data-editor-save-status] {
    margin-right: auto;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  [data-editor-actions] button { flex-shrink: 0; }
  [data-editor-tools] { width: 100%; flex: 0 0 100% !important; overflow-x: auto !important; }
  [data-editor-tools] > button, [data-editor-tools] nav, [data-editor-tools] nav button { flex-shrink: 0; }
  [data-editor-model-tools] { display: none !important; }
  [data-editor-tools-open="true"] [data-editor-model-tools] {
    display: flex !important;
    flex: 0 0 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    max-height: 30dvh;
    overflow: auto !important;
  }
  [data-editor-canvas-outer] { padding: 8px 8px 108px !important; justify-content: flex-start !important; }
  [data-editor-appearance] [data-editor-preview-mode="mobile"] { min-width: 0 !important; }
  [data-editor-appearance] [data-editor-preview-mode] { overflow-x: clip; }
  [data-editor-library][data-collapsed="true"],
  [data-editor-side-panel][data-collapsed="true"] { display: none !important; }
  [data-editor-library][data-collapsed="false"],
  [data-editor-side-panel][data-collapsed="false"] {
    position: fixed !important;
    inset: 8px 8px max(8px, env(safe-area-inset-bottom)) auto !important;
    width: min(360px, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box;
    border-radius: 14px !important;
    z-index: 1900 !important;
  }
  [data-editor-library][data-collapsed="false"] { left: 8px !important; right: auto !important; }
  .editor-panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1800;
    border: 0;
    background: rgba(0, 0, 0, .45);
  }
  [data-editor-side-panel] button[title="Fechar painel"],
  [data-editor-side-panel] button[title="Minimizar painel"] { min-width: 36px; min-height: 36px; }
  [data-canvas-toolbar] {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    top: auto !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    transform: none !important;
    width: auto !important;
    max-width: max-content;
    margin: 0 auto;
  }
  [data-canvas-toolbar] > div {
    display: flex !important;
    justify-content: flex-start;
    flex-wrap: nowrap;
    border-radius: 10px !important;
    gap: 2px !important;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }
  [data-canvas-toolbar] > div > div { display: contents !important; }
  [data-canvas-toolbar] button {
    flex: 0 0 var(--ll-editor-icon-size, 36px);
    width: var(--ll-editor-icon-size, 36px) !important;
    height: var(--ll-editor-icon-size, 36px) !important;
    min-height: var(--ll-editor-icon-size, 36px);
    padding: 0 !important;
    border-radius: 8px !important;
  }
  [data-editor-appearance] button[aria-label="Abrir formulário do WhatsApp"] {
    bottom: 120px !important;
    right: 20px !important;
    z-index: 100 !important;
  }
  [data-canvas-toolbar] button[title="Mover toolbar"],
  [data-canvas-toolbar] button[title="Arrastar toolbar"],
  [data-canvas-toolbar] > div > span { display: none !important; }
  [data-canvas-toolbar] [aria-label="Modo de visualizacao"] button span { display: none; }
}
.editor-coherence-error{position:fixed;right:20px;top:100px;z-index:12100;max-width:min(560px,90vw);max-height:70vh;overflow:auto;padding:16px;border:1px solid #f472b6;border-radius:10px;background:#101722;color:#fff;white-space:pre-line;font-size:13px;line-height:1.5}.editor-coherence-error button{display:block;margin-top:8px}

  @media(min-width:980px) {
    [data-editor-side-panel][data-collapsed="false"] { width:var(--lands-inspector-width,300px)!important; flex-basis:var(--lands-inspector-width,300px)!important; }
    [data-editor-topbar] { box-sizing:border-box; }
  }
  [data-editor-side-panel] [title="Minimizar painel"],[data-editor-side-panel] [title="Fechar painel"] { width:36px;height:36px; }
  [data-editor-side-panel] .section-template-select button { min-height:var(--ll-editor-control-height,40px); }
  