@font-face {
  font-family: "Sawmill Futura";
  src: url("/fonts/Futura-Md-BT-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sawmill Futura";
  src: url("/fonts/Futura-Md-BT-Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --pine: #243a2c;
  --pine-2: #17291e;
  --cedar: #9e7e50;
  --cedar-dark: #715a37;
  --limestone: #f4efe3;
  --paper: #fffaf1;
  --sand: #ded1b7;
  --rust: #9b523a;
  --sage: #789071;
  --sky: #dbe7e2;
  --ink: #1d241f;
  --muted: #6f6658;
  --line: #ddd2bd;
  --white: #ffffff;
  --danger: #9a3328;
  --success: #3f7656;
  --shadow: 0 18px 60px rgba(29, 36, 31, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--limestone);
  font-family: "Sawmill Futura", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--pine);
  color: var(--white);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 58px);
  background: rgba(255, 250, 241, .95);
  border-bottom: 1px solid rgba(158, 126, 80, .24);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 66px;
  display: block;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--pine);
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a,
.nav-cta,
.button {
  text-decoration: none;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--cedar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 20px;
  border: 2px solid var(--cedar);
  background: var(--cedar);
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0;
  cursor: pointer;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.button:hover,
.nav-cta:hover {
  background: var(--pine);
  border-color: var(--pine);
}

.button.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .7);
}

.button.secondary {
  background: var(--pine);
  border-color: var(--pine);
}

.button.light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--pine);
}

.button.small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: .85rem;
}

.button.tiny {
  min-height: 34px;
  padding: 8px 10px;
  font-size: .75rem;
}

.button.danger {
  background: var(--danger);
  border-color: var(--danger);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--pine);
  margin: 6px 0;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: end;
  padding: clamp(86px, 11vw, 138px) clamp(20px, 6vw, 86px) clamp(46px, 7vw, 86px);
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(23, 41, 30, .92), rgba(36, 58, 44, .65) 48%, rgba(29, 36, 31, .28)),
    url("/assets/Sawmill-Ridge-Pool-1024x756.png") center/cover;
}

.home-hero {
  background:
    linear-gradient(110deg, rgba(23, 41, 30, .94), rgba(36, 58, 44, .62) 52%, rgba(29, 36, 31, .25)),
    url("/assets/Sawmill-Ridge-Pool-1024x756.png") center/cover;
}

.ranch-hero {
  background:
    linear-gradient(110deg, rgba(23, 41, 30, .94), rgba(62, 77, 54, .58) 54%, rgba(29, 36, 31, .2)),
    url("/assets/Sawmill-Ridge-Pool-1024x756.png") center/cover;
}

.compact-hero {
  min-height: 390px;
}

.sales-hero {
  background:
    linear-gradient(110deg, rgba(23, 41, 30, .93), rgba(113, 90, 55, .68)),
    url("/assets/Sawmill-Ridge-Weekly-Flyer.png") center/cover;
}

.about-hero,
.contact-hero,
.thanks-hero,
.privacy-hero {
  background:
    linear-gradient(110deg, rgba(23, 41, 30, .94), rgba(120, 144, 113, .65)),
    url("/assets/Sawmill-Ridge-Pool-1024x756.png") center/cover;
}

.hero-content {
  width: min(980px, 100%);
  position: relative;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cedar);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e3c899;
}

.hero h1,
.section h2,
.login-card h1,
.admin-topbar h1,
.dashboard-hero-panel h2 {
  margin: 0;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.3rem, 5vw, 4.35rem);
  text-transform: uppercase;
}

.compact-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, .86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.price-line {
  display: inline-block;
  padding: 14px 18px;
  background: rgba(255, 250, 241, .1);
  border-left: 5px solid var(--cedar);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 76px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(860px, 100%);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.section h2 {
  color: var(--pine);
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  text-transform: uppercase;
}

.section p,
.legal-section li {
  color: var(--muted);
  font-size: 1.02rem;
}

.callout {
  padding: 18px 20px;
  background: var(--paper);
  border-left: 6px solid var(--cedar);
  color: var(--pine) !important;
  font-weight: 900;
}

.form-photo-panel {
  display: grid;
  gap: 22px;
}

.form-photo-panel img,
.flyer,
.booklet {
  width: 100%;
  display: block;
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 7px solid var(--cedar);
  box-shadow: var(--shadow);
}

.lead-form h2 {
  font-size: clamp(1.4rem, 3vw, 2.3rem);
}

.required {
  margin: 0;
  font-size: .8rem !important;
  color: var(--cedar-dark) !important;
  font-weight: 900;
}

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

.form-grid .span-2 {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--pine);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
  font-weight: 700;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(158, 126, 80, .24);
  border-color: var(--cedar);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  font-size: .9rem;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.highlights-band {
  background: var(--pine);
  color: var(--white);
}

.highlights-band h2 {
  color: var(--white);
}

.highlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.highlight-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .88);
}

.highlight-list li > span:first-child {
  color: #e3c899;
  font-weight: 900;
}

.story-section,
.sale-section,
.team-section {
  background: var(--white);
}

.quote-panel {
  padding: clamp(24px, 4vw, 38px);
  background: var(--limestone);
  border-left: 7px solid var(--cedar);
}

blockquote {
  margin: 22px 0 0;
  color: var(--pine);
  font-size: 1.2rem;
  font-weight: 900;
}

blockquote span,
cite {
  display: block;
  margin-top: 12px;
  color: var(--cedar-dark);
  font-size: .92rem;
  font-style: normal;
}

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

.logo-grid div {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.reason-grid,
.review-grid,
.team-grid,
.steps {
  display: grid;
  gap: 18px;
}

.reason-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

.reason-grid article,
.steps article,
.team-card,
.review-grid blockquote {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
}

.reason-grid h2,
.steps h3,
.team-card h3 {
  margin: 0;
  color: var(--pine);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

.team-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
}

.team-card img {
  aspect-ratio: 1;
  object-fit: cover;
}

.steps {
  margin-top: 28px;
}

.steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px 16px;
}

.steps span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--cedar);
  color: var(--white);
  font-weight: 900;
}

.contact-facts {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.contact-facts p {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--paper);
  border-left: 5px solid var(--cedar);
}

.legal-section h2 {
  margin-top: 34px;
  color: var(--pine);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(26px, 5vw, 48px) clamp(20px, 5vw, 76px);
  background: var(--cedar);
  color: var(--white);
}

.footer-cta p {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  background: var(--pine-2);
  color: rgba(255, 255, 255, .78);
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 34px;
  padding: clamp(46px, 7vw, 80px) 20px;
}

.footer-logo {
  width: 96px;
  filter: brightness(1.08);
}

.site-footer h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: .82rem;
  text-transform: uppercase;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li {
  margin: 8px 0;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 76px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}

/* Admin */
.admin-login-body,
.admin-body {
  background:
    linear-gradient(rgba(244, 239, 227, .94), rgba(244, 239, 227, .94)),
    url("/assets/Sawmill-Ridge-Pool-1024x756.png") center/cover fixed;
}

.login-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 460px);
  display: grid;
  gap: 16px;
  padding: clamp(26px, 5vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 8px solid var(--cedar);
  box-shadow: var(--shadow);
}

.login-card img {
  width: 86px;
}

.login-card h1 {
  color: var(--pine);
  font-size: clamp(2.2rem, 7vw, 4rem);
  text-transform: uppercase;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 72px;
}

.password-toggle {
  position: absolute;
  right: 6px;
  top: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--limestone);
  color: var(--pine);
  font-size: .8rem;
  font-weight: 900;
}

.form-error,
.form-success,
.form-notice,
.empty-state {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--pine);
  font-weight: 800;
}

.form-error {
  border-color: rgba(154, 51, 40, .35);
  background: #fff0ed;
  color: var(--danger);
}

.form-success {
  border-color: rgba(63, 118, 86, .35);
  background: #edf8f1;
  color: var(--success);
}

.form-notice {
  border-color: rgba(113, 90, 55, .3);
  background: #fff8e9;
  color: var(--cedar);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--pine-2);
  color: var(--white);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-brand img {
  width: 58px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a,
.admin-site-link,
.text-button {
  text-decoration: none;
  color: inherit;
}

.admin-sidebar nav a {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .78);
  font-weight: 900;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  background: var(--cedar);
  color: var(--white);
}

.admin-site-link {
  margin-top: auto;
  color: #e3c899;
  font-weight: 900;
}

.admin-main {
  min-width: 0;
  padding: clamp(20px, 4vw, 38px);
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-topbar p,
.admin-section-title p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-topbar h1 {
  color: var(--pine);
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
}

.admin-quick-menu {
  position: relative;
  z-index: 60;
  width: max-content;
  margin: -10px 0 24px;
}

.admin-quick-menu summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 250, 241, .96);
  color: var(--pine);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(29, 36, 31, .08);
}

.admin-quick-menu summary::-webkit-details-marker {
  display: none;
}

.admin-quick-menu summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.admin-quick-menu[open] summary {
  border-color: var(--cedar);
  background: var(--cedar);
  color: #fff;
}

.admin-quick-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, .98);
  box-shadow: 0 18px 38px rgba(29, 36, 31, .16);
}

.admin-quick-link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--pine);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-quick-link.active,
.admin-quick-link:hover {
  background: var(--cedar);
  color: #fff;
}

.admin-floating-tools {
  position: relative;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  border: 1px solid rgba(221, 210, 189, .9);
  border-radius: 999px;
  background: rgba(255, 250, 241, .94);
  box-shadow: 0 14px 34px rgba(28, 38, 29, .11);
  backdrop-filter: blur(10px);
}

.admin-floating-tools .admin-quick-menu {
  margin: 0;
}

.admin-floating-tools .admin-quick-menu summary {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: #07284b;
  color: #fffaf1;
  font-size: .72rem;
  box-shadow: none;
}

.admin-floating-tools .admin-quick-menu[open] summary,
.admin-floating-tools .admin-quick-menu summary:hover {
  background: var(--cedar);
  color: #fffaf1;
}

.admin-floating-tools .admin-quick-nav {
  top: calc(100% + 10px);
}

.admin-account-controls {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.admin-account-controls .admin-account-email {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  max-width: 230px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(221, 210, 189, .82);
  border-radius: 999px;
  background: #fffaf1;
  color: var(--pine);
  font-size: .72rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-account-controls form {
  margin: 0;
}

.admin-account-controls .text-button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--pine);
  color: #fffaf1;
  font-size: .72rem;
  text-transform: uppercase;
}

.admin-account-controls .text-button:hover {
  background: var(--cedar);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--cedar-dark);
  font-weight: 900;
  cursor: pointer;
}

.admin-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

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

.metric-card,
.admin-panel {
  background: rgba(255, 250, 241, .96);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(29, 36, 31, .08);
}

.metric-card {
  min-height: 132px;
  padding: 22px;
  border-top: 5px solid var(--cedar);
}

.metric-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  color: var(--pine);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: var(--cedar-dark);
  font-size: .85rem;
  font-weight: 800;
}

.admin-panel {
  min-width: 0;
  padding: 22px;
}

.dashboard-hero-panel {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  border-top: 7px solid var(--pine);
}

.dashboard-hero-panel h2 {
  color: var(--pine);
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  text-transform: uppercase;
}

.freshness {
  display: grid;
  gap: 10px;
  min-width: 240px;
}

.freshness span,
.pill {
  display: inline-flex;
  padding: 8px 10px;
  background: var(--limestone);
  color: var(--pine);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-section-title {
  margin: 34px 0 16px;
}

.admin-section-title.inline-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 0;
}

.admin-section-title h2,
.admin-panel h2,
.admin-panel h3 {
  margin: 0 0 12px;
  color: var(--pine);
  text-transform: uppercase;
}

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

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

