:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Jost", "Futura", Inter, ui-sans-serif, system-ui, sans-serif;
  color: #101828;
  background: #f7f8fb;
}

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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 12px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.brand-giperlink {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #101828;
}

.brand-giperlink__mark {
  width: 1.32em;
  height: 1.32em;
  margin-right: 0.22em;
  flex: 0 0 auto;
  color: #303030;
}

.brand-giperlink__mark--file {
  display: block;
  object-fit: contain;
}

.brand-giperlink__giper {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #333333;
}

.brand-giperlink__link {
  font-family: "SUSE", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  color: #7843ff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav form {
  margin: 0;
}

.nav-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav-logout:hover {
  background: #f9fafb;
  border-color: #98a2b3;
  color: #101828;
}

.nav-logout .gl-icon {
  width: 20px;
  height: 20px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: #475467;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav a:hover {
  background: #f9fafb;
  border-color: #98a2b3;
  color: #101828;
}

.nav a.active {
  background: #101828;
  border-color: #101828;
  color: #fff;
}

.main {
  padding: 40px 0 80px;
}

.main-cabinet {
  padding-top: 12px;
}

.cabinet-panel h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.cabinet-auth {
  max-width: 400px;
  margin: 0 auto;
}

.cabinet-auth h1 {
  font-size: clamp(28px, 4vw, 38px);
}

.cabinet-auth__error {
  color: #b42318;
}

.cabinet-auth__providers {
  margin-top: 20px;
}

.cabinet-auth__providers--wizard {
  margin-top: 4px;
}

.cabinet-auth__divider--wizard {
  margin: 20px 0 4px;
}

.cabinet-auth-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #fff;
  color: #344054;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cabinet-auth-google:hover {
  background: #f9fafb;
  border-color: #98a2b3;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}

.cabinet-auth-google .gl-icon {
  flex-shrink: 0;
}

.cabinet-auth__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 8px;
  color: #667085;
  font-size: 14px;
  font-weight: 600;
}

.cabinet-auth__divider::before,
.cabinet-auth__divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #eaecf0;
}

.cabinet-auth__form {
  margin-top: 16px;
  max-width: none;
  gap: 14px;
}

.cabinet-auth__actions {
  margin-top: 0;
}

.cabinet-auth__submit {
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.cabinet-auth__submit .gl-icon {
  flex-shrink: 0;
}

.cabinet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cabinet-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 38px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  padding: 0 16px;
  text-decoration: none;
  color: #475467;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cabinet-tab:hover {
  background: #f9fafb;
  color: #101828;
}

.cabinet-tab.is-active {
  background: #101828;
  border-color: #101828;
  color: #fff;
}

@media (max-width: 760px) {
  .main.main-cabinet {
    width: 100%;
    max-width: none;
    --cabinet-gutter: clamp(14px, 3vw, 32px);
  }

  .main-cabinet .cabinet-panel {
    border-radius: 24px 24px 0 0;
    border-left: 0;
    border-right: 0;
    box-shadow: 0 -8px 40px rgba(16, 24, 40, 0.06);
    padding-inline: var(--cabinet-gutter);
  }

  .cabinet-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--cabinet-gutter));
    padding-inline: var(--cabinet-gutter);
  }

  .cabinet-tabs::-webkit-scrollbar {
    display: none;
  }

  .cabinet-tab {
    flex: 0 0 auto;
  }
}

.cabinet-tariff {
  margin: 24px 0 0;
  color: #344054;
  font-size: 19px;
  line-height: 1.6;
}

.cabinet-settings {
  margin-top: 24px;
}

.cabinet-settings .form-card {
  margin-top: 0;
}

.cabinet-danger {
  margin: 20px 0 0;
}

.cabinet-danger-link {
  color: #b42318;
  font-weight: 700;
  text-decoration: none;
}

.cabinet-danger-link:hover {
  text-decoration: underline;
}

.body-home {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(199, 210, 254, 0.55), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(191, 219, 254, 0.35), transparent 65%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.body-home .header {
  background: transparent;
}

.body-home .main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 76px);
  padding: 24px 0 64px;
}

.start-screen {
  width: 100%;
}

.start-screen__inner {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.start-screen__title {
  margin: 0 0 clamp(16px, 3vw, 24px);
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1f2937;
}

.start-screen__accent {
  display: inline-block;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.04em 0.1em 0.3em;
  margin-bottom: -0.22em;
  background: linear-gradient(90deg, #2563eb 0%, #4f46e5 45%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.start-screen__lead {
  margin: 0 auto clamp(28px, 5vw, 44px);
  max-width: 640px;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.5;
  color: #475467;
}

.start-prompt {
  margin: 0 auto;
}

.start-prompt__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 12px 32px rgba(15, 23, 42, 0.08);
}

.start-prompt__bar input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 0;
  font-size: 16px;
  line-height: 1.4;
  color: #101828;
  outline: none;
  box-shadow: none;
}

.start-prompt__bar input::placeholder {
  color: #98a2b3;
}

.start-prompt__bar .start-prompt__submit {
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.start-prompt__error {
  margin: 14px 0 0;
  color: #b42318;
  font-size: 14px;
  line-height: 1.45;
}

.start-prompt.is-loading .start-prompt__bar {
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 8px 24px rgba(15, 23, 42, 0.06);
}

.start-prompt.is-loading .start-prompt__bar input {
  opacity: 0.72;
  pointer-events: none;
}

.start-prompt.is-loading .start-prompt__bar input:read-only {
  opacity: 0.72;
}

.start-progress {
  margin-top: 18px;
  text-align: left;
  animation: start-progress-in 0.25s ease;
}

.start-progress[hidden] {
  display: none;
}

.start-progress__list {
  list-style: none;
  margin: 0;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}

.start-progress__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 6px;
  color: #98a2b3;
  font-size: 15px;
  line-height: 1.35;
  border-radius: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.start-progress__item.is-active {
  color: #101828;
  font-weight: 600;
  background: rgba(79, 70, 229, 0.06);
}

.start-progress__item.is-done {
  color: #667085;
}

.start-progress__list--running .start-progress__item:nth-child(1) {
  animation: progress-row-1 1s linear forwards;
}

.start-progress__list--running .start-progress__item:nth-child(2) {
  animation: progress-row-2 3s linear forwards;
}

.start-progress__list--running .start-progress__item:nth-child(3) {
  animation: progress-row-3 0.01s 3s forwards;
}

.start-progress__marker {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid #d0d5dd;
  border-radius: 999px;
  box-sizing: border-box;
}

.start-progress__item.is-active .start-progress__marker {
  border-color: rgba(79, 70, 229, 0.16);
  border-top-color: #4f46e5;
  animation: start-progress-spin 0.75s linear infinite;
}

.start-progress__item.is-done .start-progress__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #12b76a;
}

.start-progress__item.is-done .start-progress__marker::after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  margin-top: -1px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  box-sizing: border-box;
}

.start-progress__list--running .start-progress__item .start-progress__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.start-progress__list--running .start-progress__item .start-progress__marker::after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  margin-top: -1px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  box-sizing: border-box;
  opacity: 0;
}

