@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap";
@import "https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..100,600..900&family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap";

/* src/editor.css */
.visual-editor {
  --ve-ink: #17181c;
  --ve-muted: #74757b;
  --ve-line: #dedfdc;
  --ve-indigo: #4f46e5;
  display: grid;
  grid-template-rows: 64px 1fr;
  height: var(--cms-vvh, 100dvh);
  overflow: hidden;
  touch-action: manipulation;
  overscroll-behavior: none;
  color: var(--ve-ink);
  background: #e8e9e7;
  font-family: Inter, sans-serif;
}
@media (pointer: coarse) {
  .ve-history button,
  .ve-viewports button,
  .ve-top-actions button,
  .ve-properties button,
  .ve-media-grid button {
    min-width: 44px;
    min-height: 44px;
  }
  .visual-editor input,
  .visual-editor textarea,
  .visual-editor select {
    font-size: 16px;
  }
}
.ve-topbar {
  z-index: 4;
  display: grid;
  grid-template-columns: 230px minmax(150px, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--ve-line);
  box-shadow: 0 1px 12px rgba(28, 29, 35, 0.04);
}
.ve-topbar button {
  font: inherit;
}
.ve-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 10px;
  color: var(--ve-ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
}
.ve-brand:hover {
  background: #f1f1ef;
}
.ve-brand img {
  width: 25px;
  height: 25px;
}
.ve-brand strong {
  font: 700 14px "Space Grotesk";
  letter-spacing: 0.08em;
}
.ve-brand span {
  padding-left: 8px;
  color: #8a8b90;
  border-left: 1px solid var(--ve-line);
  font-size: 11px;
}
.ve-page-title {
  min-width: 0;
}
.ve-page-title strong,
.ve-page-title small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ve-page-title strong {
  font: 600 13px "Space Grotesk";
}
.ve-page-title small {
  margin-top: 3px;
  color: var(--ve-muted);
  font-size: 10px;
}
.ve-history,
.ve-viewports,
.ve-top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ve-history button,
.ve-viewports button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #5d5f65;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 18px;
}
.ve-history button:hover,
.ve-viewports button:hover,
.ve-viewports button.active {
  color: var(--ve-indigo);
  background: #eeedff;
}
.ve-history button:disabled {
  opacity: 0.25;
}
.ve-history > span {
  min-width: 110px;
  margin-left: 6px;
  color: #6f7076;
  font-size: 10px;
}
.ve-history > span.saving {
  color: #9b6828;
}
.ve-history > span.error {
  color: #a72c2c;
}
.ve-viewports {
  padding: 3px;
  background: #f0f0ee;
  border-radius: 9px;
}
.ve-top-actions button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  color: #3f4045;
  background: #fff;
  border: 1px solid var(--ve-line);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}
