:root {
  --site-background: #f5f1e8;
  --site-background-top: #fbf6ee;
  --site-surface: #fffaf2;
  --site-surface-strong: #ffffff;
  --site-text: #1c1917;
  --site-muted: #6b625c;
  --site-heading: #1c1917;
  --site-accent: #c9732f;
  --site-accent-hover: #8c4712;
  --site-accent-contrast: #ffffff;
  --site-link: #8c4712;
  --site-link-hover: #6d350d;
  --site-button-secondary-bg: #efe2d0;
  --site-button-secondary-text: #8c4712;
  --site-border: #e6dbc9;
  --site-shadow: 0 18px 60px rgba(28, 25, 23, 0.08);
  --site-menu-bg: rgba(251, 246, 238, 0.88);
  --site-menu-text: #1c1917;
  --site-menu-link: #1c1917;
  --site-menu-link-hover: #8c4712;
  --site-font-body: "Segoe UI", "Inter", sans-serif;
  --site-font-heading: "Segoe UI", "Inter", sans-serif;
  --site-heading-weight: 700;
  --site-container: 1120px;
  --site-narrow: 760px;
  --site-section-padding-top: 4.5rem;
  --site-section-padding-bottom: 1.8rem;
  --site-module-inline-padding: 2rem;
  --site-section-radius: 28px;
  --site-card-radius: 22px;
  --site-image-radius: 22px;
  --site-button-radius: 18px;
  --site-module-background: color-mix(in srgb, var(--site-surface) 88%, transparent);
  --site-module-border: var(--site-border);
  --site-module-border-width: 1px;
  --site-module-shadow: var(--site-shadow);
  --site-module-blur: 10px;
  --site-surface-soft-background: color-mix(in srgb, var(--site-surface-strong) 92%, transparent);
  --bg: var(--site-background);
  --surface: var(--site-surface);
  --surface-strong: var(--site-surface-strong);
  --text: var(--site-text);
  --muted: var(--site-muted);
  --heading: var(--site-heading);
  --accent: var(--site-accent);
  --accent-hover: var(--site-accent-hover);
  --accent-contrast: var(--site-accent-contrast);
  --link: var(--site-link);
  --link-hover: var(--site-link-hover);
  --accent-dark: var(--site-link);
  --button-secondary-bg: var(--site-button-secondary-bg);
  --button-secondary-text: var(--site-button-secondary-text);
  --border: var(--site-border);
  --shadow: var(--site-shadow);
  --menu-bg: var(--site-menu-bg);
  --menu-text: var(--site-menu-text);
  --menu-link: var(--site-menu-link);
  --menu-link-hover: var(--site-menu-link-hover);
  --radius: var(--site-section-radius);
  --container: var(--site-container);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--site-font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--accent) 18%, transparent), transparent 35%),
    linear-gradient(180deg, var(--site-background-top) 0%, var(--bg) 100%);
}

.superadmin-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 20, 32, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 -3px 0 #eab308;
}

.superadmin-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}

.superadmin-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.9rem;
}

.superadmin-bar-left strong {
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.superadmin-bar-left span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.superadmin-bar-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.superadmin-bar-nav a {
  color: rgba(241, 245, 249, 0.94);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.superadmin-bar-nav a:hover {
  color: #ffffff;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  font-family: var(--site-font-heading);
  font-weight: var(--site-heading-weight);
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link-hover);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), var(--site-narrow));
}

.landing-shell,
.site-main {
  padding-bottom: 4rem;
}

.landing-hero,
.module,
.status-page {
  padding: var(--site-section-padding-top) 0 var(--site-section-padding-bottom);
}

.module,
.landing-hero,
.status-page {
  scroll-margin-top: 112px;
}

.landing-hero,
.card,
.module,
.site-header {
  backdrop-filter: blur(var(--site-module-blur));
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
}

.landing-hero,
.card,
.module,
.status-page {
  width: min(calc(100% - 2rem), var(--container));
  margin: 1rem auto 0;
  background: var(--site-module-background);
  border: var(--site-module-border-width) solid var(--site-module-border);
  border-radius: var(--site-section-radius);
  box-shadow: var(--site-module-shadow);
  padding-inline: var(--site-module-inline-padding);
}

.site-main > .module:first-child,
.site-main > .editor-preview-module-shell:first-child .module {
  margin-top: 0;
  padding-top: 0;
}

.module:target {
  border-color: rgba(201, 115, 47, 0.42);
  box-shadow:
    0 0 0 3px rgba(201, 115, 47, 0.14),
    var(--shadow);
}

.editor-preview-module-shell {
  position: relative;
}

.editor-preview-module-shell.is-editor-hidden {
  isolation: isolate;
}

.editor-preview-module-shell.is-editor-hidden > .module {
  opacity: 0.52;
  filter: blur(1.5px) saturate(0.82);
}

.editor-preview-module-shell.is-editor-hidden::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(176, 133, 86, 0.8);
  background: rgba(255, 247, 237, 0.18);
  pointer-events: none;
  z-index: 2;
}

.editor-preview-hidden-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
  pointer-events: none;
  z-index: 3;
}

.editor-preview-hidden-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(144, 98, 49, 0.22);
  background: rgba(255, 247, 237, 0.92);
  color: #8a5a21;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(120, 84, 47, 0.12);
}

.landing-actions,
.highlight-grid,
.gallery-grid,
.contact-list,
.site-nav,
.landing-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.landing-grid {
  width: min(calc(100% - 2rem), var(--container));
  margin: 1rem auto 0;
}

.card {
  flex: 1 1 260px;
  padding-block: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.1rem;
  border-radius: var(--site-button-radius);
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
  color: var(--accent-contrast);
}

.button-secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}

.admin-body-editor .button {
  background: #2563eb;
  color: #fff;
}

.admin-body-editor .button-secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--menu-bg);
  border-bottom: 1px solid var(--border);
}

.site-draft-banner {
  position: relative;
  z-index: 11;
  background: #facc15;
  color: #5b3b00;
  border-bottom: 1px solid rgba(120, 84, 0, 0.18);
  box-shadow: 0 8px 20px rgba(133, 77, 14, 0.12);
}

.site-draft-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding-block: 0.6rem;
}

.site-draft-banner-label {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-draft-banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #5b3b00;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(133, 77, 14, 0.14);
}

.site-draft-banner-link:hover {
  color: #4a2f00;
  background: rgba(255, 255, 255, 0.92);
}

.has-superadmin-bar .site-header {
  top: 42px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--menu-text);
}

.brand.is-logo-only {
  gap: 0;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 168px;
  max-height: 52px;
}

.brand-name {
  display: inline-block;
}

.brand-size-small .brand-logo {
  max-width: 118px;
  max-height: 38px;
}

.brand-size-normal .brand-logo {
  max-width: 168px;
  max-height: 52px;
}

.brand-size-large .brand-logo {
  max-width: 220px;
  max-height: 68px;
}

.brand-spacing-compact {
  gap: 0.45rem;
}

.brand-spacing-normal {
  gap: 0.75rem;
}

.brand-spacing-airy {
  gap: 1rem;
}

.site-nav a {
  color: var(--menu-link);
}

.site-nav a:hover {
  color: var(--menu-link-hover);
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--site-button-radius);
  background: var(--site-surface-soft-background);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.site-nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.module h1,
.landing-hero h1 {
  margin-top: 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
}

.module h2,
.card h2 {
  margin-top: 0;
}

.highlight-card {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--site-card-radius);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.contact-list {
  padding: 0;
  list-style: none;
}

.module-button .container,
.module-title .container,
.module-text .container,
.module-image .container,
.module-card .container,
.module-spacing .container {
  display: grid;
  gap: 1rem;
}

.module-title-inner {
  min-height: clamp(7rem, 16vw, 11rem);
  display: flex;
  flex-direction: column;
  width: min(100%, 48rem);
}

.module-title.module-title-spacing-compact {
  padding-top: 0.7rem;
  padding-bottom: 0.55rem;
}

.module-title.module-title-spacing-compact .module-title-inner {
  min-height: clamp(2.2rem, 5vw, 3.8rem);
}

.module-title.module-title-spacing-normal {
  padding-top: 2.6rem;
  padding-bottom: 1.4rem;
}

.module-title.module-title-spacing-normal .module-title-inner {
  min-height: clamp(7rem, 16vw, 11rem);
}

.module-title.module-title-spacing-airy {
  padding-top: 4.5rem;
  padding-bottom: 1.8rem;
}

.module-title.module-title-spacing-airy .module-title-inner {
  min-height: clamp(10rem, 22vw, 16rem);
}

.module-title-inner h2 {
  margin: 0;
  width: 100%;
}

.module-title-align-left {
  justify-self: start;
  align-items: flex-start;
  text-align: left;
}

.module-title-align-center {
  justify-self: center;
  align-items: center;
  text-align: center;
}

.module-title-align-right {
  justify-self: end;
  align-items: flex-end;
  text-align: right;
}

.module-title-valign-top {
  justify-content: flex-start;
}

.module-title-valign-middle {
  justify-content: center;
}

.module-title-valign-bottom {
  justify-content: flex-end;
}

.module-title-width-narrow {
  width: min(100%, 34rem);
}

.module-title-width-normal {
  width: min(100%, 48rem);
}

.module-title-width-wide {
  width: min(100%, 64rem);
}

.module-title-size-small h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
}

.module-title-size-medium h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.module-title-size-large h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
}

.module-title-size-xlarge h2 {
  font-size: clamp(3.8rem, 6.5vw, 5.8rem);
}

.module-title-tracking-tight h2 {
  letter-spacing: -0.03em;
}

.module-title-tracking-normal h2 {
  letter-spacing: 0;
}

.module-title-tracking-airy h2 {
  letter-spacing: 0.04em;
}

.module-text.module-text-spacing-compact {
  padding-top: 1rem;
  padding-bottom: 0.8rem;
}

.module-text.module-text-spacing-normal {
  padding-top: 2rem;
  padding-bottom: 1.2rem;
}