.start-progress__list--running .start-progress__item:nth-child(1) .start-progress__marker {
  animation: progress-marker-1 1s linear forwards;
}

.start-progress__list--running .start-progress__item:nth-child(1) .start-progress__marker::after {
  animation: progress-check-in 0.15s 0.9s forwards;
}

.start-progress__list--running .start-progress__item:nth-child(2) .start-progress__marker {
  animation: progress-marker-2 3s linear forwards;
}

.start-progress__list--running .start-progress__item:nth-child(2) .start-progress__marker::after {
  animation: progress-check-in 0.15s 2.9s forwards;
}

.start-progress__list--running .start-progress__item:nth-child(3) .start-progress__marker {
  animation:
    progress-marker-3-enable 0.01s 3s forwards,
    start-progress-spin 0.75s 3s linear infinite;
}

@keyframes progress-row-1 {
  0%,
  99% {
    color: #101828;
    font-weight: 600;
    background: rgba(79, 70, 229, 0.06);
  }

  100% {
    color: #667085;
    font-weight: 400;
    background: transparent;
  }
}

@keyframes progress-row-2 {
  0%,
  33.3% {
    color: #98a2b3;
    font-weight: 400;
    background: transparent;
  }

  33.31%,
  99% {
    color: #101828;
    font-weight: 600;
    background: rgba(79, 70, 229, 0.06);
  }

  100% {
    color: #667085;
    font-weight: 400;
    background: transparent;
  }
}

@keyframes progress-row-3 {
  to {
    color: #101828;
    font-weight: 600;
    background: rgba(79, 70, 229, 0.06);
  }
}

@keyframes progress-marker-1 {
  0% {
    border: 2px solid rgba(79, 70, 229, 0.16);
    border-top-color: #4f46e5;
    background: transparent;
    transform: rotate(0deg);
  }

  90% {
    transform: rotate(630deg);
  }

  100% {
    border: none;
    background: #12b76a;
    transform: rotate(0deg);
  }
}

@keyframes progress-marker-2 {
  0%,
  33.3% {
    border: 2px solid #d0d5dd;
    background: transparent;
    transform: rotate(0deg);
  }

  33.31% {
    border: 2px solid rgba(79, 70, 229, 0.16);
    border-top-color: #4f46e5;
    background: transparent;
  }

  96% {
    transform: rotate(720deg);
  }

  100% {
    border: none;
    background: #12b76a;
    transform: rotate(0deg);
  }
}

@keyframes progress-marker-3-enable {
  to {
    border: 2px solid rgba(79, 70, 229, 0.16);
    border-top-color: #4f46e5;
    background: transparent;
  }
}

@keyframes progress-check-in {
  to {
    opacity: 1;
  }
}

@keyframes start-progress-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes start-progress-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .start-prompt__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 24px;
  }

  .start-prompt__bar input {
    padding: 4px 6px;
    text-align: left;
  }

  .start-prompt__bar .start-prompt__submit {
    width: 100%;
    padding: 12px;
    align-self: auto;
  }
}

.hero-card,
.panel {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
  padding: clamp(28px, 6vw, 64px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.02;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: #475467;
  font-size: 19px;
  line-height: 1.6;
}

.url-form {
  max-width: 760px;
  margin-top: 36px;
}

.url-form label {
  display: block;
  margin-bottom: 10px;
  color: #344054;
  font-weight: 700;
}

.row {
  display: flex;
  gap: 12px;
}

input,
button {
  border-radius: 14px;
  font: inherit;
  padding: 14px 16px;
}

input {
  width: 100%;
  border: 1px solid #d0d5dd;
}

button {
  border: 0;
  background: #101828;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-link {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  background: #101828;
  color: #fff;
  font-weight: 800;
  padding: 14px 18px;
  text-decoration: none;
  cursor: pointer;
}

.button-link--secondary {
  background: #fff;
  border: 1px solid #d0d5dd;
  color: #101828;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.status-panel h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.status-card {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  border: 1px solid #d0d5dd;
  border-radius: 20px;
  background: #f9fafb;
  padding: 18px 20px;
}

.status-card span {
  color: #475467;
}

.status-card--success {
  border-color: #abefc6;
  background: #ecfdf3;
}

.status-card--error {
  border-color: #fecdca;
  background: #fef3f2;
}

.form-card {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-top: 32px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #344054;
  font-weight: 700;
  font-size: 14px;
}

.form-card label {
  color: #344054;
  font-weight: 800;
}

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

.form-grid > div {
  display: grid;
  gap: 8px;
}

.domain-suffix {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #f9fafb;
  color: #667085;
  padding: 14px 12px;
  box-sizing: border-box;
}

.subdomain-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.subdomain-row input {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  max-width: 100%;
}

.client-domain-choice {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}

.client-domain-choice__legend {
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  margin-bottom: 8px;
}

.client-domain-choice__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-domain-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.client-domain-option:has(input:checked) {
  border-color: #7843ff;
  box-shadow: inset 0 0 0 1px #7843ff;
}

.client-domain-option input {
  margin: 0;
}

.site-edit-color-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.site-edit-color-picker {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.site-edit-color-picker__panel {
  position: fixed;
  z-index: 10060;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.14);
}

.site-edit-color-picker__swatch {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
}

.site-edit-color-picker__hex {
  width: 7.5rem;
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.site-edit-inline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: flex-start;
}

.site-edit-inline-row > .form-field {
  margin: 0;
  min-width: 0;
}

.site-edit-inline-row > .form-field:not(.form-field--price-short) {
  flex: 1 1 180px;
}

.site-edit-inline-row.site-edit-inline-row--colors > .form-field {
  flex: 0 0 auto;
  width: auto;
}

.site-edit-inline-row.site-edit-inline-row--colors {
  justify-content: flex-start;
  gap: 16px;
}

.site-edit-inline-row.site-edit-inline-row--text-color {
  align-items: flex-start;
}

.site-edit-inline-row.site-edit-inline-row--text-color > .form-field:not(.form-field--color-short) {
  flex: 1 1 220px;
}

.site-edit-inline-row.site-edit-inline-row--text-color > .form-field--color-short {
  flex: 0 0 auto;
  width: auto;
}

@media (max-width: 720px) {
  .site-edit-inline-row.site-edit-inline-row--text-color {
    align-items: stretch;
  }

  .site-edit-inline-row.site-edit-inline-row--text-color > .form-field--color-short {
    flex: 1 1 auto;
  }
}

.site-edit-section__body .form-field--price-short {
  flex: 0 0 auto;
}

.site-edit-section__body .form-field--price-short input {
  width: 8.5rem;
  max-width: 100%;
}

.site-edit-button-settings {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.site-edit-subsection-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #101828;
  line-height: 1.3;
}

.site-edit-button-settings__hint {
  margin: -8px 0 0;
}

.site-edit-color-swatch {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  cursor: pointer;
  background-color: #e2eaff;
}

.site-edit-color-swatch:hover:not(:disabled) {
  border-color: #98a2b3;
}

.site-edit-color-swatch:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.site-edit-section__body .form-field input.site-edit-color-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-edit-section__body .form-field input.site-edit-color-hex {
  width: 7.5rem;
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.site-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #eaecf0;
  border-radius: 20px;
  padding: 14px 18px;
}

.site-card .actions {
  margin-top: 0;
  flex-shrink: 0;
  margin-left: auto;
}

.site-card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 14px;
  overflow: hidden;
  background: #f2f4f7;
  border: 1px solid #eaecf0;
  color: #98a2b3;
  text-decoration: none;
}