.ve-top-actions button:hover {
  background: #f5f5f3;
}
.ve-top-actions .publish {
  color: #fff;
  background: var(--ve-indigo);
  border-color: var(--ve-indigo);
}
.ve-top-actions .publish:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.ve-body {
  display: grid;
  grid-template-columns: 74px 230px minmax(320px, 1fr) 280px;
  min-height: 0;
}
.ve-tools {
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 7px;
  background: #1d1e23;
  border-right: 1px solid #303137;
}
.ve-tools button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 61px;
  padding: 7px 3px;
  color: #aeb0b8;
  background: transparent;
  border: 0;
  border-radius: 9px;
}
.ve-tools button > span {
  font: 500 21px "Space Grotesk";
}
.ve-tools small {
  font-size: 9px;
}
.ve-tools button:hover,
.ve-tools button.active {
  color: #fff;
  background: #33343c;
}
.ve-library,
.ve-properties {
  z-index: 2;
  min-width: 0;
  overflow: auto;
  background: #f8f8f6;
}
.ve-library {
  border-right: 1px solid var(--ve-line);
}
.ve-library-head,
.ve-properties-head {
  padding: 20px 17px 16px;
  border-bottom: 1px solid var(--ve-line);
}
.ve-library-head small,
.ve-properties-head small {
  color: #898a90;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ve-library-head h2,
.ve-properties-head h2 {
  margin: 5px 0 0;
  font: 600 17px "Space Grotesk";
}
.ve-add-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
}
.ve-add-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 83px;
  padding: 13px;
  color: var(--ve-ink);
  background: #fff;
  border: 1px solid #e3e3df;
  border-radius: 9px;
  text-align: left;
  transition: 0.18s ease;
}
.ve-add-grid button:hover {
  border-color: #aaa7ed;
  box-shadow: 0 8px 20px rgba(55, 50, 140, 0.08);
  transform: translateY(-1px);
}
.ve-add-grid span {
  font: 500 22px "Space Grotesk";
}
.ve-add-grid strong {
  font-size: 10px;
}
.ve-presets {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.ve-presets button {
  padding: 8px;
  color: var(--ve-ink);
  background: #fff;
  border: 1px solid #e3e3df;
  border-radius: 9px;
  text-align: left;
}
.ve-presets button:hover {
  border-color: #aaa7ed;
}
.ve-presets button > span {
  display: block;
  height: 78px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: #e8e7e1;
}
.ve-presets strong,
.ve-presets small {
  display: block;
  padding: 0 5px;
}
.ve-presets strong {
  font-size: 11px;
}
.ve-presets small {
  margin: 4px 0 3px;
  color: #85868b;
  font-size: 9px;
}
.preset-hero {
  background:
    linear-gradient(
      135deg,
      #1e2030 55%,
      #4f46e5 55%);
}
.preset-split {
  background:
    linear-gradient(
      90deg,
      #c6c3b9 48%,
      #f0efe9 48%);
}
.preset-content {
  background:
    linear-gradient(
      #f0efe9 28%,
      #cbc9c0 28% 35%,
      #f0efe9 35%);
}
.preset-cta {
  background:
    radial-gradient(
      circle at 70% 35%,
      #7770ee 0 18%,
      #242530 19%);
}
.ve-page-list {
  padding: 10px;
}
.ve-navigator {
  padding: 10px 7px 18px;
}
.ve-navigator ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ve-navigator ul ul {
  margin-left: 8px;
  border-left: 1px solid #dddcd8;
}
.ve-navigator button {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 34px;
  padding: 5px 8px;
  overflow: hidden;
  color: #68696f;
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
}
.ve-navigator button:hover,
.ve-navigator button.active {
  color: var(--ve-indigo);
  background: #ecebff;
}
.ve-navigator button > span:first-child {
  flex: 0 0 18px;
  color: #999;
  text-align: center;
}
.ve-navigator button > span:last-child {
  overflow: hidden;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ve-page-list button {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  color: #5b5c62;
  background: transparent;
  border: 0;
  border-radius: 7px;
  text-align: left;
}
.ve-page-list button:hover,
.ve-page-list button.active {
  color: var(--ve-indigo);
  background: #ecebff;
}
.ve-page-list strong,
.ve-page-list small {
  display: block;
}
.ve-page-list strong {
  font-size: 11px;
}
.ve-page-list small {
  margin-top: 3px;
  color: #999;
  font-size: 9px;
}
.ve-design-help,
.ve-panel-empty {
  padding: 34px 20px;
  text-align: center;
}
.ve-design-help > span,
.ve-panel-empty > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: auto;
  color: var(--ve-indigo);
  background: #e9e8fb;
  border-radius: 14px;
  font-size: 21px;
}
.ve-design-help h3,
.ve-panel-empty h3 {
  margin: 15px 0 7px;
  font-size: 13px;
}
.ve-design-help p,
.ve-panel-empty p {
  margin: 0;
  color: #7e7f84;
  font-size: 10px;
  line-height: 1.6;
}
.ve-stage {
  overflow: auto;
  padding: 34px;
  overscroll-behavior: contain;
  background-color: #dcdddb;
}
.ve-viewport {
  min-height: calc(100dvh - 132px);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 18px 50px rgba(25, 27, 34, 0.16);
  transition: width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ve-viewport.viewport-desktop {
  width: 100%;
  max-width: 1280px;
}
.ve-viewport.viewport-tablet {
  width: 768px;
  max-width: 100%;
}
.ve-viewport.viewport-mobile {
  width: 390px;
  max-width: 100%;
}
.ve-site-nav,
.ve-site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  background: #fff;
}
.ve-site-nav {
  min-height: 72px;
  padding: 16px 5%;
  border-bottom: 1px solid #ecece8;
}
.ve-site-nav strong {
  font: 700 17px "Space Grotesk";
}
.ve-site-nav span {
  font-size: 11px;
}
.ve-menu-preview {
  display: none;
}
.viewport-mobile .ve-site-nav span {
  display: none;
}
.viewport-mobile .ve-menu-preview {
  display: block;
  font-size: 11px;
  font-weight: 700;
}
.ve-site-footer {
  min-height: 90px;
  padding: 36px 5%;
  color: #f7f7f4;
  background: #1d1e23;
}
.ve-site-footer small {
  opacity: 0.65;
}
.ve-section {
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 560px;
  min-height: 180px;
  padding: 80px max(24px, 7%);
  outline: 1px solid transparent;
  outline-offset: -2px;
  transition: outline-color 0.15s;
}
.ve-section:hover {
  outline-color: #aaa7ed;
}
.ve-section.is-selected {
  outline: 2px solid var(--ve-indigo);
  outline-offset: -2px;
}
.ve-section-label {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  padding: 5px 8px;
  color: #fff;
  background: var(--ve-indigo);
  font-size: 8px;
  letter-spacing: 0.04em;
}
.ve-section:hover > .ve-section-label,
.ve-section.is-selected > .ve-section-label {
  display: block;
}
.ve-section-inner {
  display: grid;
  align-content: center;
  gap: 20px;
  max-width: 1180px;
  margin: auto;
}
.role-hero {
  min-height: 560px;
  color: #fff;
  background: #242530;
}
.role-hero .ve-heading {
  max-width: 900px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
}
.role-hero .ve-text {
  max-width: 620px;
  color: #d0d1d5;
}
.role-image-text .ve-section-inner {
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
}
.role-image-text .ve-image {
  grid-row: 1/3;
  min-height: 360px;
}
.role-cta {
  text-align: center;
  background: #ebeaff;
}
.role-cta .ve-section-inner {
  justify-items: center;
}
.ve-element,
.ve-container {
  position: relative;
  outline: 1px solid transparent;
  outline-offset: 4px;
}
.ve-element:hover,
.ve-container:hover {
  outline-color: #8e89e7;
}
.ve-element.is-selected,
.ve-container.is-selected {
  outline: 2px solid var(--ve-indigo);
  outline-offset: 4px;
}
.ve-heading {
  max-width: 900px;
  margin: 0;
  font: 700 clamp(36px, 6vw, 72px) / 1 "Space Grotesk";
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.ve-text {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}
.ve-button {
  display: inline-flex;
  width: max-content;
  padding: 13px 20px;
  color: #fff;
  background: var(--ve-indigo);
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.ve-image {
  overflow: hidden;
  min-height: 260px;
  background: #e6e5df;
}
.ve-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.ve-image-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  color: #777;
  text-align: center;
}
.ve-image-empty span {
  font-size: 27px;
}
.ve-image-empty strong {
  margin-top: 8px;
  font-size: 12px;
}
.ve-image-empty small {
  margin-top: 5px;
  font-size: 9px;
}
.ve-divider hr {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.25;
}
.ve-spacer {
  min-height: 50px;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 5px,
      rgba(79, 70, 229, 0.06) 5px,
      rgba(79, 70, 229, 0.06) 10px);
}
.viewport-mobile .ve-section {
  padding: 58px 24px 66px;
}
.viewport-mobile .role-hero {
  min-height: 570px;
}
.viewport-mobile .role-image-text .ve-section-inner {
  grid-template-columns: 1fr;
}
.viewport-mobile .role-image-text .ve-image {
  grid-row: auto;
  min-height: 240px;
}
.viewport-mobile .ve-heading {
  font-size: 38px;
}
.ve-empty-canvas {
  display: grid;
  place-items: center;
  width: calc(100% - 80px);
  min-height: 280px;
  margin: 40px;
  padding: 30px;
  color: #777;
  background: #fafaf8;
  border: 1px dashed #aaa;
  border-radius: 8px;
}
.ve-properties {
  border-left: 1px solid var(--ve-line);
}
.ve-properties-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.ve-properties-head > div:last-child {
  display: flex;
}
.ve-properties-head button {
  width: 29px;
  height: 29px;
  color: #777;
  background: transparent;
  border: 0;
  border-radius: 6px;
}
.ve-properties-head button:hover {
  color: var(--ve-indigo);
  background: #e9e8fb;
}
.ve-properties fieldset {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 18px 16px;
  border: 0;
  border-bottom: 1px solid var(--ve-line);
}
.ve-properties legend {
  padding: 0;
  color: #78797e;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ve-properties label {
  display: grid;
  gap: 6px;
  color: #66676d;
  font-size: 9px;
  font-weight: 600;
}
.ve-properties input,
.ve-properties textarea,
.ve-properties select {
  width: 100%;
  padding: 9px 10px;
  color: #292a2f;
  background: #fff;
  border: 1px solid #d9d9d5;
  border-radius: 6px;
  font: 11px Inter;
}
.ve-properties textarea {
  min-height: 85px;
  resize: vertical;
  line-height: 1.5;
}
.ve-properties input[type=color] {
  height: 38px;
  padding: 4px;
}
.ve-properties input[type=range] {
  padding: 0;
}
.ve-properties output {
  color: #999;
  font-size: 9px;
}
.ve-field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ve-element-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px;
}
.ve-element-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  color: #56575c;
  background: #fff;
  border: 1px solid #dededa;
  border-radius: 7px;
  font-size: 10px;
}
.ve-element-actions button:hover {
  border-color: #a9a6e6;
}
.ve-element-actions .danger {
  color: #a13838;
}
.preview-mode .ve-topbar {
  grid-template-columns: 230px 1fr auto;
}
.preview-mode .ve-page-title,
.preview-mode .ve-history,
.preview-mode .ve-viewports,
.preview-mode .ve-tools,
.preview-mode .ve-library,
.preview-mode .ve-properties {
  display: none;
}
.preview-mode .ve-top-actions {
  grid-column: 3;
}
.preview-mode .ve-body {
  display: block;
}
.preview-mode .ve-stage {
  height: calc(100dvh - 64px);
  padding: 0;
  background: #fff;
}
.preview-mode .ve-viewport {
  width: 100%;
  max-width: none;
  min-height: 100%;
  box-shadow: none;
}
.preview-mode .ve-section:hover,
.preview-mode .ve-element:hover {
  outline-color: transparent;
}
.preview-mode .ve-section-label {
  display: none !important;
}
.ve-loading,
.ve-fatal {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100dvh;
  background: #f7f7f4;
  text-align: center;
}
.ve-publish-note {
  position: fixed;
  z-index: 8;
  top: 72px;
  right: 16px;
  max-width: 360px;
  padding: 10px 13px;
  color: #3f3e5b;
  background: #ecebff;
  border: 1px solid #cfccf7;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(25, 26, 32, 0.12);
  font-size: 10px;
}
.ve-loading img,
.ve-fatal img {
  width: 54px;
}
.ve-loading p,
.ve-fatal p {
  color: #777;
}
.ve-fatal button {
  padding: 12px 18px;
  color: #fff;
  background: #4f46e5;
  border: 0;
  border-radius: 7px;
}
@media (max-width: 1100px) {
  .ve-body {
    grid-template-columns: 66px 210px minmax(300px, 1fr);
  }
  .ve-properties {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    width: 280px;
    box-shadow: -15px 0 40px rgba(22, 23, 28, 0.15);
    transform: translateX(100%);
  }
  .visual-editor.properties-open .ve-properties {
    transform: none;
  }
  .ve-topbar {
    grid-template-columns: 190px 1fr auto auto;
  }
  .ve-history {
    display: none;
  }
}
@media (max-width: 760px) {
  .visual-editor {
    overflow: auto;
  }
  .ve-topbar {
    position: sticky;
    top: 0;
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 62px;
  }
  .ve-brand span,
  .ve-page-title,
  .ve-history,
  .ve-viewports,
  .ve-top-actions .publish {
    display: flex;
  }
  .ve-top-actions {
    grid-column: 2;
  }
  .ve-body {
    display: block;
  }
  .ve-tools {
    position: fixed;
    z-index: 5;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    justify-content: space-around;
    padding: 6px;
  }
  .ve-tools button {
    min-width: 63px;
    min-height: 51px;
  }
  .ve-library {
    position: fixed;
    z-index: 4;
    right: 0;
    bottom: 63px;
    left: 0;
    max-height: 48dvh;
    border-top: 1px solid var(--ve-line);
  }
  .ve-library-head {
    padding: 12px 16px;
  }
  .ve-library-head small {
    display: none;
  }
  .ve-library-head h2 {
    font-size: 14px;
  }
  .ve-add-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ve-add-grid button {
    min-height: 65px;
  }
  .ve-add-grid span {
    font-size: 17px;
  }
  .ve-stage {
    min-height: calc(100dvh - 62px);
    padding: 18px 8px 330px;
  }
  .ve-viewport.viewport-desktop,
  .ve-viewport.viewport-tablet,
  .ve-viewport.viewport-mobile {
    width: 100%;
    max-width: 100%;
  }
  .ve-properties {
    display: block;
    z-index: 6;
    top: auto;
    right: 0;
    bottom: 63px;
    left: 0;
    width: auto;
    max-height: 50dvh;
    overflow: auto;
    transform: translateY(110%);
    transition: transform 0.2s ease;
  }
  .visual-editor.properties-open .ve-properties {
    transform: none;
  }
  .ve-section {
    padding: 56px 22px;
  }
  .ve-heading {
    font-size: 36px;
  }
  .ve-topbar {
    min-height: calc(62px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    padding-right: max(10px, env(safe-area-inset-right));
    padding-left: max(10px, env(safe-area-inset-left));
  }
  .ve-top-actions {
    gap: 6px;
  }
  .ve-top-actions button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 10px;
  }
  .ve-top-actions button:first-child {
    font-size: 0;
  }
  .ve-top-actions button:first-child svg {
    width: 20px;
    height: 20px;
  }
  .ve-tools {
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
  }
  .ve-library,
  .ve-properties {
    bottom: calc(63px + env(safe-area-inset-bottom));
  }
  .ve-library input,
  .ve-library textarea,
  .ve-library select,
  .ve-properties input,
  .ve-properties textarea,
  .ve-properties select {
    font-size: 16px;
  }
}

/* src/styles.css */
:root {
  font-family: Inter, sans-serif;
  color: #14151a;
  background: #f7f7f4;
  font-synthesis: none;
  --ink:#14151a;
  --cream:#f7f7f4;
  --indigo:#4f46e5;
  --indigo-dark:#3d36c4;
  --line:#deded8;
  --muted:#686970;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
[role=button] {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
[role=button]:focus-visible {
  outline: 3px solid #6d63f0;
  outline-offset: 3px;
}
svg {
  width: 19px;
  height: 19px;
}
h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", sans-serif;
}
h1,
h2,
p {
  margin-top: 0;
}
.eyebrow {
  margin: 0 0 9px;
  color: #85858a;
  font: 600 11px/1.2 "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.eyebrow.indigo {
  color: var(--indigo);
}
.muted {
  color: var(--muted);
  line-height: 1.6;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}
.brand img {
  width: 34px;
  height: 25px;
  object-fit: contain;
}
.brand-light {
  color: white;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 600;
  transition: .18s ease;
}
.primary {
  color: white;
  background: var(--indigo);
  box-shadow: 0 6px 18px rgba(79, 70, 229, .16);
}
.primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
}
.primary:disabled {
  cursor: not-allowed;
  opacity: .5;
  transform: none;
}
.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}
.secondary:hover {
  border-color: #b8b8b1;
}
.wide {
  width: 100%;
}
label {
  display: grid;
  gap: 8px;
  color: #37383d;
  font-size: 13px;
  font-weight: 600;
}
input,
textarea,
select {
  width: 100%;
  color: var(--ink);
  background: white;
  border: 1px solid #d6d6d0;
  border-radius: 9px;
  outline: none;
  transition: border .15s, box-shadow .15s;
}
input,
select {
  height: 45px;
  padding: 0 13px;
}
textarea {
  min-height: 105px;
  padding: 12px 13px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .11);
}
label small {
  justify-self: end;
  color: #8a8a8f;
  font-weight: 400;
}
label small.field-help {
  justify-self: start;
  margin-top: -3px;
}
.password-field {
  position: relative;
  display: flex;
}
.password-field input {
  padding-right: 78px;
}
.password-toggle {
  position: absolute;
  top: 0;
  right: 5px;
  height: 100%;
  padding: 0 10px;
  border: none;
  background: none;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 600;
}
.password-toggle:hover {
  text-decoration: underline;
}
.notice {
  padding: 11px 13px;
  color: #a52e2e;
  background: #fff1f0;
  border: 1px solid #f0cbc8;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}
.notice.success {
  color: #17623d;
  background: #edf8f1;
  border-color: #c7e6d3;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(380px, 46%) 1fr;
  min-height: 100vh;
}
.auth-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 48px 55px;
  color: white;
  background: #17181e;
  background-image:
    radial-gradient(
      circle at 20% 85%,
      rgba(79, 70, 229, .6),
      transparent 34%),
    linear-gradient(
      135deg,
      transparent 0 55%,
      rgba(255, 255, 255, .035) 55% 56%,
      transparent 56% 100%);
}
.auth-story > div {
  max-width: 590px;
}
.auth-story h1 {
  max-width: 550px;
  margin-bottom: 22px;
  font-size: clamp(40px, 4.6vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
}
.auth-story p:not(.eyebrow) {
  max-width: 480px;
  color: #bdbdc4;
  font-size: 16px;
  line-height: 1.7;
}
.auth-foot {
  margin-bottom: 0;
  font-size: 12px !important;
}
.auth-panel {
  display: grid;
  place-items: center;
  padding: 36px;
  background: var(--cream);
}
.auth-card {
  display: grid;
  gap: 19px;
  width: min(430px, 100%);
}
.auth-card h2 {
  margin: 0;
  font-size: 37px;
  letter-spacing: -.035em;
}
.auth-card > .primary {
  min-height: 48px;
}
.mobile-brand {
  display: none;
}
.app-loading {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100vh;
  color: #777;
  gap: 14px;
}
.app-loading img {
  width: 68px;
  height: 47px;
  object-fit: contain;
  animation: pulse 1.2s ease infinite;
}
@keyframes pulse {
  50% {
    transform: scale(.92);
    opacity: .7;
  }
}
.app-shell {
  display: grid;
  grid-template-columns: 228px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 27px 18px 19px;
  background: #efefe9;
  border-right: 1px solid #deded7;
}
.sidebar .brand {
  padding: 0 9px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 46px;
}
.sidebar nav a,
.nav-disabled {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  color: #66676c;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.sidebar nav a:hover {
  color: var(--ink);
  background: rgba(79, 70, 229, .07);
}
.sidebar nav a.active {
  color: #4f46e5;
  background: rgba(79, 70, 229, .1);
  box-shadow: inset 3px 0 0 #4f46e5;
  font-weight: 700;
}
.nav-disabled {
  opacity: .45;
}
.sidebar-user {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 12px 8px 0;
  border-top: 1px solid #d7d7d0;
}
.sidebar-user > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: white;
  background: #2f3038;
  border-radius: 50%;
  font-weight: 600;
}
.sidebar-user strong,
.sidebar-user small {
  display: block;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-user strong {
  font-size: 12px;
}
.sidebar-user small {
  margin-top: 2px;
  color: #85858a;
  font-size: 10px;
  text-transform: capitalize;
}
.account-actions {
  display: flex !important;
  align-items: center;
  gap: 2px;
}
.sidebar-user button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: 0;
  color: #777;
  font-size: 18px;
}
.sidebar-user button svg {
  width: 15px;
  height: 15px;
}
.main-column {
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 115px;
  padding: 25px clamp(28px, 5vw, 72px);
  background: rgba(247, 247, 244, .92);
  border-bottom: 1px solid var(--line);
}
.topbar h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.035em;
}
.content {
  padding: 37px clamp(28px, 5vw, 72px) 70px;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  padding-bottom: 25px;
}
.section-intro p {
  color: var(--muted);
}
.section-intro span {
  color: #86868a;
  font-size: 13px;
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 23px;
}
.site-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
}
.site-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 17px 35px rgba(20, 21, 26, .09);
}
.site-preview {
  position: relative;
  height: 188px;
  overflow: hidden;
  color: #fff;
  background: #282a35;
}
.tone-1 {
  background: #3d3972;
}
.tone-2 {
  background: #705244;
}
.tone-3 {
  background: #315b59;
}
.mini-browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 10px;
  background: rgba(15, 16, 21, .5);
}
.mini-browser-bar > span {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, .55);
  border-radius: 50%;
}
.mini-browser-bar small {
  overflow: hidden;
  max-width: 60%;
  margin-left: 5px;
  color: rgba(255, 255, 255, .55);
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mini-site-nav strong {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #282a35;
  background: #f7f7f4;
  border-radius: 5px;
  font: 700 10px "Space Grotesk";
}
.mini-site-nav > div {
  display: flex;
  gap: 7px;
}
.mini-site-nav i {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, .42);
  border-radius: 2px;
}
.mini-site-hero {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
  height: 124px;
  padding: 20px 18px 16px;
}
.mini-site-hero section {
  min-width: 0;
}
.mini-site-hero section small {
  display: block;
  overflow: hidden;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .7);
  font: 600 6px "Space Grotesk";
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
}
.mini-site-hero section b {
  display: block;
  width: 92%;
  height: 7px;
  margin-top: 6px;
  background: #f7f7f4;
  border-radius: 2px;
}
.mini-site-hero section b:nth-of-type(2) {
  width: 66%;
  opacity: .72;
}
.mini-site-hero section i {
  display: block;
  width: 44px;
  height: 14px;
  margin-top: 14px;
  background: #4f46e5;
  border-radius: 3px;
}
.mini-site-hero > div {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
  border-radius: 7px 7px 2px 2px;
}
.mini-site-hero > div:before {
  content: "";
  position: absolute;
  inset: 18% -22% -45% 8%;
  background: rgba(255, 255, 255, .13);
  border-radius: 50%;
  transform: rotate(-14deg);
}
.mini-site-hero > div span {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 10px;
  left: 9px;
  height: 3px;
  background: rgba(255, 255, 255, .65);
  border-radius: 2px;
}
.mini-site-hero > div span:nth-child(2) {
  bottom: 17px;
  width: 55%;
}
.mini-site-hero > div span:nth-child(3) {
  bottom: 24px;
  width: 72%;
  opacity: .55;
}
.site-preview.has-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-domain {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 7px 9px;
  overflow: hidden;
  color: #fff;
  background: rgba(20, 21, 26, .72);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-info {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 19px 20px 17px;
}
.site-info h2 {
  margin: 8px 0 4px;
  font-size: 19px;
  letter-spacing: -.02em;
}
.site-info p {
  margin: 0;
  color: #77787d;
  font-size: 12px;
}
.site-info > svg {
  align-self: center;
  color: #98989b;
}
.site-info > small {
  grid-column: 1/-1;
  margin-top: 17px;
  padding-top: 13px;
  color: #909095;
  border-top: 1px solid #ededE9;
  font-size: 10px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  color: #785b20;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.status:before {
  content: "";
  width: 6px;
  height: 6px;
  background: #c99c40;
  border-radius: 50%;
}
.status.published:before {
  background: #3c9a6b;
}
.status.published {
  color: #397354;
}
.status.hidden,
.status.archived {
  color: #777;
}
.status.hidden:before,
.status.archived:before {
  background: #999;
}
.empty {
  display: grid;
  place-items: center;
  padding: 80px 25px;
  text-align: center;
  background: white;
  border: 1px dashed #cfcfc8;
  border-radius: 14px;
}
.empty-mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 58px;
  margin-bottom: 20px;
}
.empty-mark img {
  width: 64px;
  height: 45px;
  object-fit: contain;
}
.empty h2 {
  margin-bottom: 9px;
}
.empty p {
  color: var(--muted);
}
.empty button {
  margin-top: 13px;
}
.loading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}
.loading-grid i {
  height: 310px;
  background:
    linear-gradient(
      100deg,
      #eee 20%,
      #f8f8f5 50%,
      #eee 80%);
  background-size: 300% 100%;
  border-radius: 14px;
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 21, 26, .48);
  backdrop-filter: blur(3px);
}
.modal {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(480px, 100%);
  padding: 32px;
  background: var(--cream);
  border-radius: 15px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .2);
}
.modal h2 {
  margin: 0;
  font-size: 29px;
}
.modal > .muted {
  margin: -8px 0 2px;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  color: #666;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
}
.modal-actions,
.drawer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 8px;
}
.workspace-bar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 17px;
  min-height: 84px;
  padding: 14px 26px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.workspace-bar .back {
  width: 38px;
  height: 38px;
  color: #555;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 28px;
  line-height: 1;
}
.workspace-bar p {
  margin: 0 0 3px;
  color: #949499;
  font-size: 10px;
}
.workspace-bar h1 {
  margin: 0;
  font-size: 18px;
}
.workspace-actions {
  display: flex;
  gap: 9px;
  margin-left: 18px;
}
.workspace {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: calc(100vh - 84px);
}
.workspace-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 25px 15px;
  background: #f0f0eb;
  border-right: 1px solid var(--line);
}
.workspace-nav > button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: #62636a;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  transition: background .15s ease, color .15s ease;
}
.workspace-nav > button:hover {
  color: var(--ink);
  background: rgba(79, 70, 229, .07);
}
.workspace-nav > button.active {
  color: #4f46e5;
  background: rgba(79, 70, 229, .1);
  box-shadow: inset 3px 0 0 #4f46e5;
  font-weight: 700;
}
.workspace-nav > button.active:hover {
  background: rgba(79, 70, 229, .14);
}
.cloud-note {
  margin-top: auto;
  padding: 15px;
  background: #e5e3fa;
  border-radius: 10px;
}
.cloud-note svg {
  color: var(--indigo);
}
.cloud-note strong {
  display: block;
  margin: 9px 0 5px;
  font-size: 12px;
}
.cloud-note p {
  margin: 0;
  color: #626175;
  font-size: 10px;
  line-height: 1.45;
}
.workspace-content {
  padding: 42px clamp(28px, 5vw, 67px);
}
.workspace-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 30px;
}
.workspace-title h2 {
  margin: 0 0 6px;
  font-size: 30px;
}
.workspace-title p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.workspace-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.site-menu-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0 0 18px;
  padding: 18px 20px;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
}
.site-menu-jump:hover {
  border-color: #c7c4f0;
  box-shadow: 0 10px 24px rgba(79, 70, 229, .08);
}
.site-menu-jump strong,
.site-menu-jump small {
  display: block;
}
.site-menu-jump strong {
  font-size: 16px;
}
.site-menu-jump small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.site-menu-jump em {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: #fff;
  background: #4f46e5;
  border-radius: 10px;
  font: 700 13px/1 Inter, sans-serif;
  font-style: normal;
}
.row-actions .edit-page-secondary {
  width: auto;
  padding: 0 11px;
  color: #4f46e5;
  background: #eeedff;
  font-size: 10px;
  font-weight: 600;
}
.row-actions .edit-page-secondary:hover {
  color: #fff;
  background: #4f46e5;
}
.page-table {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.table-head,
.page-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.7fr) minmax(90px, .6fr) minmax(100px, .7fr) 130px;
  align-items: center;
  gap: 12px;
  padding: 0 19px;
}
.table-head {
  min-height: 42px;
  color: #8a8a8f;
  background: #f0f0eb;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.page-row {
  min-height: 75px;
  border-top: 1px solid #ecece7;
}
.page-row:first-of-type {
  border-top: 0;
}
.page-name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: none;
  border: 0;
  text-align: left;
}
.page-name > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--indigo);
  background: #eeedff;
  border-radius: 7px;
  font-size: 17px;
}
.page-name strong,
.page-name small {
  display: block;
}
.page-name strong {
  font-size: 13px;
}
.page-name small {
  margin-top: 4px;
  color: #999;
  font-size: 10px;
}
.nav-value {
  color: #62636a;
  font-size: 12px;
}
.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
}
.row-actions button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #777;
  background: transparent;
  border: 0;
  border-radius: 7px;
}
.row-actions button:hover {
  color: var(--indigo);
  background: #efeffc;
}
.row-actions button:disabled {
  opacity: .2;
  cursor: not-allowed;
}
.row-actions svg {
  width: 16px;
}
.row-actions .edit-page {
  width: auto;
  padding: 0 11px;
  color: white;
  background: var(--indigo);
  font-size: 10px;
  font-weight: 600;
}
.row-actions .edit-page:hover {
  color: white;
  background: #3d36c4;
}
.ve-locked-note {
  margin: 16px;
  padding: 14px;
  color: #4f4d69;
  background: #ecebff;
  border-radius: 8px;
}
.ve-locked-note strong {
  display: block;
  font-size: 11px;
}
.ve-locked-note p {
  margin: 6px 0 0;
  font-size: 9px;
  line-height: 1.55;
}
.ve-media-open {
  width: 100%;
  min-height: 38px;
  color: white;
  background: #4f46e5;
  border: 0;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 600;
}
.ve-media-library {
  padding: 14px;
}
.ve-upload {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 15px;
  color: #4f46e5;
  background: white;
  border: 1px dashed #aaa7ed;
  border-radius: 9px;
  cursor: pointer;
  text-align: center;
}
.ve-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.ve-upload span {
  font-size: 11px;
  font-weight: 700;
}
.ve-upload small {
  margin-top: 5px;
  color: #898a90;
  font-size: 8px;
}
.ve-media-search {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: #65666b;
  font-size: 9px;
  font-weight: 600;
}
.ve-media-search input {
  height: 36px;
  padding: 0 9px;
  background: white;
  border: 1px solid #deded8;
  border-radius: 7px;
  font-size: 9px;
}
.ve-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.ve-media-grid article {
  overflow: hidden;
  background: white;
  border: 1px solid #e1e1dc;
  border-radius: 7px;
}
.ve-media-grid .ve-media-thumb {
  width: 100%;
  overflow: hidden;
  padding: 0;
  color: #555;
  background: white;
  border: 0;
  text-align: left;
}
.ve-media-grid .ve-media-thumb:hover {
  color: #4f46e5;
}
.ve-media-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.ve-media-grid small {
  display: block;
  overflow: hidden;
  padding: 6px;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ve-media-grid article > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #ecece7;
}
.ve-media-grid article > div button {
  min-height: 29px;
  padding: 0 3px;
  color: #63646a;
  background: #fafaf8;
  border: 0;
  font-size: 7px;
}
.ve-media-grid article > div button + button {
  color: #9a3636;
  border-left: 1px solid #ecece7;
}
.ve-media-empty {
  padding: 30px 10px;
  color: #888;
  font-size: 10px;
  text-align: center;
}
.ve-media-grid article.editing {
  grid-column: 1/-1;
}
.ve-media-edit {
  display: grid;
  gap: 9px;
  padding: 10px;
  border-top: 1px solid #ecece7;
}
.ve-media-edit label {
  gap: 4px;
  font-size: 8px;
}
.ve-media-edit input,
.ve-media-edit textarea {
  height: auto;
  min-height: 34px;
  padding: 7px 8px;
  font-size: 9px;
}
.ve-media-edit textarea {
  min-height: 58px;
}
.ve-media-edit > div {
  display: flex !important;
  justify-content: flex-end;
  gap: 5px;
  border: 0 !important;
}
.ve-media-edit > div button {
  min-height: 32px !important;
  padding: 0 8px !important;
  border: 1px solid #deded8 !important;
  border-radius: 6px;
  font-size: 8px !important;
}
.ve-media-edit > div button:last-child {
  color: white !important;
  background: #4f46e5 !important;
}
.ve-toast {
  position: fixed;
  z-index: 12;
  top: 74px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(440px, calc(100vw - 32px));
  padding: 12px 13px;
  color: #17623d;
  background: #edf8f1;
  border: 1px solid #c7e6d3;
  border-radius: 9px;
  box-shadow: 0 12px 35px rgba(20, 21, 26, .16);
  font-size: 11px;
  line-height: 1.45;
}
.ve-toast.error {
  color: #8d2828;
  background: #fff1f0;
  border-color: #efc5c1;
}
.ve-toast span {
  flex: 1;
}
.ve-toast button {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 18px;
}
.live-seo-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.live-seo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.live-seo-head h3 {
  margin: 4px 0 5px;
  font-size: 20px;
}
.live-seo-head p:not(.eyebrow) {
  margin: 0;
  color: #777;
  font-size: 11px;
}
.live-serp {
  padding: 19px;
  background: #fbfbfa;
  border: 1px solid #e5e5e0;
  border-radius: 9px;
}
.serp-browser {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.serp-browser span {
  color: #4285f4;
  font-weight: 700;
}
.serp-browser small,
.live-serp > small {
  color: #8a8b90;
  font-size: 9px;
}
.serp-url {
  display: block;
  color: #3f6650;
  font-size: 10px;
}
.live-serp > strong {
  display: block;
  margin: 5px 0;
  color: #2622a5;
  font-size: 18px;
  font-weight: 500;
}
.live-serp p {
  margin: 0 0 9px;
  max-width: 720px;
  color: #55565b;
  font-size: 11px;
  line-height: 1.5;
}
.live-check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.live-check-grid article {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  background: #f7f7f4;
  border-radius: 8px;
}
.live-check-grid article > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.live-good > span {
  color: #287044;
  background: #dff3e7;
}
.live-warn > span {
  color: #95601f;
  background: #fff0d6;
}
.live-check-grid strong,
.live-check-grid small {
  display: block;
}
.live-check-grid strong {
  font-size: 10px;
}
.live-check-grid small {
  overflow: hidden;
  margin-top: 3px;
  color: #85868b;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: #deded9;
  border: 1px solid #deded9;
  border-radius: 8px;
}
.live-sources > div {
  padding: 12px;
  background: #f4f4f1;
}
.live-sources small,
.live-sources strong {
  display: block;
}
.live-sources small {
  color: #888;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.live-sources strong {
  margin-top: 5px;
  font-size: 9px;
}
.live-seo-panel .notice {
  margin: 0;
}
@media (max-width: 900px) {
  .live-check-grid {
    grid-template-columns: 1fr 1fr;
  }
  .live-sources {
    grid-template-columns: 1fr;
  }
}
.safe-editor {
  height: 100dvh;
  overflow: hidden;
  color: #17181c;
  background: #e5e6e3;
}
.safe-editor > header {
  display: grid;
  grid-template-columns: 190px 1fr auto auto;
  align-items: center;
  gap: 20px;
  height: 64px;
  padding: 0 18px;
  background: white;
  border-bottom: 1px solid #dedfdc;
}
.safe-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #17181c;
  background: transparent;
  border: 0;
}
.safe-brand img {
  width: 27px;
}
.safe-brand strong {
  font: 700 14px "Space Grotesk";
  letter-spacing: .08em;
}
.safe-editor > header > div strong,
.safe-editor > header > div small {
  display: block;
}
.safe-editor > header > div strong {
  font-size: 12px;
}
.safe-editor > header > div small {
  margin-top: 3px;
  color: #888;
  font-size: 9px;
}
.safe-editor > header > span {
  padding: 7px 10px;
  color: #4b486e;
  background: #ecebff;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
}
.safe-editor > header > a {
  padding: 10px 13px;
  color: #4b4c55;
  background: #f4f4f1;
  border: 1px solid #d8d8d2;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}
.safe-body {
  display: grid;
  grid-template-columns: 190px minmax(360px, 1fr) 350px;
  height: calc(100dvh - 64px);
}
.safe-body > aside:first-child {
  padding: 20px 11px;
  background: #1d1e23;
}
.safe-body > aside:first-child > p {
  margin: 0 8px 13px;
  color: #777983;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.safe-body > aside:first-child button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 39px;
  padding: 0 10px;
  color: #b5b7bf;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 10px;
  text-align: left;
}
.safe-body > aside:first-child button:hover {
  color: white;
  background: #34353d;
}
.safe-body > aside:first-child button.active {
  color: white;
  background: #4f46e5;
}
.safe-body > aside:first-child button span {
  color: #878995;
  font-size: 8px;
}
.safe-preview {
  display: grid;
  grid-template-rows: 39px 1fr;
  min-width: 0;
  padding: 18px;
}
.safe-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  color: #777;
  background: #f4f4f1;
  border: 1px solid #d8d9d5;
  border-radius: 8px 8px 0 0;
  font-size: 9px;
}
.safe-preview-bar button {
  color: #4f46e5;
  background: transparent;
  border: 0;
  font-size: 9px;
  font-weight: 600;
}
.safe-preview iframe {
  width: 100%;
  height: 100%;
  background: white;
  border: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 15px 35px rgba(22, 24, 30, .12);
}
.safe-fields {
  overflow: auto;
  background: #f8f8f6;
  border-left: 1px solid #d8d9d5;
}
.safe-fields-head {
  padding: 21px 18px;
  border-bottom: 1px solid #dedfdc;
}
.safe-fields-head small {
  color: #4f46e5;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.safe-fields-head h1 {
  margin: 5px 0;
  font: 600 20px "Space Grotesk";
}
.safe-fields-head p {
  margin: 0;
  color: #777;
  font-size: 9px;
  line-height: 1.5;
}
.safe-fields > .notice {
  margin: 12px;
}
.safe-fields article {
  display: grid;
  gap: 10px;
  padding: 17px 16px;
  border-bottom: 1px solid #dedfdc;
}
.safe-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.safe-field-label strong {
  font-size: 10px;
}
.safe-field-label span {
  color: #287044;
  font-size: 8px;
}
.safe-fields input,
.safe-fields textarea {
  width: 100%;
  padding: 10px 11px;
  color: #28292e;
  background: white;
  border: 1px solid #d5d6d2;
  border-radius: 6px;
  font: 11px/1.5 Inter;
}
.safe-fields textarea {
  min-height: 110px;
  resize: vertical;
}
.safe-save {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  color: white;
  background: #4f46e5;
  border: 0;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
}
.safe-save:disabled {
  opacity: .5;
}
.safe-image-preview {
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 145px;
  color: #888;
  background: #e5e4df;
  border-radius: 7px;
}
.safe-image-preview img {
  display: block;
  width: 100%;
  max-height: 230px;
  object-fit: cover;
}
.safe-file {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 8px;
  color: #4f46e5;
  background: white;
  border: 1px dashed #aaa7ed;
  border-radius: 7px;
  cursor: pointer;
  text-align: center;
}
.safe-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.safe-file span {
  font-size: 9px;
  font-weight: 700;
}
.safe-file small {
  margin-top: 3px;
  color: #888;
  font-size: 7px;
}
.safe-uploading {
  color: #95601f;
  font-size: 9px;
}
.safe-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.safe-gallery > div {
  overflow: hidden;
  background: white;
  border: 1px solid #deded9;
  border-radius: 7px;
}
.safe-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.safe-gallery small {
  display: block;
  overflow: hidden;
  padding: 5px 7px;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.safe-gallery button {
  width: 100%;
  padding: 6px;
  color: #a13838;
  background: #fff5f4;
  border: 0;
  border-top: 1px solid #f0d8d5;
  font-size: 7px;
}
.safe-editor-state {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100dvh;
  padding: 30px;
  background: #f7f7f4;
  text-align: center;
}
.safe-editor-state img {
  width: 50px;
}
.safe-editor-state h1 {
  margin: 18px 0 7px;
}
.safe-editor-state p {
  max-width: 500px;
  color: #777;
}
.safe-editor-state button {
  padding: 11px 15px;
  color: white;
  background: #4f46e5;
  border: 0;
  border-radius: 7px;
}
@media (max-width: 900px) {
  .safe-editor {
    overflow: auto;
  }
  .safe-editor > header {
    position: sticky;
    top: 0;
    z-index: 5;
    grid-template-columns: 1fr auto;
    padding: 0 12px;
  }
  .safe-editor > header > div,
  .safe-editor > header > span {
    display: none;
  }
  .safe-body {
    display: block;
    height: auto;
  }
  .safe-body > aside:first-child {
    display: flex;
    gap: 5px;
    overflow: auto;
    padding: 8px;
  }
  .safe-body > aside:first-child > p {
    display: none;
  }
  .safe-body > aside:first-child button {
    flex: 0 0 auto;
    width: auto;
    padding: 0 12px;
  }
  .safe-preview {
    height: 58dvh;
    padding: 10px;
  }
  .safe-fields {
    overflow: visible;
    border-left: 0;
  }
  .safe-fields-head {
    padding: 18px 15px;
  }
  .safe-fields article {
    padding: 16px 14px;
  }
}
.inline-create {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  margin: -10px 0 20px;
  padding: 14px;
  background: #ecebf9;
  border-radius: 10px;
}
.inline-create > button:last-child {
  color: #666;
  background: none;
  border: 0;
}
.drawer-backdrop {
  place-items: stretch start;
  justify-content: end;
  padding: 0;
}
.drawer {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(570px, 100vw);
  height: 100vh;
  padding: 29px 32px;
  overflow: auto;
  background: var(--cream);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .16);
  animation: slide .2s ease;
}
@keyframes slide {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  margin: 0;
}
.drawer-head button {
  width: 34px;
  height: 34px;
  color: #666;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 21px;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
}
.check input {
  width: 17px;
  height: 17px;
  accent-color: var(--indigo);
}
.divider {
  height: 1px;
  margin: 7px 0;
  background: var(--line);
}
.drawer-actions {
  position: sticky;
  bottom: -29px;
  margin-top: auto;
  padding: 17px 0 29px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.seo-tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #e9e9e4;
  border-radius: 9px;
}
.seo-tabs button {
  flex: 1;
  min-height: 36px;
  padding: 0 7px;
  color: #67686d;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.seo-tabs button:hover {
  color: #4f46e5;
}
.seo-tabs button.active {
  color: #4f46e5;
  background: white;
  box-shadow: 0 2px 7px rgba(79, 70, 229, .18);
  font-weight: 800;
}
.search-preview {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.search-preview small {
  color: #6d6d72;
}
.search-preview strong {
  color: #2724a4;
  font-size: 18px;
  font-weight: 500;
}
.search-preview span {
  color: #287044;
  font-size: 11px;
}
.search-preview p {
  margin: 2px 0 0;
  color: #5f6065;
  font-size: 12px;
  line-height: 1.5;
}
.social-preview {
  overflow: hidden;
  padding-bottom: 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.social-preview > div {
  display: grid;
  place-items: center;
  height: 150px;
  color: #8b8b91;
  background: #e7e7e2;
  font-size: 12px;
}
.social-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.social-preview > small,
.social-preview > strong,
.social-preview > p {
  display: block;
  margin-left: 16px;
  margin-right: 16px;
}
.social-preview > small {
  margin-top: 12px;
  color: #888;
  font-size: 10px;
  text-transform: uppercase;
}
.social-preview > strong {
  margin-top: 5px;
}
.social-preview > p {
  margin-top: 5px;
  margin-bottom: 0;
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}
.code-field {
  min-height: 180px;
  font:
    12px/1.55 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.advanced-note {
  padding: 15px;
  color: #3f3e5b;
  background: #e9e7fb;
  border-radius: 9px;
}
.advanced-note strong {
  font-size: 12px;
}
.advanced-note p {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.55;
}
.workspace-loading {
  padding: 80px;
  color: #777;
  text-align: center;
}
.seo-dashboard {
  display: grid;
  gap: 20px;
}
.seo-score {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 25px;
  background: #191a20;
  border-radius: 13px;
  color: white;
}
.seo-score > div {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  background: conic-gradient(var(--indigo) var(--score), #383942 0);
  border-radius: 50%;
}
.seo-score > div:before {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  background: #191a20;
  border-radius: 50%;
}
.seo-score strong {
  position: relative;
  z-index: 1;
  font: 600 20px "Space Grotesk";
}
.seo-score h3 {
  margin: 0 0 7px;
  font-size: 20px;
}
.seo-score p:not(.eyebrow) {
  margin: 0;
  color: #b8b8bf;
  font-size: 12px;
}
.seo-score .eyebrow {
  color: #9797a0;
}
.seo-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.seo-tool-grid article {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.seo-tool-grid article > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--indigo);
  background: #ecebfc;
  border-radius: 7px;
  font: 600 10px "Space Grotesk";
}
.seo-tool-grid h3 {
  margin: 15px 0 7px;
  font-size: 15px;
}
.seo-tool-grid p {
  margin: 0;
  color: #777;
  font-size: 11px;
  line-height: 1.55;
}
.seo-audit {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.seo-audit-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 19px;
  background: #f0f0eb;
}
.seo-audit-head h3 {
  margin: 0;
  font-size: 14px;
}
.seo-audit-head span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: white;
  background: var(--indigo);
  border-radius: 50%;
  font-size: 10px;
}
.seo-audit > button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 19px;
  color: var(--ink);
  background: white;
  border: 0;
  border-top: 1px solid #ecece7;
  text-align: left;
}
.seo-audit > button:hover {
  background: #f8f8f5;
}
.seo-audit > button > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #9b6828;
  background: #fff1d9;
  border-radius: 50%;
  font-weight: 700;
}
.seo-audit strong,
.seo-audit small {
  display: block;
}
.seo-audit strong {
  font-size: 12px;
}
.seo-audit small {
  margin-top: 3px;
  color: #888;
  font-size: 10px;
}
.seo-audit svg {
  color: #999;
}
.seo-complete {
  padding: 26px;
  color: #397354;
  text-align: center;
  font-size: 12px;
}
.settings-placeholder {
  display: grid;
  place-items: center;
  padding: 70px 25px;
  background: white;
  border: 1px dashed #ccccC5;
  border-radius: 12px;
  text-align: center;
}
.settings-placeholder > svg {
  width: 29px;
  height: 29px;
  color: var(--indigo);
}
.settings-placeholder h3 {
  margin: 15px 0 7px;
}
.settings-placeholder p {
  max-width: 390px;
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 1.6;
}
.member-form {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
  padding: 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.member-list {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.member-head {
  display: grid;
  grid-template-columns: 1fr 170px 70px;
  gap: 12px;
  padding: 13px 18px;
  color: #888;
  background: #f0f0eb;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.member-row {
  display: grid;
  grid-template-columns: auto 1fr 170px 70px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 18px;
  border-top: 1px solid #ecece7;
}
.member-row:first-of-type {
  border-top: 0;
}
.member-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: #2f3038;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}
.member-row strong,
.member-row small {
  display: block;
}
.member-row strong {
  font-size: 12px;
}
.member-row small {
  margin-top: 4px;
  color: #888;
  font-size: 10px;
}
.member-role {
  color: #62636a;
  font-size: 11px;
}
.member-buttons {
  display: flex;
}
.member-buttons button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #888;
  background: transparent;
  border: 0;
  border-radius: 7px;
}
.member-buttons button:hover {
  color: var(--indigo);
  background: #efeffc;
}
.member-buttons button:last-child:hover {
  color: #a52e2e;
  background: #fff1f0;
}
.member-buttons button:disabled {
  opacity: .2;
  cursor: not-allowed;
}
.member-row svg {
  width: 16px;
}
@media (max-width: 1050px) {
  .site-grid {
    grid-template-columns: repeat(2, minmax(230px, 1fr));
  }
  .table-head,
  .page-row {
    grid-template-columns: minmax(190px, 1.5fr) 90px 110px 105px;
  }
}
@media (max-width: 760px) {
  .auth-layout {
    display: block;
  }
  .auth-story {
    display: none;
  }
  .auth-panel {
    min-height: 100vh;
    padding: 32px 22px;
  }
  .mobile-brand {
    display: flex;
    margin-bottom: 32px;
  }
  .auth-card h2 {
    font-size: 32px;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    position: static;
    flex-direction: row;
    align-items: center;
    height: 66px;
    padding: 10px 16px;
  }
  .sidebar nav,
  .sidebar-user div,
  .sidebar-user > span {
    display: none;
  }
  .sidebar-user {
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
  }
  .topbar {
    height: auto;
    min-height: 95px;
    padding: 20px 18px;
  }
  .topbar h1 {
    font-size: 25px;
  }
  .topbar .primary {
    padding: 0 12px;
  }
  .content {
    padding: 25px 16px 55px;
  }
  .section-intro {
    display: block;
  }
  .section-intro span {
    display: none;
  }
  .site-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .site-preview {
    height: 165px;
  }
  .workspace-bar {
    grid-template-columns: auto 1fr auto;
    padding: 12px 14px;
  }
  .workspace-bar > .status {
    display: none;
  }
  .workspace-actions .secondary {
    display: none;
  }
  .workspace-actions {
    margin: 0;
  }
  .workspace-actions .primary {
    min-height: 38px;
    padding: 0 13px;
  }
  .workspace {
    display: block;
  }
  .workspace-nav {
    flex-direction: row;
    padding: 9px 12px;
    overflow: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .workspace-nav > button {
    white-space: nowrap;
  }
  .cloud-note {
    display: none;
  }
  .workspace-content {
    padding: 27px 14px 55px;
  }
  .workspace-title {
    align-items: center;
  }
  .workspace-title h2 {
    font-size: 26px;
  }
  .workspace-title p:not(.eyebrow) {
    display: none;
  }
  .workspace-title .primary {
    padding: 0 12px;
  }
  .page-table {
    overflow: visible;
    background: transparent;
    border: 0;
  }
  .table-head {
    display: none;
  }
  .page-row {
    grid-template-columns: 1fr auto;
    min-height: 0;
    margin-bottom: 10px;
    padding: 15px;
    background: white;
    border: 1px solid var(--line) !important;
    border-radius: 10px;
  }
  .page-row > .status,
  .nav-value {
    display: none;
  }
  .row-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #ededE9;
  }
  .inline-create {
    grid-template-columns: 1fr auto;
  }
  .inline-create > button:last-child {
    grid-column: 1/-1;
  }
  .field-pair {
    grid-template-columns: 1fr;
  }
  .drawer {
    padding: 24px 20px;
  }
  .drawer-actions {
    bottom: -24px;
    padding-bottom: 24px;
  }
  .seo-score {
    align-items: flex-start;
    padding: 20px;
  }
  .seo-score > div {
    width: 75px;
    height: 75px;
  }
  .seo-score > div:before {
    width: 57px;
    height: 57px;
  }
  .seo-score strong {
    font-size: 16px;
  }
  .seo-tool-grid {
    grid-template-columns: 1fr;
  }
  .member-form .field-pair {
    grid-template-columns: 1fr;
  }
  .member-head {
    display: none;
  }
  .member-row {
    grid-template-columns: auto 1fr auto;
    padding: 13px;
  }
  .member-role {
    grid-column: 2/3;
  }
  .member-buttons {
    grid-column: 3;
    grid-row: 1/3;
  }
  .modal {
    padding: 27px 22px;
  }
  .loading-grid {
    grid-template-columns: 1fr;
  }
  .loading-grid i:nth-child(n+2) {
    display: none;
  }
}
.booking-enable {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #dcdff0;
  border-radius: 10px;
  background: #f7f7ff;
}
.booking-enable input {
  margin-top: 3px;
  accent-color: #4f46e5;
}
.booking-enable span,
.booking-enable strong,
.booking-enable small {
  display: block;
}
.booking-enable strong {
  font-size: 13px;
}
.booking-enable small {
  margin-top: 4px;
  color: #72798a;
  font-size: 10px;
  line-height: 1.45;
}
@media (pointer: coarse) {
  .primary,
  .secondary,
  .workspace-nav > button,
  .row-actions button,
  .member-buttons button,
  .sidebar-user button,
  .modal-close,
  .drawer-head button,
  .safe-save,
  .safe-history-btn,
  .safe-restore {
    min-width: 44px;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.gsc-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.gsc-panel h3 {
  margin: 4px 0 6px;
  font-size: 20px;
}
.gsc-panel p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #777;
  font-size: 11px;
  line-height: 1.55;
}
.gsc-panel .notice {
  margin-top: 12px;
}
.gsc-loading {
  color: #777;
  font-size: 11px;
}
.integration-state {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: #6e5b27;
  background: #fff3d8;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.gsc-connected {
  display: grid;
}
.gsc-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.gsc-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gsc-metrics article {
  padding: 15px;
  background: #f4f4f1;
  border-radius: 8px;
}
.gsc-metrics small,
.gsc-metrics strong {
  display: block;
}
.gsc-metrics small {
  color: #7c7d82;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.gsc-metrics strong {
  margin-top: 7px;
  font: 600 21px "Space Grotesk";
}
.gsc-chart {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 110px;
  padding: 12px 10px 0;
  background: #f8f8f5;
  border-radius: 8px;
}
.gsc-chart i {
  flex: 1;
  min-width: 2px;
  background: #4f46e5;
  border-radius: 2px 2px 0 0;
  opacity: .82;
}
.gsc-queries {
  overflow: hidden;
  border: 1px solid #e1e1dc;
  border-radius: 8px;
}
.gsc-queries > div {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 70px 90px 80px;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #ecece7;
  font-size: 9px;
}
.gsc-queries > div:first-child {
  color: #777;
  background: #f1f1ed;
  border-top: 0;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.gsc-queries > div strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gsc-queries > p {
  padding: 18px;
  color: #777;
  font-size: 10px;
  text-align: center;
}
.google-setup-shell {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(420px, 1.2fr);
  gap: 22px;
  margin-bottom: 22px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.google-setup-intro h3 {
  margin: 5px 0 8px;
  font: 600 22px "Space Grotesk";
  letter-spacing: -.025em;
}
.google-setup-intro > p:not(.eyebrow) {
  max-width: 48ch;
  margin: 0;
  color: #74757b;
  font-size: 11px;
  line-height: 1.65;
}
.google-setup-intro .primary,
.google-external {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 17px;
  text-decoration: none;
}
.google-actions {
  display: grid;
  gap: 8px;
}
.google-actions.compact {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
}
.google-actions article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 94px;
  padding: 14px;
  background: #f4f4f1;
  border-radius: 9px;
}
.google-actions.compact article {
  background: #fff;
  border: 1px solid var(--line);
}
.google-product-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: #4f46e5;
  border-radius: 9px;
  font: 700 16px "Space Grotesk";
}
.business-mark {
  color: #315f4b;
  background: #dcefe4;
}
.google-actions small,
.google-actions strong,
.google-actions p {
  display: block;
}
.google-actions small {
  margin-bottom: 3px;
  color: #87888e;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.google-actions strong {
  font-size: 10px;
}
.google-actions p {
  margin: 3px 0 0;
  color: #777;
  font-size: 8px;
  line-height: 1.45;
}
.google-actions a,
.google-property-help > a {
  color: #4f46e5;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}
.google-actions a:hover,
.google-property-help > a:hover {
  text-decoration: underline;
}
.google-admin-steps {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  counter-reset: google-step;
  list-style: none;
}
.google-admin-steps li {
  position: relative;
  min-height: 39px;
  padding: 11px 12px 11px 42px;
  color: #5f6066;
  background: #f4f4f1;
  border-radius: 7px;
  font-size: 9px;
  line-height: 1.5;
}
.google-admin-steps li:before {
  counter-increment: google-step;
  content: counter(google-step);
  position: absolute;
  top: 8px;
  left: 9px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #4f46e5;
  background: #e5e3ff;
  border-radius: 6px;
  font-weight: 700;
}
.google-property-help {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.google-property-help .notice {
  flex: 1 1 300px;
  margin: 0;
}
.google-admin-steps code {
  display: block;
  overflow: auto;
  margin-top: 4px;
  color: #31323a;
  font:
    8px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .gsc-panel {
    display: grid;
    padding: 18px 15px;
  }
  .gsc-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .gsc-queries {
    overflow-x: auto;
  }
  .gsc-queries > div {
    min-width: 520px;
  }
  .google-setup-shell {
    grid-template-columns: 1fr;
    padding: 19px 15px;
  }
  .google-actions.compact {
    grid-template-columns: 1fr;
  }
  .google-actions article {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .google-actions article > a {
    grid-column: 2;
  }
  .google-property-help {
    align-items: flex-start;
  }
}
.cf-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  padding: 22px;
  color: #777;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 11px;
}
.cf-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.cf-heading h3 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 20px;
}
.cf-heading p:not(.eyebrow) {
  margin: 0;
}
.cf-deploy {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 15px;
  color: #666;
  background: #f4f4f1;
  border-radius: 8px;
}
.cf-deploy strong {
  color: var(--ink);
}
.cf-deploy a {
  margin-left: auto;
  color: var(--indigo);
  font-weight: 700;
}
.cf-panel .gsc-metrics {
  grid-template-columns: repeat(3, 1fr);
  color: var(--ink);
}
@media (max-width: 760px) {
  .cf-panel {
    padding: 18px 15px;
  }
  .cf-deploy {
    display: grid;
    gap: 6px;
  }
  .cf-deploy a {
    margin-left: 0;
  }
  .cf-panel .gsc-metrics {
    grid-template-columns: 1fr;
  }
}
.safe-field-label > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.safe-restore {
  padding: 4px 7px;
  color: #4f46e5;
  background: #ecebff;
  border: 0;
  border-radius: 5px;
  font-size: 7px;
  font-weight: 700;
}
.safe-editor > header {
  grid-template-columns: 190px 1fr auto auto auto;
}
.safe-history-btn {
  min-height: 36px;
  padding: 0 12px;
  color: #4f46e5;
  background: #ecebff;
  border: 0;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
}
.safe-history-modal {
  width: min(650px, 100%);
  max-height: min(760px, 90dvh);
}
.safe-version-list {
  overflow: auto;
  border: 1px solid #deded8;
  border-radius: 9px;
}
.safe-version-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 14px;
  background: white;
  border-top: 1px solid #ecece7;
}
.safe-version-list article:first-child {
  border-top: 0;
}
.safe-version-list strong,
.safe-version-list small,
.safe-version-list span {
  display: block;
}
.safe-version-list strong {
  font-size: 11px;
}
.safe-version-list small {
  margin-top: 4px;
  color: #777;
  font-size: 9px;
}
.safe-version-list span {
  margin-top: 4px;
  color: #4f46e5;
  font-size: 8px;
}
.safe-version-list .secondary {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 10px;
  font-size: 9px;
}
@media (max-width: 900px) {
  .safe-editor > header {
    grid-template-columns: 1fr auto auto;
  }
  .safe-history-btn {
    display: block;
  }
  .safe-history-modal {
    max-height: 88dvh;
  }
}
.redirect-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.redirect-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.redirect-head h3 {
  margin: 4px 0 6px;
  font-size: 20px;
}
.redirect-head p:not(.eyebrow) {
  margin: 0;
  color: #777;
  font-size: 11px;
}
.redirect-form {
  display: grid;
  grid-template-columns: 1fr 1fr 170px auto;
  align-items: end;
  gap: 9px;
  padding: 14px;
  background: #f4f4f1;
  border-radius: 9px;
}
.redirect-list {
  overflow: hidden;
  border: 1px solid #e2e2dd;
  border-radius: 8px;
}
.redirect-list article {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr) 50px 28px;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-top: 1px solid #ecece7;
}
.redirect-list article:first-child {
  border-top: 0;
}
.redirect-list code {
  overflow: hidden;
  color: #444;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.redirect-list strong {
  color: #4f46e5;
  font-size: 9px;
}
.redirect-list article button {
  color: #a13838;
  background: #fff1f0;
  border: 0;
  border-radius: 5px;
}
.redirect-list > p {
  margin: 0;
  padding: 20px;
  color: #888;
  font-size: 10px;
  text-align: center;
}
@media (max-width: 900px) {
  .redirect-panel {
    padding: 18px 15px;
  }
  .redirect-form {
    grid-template-columns: 1fr;
  }
  .redirect-list article {
    grid-template-columns: 1fr auto;
  }
  .redirect-list article > span {
    display: none;
  }
  .redirect-list code:nth-of-type(2) {
    grid-column: 1;
  }
  .redirect-list strong,
  .redirect-list article button {
    grid-column: 2;
  }
  .redirect-list strong {
    grid-row: 1;
  }
  .redirect-list article button {
    grid-row: 2;
  }
}
.safe-fields article {
  transition: background-color .2s ease, box-shadow .2s ease;
}
.safe-fields article.selected {
  background: #efeeff;
  box-shadow: inset 3px 0 #4f46e5;
}
.safe-preview {
  grid-template-rows: 39px minmax(0, 1fr);
}
.safe-preview-tools {
  display: flex;
  align-items: center;
  gap: 3px;
}
.safe-preview-bar button {
  min-height: 27px;
  padding: 0 8px;
  color: #686873;
  border-radius: 5px;
}
.safe-preview-bar button:hover,
.safe-preview-bar button.active {
  color: #4f46e5;
  background: #e9e8ff;
}
.safe-preview-frame {
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background: #d4d5d2;
  transition: max-width .2s ease;
}
.safe-preview-frame.viewport-tablet {
  max-width: 820px;
}
.safe-preview-frame.viewport-mobile {
  max-width: 390px;
}
.safe-preview iframe {
  display: block;
}
@media (max-width: 900px) {
  .safe-preview-bar > span {
    display: none;
  }
  .safe-preview-bar {
    justify-content: flex-end;
  }
  .safe-preview-tools {
    width: 100%;
    justify-content: space-between;
  }
  .safe-preview-bar button {
    padding: 0 6px;
  }
}
.workspace-nav-symbol {
  display: grid;
  place-items: center;
  width: 18px;
  font-size: 17px;
}
.site-home {
  display: grid;
  gap: 22px;
  max-width: 1500px;
  margin: 0 auto;
}
.site-home-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.site-home-welcome h2 {
  margin: 4px 0 7px;
  font: 600 clamp(29px, 3vw, 42px)/1 "Space Grotesk";
  letter-spacing: -.045em;
}
.site-home-welcome p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.site-home-welcome .secondary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
}
.site-summary-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 17px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.summary-site-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: white;
  background: #1d1e23;
  border-radius: 9px;
  font: 600 21px "Space Grotesk";
}
.site-summary-strip > div:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.site-summary-strip strong {
  font-size: 14px;
}
.site-summary-strip small {
  flex-basis: 100%;
  color: #87888d;
  font-size: 10px;
}
.site-summary-strip > button,
.home-section-head > button {
  color: var(--indigo);
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 700;
}
.home-analytics,
.home-actions {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.home-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
}
.home-section-head h3 {
  margin: 0 0 5px;
  font-size: 18px;
}
.home-section-head p {
  margin: 0;
  color: #77787e;
  font-size: 10px;
}
.home-stats-grid,
.home-stat-skeleton {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.home-stat {
  position: relative;
  min-height: 113px;
  padding: 15px;
  overflow: hidden;
  color: var(--ink);
  background: #f5f5f2;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}
.home-stat:hover {
  border-color: #c7c4f5;
  background: #f1f0ff;
  transform: translateY(-2px);
}
.home-stat small,
.home-stat strong,
.home-stat span {
  position: relative;
  z-index: 1;
  display: block;
}
.home-stat small {
  color: #6f7076;
  font-size: 9px;
  font-weight: 600;
}
.home-stat strong {
  margin: 9px 0 5px;
  font: 600 25px "Space Grotesk";
  font-variant-numeric: tabular-nums;
}
.home-stat span {
  color: #95969b;
  font-size: 8px;
}
.home-stat > i {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: var(--indigo);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-5px);
  transition: .2s ease;
}
.home-stat:hover > i,
.home-stat:focus-visible > i {
  opacity: 1;
  transform: none;
}
.home-stat-skeleton i {
  height: 113px;
  background:
    linear-gradient(
      100deg,
      #eee 20%,
      #fafaf8 50%,
      #eee 80%);
  background-size: 300% 100%;
  border-radius: 8px;
  animation: shimmer 1.3s infinite;
}
.home-chart-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: end;
  gap: 18px;
  margin-top: 20px;
  padding: 18px;
  background: #fafaf8;
  border-radius: 9px;
}
.home-chart-wrap strong,
.home-chart-wrap small {
  display: block;
}
.home-chart-wrap strong {
  font-size: 11px;
}
.home-chart-wrap small {
  margin-top: 5px;
  color: #88898e;
  font-size: 8px;
  line-height: 1.45;
}
.home-chart {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 83px;
}
.home-chart i {
  flex: 1;
  min-width: 2px;
  background: var(--indigo);
  border-radius: 2px 2px 0 0;
  opacity: .85;
}
.home-chart i.empty {
  background: #deded9;
  opacity: 1;
}
.home-actions {
  padding-bottom: 27px;
}
.home-action-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 10px;
}
.home-action-grid button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  min-height: 96px;
  padding: 16px;
  color: var(--ink);
  background: #f4f4f1;
  border: 0;
  border-radius: 9px;
  text-align: left;
  transition: transform .2s ease, background .2s ease;
}
.home-action-grid button:hover {
  background: #ecebf9;
  transform: translateY(-2px);
}
.home-action-grid button:active {
  transform: translateY(0);
}
.home-action-grid span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--indigo);
  background: white;
  border-radius: 7px;
  font: 600 9px "Space Grotesk";
}
.home-action-grid strong {
  align-self: end;
  font-size: 12px;
}
.home-action-grid small {
  color: #77787d;
  font-size: 9px;
}
.home-pending {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.home-pending.has-pending {
  border-color: #edca83;
  box-shadow: inset 4px 0 #f2a319;
}
.home-pending .home-section-head {
  align-items: center;
}
.home-pending .eyebrow {
  margin: 0 0 5px;
}
.home-pending-count {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f4f4f1;
  font: 700 20px "Space Grotesk";
}
.has-pending .home-pending-count {
  background: #fff3d9;
  color: #9a6500;
}
.home-pending-loading,
.home-pending-empty {
  padding: 19px;
  border: 1px dashed #d6d7d2;
  border-radius: 9px;
  background: #fafaf8;
  color: #77787e;
  font-size: 11px;
}
.home-pending-empty {
  display: grid;
  gap: 3px;
}
.home-pending-empty strong {
  color: #26734c;
  font-size: 12px;
}
.home-pending-list {
  display: grid;
  gap: 7px;
}
.home-pending-list article {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 13px;
  border: 1px solid #e6e6e1;
  border-radius: 9px;
  background: #fafaf8;
}
.home-pending-list time,
.home-pending-list article > div {
  display: grid;
  gap: 2px;
}
.home-pending-list time {
  padding-right: 13px;
  border-right: 1px solid #e2e2dd;
}
.home-pending-list time strong {
  font-size: 12px;
  text-transform: capitalize;
}
.home-pending-list time span,
.home-pending-list article > div span,
.home-pending-list article > div small {
  color: #77787e;
  font-size: 9px;
}
.home-pending-list article > div > strong {
  font-size: 12px;
}
.home-pending-actions {
  display: flex !important;
  grid-template-columns: 1fr 1fr;
  gap: 7px !important;
}
.home-pending-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.home-pending-actions .secondary {
  background: #ecece8;
  color: #3d3e43;
}
.home-pending-actions .primary {
  background: var(--indigo);
  color: #fff;
}
.home-pending-actions button:disabled {
  opacity: .5;
}
.workspace-content:has(.restaurant-manager) {
  min-width: 0;
  padding: 25px;
}
.main-column,
.workspace,
.workspace-content {
  min-width: 0;
}
.restaurant-manager {
  min-width: 0;
  max-width: 1600px;
  margin: 0 auto;
}
.menu-manager-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}
.menu-manager-head h2 {
  margin: 4px 0 5px;
  font: 600 30px "Space Grotesk";
  letter-spacing: -.035em;
}
.menu-manager-head p:not(.eyebrow) {
  margin: 0;
  color: #77787e;
  font-size: 10px;
}
.menu-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.publish-switch,
.availability {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5f6065;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}
.publish-switch input,
.availability input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.publish-switch span,
.availability span {
  position: relative;
  width: 32px;
  height: 18px;
  background: #c9cac7;
  border-radius: 9px;
  transition: background .2s ease;
}
.publish-switch span:after,
.availability span:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  transition: transform .2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.publish-switch input:checked + span,
.availability input:checked + span {
  background: #4f46e5;
}
.publish-switch input:checked + span:after,
.availability input:checked + span:after {
  transform: translateX(14px);
}
.menu-workbench {
  display: grid;
  grid-template-columns: 220px minmax(420px, 1fr) 330px;
  min-height: 680px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(28, 29, 34, .05);
}
.menu-workbench > *,
.menu-workbench input,
.menu-workbench textarea,
.menu-workbench select {
  min-width: 0;
}
.menu-categories {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 15px 10px;
  background: #202126;
  border-right: 1px solid #36373e;
}
.menu-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 9px 13px;
  color: white;
}
.menu-panel-title strong {
  font-size: 11px;
}
.menu-panel-title span {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  color: #b8b9c0;
  background: #33343b;
  border-radius: 5px;
  font-size: 8px;
}
.category-list {
  display: grid;
  gap: 4px;
}
.category-list > button {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 50px;
  padding: 7px 7px;
  color: #b8b9c0;
  background: transparent;
  border: 0;
  border-radius: 7px;
  text-align: left;
}
.category-list > button:hover {
  color: white;
  background: #35363e;
}
.category-list > button.active {
  color: white;
  background: #4f46e5;
}
.category-list > button > span:nth-child(2) {
  overflow: hidden;
}
.category-list strong,
.category-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.category-list strong {
  font-size: 9px;
}
.category-list small {
  margin-top: 3px;
  color: #888a93;
  font-size: 7px;
}
.category-list i {
  color: #e2ae53;
  font-size: 6px;
  font-style: normal;
}
.drag-dots {
  color: #73757f;
  font-size: 15px;
}
.order-controls {
  display: none;
  gap: 1px;
  grid-column: 3;
}
.category-list > button:hover .order-controls {
  display: flex;
}
.order-controls b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #c6c7ce;
  background: #44454e;
  border-radius: 4px;
  font-size: 8px;
}
.menu-add-category {
  width: 100%;
  min-height: 38px;
  margin-top: 9px;
  color: #c5c3ff;
  background: transparent;
  border: 1px dashed #50515a;
  border-radius: 7px;
  font-size: 8px;
  font-weight: 600;
}
.menu-add-category:hover {
  color: white;
  border-color: #7773df;
  background: #2d2c45;
}
.menu-settings-card {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 12px 9px 4px;
  border-top: 1px solid #37383f;
}
.menu-settings-card label {
  gap: 5px;
  color: #9698a1;
  font-size: 7px;
}
.menu-settings-card input,
.menu-settings-card select {
  width: 100%;
  min-height: 31px;
  padding: 0 8px;
  color: white;
  background: #2e2f36;
  border: 1px solid #414249;
  border-radius: 5px;
  font-size: 8px;
}
.menu-items-panel {
  min-width: 0;
  padding: 20px;
  overflow: auto;
  background: #f8f8f6;
}
.category-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e2e2dd;
}
.category-editor-head > div:first-child {
  flex: 1;
  min-width: 0;
}
.category-name-input,
.category-description-input {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
}
.category-name-input {
  color: var(--ink);
  font: 600 22px "Space Grotesk";
  letter-spacing: -.025em;
}
.category-description-input {
  margin-top: 6px;
  color: #85868b;
  font-size: 9px;
}
.category-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-tools label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #626369;
  font-size: 8px;
}
.category-tools input {
  accent-color: var(--indigo);
}
.category-tools select {
  min-height: 34px;
  padding: 0 8px;
  background: white;
  border: 1px solid #d8d8d3;
  border-radius: 6px;
  font-size: 8px;
}
.menu-list-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 17px 0 11px;
}
.menu-list-toolbar > label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 310px;
  height: 38px;
  padding: 0 11px;
  color: #777;
  background: white;
  border: 1px solid #dadad5;
  border-radius: 7px;
}
.menu-list-toolbar input {
  width: 100%;
  background: transparent;
  border: 0;
  font-size: 9px;
}
.menu-item-list {
  overflow: hidden;
  background: white;
  border: 1px solid #deded9;
  border-radius: 9px;
}
.menu-item-head,
.menu-item-list > article {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 105px 110px 125px;
  align-items: center;
  gap: 10px;
}
.menu-item-head {
  min-height: 35px;
  padding: 0 12px;
  color: #898a90;
  background: #eeeeea;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.menu-item-list > article {
  min-height: 68px;
  padding: 8px 10px;
  border-top: 1px solid #ecece7;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.menu-item-list > article:hover,
.menu-item-list > article.selected {
  background: #f1f0ff;
  box-shadow: inset 3px 0 var(--indigo);
}
.menu-item-main {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.menu-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  overflow: hidden;
  color: #7773bd;
  background: #e9e8f8;
  border-radius: 7px;
  font: 600 14px "Space Grotesk";
}
.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-item-main > span:last-child {
  min-width: 0;
}
.menu-item-main strong,
.menu-item-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-item-main strong {
  font-size: 9px;
}
.menu-item-main small {
  margin-top: 4px;
  color: #8a8b90;
  font-size: 7px;
}
.menu-price {
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.availability {
  font-size: 7px;
}
.availability span {
  width: 27px;
  height: 15px;
}
.availability span:after {
  top: 3px;
  width: 9px;
  height: 9px;
}
.availability input:checked + span:after {
  transform: translateX(12px);
}
.menu-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
}
.menu-row-actions button {
  min-height: 28px;
  padding: 0 6px;
  color: #67686d;
  background: #f1f1ed;
  border: 0;
  border-radius: 5px;
  font-size: 7px;
}
.menu-row-actions button:last-child {
  color: var(--indigo);
  background: #ecebff;
  font-weight: 700;
}
.menu-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 210px;
  padding: 25px;
  color: #777;
  text-align: center;
}
.menu-empty.large {
  min-height: 600px;
}
.menu-empty strong {
  color: var(--ink);
}
.menu-empty p {
  margin: 6px 0 13px;
  font-size: 9px;
}
.delete-category,
.delete-item {
  margin-top: 15px;
  color: #a13d3d;
  background: transparent;
  border: 0;
  font-size: 8px;
  text-decoration: underline;
}
.menu-item-editor {
  min-width: 0;
  overflow: auto;
  background: white;
  border-left: 1px solid #deded9;
}
.item-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid #e2e2dd;
}
.item-editor-head small {
  color: var(--indigo);
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.item-editor-head h3 {
  margin: 4px 0 0;
  font-size: 16px;
}
.item-editor-head button {
  width: 29px;
  height: 29px;
  color: #777;
  background: #f2f2ef;
  border: 0;
  border-radius: 50%;
  font-size: 18px;
}
.item-photo {
  position: relative;
  display: grid;
  place-items: center;
  height: 180px;
  overflow: hidden;
  color: #888;
  background: #e8e8e3;
  font-size: 9px;
}
.item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-photo label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  color: white;
  background: rgba(25, 26, 32, .82);
  border-radius: 6px;
  font-size: 7px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(5px);
}
.item-photo input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.item-fields {
  display: grid;
  gap: 12px;
  padding: 17px;
}
.item-fields label {
  gap: 5px;
  font-size: 8px;
}
.item-fields input,
.item-fields textarea,
.variant-editor input {
  width: 100%;
  padding: 9px;
  background: #fafaf8;
  border: 1px solid #d8d8d3;
  border-radius: 6px;
  font-size: 9px;
}
.item-fields textarea {
  min-height: 78px;
  resize: vertical;
}
.item-fields .field-pair {
  gap: 8px;
}
.item-checks {
  display: flex;
  gap: 18px;
}
.item-checks label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.item-checks input {
  width: 14px;
  accent-color: var(--indigo);
}
.variant-editor {
  padding: 17px;
  border-top: 1px solid #e2e2dd;
  border-bottom: 1px solid #e2e2dd;
}
.variant-editor > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.variant-editor > div strong {
  font-size: 10px;
}
.variant-editor > div button {
  color: var(--indigo);
  background: transparent;
  border: 0;
  font-size: 8px;
  font-weight: 700;
}
.variant-editor article {
  display: grid;
  grid-template-columns: 1fr 85px 24px;
  gap: 5px;
  margin-top: 5px;
}
.variant-editor article button {
  color: #a13d3d;
  background: #fff0ef;
  border: 0;
  border-radius: 5px;
}
.variant-editor > p {
  color: #888;
  font-size: 8px;
  line-height: 1.5;
}
.delete-item {
  margin: 15px 17px 25px;
}
.item-editor-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 680px;
  padding: 30px;
  color: #888;
  text-align: center;
}
.item-editor-placeholder > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--indigo);
  background: #ecebff;
  border-radius: 11px;
  font-size: 21px;
}
.item-editor-placeholder strong {
  margin-top: 13px;
  color: var(--ink);
  font-size: 11px;
}
.item-editor-placeholder p {
  max-width: 220px;
  margin: 6px 0 0;
  font-size: 8px;
  line-height: 1.55;
}
.menu-loading {
  display: grid;
  place-items: center;
  min-height: 400px;
}
.menu-loading i {
  width: 48px;
  height: 48px;
  background: #e6e5f8;
  border-radius: 12px;
  animation: pulse 1s infinite alternate;
}
.menu-loading p {
  color: #777;
  font-size: 10px;
}
@media (max-width: 1450px) {
  .menu-workbench {
    grid-template-columns: 205px minmax(430px, 1fr);
  }
  .menu-item-editor {
    position: fixed;
    z-index: 15;
    top: 0;
    right: 0;
    width: min(390px, 100vw);
    height: 100dvh;
    transform: translateX(102%);
    transition: transform .25s ease;
    box-shadow: -25px 0 70px rgba(18, 19, 23, .2);
  }
  .menu-item-editor.open {
    transform: translateX(0);
  }
  .item-editor-placeholder {
    display: none;
  }
}
@media (max-width: 900px) {
  .site-home-welcome {
    align-items: flex-start;
  }
  .home-stats-grid,
  .home-stat-skeleton {
    grid-template-columns: 1fr 1fr;
  }
  .home-action-grid {
    grid-template-columns: 1fr;
  }
  .home-chart-wrap {
    grid-template-columns: 1fr;
  }
  .menu-manager-head {
    align-items: flex-start;
  }
  .menu-workbench {
    grid-template-columns: 180px minmax(420px, 1fr);
    overflow-x: auto;
  }
  .menu-item-head,
  .menu-item-list > article {
    grid-template-columns: minmax(190px, 1fr) 90px 110px;
  }
  .menu-item-head span:last-child,
  .menu-row-actions {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-home-welcome {
    display: grid;
  }
  .site-summary-strip {
    grid-template-columns: auto 1fr;
  }
  .site-summary-strip > button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .home-analytics,
  .home-actions,
  .home-pending {
    padding: 17px 14px;
  }
  .home-stats-grid,
  .home-stat-skeleton {
    grid-template-columns: 1fr 1fr;
  }
  .home-stat {
    min-height: 105px;
    padding: 13px;
  }
  .home-stat strong {
    font-size: 21px;
  }
  .home-pending-list article {
    grid-template-columns: 66px minmax(0, 1fr);
  }
  .home-pending-actions {
    grid-column: 1/-1;
    display: grid !important;
  }
  .home-pending-actions button {
    min-height: 44px;
  }
  .home-pending-list time {
    padding-right: 9px;
  }
  .workspace-content:has(.restaurant-manager) {
    padding: 19px 10px 45px;
  }
  .menu-manager-head {
    display: grid;
    padding: 0 5px;
  }
  .menu-head-actions {
    justify-content: space-between;
  }
  .menu-workbench {
    display: block;
    min-height: 0;
    overflow: visible;
    border-radius: 9px;
  }
  .menu-categories {
    overflow: auto;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    border-right: 0;
  }
  .menu-panel-title,
  .menu-settings-card,
  .menu-add-category {
    display: none;
  }
  .category-list {
    display: flex;
  }
  .category-list > button {
    flex: 0 0 auto;
    width: 145px;
  }
  .order-controls,
  .category-list > button:hover .order-controls {
    display: none;
  }
  .menu-items-panel {
    padding: 14px 10px;
    overflow: visible;
  }
  .category-editor-head {
    display: grid;
  }
  .category-tools {
    justify-content: space-between;
  }
  .menu-list-toolbar {
    align-items: center;
  }
  .menu-list-toolbar > label {
    min-width: 0;
  }
  .menu-list-toolbar .primary {
    flex: 0 0 auto;
    padding: 0 10px;
  }
  .menu-item-head {
    display: none;
  }
  .menu-item-list {
    overflow: visible;
    background: transparent;
    border: 0;
  }
  .menu-item-list > article {
    grid-template-columns: 1fr auto;
    margin-bottom: 7px;
    padding: 10px;
    background: white;
    border: 1px solid #deded9 !important;
    border-radius: 8px;
  }
  .menu-item-list > article > .availability {
    grid-column: 1;
  }
  .menu-price {
    align-self: start;
  }
  .menu-row-actions {
    display: flex;
    grid-column: 2;
    grid-row: 2;
  }
  .menu-row-actions button:not(:last-child) {
    display: none;
  }
  .menu-item-editor {
    width: 100vw;
  }
  .item-editor-head {
    position: sticky;
    z-index: 2;
    top: 0;
    background: white;
  }
  .delete-category {
    margin-bottom: 12px;
  }
}
.restaurant-ops {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.ops-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.ops-head h2 {
  margin: 4px 0 6px;
  font-size: 30px;
  letter-spacing: -.04em;
}
.ops-head p {
  margin: 0;
  color: var(--muted);
}
.ops-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #dfe4ed;
  border-radius: 999px;
  background: #fff;
  color: #445066;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.ops-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1ca86f;
  box-shadow: 0 0 0 4px #e7f8f1;
}
.ops-tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  overflow: auto;
  border: 1px solid #dfe4ed;
  border-radius: 12px;
  background: #fff;
}
.ops-tabs button {
  padding: 10px 15px;
  border-radius: 8px;
  color: #596176;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.ops-tabs button:hover {
  background: rgba(79, 70, 229, .08);
  color: #4f46e5;
}
.ops-tabs button.active {
  background: #4f46e5;
  color: #fff;
}
.ops-tabs button.active:hover {
  background: #4338ca;
  color: #fff;
}
.ops-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e1e5ec;
  border-radius: 14px;
  background: #fff;
}
.ops-toolbar > label {
  display: grid;
  gap: 6px;
  color: #60687a;
  font-size: 11px;
  font-weight: 700;
}
.ops-toolbar input {
  min-height: 40px;
}
.ops-kpi {
  display: grid;
  min-width: 110px;
  padding: 2px 15px;
  border-left: 1px solid #e3e6ed;
}
.ops-kpi strong {
  font-size: 24px;
  line-height: 1;
}
.ops-kpi span {
  margin-top: 5px;
  color: #747b8a;
  font-size: 11px;
}
.booking-board {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.booking-card {
  display: grid;
  grid-template-columns: 75px minmax(180px, 1fr) 145px 145px auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e1e5ec;
  border-left: 4px solid #c0c5d0;
  border-radius: 12px;
  background: #fff;
}
.booking-card.status-pending {
  border-left-color: #f2a319;
  background: #fdf6e0;
}
.booking-card.status-confirmed {
  border-left-color: #2d7cf6;
}
.booking-card.status-seated {
  border-left-color: #1ca86f;
}
.booking-card.status-waitlisted {
  border-left-color: #7c3aed;
}
.booking-card.status-cancelled,
.booking-card.status-no_show {
  opacity: .65;
}
.booking-time,
.booking-person {
  display: grid;
  gap: 8px;
}
.booking-time strong {
  font-size: 20px;
}
.booking-time small,
.booking-person span,
.booking-person small {
  color: #71798a;
  font-size: 11px;
}
.booking-person strong {
  font-size: 14px;
}
.booking-card select {
  min-width: 0;
  height: 38px;
}
.booking-ref {
  color: #9298a6;
  font-size: 10px;
  font-weight: 800;
}
.wa-action {
  padding: 9px 11px;
  border-radius: 8px;
  background: #e8f8f0;
  color: #097245;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.ops-empty {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed #cfd4df;
  border-radius: 14px;
  background: #fafbfc;
}
.ops-empty p {
  color: #747b8a;
}
.floor-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
}
.floor-layout > aside {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px;
  border: 1px solid #e1e5ec;
  border-radius: 14px;
  background: #fff;
}
.floor-layout > aside > p {
  margin: 0 4px 8px;
  color: #7b8291;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.floor-layout > aside > button {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-radius: 8px;
  text-align: left;
}
.floor-layout > aside > button.active {
  background: #eef0ff;
  color: #4f46e5;
}
.floor-layout > section {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e1e5ec;
  border-radius: 14px;
  background: #fff;
}
.floor-legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.floor-legend span {
  color: #777f8e;
  font-size: 11px;
}
.floor-board {
  position: relative;
  width: 100%;
  max-height: 640px;
  overflow: hidden;
  border: 1px solid #cfd5df;
  border-radius: 12px;
  background-color: #f7f7f4;
  background-image:
    linear-gradient(#e7e9ed 1px, transparent 1px),
    linear-gradient(
      90deg,
      #e7e9ed 1px,
      transparent 1px);
  background-size: 24px 24px;
  touch-action: none;
}
.floor-table {
  position: absolute;
  display: grid;
  place-content: center;
  min-width: 0 !important;
  padding: 4px;
  border: 2px solid #727988;
  background: #fff;
  box-shadow: 0 4px 10px rgba(20, 21, 26, .1);
  touch-action: none;
  cursor: grab;
}
.floor-table.shape-round {
  border-radius: 50%;
}
.floor-table.shape-square {
  border-radius: 9px;
}
.floor-table.shape-rectangle {
  border-radius: 8px;
}
.floor-table.occupied {
  border-color: #4f46e5;
  background: #eeedff;
  color: #3830b3;
}
.floor-table strong {
  font-size: 12px;
}
.floor-table small {
  font-size: 8px;
  color: #72798a;
}
.customer-panel,
.marketing-panel,
.ops-settings {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.customer-table {
  overflow: hidden;
  border: 1px solid #e1e5ec;
  border-radius: 14px;
  background: #fff;
}
.customer-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr .7fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 13px 16px;
  border-top: 1px solid #eceef2;
  font-size: 12px;
}
.customer-row.head {
  border: 0;
  background: #f6f7f9;
  color: #757c8d;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.customer-row > span {
  display: grid;
  gap: 3px;
}
.customer-row small {
  color: #8a91a0;
}
.consent-tags {
  display: flex !important;
  flex-wrap: wrap;
  gap: 5px;
}
.consent-tags i {
  padding: 5px 7px;
  border-radius: 999px;
  background: #edf7f2;
  color: #16714c;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.marketing-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 24px;
  border-radius: 16px;
  background: #171922;
  color: #fff;
}
.marketing-hero h3 {
  margin: 4px 0 8px;
  font-size: 24px;
}
.marketing-hero p {
  max-width: 680px;
  color: #b7bac5;
}
.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.segment-grid article {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid #e1e5ec;
  border-radius: 14px;
  background: #fff;
}
.segment-grid article > span {
  font-size: 30px;
  font-weight: 800;
}
.segment-grid p {
  margin: 0;
  color: #747b8a;
  font-size: 12px;
}
.marketing-safety {
  padding: 18px;
  border: 1px solid #f0d697;
  border-radius: 12px;
  background: #fff9e9;
}
.marketing-safety p {
  margin: 5px 0 0;
  color: #766344;
  font-size: 12px;
}
.ops-settings > section {
  padding: 20px;
  border: 1px solid #e1e5ec;
  border-radius: 14px;
  background: #fff;
}
.ops-settings h3 {
  margin: 0 0 16px;
}
.service-hour {
  display: grid;
  grid-template-columns: 140px 110px 110px 120px;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #eceef2;
}
.service-hour > label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}
.service-hour > label:last-child {
  display: grid;
  grid-template-columns: auto 70px;
}
.service-hour input {
  min-width: 0;
}
.integration-roadmap {
  position: relative;
}
.google-state {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f2f3f6;
  color: #6f7685;
  font-size: 10px;
  font-weight: 800;
}
.google-state.state-live {
  background: #e9f8f1;
  color: #11704a;
}
.confirm-action {
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: #4f46e5;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.confirm-action:disabled {
  opacity: .55;
}
.cancelled-toggle {
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #d9dde5;
  border-radius: 8px;
  background: #f8f9fb;
  color: #626a7b;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.cancelled-toggle[aria-pressed=true] {
  border-color: #cabcb9;
  background: #fff6f4;
  color: #8b3c32;
}
.cancel-action {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #e1b5af;
  border-radius: 8px;
  background: #fff5f3;
  color: #9b372e;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.cancel-action:disabled {
  opacity: .5;
}
@media (max-width: 1000px) {
  .booking-card {
    grid-template-columns: 65px minmax(160px, 1fr) 135px;
  }
  .segment-grid {
    grid-template-columns: 1fr;
  }
  .floor-layout {
    grid-template-columns: 1fr;
  }
  .floor-layout > aside {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .floor-layout > aside > p {
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .ops-head,
  .marketing-hero {
    flex-direction: column;
  }
  .ops-toolbar {
    align-items: stretch;
    overflow: auto;
  }
  .ops-kpi {
    min-width: 90px;
  }
  .booking-card {
    grid-template-columns: 68px 1fr;
    gap: 14px;
    padding: 16px;
  }
  .booking-card select,
  .booking-card .wa-action,
  .booking-card .confirm-action {
    grid-column: 1/-1;
  }
  .customer-row {
    grid-template-columns: 1fr 1fr;
  }
  .customer-row.head {
    display: none;
  }
  .service-hour {
    grid-template-columns: 1fr 1fr;
  }
  .floor-layout > aside {
    grid-template-columns: 1fr 1fr;
  }
  .floor-board {
    min-height: 380px;
  }
  .ops-settings .field-pair {
    grid-template-columns: 1fr;
  }
}
.escape-manager {
  display: grid;
  gap: 20px;
}
.escape-head {
  margin: 0;
}
.escape-kpis {
  display: flex;
  gap: 9px;
}
.escape-kpis span {
  min-width: 96px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 11px;
}
.escape-kpis strong {
  display: block;
  color: var(--ink);
  font: 700 23px "Space Grotesk";
}
.escape-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: #ecece7;
  border-radius: 10px;
  width: max-content;
}
.escape-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #666;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.escape-tabs button:hover {
  color: #4f46e5;
}
.escape-tabs button.active {
  background: #fff;
  color: #4f46e5;
  box-shadow: 0 2px 8px rgba(79, 70, 229, .18);
  font-weight: 800;
}
.escape-date {
  display: grid;
  grid-template-columns: minmax(220px, 330px) 1fr;
  align-items: end;
  gap: 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.escape-date p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.escape-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.escape-resource-grid article,
.escape-settings > section,
.escape-settings > article,
.escape-bookings {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.escape-resource-grid header {
  padding: 17px 18px;
  border-bottom: 1px solid #ecece7;
}
.escape-resource-grid small,
.escape-exp-title small {
  color: var(--indigo);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.escape-resource-grid h3,
.escape-exp-title h3 {
  margin: 5px 0 0;
  font-size: 17px;
}
.escape-slot-list {
  display: grid;
  padding: 8px;
}
.escape-slot-list > div {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 7px 9px;
  border-top: 1px solid #f0f0ec;
}
.escape-slot-list > div:first-child {
  border-top: 0;
}
.escape-slot-list span {
  font-size: 10px;
  font-weight: 700;
}
.escape-slot-list span.open {
  color: #26734c;
}
.escape-slot-list span.closed {
  color: #9a4b38;
}
.escape-slot-list button {
  min-height: 32px;
  padding: 0 10px;
  background: #f5f5f1;
  border: 1px solid #deded8;
  border-radius: 6px;
  font-size: 10px;
}
.escape-bookings {
  padding: 18px;
}
.escape-bookings > h3 {
  margin: 0 0 14px;
  font-size: 18px;
}
.escape-bookings article {
  display: grid;
  grid-template-columns: 1fr 165px;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #ecece7;
}
.escape-bookings article:first-of-type {
  border-top: 0;
}
.escape-bookings h4 {
  margin: 4px 0;
  font-size: 14px;
}
.escape-bookings p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.escape-bookings a {
  color: var(--indigo);
}
.escape-bookings small {
  color: #777;
  font-size: 10px;
}
.escape-empty {
  padding: 28px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #cfcfc8;
  border-radius: 11px;
  text-align: center;
}
.escape-settings {
  display: grid;
  gap: 14px;
}
.escape-settings > section,
.escape-settings > article {
  display: grid;
  gap: 16px;
  padding: 19px;
}
.escape-toggle {
  align-self: end;
  min-height: 45px;
}
.escape-exp-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.escape-week {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.escape-week label {
  font-size: 10px;
}
.escape-resource-note {
  margin: 0;
  padding: 10px 12px;
  background: #f4f4f1;
  border-radius: 7px;
  color: var(--muted);
  font-size: 10px;
}
.escape-settings > .primary {
  justify-self: start;
}
.escape-manager .notice {
  margin: 0;
}
@media (max-width: 700px) {
  .escape-head {
    display: grid;
    gap: 14px;
  }
  .escape-kpis {
    width: 100%;
  }
  .escape-kpis span {
    flex: 1;
  }
  .escape-date {
    grid-template-columns: 1fr;
  }
  .escape-resource-grid {
    grid-template-columns: 1fr;
  }
  .escape-bookings article {
    grid-template-columns: 1fr;
  }
  .escape-week {
    grid-template-columns: 1fr;
  }
  .escape-tabs {
    width: 100%;
  }
  .escape-tabs button {
    flex: 1;
  }
  .escape-slot-list > div {
    grid-template-columns: 48px 1fr auto;
  }
}
.social-gallery-manager {
  display: grid;
  gap: 20px;
}
.social-gallery-head {
  margin: 0;
  align-items: start;
}
.social-state {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #777;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.social-state.connected {
  background: #eaf7ef;
  border-color: #badfc8;
  color: #216943;
}
.social-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 16px;
}
.social-publisher,
.instagram-panel,
.social-posts {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px;
}
.social-publisher {
  display: grid;
  gap: 15px;
}
.social-publisher textarea {
  resize: vertical;
}
.social-drop {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 20px;
  border: 1.5px dashed #bfc0b9;
  border-radius: 11px;
  background: #f8f8f5;
  text-align: center;
  cursor: pointer;
}
.social-drop input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.social-drop strong {
  font-size: 13px;
}
.social-drop span {
  color: var(--muted);
  font-size: 10px;
}
.social-publish-toggle {
  padding: 13px;
  background: #f3f3ef;
  border-radius: 8px;
}
.social-hint {
  color: var(--muted);
  line-height: 1.5;
}
.instagram-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.instagram-panel p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.instagram-panel small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}
.instagram-panel .social-error {
  color: #a14936;
}
.text-danger {
  border: 0;
  background: none;
  color: #a14936;
  font-size: 10px;
  padding: 0;
  cursor: pointer;
}
.social-posts {
  display: grid;
  gap: 16px;
}
.social-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.social-post-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafaf7;
  transition: opacity .2s;
}
.social-post-grid article.hidden-post {
  opacity: .48;
}
.social-post-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.social-post-grid article > div {
  display: grid;
  gap: 5px;
  padding: 11px;
}
.social-post-grid strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-post-grid small {
  color: var(--muted);
  font-size: 9px;
}
.social-post-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.social-post-actions button,
.social-post-actions a {
  padding: 0;
  border: 0;
  background: none;
  color: var(--indigo);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.social-post-actions button:nth-child(2) {
  color: #a14936;
}
@media (max-width: 850px) {
  .social-gallery-head {
    display: grid;
    gap: 12px;
  }
  .social-state {
    width: max-content;
  }
  .social-gallery-layout {
    grid-template-columns: 1fr;
  }
  .social-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .social-publisher,
  .instagram-panel,
  .social-posts {
    padding: 15px;
  }
  .social-post-grid {
    grid-template-columns: 1fr;
  }
  .social-drop {
    min-height: 125px;
  }
  .social-gallery-manager .field-pair {
    grid-template-columns: 1fr;
  }
}
.booking-contact-actions {
  display: grid;
  gap: 6px;
}
.booking-contact-actions .wa-action,
.message-action {
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
}
.message-action {
  background: #e8f8f0;
  color: #097245;
}
.message-action:disabled {
  opacity: .5;
}
.message-state {
  display: inline-flex !important;
  align-items: center;
  width: max-content;
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9px !important;
  font-weight: 800;
}
.message-state:before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
}
.message-delivered {
  color: #0d7950 !important;
  background: #e7f7ef;
}
.message-sending {
  color: #3d55a8 !important;
  background: #edf0ff;
}
.message-failed {
  color: #a13b32 !important;
  background: #fff0ee;
}
.message-waiting {
  color: #7c6c4d !important;
  background: #f7f1e4;
}
.booking-created {
  color: #4338ca !important;
  font-weight: 750;
}
.messaging-settings {
  display: grid !important;
  gap: 15px;
  border-color: #cac7f4 !important;
  box-shadow: inset 4px 0 #4f46e5;
}
.messaging-settings.whatsapp-settings {
  border-color: #b9dfcc !important;
  box-shadow: inset 4px 0 #159160;
}
.messaging-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.messaging-settings-head h3 {
  margin: 3px 0 6px;
}
.messaging-settings-head p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: #72798a;
  font-size: 12px;
}
.messaging-config-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f5f0e4;
  color: #786642;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.messaging-config-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.messaging-config-state.ready {
  background: #e8f7ef;
  color: #11704a;
}
.messaging-setup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.messaging-setup-steps span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #f6f6fb;
  color: #5d6272;
  font-size: 10px;
  font-weight: 700;
}
.messaging-setup-steps b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4f46e5;
  color: #fff;
  font-size: 9px;
}
.messaging-settings textarea {
  min-height: 92px;
  resize: vertical;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.template-grid label {
  display: grid;
  gap: 5px;
  color: #60687a;
  font-size: 10px;
  font-weight: 700;
}
.messaging-safety {
  padding: 13px;
  border: 1px solid #b9dfcc;
  border-radius: 9px;
  background: #f0faf5;
}
.messaging-safety p {
  margin: 4px 0 0;
  color: #4e6f5e;
  font-size: 11px;
}
.messaging-test-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e5e6ee;
}
.messaging-test-row small {
  color: #697184;
  font-size: 9px;
}
@media (max-width: 700px) {
  .messaging-settings-head {
    flex-direction: column;
  }
  .booking-card .booking-contact-actions {
    grid-column: 1/-1;
  }
  .booking-contact-actions {
    grid-template-columns: 1fr 1fr;
  }
  .messaging-setup-steps,
  .template-grid {
    grid-template-columns: 1fr;
  }
  .messaging-test-row {
    align-items: stretch;
    flex-direction: column;
  }
  .messaging-test-row button {
    min-height: 44px;
  }
}
.meta-connect-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid #b9dfcc;
  border-radius: 11px;
  background: #f0faf5;
}
.meta-connect-card strong {
  display: block;
  font-size: 13px;
}
.meta-connect-card p {
  margin: 5px 0 0;
  color: #557263;
  font-size: 11px;
  line-height: 1.5;
}
.meta-connect-card .primary {
  flex: 0 0 auto;
}
.advanced-credentials {
  padding: 12px 14px;
  border: 1px solid #e3e5e8;
  border-radius: 9px;
  background: #fafaf8;
}
.advanced-credentials summary {
  color: #60687a;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.advanced-credentials[open] summary {
  margin-bottom: 12px;
}
@media (max-width: 700px) {
  .meta-connect-card {
    align-items: stretch;
    flex-direction: column;
  }
  .meta-connect-card .primary {
    width: 100%;
    min-height: 44px;
  }
  .advanced-credentials .field-pair {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    --mobile-shell-height: 64px;
    --mobile-project-height: 68px;
  }
  html {
    overflow-x: hidden;
    background: var(--cream);
  }
  body {
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
  }
  button,
  input,
  textarea,
  select {
    touch-action: manipulation;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .sidebar {
    position: sticky;
    z-index: 30;
    top: 0;
    height: calc(var(--mobile-shell-height) + env(safe-area-inset-top));
    padding: calc(10px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));
    background: rgba(247, 247, 244, .96);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .sidebar .brand {
    padding: 0;
  }
  .sidebar .brand img {
    width: 36px;
    height: 28px;
  }
  .sidebar-user {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .sidebar-user > span {
    display: grid;
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .sidebar-user > div:not(.account-actions) {
    display: none;
  }
  .sidebar-user .account-actions {
    display: flex !important;
    gap: 6px;
  }
  .sidebar-user button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #52535a;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .topbar {
    min-height: 104px;
    padding: 19px max(16px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left));
  }
  .topbar h1 {
    max-width: 11ch;
    font-size: clamp(23px, 7vw, 28px);
    line-height: 1.02;
  }
  .topbar .primary {
    min-width: 44px;
    min-height: 44px;
    white-space: nowrap;
  }
  .content {
    padding: 24px max(14px, env(safe-area-inset-right)) calc(72px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  }
  .section-intro {
    padding: 0 2px 19px;
  }
  .section-intro p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
  }
  .site-card {
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(20, 21, 26, .06);
  }
  .site-card:hover {
    transform: none;
  }
  .site-preview {
    height: min(48vw, 190px);
  }
  .site-info {
    min-height: 110px;
    padding: 17px 18px 15px;
  }
  .workspace-bar {
    position: sticky;
    z-index: 24;
    top: calc(var(--mobile-shell-height) + env(safe-area-inset-top));
    min-height: var(--mobile-project-height);
    padding: 9px max(12px, env(safe-area-inset-right)) 9px max(12px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
  }
  .workspace-bar .back {
    width: 44px;
    height: 44px;
  }
  .workspace-bar p {
    display: none;
  }
  .workspace-bar h1 {
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .workspace-actions {
    display: flex;
  }
  .workspace-actions .secondary {
    display: grid;
    place-items: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }
  .workspace-actions .secondary svg {
    width: 19px;
    height: 19px;
  }
  .workspace-nav {
    position: sticky;
    z-index: 22;
    top: calc(var(--mobile-shell-height) + var(--mobile-project-height) + env(safe-area-inset-top));
    gap: 7px;
    min-height: 58px;
    padding: 7px max(10px, env(safe-area-inset-right)) 7px max(10px, env(safe-area-inset-left));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    background: rgba(240, 240, 235, .96);
    backdrop-filter: blur(16px);
  }
  .workspace-nav::-webkit-scrollbar {
    display: none;
  }
  .workspace-nav > button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 9px 12px;
    scroll-snap-align: start;
    border: 1px solid transparent;
  }
  .workspace-nav > button.active {
    border-color: #4f46e5;
    background: rgba(79, 70, 229, .1);
    box-shadow: none;
  }
  .workspace-content {
    padding: 23px max(13px, env(safe-area-inset-right)) calc(72px + env(safe-area-inset-bottom)) max(13px, env(safe-area-inset-left));
  }
  .workspace-title {
    display: grid;
    gap: 13px;
    margin-bottom: 21px;
  }
  .workspace-title h2 {
    font-size: clamp(25px, 8vw, 31px);
    line-height: 1.02;
  }
  .workspace-title .primary {
    width: 100%;
  }
  .modal-backdrop {
    place-items: end center;
    padding: 0;
  }
  .modal {
    width: 100%;
    max-height: calc(100dvh - env(safe-area-inset-top) - 16px);
    padding: 27px 20px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
  }
  .modal h2 {
    padding-right: 38px;
    font-size: 27px;
  }
  .modal-close {
    top: 14px;
    right: 14px;
  }
  .modal-actions {
    position: sticky;
    bottom: calc(-20px - env(safe-area-inset-bottom));
    margin: 4px -20px calc(-20px - env(safe-area-inset-bottom));
    padding: 13px 20px calc(13px + env(safe-area-inset-bottom));
    background: var(--cream);
    border-top: 1px solid var(--line);
  }
  .modal-actions > * {
    flex: 1;
  }
  .drawer {
    padding: 22px 16px calc(20px + env(safe-area-inset-bottom));
  }
  .drawer-actions {
    bottom: calc(-20px - env(safe-area-inset-bottom));
    padding: 14px 0 calc(20px + env(safe-area-inset-bottom));
  }
  .home-stats-grid,
  .home-stat-skeleton {
    gap: 8px;
  }
  .home-stat {
    min-height: 112px;
    padding: 14px 12px;
  }
  .home-stat small {
    min-height: 2.6em;
    line-height: 1.3;
  }
  .home-chart-wrap {
    padding: 14px 10px;
  }
  .home-action-grid button {
    min-height: 86px;
  }
  .page-row {
    padding: 14px;
  }
  .row-actions {
    justify-content: stretch;
    gap: 6px;
  }
  .row-actions .edit-page {
    flex: 1;
  }
  .row-actions button {
    border: 1px solid #e3e3de;
  }
  .ops-head {
    gap: 13px;
  }
  .ops-head h2 {
    font-size: 28px;
  }
  .ops-tabs,
  .escape-tabs {
    margin-right: -13px;
    margin-left: -13px;
    padding-right: 13px;
    padding-left: 13px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    scrollbar-width: none;
  }
  .ops-tabs::-webkit-scrollbar,
  .escape-tabs::-webkit-scrollbar {
    display: none;
  }
  .ops-tabs button,
  .escape-tabs button {
    min-height: 44px;
  }
  .ops-toolbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 14px;
    overflow: visible;
  }
  .ops-toolbar > label {
    grid-column: 1 / -1;
    margin-bottom: 13px;
  }
  .ops-kpi {
    min-width: 0;
    padding: 8px 10px;
    text-align: center;
    border-top: 1px solid #e3e6ed;
    border-left: 0;
  }
  .ops-kpi + .ops-kpi {
    border-left: 1px solid #e3e6ed;
  }
  .ops-kpi strong {
    font-size: 21px;
  }
  .booking-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px 12px;
  }
  .booking-time strong {
    font-size: 22px;
  }
  .booking-person strong {
    font-size: 15px;
  }
  .booking-person span {
    overflow-wrap: anywhere;
  }
  .booking-card select {
    grid-column: 1 / -1;
    width: 100%;
    height: 46px;
  }
  .booking-card .booking-contact-actions {
    grid-column: 1 / -1;
  }
  .booking-contact-actions .wa-action,
  .email-action,
  .cancel-action {
    display: grid;
    place-items: center;
    min-height: 44px;
    font-size: 11px;
  }
  .cancelled-toggle {
    grid-column: 1 / -1;
    margin-top: 12px;
  }
  .booking-ref {
    grid-column: 1 / -1;
    padding-top: 3px;
  }
  .customer-panel .ops-toolbar {
    grid-template-columns: repeat(3, 1fr);
  }
  .customer-panel .ops-toolbar .secondary {
    grid-column: 1 / -1;
    margin-top: 12px;
  }
  .customer-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 15px;
  }
  .customer-row > span {
    padding-top: 9px;
    border-top: 1px solid #eff0f3;
  }
  .service-hour {
    grid-template-columns: 1fr 1fr;
    padding: 13px 0;
  }
  .service-hour > label:first-child {
    grid-column: 1 / -1;
  }
  .service-hour > label:last-child {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 90px;
  }
  .floor-layout > aside {
    grid-template-columns: 1fr 1fr;
  }
  .floor-layout > aside .secondary,
  .floor-layout > aside .primary {
    min-height: 48px;
  }
  .floor-legend {
    display: grid;
    gap: 4px;
  }
  .floor-board {
    min-height: min(92vw, 430px);
  }
  .escape-kpis {
    gap: 7px;
  }
  .escape-kpis span {
    min-width: 0;
    padding: 11px;
  }
  .escape-slot-list > div {
    min-height: 58px;
    padding: 8px 5px;
  }
  .escape-slot-list button {
    min-height: 44px;
  }
  .social-publisher,
  .instagram-panel,
  .social-posts {
    padding: 16px;
  }
  .social-drop {
    min-height: 145px;
  }
  .social-publisher > .primary {
    min-height: 50px;
  }
  .social-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .social-post-grid article > div {
    padding: 9px;
  }
  .social-post-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .social-post-actions button,
  .social-post-actions a {
    display: flex;
    align-items: center;
    min-height: 36px;
    border-top: 1px solid #ecece7;
    font-size: 10px;
  }
  .safe-editor > header {
    height: calc(64px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
  .safe-body > aside:first-child {
    position: sticky;
    z-index: 4;
    top: calc(64px + env(safe-area-inset-top));
    scrollbar-width: none;
  }
  .safe-body > aside:first-child::-webkit-scrollbar {
    display: none;
  }
  .safe-body > aside:first-child button {
    min-height: 44px;
  }
  .safe-preview {
    height: 50dvh;
    padding: 8px;
  }
  .safe-fields input,
  .safe-fields textarea {
    font-size: 16px;
  }
  .safe-fields article {
    gap: 13px;
  }
  .safe-save,
  .safe-file {
    min-height: 48px;
  }
}
.safe-file {
  position: relative;
  display: grid;
  gap: 3px;
  place-items: center;
  padding: 12px 14px;
  color: #fff;
  background: #4f46e5;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
}
.safe-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.safe-file span {
  font-size: 13px;
  font-weight: 700;
}
.safe-file small {
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  line-height: 1.35;
}
.safe-published {
  color: #1f7a45;
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 390px) {
  .brand-word {
    display: none;
  }
  .topbar .primary {
    padding: 0 11px;
    font-size: 12px;
  }
  .home-stats-grid,
  .home-stat-skeleton {
    grid-template-columns: 1fr;
  }
  .home-stat {
    min-height: 96px;
  }
  .social-post-grid {
    grid-template-columns: 1fr;
  }
  .booking-contact-actions {
    grid-template-columns: 1fr;
  }
}
.agenda-command {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #dfe3eb;
  border-radius: 14px;
  background: #fff;
}
.agenda-command-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.agenda-date-control {
  display: flex;
  align-items: end;
  gap: 7px;
}
.agenda-date-control > button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #dce0e8;
  border-radius: 10px;
  background: #f6f7f9;
  color: #292d38;
  font-size: 27px;
  line-height: 1;
}
.agenda-date-control label {
  display: grid;
  gap: 5px;
  color: #656d7d;
  font-size: 10px;
  font-weight: 800;
}
.agenda-date-control input {
  min-height: 48px;
  font-size: 22px;
  font-weight: 800;
  color: #17191f;
  padding: 0 10px;
}
.agenda-totals {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
.agenda-totals span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #f6f7f9;
  color: #5b6274;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.agenda-totals strong {
  display: block;
  color: #17191f;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.agenda-totals .total-pending {
  background: #fdf3e2;
}
.agenda-totals .total-pending strong {
  color: #c9820f;
}
.agenda-totals .total-waitlisted {
  background: #f0ecfc;
}
.agenda-totals .total-waitlisted strong {
  color: #7c3aed;
}
.agenda-totals .total-confirmed {
  background: #e5f5ec;
}
.agenda-totals .total-confirmed strong {
  color: #168a5d;
}
.manual-booking-trigger,
.manual-save {
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(79, 70, 229, .2);
}
.manual-booking-form {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #c9c7f0;
  border-radius: 16px;
  background: #f5f5ff;
  box-shadow: inset 4px 0 #4f46e5;
}
.manual-form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.manual-form-head h3 {
  margin: 0 0 4px;
  font-size: 20px;
}
.manual-form-head p {
  margin: 0;
  color: #697084;
  font-size: 12px;
}
.manual-form-head > span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e4f6ed;
  color: #136b49;
  font-size: 10px;
  font-weight: 800;
}
.manual-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 120px 100px;
  gap: 11px;
}
.manual-form-grid label,
.booking-edit-grid label {
  display: grid;
  gap: 6px;
  color: #555e72;
  font-size: 10px;
  font-weight: 800;
}
.manual-form-grid input,
.manual-form-grid textarea,
.booking-edit-grid textarea {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
}
.manual-phone {
  grid-column: 1/3;
}
.phone-history {
  grid-column: 1/3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -4px;
  padding: 10px 12px;
  border: 1px solid #c9c7f0;
  border-radius: 9px;
  background: #eeedff;
  color: #3830b3;
  font-size: 11px;
  font-weight: 700;
}
.phone-history-noshow {
  color: #a15a1f;
}
.phone-history button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: #4f46e5;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.returning-tag {
  width: max-content;
  padding: 4px 8px;
  margin-top: 4px;
  border-radius: 5px;
  background: #eeedff;
  color: #4f46a7;
  font-size: 9px;
  font-weight: 800;
}
.manual-notes {
  grid-column: 3/5;
}
.manual-notes textarea {
  min-height: 120px;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
}
.manual-save {
  justify-self: end;
  min-width: 220px;
}
.agenda-secondary-row {
  display: flex;
  justify-content: flex-end;
}
.cancelled-toggle {
  min-height: 40px;
  color: #60687a;
  font-size: 11px;
  font-weight: 750;
}
.booking-board {
  position: relative;
  padding-left: 8px;
}
.booking-board:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45px;
  width: 1px;
  background: #d8dce5;
}
.booking-card {
  position: relative;
  grid-template-columns: 72px minmax(230px, 1fr) 135px 135px minmax(120px, auto) auto;
  border-left-width: 1px;
  border-radius: 10px;
}
.booking-card:before {
  content: "";
  position: absolute;
  left: -6px;
  top: 27px;
  width: 9px;
  height: 9px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #aab0bd;
  box-shadow: 0 0 0 1px #cdd2db;
}
.booking-card.status-pending:before {
  background: #d99a2b;
}
.booking-card.status-confirmed:before {
  background: #4f46e5;
}
.booking-card.status-seated:before {
  background: #168a5d;
}
.booking-main-data {
  display: flex !important;
  align-items: flex-start;
  gap: 16px 28px;
  margin-top: 6px;
}
.booking-main-data b {
  color: #17191f;
}
.booking-main-data a {
  color: #343c51;
  text-decoration: underline;
  text-decoration-color: #c4c8d2;
  text-underline-offset: 3px;
}
.booking-source {
  width: max-content;
  padding: 3px 6px;
  border-radius: 5px;
  background: #edf0f6;
  color: #5c6475 !important;
  font-size: 9px !important;
  font-weight: 800;
}
.booking-source.source-phone,
.booking-source.source-admin,
.booking-source.source-walk_in {
  background: #eeeafd;
  color: #4f46a7 !important;
}
.booking-notes {
  display: grid;
  gap: 2px;
  margin-top: 5px;
  padding: 9px 10px;
  border-left: 3px solid #d99a2b;
  border-radius: 0 7px 7px 0;
  background: #fff7df;
}
.booking-notes strong {
  color: #6c572a;
  font-size: 9px;
}
.booking-notes p {
  margin: 0;
  color: #4f4635;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-wrap;
}
.reschedule-action {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #c9c7f0;
  border-radius: 8px;
  background: #f5f5ff;
  color: #4f46e5;
  font-size: 10px;
  font-weight: 800;
}
.whatsapp-pricing {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px;
  border: 1px solid #b9dfcc;
  border-radius: 10px;
  background: #f0faf5;
}
.whatsapp-pricing > div {
  display: grid;
}
.whatsapp-pricing > div strong {
  color: #0d7049;
  font-size: 25px;
  letter-spacing: -.04em;
}
.whatsapp-pricing > div span {
  color: #537161;
  font-size: 9px;
  line-height: 1.35;
}
.whatsapp-pricing p {
  margin: 0;
  color: #466454;
  font-size: 11px;
  line-height: 1.5;
}
.whatsapp-pricing a {
  color: #0d7049;
  font-size: 10px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ops-empty button {
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  background: #17191f;
  color: #fff;
  font-weight: 800;
}
@media (max-width: 1100px) {
  .manual-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .manual-phone,
  .manual-notes {
    grid-column: auto;
  }
  .booking-card {
    grid-template-columns: 68px minmax(0, 1fr) 135px;
  }
  .whatsapp-pricing {
    grid-template-columns: 140px 1fr;
  }
  .whatsapp-pricing > a {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .restaurant-ops {
    gap: 13px;
  }
  .ops-head {
    display: none;
  }
  .ops-tabs {
    position: sticky;
    z-index: 7;
    top: calc(64px + env(safe-area-inset-top));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
  }
  .agenda-command {
    padding: 12px;
    border-radius: 12px;
    gap: 12px;
  }
  .agenda-date-control {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: end;
  }
  .agenda-date-control label {
    min-width: 0;
  }
  .agenda-date-control input {
    width: 100%;
    font-size: 16px;
  }
  .agenda-totals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }
  .agenda-totals span {
    display: grid;
    gap: 2px;
    padding: 10px 5px;
    text-align: center;
    white-space: normal;
  }
  .agenda-totals strong {
    font-size: 22px;
  }
  .manual-booking-trigger {
    position: fixed;
    z-index: 15;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: max(14px, env(safe-area-inset-left));
    min-height: 54px;
    border-radius: 14px;
    font-size: 14px;
    box-shadow: 0 12px 32px rgba(35, 30, 116, .34);
  }
  .manual-booking-form {
    padding: 17px 14px 82px;
    border-radius: 14px;
    box-shadow: inset 0 4px #4f46e5;
  }
  .manual-form-head {
    display: grid;
    gap: 9px;
  }
  .manual-form-head > span {
    position: absolute;
    right: 29px;
    width: max-content;
  }
  .manual-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .manual-form-grid label {
    grid-column: 1/-1;
  }
  .manual-form-grid label:nth-child(3),
  .manual-form-grid label:nth-child(4) {
    grid-column: auto;
  }
  .manual-form-grid input,
  .manual-form-grid textarea {
    min-height: 49px;
  }
  .manual-save {
    justify-self: stretch;
    width: 100%;
    min-height: 50px;
  }
  .agenda-secondary-row {
    justify-content: flex-start;
  }
  .booking-board {
    gap: 10px;
    padding-left: 0;
  }
  .booking-board:before {
    left: 37px;
  }
  .booking-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 16px 14px 16px 12px;
    border-left-width: 1px;
  }
  .booking-card:before {
    left: 32px;
    top: 20px;
    transform: translateX(-50%);
  }
  .booking-time {
    position: relative;
    z-index: 1;
    padding-top: 1px;
  }
  .booking-time strong {
    font-size: 18px;
    letter-spacing: -.03em;
  }
  .booking-time small {
    display: none;
  }
  .booking-person {
    padding-left: 3px;
  }
  .booking-person strong {
    font-size: 16px;
    line-height: 1.15;
  }
  .booking-main-data {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .booking-main-data b {
    font-size: 13px;
  }
  .booking-main-data a {
    min-height: 25px;
    font-size: 13px;
  }
  .booking-created {
    font-size: 9px !important;
  }
  .booking-notes {
    margin-top: 6px;
    padding: 12px 14px;
  }
  .booking-notes p {
    font-size: 13px;
  }
  .booking-card select,
  .booking-card .booking-contact-actions,
  .booking-edit-editor,
  .booking-ref {
    grid-column: 2/-1;
  }
  .booking-contact-actions {
    grid-template-columns: 1fr 1fr;
  }
  .booking-contact-actions .wa-action,
  .booking-contact-actions .message-action,
  .booking-contact-actions,
  .booking-contact-actions .reschedule-action,
  .booking-contact-actions .cancel-action,
  .booking-contact-actions .confirm-action {
    display: grid;
    place-items: center;
    min-height: 44px;
    font-size: 11px;
  }
  .booking-ref {
    font-size: 9px;
  }
  .whatsapp-pricing {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .whatsapp-pricing > a {
    grid-column: auto;
    min-height: 40px;
  }
  .whatsapp-pricing > div strong {
    font-size: 28px;
  }
  .restaurant-ops {
    padding-bottom: 68px;
  }
}
@media (max-width: 390px) {
  .manual-form-grid {
    grid-template-columns: 1fr;
  }
  .manual-form-grid label:nth-child(3),
  .manual-form-grid label:nth-child(4) {
    grid-column: 1;
  }
  .booking-contact-actions {
    grid-template-columns: 1fr;
  }
}
.manual-form-head {
  position: relative;
}
.telegram-discovery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid #dcdcf2;
  border-radius: 10px;
  background: #f8f8ff;
}
.telegram-discovery strong {
  display: block;
  font-size: 12px;
}
.telegram-discovery p {
  margin: 3px 0 0;
  color: #697184;
  font-size: 10px;
}
.telegram-candidates {
  display: grid;
  gap: 8px;
}
.telegram-candidates article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid #e1e3ec;
  border-radius: 9px;
  background: #fff;
}
.telegram-candidates article strong,
.telegram-candidates article span {
  display: block;
}
.telegram-candidates article strong {
  font-size: 12px;
}
.telegram-candidates article span {
  margin-top: 3px;
  color: #73798a;
  font-size: 9px;
}
@media (max-width: 700px) {
  .telegram-discovery,
  .telegram-candidates article {
    align-items: stretch;
    flex-direction: column;
  }
  .telegram-discovery button,
  .telegram-candidates button {
    min-height: 44px;
  }
}
.analytics-page {
  display: grid;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}