.admin-table th,
.admin-table td {
  padding: 12px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--cedar-dark);
  font-size: .75rem;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--ink);
  font-size: .92rem;
}

.backup-command-grid .admin-panel {
  min-height: 100%;
}

.backup-status-grid .metric-card strong {
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.toggle-line {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--limestone);
  color: var(--pine);
}

.toggle-line input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--cedar);
}

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

.schedule-readout article {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 227, .72);
}

.schedule-readout span,
.backup-zone,
.backup-path,
.backup-note {
  color: var(--cedar-dark);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-readout strong {
  display: block;
  margin-top: 6px;
  color: var(--pine);
  font-size: .95rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.backup-path {
  max-width: min(100%, 520px);
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--limestone);
  text-align: right;
  overflow-wrap: anywhere;
}

.backup-note {
  display: block;
  max-width: 320px;
  margin-top: 6px;
  color: var(--danger);
  text-transform: none;
}

.compact-list {
  margin-top: 4px;
}

.bar-list {
  display: grid;
  gap: 14px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(140px, 2fr) auto;
  gap: 12px;
  align-items: center;
}

.bar-row div {
  height: 12px;
  background: var(--sky);
}

.bar-row i {
  display: block;
  height: 100%;
  background: var(--cedar);
}

.analytics-report {
  --report-navy: #102235;
  --report-navy-2: #0a1827;
  --report-gold: #d3a63d;
  --report-green: #31533f;
  --report-rust: #b75f43;
  --report-paper: #fffdf8;
  --report-cream: #f5f1e8;
  --report-line: #e3ddcf;
  --report-muted: #657069;
  --report-shadow: 0 24px 70px rgba(16, 34, 53, .12);
  display: grid;
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto 42px;
}

.analytics-report * {
  letter-spacing: 0;
}

.report-icon {
  width: 21px;
  height: 21px;
  display: inline-block;
  object-fit: contain;
}

.report-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: 430px;
  padding: clamp(34px, 6vw, 70px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(10, 24, 39, .95), rgba(16, 34, 53, .88) 56%, rgba(49, 83, 63, .58)),
    url("/assets/Sawmill-Ridge-Pool-1024x756.png") center/cover;
  box-shadow: var(--report-shadow);
}

.report-hero::after {
  content: "";
  position: absolute;
  inset: 34px -80px auto auto;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(211, 166, 61, .28);
  transform: rotate(45deg);
}

.report-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.report-kicker,
.report-label {
  margin: 0 0 10px;
  color: var(--report-gold);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-hero h2 {
  margin: 0;
  max-width: 680px;
  color: var(--white);
  font-size: clamp(3.3rem, 8.8vw, 6.9rem);
  line-height: .87;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.report-hero h2 span {
  display: block;
  color: var(--report-gold);
}

.report-hero p:not(.report-kicker) {
  max-width: 560px;
  color: rgba(255, 255, 255, .76);
}

.report-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.report-status-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .82);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-status-row span.ready .report-icon {
  filter: invert(73%) sepia(69%) saturate(428%) hue-rotate(3deg) brightness(92%) contrast(91%);
}

.report-range-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 253, 248, .97);
  color: var(--ink);
  border-top: 6px solid var(--report-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

.report-live {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--report-muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-live span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #3d9d65;
}

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

.report-range-buttons button,
.report-apply,
.report-more-button {
  min-height: 38px;
  border: 0;
  background: #ece7da;
  color: var(--report-navy);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.report-range-buttons button.active,
.report-range-buttons button:hover,
.report-apply {
  background: var(--report-gold);
}

.report-range-card label {
  display: grid;
  gap: 5px;
  color: var(--cedar-dark);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-range-card input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--report-line);
  background: var(--white);
  color: var(--report-navy);
}

.report-range-card p {
  margin: 0;
  padding-top: 5px;
  color: var(--report-muted) !important;
  font-size: .75rem;
  font-weight: 800;
}

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

.report-kpi {
  display: grid;
  align-content: start;
  min-height: 150px;
  padding: 20px;
  background: var(--report-paper);
  border: 1px solid var(--report-line);
  border-bottom: 5px solid var(--report-gold);
  box-shadow: var(--report-shadow);
}

.report-kpi > div {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-left: auto;
  background: #f2ead8;
}

.report-kpi p {
  margin: 8px 0;
  color: var(--report-muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-kpi strong {
  color: var(--report-navy);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: .95;
  overflow-wrap: anywhere;
}

.report-kpi span {
  margin-top: 9px;
  color: var(--report-muted);
  font-size: .82rem;
  font-weight: 800;
}

.report-kpi.pine {
  border-bottom-color: var(--report-navy);
}

.report-kpi.sage {
  border-bottom-color: var(--report-green);
}

.report-kpi.rust {
  border-bottom-color: var(--report-rust);
}

.report-section {
  display: grid;
  gap: 18px;
}

.two-column-report {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.report-panel {
  min-width: 0;
  padding: 24px;
  background: var(--report-paper);
  border: 1px solid var(--report-line);
  box-shadow: var(--report-shadow);
}

.report-panel-dark {
  background: var(--report-navy);
  color: var(--white);
}

.report-panel h3,
.report-facebook h3 {
  margin: 0 0 16px;
  color: var(--report-navy);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1;
  text-transform: uppercase;
}

.report-panel-dark h3 {
  color: var(--white);
}

.report-ranked-list {
  display: grid;
}

.report-ranked-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(101, 112, 105, .16);
}

.report-panel-dark .report-ranked-row {
  border-color: rgba(255, 255, 255, .12);
}

.report-ranked-row > span,
.report-page-row > span,
.insight-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #f3ead6;
  color: var(--report-navy);
  font-size: .72rem;
  font-weight: 900;
}

.report-ranked-row strong {
  color: inherit;
  font-size: .9rem;
}

.report-ranked-row em,
.report-page-row em,
.report-page-row small,
.device-legend small {
  display: block;
  color: var(--report-muted);
  font-style: normal;
  font-size: .72rem;
  font-weight: 800;
}

.report-panel-dark .report-ranked-row em {
  color: rgba(255, 255, 255, .58);
}

.report-ranked-row i,
.report-page-row i,
.fb-campaign-card i {
  display: block;
  height: 8px;
  margin-top: 7px;
  background: #eceff0;
  overflow: hidden;
}

.report-ranked-row i b,
.report-page-row i b,
.fb-campaign-card i b {
  display: block;
  height: 100%;
  background: var(--report-gold);
}

.report-panel-dark .report-ranked-row i {
  background: rgba(255, 255, 255, .16);
}

.report-ranked-row.is-hidden {
  display: none;
}

.report-ranked-row.is-visible {
  display: grid;
}

.report-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 14px;
}

.report-more-button .report-icon {
  width: 16px;
  height: 16px;
}

.trend-bars {
  height: 250px;
  display: flex;
  align-items: end;
  gap: 5px;
  padding: 20px 8px 4px;
  border-left: 1px solid var(--report-line);
  border-bottom: 1px solid var(--report-line);
}

.trend-bars span {
  position: relative;
  flex: 1;
  min-width: 5px;
  background: linear-gradient(180deg, var(--report-gold), var(--report-green));
}

.trend-bars i {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  color: var(--report-muted);
  font-size: .62rem;
  font-style: normal;
  font-weight: 900;
}

.device-report {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.device-donut {
  --device-share: 50;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  background: radial-gradient(circle at center, var(--report-paper) 0 48%, transparent 49%), conic-gradient(var(--report-gold) calc(var(--device-share) * 1%), var(--report-navy) 0);
}

.device-donut strong {
  color: var(--report-navy);
  font-size: 2.5rem;
  line-height: 1;
}

.device-donut span {
  color: var(--report-muted);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.device-legend {
  display: grid;
  gap: 13px;
}

.device-legend div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--report-line);
}

.device-legend span {
  color: var(--report-navy);
  font-weight: 900;
  text-transform: uppercase;
}

.device-legend strong {
  color: var(--report-navy);
}

.insight-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.insight-steps article {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #f7f2e8;
}

.insight-steps strong {
  color: var(--report-navy);
  text-transform: uppercase;
}

.insight-steps b {
  color: var(--report-gold);
  font-size: 1.75rem;
}

.insight-steps p {
  margin: 0;
  color: var(--report-muted);
  font-size: .82rem;
}

.report-wide-panel {
  padding: 26px;
}

.report-page-table {
  display: grid;
  overflow-x: auto;
}

.report-page-head,
.report-page-row {
  display: grid;
  grid-template-columns: 42px minmax(220px, 1.7fr) minmax(170px, 1fr) 110px 110px;
  gap: 14px;
  align-items: center;
  min-width: 820px;
}

.report-page-head {
  padding: 12px 16px;
  background: var(--report-navy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-page-row {
  padding: 14px 16px;
  border-bottom: 1px solid var(--report-line);
}

.report-page-row div strong {
  color: var(--report-navy);
}

.report-page-row > strong {
  color: var(--report-navy);
  text-align: right;
}

.report-facebook {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(10, 24, 39, .96), rgba(16, 34, 53, .92)),
    url("/wp-content/uploads/2026/02/Sawmill-Ridge-Couple-1.webp") center/cover;
  color: var(--white);
}

.report-facebook-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.report-facebook h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.report-facebook-head p:not(.report-label) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.report-facebook-head > .report-icon {
  width: 58px;
  height: 58px;
  filter: invert(73%) sepia(69%) saturate(428%) hue-rotate(3deg) brightness(92%) contrast(91%);
}

.meta-kpis .report-kpi {
  background: rgba(255, 253, 248, .98);
}

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

.fb-campaign-card {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 253, 248, .98);
  color: var(--report-navy);
}

.fb-campaign-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--report-green);
}

.fb-campaign-card > div {
  padding: 17px;
}

.fb-campaign-card span {
  color: var(--report-gold);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fb-campaign-card h3 {
  margin: 7px 0 13px;
  color: var(--report-navy);
  font-size: 1.02rem;
  line-height: 1.15;
  text-transform: none;
  overflow-wrap: anywhere;
}

.fb-campaign-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}

.fb-campaign-card div div {
  min-width: 0;
}

.fb-campaign-card dt {
  color: var(--report-muted);
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fb-campaign-card dd {
  margin: 2px 0 0;
  color: var(--report-navy);
  font-weight: 900;
}

/* Sawmill Ridge analytics presentation dashboard */
.analytics-shell {
  grid-template-columns: minmax(0, 1fr);
  background: #fbf8f0;
}

.analytics-shell .admin-sidebar {
  display: none;
  padding: 0 18px 28px;
  background: #030303;
  color: #fffaf1;
}

.analytics-shell .admin-brand {
  height: 176px;
  justify-content: center;
  align-items: center;
}

.analytics-shell .admin-brand img {
  width: 170px;
  max-height: 132px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .94;
}

.analytics-shell .admin-brand span {
  display: none;
}

.analytics-shell .admin-sidebar nav {
  gap: 10px;
}

.analytics-shell .admin-sidebar nav a {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .74);
}

.analytics-shell .admin-sidebar nav a.active,
.analytics-shell .admin-sidebar nav a:hover {
  background: var(--cedar);
  color: #fffaf1;
}

.analytics-shell .admin-site-link {
  color: #d8ab42;
}

.analytics-main {
  position: relative;
  min-height: 100vh;
  padding: 0;
  background: #fbf8f0;
}

.analytics-main > .admin-floating-tools {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 80;
  margin: 0;
}

.analytics-main > .admin-floating-tools .admin-quick-menu .admin-quick-nav {
  right: 0;
  left: auto;
}