.site-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-card-thumb-fallback {
  display: inline-flex;
}

.site-card-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.site-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-card-title {
  font-weight: 800;
  font-size: 17px;
  color: #101828;
  text-decoration: none;
}

.site-card-title:hover {
  text-decoration: underline;
}

.site-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #667085;
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
}

.site-card-link:hover {
  color: #475467;
  text-decoration: underline;
}

.site-card-link .gl-icon {
  width: 15px;
  height: 15px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.status-chip--draft {
  background: #eaecf0;
  color: #475467;
}

.status-chip--published {
  background: #d1fadf;
  color: #027a48;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #101828;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

a.icon-btn {
  text-decoration: none;
}

.icon-btn:hover {
  background: #f9fafb;
  border-color: #98a2b3;
}

.icon-btn .gl-icon {
  width: 20px;
  height: 20px;
}

.icon-btn--danger:hover {
  border-color: #fda29b;
  color: #d92d20;
}

.icon-btn--loading .gl-icon {
  animation: icon-spin 0.8s linear infinite;
}

@keyframes icon-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.refresh-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.refresh-modal.is-open {
  display: flex;
}

.refresh-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  pointer-events: none;
}

.refresh-modal-panel {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.refresh-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

.refresh-modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.refresh-modal-meta {
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 4px;
  line-height: 1.45;
}

.refresh-modal-close {
  border: 0;
  background: #f1f5f9;
  color: #334155;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-modal-close:hover {
  background: #e2e8f0;
}

.refresh-modal-body {
  overflow: auto;
  padding: 0 18px 18px;
}

.refresh-modal-body pre {
  margin: 0;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 50vh;
  overflow: auto;
  color: #334155;
}

.refresh-warnings {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.45;
}

.refresh-warnings li {
  margin-bottom: 6px;
}

.refresh-warnings li:last-child {
  margin-bottom: 0;
}

.notice-error .refresh-modal-header h2 {
  color: #b91c1c;
}

.notice-warning .refresh-modal-header h2 {
  color: #b45309;
}

.hint {
  color: #667085;
  font-size: 14px;
}

.preview-shell-body {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #101828;
  --preview-content-w: min(1120px, calc(100% - 32px));
}

.owner-banner {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(90deg, #21094f 0%, #24105a 52%, #271262 100%);
  color: #fff;
  padding: 12px 0 20px;
  font-size: 15px;
  overflow: visible;
}

.owner-banner__inner {
  position: relative;
  width: var(--preview-content-w);
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 40px;
}

.owner-banner__brand {
  grid-column: 1;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-giperlink--light {
  color: #fff;
}

.brand-giperlink--light .brand-giperlink__giper,
.brand-giperlink--light .brand-giperlink__link {
  color: #fff;
}

.brand-giperlink--light .brand-giperlink__mark {
  color: #fff;
}

.brand-giperlink--light .brand-giperlink__mark path {
  fill: #fff;
}

.owner-banner__message {
  grid-column: 2;
  margin: 0;
  min-width: 0;
  line-height: 1.45;
}

.owner-banner__message--center {
  position: static;
  transform: none;
  width: auto;
  max-width: 100%;
  text-align: center;
  font-weight: 500;
  pointer-events: none;
  padding: 0 8px;
  box-sizing: border-box;
}

.banner-btn__label-short {
  display: none;
}

@media (max-width: 760px) {
  .owner-banner__inner {
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .owner-banner__message--center {
    display: none;
  }

  .owner-banner .brand-giperlink__giper,
  .owner-banner .brand-giperlink__link {
    display: none;
  }

  .owner-banner .brand-giperlink__mark {
    margin-right: 0;
  }

  .banner-btn__label-full {
    display: none;
  }

  .banner-btn__label-short {
    display: inline;
  }
}

.banner-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.owner-banner a {
  color: #fff;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #101828;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  min-height: 40px;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.banner-btn--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  opacity: 1;
}

.banner-btn:not(.banner-btn--secondary):hover,
.banner-btn:not(.banner-btn--secondary):focus-visible {
  background: #eef2f6;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.14);
}

.banner-btn--secondary:hover,
.banner-btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.gl-icon {
  display: inline-block;
  vertical-align: -0.15em;
  flex: 0 0 auto;
}

.banner-btn .gl-icon {
  margin: 0;
}

.banner-btn--icon {
  width: 40px;
  min-width: 40px;
  padding: 0;
  border-radius: 999px;
}

.banner-btn[data-tooltip] {
  position: relative;
}

.banner-btn[data-tooltip]::before,
.banner-btn[data-tooltip]::after {
  position: absolute;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: none;
}

.banner-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  top: calc(100% + 10px);
  z-index: 40;
  transform: translateX(-50%);
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(16, 24, 40, 0.96);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.banner-btn[data-tooltip]::before {
  content: "";
  top: calc(100% + 4px);
  z-index: 41;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(16, 24, 40, 0.96);
}

.banner-btn[data-tooltip]:hover::before,
.banner-btn[data-tooltip]:hover::after,
.banner-btn[data-tooltip]:focus-visible::before,
.banner-btn[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.banner-btn--icon .gl-icon {
  margin: 0;
}

.banner-actions form {
  margin: 0;
}

.wizard-modal--wide {
  width: min(860px, 100%);
}

.wizard-form textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  font: inherit;
  padding: 14px 16px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #344054;
  font-weight: 700;
}

.checkbox-row input {
  width: auto;
}

.preview-frame {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #fff;
}

.wizard-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10000;
}

.wizard-modal {
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(16, 24, 40, 0.24);
}

.wizard-modal__header {
  display: grid;
  gap: 16px;
}

.wizard-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wizard-modal__top .eyebrow {
  margin: 0;
}

.wizard-modal-close {
  border: 0;
  background: transparent;
  color: #101828;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wizard-modal-close:hover {
  background: #f2f4f7;
}

.wizard-modal-close .gl-icon {
  margin: 0;
}

.wizard-modal h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.15;
}

.wizard-stepper__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wizard-stepper__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #98a2b3;
}

.wizard-stepper__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  border: 2px solid #d0d5dd;
  background: #fff;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  box-sizing: border-box;
}

.wizard-stepper__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.wizard-stepper__item.is-active {
  color: #101828;
}

.wizard-stepper__item.is-active .wizard-stepper__marker {
  border-color: #4f46e5;
  background: #eef2ff;
  color: #4338ca;
}

.wizard-stepper__item.is-done {
  color: #475467;
}

.wizard-stepper__item.is-done .wizard-stepper__marker {
  border-color: #12b76a;
  background: #12b76a;
  color: #fff;
}

.wizard-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.wizard-form__step {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.wizard-form .form-field {
  min-width: 0;
}

.wizard-form label {
  color: #344054;
  font-weight: 700;
  font-size: 14px;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.wizard-actions .button-link {
  border: 0;
  cursor: pointer;
}

.wizard-error {
  margin: 16px 0 0;
  color: #b42318;
  font-weight: 700;
}

.wizard-error-slot {
  min-height: 18px;
}

.wizard-field-error {
  margin: 0;
  color: #d92d20;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.form-field--subdomain .wizard-field-error--subdomain {
  width: 100%;
  grid-column: 1 / -1;
}

[x-cloak] {
  display: none !important;
}

@media (max-width: 760px) {
  .row,
  .site-card {
    align-items: stretch;
    flex-direction: column;
  }

  .subdomain-row {
    flex-direction: row;
    align-items: stretch;
  }

  .domain-suffix {
    padding: 14px 10px;
    font-size: 14px;
  }

  .wizard-stepper__list {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .wizard-stepper__item:not(.is-active) .wizard-stepper__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .wizard-stepper__item.is-active {
    flex: 1 1 auto;
    min-width: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin zone */
.main-admin {
  width: auto;
  max-width: none;
  margin: 0 40px;
  padding-top: 12px;
}

.main-admin .admin-panel {
  padding: clamp(24px, 3vw, 36px);
}

.admin-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 28px;
}

.admin-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  box-sizing: border-box;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #475467;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.admin-nav-link:hover {
  background: #f2f4f7;
}

.admin-nav-link.is-active {
  background: #101828;
  color: #fff;
}

.admin-count,
.admin-page-info {
  color: #667085;
  font-size: 16px;
  font-weight: 600;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.admin-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid #eaecf0;
  border-radius: 18px;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
}

a.admin-stat:hover {
  border-color: #d0d5dd;
  background: #f2f4f7;
}

.admin-stat-value {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.admin-stat-label {
  color: #667085;
  font-size: 14px;
  font-weight: 600;
}

.admin-stat--alert .admin-stat-value {
  color: #b42318;
}

.admin-health {
  margin-top: 40px;
  padding-top: 8px;
}

.admin-health__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 8px;
}

.admin-health__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.admin-health__meta {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
}

.admin-health__meta strong[data-status="ok"] {
  color: #027a48;
}

.admin-health__meta strong[data-status="warn"] {
  color: #b54708;
}

.admin-health__meta strong[data-status="error"] {
  color: #b42318;
}

.admin-health__hint {
  margin: 0 0 16px;
  color: #98a2b3;
  font-size: 13px;
  line-height: 1.4;
  max-width: 72ch;
}

.admin-health__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.admin-health-card {
  padding: 16px;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  background: #fff;
  border-left: 4px solid #d0d5dd;
}

.admin-health-card--ok {
  border-left-color: #12b76a;
}

.admin-health-card--warn {
  border-left-color: #f79009;
}

.admin-health-card--error {
  border-left-color: #f04438;
}

.admin-health-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-health-card__label {
  font-weight: 700;
  font-size: 14px;
}

.admin-health-card__badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
}

.admin-health-card--ok .admin-health-card__badge {
  color: #027a48;
}

.admin-health-card--warn .admin-health-card__badge {
  color: #b54708;
}

.admin-health-card--error .admin-health-card__badge {
  color: #b42318;
}

.admin-health-card__summary {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.admin-health-card__detail {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.4;
}

.admin-health-card__latency {
  margin: 10px 0 0;
  color: #98a2b3;
  font-size: 12px;
}

.admin-health.is-loading .admin-health__grid {
  opacity: 0.55;
  pointer-events: none;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
}

.admin-filters .admin-input {
  flex: 1 1 260px;
}

.admin-filters select.admin-input {
  flex: 0 0 auto;
}

.admin-filters .button-link {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 20px;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
}

.admin-input {
  height: 44px;
  padding: 10px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  font-size: 15px;
  box-sizing: border-box;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #eaecf0;
  vertical-align: top;
}

.admin-table th {
  color: #667085;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table-col-check {
  width: 44px;
  padding-right: 0;
}

.admin-table-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
}

.admin-table-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.admin-table-check--disabled {
  color: #98a2b3;
  font-size: 14px;
}

.admin-bulk-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #f9fafb;
}

.admin-bulk-bar__count {
  font-size: 14px;
  font-weight: 600;
  color: #344054;
}

.admin-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-confirm-modal[hidden] {
  display: none;
}

.admin-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.admin-confirm-modal__panel {
  position: relative;
  width: min(480px, 100%);
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.admin-confirm-modal__title {
  margin: 0 0 12px;
  font-size: 22px;
}

.admin-confirm-modal__text {
  margin: 0 0 12px;
  color: #344054;
}

.admin-confirm-modal__list {
  margin: 0 0 12px;
  padding-left: 20px;
  color: #475467;
  font-size: 14px;
}

.admin-confirm-modal__hint {
  margin: 0 0 20px;
}

.admin-confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.admin-table-actions {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.admin-th-thumb,
.admin-td-thumb {
  width: 52px;
  padding-right: 0;
}

.admin-thumb {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f4f7;
}

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

.admin-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #98a2b3;
}

.admin-title {
  display: inline-block;
  font-weight: 700;
}

.admin-title-slug {
  display: block;
  margin-top: 2px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}

.admin-title-slug:hover {
  color: #667085;
  text-decoration: underline;
}

.admin-site-public-link {
  display: inline-flex;
  margin-top: 4px;
}

.admin-th-actions,
.admin-td-actions {
  width: 96px;
  white-space: nowrap;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-actions form {
  margin: 0;
  line-height: 0;
}

.admin-actions .icon-btn {
  flex: 0 0 auto;
}

.admin-link {
  color: #2563eb;
  text-decoration: none;
}

.admin-link:hover {
  text-decoration: underline;
}

.admin-pagination {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.admin-form {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-top: 12px;
}

.admin-form--wide {
  max-width: 720px;
}

.admin-form > label:not(.admin-checkbox) {
  color: #344054;
  font-weight: 700;
  margin-top: 6px;
}

.admin-form > label:not(.admin-checkbox):first-child,
.admin-form > .admin-subhead + label:not(.admin-checkbox) {
  margin-top: 0;
}

.admin-form > .hint {
  margin-top: -4px;
  margin-bottom: 2px;
}

.admin-form-actions {
  margin-top: 8px;
}

.admin-subnav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 20px;
}

.admin-subnav-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.admin-subnav-link:hover {
  background: #e0e7ff;
}

.admin-subnav-link.is-active {
  background: #172033;
  color: #fff;
}

.admin-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid #dbe1ea;
  border-radius: 12px;
  font: inherit;
  resize: vertical;
}

.admin-textarea--large {
  min-height: 320px;
}

.admin-flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.admin-flash--success {
  background: #ecfdf5;
  color: #047857;
}

.admin-flash--error {
  background: #fef2f2;
  color: #b42318;
}

.admin-favicons {
  margin-top: 8px;
}

.admin-favicon-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.admin-favicon-field__preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  background: #fff;
}

.admin-favicon-field__preview--dark {
  background: #2b2730;
  border-color: #3f3a46;
}

.admin-search-chips {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.admin-search-chip {
  padding: 0;
}

.admin-chip-form {
  margin-top: 0;
  max-width: none;
  gap: 14px;
}

.admin-chip-form--add {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eaecf0;
}

.admin-chip-form__row {
  display: grid;
  grid-template-columns: minmax(140px, 0.85fr) minmax(0, 2fr) 64px;
  gap: 12px 16px;
  align-items: end;
}

.admin-chip-form--bulk .admin-chip-form__row {
  grid-template-columns: minmax(140px, 0.85fr) minmax(0, 2fr) 64px 40px;
}

.admin-chip-form__field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-chip-form__field > label {
  color: #344054;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.admin-chip-form__field .admin-input {
  width: 100%;
  min-width: 0;
}

.admin-chip-form__field--order .admin-input {
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
}

.admin-chip-form__delete {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.admin-chip-form__delete-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  visibility: hidden;
}

.admin-chip-form .admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

@media (max-width: 760px) {
  .admin-chip-form__row,
  .admin-chip-form--bulk .admin-chip-form__row {
    grid-template-columns: 1fr auto;
  }

  .admin-chip-form__field--label,
  .admin-chip-form__field--url {
    grid-column: 1 / -1;
  }

  .admin-chip-form__field--order {
    max-width: 96px;
  }

  .admin-chip-form__delete {
    align-self: end;
  }
}

.admin-mail-events {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.admin-mail-event-wrap {
  scroll-margin-top: 96px;
}

.admin-mail-event {
  border: 1px solid #eaecf0;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.admin-mail-event__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.admin-mail-event__summary::-webkit-details-marker {
  display: none;
}

.admin-mail-event__summary-main {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-mail-event__summary-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-mail-event__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.admin-mail-event__desc {
  margin: 6px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.admin-mail-event__status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.admin-mail-event__status.is-on {
  background: #ecfdf5;
  color: #047857;
}

.admin-mail-event__status.is-off {
  background: #f2f4f7;
  color: #667085;
}

.admin-mail-event__chevron {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  position: relative;
}

.admin-mail-event__chevron::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #667085;
  border-bottom: 2px solid #667085;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.15s ease;
}

.admin-mail-event[open] .admin-mail-event__chevron::before {
  transform: translate(-50%, -35%) rotate(-135deg);
}

.admin-mail-event__body {
  padding: 0 18px 18px;
  border-top: 1px solid #eaecf0;
}

.admin-mail-event__form {
  margin-top: 16px;
}

.admin-mail-event__enabled {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  justify-self: start;
  margin: 0;
  color: #344054;
  font-weight: 600;
  cursor: pointer;
}

.admin-mail-event__enabled input {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.admin-mail-event__tokens code {
  font-size: 13px;
}

.admin-input--wide {
  width: 100%;
  max-width: none;
}

.admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #344054;
  cursor: pointer;
  white-space: nowrap;
}

.admin-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #4f46e5;
}

.admin-checkbox span {
  line-height: 1.3;
}

.admin-danger-form {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eaecf0;
}

.admin-danger-btn {
  border-color: #fda29b !important;
  color: #b42318 !important;
}

.admin-breadcrumb {
  margin: 0 0 8px;
}

.admin-subhead {
  margin: 32px 0 12px;
  font-size: 20px;
}

.admin-meta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-meta-row {
  display: flex;
  gap: 16px;
}

.admin-meta-label {
  min-width: 120px;
  color: #667085;
  font-weight: 700;
}

.admin-owner-row {
  align-items: flex-start;
}

.admin-owner-field {
  display: grid;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.admin-owner-current--empty {
  color: #98a2b3;
}

.admin-owner-message {
  margin: 0;
  font-size: 14px;
}

.admin-owner-message--success {
  color: #027a48;
}

.admin-owner-message--error {
  color: #b42318;
}

.admin-owner-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  max-width: 520px;
}

.admin-owner-form .admin-autocomplete {
  flex: 1 1 240px;
  min-width: 200px;
}

.admin-autocomplete {
  position: relative;
}

.admin-autocomplete__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  max-height: 240px;
  overflow: auto;
}

.admin-autocomplete__item {
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
}

.admin-autocomplete__item:hover,
.admin-autocomplete__item.is-active {
  background: #f2f4f7;
}

.admin-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 14px;
  font-weight: 600;
}

.admin-chip--off {
  background: #f2f4f7;
  color: #98a2b3;
}

.admin-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}

.admin-badge--test {
  background: #fef0c7;
  color: #b54708;
}

.admin-filter-toggle {
  margin: 0 0 16px;
  font-size: 14px;
}

.admin-td-visits {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #475467;
  font-size: 13px;
}

.admin-visits-bots {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #98a2b3;
  font-weight: 500;
}

.admin-th-visits {
  white-space: nowrap;
}

.admin-visits-sort {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.admin-visits-sep {
  color: #98a2b3;
  font-weight: 500;
}

.admin-sort-link {
  color: #475467;
  text-decoration: none;
  font-weight: 600;
  padding: 0 1px;
}

.admin-sort-link:hover {
  color: #101828;
  text-decoration: underline;
}

.admin-sort-link.is-active {
  color: #101828;
}

.admin-sort-dir {
  font-size: 11px;
  margin-left: 1px;
}

.admin-jobs {
  display: grid;
  gap: 12px;
}

.admin-job {
  border: 1px solid #eaecf0;
  border-left-width: 4px;
  border-radius: 12px;
  padding: 14px 16px;
}

.admin-job--failed {
  border-left-color: #f04438;
}

.admin-job--succeeded {
  border-left-color: #12b76a;
}

.admin-job--running,
.admin-job--pending {
  border-left-color: #f79009;
}

.admin-job-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-job-status {
  font-weight: 800;
}

.admin-job-date,
.admin-job-meta {
  color: #667085;
  font-size: 14px;
}

.admin-job-error {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: #fef3f2;
  color: #b42318;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
}

.admin-job-warnings {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #b54708;
  font-size: 14px;
}

@media (max-width: 760px) {
  .main.main-admin {
    width: 100%;
    max-width: none;
    margin: 0;
    --admin-gutter: clamp(14px, 3vw, 32px);
  }

  .main-admin .admin-panel {
    border-radius: 24px 24px 0 0;
    border-left: 0;
    border-right: 0;
    box-shadow: 0 -8px 40px rgba(16, 24, 40, 0.06);
    padding-inline: var(--admin-gutter);
  }

  .admin-nav,
  .admin-subnav {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--admin-gutter));
    padding-inline: var(--admin-gutter);
  }

  .admin-nav::-webkit-scrollbar,
  .admin-subnav::-webkit-scrollbar {
    display: none;
  }
}