.analytics-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  gap: 30px;
  min-height: 315px;
  padding: 42px;
  overflow: hidden;
  color: #fff;
  background: #17181e;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(28, 26, 63, .13);
}
.analytics-hero:before {
  content: "";
  position: absolute;
  inset: auto -12% -65% 24%;
  height: 170%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(79, 70, 229, .62),
      rgba(79, 70, 229, 0) 63%);
  pointer-events: none;
}
.analytics-hero:after {
  content: "U";
  position: absolute;
  right: 34%;
  bottom: -.23em;
  color: rgba(255, 255, 255, .025);
  font: 700 280px/1 "Space Grotesk";
  letter-spacing: -.12em;
}
.analytics-hero-copy,
.analytics-range {
  position: relative;
  z-index: 1;
}
.analytics-hero .eyebrow {
  color: #aaa4ff;
}
.analytics-hero h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 5.6vw, 75px);
  line-height: .88;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.analytics-hero h2 span {
  color: #aaa4ff;
}
.analytics-hero-copy > p:last-child {
  max-width: 590px;
  margin: 27px 0 0;
  color: #b9bac4;
  font-size: 14px;
  line-height: 1.7;
}
.analytics-range {
  align-self: end;
  padding: 18px;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
  backdrop-filter: blur(12px);
}
.analytics-range > small {
  display: block;
  margin-bottom: 10px;
  color: #aaaab5;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.analytics-range > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.analytics-range button {
  min-height: 37px;
  padding: 0 8px;
  color: #c8c8d0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}
.analytics-range button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.analytics-range button.active {
  color: #16171c;
  background: #fff;
}
.analytics-range > span {
  display: block;
  margin-top: 11px;
  color: #93949e;
  font-size: 9px;
}
.analytics-kpis {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .9fr .9fr;
  gap: 9px;
}
.analytics-kpis > button,
.analytics-kpis > [role=button],
.analytics-kpis > article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 21px;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-align: left;
}
.analytics-kpis > button,
.analytics-kpis > [role=button] {
  transition: .22s ease;
}
.analytics-kpis > button:hover,
.analytics-kpis > [role=button]:hover {
  z-index: 1;
  border-color: #bcb8f4;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(53, 48, 121, .1);
}
.analytics-kpis > button.active,
.analytics-kpis > [role=button].active {
  color: #fff;
  background: #4f46e5;
  border-color: #4f46e5;
}
.analytics-kpis small {
  color: #74757c;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.analytics-kpis > button.active small,
.analytics-kpis > [role=button].active small {
  color: #d6d3ff;
}
.analytics-kpis strong {
  display: block;
  margin: 13px 0 9px;
  font: 600 clamp(31px, 3vw, 44px)/1 "Space Grotesk";
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
}
.analytics-kpis strong.date-value {
  font-size: clamp(25px, 2.5vw, 36px);
}
.analytics-kpis > * > i {
  margin-top: auto;
  color: #85868e;
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
}
.analytics-kpis > button.active > i,
.analytics-kpis > [role=button].active > i {
  color: #dad8ff;
}
.analytics-change {
  font-size: 9px;
  font-weight: 650;
}
.analytics-change.positive {
  color: #24784d;
}
.analytics-change.negative {
  color: #b54848;
}
.analytics-change.neutral {
  color: #8a8b91;
}
.analytics-kpis > button.active .analytics-change,
.analytics-kpis > [role=button].active .analytics-change {
  color: #fff;
}
.analytics-chart-card {
  padding: 28px 28px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.analytics-chart-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
}
.analytics-chart-card h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -.035em;
}
.analytics-selected-day {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 2px 8px;
  min-width: 170px;
  text-align: right;
}
.analytics-selected-day small {
  grid-column: 1/-1;
  color: #74757c;
  font-size: 9px;
  text-transform: capitalize;
}
.analytics-selected-day strong {
  font: 600 31px/1 "Space Grotesk";
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}
.analytics-selected-day span {
  color: #777880;
  font-size: 9px;
}
.analytics-bars {
  display: flex;
  align-items: stretch;
  gap: 3px;
  height: 225px;
  margin-top: 25px;
  padding: 18px 5px 0;
  overflow-x: auto;
  border-bottom: 1px solid #d9d9d4;
  background-image:
    linear-gradient(
      to bottom,
      transparent 24%,
      #eeeeea 25%,
      transparent 25.5%,
      transparent 49%,
      #eeeeea 50%,
      transparent 50.5%,
      transparent 74%,
      #eeeeea 75%,
      transparent 75.5%);
  scrollbar-width: thin;
}
.analytics-bars > button {
  display: grid;
  grid-template-rows: 1fr 22px;
  flex: 1;
  min-width: 12px;
  padding: 0;
  background: transparent;
  border: 0;
}
.analytics-bars.range-90 > button {
  min-width: 8px;
}
.analytics-bars.range-365 > button {
  min-width: 5px;
}
.analytics-bars > button > span {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 100%;
}
.analytics-bars > button i {
  display: block;
  width: min(72%, 18px);
  min-height: 1px;
  background: #bbb8ef;
  border-radius: 4px 4px 1px 1px;
  transition:
    height .32s cubic-bezier(.2, .8, .2, 1),
    background .18s,
    transform .18s;
}
.analytics-bars > button:hover i,
.analytics-bars > button.selected i {
  background: #4f46e5;
  transform: scaleX(1.2);
}
.analytics-bars > button small {
  align-self: end;
  color: #999aa0;
  font-size: 7px;
  white-space: nowrap;
  transform: rotate(-35deg);
  transform-origin: center;
}
.analytics-bars > button.selected small {
  color: #3831b5;
  font-weight: 800;
}
.analytics-chart-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
}
.analytics-chart-card > footer span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #585960;
  font-size: 9px;
  font-weight: 700;
}
.analytics-chart-card > footer span i {
  width: 8px;
  height: 8px;
  background: #4f46e5;
  border-radius: 2px;
}
.analytics-chart-card > footer p {
  margin: 0;
  color: #95969b;
  font-size: 8px;
}
.analytics-zero-state {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 25px 28px;
  color: #fff;
  background: #25262d;
  border-radius: 15px;
}
.analytics-zero-state > span {
  color: #aaa4ff;
  font: 600 44px "Space Grotesk";
}
.analytics-zero-state h3 {
  margin: 0 0 4px;
}
.analytics-zero-state p {
  margin: 0;
  color: #b7b8c0;
  font-size: 11px;
}
.analytics-breakdown-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 10px;
}
.analytics-breakdown {
  min-height: 270px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.analytics-breakdown:nth-child(1) {
  grid-row: span 2;
}
.analytics-breakdown > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid #ededE9;
}
.analytics-breakdown h3 {
  margin: 0 0 5px;
  font-size: 18px;
}
.analytics-breakdown header p {
  margin: 0;
  color: #7c7d83;
  font-size: 9px;
}
.analytics-breakdown header > span {
  color: #8b8c92;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.analytics-ranking {
  display: grid;
}
.analytics-ranking > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #efefeb;
}
.analytics-ranking > div:last-child {
  border-bottom: 0;
}
.analytics-rank {
  color: #a0a1a7;
  font: 600 9px "Space Grotesk";
}
.analytics-ranking > div > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.analytics-ranking strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.analytics-ranking i {
  display: block;
  height: 3px;
  overflow: hidden;
  background: #ececf0;
  border-radius: 3px;
}
.analytics-ranking i b {
  display: block;
  height: 100%;
  background: #7169e9;
  border-radius: 3px;
}
.analytics-ranking em {
  font: 600 11px "Space Grotesk";
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.analytics-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 180px;
  padding: 25px;
  text-align: center;
}
.analytics-empty strong {
  font-size: 12px;
}
.analytics-empty p {
  max-width: 330px;
  margin: 7px 0 0;
  color: #85868c;
  font-size: 9px;
  line-height: 1.55;
}
.analytics-connections {
  padding: 27px;
  background: #eeede8;
  border-radius: 17px;
}
.analytics-connections > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
}
.analytics-connections h3 {
  margin: 0;
  font-size: 22px;
}
.analytics-connections > header > p {
  max-width: 390px;
  margin: 0;
  color: #77787e;
  font-size: 9px;
  text-align: right;
}
.analytics-connections > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.analytics-connections article,
.analytics-connections button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 75px;
  padding: 13px;
  color: var(--ink);
  background: #f7f7f4;
  border: 1px solid #deded8;
  border-radius: 11px;
  text-align: left;
}
.analytics-connections button {
  transition: .18s ease;
}
.analytics-connections button:hover {
  background: #fff;
  border-color: #b9b5ef;
}
.analytics-connections article > span,
.analytics-connections button > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #777;
  background: #e6e6e1;
  border-radius: 9px;
  font: 700 10px "Space Grotesk";
}
.analytics-connections .connected > span {
  color: #fff;
  background: #4f46e5;
}
.analytics-connections strong,
.analytics-connections small {
  display: block;
}
.analytics-connections strong {
  font-size: 10px;
}
.analytics-connections small {
  margin-top: 4px;
  overflow: hidden;
  color: #818289;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.analytics-connections em {
  color: #85868c;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.analytics-connections .connected em {
  color: #3932b8;
}
.analytics-loading {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.analytics-loading i {
  height: 168px;
  background:
    linear-gradient(
      100deg,
      #eee 20%,
      #fafaf8 50%,
      #eee 80%);
  background-size: 300% 100%;
  border-radius: 13px;
  animation: shimmer 1.3s infinite;
}
@media (max-width: 1050px) {
  .analytics-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .analytics-range {
    align-self: auto;
    max-width: 450px;
  }
  .analytics-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .analytics-connections > div {
    grid-template-columns: 1fr;
  }
  .analytics-breakdown-grid {
    grid-template-columns: 1fr 1fr;
  }
  .analytics-breakdown:nth-child(1) {
    grid-row: auto;
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .analytics-page {
    gap: 12px;
  }
  .analytics-hero {
    margin: -23px -13px 0;
    padding: 31px 18px 24px;
    border-radius: 0 0 22px 22px;
  }
  .analytics-hero:after {
    right: -7%;
    font-size: 200px;
  }
  .analytics-hero h2 {
    font-size: clamp(39px, 13vw, 58px);
  }
  .analytics-hero-copy > p:last-child {
    margin-top: 20px;
    font-size: 12px;
  }
  .analytics-range {
    padding: 13px;
  }
  .analytics-range button {
    min-height: 44px;
  }
  .analytics-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .analytics-kpis > button,
  .analytics-kpis > [role=button],
  .analytics-kpis > article {
    min-height: 145px;
    padding: 15px;
  }
  .analytics-kpis strong {
    font-size: 32px;
  }
  .analytics-kpis strong.date-value {
    font-size: 25px;
  }
  .analytics-kpis > * > i {
    display: none;
  }
  .analytics-chart-card {
    padding: 19px 13px 14px;
    border-radius: 14px;
  }
  .analytics-chart-card > header {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .analytics-chart-card h3 {
    font-size: 19px;
  }
  .analytics-selected-day {
    min-width: 105px;
  }
  .analytics-selected-day small {
    max-width: 125px;
  }
  .analytics-selected-day strong {
    font-size: 27px;
  }
  .analytics-bars {
    height: 210px;
    margin-right: -4px;
    margin-left: -4px;
  }
  .analytics-bars > button {
    flex: 0 0 19px;
    min-width: 19px;
  }
  .analytics-bars.range-7 > button {
    flex: 1;
  }
  .analytics-chart-card > footer {
    align-items: flex-start;
  }
  .analytics-chart-card > footer p {
    max-width: 55%;
    text-align: right;
  }
  .analytics-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .analytics-breakdown:nth-child(1) {
    grid-column: auto;
  }
  .analytics-breakdown {
    min-height: 0;
    padding: 19px 16px;
  }
  .analytics-connections {
    padding: 21px 15px;
  }
  .analytics-connections > header {
    display: grid;
  }
  .analytics-connections > header > p {
    text-align: left;
  }
  .analytics-connections article,
  .analytics-connections button {
    min-height: 80px;
  }
  .analytics-zero-state {
    grid-template-columns: 1fr;
    padding: 21px;
  }
  .analytics-loading {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 390px) {
  .analytics-kpis {
    grid-template-columns: 1fr;
  }
  .analytics-kpis > button,
  .analytics-kpis > [role=button],
  .analytics-kpis > article {
    min-height: 126px;
  }
}
.modules-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.modules-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
}
.modules-panel h3 {
  margin: 0 0 5px;
  font-size: 22px;
}
.modules-panel header p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: #77787f;
  font-size: 11px;
  line-height: 1.55;
}
.modules-panel > header > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #3d36c4;
  background: #eeedff;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.module-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.module-list > label {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 77px;
  padding: 12px 14px;
  color: #676870;
  background: #f5f5f2;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: .18s ease;
}
.module-list > label:hover {
  border-color: #cbc9ee;
}
.module-list > label.enabled {
  color: var(--ink);
  background: #f0efff;
  border-color: #d1cef7;
}
.module-list > label.planned {
  cursor: default;
  opacity: .7;
}
.module-index {
  font: 600 9px "Space Grotesk";
  letter-spacing: .06em;
}
.module-list strong,
.module-list small {
  display: block;
}
.module-list strong {
  font-size: 11px;
}
.module-list small {
  margin-top: 4px;
  color: #85868d;
  font-size: 8px;
  line-height: 1.4;
}
.module-list input {
  appearance: none;
  display: block;
  width: 36px;
  height: 21px;
  padding: 0;
  background: #c9cad0;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
}
.module-list input:after {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  margin: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  transition: transform .18s ease;
}
.module-list input:checked {
  background: #4f46e5;
}
.module-list input:checked:after {
  transform: translateX(15px);
}
.module-list em {
  color: #77787e;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.modules-panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.modules-panel > footer p {
  max-width: 600px;
  margin: 0;
  color: #83848a;
  font-size: 9px;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .modules-panel {
    padding: 18px 14px;
  }
  .modules-panel > header {
    display: grid;
  }
  .module-list {
    grid-template-columns: 1fr;
  }
  .module-list > label {
    min-height: 82px;
  }
  .modules-panel > footer {
    display: grid;
  }
  .modules-panel > footer .primary {
    width: 100%;
    min-height: 48px;
  }
}
.workspace-content,
.analytics-page,
.analytics-chart-card {
  min-width: 0;
  max-width: 100%;
}
.analytics-page {
  width: 100%;
}
.analytics-chart-card {
  overflow: hidden;
}
.analytics-bars {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.analytics-bars > button,
.analytics-bars.range-90 > button,
.analytics-bars.range-365 > button {
  flex: 1 1 0;
  min-width: 0;
}
.analytics-bars.range-90 {
  gap: 2px;
}
.analytics-bars.range-365 {
  gap: 1px;
}
.analytics-bars.range-90 > button,
.analytics-bars.range-365 > button {
  grid-template-rows: 1fr;
}
.analytics-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 5px 0;
  color: #8e8f96;
  font-size: 8px;
  text-transform: capitalize;
}
.analytics-connection-note {
  margin: 13px 2px 0;
  color: #71727a;
  font-size: 9px;
  line-height: 1.55;
}
.analytics-connection-note strong {
  color: #45464c;
}
@media (max-width: 700px) {
  .analytics-bars {
    margin-right: 0;
    margin-left: 0;
    padding-right: 2px;
    padding-left: 2px;
  }
  .analytics-bars > button,
  .analytics-bars.range-7 > button {
    flex: 1 1 0;
    min-width: 0;
  }
  .analytics-bars.range-90 {
    gap: 1px;
  }
  .analytics-bars.range-365 {
    gap: 1px;
  }
  .analytics-axis {
    padding-right: 2px;
    padding-left: 2px;
  }
  .analytics-connection-note {
    font-size: 10px;
  }
}
.picker-field {
  cursor: pointer;
}
.manual-form-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.manual-form-grid > label:nth-child(1),
.manual-form-grid > label:nth-child(2) {
  grid-column: span 2;
}
.manual-form-grid > label:nth-child(3),
.manual-form-grid > label:nth-child(4) {
  grid-column: span 1;
}
.manual-service {
  grid-column: span 2;
}
.manual-phone,
.phone-history {
  grid-column: span 3;
}
.manual-notes {
  grid-column: span 3;
}
.manual-form-grid select,
.booking-edit-grid select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #d8dce5;
  border-radius: 8px;
  background: #fff;
  color: #17191f;
  font-size: 16px;
}
.service-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.service-overview article {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3px 12px;
  padding: 15px 17px;
  border: 1px solid #dfe3eb;
  border-radius: 12px;
  background: #fff;
}
.service-overview span {
  grid-column: 1/-1;
  color: #687083;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.service-overview strong {
  font: 750 28px/1 "Space Grotesk";
  font-variant-numeric: tabular-nums;
}
.service-overview small {
  padding-bottom: 2px;
  color: #777f8e;
  font-size: 10px;
}
.service-overview-aperitivo {
  box-shadow: inset 3px 0 #d69a34;
}
.service-overview-cena {
  box-shadow: inset 3px 0 #4f46e5;
}
.service-overview-dopocena {
  box-shadow: inset 3px 0 #252934;
}
.booking-board {
  padding-left: 0;
}
.booking-board:before {
  display: none;
}
.service-group {
  display: grid;
  gap: 8px;
}
.service-group > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px 7px;
  border-bottom: 1px solid #dfe3eb;
}
.service-group > header div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.service-group > header span {
  font: 750 19px/1 "Space Grotesk";
  letter-spacing: -.025em;
}
.service-group > header strong,
.service-group > header em {
  color: #747c8c;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}
.service-bookings {
  display: grid;
  gap: 12px;
}
.service-group-aperitivo > header span {
  color: #a66c0b;
}
.service-group-cena > header span {
  color: #4338ca;
}
.service-group-dopocena > header span {
  color: #252934;
}
.booking-field-label {
  display: block;
  margin: 0 0 5px;
  color: #5a6273;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.booking-time {
  display: grid;
  gap: 6px;
  align-content: start;
  padding-right: 8px;
}
.booking-time strong {
  color: #11131a;
  font: 900 clamp(26px, 3.2vw, 34px)/.95 "Space Grotesk";
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.booking-time small {
  margin-top: 2px;
  color: #71798a;
  font-size: 11px;
}
.booking-person {
  display: grid !important;
  gap: 10px;
  align-content: start;
  padding: 2px 8px 2px 4px;
}
.booking-name,
.booking-person strong.booking-name {
  display: block;
  margin-top: 0;
  color: #11131a;
  font: 850 18px/1.2 "Space Grotesk";
  letter-spacing: -.02em;
}
.booking-main-data {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 28px;
  margin: 4px 0 2px;
}
.booking-party,
.booking-phone {
  display: grid;
  gap: 5px;
  min-width: 88px;
}
.booking-party b {
  color: #11131a;
  font: 850 20px/1 "Space Grotesk";
  font-variant-numeric: tabular-nums;
}
.booking-phone a {
  color: #11131a;
  font: 750 16px/1.25 "Space Grotesk";
  text-decoration: underline;
  text-decoration-color: #b8bcc8;
  text-underline-offset: 3px;
}
.booking-person .booking-source {
  margin-top: 2px;
}
.booking-person .booking-created {
  display: block;
  margin-top: 2px;
  line-height: 1.4;
}
.booking-notes {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding: 12px 14px;
  border-left: 3px solid #d99a2b;
  border-radius: 0 8px 8px 0;
  background: #fff7df;
}
.booking-notes strong {
  color: #6c572a;
  font-size: 9px;
}
.booking-notes p {
  margin: 0;
  color: #4f4635;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.booking-person .message-state {
  margin-top: 4px;
}
.booking-card {
  gap: 16px 20px;
  padding: 20px 20px 18px;
  align-items: start;
}
.booking-card select {
  margin-top: 2px;
}
.booking-contact-actions {
  display: grid;
  gap: 8px;
  align-content: start;
}
.booking-contact-actions .wa-action,
.booking-contact-actions .message-action,
.booking-contact-actions .reschedule-action,
.booking-contact-actions .cancel-action,
.booking-contact-actions .confirm-action {
  min-height: 40px;
  padding: 9px 12px;
}
.service-bookings {
  gap: 12px;
}
.booking-edit-editor {
  margin-top: 4px;
  padding: 16px;
  gap: 14px;
}
.booking-edit-editor {
  grid-column: 1/-1;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid #e7e9ee;
  background: #f6f7fb;
  border-radius: 0 0 10px 10px;
}
.booking-edit-editor > header {
  display: grid;
  gap: 3px;
}
.booking-edit-editor > header strong {
  font-size: 14px;
}
.booking-edit-editor > header small {
  color: #6d7586;
  font-size: 11px;
}
.booking-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.booking-edit-grid label {
  display: grid;
  gap: 6px;
  color: #555e72;
  font-size: 10px;
  font-weight: 800;
}
.booking-edit-grid input,
.booking-edit-grid select,
.booking-edit-grid textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #d8dce5;
  border-radius: 8px;
  background: #fff;
  color: #17191f;
  font-size: 16px;
}
.booking-edit-notes {
  grid-column: 1/-1;
}
.booking-edit-notes textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}
.booking-edit-editor > footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.booking-edit-editor > footer button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: #4f46e5;
  color: #fff;
  font-weight: 800;
}
.booking-edit-editor > footer .secondary {
  background: #e8eaef;
  color: #2a2f3c;
}
@media (max-width: 1100px) {
  .manual-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .manual-form-grid > label,
  .manual-form-grid > label:nth-child(1),
  .manual-form-grid > label:nth-child(2),
  .manual-form-grid > label:nth-child(3),
  .manual-form-grid > label:nth-child(4),
  .manual-service,
  .manual-phone,
  .manual-notes,
  .phone-history {
    grid-column: auto;
  }
  .booking-edit-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .service-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
  .service-overview article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 11px 9px;
  }
  .service-overview span {
    overflow: hidden;
    width: 100%;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .service-overview strong {
    font-size: 24px;
  }
  .service-group > header {
    padding-right: 4px;
    padding-left: 4px;
  }
  .service-group > header div {
    display: grid;
    gap: 3px;
  }
  .booking-card:before {
    display: none;
  }
  .booking-time {
    padding-right: 4px;
    gap: 5px;
  }
  .booking-time strong {
    font-size: 24px;
  }
  .booking-person {
    gap: 9px;
    padding: 0;
  }
  .booking-name,
  .booking-person strong.booking-name {
    font-size: 17px;
  }
  .booking-main-data {
    gap: 12px 18px;
  }
  .booking-party b {
    font-size: 18px;
  }
  .booking-phone a {
    font-size: 15px;
    min-height: 28px;
  }
  .booking-notes {
    margin-top: 2px;
    padding: 11px 12px;
  }
  .booking-contact-actions {
    gap: 7px;
  }
  .booking-edit-editor {
    grid-column: 2/-1;
  }
  .booking-edit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .booking-edit-editor > footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .booking-edit-editor > footer button {
    width: 100%;
  }
}
@media (max-width: 390px) {
  .booking-edit-grid {
    grid-template-columns: 1fr;
  }
  .booking-edit-editor > footer {
    grid-template-columns: 1fr;
  }
}
.agenda-totals-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.agenda-totals-primary span {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 15px;
  min-height: 108px;
  padding: 17px 20px;
  white-space: normal;
}
.agenda-totals-primary span small {
  grid-column: 1/-1;
  align-self: start;
  color: #687083;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.agenda-totals-primary span strong {
  grid-row: 2;
  font: 750 clamp(44px, 5vw, 66px)/.82 "Space Grotesk";
  font-variant-numeric: tabular-nums;
  letter-spacing: -.07em;
}
.agenda-totals-primary span b {
  grid-row: 2;
  align-self: end;
  padding-bottom: 2px;
  color: #50586a;
  font-size: 11px;
}
.floor-add-room {
  min-height: 40px;
  border: 1px dashed #a9afbb !important;
  color: #4f46e5 !important;
  background: #f8f8ff !important;
  font-weight: 800;
}
.room-editor {
  padding: 10px;
  border: 1px solid #e1e5ec;
  border-radius: 9px;
  background: #f7f7f4;
}
.room-editor label,
.table-editor label {
  display: grid;
  gap: 5px;
  color: #626a7b;
  font-size: 9px;
  font-weight: 800;
}
.room-editor input,
.table-editor input,
.table-editor select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 9px;
  border: 1px solid #d8dce5;
  border-radius: 7px;
  background: #fff;
  color: #17191f;
  font-size: 14px;
}
.table-editor {
  display: grid;
  gap: 12px;
  margin-bottom: 13px;
  padding: 14px;
  border: 1px solid #cbc9ee;
  border-radius: 12px;
  background: #f7f6ff;
}
.table-editor-fields {
  display: grid;
  grid-template-columns: 1.2fr .65fr .9fr .7fr .7fr;
  gap: 8px;
}
.table-presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.table-presets > span {
  margin-right: 5px;
  color: #707789;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.table-presets button {
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid #d6d4ee;
  border-radius: 7px;
  background: #fff;
  color: #4f46a7;
  font-size: 9px;
  font-weight: 800;
}
.table-presets button:hover {
  border-color: #4f46e5;
  background: #eeedff;
}
.table-editor-empty {
  margin-bottom: 13px;
  padding: 14px;
  border: 1px dashed #c8ccd5;
  border-radius: 10px;
  color: #737b8b;
  background: #fafbfc;
  font-size: 10px;
  text-align: center;
}
.floor-table.selected {
  z-index: 2;
  border-color: #4f46e5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .2), 0 8px 18px rgba(34, 30, 102, .18);
}
@media (max-width: 1000px) {
  .floor-layout > aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .floor-layout > aside > p,
  .room-editor {
    grid-column: 1/-1;
  }
  .floor-layout > aside > .primary,
  .floor-layout > aside > .secondary {
    min-height: 46px;
  }
  .table-editor-fields {
    grid-template-columns: 1fr 1fr;
  }
  .table-editor-fields label:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .agenda-totals-primary {
    grid-template-columns: 1fr 1fr;
  }
  .agenda-totals-primary span {
    display: grid;
    min-height: 104px;
    padding: 13px 11px;
    text-align: left;
  }
  .agenda-totals-primary span strong {
    font-size: 48px;
  }
  .agenda-totals-primary span b {
    font-size: 9px;
  }
  .floor-layout > aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .floor-layout > aside > button {
    min-height: 44px;
  }
  .floor-layout > section {
    padding: 13px 9px;
  }
  .table-editor {
    padding: 11px 9px;
  }
  .table-presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .table-presets > span {
    grid-column: 1/-1;
  }
  .table-presets button {
    min-height: 42px;
  }
}
@media (max-width: 390px) {
  .agenda-totals-primary {
    grid-template-columns: 1fr;
  }
  .agenda-totals-primary span {
    min-height: 92px;
  }
  .table-editor-fields {
    grid-template-columns: 1fr;
  }
  .table-editor-fields label:first-child {
    grid-column: 1;
  }
}
.floor-help-mobile {
  display: none;
}
@media (max-width: 760px) {
  .workspace-content :where(section, article, form, header, footer, aside, div) {
    min-width: 0;
  }
  .workspace-content :where(.primary, .secondary) {
    min-height: 44px;
  }
  .workspace-content a.secondary {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-home-welcome a.secondary {
    min-height: 44px;
  }
  .site-summary-strip > button,
  .home-section-head > button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
  }
  .google-setup-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .google-setup-intro,
  .google-admin-steps,
  .google-admin-steps li {
    min-width: 0;
    max-width: 100%;
  }
  .google-admin-steps code {
    max-width: 100%;
  }
  .row-actions {
    width: 100%;
  }
  .page-name {
    min-height: 44px;
  }
  .row-actions button,
  .row-actions .edit-page {
    min-width: 44px;
    min-height: 44px;
    height: 44px;
  }
  .row-actions .edit-page {
    flex: 1;
  }
  .ops-tabs button {
    border: 0;
  }
  .cancelled-toggle {
    min-height: 44px;
  }
  .floor-layout > aside > button {
    align-items: center;
    min-height: 46px;
    border: 1px solid #e1e5ec;
    background: #f8f9fb;
    color: #343946;
    font: 750 11px/1.2 Inter, sans-serif;
  }
  .floor-layout > aside > button.active {
    border-color: #cbc8f2;
    background: #eeedff;
    color: #4f46e5;
  }
  .floor-layout > aside > .floor-add-room {
    grid-column: 1/-1;
    justify-content: center;
  }
  .floor-help-desktop {
    display: none;
  }
  .floor-help-mobile {
    display: block;
  }
  .floor-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto !important;
    padding: 10px;
    overflow: visible;
    touch-action: manipulation;
  }
  .floor-table {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 68px !important;
    min-height: 68px;
    padding: 7px 5px;
    border-radius: 9px !important;
    cursor: pointer;
    touch-action: manipulation;
  }
  .floor-table strong {
    font-size: 13px;
  }
  .floor-table small {
    font-size: 9px;
  }
  .table-presets button {
    min-height: 44px;
  }
  .menu-list-toolbar .primary {
    min-height: 44px;
  }
  .menu-item-editor {
    z-index: 40;
    padding-top: env(safe-area-inset-top);
  }
  .item-editor-head {
    top: env(safe-area-inset-top);
  }
  .menu-row-actions button:last-child {
    min-width: 72px;
    min-height: 44px;
    font-size: 10px;
  }
  .delete-category,
  .delete-item {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    font-size: 10px;
  }
  .item-editor-head button {
    width: 44px;
    height: 44px;
  }
  .item-photo label {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 10px;
  }
  .item-fields label {
    font-size: 11px;
  }
  .item-fields input,
  .item-fields textarea,
  .variant-editor input {
    min-height: 46px;
    font-size: 16px;
  }
  .item-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .item-checks label {
    min-height: 44px;
    padding: 8px;
    border: 1px solid #e2e2dd;
    border-radius: 7px;
  }
  .variant-editor > div button {
    min-height: 44px;
    font-size: 10px;
  }
  .variant-editor article {
    grid-template-columns: minmax(0, 1fr) 92px 44px;
    gap: 7px;
  }
  .variant-editor article button {
    min-width: 44px;
    min-height: 44px;
  }
  .social-post-actions button,
  .social-post-actions a {
    min-height: 44px;
  }
  .social-publish-toggle {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .social-gallery-manager .check,
  .escape-exp-title .check {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 7px 4px;
  }
  .whatsapp-pricing > a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 359px) {
  .floor-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .item-checks {
    grid-template-columns: 1fr;
  }
}
.module-paid {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 6px;
  color: #7a4b00;
  background: #ffe8b8;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  vertical-align: middle;
}
.module-list > label.paid:not(.enabled) {
  background: #faf6ee;
}
.seo-intel-panel,
.seo-intel-locked {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}
.seo-intel-locked {
  grid-template-columns: minmax(0, 1fr) minmax(180px, .35fr);
  align-items: stretch;
  padding: 22px;
  background:
    linear-gradient(
      135deg,
      #17181e,
      #2a2448);
  border-radius: 16px;
  color: #fff;
}
.seo-intel-locked h3 {
  margin: 4px 0 8px;
  font-size: 22px;
}
.seo-intel-locked p {
  margin: 0;
  max-width: 560px;
  color: #c7c6d4;
  font-size: 12px;
  line-height: 1.55;
}
.seo-intel-locked code {
  color: #ddd6fe;
}
.seo-intel-locked aside {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
}
.seo-intel-locked aside strong {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.seo-intel-locked aside small {
  color: #b8b7c5;
  font-size: 11px;
  line-height: 1.45;
}
.seo-intel-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  background: #17181e;
  border-radius: 16px;
  color: #fff;
}
.seo-intel-hero .eyebrow {
  color: #aaa4ff;
}
.seo-intel-hero h3 {
  margin: 4px 0 8px;
  font-size: 24px;
}
.seo-intel-hero p {
  margin: 0;
  max-width: 560px;
  color: #b8b8bf;
  font-size: 12px;
  line-height: 1.55;
}
.seo-intel-hero code {
  color: #ddd6fe;
}
.seo-intel-range {
  display: grid;
  gap: 8px;
  min-width: 220px;
}
.seo-intel-range small,
.seo-intel-range > span {
  color: #9898a3;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.seo-intel-range > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.seo-intel-range button {
  min-height: 36px;
  padding: 0 10px;
  color: #d7d7de;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.seo-intel-range button.active {
  color: #fff;
  background: #4f46e5;
  border-color: #4f46e5;
}
.seo-intel-score-row {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 12px;
}
.seo-intel-score {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.seo-intel-score small {
  color: #85868d;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.seo-intel-score > strong {
  font: 700 48px/1 "Space Grotesk";
  letter-spacing: -.04em;
}
.seo-intel-score > em {
  color: #7a6a00;
  font-size: 10px;
  font-style: normal;
}
.seo-intel-score ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.seo-intel-score li {
  display: grid;
  gap: 2px;
  padding: 8px;
  background: #f5f5f2;
  border-radius: 8px;
}
.seo-intel-score li span {
  color: #85868d;
  font-size: 8px;
  text-transform: uppercase;
}
.seo-intel-score li b {
  font-size: 16px;
}
.seo-intel-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.seo-intel-kpis > article {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.seo-intel-kpis small {
  color: #85868d;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.seo-intel-kpis strong {
  font: 700 28px/1 "Space Grotesk";
  letter-spacing: -.03em;
}
.seo-intel-change {
  font-size: 10px;
  font-weight: 700;
}
.seo-intel-change.positive {
  color: #1f7a45;
}
.seo-intel-change.negative {
  color: #b42318;
}
.seo-intel-change.neutral {
  color: #85868d;
}
.seo-intel-chart,
.seo-intel-grid > section,
.seo-intel-placeholders {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.seo-intel-chart > header,
.seo-intel-grid > section > header,
.seo-intel-placeholders > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.seo-intel-chart h4,
.seo-intel-grid h4,
.seo-intel-placeholders h4 {
  margin: 0;
  font-size: 16px;
}
.seo-intel-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: min(42vh, 380px);
  min-height: 260px;
}
.seo-intel-bars > span {
  flex: 1 1 0;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  height: 100%;
}
.seo-intel-bars i {
  display: block;
  width: 100%;
  min-height: 2px;
  background:
    linear-gradient(
      180deg,
      #6d66f1,
      #4f46e5);
  border-radius: 3px 3px 0 0;
}
.seo-intel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.seo-intel-grid > section > header span {
  padding: 4px 8px;
  color: #3d36c4;
  background: #eeedff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}
.seo-intel-opps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.seo-intel-opps li {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7f7f4;
  border-radius: 10px;
}
.seo-intel-opps em {
  color: #4f46e5;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .06em;
}
.seo-intel-opps strong {
  font-size: 12px;
}
.seo-intel-opps p {
  margin: 0;
  color: #71727a;
  font-size: 11px;
  line-height: 1.45;
}
.seo-intel-blog-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.seo-intel-blog-kpis article {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #f7f7f4;
  border-radius: 9px;
}
.seo-intel-blog-kpis small {
  color: #85868d;
  font-size: 8px;
  text-transform: uppercase;
}
.seo-intel-blog-kpis strong {
  font-size: 18px;
}
.seo-intel-table {
  display: grid;
  gap: 6px;
}
.seo-intel-table > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  background: #f7f7f4;
  border-radius: 8px;
}
.seo-intel-table strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.seo-intel-table span,
.seo-intel-table em {
  color: #71727a;
  font-size: 10px;
  font-style: normal;
}
.seo-intel-table em.positive {
  color: #1f7a45;
  font-weight: 700;
}
.seo-intel-table em.negative {
  color: #b42318;
  font-weight: 700;
}
.seo-intel-empty {
  margin: 0;
  color: #85868d;
  font-size: 11px;
}
.seo-intel-placeholders > header p {
  margin: 4px 0 0;
  color: #85868d;
  font-size: 11px;
}
.seo-intel-placeholders > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.seo-intel-placeholders article {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7f7f4;
  border-radius: 9px;
}
.seo-intel-placeholders strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.seo-intel-placeholders small {
  color: #85868d;
  font-size: 10px;
}
.seo-intel-note {
  margin: 0;
  color: #85868d;
  font-size: 10px;
  line-height: 1.5;
}
.seo-intel-panel {
  display: grid;
  gap: 14px;
}
.seo-intel-chart {
  display: grid;
  gap: 0;
}
.seo-intel-metric {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seo-intel-metric button {
  min-height: 36px;
  padding: 0 12px;
  color: #4b4c55;
  background: #f4f4f1;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.seo-intel-metric button.active {
  color: #fff;
  background: #4f46e5;
}
.seo-intel-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #8a8b92;
  font-size: 10px;
}
.seo-intel-finder {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.seo-intel-finder h4 {
  margin: 0;
  font-size: 16px;
}
.seo-intel-finder > header p {
  margin: 4px 0 0;
  color: #71727a;
  font-size: 12px;
  line-height: 1.45;
}
.seo-intel-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}
.seo-intel-search span {
  grid-column: 1/-1;
}
.seo-intel-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #deded8;
  border-radius: 10px;
  background: #fafaf8;
  font: inherit;
  font-size: 15px;
}
.seo-intel-search button {
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  background: #4f46e5;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.seo-intel-search button:disabled {
  opacity: .55;
  cursor: default;
}
.seo-intel-bars.compact {
  height: 140px;
  min-height: 120px;
  margin-top: 12px;
}
.seo-intel-benchmark {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #f7f7f4;
  border-radius: 12px;
}
.seo-intel-result-empty {
  margin: 0;
  padding: 14px 12px;
  background: #f7f7f4;
  border-radius: 9px;
  color: #14151a;
  font-size: 14px;
  line-height: 1.45;
}
.seo-intel-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seo-intel-bands button {
  min-height: 40px;
  padding: 0 12px;
  color: #4b4c55;
  background: #f4f4f1;
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.seo-intel-bands button.active {
  color: #fff;
  background: #17181e;
}
.seo-intel-query-table {
  display: grid;
  gap: 6px;
}
.seo-intel-query-table > div {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 140px 90px 110px 70px;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  background: #f7f7f4;
  border-radius: 9px;
}
.seo-intel-query-table.with-page > div {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) 130px 72px 90px 64px;
}
.seo-intel-query-table > div.head {
  background: transparent;
  padding: 0 12px 4px;
  color: #85868d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.seo-intel-query-table strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.seo-intel-query-table span {
  font-size: 12px;
  font-weight: 600;
}
.seo-intel-pos {
  display: flex;
  align-items: center;
  gap: 8px;
}
.seo-intel-pos em {
  padding: 3px 7px;
  border-radius: 999px;
  background: #ecebff;
  color: #3d36c4;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.seo-intel-pos em.mid {
  background: #fff3d8;
  color: #8a5a00;
}
.seo-intel-pos em.far {
  background: #f3f3f0;
  color: #666;
}
.seo-intel-loading {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.seo-intel-loading i {
  display: block;
  height: 88px;
  background:
    linear-gradient(
      90deg,
      #efefe9,
      #f7f7f4,
      #efefe9);
  background-size: 200% 100%;
  border-radius: 12px;
  animation: seo-intel-shimmer 1.2s linear infinite;
}
@keyframes seo-intel-shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (max-width: 900px) {
  .seo-intel-locked,
  .seo-intel-score-row,
  .seo-intel-grid,
  .seo-intel-placeholders > div {
    grid-template-columns: 1fr;
  }
  .seo-intel-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .seo-intel-hero {
    display: grid;
  }
  .seo-intel-bars {
    height: 240px;
    min-height: 200px;
  }
  .seo-intel-query-table > div,
  .seo-intel-query-table.with-page > div {
    grid-template-columns: 1fr 1fr;
  }
  .seo-intel-query-table > div.head {
    display: none;
  }
  .seo-intel-query-table strong {
    grid-column: 1/-1;
  }
}
@media (max-width: 520px) {
  .seo-intel-kpis,
  .seo-intel-blog-kpis,
  .seo-intel-score ul {
    grid-template-columns: 1fr;
  }
  .seo-intel-locked {
    padding: 18px;
  }
  .seo-intel-range button {
    min-height: 44px;
  }
}
.escape-editor-fields {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid #deded8;
}
.escape-editor-fields legend {
  font-weight: 700;
  padding: 0 10px 0 0;
}
.escape-editor-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.escape-editor-fields .check {
  display: flex;
  align-items: center;
}
.escape-editor-fields input,
.escape-editor-fields textarea,
.escape-editor-fields select {
  max-width: 100%;
  min-height: 44px;
}
.escape-editor-fields input[type=checkbox] {
  min-height: 20px;
}
.escape-editor-fields textarea {
  resize: vertical;
}
.escape-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.escape-media-grid img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
}
.escape-media-grid small {
  font-size: 12px;
  color: #555;
}
.escape-editor-fields summary {
  cursor: pointer;
  min-height: 44px;
  font-weight: 700;
}
.escape-dated-slots {
  display: grid;
  gap: 12px;
}
.escape-dated-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}
.escape-dated-row button,
.escape-dated-slots > button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f7f7f4;
}
.escape-manager .escape-tabs {
  max-width: 100%;
  flex-wrap: wrap;
}
.escape-manager .escape-tabs button {
  min-height: 44px;
}
.escape-settings > article {
  min-width: 0;
}
.escape-settings .muted {
  line-height: 1.6;
  font-size: 14px;
}
.escape-editor-fields .field-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.escape-editor-fields input[type=file] {
  font-size: 12px;
  width: 100%;
}
.escape-kind-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.escape-kind-summary > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 9px;
  background: #f3f3ef;
  color: #555;
}
.escape-kind-summary strong {
  font: 700 24px "Space Grotesk";
  color: var(--ink);
}
.escape-kind-summary span {
  font-size: 12px;
  font-weight: 700;
}
.escape-kind-summary .special {
  background: #171811;
  color: #f2d563;
}
.escape-kind-summary .special strong {
  color: #f2d563;
}
.escape-experience-special {
  border-color: #d9bf50 !important;
  box-shadow: inset 4px 0 #d9bf50;
}
.escape-special-settings {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d9bf50;
  border-radius: 10px;
  background: #fffbea;
}
.escape-special-settings > strong {
  font-size: 15px;
}
.escape-special-settings > p {
  margin: 0;
  color: #665b31;
  font-size: 12px;
  line-height: 1.55;
}
.safe-image-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  background: #e7e6e1;
  touch-action: none;
  cursor: grab;
}
.safe-image-preview.portrait {
  aspect-ratio: 3/4;
  max-height: 460px;
}
.safe-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.safe-image-preview span {
  display: grid;
  place-items: center;
  min-height: 140px;
  color: #888;
  font-size: 12px;
}
.safe-frame-hint {
  margin: 8px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}
