@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=PT+Serif:wght@400;700&family=Playfair+Display:wght@400;500&display=swap");

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f6f7f9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 18px;
}

h2 {
  font-size: 18px;
}

pre {
  overflow: auto;
  padding: 14px;
  border-radius: 8px;
  background: #111827;
  color: #e5e7eb;
}

button,
.button-link {
  border: 0;
  border-radius: 6px;
  padding: 11px 14px;
  background: #172033;
  color: #fff;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.secondary-link {
  display: inline-block;
  margin-left: 8px;
  background: #0f766e;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 11px;
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 76px;
  resize: vertical;
}

.demo-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 48px;
  align-items: center;
  padding: 48px;
}

.demo-copy {
  max-width: 620px;
}

.demo-copy p {
  color: #58677f;
  font-size: 18px;
  line-height: 1.55;
}

.embed-area {
  display: flex;
  justify-content: center;
}

.landing-body {
  --public-nav-height: 76px;
  min-height: 100vh;
  background: #fff;
  color: var(--fc-ink, #2d2e33);
  font-family: var(--fc-body, "PT Serif", Georgia, serif);
}

.public-top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(224, 216, 204, .72);
  backdrop-filter: blur(10px);
}

.public-brand,
.public-top-nav nav a {
  color: var(--fc-ink, #2d2e33);
  font-family: var(--fc-ui, Montserrat, ui-sans-serif, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.public-top-nav nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.public-top-nav .button-link {
  padding: 9px 14px;
}

.public-top-nav nav a.button-link {
  color: #fff;
}

.auth-top-nav {
  position: fixed;
}

.oak-landing {
  min-height: 100vh;
  display: grid;
  grid-template-rows: minmax(72vh, auto) minmax(28vh, 1fr);
}

.oak-landing-section {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.oak-landing-hero {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: calc(var(--public-nav-height) + clamp(42px, 7vw, 84px)) 0 clamp(54px, 8vw, 96px);
  text-align: center;
}

.oak-landing-logo {
  width: clamp(138px, 22vw, 220px);
  height: auto;
  display: block;
  border-radius: 999px;
  filter: drop-shadow(0 16px 34px rgba(45, 46, 51, .08));
}

.oak-landing h1 {
  margin: 2px 0 0;
  color: var(--fc-ink, #2d2e33);
  font-family: var(--fc-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(52px, 10vw, 104px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: .95;
  text-transform: uppercase;
}

.oak-landing-hero > p:not(.eyebrow) {
  max-width: 650px;
  margin: 8px auto 0;
  color: var(--fc-text, #606167);
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.62;
}

.oak-landing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.quiet-landing-link {
  display: inline-flex;
  align-items: center;
  padding: 11px 4px;
  color: var(--fc-text, #606167);
  font-family: var(--fc-ui, Montserrat, ui-sans-serif, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.quiet-landing-link:hover {
  color: var(--fc-ink, #2d2e33);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.oak-landing-about {
  display: grid;
  align-content: start;
  background: #0b0b0d;
  border-top: 1px solid #0b0b0d;
  color: #fff;
  text-align: center;
}

.oak-landing-about .oak-landing-section {
  max-width: 780px;
  padding: clamp(48px, 7vw, 78px) 0 clamp(64px, 8vw, 100px);
}

.oak-landing-about .eyebrow {
  color: rgba(255, 255, 255, .72);
}

.oak-landing-about h2 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--fc-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.1;
}

.oak-landing-about p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .74);
  font-size: 17px;
  line-height: 1.7;
}

.oak-product-page {
  display: block;
}

.oak-product-choice {
  min-height: 40vh;
  padding: clamp(56px, 8vw, 94px) 0;
  background: #0b0b0d;
  color: #fff;
}

.oak-product-choice .eyebrow,
.oak-product-choice h2 {
  color: #fff;
  text-align: center;
}

.oak-product-choice h2 {
  max-width: 820px;
  margin: 0 auto 30px;
  font-family: var(--fc-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.08;
}

.oak-product-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.oak-product-choice-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  color: var(--fc-ink, #2d2e33);
}

.oak-product-choice-grid article .eyebrow {
  color: var(--fc-text, #606167);
  text-align: left;
}

.oak-product-choice-grid h3 {
  margin: 0;
  color: var(--fc-ink, #2d2e33);
  font-family: var(--fc-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.08;
}

.oak-product-choice-grid p:not(.eyebrow) {
  margin: 0;
  color: var(--fc-text, #606167);
  font-size: 17px;
  line-height: 1.65;
}

.product-price {
  color: var(--fc-ink, #2d2e33);
  font-family: var(--fc-ui, Montserrat, ui-sans-serif, system-ui, sans-serif);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.oak-landing-product,
.oak-landing-seo {
  padding: clamp(58px, 8vw, 96px) 0;
}

.oak-landing-product > h2,
.oak-landing-seo > h2,
.oak-landing-showcase h2,
.oak-landing-faq h2 {
  max-width: 820px;
  margin: 0 0 30px;
  color: var(--fc-ink, #2d2e33);
  font-family: var(--fc-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.08;
}

.oak-feature-grid,
.oak-benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.oak-feature-grid article,
.oak-benefit-list article {
  border: 1px solid #e0d8cc;
  padding: 24px;
  background: #fff;
}

.oak-feature-grid h3,
.oak-benefit-list h3 {
  margin: 0 0 10px;
  color: var(--fc-ink, #2d2e33);
  font-family: var(--fc-heading, "Playfair Display", Georgia, serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}

.oak-feature-grid p,
.oak-benefit-list p {
  margin: 0;
  color: var(--fc-text, #606167);
  font-size: 16px;
  line-height: 1.65;
}

.oak-landing-showcase {
  padding: clamp(58px, 8vw, 96px) 0;
  background: #f7f4ee;
  border-top: 1px solid #e0d8cc;
  border-bottom: 1px solid #e0d8cc;
}

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

.oak-preview-grid.single-preview {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}

.oak-preview-grid figure {
  margin: 0;
  border: 1px solid #ded6ca;
  background: #fff;
}

.oak-preview-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.oak-preview-grid figcaption {
  border-top: 1px solid #e9e2d8;
  padding: 16px 18px;
  color: var(--fc-text, #606167);
  font-size: 15px;
  line-height: 1.55;
}

.oak-landing-seo {
  text-align: center;
}

.oak-landing-seo > h2 {
  margin-right: auto;
  margin-left: auto;
}

.oak-landing-seo .eyebrow {
  text-align: center;
}

.oak-landing-faq {
  padding: clamp(58px, 8vw, 96px) 0;
  background: #0b0b0d;
  color: #fff;
}

.oak-landing-faq .oak-landing-section {
  max-width: 860px;
}

.oak-landing-faq .eyebrow,
.oak-landing-faq h2 {
  color: #fff;
  text-align: center;
}

.oak-landing-faq h2 {
  margin-right: auto;
  margin-left: auto;
}

.oak-landing-faq details {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding: 20px 0;
}

.oak-landing-faq details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.oak-landing-faq summary {
  cursor: pointer;
  color: #fff;
  font-family: var(--fc-ui, Montserrat, ui-sans-serif, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.oak-landing-faq details p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: 17px;
  line-height: 1.7;
}

.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--public-nav-height, 76px) + 32px) 24px 32px;
  background: #f8fafc;
}

.auth-card {
  width: min(760px, 100%);
  display: grid;
  gap: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.auth-card h1 {
  margin-bottom: 0;
  font-size: 34px;
}

.auth-card form {
  display: grid;
  gap: 14px;
}

.signup-product-picker {
  display: grid;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
}

.signup-product-picker legend {
  padding: 0 6px;
  color: #475569;
  font-family: var(--fc-ui, Montserrat, ui-sans-serif, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.signup-product-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
}

.signup-product-card:has(input:checked) {
  border-color: #2d2e33;
  background: #f8fafc;
}

.signup-product-card span {
  display: grid;
  gap: 4px;
}

.signup-product-card small,
.signup-product-card em {
  color: #64748b;
  font-style: normal;
  line-height: 1.4;
}

.signup-product-card em {
  font-family: var(--fc-ui, Montserrat, ui-sans-serif, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.auth-card a {
  color: #2563eb;
  font-weight: 750;
  text-decoration: none;
}

.auth-message,
.muted-copy {
  color: #64748b;
  line-height: 1.5;
}

.eyebrow {
  margin-bottom: 10px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.admin-body {
  color: #0f172a;
  background: #f8fafc;
}

.global-loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(248, 250, 252, .72);
  backdrop-filter: blur(3px);
}

.global-loading[hidden] {
  display: none;
}

.global-loading-box {
  min-width: 150px;
  display: grid;
  justify-items: center;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px 24px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 22px 50px rgba(15, 23, 42, .14);
}

.global-spinner {
  width: 36px;
  height: 36px;
  border: 4px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 999px;
  animation: spin .8s linear infinite;
}

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

.admin-body .eyebrow {
  color: #64748b;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 12px 0 4px;
}

.admin-header h1 {
  margin-bottom: 0;
  color: #0f172a;
  font-size: 40px;
  font-weight: 820;
  letter-spacing: 0;
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-body .button-link,
.admin-body button {
  border: 1px solid #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .14);
}

.admin-body .quiet-link {
  border-color: #cbd5e1;
  background: #fff;
  color: #0f172a;
  box-shadow: none;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.admin-menu-toggle {
  display: none;
}

.admin-menu-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.admin-menu-icon::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 18px;
  border-top: 1px solid currentColor;
}

.admin-tab {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 14px;
  background: transparent;
  color: #475569;
  box-shadow: none;
  white-space: nowrap;
}

.admin-body .admin-tab {
  border-color: transparent;
  background: transparent;
  color: #475569;
  box-shadow: none;
}

.admin-body .admin-tab.active {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: none;
}

.notification-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  padding: 0 7px;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.notification-badge.is-empty {
  background: #c7c7c7;
  color: #fff;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.sub-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.sub-tab {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 12px;
  background: transparent;
  color: #475569;
  box-shadow: none;
  white-space: nowrap;
}

.admin-body .sub-tab {
  border-color: transparent;
  background: transparent;
  color: #475569;
  box-shadow: none;
}

.admin-body .sub-tab.active {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: none;
}

.sub-tab-panel {
  display: none;
}

.sub-tab-panel.active {
  display: block;
}

.notification-panel-heading,
.notification-actions,
.notification-item,
.notification-title-row,
.notification-item-actions {
  display: flex;
  align-items: center;
}

.notification-panel-heading {
  justify-content: space-between;
  gap: 18px;
}

.notification-actions,
.notification-item-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.notification-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.notification-item {
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.notification-item.is-unread {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.notification-title-row {
  flex-wrap: wrap;
  gap: 8px;
}

.notification-item p {
  margin: 6px 0;
  color: #475569;
}

.notification-item small {
  color: #64748b;
}

.notification-unread-dot {
  border-radius: 999px;
  padding: 3px 8px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
}

.widget-admin-panel > .sub-tab-panel {
  position: relative;
  padding-top: 2px;
}

.widget-save-status {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.widget-sub-tabs {
  margin-bottom: 4px;
}

.widget-embed-panel {
  display: grid;
  gap: 14px;
  max-width: 860px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  background: #f8fafc;
}

.widget-embed-panel h2 {
  margin-bottom: 4px;
}

.widget-embed-panel input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.search-widget-preview {
  margin-top: 14px;
}

.search-preview-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--search-preview-border, #e5e1d8);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 22px);
  background: var(--search-preview-bg, #fff);
}

.search-preview-card h2 {
  margin: 0 0 6px;
  font-family: var(--fc-heading, "Playfair Display", Georgia, serif);
  font-size: 28px;
  font-weight: 400;
}

.search-preview-card p {
  margin: 0;
  color: #606167;
  font-family: var(--fc-body, Georgia, serif);
}

.search-preview-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.search-layout-stacked .search-preview-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.search-preview-form label {
  display: grid;
  gap: 6px;
  font-family: var(--fc-ui, ui-sans-serif, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-preview-form input,
.search-preview-form select {
  border: 1px solid #d8d0c4;
  border-radius: 4px;
  padding: 10px 11px;
  background: #fff;
  color: #2d2e33;
}

.search-preview-form button,
.search-preview-result a {
  border: 0;
  border-radius: 4px;
  padding: 12px 14px;
  background: var(--search-preview-button, #2d2e33);
  color: #fff;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-preview-options {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 14px;
}

.search-preview-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.search-preview-result {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 14px;
  border: 1px solid #e5e1d8;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  align-items: center;
}

.search-preview-image {
  display: grid;
  place-items: center;
  min-height: 88px;
  border-radius: 6px;
  background: var(--search-preview-secondary, #eef3f1);
  color: #606167;
  font-family: var(--fc-heading, Georgia, serif);
  font-size: 34px;
}

.search-preview-result h3 {
  margin: 0 0 8px;
  font-family: var(--fc-heading, Georgia, serif);
  font-size: 22px;
  font-weight: 400;
}

.search-preview-result span {
  display: inline-flex;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--search-preview-secondary, #eef3f1);
  font-size: 12px;
  font-weight: 700;
}

.search-preview-powered {
  color: #b6b1a8;
  font-family: var(--fc-ui, ui-sans-serif, system-ui, sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.setup-panel {
  width: min(720px, 100%);
}

.setup-panel button {
  justify-self: start;
  min-width: 180px;
}

.inline-admin-form,
.report-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.inline-admin-form button,
.report-controls button {
  min-height: 42px;
  white-space: nowrap;
}

.report-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-summary span,
.report-summary strong {
  border-radius: 999px;
  padding: 7px 10px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 13px;
}

.panel {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
}

.admin-body .panel {
  border-color: #e2e8f0;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
  backdrop-filter: none;
}

.admin-body .panel h2 {
  color: #0f172a;
  font-size: 19px;
  font-weight: 820;
}

.admin-body label {
  color: #334155;
  font-weight: 720;
}

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

.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus {
  outline: 3px solid rgba(37, 99, 235, .14);
  border-color: #2563eb;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading p {
  margin-bottom: 0;
  color: #64748b;
  line-height: 1.45;
}

.save-status {
  border-radius: 999px;
  padding: 6px 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.widget-admin-panel {
  gap: 18px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, .5fr) minmax(280px, 1fr);
  gap: 12px;
  align-items: end;
}

.admin-toolbar label {
  color: #334155;
}

.admin-toolbar input[readonly] {
  color: #475569;
  background: #f8fafc;
}

.widget-config-grid {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(280px, 1.1fr);
  gap: 16px;
}

#widget-config-form {
  margin-top: 14px;
}

.widget-config-grid fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.widget-config-grid legend {
  padding: 0 6px;
  color: #0f172a;
  font-weight: 850;
}

.widget-config-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
}

.widget-config-grid input[type="checkbox"],
.widget-config-grid input[type="radio"] {
  width: auto;
}

.field-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 6px;
}

.field-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 9px;
  background: #f8fafc;
}

.field-option-head {
  grid-column: 1 / -1;
  border: 0;
  padding: 0 9px;
  background: transparent;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field-option label {
  min-width: 0;
}

.field-option label:last-child {
  color: #64748b;
  font-size: 12px;
  font-weight: 760;
}

.field-option label.disabled {
  opacity: .42;
}

.field-display-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}

.widget-config-grid .colour-choice {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) 42px minmax(86px, auto);
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.colour-choice span {
  color: #334155;
  font-weight: 850;
  line-height: 1.15;
}

.colour-choice input[type="color"] {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.colour-choice input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 3px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #cbd5e1, 0 8px 18px rgba(15, 23, 42, .10);
}

.colour-choice input[type="color"]::-webkit-color-swatch {
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 999px;
}

.colour-choice input[type="color"]::-moz-color-swatch {
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 999px;
}

.colour-choice output {
  justify-self: end;
  border-radius: 999px;
  padding: 6px 9px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.choice-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 11px;
  background: #f8fafc;
}

.choice-card strong {
  display: block;
  color: #0f172a;
}

.choice-card span {
  color: #64748b;
  line-height: 1.35;
}

.choice-card:has(input:checked) {
  border-color: #bfdbfe;
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12);
}

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

.widget-preview-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.widget-preview-card[data-preview-layout="landscape"] {
  grid-column: 1 / -1;
}

.widget-preview-card.selected {
  border-color: #93c5fd;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .14), 0 14px 32px rgba(37, 99, 235, .08);
}

.widget-preview-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.widget-preview-card em {
  border-radius: 999px;
  padding: 4px 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.widget-preview-shell {
  container-type: inline-size;
  display: grid;
  overflow: auto;
}

.required-marker {
  display: inline;
  color: #dc2626;
  font-weight: 900;
  line-height: 1;
  vertical-align: baseline;
}

.booking-widget-preview .booking-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.booking-widget-preview .booking-card {
  width: 100%;
  max-width: 680px;
  border: 1px solid var(--preview-border, #e5e1d8);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 22px);
  background: var(--preview-bg, #fff);
  box-shadow: 0 14px 40px rgba(15, 23, 42, .08);
  color: #172033;
}

.booking-widget-preview .booking-card.booking-layout-compact {
  max-width: 500px;
}

.booking-widget-preview .booking-card.booking-layout-portrait {
  max-width: 680px;
}

.booking-widget-preview .booking-card.booking-layout-landscape {
  max-width: none;
}

.booking-widget-preview .booking-card.booking-layout-modern {
  max-width: 920px;
  border-radius: 10px;
  padding: clamp(18px, 2.2vw, 26px);
  box-shadow: 0 18px 46px rgba(15, 23, 42, .1);
}

.booking-widget-preview .booking-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.booking-widget-preview .booking-layout-compact h2,
.booking-widget-preview .booking-layout-landscape h2 {
  font-size: 20px;
}

.booking-widget-preview .booking-layout-modern h2 {
  font-size: 26px;
  letter-spacing: 0;
}

.booking-widget-preview .booking-card p {
  margin: 0 0 14px;
  color: #58677f;
  line-height: 1.45;
}

.booking-widget-preview .booking-grid {
  display: grid;
  gap: 12px;
}

.booking-widget-preview .booking-layout-compact.booking-grid {
  gap: 9px;
}

.booking-widget-preview .booking-layout-modern.booking-grid {
  gap: 16px;
}

.booking-widget-preview .booking-form-sections {
  display: grid;
  gap: 18px;
}

.booking-widget-preview .booking-main {
  display: grid;
  gap: 22px;
}

.booking-widget-preview .booking-layout-landscape .booking-main {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
}

.booking-widget-preview .booking-layout-landscape .booking-calendar,
.booking-widget-preview .booking-layout-landscape .booking-form-sections {
  align-self: start;
  align-content: start;
}

.booking-widget-preview .booking-layout-landscape.booking-has-summary .booking-form-sections {
  margin-top: -44px;
}

.booking-widget-preview .booking-layout-landscape .booking-form-sections {
  grid-template-columns: 1fr;
}

.booking-widget-preview .booking-layout-modern .booking-form-sections {
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  align-items: start;
  gap: 16px;
}

.booking-widget-preview .booking-field-group {
  display: grid;
  gap: 14px;
}

.booking-widget-preview .booking-stay-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-widget-preview .booking-guest-fields {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.booking-widget-preview .booking-contact-fields {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.booking-widget-preview .booking-layout-landscape .booking-contact-fields {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.booking-widget-preview .booking-layout-landscape .booking-wide-field {
  grid-column: 1 / -1;
}

.booking-widget-preview .booking-layout-landscape .booking-quote {
  min-height: 84px;
}

.booking-widget-preview .booking-agreements {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--preview-border, #e5e1d8);
  padding-top: 12px;
}

.booking-widget-preview .booking-check {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.booking-widget-preview .booking-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  min-width: 14px;
}

.booking-widget-preview .booking-layout-landscape .booking-submit {
  margin-top: 2px;
}

@container (max-width: 860px) {
  .booking-widget-preview .booking-layout-landscape .booking-main {
    grid-template-columns: 1fr;
  }

  .booking-widget-preview .booking-layout-landscape.booking-has-summary .booking-form-sections {
    margin-top: 0;
  }
}

@container (max-width: 620px) {
  .booking-widget-preview .booking-contact-fields,
  .booking-widget-preview .booking-layout-landscape .booking-contact-fields {
    grid-template-columns: 1fr;
  }

  .booking-widget-preview .booking-layout-landscape .booking-wide-field {
    grid-column: auto;
  }
}

@container (max-width: 420px) {
  .booking-widget-preview .booking-stay-fields,
  .booking-widget-preview .booking-guest-fields {
    grid-template-columns: 1fr;
  }
}

.booking-widget-preview .booking-layout-modern .booking-stay-section {
  border-radius: 10px;
  padding: 14px;
  background: var(--preview-secondary, #edf4f0);
}

.booking-widget-preview .booking-layout-modern .booking-contact-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-widget-preview .booking-layout-modern .booking-wide-field {
  grid-column: 1 / -1;
}

.booking-widget-preview label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 650;
}

.booking-widget-preview input,
.booking-widget-preview textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 11px;
  background: #fff;
  font: inherit;
  opacity: 1;
}

.booking-widget-preview .booking-layout-modern input,
.booking-widget-preview .booking-layout-modern textarea {
  border-radius: 8px;
}

.booking-widget-preview .booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.booking-widget-preview .booking-meta span {
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--preview-secondary, #edf4f0);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.booking-widget-preview .booking-layout-modern .booking-meta span {
  background: color-mix(in srgb, var(--preview-secondary, #edf4f0) 72%, #fff);
}

.booking-widget-preview .booking-layout-compact .booking-meta {
  display: none;
}

.booking-widget-preview .booking-quote {
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 12px;
  background: var(--preview-secondary, #edf4f0);
}

.booking-widget-preview .booking-layout-modern .booking-quote {
  border-color: color-mix(in srgb, var(--preview-button, #183c34) 22%, #d8dee8);
  background: #fff;
}

.booking-widget-preview .booking-quote strong {
  display: block;
  font-size: 20px;
}

.booking-widget-preview .booking-submit {
  border: 0;
  border-radius: 6px;
  padding: 12px 14px;
  background: var(--preview-button, #183c34);
  color: #fff;
  font-weight: 750;
}

.booking-widget-preview .booking-layout-modern .booking-submit {
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
}

.booking-widget-preview .booking-status {
  min-height: 20px;
}

.booking-widget-preview .booking-calendar {
  display: grid;
  gap: 12px;
}

.booking-widget-preview .booking-layout-landscape .booking-calendar {
  grid-template-rows: auto auto auto;
}

.booking-widget-preview .booking-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid #e5e1d8;
  border-radius: 8px;
  padding: 8px;
  color: #6c6d74;
  font-family: var(--fc-body);
  font-size: 13px;
}

.booking-widget-preview .booking-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.booking-widget-preview .booking-calendar-legend i {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 3px;
  background: #dcefd7;
}

.booking-widget-preview .booking-calendar-legend i.booked {
  background: #f1c7c3;
}

.booking-widget-preview .booking-calendar-legend i.changeover-out {
  background: linear-gradient(135deg, #f1c7c3 0 50%, #dcefd7 50%);
}

.booking-widget-preview .booking-calendar-legend i.changeover-in {
  background: linear-gradient(135deg, #dcefd7 0 50%, #f1c7c3 50%);
}

.booking-widget-preview .booking-calendar-legend i.past {
  background: #111;
}

.booking-widget-preview .booking-calendar-toolbar {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 6px;
  align-items: center;
}

.booking-widget-preview .booking-calendar-toolbar strong {
  border: 1px solid #cdd3d8;
  border-radius: 6px;
  padding: 7px 10px;
  text-align: center;
  font-family: var(--fc-body);
  font-weight: 400;
}

.booking-widget-preview .booking-calendar-toolbar button {
  border: 0;
  border-radius: 6px;
  padding: 7px;
  background: #c7cdd1;
  color: #fff;
  font: inherit;
  font-size: 20px;
  line-height: 1;
}

.booking-widget-preview .booking-calendar-weekdays,
.booking-widget-preview .booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.booking-widget-preview .booking-layout-landscape .booking-calendar-grid {
  grid-auto-rows: auto;
  height: auto;
}

.booking-widget-preview .booking-calendar-weekdays span {
  padding: 4px 0;
  color: #6c6d74;
  font-family: var(--fc-body);
  font-weight: 700;
  text-align: center;
}

.booking-widget-preview .booking-calendar-day {
  min-height: 50px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #dcefd7;
  color: #5f6d66;
  font-family: var(--fc-body);
  font-size: 14px;
}

.booking-widget-preview .booking-layout-landscape .booking-calendar-day {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.booking-widget-preview .booking-calendar-day.booked {
  background: #f1c7c3;
}

.booking-widget-preview .booking-calendar-day.changeover-out {
  background: linear-gradient(135deg, #f1c7c3 0 50%, #dcefd7 50%);
}

.booking-widget-preview .booking-calendar-day.changeover-in {
  background: linear-gradient(135deg, #dcefd7 0 50%, #f1c7c3 50%);
}

.booking-widget-preview .booking-calendar-day.past {
  background: #f3f3f3;
  color: #9ca3af;
}

.booking-widget-preview .booking-calendar-day.selected {
  outline: 2px solid var(--preview-button, #2d2e33);
  outline-offset: -3px;
  color: #2d2e33;
  font-weight: 700;
}

.calendar-actions {
  display: flex;
  gap: 8px;
}

.calendar-actions button {
  padding: 8px 10px;
  background: #2563eb;
  font-size: 13px;
}

.reservation-calendar {
  display: grid;
  gap: 8px;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  --calendar-stay-bleed: 24px;
}

.calendar-weekdays span {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.calendar-day {
  position: relative;
  min-height: 104px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  overflow: visible;
}

.calendar-day.muted {
  background: #f8fafc;
  color: #94a3b8;
}

.calendar-day.booked {
  z-index: 1;
  border-color: #93c5fd;
  background: #eff6ff;
}

.calendar-day.is-today {
  z-index: 2;
  border-color: #2563eb;
  box-shadow: inset 0 0 0 1px #2563eb, 0 10px 22px rgba(37, 99, 235, .12);
}

.calendar-day time {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.calendar-day.is-today time {
  background: #2563eb;
  color: #fff;
}

.calendar-bookings {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: start;
  gap: 4px;
  overflow: visible;
}

.calendar-bookings span {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 5px;
  padding: 4px 6px;
  background: var(--stay-color, #2563eb);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-bookings .booking-stay {
  min-height: 22px;
  display: block;
  line-height: 14px;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, .12);
}

.calendar-bookings .stay-start {
  margin-right: calc(var(--calendar-stay-bleed) * -1);
  border-radius: 999px 0 0 999px;
  padding-right: var(--calendar-stay-bleed);
}

.calendar-bookings .stay-middle {
  margin-right: calc(var(--calendar-stay-bleed) * -1);
  margin-left: calc(var(--calendar-stay-bleed) * -1);
  border-radius: 0;
  padding-right: var(--calendar-stay-bleed);
  padding-left: var(--calendar-stay-bleed);
}

.calendar-bookings .stay-end {
  margin-left: calc(var(--calendar-stay-bleed) * -1);
  border-radius: 0 999px 999px 0;
  padding-left: var(--calendar-stay-bleed);
}

.calendar-bookings .stay-single {
  border-radius: 999px;
}

.table-list {
  display: grid;
  gap: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
  background: #fff;
}

.reservation-card,
.property-card {
  display: grid;
  gap: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.reservation-card.is-collapsed,
.property-card.is-collapsed {
  gap: 0;
}

.payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 18px;
}

.payment-grid form {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-provider-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-provider-status span {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
}

.payment-provider-status span.is-connected {
  border-color: #bbd7c7;
  background: #f2faf5;
  color: #2f6846;
}

.payment-provider-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.payment-provider-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--fc-line, #e2e8f0);
  padding: 16px;
  background: #fff;
}

.payment-provider-card.is-connected {
  border-color: #bbd7c7;
  background: #fbfdfb;
}

.payment-provider-card h3 {
  margin: 0 0 6px;
  font-family: var(--fc-ui, Montserrat, ui-sans-serif, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.payment-provider-card p {
  margin: 0;
}

.provider-connected-detail {
  border-left: 2px solid #bbd7c7;
  padding-left: 10px;
  color: #2f6846;
  font-size: 13px;
  font-weight: 650;
}

.payment-provider-card details {
  display: grid;
  gap: 10px;
}

.payment-provider-card summary {
  cursor: pointer;
  color: var(--fc-text, #475569);
  font-family: var(--fc-ui, Montserrat, ui-sans-serif, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.payment-provider-card details[open] summary {
  margin-bottom: 10px;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.account-summary-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  background: #f8fafc;
}

.account-summary-grid span,
.account-summary-grid small {
  color: #64748b;
}

.account-summary-grid span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-summary-grid strong {
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 26px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.subscription-price-notice {
  display: grid;
  gap: 6px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #c99628;
  padding: 14px 16px;
  background: #fffaf0;
}

.subscription-price-notice strong {
  color: #0f172a;
}

.subscription-price-notice p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.reservation-card-header,
.reservation-actions,
.property-card-header,
.property-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reservation-card-header,
.property-card-header {
  min-width: 0;
}

.property-card-header {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
}

.property-card.is-collapsed .property-card-header {
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
}

.property-card-image {
  width: 92px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
}

.property-card.is-collapsed .property-card-image {
  width: 100%;
  min-height: 118px;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card-image span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #94a3b8;
  font-family: var(--fc-serif);
  font-size: 34px;
}

.reservation-card-header div,
.property-card-header div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.reservation-card-header span,
.reservation-message,
.property-card-header span,
.property-message {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.reservation-summary-actions,
.property-summary-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.reservation-status,
.property-status {
  border-radius: 999px;
  padding: 5px 9px;
  background: #edf6f2;
  color: #174339;
  font-size: 12px;
  font-weight: 850;
  text-transform: capitalize;
}

.reservation-details,
.property-details {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.reservation-details[hidden],
.property-details[hidden] {
  display: none;
}

.reservation-form-grid,
.property-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.property-image-preview {
  display: grid;
  place-items: center;
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  aspect-ratio: 16 / 9;
}

.property-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-image-preview span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.properties-admin-panel {
  display: grid;
  gap: 14px;
}

.property-add-form {
  width: min(1120px, 100%);
}

.property-form-tabs {
  margin-bottom: 2px;
}

.property-add-group.active {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.property-add-group textarea {
  min-height: 92px;
}

.property-add-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.property-add-actions .muted-copy {
  margin: 0;
}

.reservation-wide-field,
.property-wide-field {
  grid-column: span 2;
}

.reservation-actions,
.property-actions {
  justify-content: flex-end;
}

.reservation-message,
.property-message {
  margin-right: auto;
}

.property-card-header strong {
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-colour-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--property-colour, #2563eb);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .18);
}

.property-colour-choice input[type="color"] {
  max-width: 160px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  align-self: end;
  gap: 9px;
  min-height: 41px;
}

.checkbox-row input {
  width: auto;
}

.admin-body .danger-button {
  border-color: #fecaca;
  background: #fff;
  color: #b91c1c;
  box-shadow: none;
}

.error-banner {
  padding: 12px 16px;
  background: #991b1b;
  color: #fff;
}

.customer-body {
  background: #fbfaf7;
}

.customer-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 32px;
  border-bottom: 1px solid #e5e0d8;
  background: rgba(251, 250, 247, .94);
  backdrop-filter: blur(10px);
}

.customer-brand,
.customer-nav a {
  color: #172033;
  font-weight: 800;
  text-decoration: none;
}

.customer-nav nav {
  display: flex;
  gap: 18px;
}

.customer-hero {
  min-height: 78vh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 28px;
  padding: 56px 32px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 18, 28, .10), rgba(10, 18, 28, .82)),
    url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1800&q=80") center 42% / cover;
}

.customer-hero-copy {
  width: min(720px, 100%);
}

.customer-hero p {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.55;
}

.customer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.customer-hero-actions span {
  font-weight: 800;
}

.customer-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-hero-facts span {
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 800;
}

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

.customer-gallery {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(0, .8fr));
  grid-auto-rows: 170px;
  gap: 8px;
}

.customer-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-large {
  grid-row: span 2;
}

.customer-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 40px;
  align-items: start;
  border-bottom: 1px solid #d8d0c4;
}

.customer-overview h2 {
  max-width: 680px;
  font-size: 32px;
  line-height: 1.12;
}

.customer-overview p {
  color: #58677f;
  font-size: 17px;
  line-height: 1.55;
}

.customer-search-section {
  display: grid;
  gap: 22px;
  padding-top: 54px;
}

.customer-search-copy {
  max-width: 760px;
}

.customer-search-copy h2 {
  margin-bottom: 10px;
  font-family: var(--fc-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
}

.customer-search-copy p {
  color: #606167;
  font-size: 17px;
  line-height: 1.6;
}

.customer-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.customer-stat-grid div {
  border: 1px solid #d8d0c4;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.customer-stat-grid dt {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.customer-stat-grid dd {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 850;
}

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

.customer-details article {
  border-top: 1px solid #d8d0c4;
  padding-top: 18px;
}

.customer-details p,
.customer-details li {
  color: #58677f;
  line-height: 1.55;
}

.customer-amenities {
  border-top: 1px solid #d8d0c4;
  border-bottom: 1px solid #d8d0c4;
}

.customer-amenities h2 {
  font-size: 26px;
}

.customer-amenities div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.customer-amenities span {
  border: 1px solid #d8d0c4;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  font-weight: 750;
}

.customer-booking {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 620px);
  gap: 36px;
  align-items: start;
}

.customer-booking:has(.booking-widget-host[data-layout="landscape"]) {
  grid-template-columns: 1fr;
}

.customer-booking:has(.booking-widget-host[data-layout="landscape"]) .customer-booking-copy {
  max-width: 680px;
  position: static;
}

.customer-booking:has(.booking-widget-host[data-layout="landscape"]) .customer-widget-slot {
  width: 100%;
}

.customer-booking:has(.booking-widget-host[data-layout="landscape"]) .booking-widget-host {
  width: 100%;
}

.customer-booking-copy {
  position: sticky;
  top: 92px;
}

.customer-booking-copy p {
  color: #58677f;
  line-height: 1.55;
}

.customer-widget-slot {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .demo-shell,
  .admin-grid,
  .admin-toolbar,
  .inline-admin-form,
  .report-controls,
  .widget-config-grid,
  .widget-preview-grid,
  .customer-details,
  .customer-booking,
  .customer-overview {
    grid-template-columns: 1fr;
  }

  .customer-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .gallery-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .customer-amenities div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-shell {
    padding: 24px 16px;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .customer-hero {
    min-height: 62vh;
    padding: 40px 16px;
  }

  .customer-booking-copy {
    position: static;
  }

  .calendar-day {
    min-height: 88px;
    padding: 6px;
  }

  .sub-tabs {
    display: flex;
    width: 100%;
  }

  .sub-tab {
    flex: 1 1 160px;
  }

  .setup-panel,
  .setup-panel button {
    width: 100%;
  }

  .reservation-form-grid,
  .property-form-grid,
  .property-add-group.active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .payment-provider-cards {
    grid-template-columns: 1fr;
  }

  .account-summary-grid {
    grid-template-columns: 1fr;
  }

  .booking-widget-preview .booking-layout-landscape .booking-form-sections,
  .booking-widget-preview .booking-layout-modern .booking-form-sections {
    grid-template-columns: 1fr;
  }

  .search-preview-form,
  .search-layout-stacked .search-preview-form,
  .search-preview-result {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .secondary-link {
    margin: 8px 0 0;
  }

  .customer-nav nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .customer-gallery,
  .customer-stat-grid,
  .customer-amenities div {
    grid-template-columns: 1fr;
  }

  .reservation-calendar {
    gap: 6px;
    overflow: visible;
  }

  .calendar-weekdays,
  .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    --calendar-stay-bleed: 5px;
  }

  .calendar-weekdays span {
    font-size: 0;
  }

  .calendar-weekdays span::before {
    content: attr(data-short);
    font-size: 10px;
    font-weight: 600;
  }

  .calendar-day {
    min-height: clamp(42px, 12vw, 56px);
    gap: 3px;
    border-radius: 2px;
    padding: 4px 3px;
  }

  .calendar-day time {
    width: 20px;
    height: 20px;
    font-size: 10px;
    font-weight: 700;
  }

  .calendar-bookings {
    gap: 2px;
  }

  .calendar-bookings span {
    min-width: 0;
    min-height: 6px;
    height: 6px;
    padding: 0;
    color: transparent;
    font-size: 0;
    line-height: 0;
  }

  .calendar-bookings .booking-stay {
    min-height: 6px;
    line-height: 0;
  }

  .booking-widget-preview .booking-contact-fields,
  .booking-widget-preview .booking-layout-landscape .booking-contact-fields,
  .booking-widget-preview .booking-layout-modern .booking-contact-fields {
    grid-template-columns: 1fr;
  }

  .booking-widget-preview .booking-layout-landscape .booking-wide-field,
  .booking-widget-preview .booking-layout-modern .booking-wide-field {
    grid-column: auto;
  }

  .reservation-card-header,
  .reservation-actions,
  .reservation-summary-actions,
  .property-card-header,
  .property-actions,
  .property-summary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .property-card-header {
    grid-template-columns: 1fr;
  }

  .property-card.is-collapsed .property-card-header {
    grid-template-columns: 1fr;
  }

  .property-card-image {
    width: 100%;
    max-height: 180px;
  }

  .reservation-summary-actions button,
  .reservation-actions button,
  .property-summary-actions button,
  .property-actions button {
    width: 100%;
  }

  .reservation-form-grid,
  .property-form-grid,
  .property-add-group.active {
    grid-template-columns: 1fr;
  }

  .property-add-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .field-option-grid {
    grid-template-columns: 1fr;
  }

  .reservation-wide-field,
  .property-wide-field {
    grid-column: auto;
  }

  .gallery-large {
    grid-column: span 1;
  }
}

/* Oak Book visual system */
:root {
  --fc-ink: #2d2e33;
  --fc-text: #606167;
  --fc-muted: #8d8d91;
  --fc-line: #e5e1d8;
  --fc-line-strong: #d8d0c4;
  --fc-paper: #ffffff;
  --fc-cream: #ffffff;
  --fc-mist: #eef3f1;
  --fc-sage: #6d8f93;
  --fc-slate: #4f6771;
  --fc-sea: #7da7b5;
  --fc-rust: #9d7355;
  --fc-danger: #a33a35;
  --fc-shadow: 0 22px 58px rgba(45, 46, 51, .08);
  --fc-heading: "Playfair Display", "PT Serif", Georgia, serif;
  --fc-body: "PT Serif", Georgia, serif;
  --fc-ui: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--fc-body);
  color: var(--fc-text);
  background: var(--fc-paper);
}

body {
  background: var(--fc-paper);
}

h1,
.customer-hero h1,
.admin-header h1,
.auth-card h1,
.demo-copy h1 {
  font-family: var(--fc-heading);
  font-weight: 400;
  color: var(--fc-ink);
  letter-spacing: 0;
}

h2,
h3 {
  font-family: var(--fc-heading);
  font-weight: 400;
  color: var(--fc-ink);
}

p {
  color: var(--fc-text);
}

button,
.button-link {
  border-radius: 3px;
  background: var(--fc-ink);
  font-family: var(--fc-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: none;
}

button:hover,
.button-link:hover {
  background: #09090a;
  text-decoration: none;
}

.secondary-link {
  background: var(--fc-sage);
}

label,
input,
textarea,
select {
  font-family: var(--fc-ui);
}

label {
  color: var(--fc-ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  border-color: var(--fc-line-strong);
  border-radius: 3px;
  color: var(--fc-ink);
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px dotted var(--fc-ink);
  outline-offset: 2px;
  border-color: var(--fc-ink);
}

.eyebrow {
  color: var(--fc-slate);
  font-family: var(--fc-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

pre {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 3px;
  background: var(--fc-ink);
  color: #fff;
}

.demo-shell {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, .94), rgba(255, 253, 248, .72)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.demo-copy {
  padding: clamp(18px, 3vw, 34px);
  border-left: 1px solid var(--fc-line-strong);
}

.demo-copy p {
  color: var(--fc-text);
  font-family: var(--fc-body);
}

.auth-body,
.admin-body {
  color: var(--fc-ink);
  background:
    linear-gradient(180deg, rgba(246, 241, 232, .82), rgba(255, 253, 248, 1) 34%),
    var(--fc-paper);
}

.auth-card,
.panel,
.admin-tabs,
.sub-tabs,
.widget-preview-card,
.reservation-card,
.property-card,
.payment-grid form,
.table-row {
  border-color: var(--fc-line);
  border-radius: 3px;
  background: rgba(255, 253, 248, .96);
  box-shadow: var(--fc-shadow);
}

.admin-body .panel {
  border-color: var(--fc-line);
  background: rgba(255, 253, 248, .96);
  box-shadow: var(--fc-shadow);
}

.admin-header h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.admin-body .button-link,
.admin-body button {
  border-color: var(--fc-ink);
  background: var(--fc-ink);
  color: #fff;
  box-shadow: none;
}

.admin-body .quiet-link,
.admin-body .danger-button {
  border-color: var(--fc-line-strong);
  background: #fff;
  color: var(--fc-ink);
}

.admin-body .admin-tab,
.admin-body .sub-tab {
  color: var(--fc-text);
}

.admin-body .admin-tab.active,
.admin-body .sub-tab.active,
.choice-card:has(input:checked) {
  border-color: var(--fc-sage);
  background: var(--fc-mist);
  color: var(--fc-ink);
  box-shadow: none;
}

.admin-body .panel h2 {
  color: var(--fc-ink);
  font-family: var(--fc-heading);
  font-size: 24px;
  font-weight: 400;
}

.admin-body label {
  color: var(--fc-ink);
  font-weight: 500;
}

.admin-body input,
.admin-body textarea,
.admin-body select {
  border-color: var(--fc-line-strong);
  background: #fff;
  color: var(--fc-ink);
}

.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus {
  outline: 2px dotted var(--fc-ink);
  border-color: var(--fc-ink);
}

.panel-heading p,
.auth-message,
.muted-copy,
.reservation-card-header span,
.reservation-message,
.property-card-header span,
.property-message,
.choice-card span,
.field-option label:last-child {
  color: var(--fc-text);
}

.save-status,
.reservation-status,
.property-status {
  background: var(--fc-mist);
  color: var(--fc-slate);
  font-family: var(--fc-ui);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.widget-config-grid fieldset,
.field-option,
.choice-card,
.widget-config-grid .colour-choice {
  border-color: var(--fc-line);
  border-radius: 3px;
  background: #fff;
}

.colour-choice output {
  background: var(--fc-mist);
  color: var(--fc-slate);
}

.global-loading {
  background: rgba(246, 241, 232, .72);
}

.global-loading-box {
  border-color: var(--fc-line);
  border-radius: 3px;
  background: var(--fc-paper);
  color: var(--fc-ink);
  box-shadow: var(--fc-shadow);
}

.global-spinner {
  border-color: var(--fc-line);
  border-top-color: var(--fc-ink);
}

.booking-widget-preview .booking-card {
  border-color: var(--preview-border, var(--fc-line-strong));
  border-radius: 3px;
  background: var(--preview-bg, var(--fc-paper));
  color: var(--fc-ink);
  box-shadow: var(--fc-shadow);
}

.booking-widget-preview .booking-card h2 {
  font-family: var(--fc-heading);
  font-weight: 400;
}

.booking-widget-preview .booking-card p,
.booking-widget-preview .booking-meta span {
  color: var(--fc-text);
}

.booking-widget-preview label {
  color: var(--fc-ink);
  font-family: var(--fc-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.booking-widget-preview input,
.booking-widget-preview textarea {
  border-color: var(--fc-line-strong);
  border-radius: 3px;
  color: var(--fc-ink);
}

.booking-widget-preview .booking-quote,
.booking-widget-preview .booking-layout-modern .booking-stay-section {
  border-color: var(--fc-line);
  background: var(--preview-secondary, var(--fc-mist));
}

.booking-widget-preview .booking-submit {
  border-radius: 3px;
  background: var(--preview-button, var(--fc-ink));
  font-family: var(--fc-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.calendar-actions button,
.calendar-day.is-today time,
.calendar-bookings span {
  background: var(--fc-slate);
}

.calendar-day,
.calendar-day.muted,
.calendar-day.booked {
  border-color: var(--fc-line);
  border-radius: 3px;
  background: #fff;
}

.calendar-day.booked {
  background: var(--fc-mist);
}

.calendar-day.is-today {
  border-color: var(--fc-ink);
  box-shadow: inset 0 0 0 1px var(--fc-ink), 0 10px 24px rgba(45, 46, 51, .12);
}

.customer-body {
  background: var(--fc-paper);
  color: var(--fc-text);
  font-family: var(--fc-body);
}

.customer-nav {
  border-bottom-color: rgba(229, 225, 216, .86);
  background: rgba(255, 253, 248, .94);
}

.customer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--fc-heading);
  font-size: 22px;
  font-weight: 400;
}

.customer-nav a {
  color: var(--fc-ink);
  font-family: var(--fc-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.customer-hero {
  min-height: 82vh;
  background:
    linear-gradient(180deg, rgba(45, 46, 51, .08), rgba(45, 46, 51, .78)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80") center 48% / cover;
}

.customer-hero h1,
.customer-hero p,
.customer-hero .eyebrow {
  color: #fff;
}

.customer-hero h1 {
  font-size: clamp(44px, 7vw, 92px);
}

.customer-hero-actions span {
  font-family: var(--fc-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.customer-hero-facts span {
  border-color: rgba(255, 255, 255, .34);
  border-radius: 3px;
  font-family: var(--fc-ui);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.customer-section {
  padding: 58px 0;
}

.customer-gallery {
  gap: 10px;
}

.customer-gallery img {
  filter: saturate(.9) contrast(.96);
}

.customer-overview,
.customer-details article,
.customer-amenities {
  border-color: var(--fc-line-strong);
}

.customer-overview h2 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
}

.customer-overview p,
.customer-details p,
.customer-details li,
.customer-booking-copy p {
  color: var(--fc-text);
}

.customer-stat-grid div,
.customer-amenities span {
  border-color: var(--fc-line);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(45, 46, 51, .05);
}

.customer-stat-grid dt {
  color: var(--fc-muted);
  font-family: var(--fc-ui);
  font-weight: 500;
  letter-spacing: .12em;
}

.customer-stat-grid dd {
  color: var(--fc-ink);
  font-family: var(--fc-heading);
  font-weight: 400;
}

.customer-amenities h2,
.customer-booking-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.customer-amenities span {
  color: var(--fc-ink);
  font-family: var(--fc-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Foreland-style admin surface */
.admin-body {
  color: var(--fc-ink);
  background: #fff;
  font-family: var(--fc-body);
}

.admin-top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--fc-line);
  padding: 13px clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.admin-top-brand,
.admin-top-nav a,
.admin-top-nav button {
  color: var(--fc-text);
  font-family: var(--fc-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-top-brand {
  color: var(--fc-ink);
  white-space: nowrap;
}

.admin-top-nav nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.admin-body .admin-top-nav button {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--fc-text);
  box-shadow: none;
}

.admin-top-nav a:hover,
.admin-top-nav button:hover {
  color: var(--fc-ink);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.admin-shell {
  width: min(1200px, calc(100% - 48px));
  padding: 20px 0 64px;
}

.admin-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
  padding: 0 0 8px;
}

.admin-body .admin-header .eyebrow {
  margin-bottom: 6px;
  color: var(--fc-muted);
}

.admin-logo-center {
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.admin-logo-center img {
  width: clamp(116px, 15vw, 180px);
  height: auto;
  display: block;
  border-radius: 999px;
  filter: drop-shadow(0 10px 22px rgba(45, 46, 51, .08));
}

.admin-header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.admin-body .button-link,
.admin-body button,
.admin-body .quiet-link {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fc-text);
  font-family: var(--fc-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: none;
}

.admin-body .button-link:hover,
.admin-body button:hover,
.admin-body .quiet-link:hover {
  color: var(--fc-ink);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.admin-tabs {
  justify-content: center;
  gap: 26px;
  margin: 0 0 32px;
  border: 0;
  border-bottom: 1px solid var(--fc-line);
  border-radius: 0;
  padding: 0 0 14px;
  background: #fff;
  box-shadow: none;
}

.admin-body .admin-tab {
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 4px 0 8px;
  background: transparent;
  color: var(--fc-text);
}

.admin-body .admin-tab.active {
  border-bottom-color: var(--fc-ink);
  background: transparent;
  color: var(--fc-ink);
  text-decoration: none;
  box-shadow: none;
}

.sub-tabs {
  gap: 0;
  margin-bottom: 26px;
  border: 0;
  border-bottom: 1px solid var(--fc-line);
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.admin-body .sub-tab {
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 0 28px 10px 0;
  background: transparent;
  color: var(--fc-text);
}

.admin-body .sub-tab:hover,
.admin-body .sub-tab:focus-visible {
  border-bottom-color: var(--fc-ink);
  color: var(--fc-ink);
  text-decoration: none;
}

.admin-body .sub-tab:focus-visible {
  outline: 0;
}

.admin-body .sub-tab.active {
  border-color: var(--fc-ink);
  background: transparent;
  color: var(--fc-ink);
  font-weight: 700;
}

.admin-body .panel,
.admin-body .auth-card,
.admin-body .admin-tabs,
.admin-body .sub-tabs,
.admin-body .widget-preview-card,
.admin-body .reservation-card,
.admin-body .property-card,
.admin-body .payment-grid form,
.admin-body .table-row {
  border-color: var(--fc-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.admin-body .panel {
  padding: clamp(20px, 3vw, 34px);
}

.admin-body .panel h2 {
  color: var(--fc-ink);
  font-family: var(--fc-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.admin-body input,
.admin-body textarea,
.admin-body select {
  border-color: #cfcfcf;
  border-radius: 0;
  padding: 11px 12px;
  background: #fff;
}

.admin-body .setup-panel button,
.admin-body .payment-actions button,
.admin-body .account-actions button,
.admin-body .reservation-actions button,
.admin-body .property-actions button,
.admin-body .calendar-actions button {
  border: 1px solid var(--fc-line-strong);
  padding: 10px 14px;
}

.admin-body .setup-panel button:hover,
.admin-body .payment-actions button:hover,
.admin-body .account-actions button:hover,
.admin-body .reservation-actions button:hover,
.admin-body .property-actions button:hover,
.admin-body .calendar-actions button:hover {
  border-color: var(--fc-ink);
  text-decoration: none;
}

.admin-body .account-summary-grid article {
  border-color: var(--fc-line);
  border-radius: 0;
  background: #fff;
}

.admin-body .subscription-price-notice {
  border-color: var(--fc-line);
  border-left-color: var(--fc-gold);
  border-radius: 0;
  background: #fff;
}

.widget-config-grid fieldset,
.field-option,
.choice-card,
.widget-config-grid .colour-choice {
  border-radius: 0;
  background: #fff;
}

.choice-card:has(input:checked),
.admin-body .sub-tab.active,
.admin-body .admin-tab.active {
  box-shadow: none;
}

@media (max-width: 900px) {
  .admin-top-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
  }

  .admin-top-nav nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--fc-line);
  }

  .admin-top-nav a:not(.admin-top-brand),
  .admin-body .admin-top-nav button {
    min-height: 38px;
    display: grid;
    place-items: center;
    border-right: 1px solid var(--fc-line);
    padding: 8px 6px;
    font-size: 9px;
    letter-spacing: .12em;
    line-height: 1.25;
    text-align: center;
  }

  .admin-top-nav nav > :nth-child(3n),
  .admin-top-nav nav > :last-child {
    border-right: 0;
  }

  .admin-top-nav a:hover,
  .admin-top-nav button:hover {
    background: var(--fc-mist);
    text-decoration: none;
  }

  .admin-shell {
    width: min(100% - 28px, 760px);
    padding-top: 14px;
  }

  .admin-header {
    gap: 18px;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--fc-line);
    padding: 2px 0 18px;
    text-align: center;
  }

  .admin-logo-center {
    grid-column: 1;
    gap: 8px;
  }

  .admin-logo-center img {
    width: clamp(104px, 30vw, 138px);
    filter: drop-shadow(0 12px 28px rgba(45, 46, 51, .10));
  }

  .admin-body .admin-header .eyebrow {
    margin: 0;
    color: var(--fc-muted);
    font-size: 10px;
    letter-spacing: .18em;
  }

  .admin-header-actions {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    justify-content: stretch;
    border: 1px solid var(--fc-line);
    background: #fff;
  }

  .admin-body .admin-header-actions .button-link,
  .admin-body .admin-header-actions button,
  .admin-body .admin-header-actions .quiet-link {
    min-height: 42px;
    display: grid;
    place-items: center;
    border-right: 1px solid var(--fc-line);
    padding: 8px 6px;
    color: var(--fc-text);
    font-size: 9px;
    letter-spacing: .12em;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
  }

  .admin-body .admin-header-actions > :last-child {
    border-right: 0;
  }

  .admin-body .admin-header-actions .button-link:hover,
  .admin-body .admin-header-actions button:hover,
  .admin-body .admin-header-actions .quiet-link:hover {
    background: var(--fc-mist);
    color: var(--fc-ink);
    text-decoration: none;
  }

  .admin-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    margin: 0 0 12px;
    border: 1px solid var(--fc-line);
    border-radius: 0;
    padding: 14px 16px;
    background: #fff;
    color: var(--fc-ink);
    text-decoration: none;
  }

  .admin-menu-toggle:hover {
    border-color: var(--fc-line-strong);
    text-decoration: none;
  }

  .admin-menu-toggle[aria-expanded="true"] .admin-menu-icon {
    border-color: transparent;
  }

  .admin-menu-toggle[aria-expanded="true"] .admin-menu-icon::before {
    transform: translateY(-1px) rotate(45deg);
  }

  .admin-menu-toggle[aria-expanded="true"] .admin-menu-icon::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 18px;
    border-top: 1px solid currentColor;
    transform: translateY(-1px) rotate(-45deg);
  }

  .admin-menu-label {
    font-family: var(--fc-ui);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .admin-tabs {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
    border: 1px solid var(--fc-line);
    padding: 0;
  }

  .admin-tabs.open {
    display: flex;
  }

  .admin-body .admin-tab {
    width: 100%;
    border-bottom: 1px solid var(--fc-line);
    padding: 14px;
    text-align: left;
  }

  .admin-body .admin-tab:last-child {
    border-bottom: 0;
  }

  .admin-body .admin-tab.active {
    background: var(--fc-mist);
    text-decoration: none;
  }
}

@media (max-width: 760px) {
  .public-top-nav {
    padding: 12px 16px;
  }

  .public-top-nav nav {
    gap: 10px;
  }

  .public-top-nav nav a:not(.button-link) {
    display: none;
  }

  .auth-body {
    align-items: start;
    padding-top: 88px;
  }

  .auth-card {
    padding: 22px;
  }

  .oak-product-choice-grid {
    grid-template-columns: 1fr;
  }

  .customer-body {
    overflow-x: hidden;
  }

  .customer-nav {
    position: static;
    gap: 12px;
    padding: 14px 16px;
  }

  .customer-brand {
    width: 100%;
    justify-content: center;
    font-size: 19px;
  }

  .customer-nav nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .customer-nav a {
    font-size: 10px;
    letter-spacing: .12em;
  }

  .customer-hero {
    min-height: auto;
    grid-template-rows: auto auto;
    gap: 22px;
    padding: 72px 18px 26px;
    background-position: center;
  }

  .customer-hero h1 {
    font-size: clamp(40px, 14vw, 64px);
    line-height: .98;
  }

  .customer-hero p {
    font-size: 16px;
  }

  .customer-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-hero-actions .button-link {
    width: 100%;
    text-align: center;
  }

  .customer-hero-actions span {
    text-align: center;
  }

  .customer-hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-hero-facts span {
    display: grid;
    place-items: center;
    min-height: 46px;
    text-align: center;
  }

  .customer-section {
    width: min(100% - 28px, 620px);
    padding: 38px 0;
  }

  .customer-search-section {
    gap: 16px;
    padding-top: 38px;
  }

  .customer-search-copy h2,
  .customer-overview h2,
  .customer-booking-copy h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .customer-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 130px;
    gap: 6px;
  }

  .gallery-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .customer-overview,
  .customer-details,
  .customer-booking {
    gap: 24px;
  }

  .customer-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-amenities div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-booking-copy {
    position: static;
  }

  .customer-widget-slot,
  .customer-widget-slot .booking-widget-host {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .admin-shell {
    width: min(100% - 22px, 420px);
    padding-top: 10px;
  }

  .admin-header {
    gap: 14px;
    padding-bottom: 14px;
  }

  .admin-logo-center img {
    width: clamp(94px, 34vw, 122px);
  }

  .oak-landing {
    grid-template-rows: minmax(72vh, auto) minmax(28vh, 1fr);
  }

  .oak-landing-hero {
    padding-top: 92px;
  }

  .oak-landing-section {
    width: min(100% - 28px, 420px);
  }

  .oak-landing-hero {
    padding: 36px 0 46px;
  }

  .oak-landing-logo {
    width: 142px;
  }

  .oak-landing h1 {
    font-size: clamp(44px, 16vw, 64px);
    letter-spacing: .06em;
  }

  .oak-landing-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(260px, 100%);
  }

  .oak-landing-actions .button-link,
  .quiet-landing-link {
    justify-content: center;
    width: 100%;
  }

  .oak-landing-product,
  .oak-landing-showcase,
  .oak-landing-seo,
  .oak-landing-faq,
  .oak-product-choice {
    padding: 42px 0;
  }

  .oak-landing-product > h2,
  .oak-landing-seo > h2,
  .oak-landing-showcase h2,
  .oak-landing-faq h2,
  .oak-product-choice h2 {
    margin-bottom: 22px;
    font-size: clamp(30px, 11vw, 42px);
  }

  .oak-feature-grid,
  .oak-benefit-list,
  .oak-preview-grid,
  .oak-product-choice-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .oak-feature-grid article,
  .oak-benefit-list article {
    padding: 20px;
  }

  .oak-preview-grid figcaption {
    padding: 14px;
  }

  .oak-landing-faq summary {
    font-size: 12px;
  }

  .customer-nav {
    padding-inline: 12px;
  }

  .customer-nav nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .customer-nav nav a {
    text-align: center;
  }

  .customer-hero {
    padding: 54px 14px 22px;
  }

  .customer-hero-facts,
  .customer-stat-grid,
  .customer-amenities div {
    grid-template-columns: 1fr;
  }

  .customer-section {
    width: min(100% - 22px, 420px);
    padding: 32px 0;
  }

  .customer-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-large {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 340px) {
  .admin-top-nav nav {
    grid-template-columns: 1fr;
  }

  .admin-top-nav a:not(.admin-top-brand),
  .admin-body .admin-top-nav button {
    border-right: 0;
    border-bottom: 1px solid var(--fc-line);
  }

  .admin-top-nav nav > :last-child {
    border-bottom: 0;
  }

  .admin-header-actions {
    grid-template-columns: 1fr;
  }

  .admin-body .admin-header-actions .button-link,
  .admin-body .admin-header-actions button,
  .admin-body .admin-header-actions .quiet-link {
    min-height: 38px;
    border-right: 0;
    border-bottom: 1px solid var(--fc-line);
  }

  .admin-body .admin-header-actions > :last-child {
    border-bottom: 0;
  }
}