.admin-showcase-add {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eaecf0;
}

.admin-showcase-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 6px;
}

.admin-showcase-order {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.admin-showcase-order > div {
  display: grid;
  gap: 8px;
}

.admin-showcase-list {
  display: grid;
  gap: 20px;
}

.admin-showcase-item {
  padding: 20px;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  background: #fff;
}

.admin-showcase-item__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.admin-showcase-item__preview {
  flex: 0 0 120px;
  width: 120px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #f2f4f7;
}

.admin-showcase-item__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-showcase-item__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.admin-showcase-item__warn {
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
}

.admin-showcase-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 640px) {
  .admin-showcase-order {
    grid-template-columns: 1fr;
  }

  .admin-showcase-item__head {
    flex-direction: column;
  }
}

.site-edit-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  --preview-content-w: min(1120px, calc(100% - 32px));
}

.site-edit-main {
  flex: 1 1 auto;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-edit-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.site-edit-sidebar {
  position: sticky;
  top: 88px;
  z-index: 5;
  padding: 14px 12px;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  background: #fff;
  max-height: calc(100vh - 112px);
  overflow: auto;
}

.site-edit-sidebar__label {
  margin: 0 8px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #667085;
}

.site-edit-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-edit-sidebar__item.has-divider {
  /* nav gap is 2px; +8px → 10px above the line, matching margin below */
  margin-top: 8px;
}

.site-edit-sidebar__divider {
  display: block;
  width: calc(100% - 16px);
  margin: 0 8px 10px;
  border: 0;
  border-top: 1px solid #e4e7ec;
}

.site-edit-sidebar__link {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #344054;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, opacity 0.12s ease;
}

.site-edit-sidebar__link:hover {
  background: #f2f4f7;
  color: #101828;
}

.site-edit-sidebar__link.is-active {
  background: rgba(105, 65, 198, 0.1);
  color: #6941c6;
  font-weight: 600;
}

.site-edit-sidebar__link.is-extras:not(.is-active),
.site-edit-sidebar__link.is-disabled:not(.is-active) {
  color: #98a2b3;
  font-weight: 500;
  opacity: 0.72;
}

.site-edit-sidebar__link.is-extras.is-active,
.site-edit-sidebar__link.is-disabled.is-active {
  color: #6941c6;
  opacity: 1;
}

.site-edit-sidebar__link.is-extras:not(.is-active):hover,
.site-edit-sidebar__link.is-disabled:not(.is-active):hover {
  color: #667085;
  background: #f9fafb;
  opacity: 0.9;
}

.site-edit-content {
  min-width: 0;
}

.site-edit-section[data-edit-block] {
  scroll-margin-top: 96px;
}

@media (max-width: 1100px) {
  .site-edit-main {
    width: min(920px, calc(100% - 32px));
  }

  .site-edit-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-edit-sidebar {
    display: none;
  }
}

.site-edit-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  background: #fff;
}