.module-text.module-text-spacing-airy {
  padding-top: 3.2rem;
  padding-bottom: 1.8rem;
}

.module-text-inner {
  width: min(100%, 42rem);
}

.module-text-inner p {
  margin: 0;
}

.module-text-align-left {
  justify-self: start;
  text-align: left;
}

.module-text-align-center {
  justify-self: center;
  text-align: center;
}

.module-text-align-right {
  justify-self: end;
  text-align: right;
}

.module-text-width-narrow {
  width: min(100%, 32rem);
}

.module-text-width-normal {
  width: min(100%, 42rem);
}

.module-text-width-wide {
  width: min(100%, 56rem);
}

.module-text-size-small p {
  font-size: 0.92rem;
  line-height: 1.72;
}

.module-text-size-normal p {
  font-size: 1.12rem;
  line-height: 1.72;
}

.module-text-size-large p {
  font-size: 1.38rem;
  line-height: 1.72;
}

.module-button.module-button-spacing-compact {
  padding-top: 0.9rem;
  padding-bottom: 0.75rem;
}

.module-button.module-button-spacing-normal {
  padding-top: 1.6rem;
  padding-bottom: 1rem;
}

.module-button.module-button-spacing-airy {
  padding-top: 2.6rem;
  padding-bottom: 1.5rem;
}

.module-button-inner {
  display: grid;
}

.module-button-align-left {
  justify-items: start;
}

.module-button-align-center {
  justify-items: center;
}

.module-button-align-right {
  justify-items: end;
}

.module-button-element.module-button-size-small {
  min-height: 40px;
  padding-inline: 0.9rem;
  font-size: 0.92rem;
}

.module-button-element.module-button-size-normal {
  min-height: 46px;
  padding-inline: 1.1rem;
  font-size: 1rem;
}

.module-button-element.module-button-size-large {
  min-height: 54px;
  padding-inline: 1.35rem;
  font-size: 1.08rem;
}

.module-button-element.module-button-press-on {
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    filter 140ms ease,
    background 140ms ease;
}

.module-button-element.module-button-press-on:hover {
  filter: brightness(1.04);
}

.module-button-element.module-button-press-on:active {
  transform: translateY(2px) scale(0.992);
  filter: brightness(0.94) saturate(0.98);
  box-shadow:
    inset 0 3px 8px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.module-spacing {
  margin-top: 0;
  padding-block: 0;
  padding-inline: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.module-spacing .container {
  gap: 0;
}

.module-spacing-block {
  width: 100%;
  min-height: 8px;
  background: transparent;
}

.module-spacing.is-editor-preview .module-spacing-block {
  border: 1px dashed color-mix(in srgb, var(--site-border) 92%, transparent);
  border-radius: max(12px, calc(var(--site-card-radius) * 0.8));
  background: color-mix(in srgb, var(--site-surface-soft-background) 74%, transparent);
}

.module-image.module-image-spacing-compact {
  padding-top: 1rem;
  padding-bottom: 0.8rem;
}

.module-image.module-image-spacing-normal {
  padding-top: 2rem;
  padding-bottom: 1.2rem;
}

.module-image.module-image-spacing-airy {
  padding-top: 3rem;
  padding-bottom: 1.8rem;
}

.module-image-inner {
  display: grid;
}

.module-image-align-left {
  justify-items: start;
}

.module-image-align-center {
  justify-items: center;
}

.module-image-align-right {
  justify-items: end;
}

.module-image-width-narrow {
  width: min(100%, 28rem);
}

.module-image-width-normal {
  width: min(100%, 44rem);
}

.module-image-width-wide {
  width: min(100%, 64rem);
}

.module-image-width-full {
  width: 100%;
}

.module-image-figure {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.module-image-figure img {
  width: 100%;
  border-radius: var(--site-image-radius);
  border: 1px solid var(--border);
  object-fit: cover;
}

.module-image-height-natural img {
  height: auto;
  aspect-ratio: auto;
}

.module-image-height-low img {
  height: clamp(13rem, 26vw, 18rem);
}

.module-image-height-medium img {
  height: clamp(18rem, 36vw, 26rem);
}

.module-image-height-high img {
  height: clamp(24rem, 48vw, 34rem);
}

.module-image-figure figcaption {
  color: var(--muted);
}

.module-image-placeholder,
.content-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--site-card-radius);
  background: var(--site-surface-soft-background);
}

.module-image-placeholder p,
.content-card p {
  margin: 0;
}

.module-gallery.module-gallery-spacing-compact {
  padding-top: 0.8rem;
  padding-bottom: 0.7rem;
}

.module-gallery.module-gallery-spacing-normal {
  padding-top: 1.7rem;
  padding-bottom: 1.1rem;
}

.module-gallery.module-gallery-spacing-airy {
  padding-top: 2.8rem;
  padding-bottom: 1.6rem;
}

.module-gallery-inner {
  display: block;
}

.module-gallery-align-left {
  margin-right: auto;
  margin-left: 0;
}

.module-gallery-align-center {
  margin-right: auto;
  margin-left: auto;
}

.module-gallery-align-right {
  margin-left: auto;
  margin-right: 0;
}

.module-gallery-width-normal {
  width: min(100%, 52rem);
}

.module-gallery-width-wide {
  width: min(100%, 72rem);
}

.module-gallery-width-full {
  width: 100%;
}

.module-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.module-gallery-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.module-gallery-count-2,
.module-gallery-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-gallery-style-natural.module-gallery-count-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-gallery-style-natural {
  grid-auto-rows: auto;
}

.module-gallery-style-square {
  grid-auto-rows: 1fr;
}

.module-gallery-style-collage {
  grid-auto-flow: dense;
}

.module-gallery-style-collage.module-gallery-count-3 {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-auto-rows: minmax(8rem, 1fr);
}

.module-gallery-style-masonry {
  display: block;
  column-count: 3;
  column-gap: 1rem;
}

.module-gallery-item {
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--site-image-radius);
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  box-shadow: var(--site-module-shadow);
}

.module-gallery-item img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.module-gallery-style-natural .module-gallery-item img {
  height: auto;
  aspect-ratio: auto;
}

.module-gallery-style-square .module-gallery-item img {
  aspect-ratio: 1 / 1;
}

.module-gallery-style-collage .module-gallery-item img {
  aspect-ratio: 4 / 3;
}

.module-gallery-style-collage .module-gallery-item:nth-child(5n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.module-gallery-style-collage .module-gallery-item:nth-child(5n + 1) img {
  aspect-ratio: 1 / 1;
  height: 100%;
}

.module-gallery-style-collage .module-gallery-item:nth-child(5n + 4) img,
.module-gallery-style-collage .module-gallery-item:nth-child(5n + 5) img {
  aspect-ratio: 3 / 4;
}

.module-gallery-style-collage.module-gallery-count-3 .module-gallery-item:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.module-gallery-style-collage.module-gallery-count-3 .module-gallery-item:first-child img {
  aspect-ratio: auto;
}

.module-gallery-style-collage.module-gallery-count-3 .module-gallery-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.module-gallery-style-collage.module-gallery-count-3 .module-gallery-item:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.module-gallery-style-masonry .module-gallery-item {
  width: 100%;
  margin: 0 0 1rem;
  break-inside: avoid;
}

.module-gallery-style-masonry .module-gallery-item img {
  height: auto;
  aspect-ratio: auto;
}

.module-gallery-item:hover img {
  transform: scale(1.02);
  filter: brightness(1.03);
}

.module-gallery-item.is-wide-last {
  grid-column: span 2;
}

.module-gallery-style-collage .module-gallery-item.is-wide-last {
  grid-column: auto;
}

.module-gallery-style-square .module-gallery-item.is-wide-last,
.module-gallery-style-masonry .module-gallery-item.is-wide-last {
  grid-column: auto;
}

.module-gallery-placeholder {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px dashed color-mix(in srgb, var(--site-border) 88%, transparent);
  border-radius: var(--site-card-radius);
  background: color-mix(in srgb, var(--site-surface-soft-background) 72%, transparent);
}

.module-gallery-placeholder p {
  margin: 0;
}

.has-site-lightbox {
  overflow: hidden;
}

.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.site-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(4px);
}

.site-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 2rem), 1080px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 0;
}

.site-lightbox-figure {
  margin: 0;
}

.site-lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 4rem);
  object-fit: contain;
  border-radius: max(16px, var(--site-image-radius));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.site-lightbox-close,
.site-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #19202b;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.site-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 0;
  z-index: 2;
  font-size: 1.9rem;
  line-height: 1;
}

.site-lightbox-nav {
  font-size: 2rem;
  line-height: 1;
}

.site-lightbox-nav:disabled {
  opacity: 0.5;
  cursor: default;
}

.module-text-image.module-text-image-spacing-compact {
  padding-top: 1rem;
  padding-bottom: 0.8rem;
}

.module-text-image.module-text-image-spacing-normal {
  padding-top: 2rem;
  padding-bottom: 1.2rem;
}

.module-text-image.module-text-image-spacing-airy {
  padding-top: 3rem;
  padding-bottom: 1.8rem;
}

.module-text-image-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.92fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.module-text-image-media-left {
  grid-template-areas: "media copy";
}

.module-text-image-media-right {
  grid-template-areas: "copy media";
}

.module-text-image-valign-top {
  align-items: start;
}

.module-text-image-valign-middle {
  align-items: center;
}

.module-text-image-valign-bottom {
  align-items: end;
}

.module-text-image-copy {
  grid-area: copy;
  display: grid;
  gap: 0.9rem;
}

.module-text-image-copy h2,
.module-text-image-copy p {
  margin: 0;
}

.module-text-image-button {
  margin-top: 0.15rem;
  justify-self: start;
}

.module-text-image-button.is-hidden {
  display: none;
}

.module-text-image-copy-narrow {
  width: min(100%, 26rem);
}

.module-text-image-copy-normal {
  width: min(100%, 34rem);
}

.module-text-image-copy-wide {
  width: min(100%, 42rem);
}

.module-text-image-media-shell {
  grid-area: media;
  width: 100%;
}

.module-text-image-media-width-small {
  width: min(100%, 18rem);
}