.analytics-main > .admin-floating-tools .admin-account-email {
  max-width: 190px;
}

.sr-report {
  --sr-green: #073f22;
  --sr-green-2: #0c4c2b;
  --sr-navy: #07284b;
  --sr-navy-2: #031d39;
  --sr-gold: #d08a00;
  --sr-gold-2: #e3ae3e;
  --sr-cream: #fbf8f0;
  --sr-card: rgba(255, 255, 255, .92);
  --sr-line: #e9e0cf;
  --sr-text: #051e13;
  --sr-muted: #5f5a50;
  --sr-shadow: 0 16px 40px rgba(28, 38, 29, .09);
  min-height: 100vh;
  color: var(--sr-text);
}

@property --mobile-end {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --tablet-end {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --desktop-end {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

.sr-report-header {
  position: relative;
  min-height: 330px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px clamp(24px, 5vw, 58px) 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 92% -18%, rgba(208, 138, 0, .08), transparent 54%),
    #fbf8f0;
}

.sr-report-header::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 58%;
  height: 260px;
  opacity: .34;
  background:
    repeating-radial-gradient(ellipse at 62% 18%, transparent 0 22px, rgba(115, 88, 44, .18) 23px, transparent 24px);
  pointer-events: none;
}

.sr-report-header p {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  color: #c87800;
  font-weight: 900;
}

.sr-report-header h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--sr-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: .98;
  font-weight: 700;
}

.sr-report-header span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 14px;
  color: #263329;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.sr-report-header .sr-snapshot-status {
  max-width: 760px;
  margin-top: -8px;
  color: #667068;
  font-size: .82rem;
  font-weight: 700;
}

.sr-report-body {
  width: min(1260px, calc(100% - 34px));
  display: grid;
  gap: 24px;
  margin: -30px auto 36px;
}

.sr-filter-bar {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 3;
  justify-self: end;
  display: grid;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 8px 0 0;
  padding: 12px 14px 14px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(28, 38, 29, .07);
}

.sr-filter-bar .sr-filter-title,
.sr-filter-bar label {
  color: var(--sr-muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sr-filter-bar .sr-filter-title {
  display: block;
  margin: 0;
  line-height: 1;
}

.sr-filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
}

.sr-filter-bar label {
  display: grid;
  gap: 5px;
}

.sr-filter-bar a,
.sr-filter-bar button,
.sr-filter-bar input {
  min-height: 30px;
  border: 1px solid var(--sr-line);
  border-radius: 6px;
  background: #f5efe2;
  color: var(--sr-text);
  font-size: .72rem;
  font-weight: 900;
}

.sr-filter-bar a,
.sr-filter-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
}

.sr-filter-bar a.active,
.sr-filter-bar button.active,
.sr-filter-bar .apply {
  border-color: var(--sr-gold);
  background: var(--sr-gold);
  color: #fff;
}

.sr-filter-bar input {
  width: 132px;
  padding: 2px 7px;
}

.sr-section-tab {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateY(1px);
}

.sr-section-tab.green {
  background: linear-gradient(135deg, var(--sr-green-2), var(--sr-green));
}

.sr-section-tab.navy {
  background: linear-gradient(135deg, var(--sr-navy), var(--sr-navy-2));
}

.sr-section-tab .report-icon {
  width: 20px;
  height: 20px;
  filter: invert(65%) sepia(98%) saturate(1011%) hue-rotate(5deg) brightness(91%) contrast(102%);
}

.sr-overview-card,
.sr-card,
.sr-facebook-section {
  border: 1px solid var(--sr-line);
  border-radius: 9px;
  box-shadow: var(--sr-shadow);
}

.sr-overview-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 156px;
  overflow: hidden;
  background: var(--sr-card);
  backdrop-filter: blur(12px);
}

.sr-report.sr-report-animated .sr-overview-card,
.sr-report.sr-report-animated .sr-card,
.sr-report.sr-report-animated .sr-facebook-section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.sr-report.sr-report-animated .sr-overview-card.sr-animate-in,
.sr-report.sr-report-animated .sr-card.sr-animate-in,
.sr-report.sr-report-animated .sr-facebook-section.sr-animate-in {
  opacity: 1;
  transform: translateY(0);
}

.sr-overview-metric {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 24px 26px;
  border-left: 1px solid var(--sr-line);
}

.sr-overview-metric:first-child {
  border-left: 0;
}

.sr-icon-circle {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid var(--sr-gold);
  border-radius: 999px;
  background: #fffdf8;
}

.sr-icon-circle .report-icon {
  width: 28px;
  height: 28px;
  filter: invert(50%) sepia(90%) saturate(1296%) hue-rotate(13deg) brightness(92%) contrast(101%);
}

.sr-overview-metric p,
.sr-meta-kpi p {
  margin: 0 0 7px;
  color: #101814;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sr-overview-metric strong,
.sr-meta-kpi strong {
  display: block;
  color: var(--sr-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 3.3vw, 3.15rem);
  line-height: .95;
  font-weight: 700;
  white-space: nowrap;
  overflow-wrap: normal;
}

.sr-overview-metric:last-child strong {
  font-size: clamp(1.95rem, 2.8vw, 2.75rem);
}

.sr-overview-metric em,
.sr-meta-kpi em {
  display: block;
  margin-top: 7px;
  color: #262820;
  font-style: normal;
  font-size: .78rem;
  font-weight: 800;
}

.sr-two-grid,
.sr-three-grid {
  display: grid;
  gap: 24px;
}

.sr-two-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.sr-three-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, .92fr) minmax(360px, 1.45fr);
}

.sr-three-grid-inland {
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.45fr);
}

.sr-right-stack {
  display: grid;
  gap: 24px;
}

.sr-card {
  min-width: 0;
  background: rgba(255, 255, 255, .9);
  overflow: hidden;
}

.sr-card-body {
  padding: 22px 22px 24px;
}

.sr-trend-card,
.sr-trend-card .sr-card-body {
  position: relative;
  z-index: 8;
  overflow: visible;
}

.sr-trend-card:hover,
.sr-trend-card:focus-within {
  z-index: 30;
}

.sr-card h2 {
  margin: 0 0 18px;
  color: #101814;
  font-size: 1rem;
  text-transform: uppercase;
}

.sr-ranked-list {
  display: grid;
  gap: 11px;
}

.sr-ranked-row {
  display: grid;
  grid-template-columns: 28px minmax(116px, .72fr) minmax(120px, 1fr) 62px;
  gap: 12px;
  align-items: center;
  min-height: 26px;
}

.sr-ranked-row > span,
.sr-data-table td > span,
.sr-story-cards article > span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--sr-gold);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
}

.sr-ranked-row strong {
  color: #131610;
  font-size: .86rem;
  overflow-wrap: anywhere;
}

.sr-ranked-row i {
  display: block;
  height: 9px;
  background: #f1ece2;
  overflow: hidden;
}

.sr-ranked-row i b {
  display: block;
  width: var(--bar-width, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--sr-gold), var(--sr-gold-2));
}

.sr-report.sr-report-animated .sr-ranked-row i b {
  width: 0;
  transition: width 900ms cubic-bezier(.22, 1, .36, 1);
}

.sr-report.sr-report-animated .sr-animate-in .sr-ranked-row i b {
  width: var(--bar-width, 0%);
}

.sr-ranked-row em {
  color: #111;
  font-style: normal;
  font-size: .86rem;
  font-weight: 900;
  text-align: right;
}

.sr-ranked-row.is-hidden {
  display: none;
}

.sr-ranked-row.is-visible {
  display: grid;
}