.site-edit-filter-bar__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #344054;
}

.site-edit-filter-bar__controls {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: #f2f4f7;
}

.site-edit-filter-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475467;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  min-height: 34px;
  padding: 8px 14px;
  cursor: pointer;
}

.site-edit-filter-btn.is-active {
  background: #fff;
  color: #101828;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}

.site-edit-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-edit-extras {
  order: 850;
  display: grid;
  gap: 12px;
}

.site-edit-section.is-extras {
  opacity: 0.92;
}

.site-edit-extras__toggle {
  width: 100%;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  background: #fff;
}

.site-edit-extras.is-open .site-edit-extras__toggle .gl-icon {
  transform: rotate(180deg);
}

.site-edit-section__head--placeholder {
  cursor: pointer;
}

.site-edit-section__head--placeholder .site-edit-section__toggle {
  cursor: pointer;
}

.site-edit-flash {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.site-edit-flash--success {
  background: #ecfdf3;
  color: #027a48;
}

.site-edit-flash--error {
  background: #fef3f2;
  color: #b42318;
}

.site-edit-form {
  display: grid;
  gap: 12px;
}

.site-edit-section {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  overflow: hidden;
}

.site-edit-section.is-disabled {
  opacity: 0.72;
}

.site-edit-section.is-disabled .site-edit-section__toggle > span {
  color: #667085;
}

.site-edit-section__head {
  display: flex;
  align-items: stretch;
}

.site-edit-section-bg {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 4px 0 4px;
}

.site-edit-section-bg__swatch {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-radius: 8px;
}

.site-edit-section__head .site-edit-color-picker {
  flex: 0 0 auto;
  align-self: center;
  padding: 0 4px;
}

.site-edit-section__chevron {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0 20px 0 8px;
  color: inherit;
  cursor: pointer;
}

.site-edit-section__move {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 4px;
}

.site-edit-section__move-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0 2px;
  color: inherit;
  cursor: pointer;
  opacity: 0.72;
}

.site-edit-section__move-btn:hover {
  opacity: 1;
}

.site-edit-section.is-open > .site-edit-section__head .site-edit-section__chevron .gl-icon,
.site-edit-section.is-open .site-edit-section__chevron .gl-icon {
  transform: rotate(180deg);
}

.site-edit-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 10px 0 16px;
  cursor: pointer;
}

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

