
.editor-block { max-width: 100%; min-width: 0; min-height: 28px; position: relative; border-radius: 4px; cursor: pointer; }
.editor-block:focus-visible { outline: 2px solid #087ff3; outline-offset: 2px; }
.editor-block.is-selected { outline: 2px dashed #087ff3; outline-offset: 2px; }
.editor-container { display: flex; flex-direction: column; border: 1px solid #7190ab; border-radius: inherit; }
.editor-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.28; min-height: 1.28em; }
.editor-image { display: block; width: 100%; max-width: 100%; height: auto; }
.editor-placeholder { display: block; padding: 8px; color: #173652; background: #ffffffcf; border: 1px dashed #7d9db9; border-radius: 3px; font-size: 13px; }
.editor-image-placeholder { padding-block: 22px; text-align: center; background: #edf4fb; }
.editor-site-button { display: inline-block; max-width: 100%; min-width: 1.5em; min-height: 1.5em; padding: 9px 22px; border-radius: 5px; font-weight: 650; overflow-wrap: anywhere; }
.editor-block-tools {
  z-index: 2; position: absolute; top: 3px; left: max(3px, calc(100% - 135px)); width: max-content; display: flex; padding: 3px;
  border: 1px solid #93a3b9; border-radius: 5px; background: #f6f8fc; color: #17212f;
}
@media (prefers-color-scheme: dark) {
  .editor-block-tools { background: #19212a; color: #f7f9fd; border-color: #536274; }
}
.editor-block-tools button { padding: 4px; cursor: pointer; }
.editor-block-tools button:disabled { opacity: .35; cursor: default; }
.editor-block-tools button:not(:disabled):hover { background: #2e8afe42; }
.editor-block-tools .editor-grip { cursor: grab; touch-action: none; user-select: none; }

#editor-canvas.is-moving :is(.editor-block-tools, .editor-resize) { visibility: hidden; }
.editor-block.is-drop-target { outline: 3px solid #0786f2; outline-offset: 1px; }
.editor-block.is-drop-target::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: #0786f220;
}
.editor-block-tools svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }

#drop-marker { position: fixed; z-index: 10; border: 2px solid #0786f2; border-radius: 3px; pointer-events: none; }
#drop-marker.is-invalid { border: 0; }
#drop-marker > span {
  display: block; position: absolute; left: 0; bottom: 100%; width: max-content; max-width: 285px; margin-bottom: 3px;
  padding: 4px 8px; border-radius: 4px; background: #075fae; color: #fff; font-size: 13px;
}
#drop-marker.is-invalid > span { background: #a6272b; }
#drop-marker[hidden] { display: none; }

.editor-container-grip { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 650; }
.editor-block-tools .editor-container-grip { background: #075fae; color: white; border-radius: 3px; }
.editor-resize {
  position: absolute; z-index: 5; width: 23px; height: 23px;
  touch-action: none; user-select: none; transform: translate(-50%, -50%);
}
.editor-resize::before {
  content: ""; position: absolute; inset: 6px;
  border: 2px solid #0869c7; border-radius: 2px; background: white;
  pointer-events: none;
}
.editor-resize:hover::before { background: #92d7ff;
}
.editor-resize-nw { left: 0; top: 0; cursor: nwse-resize; }
.editor-resize-n { left: 50%; top: 0; cursor: ns-resize; }
.editor-resize-ne { left: 100%; top: 0; cursor: nesw-resize; }
.editor-resize-w { left: 0; top: 50%; cursor: ew-resize; }
.editor-resize-e { left: 100%; top: 50%; cursor: ew-resize; }
.editor-resize-sw { left: 0; top: 100%; cursor: nesw-resize; }
.editor-resize-s { left: 50%; top: 100%; cursor: ns-resize; }
.editor-resize-se { left: 100%; top: 100%; cursor: nwse-resize; }

#editor-measurement {
  position: fixed; z-index: 9; padding: 7px 11px; border-radius: 5px;
  background: #075fae; color: #fff; font-size: 13px; font-weight: 650;
}

#editor-measurement { pointer-events: none; }
#drop-marker.is-caption { border: 0; }
#drop-marker.near-top > span { top: 100%; bottom: auto; margin-top: 4px; }
.website-presentation .editor-block { cursor: auto; }
.website-presentation .editor-container { border-color: transparent; }
.website-presentation [data-kind="Image"]:empty { display: none; }

.editor-image-surface { position: relative; container-type: inline-size; }
.editor-overlay-text {
  position: absolute; top: var(--overlay-y); left: var(--overlay-x);
  transform: translate(calc(-1 * var(--overlay-x)), calc(-1 * var(--overlay-y)));
  width: max-content; max-width: 100%; max-height: 100%; min-height: 0; z-index: 1;
  display: grid; grid-template-rows: minmax(0, 1fr);
}
.editor-overlay-text.is-selected { z-index: 3; }
.website-presentation .editor-overlay-text > .editor-text { overflow: hidden; }
.editor-overlay-text > .editor-text {
  padding: .22em .35em; border-radius: 4px;
  font-size: min(var(--overlay-font, 18px), 13cqw); min-height: 0; overflow: auto;
}
.editor-overlay-text > .editor-block-tools {
  top: auto; bottom: calc(100% + 5px); right: auto; left: 0; width: max-content; max-width: 255px;
}
.editor-block-tools .editor-overlay-grip {
  padding-inline: 5px; cursor: move; background: #075fae; color: #fff;
  border-radius: 3px; font-size: 11px; white-space: nowrap; touch-action: none;
}
[data-kind="Image"].is-selected > .editor-block-tools { z-index: 4; }

.editor-image-select {
  position: absolute; z-index: 4; bottom: 4px; right: 4px; padding: 3px 6px;
  color: #fff; background: #075fae; border-radius: 3px; font-size: 11px;
  cursor: pointer; opacity: 0;
}
.editor-image-surface:hover .editor-image-select,
.editor-image-select:focus-visible { opacity: 1; }
.editor-container-header {
  height: 30px; display: flex; align-items: center; gap: 6px; position: relative;
  padding-inline: 6px; border: 1px solid #7190ab; border-bottom: 0; border-radius: 4px 4px 0 0;
  background: #e5edf7; color: #173652;
}
.editor-container-title {
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer;
  padding: 3px 4px; font-size: 12px; font-weight: 650;
}
.editor-block.is-selected > .editor-container-header {
  background: #d5e9fb; border-color: #087ff3;
}
.editor-container-header > .editor-block-tools {
  position: relative; top: auto; left: auto; margin-left: auto; padding: 1px;
}
.editor-container-header > .editor-block-tools button { padding-block: 2px; }

/* The website is the containing block for its bases. A layer uses its parent's border box. */
#editor-canvas {
  position: relative; isolation: isolate; min-height: 100vh;
  background-position: center top; background-size: cover; background-repeat: no-repeat;
}

.editor-block:is([data-kind="Basis"], [data-kind="Container"]) {
  position: absolute; max-width: none; box-sizing: border-box;
}
.editor-container { height: 100%; min-height: 0; position: static; box-sizing: border-box; gap: 8px; }
.editor-container-header + .editor-container { border-radius: inherit; }
.editor-container-header {
  position: absolute; inset: 7px 12px auto; height: 28px; width: max-content; max-width: calc(100% - 24px);
  z-index: 2147483646; border: 1px solid #7190ab; border-radius: 4px;
}
.editor-container-title { flex-shrink: 0; }
.editor-container-header .editor-grip > span { display: none; }
.editor-container-header:has(.editor-grip) { max-width: none; }
.editor-block.is-drag-source, .editor-block.is-drag-source * { pointer-events: none; }
.editor-block.is-drag-source { opacity: .65; }
.editor-block.is-selected > .editor-resize { z-index: 2147483647; }
#drop-marker, #editor-measurement { z-index: 2147483647; }
.editor-container > .editor-block:not([data-kind="Basis"], [data-kind="Container"]) { flex: none; }
.editor-container > .editor-placeholder { overflow-wrap: anywhere; }
/* Reserve scrollbar space before fitting the desktop, so it cannot cause a second scrollbar. */
.desktop-design { scrollbar-gutter: stable; }
.desktop-design :is(.editor-resize-ne, .editor-resize-e, .editor-resize-se) {
  transform: translate(-100%, -50%);
}
.editor-container.proportional-height { border: 0; }
body:not(.website-presentation) .editor-container.proportional-height {
  outline: 1px solid #7190ab;
  outline-offset: -1px;
}
.editor-block.editor-free-item {
  position: absolute; max-width: none; width: max-content; min-height: 0;
}
body:not(.website-presentation) .editor-block.editor-free-item {
  cursor: grab; touch-action: none; user-select: none;
}
.editor-free-item > .editor-block-tools { top: calc(100% + 4px); left: 0; }
.editor-container.editor-header-viewport { border: 0; overflow: clip; }
body:not(.website-presentation) .editor-header-viewport { outline: 1px solid #7190ab; outline-offset: -1px; }
.editor-header-content { position: relative; display: flex; flex-direction: column; box-sizing: border-box; gap: 8px; }
.editor-header-background { background-repeat: no-repeat; background-size: cover; background-position: center; }
.site-nav { position: relative; display: flex; align-items: center; box-sizing: border-box; overflow: clip; }
.site-nav-row { display: flex; flex: none; width: max-content; margin: 0; padding: 0; list-style: none; }
.site-nav-row li { white-space: nowrap; }
.site-nav-row a, .site-nav-popup a { color: inherit; text-decoration: none; }
.site-nav-row a:hover, .site-nav-popup a:hover { text-decoration: underline; }
.site-nav-row.site-nav-measure { position: absolute; visibility: hidden; pointer-events: none; }
.site-nav-toggle {
  min-width: min(100%, var(--nav-hit-size, 36px)); min-height: var(--nav-hit-size, 36px);
  line-height: 1; border: 1px solid currentColor; border-radius: 4px; padding: 0;
  background: transparent; color: inherit; font: inherit; line-height: 1;
  font-size: max(1em, calc(var(--nav-hit-size, 36px) / 2)); cursor: pointer;
}
.site-nav-popup, .site-nav-notice {
  position: fixed; z-index: 2147483647; box-sizing: border-box; background: #fff; color: #17212f;
  border: 1px solid #7190ab; border-radius: 4px; max-width: calc(100vw - 12px);
}
.site-nav-popup { display: flex; flex-direction: column; width: max-content; min-width: min(160px, 100%); max-height: 70vh; overflow: auto; }
.site-nav-popup a { padding: 5px 8px; overflow-wrap: anywhere; }
.site-nav-notice { bottom: 12px; left: 12px; padding: 10px; font: 14px sans-serif; }
.shared-header-band, .page-main, .shared-footer-band {
  position: relative; isolation: isolate;
  background-position: center top; background-size: cover; background-repeat: no-repeat;
}

.studio-image-link { display: block; }
.studio-text-link, a.editor-site-button { color: inherit; text-decoration: none; }
body:not(.website-presentation) :is(.studio-text-link, a.editor-site-button) { pointer-events: none; }
.studio-text-link:focus-visible, a.editor-site-button:focus-visible { outline: 2px solid currentColor; }
.footer-menu-basis { height: auto !important; }
.footer-menu-basis > .editor-container { height: auto; }
.footer-menu.editor-free-item { position: relative; inset: auto; width: 100%; }
.site-footer-nav { box-sizing: border-box; display: flex; align-items: baseline; flex-wrap: wrap; }
.site-footer-nav :is(a, span) { color: inherit; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.site-footer-nav a:hover { text-decoration: underline; }

.page-main > .main-basis { inset-block: 0; height: auto !important; }

.site-nav:has(.site-nav-toggle:not([hidden])) { align-items: flex-start; }
.site-nav.site-nav-compact-edge { padding: 0 !important; }
.site-nav-toggle:not([hidden]) {
  width: var(--nav-hit-size, 36px); height: var(--nav-hit-size, 36px);
  min-width: 0; min-height: 0; box-sizing: border-box;
  font-size: calc(var(--nav-hit-size, 36px) / 2); overflow: clip;
}

.responsive-copy .editor-site-button {
  box-sizing: border-box; min-width: 0; padding-inline: 8px; white-space: normal;
}

.header-basis-outline > .editor-container { outline: 2px solid #dd3434; outline-offset: -2px; }
.footer-basis-outline > .editor-container { outline: 2px solid #1689f8; outline-offset: -2px; }