.sr-more-button {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(208, 138, 0, .35);
  border-radius: 7px;
  background: #fff8e9;
  color: var(--sr-green);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.sr-more-button .report-icon {
  width: 16px;
  height: 16px;
  filter: invert(49%) sepia(94%) saturate(1088%) hue-rotate(13deg) brightness(90%) contrast(101%);
}

.sr-three-grid > .sr-card .sr-ranked-row {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}

.sr-three-grid > .sr-card .sr-ranked-row > span {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.sr-three-grid > .sr-card .sr-ranked-row strong {
  grid-column: 2;
  grid-row: 1;
}

.sr-three-grid > .sr-card .sr-ranked-row i {
  grid-column: 2;
  grid-row: 2;
  height: 3px;
  opacity: .4;
}

.sr-three-grid > .sr-card .sr-ranked-row em {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
}

.sr-trend-chart {
  position: relative;
  z-index: 2;
  height: 302px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0 2px;
  overflow: visible;
}

.sr-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #1d2922;
  font-size: .72rem;
  font-weight: 900;
}

.sr-trend-bars {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: end;
  gap: var(--trend-gap, 6px);
  padding: 0 4px 28px;
  border-left: 1px solid #eee7da;
  border-bottom: 1px solid #eee7da;
  overflow: visible;
}

.sr-trend-chart.is-long-range .sr-trend-bars {
  padding-bottom: 34px;
}

.sr-trend-bars span {
  position: relative;
  z-index: 1;
  flex: 1;
  height: var(--bar-height, 0%);
  min-width: 2px;
  background: linear-gradient(180deg, #efb54a, var(--sr-gold) 72%, var(--sr-green));
}

.sr-trend-bars span:hover,
.sr-trend-bars span:focus-visible {
  z-index: 50;
}

.sr-report.sr-report-animated .sr-trend-bars span {
  height: 0;
  transition: height 850ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--bar-delay, 0ms);
}

.sr-report.sr-report-animated .sr-trend-chart.sr-animate-in .sr-trend-bars span {
  height: var(--bar-height, 0%);
}

.sr-trend-bars span::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 1000;
  width: max-content;
  max-width: min(300px, 70vw);
  padding: 9px 11px;
  border: 1px solid rgba(208, 138, 0, .28);
  border-radius: 7px;
  background: #fffdf7;
  box-shadow: 0 12px 30px rgba(7, 40, 75, .16);
  color: var(--sr-text);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.sr-trend-bars span:hover::after,
.sr-trend-bars span:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sr-trend-bars span:nth-child(-n+4)::after {
  left: 0;
  transform: translate(0, 6px);
}

.sr-trend-bars span:nth-child(-n+4):hover::after,
.sr-trend-bars span:nth-child(-n+4):focus-visible::after {
  transform: translate(0, 0);
}

.sr-trend-bars span:nth-last-child(-n+4)::after {
  right: 0;
  left: auto;
  transform: translate(0, 6px);
}

.sr-trend-bars span:nth-last-child(-n+4):hover::after,
.sr-trend-bars span:nth-last-child(-n+4):focus-visible::after {
  transform: translate(0, 0);
}

.sr-trend-bars i {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  color: #1d2922;
  font-style: normal;
  font-size: .6rem;
  font-weight: 900;
}

.sr-trend-chart.is-long-range .sr-trend-bars i {
  bottom: -27px;
  font-size: .56rem;
  white-space: nowrap;
}

.sr-trend-bars span:first-child i {
  left: 0;
  transform: none;
}

.sr-trend-bars span:last-child i {
  right: 0;
  left: auto;
  transform: none;
}

.sr-device-breakdown {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.sr-device-donut {
  --mobile-end: var(--mobile-target, 0);
  --tablet-end: var(--tablet-target, 0);
  --desktop-end: var(--desktop-target, 0);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 0 48%, transparent 49%),
    conic-gradient(var(--sr-green) 0 calc(var(--mobile-end) * 1%), var(--sr-gold) 0 calc(var(--tablet-end) * 1%), var(--sr-navy) 0 calc(var(--desktop-end) * 1%), #eef0ea 0 100%);
}

.sr-report.sr-report-animated .sr-device-donut {
  --mobile-end: 0;
  --tablet-end: 0;
  --desktop-end: 0;
  transition: --mobile-end 1200ms cubic-bezier(.22, 1, .36, 1), --tablet-end 1200ms cubic-bezier(.22, 1, .36, 1), --desktop-end 1200ms cubic-bezier(.22, 1, .36, 1);
}

.sr-report.sr-report-animated .sr-device-breakdown.sr-animate-in .sr-device-donut {
  --mobile-end: var(--mobile-target, 0);
  --tablet-end: var(--tablet-target, 0);
  --desktop-end: var(--desktop-target, 0);
}

.sr-device-donut strong {
  color: var(--sr-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.4vw, 2.75rem);
  line-height: 1;
}

.sr-device-donut span {
  color: #111;
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sr-device-legend {
  display: grid;
  gap: 22px;
}

.sr-device-legend div {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.sr-device-legend div > span {
  width: 13px;
  height: 13px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--sr-green);
}

.sr-device-legend div:nth-child(2) > span {
  background: var(--sr-gold);
}

.sr-device-legend div:nth-child(3) > span {
  background: var(--sr-navy);
}

.sr-device-legend strong {
  color: #111;
  font-size: .95rem;
}

.sr-device-legend em {
  display: block;
  margin-top: 2px;
  color: #31392f;
  font-style: normal;
  font-size: .82rem;
  font-weight: 500;
}

.sr-device-legend b {
  color: var(--sr-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1;
}

.sr-story-card .sr-card-body {
  padding: 18px 0 20px;
}

.sr-story-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sr-story-cards article {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 20px;
  text-align: center;
  border-left: 1px solid var(--sr-line);
}

.sr-report.sr-report-animated .sr-story-cards article {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.sr-report.sr-report-animated .sr-story-cards.sr-animate-in article {
  opacity: 1;
  transform: translateY(0);
}

.sr-report.sr-report-animated .sr-story-cards.sr-animate-in article:nth-child(2) {
  transition-delay: 90ms;
}

.sr-report.sr-report-animated .sr-story-cards.sr-animate-in article:nth-child(3) {
  transition-delay: 180ms;
}

.sr-story-cards article:first-child {
  border-left: 0;
}

.sr-story-cards .report-icon {
  width: 38px;
  height: 38px;
  filter: invert(16%) sepia(38%) saturate(1405%) hue-rotate(98deg) brightness(90%) contrast(97%);
}

.sr-story-cards h4 {
  margin: 0;
  color: #111;
  font-size: .88rem;
  text-transform: uppercase;
}

.sr-story-cards strong {
  color: var(--sr-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.sr-story-cards p {
  margin: 0;
  color: #1c211c;
  font-size: .75rem;
}

.sr-wide-card .sr-card-body {
  padding-top: 0;
}

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

.sr-data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, .88);
}

.sr-data-table th,
.sr-data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--sr-line);
  text-align: left;
}

.sr-data-table th {
  color: #101814;
  font-size: .78rem;
  text-transform: uppercase;
}

.sr-top-pages-table th:first-child,
.sr-top-pages-table td:first-child {
  width: 52px;
}

.sr-data-table td {
  color: #111;
  font-weight: 800;
}

.sr-data-table td em {
  margin-left: 10px;
  color: #394238;
  font-style: normal;
  font-weight: 500;
}

.sr-data-table td strong {
  color: #111;
}

.sr-facebook-section {
  display: grid;
  gap: 20px;
  padding: 26px 28px 24px;
  background: linear-gradient(135deg, var(--sr-navy), var(--sr-navy-2));
  color: #fff;
}

.sr-facebook-title {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
}

.sr-facebook-title > div {
  grid-row: 1 / span 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid var(--sr-gold);
  border-radius: 999px;
}

.sr-facebook-title .report-icon {
  width: 34px;
  height: 34px;
  filter: invert(53%) sepia(95%) saturate(971%) hue-rotate(11deg) brightness(94%) contrast(102%);
}

.sr-facebook-title p {
  margin: 0;
  color: var(--sr-gold);
  font-weight: 900;
  text-transform: uppercase;
}

.sr-facebook-title h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  line-height: 1;
}

.sr-facebook-title span {
  color: rgba(255, 255, 255, .8);
}

.sr-meta-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sr-meta-kpi {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.sr-meta-kpi .sr-icon-circle {
  width: 46px;
  height: 46px;
}

.sr-meta-kpi .sr-icon-circle .report-icon {
  width: 24px;
  height: 24px;
}

.sr-meta-kpi p {
  white-space: nowrap;
}

.sr-meta-kpi strong {
  color: var(--sr-navy);
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
}

.sr-facebook-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sr-facebook-location-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(233, 224, 207, .72);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  color: var(--sr-text);
}

.sr-facebook-location-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--sr-navy);
  font-size: .86rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.sr-facebook-location-card h3 .report-icon {
  width: 20px;
  height: 20px;
  filter: invert(50%) sepia(90%) saturate(1296%) hue-rotate(13deg) brightness(92%) contrast(101%);
}

.sr-facebook-location-card .sr-ranked-row {
  grid-template-columns: 28px minmax(120px, .75fr) minmax(120px, 1fr) 82px;
}

.sr-facebook-location-card .sr-ranked-row strong {
  color: #111;
}

.sr-facebook-location-card .sr-ranked-row i {
  background: #eee7da;
}

.sr-facebook-location-note {
  margin: -6px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: .78rem;
  font-weight: 700;
}

.sr-facebook-section .sr-data-table {
  min-width: 880px;
  overflow: hidden;
  border-radius: 8px;
}

.sr-facebook-table {
  table-layout: fixed;
}

.sr-facebook-table th,
.sr-facebook-table td {
  overflow-wrap: anywhere;
}

.sr-facebook-table th:nth-child(1),
.sr-facebook-table td:nth-child(1) {
  width: 25%;
}

.sr-facebook-table th:nth-child(2),
.sr-facebook-table td:nth-child(2) {
  width: 30%;
}

.sr-facebook-table th:nth-child(3),
.sr-facebook-table td:nth-child(3),
.sr-facebook-table th:nth-child(6),
.sr-facebook-table td:nth-child(6) {
  width: 12%;
}

.sr-facebook-table th:nth-child(4),
.sr-facebook-table td:nth-child(4),
.sr-facebook-table th:nth-child(5),
.sr-facebook-table td:nth-child(5) {
  width: 10.5%;
}

.sr-facebook-section .sr-data-table th {
  background: var(--sr-navy-2);
  color: #fff;
}

.sr-facebook-section .sr-data-table td > span {
  margin-right: 8px;
}

.sr-ad-report-url {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sr-ad-report-url a {
  color: var(--sr-navy);
  font-weight: 800;
  text-decoration-color: rgba(7, 40, 75, .35);
  text-underline-offset: 3px;
}

.sr-ad-report-url > a:first-child {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sr-ad-report-url small,
.sr-ad-url-missing {
  color: #59645b;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sr-ad-report-url .sr-meta-ad-link {
  color: inherit;
  font-weight: 900;
}

.sr-ad-cell {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.sr-ad-cell.has-creative {
  grid-template-columns: 76px 28px minmax(0, 1fr);
}

.sr-ad-cell img {
  width: 76px;
  height: 76px;
  grid-row: 1 / span 2;
  object-fit: cover;
  border: 1px solid rgba(7, 40, 75, .12);
  border-radius: 6px;
  background: #f8f4ea;
}

.sr-ad-cell span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--sr-gold);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
}

.sr-ad-cell strong {
  min-width: 0;
}

.toolbar-form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 180px auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.submission-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.submission-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.submission-view-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 250, 241, .88);
  color: var(--pine);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.submission-view-tabs a span {
  display: inline-grid;
  min-width: 25px;
  min-height: 25px;
  place-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e8e3d8;
  color: var(--pine);
  font-size: .74rem;
}

.submission-view-tabs a.active {
  border-color: var(--pine);
  background: var(--pine);
  color: #fffaf1;
}

.submission-view-tabs a.active span {
  background: #fffaf1;
}

.submission-summary-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--cedar);
  border-radius: 7px;
  background: rgba(255, 250, 241, .9);
  box-shadow: 0 10px 28px rgba(36, 58, 44, .06);
}