.site-edit-toggle__track {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #d0d5dd;
  transition: background 0.18s ease;
}

.site-edit-toggle__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
  transition: transform 0.18s ease;
}

.site-edit-toggle__input:checked + .site-edit-toggle__track {
  background: #6941c6;
}

.site-edit-toggle__input:checked + .site-edit-toggle__track::after {
  transform: translateX(16px);
}

.site-edit-toggle__input:focus-visible + .site-edit-toggle__track {
  outline: 2px solid #6941c6;
  outline-offset: 2px;
}

.site-edit-section__toggle {
  flex: 1 1 auto;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 0;
  background: #fff;
  padding: 18px 8px 18px 8px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  color: #101828;
  cursor: pointer;
  text-align: left;
}

.site-edit-section__toggle--full {
  width: auto;
  padding: 18px 8px 18px 20px;
}

.site-edit-section__body {
  display: grid;
  gap: 16px;
  padding: 0 20px 20px;
}

.site-edit-subsection {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.site-edit-subsection__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #344054;
}

.site-edit-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-edit-menu-grid {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 8px 20px;
  align-items: center;
}

.site-edit-menu-grid__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #344054;
}

.site-edit-menu-grid__label--name {
  grid-column: 2;
}

.site-edit-menu-grid__logo {
  grid-column: 1;
  grid-row: 2;
}

.site-edit-menu-grid__name {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.site-edit-menu-grid__name input {
  width: 100%;
}

.site-edit-brand__wrap {
  position: relative;
  width: 64px;
  height: 64px;
}

.site-edit-brand__delete {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #fff;
  color: #667085;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.site-edit-brand__delete:hover {
  color: #344054;
  border-color: #d0d5dd;
}

.site-edit-brand__upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px dashed #d0d5dd;
  border-radius: 999px;
  background: #f9fafb;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}

.site-edit-brand__upload.has-image {
  border-style: solid;
  border-color: #e4e7ec;
}

.site-edit-brand__upload.is-fallback .site-edit-brand__preview {
  opacity: 0.72;
}

.site-edit-brand__upload.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.site-edit-brand__file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.site-edit-brand__placeholder {
  color: #667085;
  font-size: 24px;
  line-height: 1;
}

.site-edit-brand__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  background: #f9fafb;
}