.safe-frame-tools {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.safe-frame-tools button {
  flex: 1;
  min-height: 44px;
  border: 1px solid #d7d6d1;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}
.safe-frame-tools button.active {
  color: #fff;
  background: #4f46e5;
  border-color: #4f46e5;
}
@media (max-width: 700px) {
  .escape-media-grid,
  .escape-editor-fields .field-pair {
    grid-template-columns: 1fr;
  }
  .escape-settings > article {
    padding: 16px;
  }
  .escape-manager .escape-tabs button {
    font-size: 12px;
    padding: 8px;
  }
  .escape-editor-fields input,
  .escape-editor-fields textarea,
  .escape-editor-fields select {
    font-size: 16px;
  }
  .escape-head .escape-kpis {
    flex-wrap: wrap;
  }
  .escape-bookings p {
    overflow-wrap: anywhere;
  }
  .escape-kind-summary {
    grid-template-columns: 1fr;
  }
}
.escape-countdown-settings {
  display: grid;
  gap: 13px;
  padding: 15px;
  border: 1px solid #deded8;
  border-radius: 10px;
  background: #f8f8f5;
}
.escape-countdown-settings > div:first-child p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.escape-countdown-preview {
  margin: 0;
  padding: 9px 11px;
  border-left: 3px solid var(--indigo);
  background: #eeedff;
  color: #34314f;
  font-size: 11px;
  line-height: 1.45;
}
.safe-field-label strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.safe-field-kind {
  padding: 4px 6px;
  color: #5149b8;
  background: #eeedff;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.safe-writing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -5px;
  color: #8a8b91;
  font-size: 8px;
}
.safe-writing-meta strong {
  color: #8a5a00;
  font-size: 8px;
}
.safe-link-editor {
  display: grid;
  gap: 11px;
  padding: 13px;
  background: #efeffc;
  border: 1px solid #d5d2f5;
  border-radius: 10px;
}
.safe-link-editor label {
  display: grid;
  gap: 5px;
  color: #4b4c55;
  font-size: 9px;
  font-weight: 750;
}
.safe-link-editor select,
.safe-link-editor input {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  color: #25262c;
  background: #fff;
  border: 1px solid #cfcedc;
  border-radius: 7px;
  font: 11px Inter;
}
.safe-link-error,
.safe-link-ready {
  margin: 0;
  padding: 8px 9px;
  border-radius: 7px;
  font-size: 9px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.safe-link-error {
  color: #9a3030;
  background: #fff0ef;
}
.safe-link-ready {
  color: #28613f;
  background: #f1faf5;
}
.safe-link-ready code {
  color: inherit;
  font-size: 8px;
}
.safe-link-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.safe-link-actions a {
  color: #4038bd;
  font-size: 9px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.safe-image-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.safe-media-library-btn {
  min-height: 48px;
  padding: 0 12px;
  color: #4038bd;
  background: #fff;
  border: 1px solid #c8c5ee;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 750;
}
.safe-file:focus-within,
.safe-media-library-btn:focus-visible,
.safe-link-editor :focus-visible {
  outline: 3px solid rgba(79, 70, 229, .25);
  outline-offset: 2px;
}
.safe-gallery-actions {
  display: grid;
  grid-template-columns: 36px 36px 1fr;
  border-top: 1px solid #ecece7;
}
.safe-gallery .safe-gallery-actions button {
  min-height: 32px;
  padding: 0;
  color: #4b4c55;
  background: #f8f8f5;
  border: 0;
  border-right: 1px solid #ecece7;
  font-size: 10px;
  font-weight: 750;
}
.safe-gallery .safe-gallery-actions button:disabled {
  color: #bbb;
  opacity: .65;
}
.safe-gallery .safe-gallery-actions .remove {
  color: #a13838;
  background: #fff5f4;
  border-right: 0;
}
.safe-media-modal {
  width: min(880px, calc(100vw - 32px));
  max-height: min(780px, calc(100dvh - 32px));
  overflow: auto;
}
.safe-media-search {
  width: 100%;
  min-height: 46px;
  margin: 8px 0 16px;
  padding: 0 13px;
  border: 1px solid #d8d8d2;
  border-radius: 9px;
  font: 14px Inter;
}
.safe-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.safe-media-grid button {
  display: grid;
  grid-template-rows: 130px auto;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: #25262c;
  background: #f5f5f2;
  border: 1px solid #e1e1db;
  border-radius: 10px;
  text-align: left;
}
.safe-media-grid button:hover {
  border-color: #8982dc;
  box-shadow: 0 8px 22px rgba(44, 39, 112, .12);
}
.safe-media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.safe-media-grid span {
  overflow: hidden;
  padding: 9px;
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.safe-media-empty {
  padding: 24px;
  color: #777;
  text-align: center;
}
@media (max-width: 760px) {
  .safe-link-editor select,
  .safe-link-editor input,
  .safe-media-search {
    font-size: 16px;
  }
  .safe-image-actions {
    grid-template-columns: 1fr;
  }
  .safe-media-library-btn {
    min-height: 48px;
  }
  .safe-media-modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 22px 14px;
  }
  .safe-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .safe-media-grid button {
    grid-template-rows: 110px auto;
    min-height: 150px;
  }
}
.safe-editor > header {
  grid-template-columns: auto minmax(120px, 1fr) auto auto auto auto;
}
.safe-publish {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid #e6e6e2;
}
.safe-publish p {
  display: grid;
  gap: 3px;
  margin: 0;
  text-align: right;
}
.safe-publish p strong {
  color: #17181c;
  font-size: 12px;
}
.safe-publish p small {
  color: #77787f;
  font-size: 10px;
}
.safe-publish.has-pending p strong {
  color: #b45309;
}
.safe-publish.is-clean p strong {
  color: #1f7a45;
}
.safe-publish.is-clean p strong::before {
  content: "\2713  ";
}
.safe-publish-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 24px;
  color: #fff;
  background: #4f46e5;
  border: 0;
  border-radius: 10px;
  font: 700 14px/1 "Space Grotesk", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(79, 70, 229, .32);
  transition: background .15s ease, transform .15s ease;
}
.safe-publish-btn:hover:not(:disabled) {
  background: #3d36c4;
  transform: translateY(-1px);
}
.safe-publish-btn:focus-visible {
  outline: 3px solid rgba(79, 70, 229, .35);
  outline-offset: 2px;
}
.safe-publish-btn:disabled {
  color: #8b8b98;
  background: #e4e4ea;
  box-shadow: none;
  cursor: default;
}
.safe-publish-btn span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  color: #4f46e5;
  background: #fff;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0;
}
.safe-publish.has-pending .safe-publish-btn {
  animation: safe-publish-pulse 2.4s ease-in-out infinite;
}
@keyframes safe-publish-pulse {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(79, 70, 229, .32);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(79, 70, 229, .16), 0 8px 22px rgba(79, 70, 229, .32);
  }
}
.safe-discard {
  min-height: 44px;
  padding: 0 12px;
  color: #55565e;
  background: transparent;
  border: 1px solid #dcdcd6;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.safe-discard:hover {
  color: #17181c;
  border-color: #b9b9b2;
}
.safe-pending-tag {
  display: inline-block;
  padding: 4px 8px;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.safe-field-label > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.safe-writing-meta em {
  color: #4f46e5;
  font-size: 10px;
  font-style: normal;
}
@media (prefers-reduced-motion: reduce) {
  .safe-publish.has-pending .safe-publish-btn {
    animation: none;
  }
}
@media (max-width: 900px) {
  .safe-editor > header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    height: auto;
    min-height: 64px;
    padding: calc(8px + env(safe-area-inset-top)) 12px 10px;
    row-gap: 8px;
  }
  .safe-body > aside:first-child {
    position: static;
  }
  .safe-publish {
    grid-column: 1/-1;
    justify-content: space-between;
    padding: 10px 0 0;
    border-top: 1px solid #ecece7;
    border-left: 0;
  }
  .safe-publish p {
    margin-right: auto;
    text-align: left;
  }
  .safe-publish-btn {
    min-height: 48px;
    padding: 0 20px;
  }
}
@media (max-width: 380px) {
  .safe-publish p small {
    display: none;
  }
}
.safe-open-live {
  color: #4b4c55 !important;
  background: #f4f4f1 !important;
  border: 1px solid #d8d8d2;
}
.safe-publish-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px;
  padding: 14px 16px;
  background: #fff7ed;
  border: 1px solid #f3d5a8;
  border-radius: 12px;
}
.safe-publish-strip strong {
  display: block;
  color: #9a3412;
  font-size: 13px;
}
.safe-publish-strip span {
  color: #7c5a2b;
  font-size: 11px;
  line-height: 1.4;
}
.safe-publish-strip .safe-publish-btn {
  flex: 0 0 auto;
}
.seo-intel-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.seo-intel-chart-grid > article {
  display: grid;
  gap: 8px;
  padding: 14px 14px 10px;
  background: #f7f7f4;
  border: 1px solid transparent;
  border-radius: 12px;
}
.seo-intel-chart-grid > article.active {
  background: #fff;
  border-color: color-mix(in srgb, var(--metric) 35%, #deded8);
  box-shadow: 0 10px 24px rgba(20, 21, 26, .06);
}
.seo-intel-chart-grid > article > button {
  display: grid;
  gap: 4px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.seo-intel-chart-grid small {
  color: #71727a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.seo-intel-chart-grid strong {
  color: var(--metric);
  font: 700 26px/1 "Space Grotesk", sans-serif;
}
.seo-intel-chart-grid .trend-chart.compact .trend-y,
.seo-intel-chart-grid .trend-chart.compact .trend-canvas {
  height: 120px;
}
.seo-intel-watch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seo-intel-watch button {
  min-height: 36px;
  padding: 0 12px;
  color: #3f3a2a;
  background: #f4efe4;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.seo-intel-watch button.active {
  color: #fff;
  background: #17181e;
}
.seo-intel-forget {
  min-height: 36px;
  padding: 0 10px;
  color: #7c5a2b;
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.seo-intel-result-card.empty {
  border-left-color: #b7b7b0;
}
@media (max-width: 900px) {
  .seo-intel-chart-grid {
    grid-template-columns: 1fr;
  }
  .safe-publish-strip {
    flex-direction: column;
    align-items: stretch;
  }
}
.metric-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.info-tip > button {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  color: #5b5c64;
  background: #ecece7;
  border: 0;
  border-radius: 50%;
  font: 700 10px/1 Inter, sans-serif;
  cursor: help;
}
.info-tip > button:hover,
.info-tip.is-open > button {
  color: #fff;
  background: #4f46e5;
}
.info-tip > em {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  left: 0;
  width: min(240px, 70vw);
  padding: 10px 12px;
  color: #f4f4f1;
  background: #17181e;
  border-radius: 9px;
  font: 12px/1.45 Inter, sans-serif;
  font-style: normal;
  box-shadow: 0 10px 24px rgba(20, 21, 26, .22);
}
.seo-intel-query-table > div.head .info-tip > em {
  left: auto;
  right: 0;
}
.safe-editor {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr);
  height: var(--cms-vvh,100dvh);
  max-height: var(--cms-vvh,100dvh);
  overflow: hidden;
  touch-action: manipulation;
  overscroll-behavior: none;
}
.safe-editor > header {
  z-index: 6;
  height: 64px;
  padding-top: env(safe-area-inset-top);
}
.safe-body {
  min-height: 0;
  height: auto;
  overflow: hidden;
}
.safe-pane-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #f0f0eb;
  border-radius: 10px;
}
.safe-pane-switch button {
  min-height: 36px;
  padding: 0 14px;
  color: #55565e;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}
.safe-pane-switch button.active {
  color: #fff;
  background: #17181e;
}
.safe-preview-frame {
  touch-action: pan-x pan-y;
  overscroll-behavior: contain;
}
.safe-preview iframe {
  touch-action: pan-x pan-y;
}
.safe-editor.pane-preview .safe-body > aside:first-child,
.safe-editor.pane-preview .safe-fields {
  display: none;
}
.safe-editor.pane-preview .safe-preview {
  grid-column: 1/-1;
}
.safe-editor input,
.safe-editor textarea,
.safe-editor select {
  font-size: 16px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .safe-editor {
    overflow: hidden;
  }
  .safe-editor > header {
    position: relative;
    top: auto;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    height: auto;
    min-height: 64px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .safe-editor > header > div:not(.safe-pane-switch):not(.safe-publish),
  .safe-editor > header > span,
  .safe-history-btn,
  .safe-open-live {
    display: none;
  }
  .safe-pane-switch {
    justify-self: start;
  }
  .safe-publish {
    grid-column: auto;
    padding: 0;
    border: 0;
  }
  .safe-publish p {
    display: none;
  }
  .safe-discard {
    display: none;
  }
  .safe-body {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .safe-editor.pane-work .safe-preview {
    display: none;
  }
  .safe-editor.pane-work .safe-body {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .safe-editor.pane-preview .safe-preview {
    display: grid;
    height: 100%;
    min-height: 0;
    padding: 10px;
  }
  .safe-fields {
    overflow: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }
  .safe-fields input,
  .safe-fields textarea,
  .safe-fields select,
  .safe-link-editor input,
  .safe-link-editor select,
  .safe-media-search {
    font-size: 16px;
  }
}
.trend-chart {
  margin: 0;
}
.trend-plot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}
.trend-y {
  position: relative;
  min-width: 30px;
  height: 260px;
}
.trend-y span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  color: #9a9ba2;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.trend-canvas {
  position: relative;
  height: 260px;
  cursor: crosshair;
  touch-action: pan-y;
  outline: 0;
}
.trend-canvas:focus-visible {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .25);
  border-radius: 6px;
}
.trend-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.trend-grid {
  stroke: #ececE7;
  stroke-width: 1;
}
.trend-cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: color-mix(in srgb, var(--trend) 45%, transparent);
  pointer-events: none;
}
.trend-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: #fff;
  border: 3px solid var(--trend);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(20, 21, 26, .18);
  pointer-events: none;
}
.trend-tip {
  position: absolute;
  top: -6px;
  display: grid;
  gap: 2px;
  min-width: 120px;
  margin-left: 12px;
  padding: 8px 11px;
  background: #14151a;
  border-radius: 9px;
  box-shadow: 0 10px 26px rgba(20, 21, 26, .22);
  pointer-events: none;
}
.trend-tip.left {
  margin-left: 0;
  transform: translateX(calc(-100% - 12px));
}
.trend-tip small {
  color: #b7b8c0;
  font-size: 10px;
  text-transform: capitalize;
}
.trend-tip strong {
  color: #fff;
  font: 700 17px/1.1 "Space Grotesk", sans-serif;
}
.trend-axis {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0 40px;
  color: #8a8b92;
  font-size: 10px;
}
.trend-chart.compact .trend-y,
.trend-chart.compact .trend-canvas {
  height: 150px;
}
.seo-intel-chart-hint {
  margin: 4px 0 0;
  color: #85868d;
  font-size: 12px;
}
.seo-intel-metric button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.seo-intel-metric button i {
  width: 8px;
  height: 8px;
  background: var(--metric);
  border-radius: 50%;
}
.seo-intel-metric button.active {
  color: #fff;
  background: var(--metric);
}
.seo-intel-metric button.active i {
  background: #fff;
}
.seo-intel-search-field {
  position: relative;
}
.seo-intel-search-field input {
  padding-right: 46px;
}
.seo-intel-clear {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 36px;
  height: 36px;
  color: #6b6c74;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.seo-intel-clear:hover {
  color: #14151a;
  background: #ececE7;
}
.seo-intel-benchmark.is-loading {
  opacity: .6;
  transition: opacity .2s ease;
}
.seo-intel-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #d97706;
  border-radius: 12px;
}
.seo-intel-result-card > div {
  display: grid;
  gap: 6px;
}
.seo-intel-result-card small {
  color: #71727a;
  font-size: 12px;
}
.seo-intel-result-card strong {
  font: 700 44px/1 "Space Grotesk", sans-serif;
  letter-spacing: -.03em;
}
.seo-intel-result-card em {
  justify-self: start;
  padding: 4px 9px;
  color: #3d36c4;
  background: #ecebff;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.seo-intel-result-card em.mid {
  color: #8a5a00;
  background: #fff3d8;
}
.seo-intel-result-card em.far {
  color: #666;
  background: #f3f3f0;
}
.seo-intel-result-card p {
  max-width: 280px;
  margin: 0;
  color: #71727a;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}
.seo-intel-benchmark-chart {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.seo-intel-benchmark-chart > p {
  margin: 0 0 12px;
  color: #4b4c55;
  font-size: 12px;
  font-weight: 700;
}
.seo-intel-result-empty strong {
  display: block;
  margin-bottom: 4px;
}
.seo-intel-result-empty p {
  margin: 0;
  color: #4b4c55;
}
.seo-intel-more {
  justify-self: start;
  min-height: 40px;
  padding: 0 14px;
  color: #4f46e5;
  background: #ecebff;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 700px) {
  .trend-y,
  .trend-canvas {
    height: 200px;
  }
  .trend-tip {
    min-width: 104px;
    padding: 7px 9px;
  }
  .seo-intel-result-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .seo-intel-result-card p {
    max-width: none;
    text-align: left;
  }
  .seo-intel-chart > header {
    flex-direction: column;
  }
}
.leads-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.leads-note {
  max-width: 68ch;
  margin: 0 0 16px;
  color: #66676c;
  font-size: 14px;
  line-height: 1.5;
}
.leads-error {
  margin: 0 0 12px;
  color: #9b2c2c;
  font-size: 14px;
}
.leads-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.leads-kpis span {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #66676c;
  font-size: 12px;
}
.leads-kpis strong {
  color: var(--ink);
  font: 700 22px "Space Grotesk", sans-serif;
}
.leads-filters,
.leads-form {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.leads-filters {
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, .7fr) minmax(140px, .7fr) auto;
  align-items: center;
}
.leads-form {
  max-width: 720px;
  grid-template-columns: 1fr 1fr;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.leads-form label {
  display: grid;
  gap: 6px;
  color: #444;
  font-size: 13px;
  font-weight: 600;
}
.leads-filters input,
.leads-filters select,
.leads-form input,
.leads-form textarea,
.topbar select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: 500 14px/1.4 Inter, sans-serif;
}
.leads-form textarea {
  min-height: 140px;
  resize: vertical;
}
.leads-form .leads-note,
.leads-form .leads-error,
.leads-form .primary {
  grid-column: 1 / -1;
}
.leads-count {
  margin: 0 0 8px;
  color: #66676c;
  font-size: 13px;
}
.leads-table {
  display: grid;
  gap: 8px;
}
.leads-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.leads-row strong {
  font-size: 15px;
}
.leads-row span,
.leads-row small {
  color: #66676c;
  font-size: 13px;
}
.leads-row em {
  font-style: normal;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 700;
}
.leads-detail {
  display: grid;
  gap: 16px;
}
.leads-detail section {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.leads-detail h2 {
  margin: 0 0 12px;
  font: 700 16px "Space Grotesk", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.leads-detail dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 0;
}
.leads-detail dt {
  color: #66676c;
  font-size: 12px;
}
.leads-detail dd {
  margin: 2px 0 0;
  font-size: 15px;
}
.leads-detail ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.leads-detail li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  align-items: center;
}
.leads-detail small {
  color: #66676c;
}
@media (max-width: 760px) {
  .sidebar nav {
    display: flex;
    gap: 4px;
    margin: 0 0 0 8px;
  }
  .sidebar nav a {
    min-height: 44px;
    padding: 8px 10px;
  }
  .sidebar nav .nav-disabled {
    display: none;
  }
  .leads-kpis,
  .leads-filters,
  .leads-form,
  .leads-detail dl {
    grid-template-columns: 1fr;
  }
  .leads-row {
    grid-template-columns: 1fr auto;
  }
  .leads-row span {
    grid-column: 1 / -1;
  }
  .topbar {
    flex-wrap: wrap;
    gap: 12px;
  }
}
.escape-slot-list > div {
  grid-template-columns: 86px 1fr auto;
}
.escape-slot-list strong small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.2;
}
@media (max-width: 700px) {
  .escape-slot-list > div {
    grid-template-columns: 78px 1fr auto;
  }
}
.site-danger-zone {
  border-color: #e6c9c2;
}
.danger-button {
  padding: 11px 16px;
  border: 1px solid #c0705f;
  border-radius: 9px;
  background: #fff;
  color: #a14936;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.danger-button:hover {
  background: #a14936;
  color: #fff;
}

/* src/theme-2026.css */
:root {
  --ink: #0a0a0a;
  --cream: #f7f7f4;
  --paper: #ffffff;
  --indigo: #4f46e5;
  --indigo-dark: #3d36c4;
  --indigo-soft: rgba(79, 70, 229, .08);
  --line: #e4e3dc;
  --line-strong: #d3d2ca;
  --muted: #62636a;
  --radius: 12px;
  --shadow-card: 0 1px 2px rgba(10, 10, 10, .04), 0 8px 24px -16px rgba(10, 10, 10, .18);
  --font-display:
    "Archivo",
    "Arial Narrow",
    sans-serif;
  --font-ui: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--cream);
}
h1,
h2 {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  letter-spacing: -.01em;
}
h3,
.brand {
  font-family: var(--font-ui);
}
.eyebrow {
  font-family: var(--font-ui);
  color: #7b7b82;
  letter-spacing: .16em;
}
.primary,
.secondary,
label,
.status {
  font-family: var(--font-ui);
}
.topbar h1,
.workspace-bar h1,
.workspace-title h2,
.site-home-welcome h2 {
  font-family: var(--font-display) !important;
  font-stretch: 72%;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: .005em !important;
  line-height: .95 !important;
}
.workspace-title h2 {
  font-size: clamp(30px, 3vw, 40px);
}
.site-home-welcome h2 {
  font-size: clamp(34px, 3.4vw, 48px) !important;
}
.primary,
.secondary {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: .01em;
}
.primary {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 6px 16px -8px rgba(79, 70, 229, .6);
}
.secondary {
  border-color: var(--line-strong);
}
input,
textarea,
select {
  border-color: var(--line-strong);
  border-radius: 8px;
}
label {
  font-family: var(--font-ui);
  font-weight: 600;
  color: #2e2f35;
}
.sidebar {
  background: #0a0a0a;
  border-right: 0;
  color: #f7f7f4;
}
.sidebar .brand {
  color: #f7f7f4;
}
.sidebar nav a,
.nav-disabled {
  color: #a9a9b0;
}
.sidebar nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}
.sidebar nav a.active {
  color: #fff;
  background: rgba(79, 70, 229, .35);
  box-shadow: inset 3px 0 0 #8b85f0;
}
.sidebar-user {
  border-top-color: rgba(255, 255, 255, .12);
}
.sidebar-user > span {
  background: var(--indigo);
}
.sidebar-user strong {
  color: #fff;
}
.sidebar-user small {
  color: #8d8d95;
}
.sidebar-user button {
  color: #a9a9b0;
}
@media (min-width: 901px) {
  .app-shell:has(.workspace) {
    grid-template-columns: 68px 1fr;
  }
  .app-shell:has(.workspace) .sidebar {
    padding: 20px 10px 16px;
    align-items: center;
  }
  .app-shell:has(.workspace) .sidebar .brand {
    padding: 0;
    font-size: 0;
    gap: 0;
  }
  .app-shell:has(.workspace) .sidebar .brand img {
    width: 30px;
  }
  .app-shell:has(.workspace) .sidebar nav {
    margin-top: 32px;
  }
  .app-shell:has(.workspace) .sidebar nav a,
  .app-shell:has(.workspace) .nav-disabled {
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 0;
    gap: 0;
  }
  .app-shell:has(.workspace) .sidebar nav a svg,
  .app-shell:has(.workspace) .nav-disabled svg {
    width: 20px;
    height: 20px;
  }
  .app-shell:has(.workspace) .sidebar-user {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0 0;
    width: 100%;
  }
  .app-shell:has(.workspace) .sidebar-user > div:not(.account-actions) {
    display: none;
  }
  .app-shell:has(.workspace) .account-actions {
    flex-direction: column;
  }
}
.workspace-bar {
  min-height: 78px;
  padding: 14px 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.workspace-bar .back {
  display: none;
}
.workspace-bar {
  grid-template-columns: 1fr auto auto;
}
.ws-crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 5px !important;
  color: #8a8a90 !important;
  font: 500 12px var(--font-ui) !important;
}
.ws-crumbs button {
  padding: 0;
  color: #8a8a90;
  background: none;
  border: 0;
  font: inherit;
}
.ws-crumbs button:hover {
  color: var(--indigo);
  text-decoration: underline;
}
.ws-crumbs span {
  color: #c3c3bb;
}
.workspace-bar h1 {
  font-size: 30px !important;
  margin: 0;
}
.workspace {
  grid-template-columns: 248px 1fr;
  background: var(--cream);
}
.workspace-nav {
  gap: 0;
  padding: 18px 14px 28px;
  background: #f1f0ea;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100vh;
  overflow-y: auto;
}
.ws-site-card {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.ws-site-card strong {
  font: 700 15px/1.2 var(--font-ui);
  letter-spacing: -.01em;
}
.ws-site-card small {
  overflow: hidden;
  color: #8a8a90;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ws-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-self: start;
  margin: -2px 0 4px -4px;
  padding: 3px 6px 3px 2px;
  color: #7b7b82;
  background: none;
  border: 0;
  border-radius: 6px;
  font: 600 11px var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ws-back svg {
  width: 14px;
  height: 14px;
}
.ws-back:hover {
  color: var(--indigo);
  background: var(--indigo-soft);
}
.ws-nav-group {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.ws-nav-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.ws-nav-label {
  margin: 0 0 5px;
  padding: 0 10px;
  color: #9a9aa0;
  font: 700 10px var(--font-ui);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.workspace-nav .ws-nav-group > button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 10px;
  color: #4f5057;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  font: 500 14px var(--font-ui);
  transition: background .15s, color .15s;
}
.workspace-nav .ws-nav-group > button svg {
  width: 18px;
  height: 18px;
  color: #8a8a90;
  flex: none;
}
.workspace-nav .ws-nav-group > button:hover {
  color: var(--ink);
  background: rgba(10, 10, 10, .045);
}
.workspace-nav .ws-nav-group > button.active {
  color: var(--indigo);
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px -3px rgba(10, 10, 10, .15);
  font-weight: 700;
}
.workspace-nav .ws-nav-group > button.active svg {
  color: var(--indigo);
}
.workspace-content {
  padding: 34px clamp(24px, 3.4vw, 52px) 70px;
}
.workspace-content > * {
  max-width: 1320px;
}
.workspace-title {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.site-card,
.agenda-command {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.escape-manager > section,
.escape-manager article,
.escape-manager fieldset,
.analytics-chart-card,
.seo-card,
.settings-card,
.member-card {
  background: var(--paper);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-card);
}
.escape-tabs,
.ops-tabs,
.seo-tabs {
  display: inline-flex !important;
  gap: 2px;
  padding: 3px !important;
  background: #ebeae3 !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
}
.escape-tabs button,
.ops-tabs button,
.seo-tabs button {
  padding: 8px 14px !important;
  color: #5a5b62 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  font: 600 13px var(--font-ui) !important;
  box-shadow: none !important;
}
.escape-tabs button.active,
.ops-tabs button.active,
.seo-tabs button.active {
  color: var(--ink) !important;
  background: var(--paper) !important;
  box-shadow: 0 1px 3px rgba(10, 10, 10, .12) !important;
}
.status {
  padding: 4px 8px;
  background: #f6efdf;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .08em;
}
.status.published {
  background: #e6f4ec;
}
.topbar {
  height: auto;
  min-height: 96px;
  padding: 22px clamp(24px, 4vw, 56px);
  background: var(--paper);
}
.topbar h1 {
  font-size: 40px !important;
}
.content {
  padding: 32px clamp(24px, 4vw, 56px) 70px;
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .workspace-nav {
    position: static;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px 12px;
    gap: 6px;
  }
  .ws-site-card,
  .ws-nav-label {
    display: none;
  }
  .ws-nav-group {
    display: flex;
    gap: 6px;
    padding: 0;
    border: 0;
  }
  .workspace-nav .ws-nav-group > button {
    width: auto;
    white-space: nowrap;
    padding: 9px 12px;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .workspace-bar {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }
  .workspace-bar h1 {
    font-size: 24px !important;
  }
}
.workspace-nav {
  min-height: calc(100vh - 78px);
}
.workspace-bar h1 {
  font-family: var(--font-ui) !important;
  font-stretch: 100%;
  font-weight: 700 !important;
  font-size: 20px !important;
  text-transform: none;
  letter-spacing: -.01em !important;
  line-height: 1.2 !important;
}
.site-info h2 {
  font-family: var(--font-ui);
  font-stretch: 100%;
  font-weight: 700;
  letter-spacing: -.02em;
}
@media (max-width: 900px) {
  .workspace-nav {
    min-height: 0 !important;
    height: auto !important;
    align-items: center;
    flex-wrap: nowrap;
    display: flex !important;
  }
  .ws-nav-group {
    flex: none;
    align-items: center;
  }
  .workspace-nav .ws-nav-group > button {
    height: 40px;
    min-height: 40px;
    flex: none;
  }
  .workspace-nav .ws-nav-group > button svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 900px) {
  .sidebar-user button {
    color: #d7d7dc !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
  }
}
.rental-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 6px;
}
.rental-filter button {
  padding: 7px 14px;
  color: #4f5057;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 13px var(--font-ui);
}
.rental-filter button.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.rental-requests {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.rental-past {
  justify-self: start;
  font-weight: 500;
  font-size: 13px;
}
.rental-request {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid #d9a441;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.rental-request.is-pending {
  background: #fffaf0;
  border-color: #ecd9a8;
  border-left-width: 8px;
  border-left-color: #d9a441;
}
.rental-request.is-confirmed {
  background: #e6f5ea;
  border-color: #86c79b;
  border-left-width: 8px;
  border-left-color: #2e8b57;
}
.rental-request.is-cancelled {
  background: #fbe9e6;
  border-color: #e5a79d;
  border-left-width: 8px;
  border-left-color: #c4412f;
}
.rental-request.is-confirmed .rental-notes,
.rental-request.is-cancelled .rental-notes {
  background: rgba(255, 255, 255, .6);
}
.rental-request.is-confirmed .rental-tags span,
.rental-request.is-cancelled .rental-tags span {
  background: rgba(255, 255, 255, .7);
}
.rental-btn {
  padding: 11px 14px;
  border-radius: 10px;
  border: 2px solid transparent;
  font: 700 14px var(--font-ui);
  cursor: pointer;
  text-align: center;
}
.rental-btn:disabled {
  opacity: .5;
  cursor: default;
}
.rental-btn-confirm {
  background: #2e8b57;
  border-color: #2e8b57;
  color: #fff;
}
.rental-btn-confirm:hover:not(:disabled) {
  background: #256f46;
}
.rental-btn-decline {
  background: #fff;
  border-color: #c4412f;
  color: #a8321f;
}
.rental-btn-decline:hover:not(:disabled) {
  background: #c4412f;
  color: #fff;
}
.rental-btn-restore {
  background: #fff;
  border-color: #8a8a90;
  color: #4f5057;
}
.rental-btn-restore:hover:not(:disabled) {
  background: #4f5057;
  color: #fff;
}
.rental-request h3 {
  margin: 4px 0 6px;
  font: 700 19px/1.25 var(--font-ui);
}
.rental-request h3 span {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.rental-request p {
  margin: 0 0 6px;
  color: #2e2f35;
}
.rental-request a {
  color: var(--indigo);
}
.rental-house {
  color: var(--indigo);
  font: 700 11px var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rental-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rental-tags span {
  padding: 3px 9px;
  background: #f1f0ea;
  border-radius: 999px;
  font-size: 12px;
  color: #4f5057;
}
.rental-notes {
  padding: 8px 12px;
  background: #faf9f5;
  border-radius: 8px;
  font-size: 14px;
}
.rental-request small {
  color: #8a8a90;
}
.rental-request-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 150px;
}
.rental-status {
  align-self: flex-end;
  padding: 4px 10px;
  border-radius: 999px;
  font: 700 11px var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #f6efdf;
  color: #8a6414;
}
.rental-status.is-confirmed {
  background: #2e8b57;
  color: #fff;
}
.rental-status.is-cancelled {
  background: #c4412f;
  color: #fff;
}
.rental-calendar,
.rental-block-form {
  margin-top: 14px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.rental-calendar header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.rental-calendar header h3 {
  margin: 0;
  min-width: 190px;
  text-align: center;
  font: 700 18px var(--font-ui);
  text-transform: capitalize;
}
.rental-timeline {
  display: grid;
  gap: 3px;
  overflow-x: auto;
  align-items: center;
}
.rental-row {
  display: contents;
}
.rental-row strong {
  font: 700 13px var(--font-ui);
  padding-right: 8px;
}
.rental-daynum {
  text-align: center;
  font-size: 11px;
  color: #8a8a90;
}
.rental-daynum.is-today {
  color: #fff;
  background: var(--indigo);
  border-radius: 6px;
}
.rental-cell {
  height: 34px;
  border-radius: 5px;
  background: #eef4ee;
}
.rental-cell.is-confirmed {
  background: var(--indigo);
}
.rental-cell.is-pending {
  background: #f6e7c4;
  box-shadow: inset 0 0 0 2px #d9a441;
}
.rental-cell.is-blocked {
  background:
    repeating-linear-gradient(
      45deg,
      #d3d2ca 0 5px,
      #e4e3dc 5px 10px);
}
.rental-cell.is-past {
  opacity: .45;
}
.rental-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.rental-legend span {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: -8px;
}
.rental-legend .is-confirmed {
  background: var(--indigo);
}
.rental-legend .is-pending {
  background: #f6e7c4;
  box-shadow: inset 0 0 0 2px #d9a441;
}
.rental-legend .is-blocked {
  background:
    repeating-linear-gradient(
      45deg,
      #d3d2ca 0 3px,
      #e4e3dc 3px 6px);
}
.rental-legend .is-free {
  background: #eef4ee;
}
.rental-block-form h3 {
  margin: 0 0 4px;
  font: 700 18px var(--font-ui);
}
.rental-block-form > p {
  margin: 0 0 14px;
  color: var(--muted);
}
.rental-block-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}
.rental-block-list {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}
.rental-block-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}
.rental-rate-periods {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rental-rate-periods-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.rental-rate-periods-head h4 {
  margin: 0 0 4px;
  font: 700 16px var(--font-ui);
}
.rental-rate-periods-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.rental-rate-period {
  display: grid;
  grid-template-columns: minmax(120px, 1.2fr) repeat(4, minmax(110px, 1fr)) auto;
  gap: 9px;
  align-items: end;
  padding: 12px;
  margin-top: 8px;
  background: #faf9f5;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.rental-rate-period label {
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
}
.rental-rate-period input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.rental-price-preview {
  margin-top: 18px;
  padding: 16px;
  background:
    linear-gradient(
      135deg,
      #f7f6ff,
      #fff);
  border: 1px solid #dcd8fb;
  border-radius: 12px;
}
.rental-price-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}
.rental-price-preview .eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
}
.rental-price-preview h4 {
  margin: 0 0 4px;
  font: 700 16px var(--font-ui);
}
.rental-price-preview-head p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.rental-price-preview-nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}
.rental-price-preview-nav strong {
  min-width: 136px;
  text-align: center;
  font: 700 13px var(--font-ui);
  text-transform: capitalize;
}
.rental-price-preview-nav button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}
.rental-price-preview-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.rental-price-weekday {
  padding: 0 2px 4px;
  color: var(--muted);
  text-align: center;
  font: 700 10px var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.rental-price-empty {
  min-height: 66px;
}
.rental-price-day {
  display: grid;
  min-height: 66px;
  padding: 7px;
  background: #fff;
  border: 1px solid #e1e0ea;
  border-radius: 8px;
}
.rental-price-day.is-special {
  background: #eeecff;
  border-color: #a8a1f3;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .1);
}
.rental-price-day.is-past {
  opacity: .48;
}
.rental-price-date {
  color: var(--muted);
  font: 600 11px var(--font-ui);
}
.rental-price-day strong {
  align-self: center;
  color: var(--ink);
  font: 700 14px var(--font-ui);
  letter-spacing: -.04em;
}
.rental-price-day.is-special strong {
  color: var(--indigo);
}
.rental-price-day small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
}
.rental-price-preview-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  margin-top: 12px;
  color: #4f5057;
  font-size: 12px;
  line-height: 1.4;
}
.rental-price-preview-notes span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.rental-rate-warning {
  margin: 10px 0;
  padding: 10px 12px;
  border-left: 3px solid #b45309;
  background: #fff7ed;
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.45;
}
.rental-price-key {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 1px solid #e1e0ea;
  border-radius: 3px;
  background: #fff;
}
.rental-price-key.is-special {
  border-color: #a8a1f3;
  background: #eeecff;
}
@media (max-width: 900px) {
  .rental-request {
    grid-template-columns: 1fr;
  }
  .rental-request-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .rental-status {
    align-self: center;
  }
  .rental-block-fields {
    grid-template-columns: 1fr 1fr;
  }
  .rental-rate-period {
    grid-template-columns: 1fr 1fr;
  }
  .rental-timeline {
    grid-template-columns: 96px repeat(31, 24px) !important;
  }
  .rental-price-preview-head {
    display: grid;
  }
  .rental-price-preview-nav {
    justify-content: space-between;
  }
}
.rental-block-fields label,
.rental-block-fields input,
.rental-block-fields select {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .rental-block-fields {
    grid-template-columns: 1fr;
  }
  .rental-rate-period,
  .rental-rate-periods-head {
    grid-template-columns: 1fr;
    display: grid;
  }
  .rental-legend span {
    margin-right: 2px;
  }
  .rental-price-preview {
    padding: 13px;
  }
  .rental-price-preview-grid {
    gap: 3px;
  }
  .rental-price-day {
    min-height: 58px;
    padding: 5px;
    border-radius: 6px;
  }
  .rental-price-day strong {
    font-size: 11px;
  }
  .rental-price-day small {
    font-size: 9px;
  }
  .rental-price-empty {
    min-height: 58px;
  }
  .rental-price-preview-notes {
    display: grid;
    gap: 5px;
  }
}
@media (min-width: 901px) {
  .safe-body {
    grid-template-rows: minmax(0, 1fr);
  }
  .safe-body > aside:first-child {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #4a4b55 transparent;
    padding-bottom: 32px;
  }
  .safe-body > aside:first-child::-webkit-scrollbar {
    width: 8px;
  }
  .safe-body > aside:first-child::-webkit-scrollbar-thumb {
    background: #4a4b55;
    border-radius: 8px;
  }
  .safe-fields {
    min-height: 0;
    overscroll-behavior: contain;
  }
}
.social-drop {
  position: relative;
}
.social-drop input[type=file] {
  width: 1px;
  height: 1px;
  inset: auto;
}
@media (max-width: 1180px) {
  .google-setup-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .google-admin-steps code {
    max-width: 100%;
  }
}
.safe-i18n-note {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #8a8b96;
}
.escape-add-experience {
  margin: 6px 0 14px;
  min-height: 40px;
  padding: 0 16px;
  font-weight: 700;
  color: #fff;
  background: #4f46e5;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.escape-add-experience:disabled {
  opacity: .5;
  cursor: default;
}
.escape-exp-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.escape-delete-experience {
  min-height: 34px;
  padding: 0 12px;
  font-weight: 600;
  color: #b3261e;
  background: transparent;
  border: 1px solid #e3b1ad;
  border-radius: 8px;
  cursor: pointer;
}
.blocks-panel {
  margin: 14px 0 18px;
  border: 1px solid #3a3b46;
  border-radius: 12px;
  background: #1b1c23;
}
.blocks-toggle {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.blocks-toggle strong {
  font-size: 15px;
}
.blocks-toggle span {
  font-size: 12.5px;
  color: #a9abb8;
}
.blocks-body {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}
.blocks-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #a9abb8;
}
.blocks-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #343540;
  border-radius: 10px;
  background: #15161c;
}
.blocks-item strong {
  display: block;
  font-size: 14px;
  color: #fff;
}
.blocks-item small {
  color: #8f91a0;
}
.blocks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.blocks-actions button,
.blocks-add {
  min-height: 34px;
  padding: 0 12px;
  font-weight: 600;
  color: #fff;
  background: #2a2b35;
  border: 1px solid #3f4050;
  border-radius: 8px;
  cursor: pointer;
}
.blocks-actions button.primary,
.blocks-add {
  background: #4f46e5;
  border-color: #4f46e5;
}
.blocks-actions button.danger {
  color: #ff9a92;
}
.blocks-actions button:disabled,
.blocks-add:disabled {
  opacity: .5;
  cursor: default;
}
.blocks-form {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}
.blocks-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #cfd0da;
}
.blocks-form input,
.blocks-form select,
.blocks-form textarea {
  width: 100%;
  padding: 9px 10px;
  color: #fff;
  background: #12131a;
  border: 1px solid #3f4050;
  border-radius: 8px;
  font: inherit;
}
.blocks-thumb {
  max-width: 160px;
  max-height: 110px;
  border-radius: 8px;
  object-fit: cover;
}
.exp-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 20px;
}
.exp-card {
  display: grid;
  gap: 4px;
  min-width: 150px;
  max-width: 220px;
  padding: 12px 14px;
  text-align: left;
  background: #fff;
  border: 1px solid #dfe0e8;
  border-radius: 12px;
  cursor: pointer;
  color: #1a1b22;
}
.exp-card strong {
  font-size: 14.5px;
  line-height: 1.25;
}
.exp-card small {
  color: #6b6d7c;
  font-size: 12px;
}
.exp-card.is-on {
  border-color: #4f46e5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, .18);
  background: #f4f3ff;
}
.exp-status {
  justify-self: start;
  margin-top: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  border-radius: 999px;
}
.exp-status.is-on {
  color: #0f6b3a;
  background: #dff5e8;
}
.exp-status.is-wip {
  color: #8a5a00;
  background: #fff0cf;
}
.exp-status.is-off {
  color: #5e6070;
  background: #ececf2;
}
.exp-add {
  place-content: center;
  text-align: center;
  border-style: dashed;
  color: #4f46e5;
}
.exp-add strong {
  font-size: 24px;
  line-height: 1;
}
.exp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 16px;
}
.exp-head h3 {
  margin: 0;
  font-size: 22px;
}
.exp-subtabs {
  display: inline-flex;
  padding: 4px;
  background: #ececf2;
  border-radius: 10px;
}
.exp-subtabs button {
  min-height: 38px;
  padding: 0 18px;
  font-weight: 700;
  color: #4a4c5a;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.exp-subtabs button.active {
  color: #1a1b22;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.agenda {
  display: grid;
  gap: 14px;
}
.agenda h4 {
  margin: 10px 0 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.agenda-count {
  padding: 1px 9px;
  font-size: 12px;
  color: #fff;
  background: #4f46e5;
  border-radius: 999px;
}
.agenda-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #dfe0e8;
  border-radius: 12px;
}
.agenda-date > button {
  width: 40px;
  height: 40px;
  font-size: 22px;
  background: #f1f1f6;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.agenda-date label {
  display: grid;
  gap: 2px;
  font-size: 11px;
  color: #6b6d7c;
}
.agenda-date strong {
  margin-left: auto;
  text-transform: capitalize;
  font-size: 15px;
}
.agenda-empty {
  padding: 16px;
  color: #5e6070;
  background: #f6f6fa;
  border: 1px dashed #d4d5df;
  border-radius: 12px;
}
.agenda-slots {
  display: grid;
  gap: 8px;
}
.agenda-slot {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #dfe0e8;
  border-radius: 12px;
}
.agenda-slot strong {
  font-size: 20px;
}
.agenda-slot small {
  display: block;
  color: #6b6d7c;
  text-transform: capitalize;
}
.agenda-slot span {
  font-weight: 600;
}
.agenda-slot.is-open span {
  color: #0f6b3a;
}
.agenda-slot.is-closed {
  background: #faf7f7;
}
.agenda-slot.is-closed span {
  color: #a33a31;
}
.agenda-slot button,
.agenda-actions button {
  min-height: 38px;
  padding: 0 14px;
  font-weight: 600;
  background: #f1f1f6;
  border: 1px solid #dcdce6;
  border-radius: 9px;
  cursor: pointer;
}
.agenda-note {
  margin: 0;
  font-size: 13px;
  color: #6b6d7c;
}
.agenda-booking {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #dfe0e8;
  border-left: 4px solid #e0a100;
  border-radius: 12px;
}
.agenda-booking.is-confirmed {
  border-left-color: #1f9d55;
}
.agenda-booking.is-cancelled {
  border-left-color: #b9bac6;
  opacity: .65;
}
.agenda-booking h5 {
  margin: 2px 0 4px;
  font-size: 17px;
}
.agenda-booking p {
  margin: 2px 0;
}
.agenda-notes {
  font-style: italic;
  color: #4a4c5a;
}
.agenda-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.agenda-badge {
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: #fff0cf;
  color: #8a5a00;
}
.agenda-badge.is-confirmed {
  background: #dff5e8;
  color: #0f6b3a;
}
.agenda-badge.is-cancelled {
  background: #ececf2;
  color: #5e6070;
}
.wiz {
  display: grid;
  gap: 16px;
}
.wiz-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wiz-steps button {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 100%;
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 600;
  color: #6b6d7c;
  background: #f1f1f6;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.wiz-steps b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 13px;
  color: #6b6d7c;
  background: #fff;
  border-radius: 50%;
}
.wiz-steps button.is-on {
  color: #fff;
  background: #4f46e5;
}
.wiz-steps button.is-on b {
  color: #4f46e5;
}
.wiz-steps button.is-done {
  color: #1a1b22;
  background: #e6e5fb;
}
.wiz-body {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #dfe0e8;
  border-radius: 14px;
}
.wiz-body h3 {
  margin: 4px 0 0;
  font-size: 18px;
}
.wiz-hint,
.wiz-body small {
  color: #6b6d7c;
  font-size: 13px;
}
.wiz-error {
  margin: 0;
  color: #a33a31;
  font-weight: 600;
}
.wiz-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.wiz-choices--4 {
  grid-template-columns: repeat(4, 1fr);
}
.wiz-choice {
  display: grid;
  gap: 4px;
  padding: 14px;
  text-align: left;
  background: #fff;
  border: 2px solid #dfe0e8;
  border-radius: 12px;
  cursor: pointer;
  color: #1a1b22;
}
.wiz-choice strong {
  font-size: 15px;
}
.wiz-choice span {
  font-size: 13px;
  color: #6b6d7c;
}
.wiz-choice.is-on {
  border-color: #4f46e5;
  background: #f4f3ff;
}
.wiz-field {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
.wiz-field input,
.wiz-field textarea,
.wiz-adddate input,
.wiz-body .field-pair input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 400;
  border: 1px solid #cfd0dc;
  border-radius: 10px;
}
.wiz-adddate {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: end;
  gap: 10px;
}
.wiz-adddate label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
.wiz-primary,
.wiz-save {
  min-height: 44px;
  padding: 0 20px;
  font-weight: 700;
  color: #fff;
  background: #4f46e5;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.wiz-save {
  background: #1f9d55;
}
.wiz-primary:disabled,
.wiz-save:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.wiz-date {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 12px 14px;
  background: #f6f6fa;
  border-radius: 10px;
}
.wiz-date strong {
  text-transform: capitalize;
}
.wiz-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wiz-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 12px;
  font-weight: 700;
  background: #fff;
  border: 1px solid #cfd0dc;
  border-radius: 999px;
}
.wiz-chips button {
  width: 22px;
  height: 22px;
  line-height: 1;
  color: #6b6d7c;
  background: #ececf2;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.wiz-link {
  padding: 0;
  font-weight: 600;
  color: #4f46e5;
  background: none;
  border: 0;
  cursor: pointer;
}
.wiz-more {
  padding: 10px 12px;
  background: #f6f6fa;
  border-radius: 10px;
}
.wiz-more summary {
  cursor: pointer;
  font-weight: 600;
}
.wiz-confirm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #f4f3ff;
  border: 1px solid #cfcbf7;
  border-radius: 12px;
  cursor: pointer;
}
.wiz-confirm strong {
  display: block;
}
.wiz-summary {
  padding: 14px 16px;
  background: #e8f7ee;
  border-radius: 12px;
}
.wiz-summary.has-problems {
  background: #fff3e0;
}
.wiz-summary p,
.wiz-summary ul {
  margin: 4px 0;
}
.wiz-danger {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding-top: 6px;
}
.wiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.wiz-nav > div {
  display: flex;
  gap: 8px;
}
.wiz-nav button {
  min-height: 44px;
  padding: 0 18px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid #cfd0dc;
  background: #fff;
  cursor: pointer;
}
.wiz-nav button.wiz-primary {
  color: #fff;
  background: #4f46e5;
  border: 0;
}
.wiz-nav button.wiz-save {
  color: #fff;
  background: #1f9d55;
  border: 0;
}
.wiz-nav button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
@media (max-width: 760px) {
  .wiz-choices,
  .wiz-choices--4,
  .wiz-adddate {
    grid-template-columns: 1fr;
  }
  .agenda-slot {
    grid-template-columns: 1fr;
  }
  .wiz-steps span {
    display: none;
  }
}
.cust {
  display: grid;
  gap: 12px;
}
.cust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cust-stats div {
  display: grid;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #dfe0e8;
  border-radius: 12px;
}
.cust-stats strong {
  font-size: 24px;
}
.cust-stats span {
  font-size: 12px;
  color: #6b6d7c;
}
.cust-tools {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
}
.cust-tools input,
.cust-tools select {
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  border: 1px solid #cfd0dc;
  border-radius: 10px;
  background: #fff;
}
.cust-export {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cust-export button,
.cust-detail > button {
  min-height: 44px;
  padding: 0 18px;
  font-weight: 700;
  background: #fff;
  border: 1px solid #cfd0dc;
  border-radius: 10px;
  cursor: pointer;
}
.cust-export .wiz-primary {
  color: #fff;
  background: #4f46e5;
  border: 0;
}
.cust-export button:disabled,
.cust-detail > button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.cust-note {
  margin: 0;
  font-size: 12.5px;
  color: #6b6d7c;
}
.cust-card {
  background: #fff;
  border: 1px solid #dfe0e8;
  border-radius: 12px;
  overflow: hidden;
}
.cust-card.is-open {
  border-color: #4f46e5;
}
.cust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #1a1b22;
}
.cust-row strong {
  display: block;
  font-size: 16px;
}
.cust-row small {
  color: #6b6d7c;
}
.cust-meta {
  display: grid;
  justify-items: end;
}
.cust-tag {
  padding: 2px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: #0f6b3a;
  background: #dff5e8;
  border-radius: 999px;
}
.cust-detail {
  display: grid;
  gap: 10px;
  padding: 4px 16px 16px;
  border-top: 1px solid #ececf2;
}
.cust-detail h4 {
  margin: 6px 0 0;
}
.cust-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.cust-facts span {
  display: grid;
  gap: 2px;
  font-size: 14px;
}
.cust-facts b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b6d7c;
}
.cust-wa {
  align-self: end;
  font-weight: 700;
  color: #0f6b3a;
}
.cust-history {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cust-history li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  background: #f6f6fa;
  border-left: 4px solid #e0a100;
  border-radius: 8px;
}
.cust-history li.is-confirmed {
  border-left-color: #1f9d55;
}
.cust-history li.is-cancelled {
  border-left-color: #b9bac6;
  opacity: .7;
}
.cust-history em {
  font-style: normal;
  font-size: 12.5px;
  color: #6b6d7c;
}
.cust-history p {
  margin: 2px 0 0;
  font-style: italic;
}
@media (max-width: 760px) {
  .cust-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cust-tools {
    grid-template-columns: 1fr;
  }
}
.safe-fields.builder-open > :not(.sb-panel) {
  display: none;
}
.sb-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0 16px;
}
.sb-add {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  background: #4f46e5;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(79, 70, 229, .35);
}
.sb-add b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 24px;
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
}
.sb-add strong {
  display: block;
  font-size: 16px;
}
.sb-add small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  opacity: .85;
}
.sb-add:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.sb-tip {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #a9abb8;
}
.sb-tip em {
  font-style: normal;
  font-weight: 700;
  color: #cfd0f8;
}
.sb-list h4 {
  margin: 4px 0 8px;
  font-size: 14px;
}
.sb-item {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #15161c;
  border: 1px solid #343540;
  border-radius: 10px;
}
.sb-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
}
.sb-item small {
  color: #8f91a0;
}
.sb-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sb-item-actions button,
.sb-foot button,
.sb-secondary,
.sb-seg button,
.sb-upload {
  min-height: 36px;
  padding: 0 12px;
  font-weight: 600;
  color: #fff;
  background: #2a2b35;
  border: 1px solid #3f4050;
  border-radius: 8px;
  cursor: pointer;
}
.sb-item-actions button.danger,
.sb-foot button.danger {
  color: #ff9a92;
}
.sb-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sb-head h3 {
  margin: 0;
  font-size: 16px;
  color: #fff;
}
.sb-back {
  padding: 0;
  font-weight: 600;
  color: #aab0ff;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.sb-where,
.sb-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #cfd0da;
}
.sb-where select,
.sb-form input,
.sb-form select,
.sb-form textarea {
  width: 100%;
  padding: 10px 11px;
  color: #fff;
  background: #12131a;
  border: 1px solid #3f4050;
  border-radius: 9px;
  font: inherit;
}
.sb-library {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.sb-kind {
  display: grid;
  gap: 6px;
  padding: 12px;
  text-align: left;
  color: #fff;
  background: #1b1c23;
  border: 1px solid #3a3b46;
  border-radius: 12px;
  cursor: pointer;
}
.sb-kind:hover {
  border-color: #6c63ff;
  background: #20212b;
}
.sb-kind strong {
  font-size: 14px;
}
.sb-kind small {
  font-size: 12px;
  line-height: 1.4;
  color: #9496a6;
}
.sb-icon {
  display: block;
  padding: 8px;
  background: #12131a;
  border-radius: 8px;
}
.sb-icon svg {
  display: block;
  width: 100%;
  height: 56px;
  fill: #6c63ff;
}
.sb-hint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #a9abb8;
}
.sb-form {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}
.sb-group {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid #343540;
  border-radius: 10px;
}
.sb-group legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.sb-photo {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #cfd0da;
}
.sb-photo img {
  max-width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.sb-photo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sb-upload {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  background: #4f46e5;
  border-color: #4f46e5;
}
.sb-upload input,
.sb-add-photo input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.sb-link {
  padding: 0;
  font-weight: 600;
  color: #aab0ff;
  background: none;
  border: 0;
  cursor: pointer;
}
.sb-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sb-seg button.on {
  background: #4f46e5;
  border-color: #4f46e5;
}
.sb-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sb-thumb {
  position: relative;
}
.sb-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.sb-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  color: #fff;
  background: rgba(0, 0, 0, .7);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.sb-add-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 72px;
  font-size: 12px;
  font-weight: 600;
  color: #aab0ff;
  border: 1px dashed #5b5e78;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}
.sb-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: sticky;
  bottom: 0;
  padding: 10px 0;
  background: #17181d;
}
.sb-foot .sb-publish {
  flex: 1;
  background: #1f9d55;
  border-color: #1f9d55;
}
.sb-foot button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.sb-panel {
  padding: 16px;
  background: #17181d;
  border-radius: 16px;
}
.sb-foot {
  background: #17181d;
  margin: 0 -16px -16px;
  padding: 12px 16px;
  border-radius: 0 0 16px 16px;
}
.total-pending.is-clickable {
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.total-pending.is-clickable:hover,
.total-pending.is-open {
  box-shadow: 0 0 0 2px #e0a100;
}
.total-pending.is-clickable:focus-visible {
  outline: 3px solid #4f46e5;
  outline-offset: 2px;
}
.pending-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-decoration: underline;
}
.pending-panel {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 16px;
  background: #fffaf0;
  border: 2px solid #e0a100;
  border-radius: 14px;
}
.pending-panel header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.pending-panel h3 {
  margin: 0;
  font-size: 18px;
}
.pending-panel header p {
  margin: 2px 0 0;
  color: #6b6d7c;
  font-size: 13.5px;
}
.pending-panel header button {
  min-height: 36px;
  padding: 0 14px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #dcdce6;
  border-radius: 8px;
  cursor: pointer;
}
.pending-panel article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #ecdcb2;
  border-radius: 12px;
}
.pending-panel article.is-today {
  border-color: #4f46e5;
}
.pending-panel time {
  display: grid;
  justify-items: center;
  min-width: 64px;
  padding: 8px;
  background: #f6f6fa;
  border-radius: 10px;
}
.pending-panel time strong {
  font-size: 15px;
  text-transform: capitalize;
}
.pending-panel time span {
  font-size: 18px;
  font-weight: 800;
}
.pending-info {
  display: grid;
  gap: 2px;
}
.pending-info strong {
  font-size: 17px;
}
.pending-info small {
  color: #6b6d7c;
  text-transform: capitalize;
}
.pending-info p {
  margin: 4px 0 0;
  font-style: italic;
  color: #4a4c5a;
}
.pending-actions {
  display: grid;
  gap: 6px;
}
.pending-actions button {
  min-height: 40px;
  padding: 0 14px;
  font-weight: 700;
  background: #f1f1f6;
  border: 1px solid #dcdce6;
  border-radius: 9px;
  cursor: pointer;
}
.pending-actions .pending-confirm {
  color: #fff;
  background: #1f9d55;
  border-color: #1f9d55;
}
.pending-actions .pending-reject {
  color: #a33a31;
  background: #fff;
}
.pending-actions button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.booking-card.is-highlight {
  animation: booking-pulse 1.2s ease-in-out 3;
  box-shadow: 0 0 0 3px #4f46e5;
}
@keyframes booking-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(79, 70, 229, .25);
  }
}
@media (max-width: 720px) {
  .pending-panel article {
    grid-template-columns: 1fr;
  }
  .pending-actions {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hero-quick {
  display: grid;
  gap: 10px;
  margin: 8px 0 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(23, 24, 29, .14);
  border-radius: 10px;
  color: #17181d;
}
.hero-quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hero-quick-head button {
  min-width: 32px;
  min-height: 32px;
  border: 0;
  background: transparent;
  font-size: 20px;
  color: #5b5d66;
  cursor: pointer;
}
.hero-quick select,
.hero-quick input:not([type=file]) {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(23, 24, 29, .2);
  border-radius: 8px;
  background: #fff;
  color: #17181d;
  font: inherit;
}
.hero-quick-media {
  display: grid;
  gap: 12px;
}
.hero-quick-media label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.hero-quick-media img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
}
.hero-quick small {
  font-weight: 400;
  color: #5b5d66;
}
.hero-quick-error {
  margin: 0;
  color: #b42318;
  font-size: 13px;
}
.hero-quick-ok {
  margin: 0;
  color: #067647;
  font-size: 13px;
}
.safe-body > aside:first-child button {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding-top: 7px;
  padding-bottom: 7px;
  line-height: 1.25;
}
.safe-body > aside:first-child button span {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.wiz-presentation {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  background: #f4f4f1;
  border: 1px solid #d8d9d5;
  border-radius: 10px;
}
.wiz-presentation h4 {
  margin: 0;
  font-size: 14px;
}
.wiz-presentation p {
  margin: 0;
  color: #5b5d66;
  font-size: 12px;
}
.wiz-presentation label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.wiz-field--wide textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px;
  border: 1px solid #d5d6d2;
  border-radius: 8px;
  font: inherit;
  line-height: 1.5;
  white-space: pre-wrap;
}
.wiz-overlap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 8px;
  align-items: start;
  margin: 10px 0;
}
.wiz-overlap small {
  grid-column: 2;
  color: #5b5d66;
  font-weight: 400;
}
.wiz-hidden-warning {
  margin: 14px 0;
  padding: 12px 14px;
  background: #fff4e5;
  border: 1px solid #f0c27a;
  border-radius: 10px;
  color: #7a4a00;
  font-size: 13px;
  line-height: 1.5;
}
.hero-quick textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(23, 24, 29, .2);
  border-radius: 8px;
  background: #fff;
  color: #17181d;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  white-space: pre-wrap;
}
.hero-quick-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.agenda-actions button.wiz-primary {
  color: #fff;
  background: #1f9d55;
  border-color: #1f9d55;
}
.agenda-actions button.wiz-primary:hover:not(:disabled) {
  background: #178246;
  border-color: #178246;
}
.agenda-actions button.wiz-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.rental-request-actions button.primary,
.home-pending-actions button.primary,
.pending-actions .pending-confirm {
  color: #fff;
  background: #1f9d55;
  border-color: #1f9d55;
  box-shadow: 0 6px 16px -8px rgba(31, 157, 85, .6);
}
.rental-request-actions button.primary:hover:not(:disabled),
.home-pending-actions button.primary:hover:not(:disabled) {
  background: #178246;
}
.exp-move {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.exp-move button {
  min-height: 38px;
  padding: 0 14px;
  font-weight: 600;
  background: #f1f1f6;
  border: 1px solid #dcdce6;
  border-radius: 9px;
  cursor: pointer;
}
.exp-move button:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.hero-quick {
  position: fixed;
  top: 72px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  width: min(440px, calc(100vw - 24px));
  margin: 0;
  padding: 18px 18px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
  box-shadow: 0 24px 70px rgba(17, 18, 24, .35), 0 0 0 1px rgba(23, 24, 29, .12);
}
.hero-quick-head {
  position: sticky;
  top: -18px;
  z-index: 1;
  margin: -18px -18px 4px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid rgba(23, 24, 29, .1);
}
.hero-quick > .primary {
  position: sticky;
  bottom: -22px;
  margin-top: 6px;
  min-height: 46px;
}
@media (max-width: 900px) {
  .hero-quick {
    top: 56px;
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    border-radius: 14px 14px 0 0;
  }
}
.rental-views {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rental-views button,
.rental-order button {
  padding: 9px 16px;
  color: #4f5057;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 700 13px var(--font-ui);
  cursor: pointer;
}
.rental-views button.active,
.rental-order button.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.rental-order {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 13px var(--font-ui);
  color: #4f5057;
}
.rental-order button {
  padding: 6px 12px;
  font-size: 12px;
}
.rental-trash-note {
  margin: 0;
  padding: 10px 14px;
  background: #f1f0ea;
  border-radius: 10px;
  font-size: 14px;
  color: #4f5057;
}
.rental-request.is-trashed {
  background: #f3f3f0;
  border-color: #d4d4cd;
  border-left-color: #8a8a90;
}
.rental-request.is-trashed .rental-status {
  background: #8a8a90;
  color: #fff;
}
.rental-btn-trash {
  background: transparent;
  border-color: transparent;
  color: #77777d;
  font-weight: 600;
  padding: 8px 14px;
}
.rental-btn-trash:hover:not(:disabled) {
  color: #a8321f;
  text-decoration: underline;
}
/*# sourceMappingURL=index-rates-20261022.css.map */