.submission-summary-card span {
  color: var(--cedar-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.submission-summary-card strong {
  color: var(--pine);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.submission-summary-card small {
  color: var(--muted);
  line-height: 1.35;
}

.submission-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.submission-panel-heading h2,
.submission-panel-heading p {
  margin: 0;
}

.submission-panel-heading .submission-folder-note {
  margin-top: 5px;
  color: var(--muted);
  font-size: .86rem;
}

.submission-backfill-form {
  margin: 0;
}

.submission-backfill-form .button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

form[data-confirm][aria-busy="true"] .button[type="submit"]::after {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: admin-submit-spin .75s linear infinite;
}

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

.submissions-toolbar {
  grid-template-columns: minmax(210px, 1fr) repeat(3, minmax(140px, 175px)) repeat(2, minmax(132px, 155px)) auto auto;
  align-items: end;
}

.submissions-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--cedar-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 1500px) {
  .submissions-toolbar {
    grid-template-columns: minmax(210px, 2fr) repeat(3, minmax(140px, 1fr));
  }
}

.submissions-table {
  min-width: 1040px;
}

.submission-lead-cell {
  min-width: 190px;
}

.submission-lead-cell strong,
.submission-lead-cell span,
.pdl-latest-status {
  display: block;
}

.submission-lead-cell span,
.pdl-latest-status {
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}

.submission-open-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: var(--pine);
  font-weight: 900;
}

.submission-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.submission-row-actions form {
  margin: 0;
}

.submission-archive-button {
  padding: 0;
  font-size: .78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.submission-previous-status {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
}

.pdl-status {
  white-space: nowrap;
}

.pdl-status.matched {
  color: #184f2c;
  background: #dff1e5;
}

.pdl-status.pending {
  color: #173c77;
  background: #dbe7ff;
}

.pdl-status.not-found,
.pdl-status.not-requested,
.pdl-status.skipped {
  color: #5c554b;
  background: #ece8df;
}

.pdl-status.failed {
  color: #6f1f17;
  background: #f6d7d2;
}

.submission-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 800;
}

.submission-detail-nav {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.submission-not-found {
  max-width: 760px;
}

.detail-panel {
  margin-top: 24px;
}

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

.detail-heading h2 {
  margin-bottom: 4px;
}

.detail-status-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.pill.new {
  background: #fff3c4;
}

.pill.in-progress {
  background: #dbe7ff;
}

.pill.replied {
  background: #dff1e5;
}

.pill.quarantined {
  color: #6f1f17;
  background: #f6d7d2;
}

.pill.archived {
  background: #e8e3d8;
}

.detail-grid,
.stack-form,
.email-template {
  display: grid;
  gap: 14px;
}

.lead-intelligence-actions {
  margin-top: 16px;
}

.lead-intelligence-actions form {
  margin: 0;
}

.pdl-record {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, .82);
  overflow: hidden;
}

.pdl-record-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.pdl-record-heading h3,
.pdl-record-heading p {
  margin: 0;
}

.pdl-record-heading h3 {
  color: var(--pine);
}

.pdl-record-heading p:last-child {
  margin-top: 5px;
  color: var(--muted);
}

.pdl-record-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.pdl-trimmed-notice {
  margin: 0;
  padding: 12px 18px;
  border-top: 1px solid #ead5aa;
  border-bottom: 1px solid #ead5aa;
  background: #fff4d9;
  color: #684c15;
  font-size: .86rem;
  line-height: 1.5;
}

.pdl-detail-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.pdl-detail-section {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.pdl-detail-section.is-wide {
  grid-column: 1 / -1;
}

.pdl-detail-section h4 {
  margin: 0 0 12px;
  color: var(--pine);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pdl-fact-list {
  display: grid;
  grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr);
  margin: 0;
}

.pdl-fact-list dt,
.pdl-fact-list dd {
  margin: 0;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.pdl-fact-list dt:first-of-type,
.pdl-fact-list dt:first-of-type + dd {
  border-top: 0;
}

.pdl-fact-list dt {
  padding-right: 12px;
  color: var(--cedar-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pdl-entry-list,
.pdl-social-list {
  display: grid;
  gap: 9px;
}

.pdl-entry {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border-left: 3px solid var(--sage);
  background: var(--limestone);
  overflow-wrap: anywhere;
}

.pdl-entry > span:first-child {
  color: var(--cedar-dark);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pdl-entry p,
.pdl-entry small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.pdl-social-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pdl-social-list a {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  color: var(--pine);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.pdl-social-list a:hover {
  border-color: var(--cedar);
  background: var(--limestone);
}

.pdl-social-list span {
  color: var(--cedar-dark);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pdl-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pdl-chip {
  display: inline-flex;
  padding: 7px 9px;
  border: 1px solid #d7dfd8;
  border-radius: 999px;
  background: #f4f6ef;
  color: var(--pine);
  font-size: .8rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.pdl-empty-state {
  margin: 0 18px 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.meta-list {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0;
  margin: 22px 0 0;
}

.meta-list dt,
.meta-list dd {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.meta-list dt {
  color: var(--cedar-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
}

.meta-list dd {
  overflow-wrap: anywhere;
}

.member-list {
  display: grid;
  gap: 10px;
}

.member-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, .82);
  overflow: hidden;
}

.member-card summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  color: var(--pine);
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.member-card summary::-webkit-details-marker {
  display: none;
}

.member-card summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}

.member-card[open] {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 28px rgba(29, 36, 31, .06);
}

.member-card[open] summary {
  border-bottom: 1px solid var(--line);
}

.member-card[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.user-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.member-card .user-row {
  padding: 16px;
  border-bottom: 0;
}

.user-row-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.email-editor-card {
  display: grid;
  gap: 18px;
}

.email-editor-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 18px;
  align-items: start;
}

.email-route-fields {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}

.email-route-fields summary {
  cursor: pointer;
  padding: 13px 15px;
  color: var(--pine);
  font-weight: 900;
  text-transform: uppercase;
}

.email-route-fields .form-grid {
  padding: 0 15px 15px;
}

.template-field-source {
  display: none;
}

.email-preview-shell {
  padding: clamp(14px, 3vw, 24px);
  background: #f1eadb;
  border: 1px solid var(--line);
}

.email-preview-card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dfd4bf;
}

.email-preview-header {
  padding: 28px 30px;
  background: #243a2c;
  color: #ffffff;
  border-top: 6px solid #9e7e50;
}

.email-preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.email-preview-brand img {
  width: 52px;
  height: auto;
  filter: brightness(0) invert(1);
}

.editable-email-copy {
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: outline-color .15s ease, background .15s ease;
}

.editable-email-copy:focus {
  outline-color: rgba(227, 174, 62, .9);
  background: rgba(255, 255, 255, .08);
}

.editable-eyebrow {
  margin: 0 0 9px;
  color: #d8c09b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.email-preview-header h3.editable-headline {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: .98;
  font-weight: 900;
  text-transform: uppercase;
}

.editable-intro {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.editable-secondary {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.email-preview-button {
  margin-top: 28px;
}

.email-preview-button span {
  display: inline-block;
  min-width: 120px;
  min-height: 48px;
  padding: 15px 24px;
  background: #9e7e50;
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
}

.email-preview-footer {
  padding: 20px 30px;
  background: #fbf7ee;
  color: #72634f;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-line;
}

.activity-timeline {
  display: grid;
  gap: 16px;
}

.activity-event {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.activity-event:first-child {
  border-top: 0;
}

.activity-event > span {
  color: var(--cedar-dark);
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-event h3 {
  margin-bottom: 4px;
}

.activity-event dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.activity-event dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-event dd {
  margin: 0;
  font-weight: 900;
}

.activity-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
}

.activity-paths code {
  padding: 5px 7px;
  background: var(--limestone);
}

.tokens {
  color: var(--muted);
  font-size: .86rem;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

pre {
  padding: 16px;
  overflow-x: auto;
  background: var(--pine-2);
  color: var(--white);
}

@media (max-width: 1060px) {
  .reason-grid,
  .metrics-grid,
  .report-kpi-grid,
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-panels,
  .report-hero,
  .two-column-report,
  .email-template-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

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

  .analytics-shell {
    grid-template-columns: 1fr;
  }

  .analytics-shell .admin-sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }

  .analytics-shell .admin-brand {
    height: auto;
    justify-content: flex-start;
  }

  .analytics-shell .admin-brand img {
    width: 120px;
  }

  .analytics-shell .admin-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sr-overview-card,
  .sr-two-grid,
  .sr-three-grid,
  .sr-meta-kpi-grid,
  .sr-facebook-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-right-stack {
    grid-column: 1 / -1;
  }

  .sr-three-grid-inland .sr-right-stack {
    grid-column: auto;
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .site-nav.open {
    display: grid;
    gap: 8px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .two-col,
  .team-grid,
  .highlight-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .submission-summary-grid,
  .pdl-detail-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .submission-panel-heading,
  .pdl-record-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdl-record-controls {
    justify-content: flex-start;
  }

  .submission-pagination {
    justify-content: space-between;
  }

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

  .team-card img {
    width: 180px;
  }

  .footer-cta,
  .copyright,
  .admin-topbar,
  .dashboard-hero-panel,
  .admin-section-title.inline-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-readout {
    grid-template-columns: 1fr;
  }

  .backup-path {
    width: 100%;
    text-align: left;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meta-list {
    grid-template-columns: 1fr;
  }

  .meta-list dt {
    padding-bottom: 2px;
  }

  .meta-list dd {
    padding-top: 2px;
  }

  .analytics-report {
    gap: 20px;
  }

  .report-hero {
    min-height: auto;
    padding: 30px;
  }

  .report-hero h2 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .device-report,
  .insight-steps,
  .fb-campaign-grid {
    grid-template-columns: 1fr;
  }

  .report-facebook-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sr-report-header {
    min-height: auto;
    overflow: visible;
    padding: 26px 24px 38px;
  }

  .sr-report-body {
    width: min(100% - 24px, 1260px);
    margin-top: -10px;
  }

  .sr-report-header .sr-filter-bar {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
  }

  .sr-overview-card,
  .sr-two-grid,
  .sr-three-grid,
  .sr-meta-kpi-grid,
  .sr-facebook-locations,
  .sr-story-cards,
  .sr-device-breakdown {
    grid-template-columns: 1fr;
  }

  .sr-overview-metric {
    border-left: 0;
    border-top: 1px solid var(--sr-line);
  }

  .sr-overview-metric:first-child {
    border-top: 0;
  }

  .sr-story-cards article {
    border-left: 0;
    border-top: 1px solid var(--sr-line);
    padding: 18px;
  }

  .sr-story-cards article:first-child {
    border-top: 0;
  }

  .email-editor-heading,
  .activity-event {
    grid-template-columns: 1fr;
  }

  .activity-event dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .analytics-main > .admin-floating-tools {
    position: relative;
    top: auto;
    right: auto;
    width: max-content;
    max-width: calc(100% - 48px);
    margin: 14px 24px -10px auto;
    justify-content: flex-end;
  }

  .analytics-main > .admin-floating-tools .admin-quick-menu .admin-quick-nav {
    right: auto;
    left: 0;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(2.1rem, 13vw, 3.8rem);
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-grid,
  .reason-grid,
  .metrics-grid,
  .report-kpi-grid,
  .submission-summary-grid,
  .pdl-detail-sections,
  .pdl-social-list {
    grid-template-columns: 1fr;
  }

  .pdl-detail-section.is-wide {
    grid-column: auto;
  }

  .pdl-fact-list {
    grid-template-columns: 1fr;
  }

  .pdl-fact-list dt {
    padding-bottom: 2px;
  }

  .pdl-fact-list dd {
    padding-top: 2px;
  }

  .submission-pagination {
    flex-wrap: wrap;
  }

  .submission-pagination > span:not(.button) {
    flex: 1 1 100%;
    order: -1;
    text-align: center;
  }

  .bar-row {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 16px;
  }

  .report-hero,
  .report-panel,
  .report-wide-panel,
  .report-facebook {
    padding: 20px;
  }

  .report-hero h2 {
    font-size: clamp(2.6rem, 17vw, 4rem);
  }

  .report-range-buttons {
    grid-template-columns: 1fr;
  }

  .report-ranked-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .report-ranked-row > strong {
    grid-column: 2;
  }

  .analytics-shell .admin-sidebar nav {
    grid-template-columns: 1fr 1fr;
  }

  .admin-quick-menu {
    margin-top: 0;
  }

  .admin-quick-menu,
  .admin-quick-nav {
    width: 100%;
  }

  .admin-floating-tools {
    width: calc(100% - 24px);
    align-items: stretch;
    justify-content: flex-start;
    margin: 12px 12px -4px;
    border-radius: 14px;
  }

  .admin-account-controls {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
  }

  .admin-account-controls .admin-account-email {
    max-width: none;
    min-width: 0;
    flex: 1;
  }

  .admin-quick-nav {
    min-width: 0;
  }

  .user-row,
  .activity-event dl {
    grid-template-columns: 1fr;
  }

  .sr-report-header h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
  }

  .sr-card-body,
  .sr-facebook-section {
    padding: 18px;
  }

  .sr-overview-metric,
  .sr-meta-kpi {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .sr-icon-circle {
    width: 48px;
    height: 48px;
  }

  .sr-overview-metric strong,
  .sr-meta-kpi strong {
    font-size: clamp(1.9rem, 12vw, 3rem);
  }

  .sr-ranked-row {
    grid-template-columns: 28px minmax(0, 1fr) 62px;
  }

  .sr-ranked-row i {
    grid-column: 2 / -1;
  }

  .sr-filter-bar {
    align-items: stretch;
  }

  .sr-filter-controls {
    justify-content: flex-start;
  }

  .sr-filter-bar label {
    display: grid;
    gap: 4px;
    flex: 1 1 130px;
  }

  .sr-filter-bar input {
    width: 100%;
    margin-left: 0;
  }

  .sr-facebook-title {
    grid-template-columns: 1fr;
  }

  .sr-facebook-title > div {
    grid-row: auto;
  }
}

@media print {
  .admin-floating-tools,
  .admin-quick-menu {
    display: none;
  }
}

/* Sawmill Ridge QR Code Studio */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.qr-admin-main {
  padding: 0;
  background: #f6f0e4;
}

.qr-admin-main .admin-floating-tools {
  position: relative;
  z-index: 5;
  width: auto;
  margin: 16px clamp(18px, 4vw, 48px) -6px;
}

.qr-studio {
  --qr-pine: #243a2c;
  --qr-pine-dark: #17291e;
  --qr-cedar: #9e7e50;
  --qr-cedar-dark: #715a37;
  --qr-paper: #fffaf1;
  --qr-limestone: #f4efe3;
  --qr-line: #ddd2bd;
  --qr-ink: #1d241f;
  --qr-muted: #6f6658;
  color: var(--qr-ink);
}

.qr-studio [hidden] {
  display: none !important;
}

.qr-studio-hero {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(40px, 6vw, 78px) clamp(24px, 6vw, 84px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(158, 126, 80, .24), transparent 25%),
    linear-gradient(120deg, rgba(23, 41, 30, .98), rgba(36, 58, 44, .94)),
    url("/assets/Sawmill-Ridge-Pool-1024x756.png") center/cover;
  color: #fff;
  border-bottom: 7px solid var(--qr-cedar);
}

.qr-studio-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .18;
  background-image: repeating-linear-gradient(135deg, transparent 0 24px, rgba(255, 255, 255, .08) 25px 26px);
}

.qr-studio-hero > div:first-child {
  max-width: 780px;
}

.qr-studio-hero .eyebrow {
  margin: 0 0 7px;
  color: #e3c899;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
}

.qr-studio-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.qr-studio-hero p:last-child {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.qr-hero-mark {
  flex: 0 0 auto;
  width: clamp(120px, 16vw, 190px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 250, 241, .08);
  box-shadow: 0 0 0 14px rgba(158, 126, 80, .08);
}

.qr-hero-mark img {
  width: 100%;
  filter: brightness(0) invert(1);
  opacity: .88;
}

.qr-feedback {
  position: sticky;
  z-index: 9;
  top: 12px;
  width: min(860px, calc(100% - 48px));
  margin: 20px auto -4px;
  padding: 15px 18px;
  border: 1px solid var(--qr-line);
  border-left: 6px solid var(--success);
  background: #edf8f1;
  color: var(--success);
  box-shadow: 0 12px 34px rgba(29, 36, 31, .18);
  font-weight: 900;
}

.qr-feedback.error {
  border-left-color: var(--danger);
  background: #fff0ed;
  color: var(--danger);
}

.qr-summary-grid {
  position: relative;
  z-index: 2;
  width: min(1460px, calc(100% - 48px));
  margin: -26px auto 32px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--qr-line);
  border-top: 5px solid var(--qr-cedar);
  background: var(--qr-paper);
  box-shadow: 0 18px 50px rgba(29, 36, 31, .12);
}

.qr-summary-grid article {
  min-width: 0;
  padding: 22px 24px;
  border-right: 1px solid var(--qr-line);
}

.qr-summary-grid article:last-child {
  border-right: 0;
}

.qr-summary-grid span,
.qr-summary-grid small {
  display: block;
  color: var(--qr-muted);
}

.qr-summary-grid span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}

.qr-summary-grid strong {
  display: block;
  margin: 5px 0 2px;
  color: var(--qr-pine);
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1;
}

.qr-summary-grid small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .76rem;
}

.qr-builder-shell,
.qr-library-shell {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto 34px;
  border: 1px solid var(--qr-line);
  background: var(--qr-paper);
  box-shadow: 0 16px 44px rgba(29, 36, 31, .09);
}

.qr-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--qr-line);
  background: linear-gradient(90deg, rgba(222, 209, 183, .44), transparent);
}

.qr-section-heading .eyebrow {
  margin: 0;
  color: var(--qr-cedar-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.qr-section-heading h2 {
  margin: 2px 0 0;
  color: var(--qr-pine);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.qr-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .72fr);
  align-items: start;
}

.qr-builder-form {
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
  border-right: 1px solid var(--qr-line);
}

.qr-step-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 8px 0 18px;
}

.qr-step-label:not(:first-of-type) {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--qr-line);
}

.qr-step-label > span {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--qr-pine);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 0 0 5px rgba(36, 58, 44, .09);
}

.qr-step-label strong,
.qr-step-label small {
  display: block;
}

.qr-step-label strong {
  color: var(--qr-pine);
  font-size: 1.02rem;
  text-transform: uppercase;
}

.qr-step-label small {
  color: var(--qr-muted);
}

.qr-form-grid {
  gap: 18px;
}

.qr-form-grid label,
.qr-library-toolbar label,
.qr-color-grid label {
  min-width: 0;
  color: var(--qr-pine);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.qr-form-grid input,
.qr-form-grid select,
.qr-library-toolbar input,
.qr-library-toolbar select {
  margin-top: 6px;
  background: #fffdf8;
}

.qr-form-grid label > small,
.qr-slug-field + small {
  display: block;
  margin-top: 5px;
  color: var(--qr-muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.qr-slug-field {
  display: flex;
  align-items: stretch;
  margin-top: 6px;
  border: 1px solid var(--qr-line);
  background: #fffdf8;
}

.qr-slug-field:focus-within {
  outline: 2px solid var(--qr-cedar);
  outline-offset: 1px;
}

.qr-slug-field b {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-right: 1px solid var(--qr-line);
  color: var(--qr-muted);
  background: var(--qr-limestone);
  font-size: .73rem;
  letter-spacing: 0;
  text-transform: lowercase;
  white-space: nowrap;
}

.qr-slug-field input {
  min-width: 90px;
  margin: 0;
  border: 0;
  outline: 0;
}

[data-qr-slug-status].valid,
.qr-contrast-status.valid {
  color: var(--success);
}

[data-qr-slug-status].invalid,
.qr-contrast-status.invalid {
  color: var(--danger);
}

.qr-advanced-fields {
  margin-top: 20px;
  border: 1px solid var(--qr-line);
  background: rgba(244, 239, 227, .55);
}

.qr-advanced-fields summary {
  padding: 13px 15px;
  color: var(--qr-pine);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.qr-advanced-fields .form-grid {
  padding: 0 15px 17px;
}

.qr-appearance-fields {
  padding: 0;
  border: 0;
}

.qr-palette-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qr-palette-row button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--qr-line);
  background: #fffdf8;
  color: var(--qr-pine);
  cursor: pointer;
  font-size: .75rem;
  font-weight: 900;
}

.qr-palette-row button.active,
.qr-palette-row button:hover {
  border-color: var(--qr-cedar);
  box-shadow: inset 0 -3px var(--qr-cedar);
}

.qr-palette-row i {
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--qr-swatch);
  box-shadow: 0 0 0 1px var(--qr-line);
}

.qr-color-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  align-items: end;
}

.qr-color-grid label:not(.toggle-line) {
  display: grid;
  grid-template-columns: 1fr 54px;
  align-items: center;
  gap: 8px;
  padding-left: 11px;
  border: 1px solid var(--qr-line);
  background: #fffdf8;
}

.qr-color-grid input[type="color"] {
  width: 54px;
  height: 42px;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qr-color-grid .toggle-line {
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--qr-line);
  background: #fffdf8;
}

.qr-contrast-status {
  margin: 10px 0 0;
  font-size: .8rem;
  font-weight: 800;
}

.qr-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--qr-line);
}

.qr-submit-row > span {
  max-width: 420px;
  color: var(--qr-muted);
  font-size: .78rem;
}

.qr-submit-row .button {
  border-color: var(--qr-pine);
  background: var(--qr-pine);
  color: #fff;
}

.qr-live-preview {
  position: sticky;
  top: 24px;
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  text-align: center;
  background:
    linear-gradient(rgba(244, 239, 227, .93), rgba(244, 239, 227, .93)),
    url("/assets/Sawmill-Ridge-Weekly-Flyer.png") center/cover;
}

.qr-preview-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  text-align: left;
}

.qr-preview-heading span {
  color: var(--qr-cedar-dark);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
}

.qr-preview-heading strong {
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--qr-pine);
}

.qr-preview-code {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 17px;
  border: 1px solid var(--qr-line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(29, 36, 31, .14);
}

.qr-preview-code.loading::after {
  content: "Refreshing proof…";
  position: absolute;
  inset: auto 12px 12px;
  padding: 8px;
  background: rgba(23, 41, 30, .9);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}

.qr-preview-code svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-preview-placeholder {
  max-width: 250px;
  color: var(--qr-muted);
  font-size: .9rem;
}

.qr-preview-placeholder.error {
  color: var(--danger);
}

.qr-live-preview dl {
  display: grid;
  gap: 9px;
  margin: 22px 0;
  text-align: left;
}

.qr-live-preview dl div {
  min-width: 0;
  padding: 11px 12px;
  border-left: 3px solid var(--qr-cedar);
  background: rgba(255, 250, 241, .86);
}

.qr-live-preview dt {
  color: var(--qr-muted);
  font-size: .67rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.qr-live-preview dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--qr-pine);
  font-size: .76rem;
  font-weight: 800;
}

.qr-live-preview > p {
  color: var(--qr-muted);
  font-size: .72rem;
}

.qr-library-heading .button {
  flex: 0 0 auto;
}

.qr-library-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 210px auto;
  gap: 12px;
  align-items: end;
  padding: 20px clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--qr-line);
}

.qr-library-toolbar .button {
  margin-bottom: 0;
}

.qr-campaign-library {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
}

.qr-library-loading,
.qr-empty-state {
  padding: 38px;
  border: 1px dashed var(--qr-line);
  background: var(--qr-limestone);
  color: var(--qr-muted);
  text-align: center;
}

.qr-empty-state strong {
  display: block;
  color: var(--qr-pine);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.qr-empty-state p {
  margin: 6px 0 0;
}

.qr-empty-state.error strong,
.qr-empty-state.error p {
  color: var(--danger);
}

.qr-campaign-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  border: 1px solid var(--qr-line);
  border-left: 6px solid var(--qr-pine);
  background: #fffdf8;
  box-shadow: 0 9px 24px rgba(29, 36, 31, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.qr-campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(29, 36, 31, .1);
}

.qr-card-code {
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--qr-line);
  background: var(--qr-limestone);
}

.qr-card-code img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--qr-line);
  background: #fff;
}