.module-text-image-media-width-normal {
  width: min(100%, 24rem);
}

.module-text-image-media-width-large {
  width: min(100%, 32rem);
}

.module-text-image-figure,
.module-text-image-placeholder {
  margin: 0;
}

.module-text-image-media {
  width: 100%;
  display: block;
  border-radius: var(--site-image-radius);
  border: 1px solid var(--border);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.module-text-image-placeholder {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--site-card-radius);
  background: var(--site-surface-soft-background);
}

.module-text-image-placeholder p {
  margin: 0;
}

.module-hero {
  padding-inline: 0;
  overflow: hidden;
}

.module-hero.module-hero-spacing-compact {
  padding-top: 0;
  padding-bottom: 0.7rem;
}

.module-hero.module-hero-spacing-normal {
  padding-top: 2rem;
  padding-bottom: 1.3rem;
}

.module-hero.module-hero-spacing-airy {
  padding-top: 3.2rem;
  padding-bottom: 1.9rem;
}

.module-hero-surface {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: stretch;
  min-height: 24rem;
  border-radius: inherit;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(49, 115, 255, 0.26), rgba(18, 43, 82, 0.6)),
    linear-gradient(180deg, rgba(33, 53, 84, 0.7), rgba(18, 29, 44, 0.84));
}

.module-hero-height-medium {
  min-height: clamp(22rem, 46vw, 32rem);
}

.module-hero-height-tall {
  min-height: clamp(28rem, 58vw, 40rem);
}

.module-hero-height-screen {
  min-height: min(78vh, 52rem);
}

.module-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 22, 36, 0.16), rgba(11, 19, 31, 0.52));
}

.module-hero-overlay-soft .module-hero-overlay {
  background: linear-gradient(180deg, rgba(13, 22, 36, 0.08), rgba(11, 19, 31, 0.36));
}

.module-hero-overlay-normal .module-hero-overlay {
  background: linear-gradient(180deg, rgba(13, 22, 36, 0.16), rgba(11, 19, 31, 0.52));
}

.module-hero-overlay-strong .module-hero-overlay {
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.28), rgba(10, 18, 30, 0.68));
}

.module-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
}

.module-hero-inner {
  display: grid;
  min-height: inherit;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.4rem, 4vw, 3rem);
}

.module-hero-valign-top {
  align-items: start;
}

.module-hero-valign-middle {
  align-items: center;
}

.module-hero-valign-bottom {
  align-items: end;
}

.module-hero-align-left {
  justify-items: start;
  text-align: left;
}

.module-hero-align-center {
  justify-items: center;
  text-align: center;
}

.module-hero-align-right {
  justify-items: end;
  text-align: right;
}

.module-hero-copy {
  width: min(100%, 42rem);
  display: grid;
  gap: 1rem;
  color: #ffffff;
}

.module-hero-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.module-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.02rem, 2vw, 1.34rem);
  line-height: 1.65;
}

.module-hero-button {
  margin-top: 0.2rem;
}

.module-hero-button.is-hidden {
  display: none;
}

.module-hero-align-left .module-hero-button {
  justify-self: start;
}

.module-hero-align-center .module-hero-button {
  justify-self: center;
}

.module-hero-align-right .module-hero-button {
  justify-self: end;
}

.module-card.module-card-spacing-compact {
  padding-top: 1rem;
  padding-bottom: 0.8rem;
}

.module-card.module-card-spacing-normal {
  padding-top: 2rem;
  padding-bottom: 1.2rem;
}

.module-card.module-card-spacing-airy {
  padding-top: 3rem;
  padding-bottom: 1.8rem;
}

.module-card-inner {
  width: min(100%, 42rem);
}

.module-card-align-left {
  justify-self: start;
  text-align: left;
}

.module-card-align-center {
  justify-self: center;
  text-align: center;
}

.module-card-align-right {
  justify-self: end;
  text-align: right;
}

.module-card-width-narrow {
  width: min(100%, 28rem);
}

.module-card-width-normal {
  width: min(100%, 42rem);
}

.module-card-width-wide {
  width: min(100%, 56rem);
}

.map-frame {
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.map-frame iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
}

