/* Shared page cards. Keep this separate from Tailwind utilities: every page,
   including future subpages, inherits the shell in base.html. No overflow,
   transform or containment here: fixed dialogs and sticky controls stay usable. */
body.synq-site {
  background: #f3f6f9;
  color: #17243b;
}
.synq-site .se-page-stage {
  padding: clamp(20px, 3vw, 44px) clamp(12px, 2.5vw, 36px);
  background: radial-gradient(ellipse at 12% 0%, #e9f4f1 0, transparent 45%), #f3f6f9;
}
.synq-site .se-page-shell {
  --se-page-width: 1200px;
  width: 100%;
  max-width: var(--se-page-width);
  min-width: 0;
  margin-inline: auto;
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid #dfe7ed;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 52px -30px #19395255, 0 3px 12px #19395208;
}
.synq-site .se-page-shell--auth { --se-page-width: 520px; }
.synq-site .se-page-shell--compact { --se-page-width: 680px; }
.synq-site .se-page-shell--reading { --se-page-width: 880px; }
.synq-site .se-page-shell--form { --se-page-width: 1000px; }
.synq-site .se-page-shell--edge { padding: 0; }

/* The shell owns the exterior spacing; existing content layouts retain their
   grids, inner cards and narrower form widths. */
.synq-site .se-page-shell > :where(section, article, div, main)[class*="max-w-"],
.synq-site .se-page-shell > :where(.report-page, .masterdata, .sync-page, .property-editor, .listing-create) {
  margin-block: 0;
  padding: 0;
  width: 100%;
}
.synq-site .se-page-shell--edge > :where(section, div, main):first-child {
  border-start-start-radius: 23px;
  border-start-end-radius: 23px;
}
.synq-site .se-page-shell--edge > :where(section, div, main):last-child {
  border-end-start-radius: 23px;
  border-end-end-radius: 23px;
}
.synq-site .se-page-shell--edge > .min-h-screen { min-height: 0; }
.synq-site .se-page-shell--edge > section > .h-24:first-child {
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
}
.synq-site .se-page-shell > section[aria-label="Hero"] {
  isolation: isolate;
}
.synq-site .se-page-shell .hero-bg,
.synq-site .se-page-shell .hero-bg > div {
  border-radius: inherit;
}
.synq-site .se-page-shell--auth > section > :where(form, div).bg-white {
  padding: 0;
  border: 0;
  box-shadow: none;
}
.synq-site .se-page-eyebrow {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.synq-site .se-page-description {
  margin: 8px 0 24px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}
.synq-site .se-page-shell :where(h1) {
  letter-spacing: -.025em;
  line-height: 1.25;
}
.synq-site .se-page-shell :where(input, select, textarea) { accent-color: #0f766e; }
.synq-site .se-page-shell .doc-type-menu {
  min-width: 0;
  width: 100%;
}
.synq-site .se-page-shell :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 3px;
}
.synq-site > footer { margin-top: 0; background: #fff; }
.synq-site .site-header > div,
.synq-site > footer > div { max-width: 1272px; }

/* Token-protected document pages have their own HTML root. */
.synq-site.se-standalone { background: #f3f6f9; }
.synq-site.se-standalone #main { padding-block: 32px; }
.synq-site.se-standalone #main > .bg-white {
  border: 1px solid #dfe7ed;
  border-radius: 24px;
  box-shadow: 0 18px 52px -30px #19395255, 0 3px 12px #19395208;
}

@media (max-width: 639px) {
  .synq-site .se-page-stage { padding: 16px 10px 24px; }
  .synq-site .se-page-shell { padding: 18px 14px; border-radius: 18px; }
  .synq-site .se-page-shell--edge { padding: 0; }
  .synq-site .se-page-shell--edge > :where(section, div, main):first-child {
    border-start-start-radius: 17px;
    border-start-end-radius: 17px;
  }
  .synq-site .se-page-shell--edge > :where(section, div, main):last-child {
    border-end-start-radius: 17px;
    border-end-end-radius: 17px;
  }
  .synq-site .se-page-shell :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
    font-size: 16px;
  }
}
@media print {
  body.synq-site, .synq-site.se-standalone, .synq-site .se-page-stage { background: white; }
  .synq-site.se-standalone #main > .bg-white { box-shadow: none; }
  .synq-site .se-page-stage, .synq-site .se-page-shell {
    width: 100%; max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none;
  }
}