.qr-card-content {
  min-width: 0;
  padding: 18px 20px;
}

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

.qr-card-heading h3 {
  margin: 6px 0 2px;
  color: var(--qr-pine);
  font-size: 1.28rem;
  line-height: 1.1;
}

.qr-card-heading p {
  margin: 0;
  color: var(--qr-muted);
  font-size: .78rem;
}

.qr-card-heading button,
.qr-card-actions button,
.qr-card-manage button {
  min-height: 35px;
  padding: 7px 10px;
  border: 1px solid var(--qr-line);
  background: #fff;
  color: var(--qr-pine);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 900;
}

.qr-card-heading button:hover,
.qr-card-actions button:hover,
.qr-card-manage button:hover {
  border-color: var(--qr-cedar);
  background: var(--qr-limestone);
}

.qr-card-destination {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 9px;
  margin-top: 14px;
  padding: 9px 11px;
  border-left: 3px solid var(--qr-cedar);
  background: rgba(244, 239, 227, .65);
}

.qr-card-destination span {
  grid-row: span 2;
  color: var(--qr-muted);
  font-size: .67rem;
  font-weight: 900;
  text-transform: uppercase;
}

.qr-card-destination strong,
.qr-card-destination small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qr-card-destination strong {
  color: var(--qr-pine);
  font-size: .82rem;
}

.qr-card-destination small {
  color: var(--qr-muted);
  font-size: .7rem;
}

.qr-card-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid var(--qr-line);
}

.qr-card-metrics div {
  min-width: 0;
  padding: 9px 11px;
  border-right: 1px solid var(--qr-line);
}

.qr-card-metrics div:last-child {
  border: 0;
}

.qr-card-metrics strong,
.qr-card-metrics span {
  display: block;
}

.qr-card-metrics strong {
  color: var(--qr-pine);
  font-size: 1.1rem;
}

.qr-card-metrics span {
  color: var(--qr-muted);
  font-size: .63rem;
  font-weight: 900;
  text-transform: uppercase;
}

.qr-card-last {
  margin: 8px 0;
  color: var(--qr-muted);
  font-size: .68rem;
}

.qr-card-actions,
.qr-card-manage {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.qr-card-actions button:first-child,
.qr-card-actions button:nth-child(2) {
  background: var(--qr-pine);
  color: #fff;
  border-color: var(--qr-pine);
}

.qr-card-manage {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--qr-line);
}