.muted,
code,
.status-page p {
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-draft-banner-inner {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }

  .has-superadmin-bar .site-header {
    top: 48px;
  }

  .superadmin-bar-inner {
    min-height: 48px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding-block: 0.5rem;
  }

  .superadmin-bar-left,
  .superadmin-bar-nav {
    width: 100%;
  }

  .site-header .container {
    align-items: center;
    padding-block: 1rem;
    flex-wrap: wrap;
  }

  .landing-hero,
  .card,
  .module,
  .status-page {
    padding-inline: 1.25rem;
  }

  .module-title.module-title-spacing-compact {
    padding-top: 0.45rem;
    padding-bottom: 0.4rem;
  }

  .module-title.module-title-spacing-compact .module-title-inner {
    min-height: clamp(1.8rem, 7vw, 2.8rem);
  }

  .module-title.module-title-spacing-normal {
    padding-top: 1.35rem;
    padding-bottom: 0.8rem;
  }

  .module-title.module-title-spacing-normal .module-title-inner {
    min-height: clamp(4.4rem, 18vw, 6.4rem);
  }

  .module-title.module-title-spacing-airy {
    padding-top: 2.15rem;
    padding-bottom: 1.1rem;
  }

  .module-title.module-title-spacing-airy .module-title-inner {
    min-height: clamp(6rem, 24vw, 8.8rem);
  }

  .module-title-width-narrow,
  .module-title-width-normal,
  .module-title-width-wide,
  .module-text-width-narrow,
  .module-text-width-normal,
  .module-text-width-wide,
  .module-card-width-narrow,
  .module-card-width-normal,
  .module-card-width-wide,
  .module-text-image-copy-narrow,
  .module-text-image-copy-normal,
  .module-text-image-copy-wide,
  .module-gallery-width-normal,
  .module-gallery-width-wide,
  .module-gallery-width-full,
  .module-image-width-narrow,
  .module-image-width-normal,
  .module-image-width-wide {
    width: 100%;
  }

  .module-text.module-text-spacing-compact,
  .module-button.module-button-spacing-compact,
  .module-image.module-image-spacing-compact,
  .module-card.module-card-spacing-compact {
    padding-top: 0.7rem;
    padding-bottom: 0.55rem;
  }

  .module-text.module-text-spacing-normal,
  .module-button.module-button-spacing-normal,
  .module-image.module-image-spacing-normal,
  .module-card.module-card-spacing-normal {
    padding-top: 1.2rem;
    padding-bottom: 0.85rem;
  }

  .module-text.module-text-spacing-airy,
  .module-button.module-button-spacing-airy,
  .module-image.module-image-spacing-airy,
  .module-card.module-card-spacing-airy,
  .module-text-image.module-text-image-spacing-airy {
    padding-top: 1.8rem;
    padding-bottom: 1.1rem;
  }

  .module-text-image.module-text-image-spacing-compact {
    padding-top: 0.7rem;
    padding-bottom: 0.55rem;
  }

  .module-text-image.module-text-image-spacing-normal {
    padding-top: 1.2rem;
    padding-bottom: 0.85rem;
  }

  .module-text-image-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .module-text-image-media-left,
  .module-text-image-media-right {
    grid-template-areas:
      "media"
      "copy";
  }

  .module-text-image-media-width-small,
  .module-text-image-media-width-normal,
  .module-text-image-media-width-large {
    width: 100%;
  }

  .module-text-image-media {
    aspect-ratio: 16 / 11;
  }

  .module-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .module-gallery-item.is-wide-last {
    grid-column: auto;
  }

  .module-gallery-style-collage .module-gallery-item:nth-child(5n + 1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .module-gallery-style-collage .module-gallery-item:nth-child(5n + 4) img,
  .module-gallery-style-collage .module-gallery-item:nth-child(5n + 5) img {
    aspect-ratio: 4 / 3;
  }

  .module-gallery-style-collage.module-gallery-count-3 {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .module-gallery-style-masonry {
    column-count: 2;
  }

  .module-spacing-block {
    min-height: 6px;
  }

  .module-spacing.module-spacing-compact [data-preview-spacing-block],
  .module-spacing.module-spacing-compact .module-spacing-block {
    height: 24px !important;
  }

  .module-spacing.module-spacing-normal [data-preview-spacing-block],
  .module-spacing.module-spacing-normal .module-spacing-block {
    height: 48px !important;
  }

  .module-spacing.module-spacing-airy [data-preview-spacing-block],
  .module-spacing.module-spacing-airy .module-spacing-block {
    height: 80px !important;
  }

  .module-image-height-low img {
    height: clamp(10rem, 38vw, 14rem);
  }

  .module-image-height-medium img {
    height: clamp(13rem, 48vw, 18rem);
  }

  .module-image-height-high img {
    height: clamp(16rem, 58vw, 22rem);
  }

  .module-hero.module-hero-spacing-compact {
    padding-top: 0;
    padding-bottom: 0.45rem;
  }

  .module-hero.module-hero-spacing-normal {
    padding-top: 1rem;
    padding-bottom: 0.8rem;
  }

  .module-hero.module-hero-spacing-airy {
    padding-top: 1.7rem;
    padding-bottom: 1rem;
  }

  .module-hero-height-medium {
    min-height: clamp(18rem, 78vw, 24rem);
  }

  .module-hero-height-tall {
    min-height: clamp(22rem, 96vw, 30rem);
  }

  .module-hero-height-screen {
    min-height: min(64vh, 34rem);
  }

  .module-hero-inner {
    padding: 1.35rem 1rem;
  }

  .module-hero-copy {
    width: 100%;
    gap: 0.8rem;
  }

  .module-hero-copy h2 {
    font-size: clamp(1.9rem, 9vw, 3rem);
    line-height: 1.02;
  }

  .module-hero-copy p {
    font-size: clamp(0.98rem, 4.2vw, 1.12rem);
    line-height: 1.55;
  }

  .site-lightbox-dialog {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.8rem;
    width: min(calc(100% - 1rem), 1000px);
    padding: 4.25rem 0 1rem;
  }

  .site-lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .site-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-lightbox-nav.is-prev {
    left: 0.5rem;
  }

  .site-lightbox-nav.is-next {
    right: 0.5rem;
  }

  .site-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 0 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(230, 219, 201, 0.8);
  }
}

@media (max-width: 560px) {
  .module-gallery-grid {
    grid-template-columns: 1fr;
  }

  .module-gallery-style-collage .module-gallery-item:nth-child(5n + 1) {
    grid-column: auto;
  }

  .module-gallery-style-collage.module-gallery-count-3 {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .module-gallery-style-collage.module-gallery-count-3 .module-gallery-item:first-child,
  .module-gallery-style-collage.module-gallery-count-3 .module-gallery-item:nth-child(2),
  .module-gallery-style-collage.module-gallery-count-3 .module-gallery-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .module-gallery-style-masonry {
    column-count: 1;
  }
}

.admin-body {
  background: linear-gradient(180deg, #f2efe8 0%, #e9e1d5 100%);
}

.admin-body-editor {
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(15, 23, 42, 0.06), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  color: #16202b;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.admin-shell {
  width: min(calc(100% - 2rem), 1200px);
  margin: 0 auto;
}

.admin-shell-wide {
  width: min(calc(100% - 1rem), 1880px);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(28, 25, 23, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-body-editor .admin-header {
  background: rgba(15, 23, 42, 0.96);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

.admin-header .brand,
.admin-header .site-nav a {
  color: #f7efe1;
}

.admin-body-editor .admin-header .brand,
.admin-body-editor .admin-header .site-nav a {
  color: #f8fafc;
}

.admin-header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-main {
  padding: 2rem 0 4rem;
}

.admin-body-editor .admin-main {
  height: calc(100vh - 72px);
  padding: 0.75rem 0;
  overflow: hidden;
}

.admin-body-editor .site-nav {
  display: none;
}

.admin-body-editor .admin-header-row {
  justify-content: flex-start;
}

.admin-card {
  background: rgba(255, 250, 242, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-card-header h1,
.admin-card-header h2,
.admin-module-head h3 {
  margin: 0;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.admin-form-grid,
.admin-module-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-form-grid label,
.admin-module-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.admin-inline-form input,
.admin-inline-form select,
.admin-module-form input,
.admin-module-form select,
.admin-module-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d8cbb7;
  border-radius: 12px;
  background: white;
  font: inherit;
}

.admin-form-grid textarea,
.admin-module-form textarea {
  min-height: 180px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.admin-stack {
  display: grid;
  gap: 1rem;
}

.top-space {
  margin-top: 1rem;
}

.admin-inline-form,
.admin-module-form {
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.admin-inline-form {
  display: grid;
  grid-template-columns: 2fr 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
}

.admin-check input {
  width: auto;
  min-height: auto;
}

.admin-module-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  grid-column: 1 / -1;
}

.admin-advanced summary {
  cursor: pointer;
  font-weight: 700;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #f1e3d1;
  color: #7a4a21;
  font-size: 0.9rem;
}

.admin-pill-live {
  background: #dff6e6;
  color: #166534;
}

.editor-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0.75rem;
  height: 100%;
  min-height: 0;
}

.editor-shell-two-col.is-expanded {
  grid-template-columns: 380px minmax(0, 1fr);
}

.editor-shell-app.is-tool-open {
  grid-template-columns: 460px minmax(0, 1fr);
}

.editor-panel {
  min-height: 0;
  height: 100%;
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-body-editor .editor-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: #dde4ec;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.editor-panel-left {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.editor-panel-tools {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 0;
}

.admin-body-editor .editor-panel-left {
  background: linear-gradient(180deg, #1f2933 0%, #243341 100%);
  border-color: #17212b;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.editor-tool-rail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.08);
}

.editor-rail-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 76px;
  padding: 0.5rem 0.35rem;
  color: rgba(226, 232, 240, 0.88);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.editor-rail-button.is-active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.14) 100%);
  border-left-color: #d6a772;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(214, 167, 114, 0.22);
}

.editor-rail-button.is-active .editor-rail-icon {
  background: rgba(214, 167, 114, 0.18);
  border-color: rgba(214, 167, 114, 0.46);
  color: #fff9f0;
  box-shadow: 0 0 0 2px rgba(214, 167, 114, 0.14);
}

.editor-rail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
}

.editor-icon-svg {
  width: 24px;
  height: 24px;
  display: block;
}

.editor-rail-label {
  font-size: 0.82rem;
  line-height: 1.1;
  text-align: center;
}

.editor-sidebar-pane {
  min-width: 0;
  min-height: 0;
}

.editor-sidebar-scroll {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 0;
  height: 100%;
  overflow: auto;
  padding-top: 0.1rem;
}

.editor-module-stack,
.editor-library-stack {
  display: grid;
  gap: 0.35rem;
}

.editor-panel-head,
.editor-toolbar {
  padding: 0.8rem 0.8rem 0;
}

.editor-panel-head h1,
.editor-panel-head h2 {
  margin: 0;
}

.admin-body-editor .editor-panel-left .editor-sidebar-head h2 {
  color: #f8fafc;
}

.editor-module-list {
  display: grid;
  gap: 0.35rem;
}

.editor-help {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.editor-reorder-form {
  display: none;
}

.editor-sidebar-section {
  padding: 0.75rem;
}

.admin-body-editor .editor-panel-left .editor-sidebar-section {
  padding: 0.65rem 0;
}

.editor-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.editor-sidebar-head h2,
.editor-properties-group h3 {
  margin: 0;
}

.admin-body-editor .editor-panel-left .editor-sidebar-head {
  padding: 0 0.9rem;
}

.admin-body-editor .editor-panel-left .editor-sidebar-head h2 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.editor-page-links {
  display: grid;
  gap: 0;
}

.editor-page-link {
  display: grid;
  gap: 0.1rem;
  padding: 0.72rem 0.9rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
}

.admin-body-editor .editor-page-link,
.admin-body-editor .editor-module-item,
.admin-body-editor .editor-properties-group,
.admin-body-editor .editor-library-summary,
.admin-body-editor .editor-library-item,
.admin-body-editor .editor-status-card,
.admin-body-editor .editor-info-card {
  border-color: #d7e0ea;
  background: #ffffff;
}

.admin-body-editor .editor-panel-left .editor-page-link {
  border-left: 3px solid transparent;
  background: transparent;
}

.editor-page-link span {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-body-editor .editor-panel-left .editor-page-link span {
  display: none;
}

.admin-body-editor .editor-panel-left .editor-page-link strong {
  color: rgba(241, 245, 249, 0.92);
  font-size: 0.96rem;
  font-weight: 500;
}

.editor-page-link.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(201, 115, 47, 0.15);
}

.editor-side-module-list {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem 0;
}

.editor-side-module-label {
  margin: 0;
  color: rgba(235, 241, 249, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-side-module-link {
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.editor-side-module-link strong {
  color: rgba(241, 245, 249, 0.96);
  font-size: 0.92rem;
}

.editor-side-module-link span {
  color: rgba(235, 241, 249, 0.74);
  font-size: 0.78rem;
}

.admin-body-editor .editor-page-link.is-selected,
.admin-body-editor .editor-library-item.is-selected,
.admin-body-editor .editor-module-row.is-selected {
  border-color: rgba(214, 167, 114, 0.28);
  box-shadow: 0 0 0 2px rgba(214, 167, 114, 0.14);
}

.admin-body-editor .editor-panel-left .editor-page-link.is-selected {
  box-shadow: none;
  border-left-color: #d6a772;
  background: rgba(255, 255, 255, 0.16);
}

.editor-module-row {
  display: grid;
  gap: 0.28rem;
  padding: 0.35rem 0.9rem;
  border: 0;
  border-radius: 0;
}

.editor-module-row.is-selected {
  background: rgba(214, 167, 114, 0.16);
  border-color: rgba(214, 167, 114, 0.28);
}

.editor-module-row.is-hidden {
  opacity: 0.72;
}

.admin-body-editor .editor-module-row.is-selected {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.13) 100%);
  box-shadow: inset 4px 0 0 #d6a772, inset 0 0 0 1px rgba(214, 167, 114, 0.16);
}

.editor-module-stack.is-open .editor-module-row,
.editor-library-stack.is-open .editor-library-item {
  border-color: rgba(15, 23, 42, 0.18);
}

.admin-body-editor .editor-panel-left .editor-module-stack.is-open .editor-module-row,
.admin-body-editor .editor-panel-left .editor-library-stack.is-open .editor-library-item {
  border-color: rgba(255, 255, 255, 0.18);
}

.editor-module-row.is-dragging {
  opacity: 0.5;
}

.editor-module-item {
  display: grid;
  gap: 0.28rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  min-width: 0;
}

.editor-module-main {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.editor-module-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 0.42rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.72rem;
  line-height: 1;
  flex: 0 0 auto;
}

.editor-module-badge.is-live {
  background: #dbeafe;
  color: #1d4ed8;
}

.editor-module-item strong,
.editor-module-main > span {
  display: block;
}

.editor-module-item strong {
  font-size: 0.96rem;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.editor-module-main > span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-module-meta-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.1;
  flex-wrap: wrap;
}

.editor-module-meta-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-module-separator {
  flex: 0 0 auto;
  opacity: 0.55;
}

.editor-module-toolbar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.editor-row-actions {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding: 0.1rem 0 0;
}

.editor-icon-button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-body-editor .editor-icon-button {
  border-color: #d7dee7;
  background: #ffffff;
  color: #1e293b;
}

.editor-icon-drag {
  border-style: dashed;
  background: #fbf5ed;
  cursor: grab;
}

.admin-body-editor .editor-icon-drag {
  background: #f8fafc;
  border-color: #d7dee7;
}

.editor-icon {
  font-size: 0.74rem;
  line-height: 1;
}

.editor-state {
  font-size: 0.85rem;
  color: var(--muted);
}

.editor-state.is-on {
  color: #166534;
}

.editor-state.is-off {
  color: #9a3412;
}

.editor-panel-center {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.editor-feedback {
  margin: 0.75rem 0.75rem 0;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #b8dfc4;
  background: #edf9f0;
  color: #166534;
}

.admin-body-editor .editor-feedback {
  border-color: #d6dde6;
  background: #f8fafc;
  color: #334155;
}

.editor-preview-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem 0;
  flex-wrap: wrap;
}

.editor-preview-status-left,
.editor-preview-status-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.editor-preview-status-right {
  margin-left: auto;
  flex-wrap: wrap;
}

.editor-context-toolbar-floating {
  position: absolute;
  z-index: 80;
  transform: translateX(-50%);
}

.editor-context-toolbar-floating[hidden] {
  display: none;
}

.editor-context-toolbar-floating-inner {
  display: inline-flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 0.35rem;
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: 0.45rem 0.55rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.editor-context-popover {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  max-width: min(320px, calc(100vw - 2rem));
  z-index: 2;
}

.editor-context-popover[hidden] {
  display: none;
}

.editor-context-popover-inner {
  display: grid;
  gap: 0.7rem;
  padding: 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.editor-context-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.editor-context-popover-head strong {
  font-size: 0.8rem;
  line-height: 1;
}

.editor-context-popover-close {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.75);
  color: #475569;
  cursor: pointer;
}

.editor-context-popover-close .editor-icon-svg {
  width: 12px;
  height: 12px;
}

.editor-context-popover-body {
  display: grid;
  gap: 0.65rem;
}

.editor-context-popover-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  padding-top: 0.2rem;
}

.editor-context-popover-secondary,
.editor-context-popover-primary {
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
}

.editor-context-popover-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
}

.editor-context-popover-primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.editor-context-popover-gallery {
  min-width: 540px;
  max-width: min(860px, calc(100vw - 2rem));
}

.editor-context-popover-gallery .editor-context-popover-inner {
  max-height: min(76vh, 620px);
  overflow: hidden;
}

.editor-context-popover-gallery .editor-context-popover-body {
  min-height: 0;
}

.editor-gallery-panel-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(260px, 1fr);
  gap: 1rem;
  align-items: start;
}

.editor-context-mode-button,
.editor-gallery-action-button {
  min-height: 31px;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.editor-context-mode-button.is-active,
.editor-gallery-action-button.is-active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.2);
}

.editor-gallery-panel-list {
  display: grid;
  gap: 0.55rem;
  max-height: min(220px, 30vh);
  overflow-y: auto;
  padding-right: 0.1rem;
}

.editor-gallery-panel-intro {
  margin: 0;
}

.editor-gallery-panel-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.editor-gallery-panel-item.is-active {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.editor-gallery-panel-thumb {
  width: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.18);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
}

.editor-gallery-panel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editor-gallery-panel-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.editor-gallery-panel-copy strong {
  font-size: 0.74rem;
}

.editor-gallery-panel-copy span {
  color: #64748b;
  font-size: 0.63rem;
  line-height: 1.35;
}

.editor-gallery-panel-inline-remove {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.82);
  color: #475569;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}

.editor-gallery-panel-inline-remove .editor-icon-svg {
  width: 11px;
  height: 11px;
}

.editor-gallery-panel-inline-remove[hidden] {
  display: none;
}

.editor-gallery-panel-editor {
  display: grid;
  gap: 0.65rem;
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  min-height: 100%;
  min-width: 0;
}

.editor-gallery-panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.editor-gallery-action-button {
  border: 1px solid rgba(148, 163, 184, 0.2);
  width: 100%;
  min-width: 0;
  padding-inline: 0.55rem;
}

@media (max-width: 720px) {
  .editor-context-popover-gallery {
    min-width: 320px;
    max-width: min(420px, calc(100vw - 2rem));
  }

  .editor-gallery-panel-layout {
    grid-template-columns: 1fr;
  }

  .editor-gallery-panel-list {
    max-height: min(220px, 28vh);
  }
}

.editor-gallery-panel-slotline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.editor-gallery-panel-slotline strong {
  font-size: 0.76rem;
}

.editor-gallery-panel-remove {
  min-height: 26px;
  padding: 0 0.55rem;
  border-radius: 9px;
  border: 1px solid rgba(248, 113, 113, 0.24);
  background: rgba(254, 242, 242, 0.9);
  color: #b91c1c;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.editor-gallery-upload-trigger {
  justify-self: start;
}

.editor-context-pill-button.is-icon-only.is-image-action {
  min-width: 42px;
}

.editor-context-pill-button.is-icon-only.is-image-action .editor-icon-svg {
  width: 17px;
  height: 17px;
}

.editor-context-divider {
  width: 1px;
  height: 24px;
  background: rgba(148, 163, 184, 0.28);
}

.editor-context-group {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.22rem;
  flex-wrap: nowrap;
}

.editor-context-group-actions {
  gap: 0.22rem;
  align-items: flex-end;
}

.editor-context-toolbar-form {
  display: inline-flex;
  margin: 0;
}

.editor-context-icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.78);
  color: #475569;
  cursor: pointer;
}

.editor-context-icon-button.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.editor-context-pill-button {
  min-height: 30px;
  padding: 0 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.78);
  color: #f8fbff;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.editor-context-pill-button .editor-icon-svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.editor-context-pill-button.is-icon-only {
  width: 30px;
  min-width: 30px;
  padding: 0;
  gap: 0;
}

.editor-context-pill-button.is-image-action {
  width: 38px;
  min-width: 38px;
}

.editor-context-pill-button.is-image-action .editor-icon-svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.editor-context-pill-button.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(37, 99, 235, 0.28);
}