.site-edit-brand__preview[src*=".svg"] {
  object-fit: contain;
  padding: 6px;
  background: #fff;
}

.site-edit-gallery-grid--portfolio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-edit-section__body .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 760px) {
  .site-edit-section__body .form-grid {
    grid-template-columns: 1fr;
  }
}

.site-edit-section__body .form-field input,
.site-edit-section__body .form-field textarea,
.site-edit-repeater input,
.site-edit-gallery input[type="url"] {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  font: inherit;
  padding: 12px 14px;
  box-sizing: border-box;
}

.site-edit-repeater {
  display: grid;
  gap: 10px;
}

.site-edit-stack {
  display: grid;
  gap: 12px;
}

.site-edit-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fcfcfd;
}

.site-edit-card textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  font: inherit;
  padding: 12px 14px;
  box-sizing: border-box;
  resize: vertical;
}

.site-edit-repeater__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.8fr) auto;
  gap: 8px;
  align-items: center;
}

.site-edit-repeater__row--two {
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
}

.site-edit-repeater__row--portfolio {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.85fr) auto;
}

.site-edit-repeater__row--detail {
  grid-template-columns: auto 52px minmax(0, 1fr) minmax(0, 1fr) auto;
}

.site-edit-repeater__row--amenity {
  grid-template-columns: auto minmax(0, 1fr) 52px auto;
}

.site-edit-repeater__row--education {
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) 4.75rem auto;
}

.site-edit-repeater__year {
  width: 100%;
  text-align: center;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.site-edit-repeater__row--single {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-edit-repeater__row--group-title {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-edit-drag-handle {
  border: 1px solid transparent;
  background: transparent;
  color: #98a2b3;
  width: 32px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  padding: 0;
  flex-shrink: 0;
  touch-action: none;
}

.site-edit-drag-handle:hover {
  color: #475467;
  background: #f2f4f7;
  border-color: #e4e7ec;
}

.site-edit-drag-handle:active {
  cursor: grabbing;
}

.site-edit-repeater__row.is-dragging {
  opacity: 0.45;
}

.site-edit-icon-picker {
  position: relative;
}

.site-edit-icon-picker__btn {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.site-edit-icon-picker__btn:hover {
  border-color: #98a2b3;
  background: #f9fafb;
}

.site-edit-icon-picker__glyph {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}

.site-edit-icon-picker__btn--compact {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  justify-content: center;
}

.site-edit-icon-picker__pack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.site-edit-icon-picker__pack .site-edit-pack-icon,
.site-edit-icon-picker__pack .gl-icon {
  width: 20px;
  height: 20px;
}

.site-edit-icon-picker__label {
  display: none;
}

.site-edit-icon-picker__panel {
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.14);
  overflow: hidden;
  overscroll-behavior: contain;
  box-sizing: border-box;
}

.site-edit-icon-picker__emoji-pane,
.site-edit-icon-picker__pack-pane {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
}

.site-edit-icon-picker__tabs {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.site-edit-icon-picker__tab {
  flex: 1 1 0;
  min-height: 34px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #f9fafb;
  color: #475467;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.site-edit-icon-picker__tab.is-active {
  background: #fff;
  border-color: #98a2b3;
  color: #172033;
}

.site-edit-icon-picker__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
}

.site-edit-icon-picker__curated-set {
  display: contents;
}

.site-edit-icon-picker__grid--scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
}

.site-edit-icon-picker__search {
  width: 100%;
  min-height: 36px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.site-edit-icon-picker__categories {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: max-content;
  gap: 6px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  max-height: 72px;
  flex: 0 0 auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.site-edit-icon-picker__categories::-webkit-scrollbar {
  height: 6px;
}

.site-edit-icon-picker__category {
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #f9fafb;
  color: #475467;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  white-space: nowrap;
}

.site-edit-icon-picker__category.is-active {
  background: #fff;
  border-color: #98a2b3;
  color: #172033;
}

.site-edit-icon-picker__option--pack {
  color: var(--icon-picker-accent, #1a1929);
}

.site-edit-icon-picker__option--pack .site-edit-pack-icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.site-edit-icon-picker__hint,
.site-edit-icon-picker__empty {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #667085;
  flex: 0 0 auto;
}

.site-edit-icon-picker__option--pack.is-remote {
  border-style: dashed;
}

.site-edit-icon-picker__panel--floating {
  position: fixed;
  z-index: 10050;
}

.site-edit-icon-picker__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.site-edit-icon-picker__option:hover {
  border-color: #98a2b3;
  background: #f9fafb;
}

.site-edit-icon-picker__option.is-selected {
  border-color: #6941c6;
  background: #f4ebff;
  box-shadow: inset 0 0 0 1px #6941c6;
}

.site-edit-icon-btn {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.site-edit-icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.site-edit-icon-btn--up .gl-icon {
  transform: rotate(90deg);
}

.site-edit-gallery {
  display: grid;
  gap: 10px;
}

.site-edit-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.site-edit-gallery-grid__add {
  position: relative;
  display: block;
  aspect-ratio: 1.25;
  border: 2px dashed #d0d5dd;
  border-radius: 12px;
  background: #f9fafb;
  cursor: pointer;
}

.site-edit-gallery-grid__add.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.site-edit-gallery-grid__file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.site-edit-gallery-grid__add.is-disabled .site-edit-gallery-grid__file {
  cursor: not-allowed;
}

.site-edit-gallery-grid__add-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 12px;
  text-align: center;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
}

.site-edit-gallery-grid__tile {
  position: relative;
  aspect-ratio: 1.25;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f4f7;
}

.site-edit-gallery-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-edit-gallery-grid__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(16, 24, 40, 0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.site-edit-gallery-grid__tile:hover .site-edit-gallery-grid__overlay,
.site-edit-gallery-grid__tile:focus-within .site-edit-gallery-grid__overlay {
  opacity: 1;
}

.site-edit-gallery-grid__overlay .site-edit-icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.site-edit-gallery-grid__overlay .site-edit-icon-btn:disabled {
  opacity: 0.35;
}

.site-edit-gallery__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.site-edit-gallery__thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  background: #f2f4f7;
}

.site-edit-gallery__thumb-cell {
  position: relative;
  width: 72px;
  height: 54px;
  flex-shrink: 0;
}

.site-edit-gallery-preview {
  position: fixed;
  z-index: 1200;
  padding: 6px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.14);
  pointer-events: none;
}

.site-edit-gallery-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
}

.site-edit-video-preview {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-edit-video-play {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  font-weight: 400;
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.site-edit-video-play img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0.9;
  background: #0f172a;
}

.site-edit-video-play:hover img {
  opacity: 1;
}

.site-edit-video-play__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  pointer-events: none;
}

.site-edit-video-play__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

.vmodal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1300;
}

.vmodal.is-open {
  display: block;
}

.vmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
}

.vmodal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 400;
  line-height: 1;
}