.qr-card-manage .danger {
  margin-left: auto;
  color: var(--danger);
}

.pill.paused {
  background: #fff3c4;
  color: #715a37;
}

.pill.archived {
  background: #e8e3d8;
  color: #6f6658;
}

.qr-detail-dialog {
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 42px);
  padding: 0;
  border: 1px solid var(--qr-line);
  border-top: 7px solid var(--qr-cedar);
  background: var(--qr-paper);
  color: var(--qr-ink);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .35);
}

.qr-detail-dialog::backdrop {
  background: rgba(7, 21, 14, .72);
  backdrop-filter: blur(4px);
}

.qr-dialog-close {
  position: sticky;
  z-index: 3;
  top: 12px;
  float: right;
  width: 38px;
  height: 38px;
  margin: 12px 12px -50px;
  border: 1px solid var(--qr-line);
  border-radius: 50%;
  background: var(--qr-paper);
  color: var(--qr-pine);
  cursor: pointer;
  font-size: 1.5rem;
}

.qr-detail-dialog [data-qr-detail] {
  padding: clamp(22px, 4vw, 42px);
}

.qr-detail-hero {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.qr-detail-hero img {
  width: 160px;
  border: 1px solid var(--qr-line);
}

.qr-detail-hero h2 {
  margin: 0 0 8px;
  color: var(--qr-pine);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.qr-detail-hero p:last-child {
  color: var(--qr-muted);
}

.qr-detail-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 26px 0;
  border: 1px solid var(--qr-line);
  background: var(--qr-limestone);
}

.qr-detail-metrics div {
  padding: 13px;
  border-right: 1px solid var(--qr-line);
}

.qr-detail-metrics div:last-child {
  border: 0;
}

.qr-detail-metrics span,
.qr-detail-metrics strong {
  display: block;
}

.qr-detail-metrics span {
  color: var(--qr-muted);
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.qr-detail-metrics strong {
  color: var(--qr-pine);
  font-size: 1.4rem;
}

.qr-detail-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--qr-line);
}

.qr-detail-list div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--qr-line);
}

.qr-detail-list div:last-child {
  border: 0;
}

.qr-detail-list dt {
  color: var(--qr-muted);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.qr-detail-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--qr-pine);
  font-size: .8rem;
  font-weight: 800;
}

.qr-detail-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}

.qr-detail-downloads a {
  padding: 9px 12px;
  border: 1px solid var(--qr-pine);
  background: var(--qr-pine);
  color: #fff;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 900;
}

.qr-detail-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 28px;
}

.qr-detail-assets section {
  padding: 13px;
  border: 1px solid var(--qr-line);
  background: var(--qr-limestone);
}

.qr-detail-assets section > strong {
  color: var(--qr-pine);
  font-size: .72rem;
  text-transform: uppercase;
}

.qr-detail-assets .qr-detail-downloads {
  margin: 9px 0 0;
}

.qr-test-route {
  grid-column: 1 / -1;
  color: var(--qr-pine);
  font-size: .78rem;
  font-weight: 900;
}

.qr-revision-list h3 {
  margin: 0 0 12px;
  color: var(--qr-pine);
  text-transform: uppercase;
}

.qr-revision-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 11px 13px;
  border-left: 3px solid var(--qr-cedar);
  border-bottom: 1px solid var(--qr-line);
  background: rgba(244, 239, 227, .55);
}

.qr-revision-list article strong {
  color: var(--qr-pine);
  text-transform: capitalize;
}

.qr-revision-list article span,
.qr-revision-list article small {
  color: var(--qr-muted);
  font-size: .72rem;
}

.qr-revision-list article small {
  grid-column: 2;
}

@media (max-width: 1180px) {
  .qr-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qr-summary-grid article:nth-child(3) {
    border-right: 0;
  }

  .qr-summary-grid article:nth-child(n+4) {
    border-top: 1px solid var(--qr-line);
  }

  .qr-builder-grid {
    grid-template-columns: 1fr;
  }

  .qr-builder-form {
    border-right: 0;
    border-bottom: 1px solid var(--qr-line);
  }

  .qr-live-preview {
    position: static;
  }

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

@media (max-width: 920px) {
  .qr-studio-hero {
    min-height: 220px;
  }

  .qr-hero-mark {
    display: none;
  }

  .qr-builder-grid {
    grid-template-columns: 1fr;
  }

  .qr-builder-form {
    border-right: 0;
    border-bottom: 1px solid var(--qr-line);
  }

  .qr-live-preview {
    position: static;
  }

  .qr-library-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-campaign-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .qr-card-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qr-card-metrics div:nth-child(3) {
    border-right: 0;
  }

  .qr-card-metrics div:nth-child(n+4) {
    border-top: 1px solid var(--qr-line);
  }
}

@media (max-width: 640px) {
  .qr-admin-main .admin-floating-tools {
    margin: 12px;
  }

  .qr-studio-hero {
    min-height: 0;
    padding: 44px 20px 58px;
  }

  .qr-studio-hero h1 {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .qr-summary-grid,
  .qr-builder-shell,
  .qr-library-shell {
    width: calc(100% - 24px);
  }

  .qr-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -22px;
  }

  .qr-summary-grid article {
    padding: 17px;
    border-top: 1px solid var(--qr-line);
  }

  .qr-summary-grid article:nth-child(odd) {
    border-right: 1px solid var(--qr-line);
  }

  .qr-summary-grid article:nth-child(even) {
    border-right: 0;
  }

  .qr-summary-grid article:first-child,
  .qr-summary-grid article:nth-child(2) {
    border-top: 0;
  }

  .qr-summary-grid article:last-child {
    grid-column: 1 / -1;
  }

  .qr-section-heading,
  .qr-submit-row,
  .qr-card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .qr-form-grid,
  .qr-color-grid,
  .qr-library-toolbar {
    grid-template-columns: 1fr;
  }

  .qr-slug-field {
    display: block;
  }

  .qr-slug-field b {
    min-height: 34px;
    border-right: 0;
    border-bottom: 1px solid var(--qr-line);
  }

  .qr-campaign-card {
    grid-template-columns: 1fr;
  }

  .qr-card-code {
    border-right: 0;
    border-bottom: 1px solid var(--qr-line);
  }

  .qr-card-code img {
    width: min(220px, 74vw);
  }

  .qr-card-destination {
    grid-template-columns: 1fr;
  }

  .qr-card-destination span {
    grid-row: auto;
  }

  .qr-card-metrics,
  .qr-detail-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-card-metrics div,
  .qr-detail-metrics div {
    border-right: 1px solid var(--qr-line);
    border-top: 1px solid var(--qr-line);
  }

  .qr-card-metrics div:nth-child(even),
  .qr-detail-metrics div:nth-child(even) {
    border-right: 0;
  }

  .qr-card-manage .danger {
    margin-left: 0;
  }

  .qr-detail-hero {
    grid-template-columns: 1fr;
  }

  .qr-detail-hero img {
    width: 130px;
  }

  .qr-detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .qr-detail-assets {
    grid-template-columns: 1fr;
  }

  .qr-test-route {
    grid-column: 1;
  }

  .qr-revision-list article {
    grid-template-columns: 1fr;
  }

  .qr-revision-list article small {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  form[data-confirm][aria-busy="true"] .button[type="submit"]::after {
    animation: none;
  }

  .qr-campaign-card {
    transition: none;
  }
}

/* Land-sale directions: native public renderer */
.land-sale-directions-page {
  --land-directions-max: 1240px;
  --land-directions-gutter: clamp(20px, 5vw, 72px);
  --land-directions-serif: Georgia, "Times New Roman", serif;
  background: var(--paper);
}

.land-sale-directions-page #main {
  overflow: hidden;
  background: var(--paper);
}

.land-sale-directions-page .land-directions-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 78vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--pine-2) url("/assets/land-sale-night-sky-poster.jpg") center center / cover no-repeat;
}

.land-sale-directions-page .land-directions-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 24, 16, .94) 0%, rgba(16, 35, 23, .82) 50%, rgba(16, 35, 23, .5) 100%),
    linear-gradient(0deg, rgba(10, 24, 16, .28), rgba(10, 24, 16, .08));
  pointer-events: none;
}

.land-sale-directions-page .land-directions-hero::after {
  display: none;
}

.land-sale-directions-page .land-directions-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  container-type: size;
}

.land-sale-directions-page .land-directions-hero-media.is-ready {
  opacity: 1;
}

.land-sale-directions-page .land-directions-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: max(177.7778vh, 1920px);
  min-height: max(100vh, 1080px);
  border: 0;
  transform: translate(-50%, -50%) scale(1.02);
  pointer-events: none;
}

@supports (width: 1cqw) {
  .land-sale-directions-page .land-directions-hero-video {
    width: max(100cqw, 177.7778cqh);
    height: max(56.25cqw, 100cqh);
    min-width: 0;
    min-height: 0;
  }
}

.land-sale-directions-page .land-directions-hero-inner {
  position: relative;
  z-index: 2;
  width: min(
    calc(100% - var(--land-directions-gutter) - var(--land-directions-gutter)),
    var(--land-directions-max)
  );
  margin-inline: auto;
  padding-block: clamp(76px, 10vw, 138px);
}

.land-sale-directions-page .land-directions-eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.land-sale-directions-page .land-directions-hero .land-directions-eyebrow,
.land-sale-directions-page .land-directions-details .land-directions-eyebrow,
.land-sale-directions-page .land-directions-welcome .land-directions-eyebrow {
  color: var(--sand);
}

.land-sale-directions-page .land-directions-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--white);
  font-family: var(--land-directions-serif);
  font-size: clamp(4rem, 8.5vw, 8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .87;
  text-wrap: balance;
}

.land-sale-directions-page .land-directions-hero h1 em {
  display: block;
  color: var(--sand);
  font-weight: 400;
}

.land-sale-directions-page .land-directions-intro {
  max-width: 620px;
  margin: clamp(24px, 3vw, 38px) 0 28px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.land-sale-directions-page .land-directions-destination {
  display: flex;
  width: min(100%, 590px);
  align-items: center;
  gap: 17px;
  margin: 0 0 24px;
  padding: 17px 0 17px 19px;
  border-block: 1px solid rgba(222, 209, 183, .24);
  border-left: 3px solid var(--cedar);
}

.land-sale-directions-page .land-directions-pin {
  position: relative;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  color: var(--cedar);
  font-size: .68rem;
}

.land-sale-directions-page .land-directions-pin::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(222, 209, 183, .38);
  border-radius: 50%;
}

.land-sale-directions-page .land-directions-destination p {
  margin: 0 0 3px;
  color: var(--sand);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.land-sale-directions-page .land-directions-destination address {
  color: var(--white);
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.land-sale-directions-page .land-directions-actions {
  display: grid;
  width: min(100%, 760px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.land-sale-directions-page .land-directions-action {
  min-width: 0;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.12;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.land-sale-directions-page .land-directions-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 36px rgba(0, 0, 0, .22);
}

.land-sale-directions-page .land-directions-action > span:nth-child(2) {
  min-width: 0;
  flex: 1 1 auto;
}

.land-sale-directions-page .land-directions-action small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.land-sale-directions-page .land-directions-action-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--pine);
  font-size: .9rem;
  font-weight: 800;
}

.land-sale-directions-page .land-directions-action.is-google .land-directions-action-mark {
  background: linear-gradient(135deg, #4285f4 0 32%, #34a853 32% 57%, #fbbc05 57% 76%, #ea4335 76%);
}

.land-sale-directions-page .land-directions-action.is-apple {
  color: var(--white);
  background: #202421;
}

.land-sale-directions-page .land-directions-action.is-apple small {
  color: rgba(255, 255, 255, .66);
}

.land-sale-directions-page .land-directions-action.is-apple .land-directions-action-mark {
  color: #202421;
  background: var(--white);
}

.land-sale-directions-page .land-directions-action.is-waze {
  color: #123139;
  background: #6ad7e7;
}

.land-sale-directions-page .land-directions-action.is-waze small {
  color: #345c64;
}

.land-sale-directions-page .land-directions-action.is-waze .land-directions-action-mark {
  color: #123139;
  background: var(--white);
}

.land-sale-directions-page .land-directions-action-arrow {
  flex: 0 0 auto;
  opacity: .55;
}

.land-sale-directions-page .land-directions-note {
  max-width: 620px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
}

.land-sale-directions-page .land-directions-video-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .78);
  background: rgba(10, 24, 16, .5);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  cursor: pointer;
}

.land-sale-directions-page .land-directions-video-toggle[hidden] {
  display: none;
}

.land-sale-directions-page .land-directions-video-toggle:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .58);
}