.editor-context-pill-button.is-toggled-off {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(148, 163, 184, 0.34);
  color: #e2e8f0;
}

.editor-context-pill-button.is-danger {
  color: #fff1df;
}

.editor-context-select {
  display: grid;
  gap: 0.12rem;
  min-width: 92px;
  align-self: flex-end;
}

.editor-context-select.is-wide {
  width: 100%;
  min-width: 0;
}

.editor-context-select span {
  font-size: 0.54rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(241, 245, 249, 0.78);
}

.editor-context-select select {
  min-height: 30px;
  padding: 0 0.52rem;
  color-scheme: dark;
  border: 1px solid rgba(125, 153, 196, 0.48);
  border-radius: 9px;
  background: linear-gradient(180deg, #39547a 0%, #233754 100%);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 600;
}

.editor-context-select input {
  min-height: 30px;
  padding: 0 0.52rem;
  border: 1px solid rgba(125, 153, 196, 0.48);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 600;
}

.editor-context-select select option,
.editor-context-select select optgroup {
  background: #1d304a !important;
  color: #f8fbff !important;
}

.editor-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.editor-preview-devices {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.editor-toolbar-button {
  width: 38px;
  height: 38px;
}

.editor-toolbar-button-primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.editor-toolbar-button-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.editor-preview-devices .editor-icon-button.is-active {
  background: #24364f;
  border-color: #24364f;
  color: #f8fafc;
}

.editor-zoom-control {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  font-size: 0.9rem;
}

.editor-zoom-control select {
  min-height: 32px;
  padding: 0.3rem 0.55rem;
  border: 1px solid #d7dee7;
  border-radius: 6px;
  background: #fff;
  color: #1e293b;
  font: inherit;
}

.editor-toolbar-group,
.editor-site-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.editor-preview-frame {
  flex: 1;
  min-height: 0;
  padding: 0.75rem;
  position: relative;
  overflow: auto;
  display: grid;
  justify-items: center;
  align-content: start;
}

.editor-preview-canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
}

.editor-preview-frame iframe {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  transform-origin: top left;
  transition: width 0.18s ease, max-width 0.18s ease, transform 0.18s ease;
}

.admin-body-editor .editor-preview-frame iframe {
  border-color: #cbd5e1;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.editor-preview-frame[data-preview-device-state="tablet"] iframe {
  width: 820px;
  max-width: 820px;
}

.editor-preview-frame[data-preview-device-state="mobile"] iframe {
  width: 430px;
  max-width: 430px;
}

.editor-preview-frame[data-preview-zoom-state="100"] iframe {
  transform: scale(1);
}

.editor-preview-frame[data-preview-zoom-state="90"] iframe {
  transform: scale(0.9);
}

.editor-preview-frame[data-preview-zoom-state="75"] iframe {
  transform: scale(0.75);
}

.editor-preview-frame[data-preview-zoom-state="50"] iframe {
  transform: scale(0.5);
}

.editor-preview-frame[data-preview-device-state="desktop"][data-preview-zoom-state="auto"] iframe {
  width: 100%;
  max-width: 100%;
  transform: none;
}

.editor-preview-frame[data-preview-device-state="tablet"][data-preview-zoom-state="auto"] iframe {
  width: min(820px, 100%);
  max-width: min(820px, 100%);
  transform: none;
}

.editor-preview-frame[data-preview-device-state="mobile"][data-preview-zoom-state="auto"] iframe {
  width: min(430px, 100%);
  max-width: min(430px, 100%);
  transform: none;
}

.editor-properties {
  display: grid;
  gap: 0.75rem;
  padding: 0.55rem 0.9rem 0.8rem;
  overflow: auto;
}

.editor-drawer {
  margin: 0;
  border-left: 2px solid #d7e0ea;
  padding-left: 0.55rem;
}

.admin-body-editor .editor-panel-left .editor-drawer {
  border-left-color: rgba(255, 255, 255, 0.24);
}

.editor-properties-group,
.editor-library-summary {
  display: grid;
  gap: 0.75rem;
  padding: 0.8rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.editor-module-tabs-panel {
  gap: 0.9rem;
}

.editor-properties-group-compact {
  gap: 0.45rem;
  padding: 0.65rem 0.8rem;
}

.editor-selected-module-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.editor-module-tabs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding-bottom: 0.1rem;
}

.editor-module-tab {
  min-height: 34px;
  padding: 0 0.8rem;
  border: 1px solid #d7dee7;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
}

.editor-module-tab.is-active {
  background: #24364f;
  border-color: #24364f;
  color: #f8fafc;
}

.editor-module-tab-panel {
  display: none;
  gap: 0.8rem;
}

.editor-module-tab-panel.is-active {
  display: grid;
}

.editor-tab-copy {
  display: grid;
  gap: 0.3rem;
}

.editor-tab-fields {
  display: grid;
  gap: 0.75rem;
}

.editor-tab-note {
  display: grid;
  gap: 0.28rem;
  padding: 0.75rem;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.editor-properties label.editor-check-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  min-height: auto;
}

.editor-properties label.editor-check-field input {
  width: auto;
  min-height: auto;
  flex: 0 0 auto;
  margin: 0;
}

.editor-properties label.editor-check-field span {
  line-height: 1.35;
}

.editor-module-row.is-locked {
  border-style: solid;
}

.editor-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.editor-side-status {
  display: grid;
  gap: 0.5rem;
  padding: 0 0.75rem 0.75rem;
}

.editor-status-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.editor-status-card small {
  color: var(--muted);
}

.editor-properties label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.editor-properties input,
.editor-properties select,
.editor-properties textarea {
  width: 100%;
  min-height: 36px;
  padding: 0.5rem 0.65rem;
  border: 1px solid #d8cbb7;
  border-radius: 8px;
  background: white;
  font: inherit;
}

.admin-body-editor .editor-properties input,
.admin-body-editor .editor-properties select,
.admin-body-editor .editor-properties textarea {
  border-color: #cbd5e1;
  background: #fff;
}

.editor-icon-button.is-disabled,
.editor-icon-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.editor-properties textarea {
  min-height: 120px;
  resize: vertical;
}

.editor-library {
  border-top: 1px solid var(--border);
}

.admin-body-editor .editor-panel-left .editor-library {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.editor-library-list {
  display: grid;
  gap: 0.35rem;
  padding: 0 0.9rem 0.75rem;
}

.editor-library-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.editor-library-item {
  display: grid;
  gap: 0.22rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  min-width: 0;
}

.editor-library-item span,
.editor-empty {
  color: var(--muted);
}

.admin-body-editor .editor-panel-left .editor-library-item strong {
  color: rgba(241, 245, 249, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
}

.admin-body-editor .editor-panel-left .editor-library-item span {
  color: rgba(235, 241, 249, 0.72);
  font-size: 0.78rem;
}

.editor-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0;
}

.editor-info-card {
  display: grid;
  gap: 0.3rem;
  padding: 0.7rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.editor-action-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.admin-body-editor .eyebrow {
  color: #5d86c3;
}

.admin-body-editor .muted,
.admin-body-editor code {
  color: #64748b;
}

.admin-body-editor .admin-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.admin-body-editor .admin-pill-live {
  background: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
}

.admin-body-editor .editor-panel-left .eyebrow {
  color: #c6d5ea;
}

.admin-body-editor .editor-panel-left .muted,
.admin-body-editor .editor-panel-left code,
.admin-body-editor .editor-panel-left .editor-help,
.admin-body-editor .editor-panel-left .editor-page-link span,
.admin-body-editor .editor-panel-left .editor-library-item span,
.admin-body-editor .editor-panel-left .editor-library-item small,
.admin-body-editor .editor-panel-left .editor-empty,
.admin-body-editor .editor-panel-left .editor-module-meta-line {
  color: rgba(235, 241, 249, 0.82);
}

.admin-body-editor .editor-panel-left .editor-sidebar-section + .editor-sidebar-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-body-editor .editor-panel-left .editor-module-item strong {
  color: rgba(241, 245, 249, 0.96);
}

.admin-body-editor .editor-panel-left .editor-module-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
}

.admin-body-editor .editor-panel-left .editor-state.is-on {
  color: #c7f9cc;
}

.admin-body-editor .editor-panel-left .editor-state.is-off {
  color: #fecaca;
}

.admin-body-editor .editor-panel-left .editor-module-item,
.admin-body-editor .editor-panel-left .editor-library-item,
.admin-body-editor .editor-panel-left .editor-page-link {
  background: transparent;
  border-color: transparent;
}

.admin-body-editor .editor-panel-left .editor-module-row.is-selected .editor-module-item {
  background: transparent;
}

.admin-body-editor .editor-panel-left .editor-drawer .editor-properties-group,
.admin-body-editor .editor-panel-left .editor-drawer .editor-library-summary,
.admin-body-editor .editor-panel-left .editor-drawer .editor-info-card,
.admin-body-editor .editor-panel-left .editor-drawer .editor-status-card {
  background: #ffffff;
  border-color: #d7dee7;
}

.admin-body-editor .editor-panel-left .editor-drawer,
.admin-body-editor .editor-panel-left .editor-drawer label span,
.admin-body-editor .editor-panel-left .editor-drawer h3,
.admin-body-editor .editor-panel-left .editor-drawer strong,
.admin-body-editor .editor-panel-left .editor-drawer .muted,
.admin-body-editor .editor-panel-left .editor-drawer p,
.admin-body-editor .editor-panel-left .editor-drawer small {
  color: #334155;
}

.admin-body-editor .editor-panel-left .editor-drawer .eyebrow {
  color: #64748b;
}

.admin-body-editor {
  --bg-app: #0d1b2a;
  --bg-shell: #12243a;
  --bg-sidebar: #13253b;
  --bg-panel: #1a2d46;
  --bg-panel-2: #213754;
  --bg-panel-3: #27405f;
  --accent: #2457d8;
  --accent-hover: #2d66f0;
  --accent-soft: #4f8dff;
  --accent-glow: rgba(47, 107, 255, 0.2);
  --accent-border: rgba(112, 156, 255, 0.68);
  --text-main: #f4f7fb;
  --text-soft: #c7d3e3;
  --text-muted: #92a4bc;
  --text-dim: #72859d;
  --chip-bg: rgba(255, 255, 255, 0.08);
  --chip-active-text: #72b7ff;
  --chip-default-text: #d2dbea;
  --chip-optional-text: #b7c4d8;
  --border-soft: rgba(160, 190, 230, 0.22);
  --border-strong: rgba(170, 205, 255, 0.36);
  --shadow-1: 0 8px 20px rgba(3, 10, 22, 0.28);
  --shadow-2: 0 14px 34px rgba(2, 8, 18, 0.34);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --transition: 0.18s ease;
  background:
    radial-gradient(circle at top right, rgba(70, 110, 180, 0.22), transparent 24%),
    linear-gradient(180deg, #0c1727 0%, #102138 100%);
  color: var(--text-main);
}

.admin-body-editor .admin-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #0f2034 0%, #11243a 100%);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 12px 28px rgba(3, 10, 22, 0.24);
}

.admin-body-editor .admin-header .brand,
.admin-body-editor .admin-header .site-nav a {
  color: var(--text-main);
}

.admin-body-editor .admin-main {
  background: transparent;
  padding: 0.85rem 0;
}

.admin-body-editor .admin-shell-wide,
.admin-body-editor .admin-shell {
  width: min(calc(100% - 1rem), 1880px);
}

.admin-body-editor .editor-shell {
  gap: 0.95rem;
}

.admin-body-editor .editor-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, var(--bg-shell) 0%, #10233a 100%);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: var(--shadow-2);
}

.admin-body-editor .editor-panel-left {
  background:
    radial-gradient(circle at top center, rgba(94, 162, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #11243a 0%, #102136 100%);
  border-color: rgba(130, 162, 214, 0.16);
}

.admin-body-editor .editor-panel-center {
  background:
    radial-gradient(circle at top center, rgba(93, 148, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #172b44 0%, #14253b 100%);
}

.admin-body-editor .editor-tool-rail {
  padding: 0.8rem 0.45rem;
  gap: 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.admin-body-editor .editor-rail-button {
  justify-content: center;
  gap: 0;
  min-height: 74px;
  padding: 0.5rem 0.35rem;
  border-left: 0;
  border-radius: 18px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-inset);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}

.admin-body-editor .editor-rail-button:hover {
  transform: translateY(-1px);
  border-color: var(--border-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.admin-body-editor .editor-rail-button.is-active {
  background:
    linear-gradient(180deg, rgba(47, 107, 255, 0.18), rgba(27, 63, 145, 0.16)),
    linear-gradient(180deg, #183253 0%, #172d4a 100%);
  border: 1px solid rgba(112, 156, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(7, 20, 44, 0.3),
    0 0 12px var(--accent-glow);
  color: #fff;
}

.admin-body-editor .editor-rail-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-inset);
}

.admin-body-editor .editor-rail-button.is-active .editor-rail-icon {
  background: linear-gradient(180deg, #356dff 0%, #244fc1 100%);
  border-color: rgba(191, 214, 255, 0.32);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(93, 148, 255, 0.18),
    0 0 14px rgba(47, 107, 255, 0.18);
}

.admin-body-editor .editor-rail-label {
  display: none;
}

.admin-body-editor .editor-sidebar-scroll {
  padding-top: 0.45rem;
}

.admin-body-editor .editor-sidebar-section {
  padding: 0.85rem 0.75rem;
}

.admin-body-editor .editor-settings-stage {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(23, 43, 68, 0.94), rgba(20, 37, 59, 0.96));
  border: 1px solid rgba(130, 162, 214, 0.16);
  border-radius: 24px;
  box-shadow: var(--shadow-2);
  padding: 1.1rem;
}

.admin-body-editor .editor-settings-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-body-editor .editor-settings-stage-actions {
  display: flex;
  gap: 0.6rem;
}

.admin-body-editor .editor-settings-stage-body {
  display: grid;
  gap: 0.9rem;
}

.admin-body-editor .editor-menu-builder-list {
  display: grid;
  gap: 0.8rem;
}

.admin-body-editor .editor-menu-builder-empty {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(165, 190, 230, 0.24);
  border-radius: 18px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.02);
}

.admin-body-editor .editor-menu-item {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(140, 167, 210, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.admin-body-editor .editor-menu-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-body-editor .editor-menu-item-actions {
  display: flex;
  gap: 0.45rem;
}

.admin-body-editor .editor-menu-item-grid {
  display: grid;
  gap: 0.75rem;
}

.admin-body-editor .editor-panel-left .editor-sidebar-section + .editor-sidebar-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-body-editor .editor-sidebar-head {
  padding: 0 0.35rem;
  margin-bottom: 0.65rem;
}

.admin-body-editor .editor-sidebar-head h2 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
}

.admin-body-editor .eyebrow {
  color: var(--text-soft);
  letter-spacing: 0.18em;
}

.admin-body-editor .muted,
.admin-body-editor code {
  color: var(--text-muted);
}

.admin-body-editor .admin-pill,
.admin-body-editor .admin-pill-live {
  min-height: 32px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--chip-bg);
  color: var(--text-main);
}

.admin-body-editor .editor-page-links,
.admin-body-editor .editor-module-list,
.admin-body-editor .editor-library-list {
  gap: 0.8rem;
}

.admin-body-editor .editor-page-link,
.admin-body-editor .editor-module-row,
.admin-body-editor .editor-library-row,
.admin-body-editor .editor-properties-group,
.admin-body-editor .editor-status-card,
.admin-body-editor .editor-info-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(84, 118, 180, 0.14), rgba(26, 45, 70, 0.95)),
    linear-gradient(180deg, #1d314c 0%, #16283d 100%);
  box-shadow: var(--shadow-1), var(--shadow-inset);
}

.admin-body-editor .editor-page-link,
.admin-body-editor .editor-module-row,
.admin-body-editor .editor-library-row {
  padding: 1rem 1rem 0.9rem;
}

.admin-body-editor .editor-page-link strong,
.admin-body-editor .editor-panel-left .editor-page-link strong,
.admin-body-editor .editor-panel-left .editor-module-item strong,
.admin-body-editor .editor-panel-left .editor-library-item strong,
.admin-body-editor .editor-properties-group h3,
.admin-body-editor .editor-tab-copy h3 {
  color: var(--text-main);
}

.admin-body-editor .editor-page-link span,
.admin-body-editor .editor-panel-left .editor-page-link span,
.admin-body-editor .editor-panel-left .editor-library-item span,
.admin-body-editor .editor-panel-left .editor-library-item small,
.admin-body-editor .editor-empty,
.admin-body-editor .editor-panel-left .editor-module-meta-line,
.admin-body-editor .editor-module-kind {
  color: var(--text-soft);
}

.admin-body-editor .editor-page-link.is-selected,
.admin-body-editor .editor-module-row.is-selected,
.admin-body-editor .editor-library-item.is-selected,
.admin-body-editor .editor-module-stack.is-open .editor-module-row {
  border-color: rgba(112, 156, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(64, 107, 194, 0.16), rgba(21, 37, 61, 0.96)),
    linear-gradient(180deg, #223754 0%, #17283f 100%);
  box-shadow:
    var(--shadow-2),
    0 0 0 1px rgba(93, 148, 255, 0.12),
    0 0 16px rgba(47, 107, 255, 0.08);
}

.admin-body-editor .editor-page-link.is-selected,
.admin-body-editor .editor-module-row.is-selected {
  position: relative;
}

.admin-body-editor .editor-page-link.is-selected::before,
.admin-body-editor .editor-module-row.is-selected::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 8px var(--accent-glow);
}

.admin-body-editor .editor-module-row {
  gap: 0.7rem;
}

.admin-body-editor .editor-module-row.is-hidden {
  opacity: 0.7;
}

.admin-body-editor .editor-module-item,
.admin-body-editor .editor-library-item {
  gap: 0.42rem;
}

.admin-body-editor .editor-module-item strong {
  font-size: 1rem;
  font-weight: 700;
}

.admin-body-editor .editor-module-meta-line {
  gap: 0.5rem;
  font-size: 0.8rem;
}

.admin-body-editor .editor-module-badge,
.admin-body-editor .editor-state {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--chip-bg);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--chip-default-text);
}

.admin-body-editor .editor-state.is-on {
  color: var(--chip-active-text);
}

.admin-body-editor .editor-state.is-off {
  color: var(--text-dim);
}

.admin-body-editor .editor-module-badge.is-default {
  color: var(--chip-default-text);
}

.admin-body-editor .editor-module-badge.is-optional {
  color: var(--chip-optional-text);
}

.admin-body-editor .editor-module-badge.is-premium {
  color: var(--accent-soft);
}

.admin-body-editor .editor-module-badge.is-locked {
  color: var(--text-soft);
}

.admin-body-editor .editor-save-state-badge.is-draft {
  color: #9fd0ff;
  border-color: rgba(120, 176, 255, 0.18);
  background: rgba(47, 107, 255, 0.12);
}

.admin-body-editor .editor-save-state-badge.is-saved {
  color: var(--chip-default-text);
}

.admin-body-editor .editor-selected-module-shell {
  display: grid;
  gap: 0;
}

.admin-body-editor .selected-module-box {
  background:
    linear-gradient(180deg, rgba(66, 103, 177, 0.15), rgba(28, 48, 76, 0.96)),
    linear-gradient(180deg, #223754 0%, #1b2e49 100%);
  border-color: rgba(122, 156, 222, 0.34);
  border-radius: 18px 18px 0 0;
  box-shadow:
    0 10px 24px rgba(2, 8, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 1rem 1.1rem 0.95rem;
}

.admin-body-editor .selected-module-box .editor-section-head {
  align-items: center;
}

.admin-body-editor .selected-module-box .eyebrow,
.admin-body-editor .selected-module-box .editor-module-badge,
.admin-body-editor .selected-module-box .muted {
  color: var(--text-soft);
}

.admin-body-editor .selected-module-box h3 {
  font-size: 1.15rem;
  color: #f8fbff;
}

.admin-body-editor .editor-module-tabs-panel {
  margin-top: -1px;
  padding: 0.8rem 1rem 0.95rem;
  gap: 0.95rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-color: rgba(122, 156, 222, 0.26);
  background:
    linear-gradient(180deg, rgba(60, 94, 160, 0.14), rgba(24, 41, 66, 0.96)),
    linear-gradient(180deg, #203450 0%, #182b43 100%);
}

.admin-body-editor .editor-module-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(98px, max-content));
  gap: 0.45rem;
  align-items: stretch;
  justify-content: start;
  padding-bottom: 0.25rem;
}

.admin-body-editor .editor-module-tab,
.admin-body-editor .editor-icon-button,
.admin-body-editor .button,
.admin-body-editor .button-secondary {
  border-radius: 12px;
  border: 1px solid rgba(168, 194, 238, 0.2);
  background: linear-gradient(180deg, #36517a 0%, #2a4062 100%);
  color: var(--text-main);
  box-shadow: var(--shadow-inset), 0 6px 14px rgba(4, 10, 22, 0.2);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}

.admin-body-editor .editor-module-tab:hover,
.admin-body-editor .editor-icon-button:hover,
.admin-body-editor .button:hover,
.admin-body-editor .button-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 217, 255, 0.3);
  background: linear-gradient(180deg, #3a5986 0%, #2c466e 100%);
}

.admin-body-editor .editor-module-tab {
  min-height: 38px;
  width: auto;
  justify-content: center;
  padding: 0 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.admin-body-editor .editor-module-tab.is-active,
.admin-body-editor .button,
.admin-body-editor .editor-toolbar-button-primary,
.admin-body-editor .editor-preview-devices .editor-icon-button.is-active {
  background: linear-gradient(180deg, #316cf6 0%, #2559d6 100%);
  border-color: rgba(170, 205, 255, 0.34);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(8, 22, 48, 0.28),
    0 0 12px rgba(47, 107, 255, 0.16);
}

.admin-body-editor .editor-module-tab.is-active:hover,
.admin-body-editor .button:hover,
.admin-body-editor .editor-toolbar-button-primary:hover,
.admin-body-editor .editor-preview-devices .editor-icon-button.is-active:hover {
  background: linear-gradient(180deg, #3a76ff 0%, #2a61de 100%);
}

.admin-body-editor .button,
.admin-body-editor .button-secondary {
  min-height: 44px;
  padding: 0 1rem;
}

.admin-body-editor .editor-icon-button {
  width: 42px;
  height: 42px;
  color: var(--text-soft);
}

.admin-body-editor .editor-icon-drag {
  background: linear-gradient(180deg, #314c73 0%, #263d5f 100%);
  border-style: solid;
  cursor: grab;
}

.admin-body-editor .editor-icon-button.is-disabled,
.admin-body-editor .editor-icon-button:disabled {
  opacity: 0.34;
  background: linear-gradient(180deg, #2a3a54 0%, #223248 100%);
  border-color: rgba(151, 175, 208, 0.12);
  color: var(--text-dim);
}

.admin-body-editor .editor-toolbar,
.admin-body-editor .editor-panel-head {
  padding: 1rem 1rem 0;
}

.admin-body-editor .editor-feedback {
  margin: 1rem 1rem 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, #1d304a 0%, #16273d 100%);
  color: var(--text-soft);
}

.admin-body-editor .editor-preview-status {
  padding: 0.8rem 1rem 0;
}

.admin-body-editor .editor-context-toolbar-floating-inner {
  border: 1px solid rgba(116, 153, 227, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(44, 72, 114, 0.46), rgba(27, 44, 70, 0.5)),
    linear-gradient(180deg, rgba(34, 55, 84, 0.38) 0%, rgba(24, 43, 68, 0.44) 100%);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 14px 28px rgba(2, 8, 18, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.admin-body-editor .editor-context-popover-inner {
  border: 1px solid rgba(116, 153, 227, 0.32);
  background:
    linear-gradient(180deg, rgba(44, 72, 114, 0.88), rgba(27, 44, 70, 0.9)),
    linear-gradient(180deg, rgba(34, 55, 84, 0.5) 0%, rgba(24, 43, 68, 0.56) 100%);
  box-shadow:
    0 16px 28px rgba(2, 8, 18, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.admin-body-editor .editor-context-popover-head strong {
  color: #f8fbff;
}

.admin-body-editor .editor-context-popover-close {
  border-color: rgba(168, 194, 238, 0.22);
  background: linear-gradient(180deg, #334e76 0%, #29415f 100%);
  color: #f8fbff;
  box-shadow: var(--shadow-inset);
}

.admin-body-editor .editor-context-popover-secondary,
.admin-body-editor .editor-context-popover-primary {
  box-shadow: var(--shadow-inset);
}

.admin-body-editor .editor-context-popover-secondary {
  border-color: rgba(168, 194, 238, 0.22);
  background: linear-gradient(180deg, #334e76 0%, #29415f 100%);
  color: #f8fbff;
}

.admin-body-editor .editor-context-popover-primary {
  border-color: rgba(170, 205, 255, 0.42);
  background: linear-gradient(180deg, #3574ff 0%, #235bde 100%);
  color: #ffffff;
}

.admin-body-editor .editor-context-divider {
  background: rgba(168, 194, 238, 0.22);
}

.admin-body-editor .editor-context-icon-button {
  border-radius: 11px;
  border: 1px solid rgba(168, 194, 238, 0.2);
  background: linear-gradient(180deg, #334e76 0%, #29415f 100%);
  color: var(--text-soft);
  box-shadow: var(--shadow-inset);
}

.admin-body-editor .editor-context-icon-button.is-active {
  background: linear-gradient(180deg, #3574ff 0%, #235bde 100%);
  border-color: rgba(170, 205, 255, 0.42);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 18px rgba(7, 20, 44, 0.3);
}

.admin-body-editor .editor-context-pill-button {
  border-radius: 10px;
  border: 1px solid rgba(168, 194, 238, 0.2);
  background: linear-gradient(180deg, #334e76 0%, #29415f 100%);
  color: #f8fbff;
  box-shadow: var(--shadow-inset);
}

.admin-body-editor .editor-context-pill-button.is-active {
  background: linear-gradient(180deg, #3574ff 0%, #235bde 100%);
  border-color: rgba(170, 205, 255, 0.42);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(7, 20, 44, 0.3);
}

.admin-body-editor .editor-context-pill-button.is-toggled-off {
  background: linear-gradient(180deg, #2a3d5d 0%, #1f304b 100%);
  border-color: rgba(113, 140, 184, 0.2);
  color: rgba(241, 245, 249, 0.82);
  box-shadow: var(--shadow-inset);
}

.admin-body-editor .editor-context-pill-button.is-danger {
  color: #fff1df;
}

.admin-body-editor .editor-context-pill-button.is-disabled,
.admin-body-editor .editor-context-pill-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.admin-body-editor .editor-context-pill-button.is-image-action {
  width: 40px;
  min-width: 40px;
}

.admin-body-editor .editor-context-pill-button.is-image-action .editor-icon-svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.admin-body-editor .editor-context-select span {
  color: rgba(248, 250, 252, 0.82);
}

.admin-body-editor .editor-context-select select {
  min-height: 32px;
  padding: 0 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(168, 194, 238, 0.24);
  background: linear-gradient(180deg, #39547a 0%, #233754 100%);
  color: #f8fbff;
  box-shadow: var(--shadow-inset);
  color-scheme: dark;
}

.admin-body-editor .editor-context-select input {
  min-height: 32px;
  padding: 0 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(168, 194, 238, 0.24);
  background: linear-gradient(180deg, #39547a 0%, #233754 100%);
  color: #f8fbff;
  box-shadow: var(--shadow-inset);
}

.admin-body-editor .editor-context-select input::placeholder {
  color: rgba(248, 250, 252, 0.58);
}

.admin-body-editor .editor-context-select select option,
.admin-body-editor .editor-context-select select optgroup {
  background: #1d304a !important;
  color: #f8fbff !important;
}

.admin-body-editor .editor-preview-frame {
  padding: 1rem;
}

.admin-body-editor .editor-preview-frame iframe {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(2, 8, 18, 0.38);
}

.admin-body-editor .editor-zoom-control,
.admin-body-editor .editor-site-meta {
  color: var(--text-soft);
}

.admin-body-editor .editor-zoom-control select,
.admin-body-editor .editor-properties input,
.admin-body-editor .editor-properties select,
.admin-body-editor .editor-properties textarea {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  color: var(--text-main);
  box-shadow: var(--shadow-inset);
}

.admin-body-editor .editor-zoom-control select option,
.admin-body-editor .editor-properties select option,
.admin-body-editor .editor-zoom-control select optgroup,
.admin-body-editor .editor-properties select optgroup {
  background: #14253b;
  color: #f4f7fb;
}

.admin-body-editor .editor-properties input::placeholder,
.admin-body-editor .editor-properties textarea::placeholder {
  color: var(--text-dim);
}

.admin-body-editor .editor-properties label span,
.admin-body-editor .editor-drawer h3,
.admin-body-editor .editor-drawer strong,
.admin-body-editor .editor-drawer p,
.admin-body-editor .editor-drawer small {
  color: var(--text-main);
}

.editor-field-label {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
}

.editor-file-field {
  gap: 0.55rem;
}

.editor-file-field input[type="file"] {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  border: 1px dashed rgba(168, 194, 238, 0.3);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  color: #f8fbff;
  box-shadow: var(--shadow-inset);
}

.editor-file-field input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(170, 205, 255, 0.28);
  border-radius: 10px;
  background: linear-gradient(180deg, #3574ff 0%, #235bde 100%);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.editor-file-field-meta {
  display: grid;
  gap: 0.12rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(168, 194, 238, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.editor-file-field-meta strong {
  color: var(--text-main);
  font-size: 0.88rem;
}

.editor-style-palette-group {
  display: grid;
  gap: 0.45rem;
}

.editor-action-row-tight {
  margin-top: 0.25rem;
}

.editor-properties-fold {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.editor-properties-fold summary {
  cursor: pointer;
  padding: 0.9rem 1rem;
  color: var(--text-main);
  font-weight: 600;
  list-style: none;
}

.editor-properties-fold summary::-webkit-details-marker {
  display: none;
}

.editor-properties-fold-body {
  display: grid;
  gap: 0.9rem;
  padding: 0 1rem 1rem;
}

.editor-select-preview {
  margin-top: -0.2rem;
}

.editor-select-preview-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.editor-select-preview-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.editor-select-preview-swatch {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--preview-swatch);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.editor-select-preview-copy {
  display: grid;
  gap: 0.14rem;
}

.editor-select-preview-copy strong {
  color: var(--text-main);
  font-size: 0.88rem;
}

.editor-select-preview-copy small {
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.3;
}

.editor-select-preview-structure {
  display: grid;
  gap: 0.24rem;
  justify-content: start;
}

.editor-select-preview-line {
  display: block;
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.editor-select-preview-line.is-wide {
  width: 42px;
  background: rgba(255, 255, 255, 0.34);
}

.editor-select-preview-pill {
  display: block;
  width: 22px;
  height: 10px;
  border-radius: 999px;
  background: rgba(93, 148, 255, 0.42);
}

.admin-body-editor .editor-panel-left .editor-drawer h3,
.admin-body-editor .editor-panel-left .editor-drawer strong,
.admin-body-editor .editor-panel-left .editor-drawer p,
.admin-body-editor .editor-panel-left .editor-drawer small,
.admin-body-editor .editor-panel-left .editor-drawer label span,
.admin-body-editor .editor-panel-left .editor-drawer .muted,
.admin-body-editor .editor-panel-left .editor-drawer .editor-tab-copy,
.admin-body-editor .editor-panel-left .editor-drawer .editor-tab-fields,
.admin-body-editor .editor-panel-left .editor-drawer .editor-module-tab-panel,
.admin-body-editor .editor-panel-left .editor-drawer .editor-tab-note {
  color: var(--text-main);
}

.admin-body-editor .editor-panel-left .editor-drawer .editor-tab-note .muted,
.admin-body-editor .editor-panel-left .editor-drawer .editor-tab-copy .muted,
.admin-body-editor .editor-panel-left .editor-drawer .editor-tab-fields .muted,
.admin-body-editor .editor-panel-left .editor-drawer .eyebrow {
  color: var(--text-soft);
}

.admin-body-editor .editor-tab-note,
.admin-body-editor .editor-info-card,
.admin-body-editor .editor-status-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.admin-body-editor .editor-tab-note .muted,
.admin-body-editor .editor-status-card small {
  color: var(--text-muted);
}

.admin-body-editor .editor-panel-left .editor-drawer {
  border-left-color: rgba(255, 255, 255, 0.08);
}

.admin-body-editor .editor-panel-left .editor-drawer .editor-properties-group,
.admin-body-editor .editor-panel-left .editor-drawer .editor-library-summary,
.admin-body-editor .editor-panel-left .editor-drawer .editor-info-card,
.admin-body-editor .editor-panel-left .editor-drawer .editor-status-card {
  background:
    linear-gradient(180deg, rgba(84, 118, 180, 0.14), rgba(26, 45, 70, 0.95)),
    linear-gradient(180deg, #1d314c 0%, #16283d 100%);
  border-color: var(--border-soft);
}

.admin-body-editor .editor-panel-left .editor-drawer .muted,
.admin-body-editor .editor-panel-left .editor-drawer label span,
.admin-body-editor .editor-panel-left .editor-drawer p,
.admin-body-editor .editor-panel-left .editor-drawer small {
  color: var(--text-soft);
}

@media (max-width: 860px) {
  .admin-form-grid,
  .admin-module-form,
  .admin-inline-form {
    grid-template-columns: 1fr;
  }

  .editor-shell,
  .editor-shell-two-col.is-expanded,
  .editor-shell-app.is-tool-open {
    grid-template-columns: 1fr;
  }

  .editor-panel-tools {
    grid-template-columns: 1fr;
  }

  .editor-tool-rail {
    flex-direction: row;
    overflow: auto;
    padding: 0.35rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .editor-rail-button {
    min-height: 58px;
    min-width: 84px;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }

  .editor-rail-button.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--accent-border);
  }

  .editor-info-grid,
  .editor-module-row {
    grid-template-columns: 1fr;
  }

  .editor-commandbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