.vmodal-close .gl-icon {
  margin: 0;
}

.vmodal-close:hover {
  background: rgba(255, 255, 255, 0.26);
}

.vmodal-stage {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
}

.vmodal-frame {
  width: min(1000px, 96vw);
  max-height: 86vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vmodal-frame iframe,
.vmodal-frame video {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  border: 0;
  display: block;
}

.site-edit-gallery__actions {
  display: flex;
  gap: 6px;
}

.site-edit-gallery__add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.site-edit-video-embed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.site-edit-video-embed-row .button-link {
  white-space: nowrap;
}

.site-edit-video-embed-row__delete {
  flex-shrink: 0;
}

.site-edit-video-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 8px;
  font-size: 13px;
  color: #64748b;
}

.site-edit-video-services__item {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 500;
}

.site-edit-video-warning {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.45;
}

.site-edit-description-embed {
  margin-top: 18px;
}

.site-edit-description-embed-preview {
  margin: 8px 0 12px;
}

.site-edit-description-embed-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
  aspect-ratio: 560 / 400;
  max-width: 640px;
}

.site-edit-description-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vmodal-frame .vmodal-notice {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.95);
  color: #9a3412;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.site-edit-quill {
  position: relative;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.site-edit-quill .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid #e4e7ec;
  border-radius: 0;
}

.site-edit-quill .ql-container.ql-snow {
  min-height: 220px;
  border: 0;
  border-radius: 0;
  font: inherit;
}

.site-edit-quill .ql-editor {
  padding-bottom: 16px;
  line-height: 1.55;
}

.site-edit-section__body--description {
  padding-bottom: 24px;
}

.site-edit-emoji-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
}

.site-edit-emoji-panel {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
}

.site-edit-emoji-item {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px;
}

.site-edit-readonly-list {
  margin: 0;
  padding-left: 18px;
  color: #344054;
}

.site-edit-readonly-list li {
  margin-bottom: 8px;
}

.site-edit-readonly-list--reviews p {
  margin: 4px 0 0;
  color: #667085;
}

.site-edit-hint {
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.site-edit-field-fill {
  justify-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #6941c6;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-edit-field-fill:hover:not(:disabled) {
  color: #42307d;
}

.site-edit-field-fill:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.site-edit-hint--error {
  color: #b42318;
}

.site-edit-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.site-edit-field-head label {
  margin: 0;
}

.site-edit-map-wrap {
  display: grid;
  gap: 8px;
}

.site-edit-map {
  height: 280px;
  min-height: 280px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  overflow: hidden;
  background: #e8eef5;
  z-index: 0;
  font: inherit;
}

.site-edit-map.leaflet-container {
  z-index: 0;
  font: inherit;
  background: #e8eef5;
}

.site-edit-map .leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  border: 0 !important;
  color: #101828 !important;
  font-size: 18px !important;
  font-weight: 600;
}

.site-edit-map .leaflet-control-zoom {
  border: 1px solid #d0d5dd !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08) !important;
}

.site-edit-map .leaflet-bar a:hover {
  background: #f9fafb !important;
}

.site-edit-map-hint {
  margin-top: 0;
}

.site-edit-map .leaflet-control-attribution {
  font-size: 0;
  line-height: 0;
  background: transparent;
  color: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  max-width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-edit-reviews-summary p {
  margin: 0 0 8px;
}

.site-edit-reviews-disclaimer {
  margin-top: 4px;
}

.site-edit-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #344054;
  cursor: pointer;
}

.site-edit-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #6941c6;
}

.site-edit-reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.site-edit-reviews-refresh {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #101828;
  color: #fff;
  cursor: pointer;
}

.site-edit-reviews-refresh:hover:not(:disabled) {
  background: #1d2939;
}

.site-edit-reviews-refresh:disabled {
  opacity: 0.65;
  cursor: wait;
}

.site-edit-reviews-result {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #f9fafb;
}

.site-edit-reviews-result.is-ok {
  border-color: #abefc6;
  background: #ecfdf3;
}

.site-edit-reviews-result.is-warning {
  border-color: #f9dbaf;
  background: #fffaeb;
}

.site-edit-reviews-result.is-error {
  border-color: #fecdca;
  background: #fef3f2;
}

.site-edit-reviews-result__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #101828;
}

.site-edit-reviews-result__message {
  margin: 0;
  color: #344054;
  font-size: 14px;
}

.site-edit-reviews-result__stats,
.site-edit-reviews-result__cases {
  margin: 0;
  padding-left: 18px;
  color: #475467;
  font-size: 14px;
}

.site-edit-reviews-result__stats li,
.site-edit-reviews-result__cases li {
  margin: 0 0 4px;
}

@media (max-width: 760px) {
  .site-edit-repeater__row,
  .site-edit-repeater__row--two,
  .site-edit-repeater__row--detail,
  .site-edit-repeater__row--portfolio,
  .site-edit-repeater__row--amenity,
  .site-edit-repeater__row--education,
  .site-edit-gallery__row,
  .site-edit-gallery__add {
    grid-template-columns: 1fr;
  }

  .site-edit-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-edit-gallery-grid--portfolio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-edit-gallery__actions {
    justify-content: flex-start;
  }
}

/* CMS pages admin */
.admin-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.admin-list-head h1 {
  margin: 0;
}

.admin-path-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-path-prefix {
  color: #667085;
  font-weight: 600;
  white-space: nowrap;
}

.admin-path-field .admin-input {
  flex: 1 1 240px;
}

.admin-inline-form {
  display: inline;
}

.admin-link--danger {
  color: #b42318;
}

.admin-status--published {
  color: #027a48;
  font-weight: 600;
}

.admin-cms-quill {
  margin: 8px 0 20px;
}

.admin-cms-quill .ql-container.ql-snow {
  min-height: 280px;
}

.admin-cms-quill .ql-editor {
  min-height: 280px;
  color: #101828;
  font-size: 15px;
  line-height: 1.55;
}

.admin-cms-quill .ql-editor ul,
.admin-cms-quill .ql-editor ol {
  padding-left: 1.5em;
}

.admin-cms-quill .ql-editor li {
  color: #101828;
}

.admin-cms-media {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #eaecf0;
}

.admin-cms-media__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.admin-cms-media__head .admin-subhead {
  margin: 0;
}

.admin-cms-upload-btn {
  cursor: pointer;
}

.admin-cms-media__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.admin-cms-media__item {
  margin: 0;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.admin-cms-media__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f2f4f7;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
}

.admin-cms-media__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-cms-media__item figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 10px;
}

.admin-cms-media__name {
  font-size: 12px;
  color: #667085;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-page-form textarea.admin-input {
  height: auto;
  min-height: 64px;
  resize: vertical;
}

.admin-back {
  margin: 0 0 8px;
}

.lp-legal__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