.land-sale-directions-page .land-directions-video-toggle:focus-visible {
  outline: 3px solid var(--cedar);
  outline-offset: 4px;
}

.land-sale-directions-page .land-directions-section {
  padding: clamp(76px, 9vw, 132px) var(--land-directions-gutter);
}

.land-sale-directions-page .land-directions-heading {
  width: min(100%, 820px);
  margin: 0 auto clamp(34px, 5vw, 62px);
  text-align: center;
}

.land-sale-directions-page .land-directions-heading h2,
.land-sale-directions-page .land-directions-details h2,
.land-sale-directions-page .land-directions-welcome-copy h2 {
  margin: 0;
  font-family: var(--land-directions-serif);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
  text-wrap: balance;
}

.land-sale-directions-page .land-directions-heading h2,
.land-sale-directions-page .land-directions-welcome-copy h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
}

.land-sale-directions-page .land-directions-heading > p:last-child {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.land-sale-directions-page .land-directions-map-section {
  background: var(--paper);
}

.land-sale-directions-page .land-directions-map-layout {
  width: min(100%, var(--land-directions-max));
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, .72fr);
  gap: 18px;
  margin-inline: auto;
}

.land-sale-directions-page .land-directions-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sky);
  box-shadow: var(--shadow);
}

.land-sale-directions-page .land-directions-map iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  border: 0;
  filter: saturate(.8) contrast(1.04);
}

.land-sale-directions-page .land-directions-map-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  color: var(--white);
  background: rgba(23, 41, 30, .92);
  border-left: 3px solid var(--cedar);
  box-shadow: 0 13px 30px rgba(23, 41, 30, .22);
  pointer-events: none;
}

.land-sale-directions-page .land-directions-map-label > span:first-child {
  color: var(--cedar);
  font-size: .75rem;
}

.land-sale-directions-page .land-directions-map-label > span:last-child {
  display: grid;
  gap: 1px;
  color: var(--sand);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.land-sale-directions-page .land-directions-map-label strong {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.land-sale-directions-page .land-directions-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
  color: var(--white);
  background: var(--pine);
}

.land-sale-directions-page .land-directions-details h2 {
  font-size: clamp(2.15rem, 3.4vw, 3.55rem);
}

.land-sale-directions-page .land-directions-details dl {
  margin: 30px 0 26px;
}

.land-sale-directions-page .land-directions-details dl > div {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.land-sale-directions-page .land-directions-details dt {
  margin-bottom: 4px;
  color: var(--sand);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.land-sale-directions-page .land-directions-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.land-sale-directions-page .land-directions-details dd a {
  text-decoration-color: var(--cedar);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.land-sale-directions-page .land-directions-tip {
  margin: 0;
  padding: 15px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .7);
  font-size: .82rem;
}

.land-sale-directions-page .land-directions-approaches {
  background: var(--limestone);
  border-block: 1px solid var(--line);
}

.land-sale-directions-page .land-directions-heading.is-split {
  width: min(100%, var(--land-directions-max));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr);
  align-items: end;
  gap: clamp(28px, 6vw, 90px);
  text-align: left;
}

.land-sale-directions-page .land-directions-heading.is-split > p:last-child {
  margin: 0;
}

.land-sale-directions-page .land-directions-grid {
  width: min(100%, var(--land-directions-max));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-inline: auto;
  border-top: 1px solid var(--cedar);
  border-bottom: 1px solid var(--line);
}

.land-sale-directions-page .land-directions-card {
  min-width: 0;
  min-height: 340px;
  padding: clamp(24px, 3vw, 38px) clamp(20px, 2.5vw, 32px);
  border-right: 1px solid var(--line);
  background: transparent;
}

.land-sale-directions-page .land-directions-card:last-child {
  border-right: 0;
}

.land-sale-directions-page .land-directions-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.land-sale-directions-page .land-directions-card-top > span:last-child {
  color: rgba(29, 36, 31, .38);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.land-sale-directions-page .land-directions-compass {
  color: var(--pine);
  font-family: var(--land-directions-serif);
  font-size: 2.3rem;
  line-height: 1;
}

.land-sale-directions-page .land-directions-road {
  margin: 30px 0 8px;
  color: var(--rust);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.land-sale-directions-page .land-directions-card h3 {
  margin: 0 0 14px;
  color: var(--pine);
  font-family: var(--land-directions-serif);
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  font-weight: 400;
  line-height: 1;
}

.land-sale-directions-page .land-directions-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.land-sale-directions-page .land-directions-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  color: var(--white);
  background: var(--pine-2);
}

.land-sale-directions-page .land-directions-welcome-image {
  min-height: 650px;
  background-image: url("/wp-content/uploads/2026/07/Sawmill-Ridge-Orxy.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.land-sale-directions-page .land-directions-welcome-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 96px);
}

.land-sale-directions-page .land-directions-welcome-copy > p:not(.land-directions-eyebrow) {
  max-width: 530px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, .72);
  font-size: 1.02rem;
}

.land-sale-directions-page .land-directions-actions.is-compact {
  width: min(100%, 470px);
  grid-template-columns: 1fr;
}

.land-sale-directions-page .land-directions-actions.is-compact .land-directions-action {
  min-height: 60px;
}

.land-sale-directions-page .land-directions-phone {
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
  color: var(--sand);
  font-size: .84rem;
  font-weight: 800;
  text-decoration-color: rgba(222, 209, 183, .55);
  text-underline-offset: 5px;
}

.land-sale-directions-page .land-directions-action:focus-visible,
.land-sale-directions-page .land-directions-phone:focus-visible,
.land-sale-directions-page .land-directions-details a:focus-visible,
.land-sale-directions-page .land-directions-map iframe:focus-visible {
  outline: 3px solid var(--cedar);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .land-sale-directions-page .land-directions-map-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr);
  }

  .land-sale-directions-page .land-directions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .land-sale-directions-page .land-directions-card {
    min-height: 300px;
    border-top: 1px solid var(--line);
  }

  .land-sale-directions-page .land-directions-card:nth-child(-n + 2) {
    border-top: 0;
  }

  .land-sale-directions-page .land-directions-card:nth-child(even) {
    border-right: 0;
  }

  .land-sale-directions-page .land-directions-welcome {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  }
}

@media (max-width: 860px) {
  .land-sale-directions-page .land-directions-hero {
    min-height: 650px;
  }

  .land-sale-directions-page .land-directions-hero::after {
    display: none;
  }

  .land-sale-directions-page .land-directions-map-layout,
  .land-sale-directions-page .land-directions-heading.is-split,
  .land-sale-directions-page .land-directions-welcome {
    grid-template-columns: 1fr;
  }

  .land-sale-directions-page .land-directions-heading.is-split {
    gap: 18px;
  }

  .land-sale-directions-page .land-directions-heading.is-split > p:last-child {
    max-width: 650px;
  }

  .land-sale-directions-page .land-directions-map,
  .land-sale-directions-page .land-directions-map iframe {
    min-height: 500px;
  }

  .land-sale-directions-page .land-directions-details {
    min-height: 0;
  }

  .land-sale-directions-page .land-directions-welcome-image {
    min-height: clamp(360px, 65vw, 570px);
    background-position: center 54%;
  }

  .land-sale-directions-page .land-directions-welcome-copy {
    padding-inline: var(--land-directions-gutter);
  }
}

@media (max-width: 680px) {
  .land-sale-directions-page {
    --land-directions-gutter: 20px;
  }

  .land-sale-directions-page .land-directions-hero {
    min-height: 0;
  }

  .land-sale-directions-page .land-directions-hero::before {
    background:
      linear-gradient(90deg, rgba(10, 24, 16, .92), rgba(16, 35, 23, .76)),
      linear-gradient(0deg, rgba(10, 24, 16, .36), rgba(10, 24, 16, .12));
  }

  .land-sale-directions-page .land-directions-hero-inner {
    width: 100%;
    padding: 68px var(--land-directions-gutter) 72px;
  }

  .land-sale-directions-page .land-directions-hero h1 {
    max-width: 11ch;
    font-size: clamp(3.45rem, 17vw, 5.25rem);
  }

  .land-sale-directions-page .land-directions-actions {
    grid-template-columns: 1fr;
  }

  .land-sale-directions-page .land-directions-action {
    min-height: 62px;
  }

  .land-sale-directions-page .land-directions-section {
    padding-block: 72px;
  }

  .land-sale-directions-page .land-directions-heading {
    text-align: left;
  }

  .land-sale-directions-page .land-directions-heading > p:last-child {
    margin-inline: 0;
  }

  .land-sale-directions-page .land-directions-map,
  .land-sale-directions-page .land-directions-map iframe {
    min-height: 410px;
  }

  .land-sale-directions-page .land-directions-map {
    overflow: visible;
  }

  .land-sale-directions-page .land-directions-map-label {
    position: static;
    box-shadow: none;
  }

  .land-sale-directions-page .land-directions-details {
    padding: 34px 24px;
  }

  .land-sale-directions-page .land-directions-grid {
    grid-template-columns: 1fr;
  }

  .land-sale-directions-page .land-directions-card,
  .land-sale-directions-page .land-directions-card:nth-child(-n + 2) {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .land-sale-directions-page .land-directions-card:first-child {
    border-top: 0;
  }

  .land-sale-directions-page .land-directions-welcome-image {
    min-height: 370px;
    background-position: 55% center;
  }

  .land-sale-directions-page .land-directions-welcome-copy {
    padding-block: 62px;
  }
}

@media (max-width: 420px) {
  .land-sale-directions-page .land-directions-hero h1 {
    font-size: clamp(3.2rem, 16.5vw, 4.35rem);
  }

  .land-sale-directions-page .land-directions-destination {
    align-items: flex-start;
    padding-left: 14px;
  }

  .land-sale-directions-page .land-directions-heading h2,
  .land-sale-directions-page .land-directions-welcome-copy h2 {
    font-size: clamp(2.6rem, 13vw, 3.45rem);
  }

  .land-sale-directions-page .land-directions-map,
  .land-sale-directions-page .land-directions-map iframe {
    min-height: 350px;
  }

  .land-sale-directions-page .land-directions-welcome-image {
    min-height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .land-sale-directions-page .land-directions-hero-media {
    display: none;
    transition: none;
  }

  .land-sale-directions-page .land-directions-video-toggle {
    display: none;
  }

  .land-sale-directions-page .land-directions-action {
    transition: none;
  }
}

@media (forced-colors: active) {
  .land-sale-directions-page .land-directions-action,
  .land-sale-directions-page .land-directions-destination,
  .land-sale-directions-page .land-directions-map-label,
  .land-sale-directions-page .land-directions-details,
  .land-sale-directions-page .land-directions-card {
    border: 1px solid CanvasText;
  }
}
