/* Demo profile and sample owner reports. Loaded only on those three pages, after shared-site.css. */



/* ===== Start-here mockup overrides (editorial redesign) ===== */


:root{
  --g:#1f3a2e; --g2:#2f5443; --rust:#8e3f28; --brass:#a8844a; --brass-l:#d9bf8f;
  --ivory:#f6f0e6; --cream:#fbf7f0; --ink:#1d2a24; --mut:#5d6660; --line:#e3dccf;
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:'Jost', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* Page canvas only. The shared header, footer and navigation are not restyled.
   The approved sheet also recolored the wordmark and the footer ampersand; those rules are left out
   so the logo stays the one used on every other page. */
html body:has(main.dm-page){background:#fbf7f0!important}

/* ===== Demo profile / reports mockup ===== */
:root{
  --g:#1f3a2e; --g2:#2f5443; --rust:#8e3f28; --brass:#a8844a;
  --ivory:#f6f0e6; --cream:#fbf7f0; --ink:#1d2a24; --mut:#5d6660; --line:#e3dccf;
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:'Jost', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* Font gotcha — NO div in Jost :is(...) * lists */
html body:not(.fx) main.md-page :is(p, li, td, th, a, span, small, strong, em, b, label, caption, summary, time, dd, dt, button, figcaption),
html body:not(.fx) main.md-page :is(p, li, td, th, a, span, small, strong, em, b, label, caption, summary, time, dd, dt, button, figcaption) *,
html body main.md-page :is(p, li, td, th, a, span, small, strong, em, b, label, caption, summary, time, dd, dt, button, figcaption),
html body main.md-page :is(p, li, td, th, a, span, small, strong, em, b, label, caption, summary, time, dd, dt, button, figcaption) *,
html body:not(.fx) main.dm-page :is(p, li, td, th, a, span, small, strong, em, b, label, caption, summary, button, figcaption),
html body:not(.fx) main.dm-page :is(p, li, td, th, a, span, small, strong, em, b, label, caption, summary, button, figcaption) *,
html body main.dm-page :is(p, li, td, th, a, span, small, strong, em, b, label, caption, summary, button, figcaption),
html body main.dm-page :is(p, li, td, th, a, span, small, strong, em, b, label, caption, summary, button, figcaption) *{
  font-family:var(--sans)!important;
}
html body:not(.fx) main.md-page :is(h1, h2, h3, h4),
html body:not(.fx) main.md-page :is(h1, h2, h3, h4) *,
html body main.md-page :is(h1, h2, h3, h4),
html body main.md-page :is(h1, h2, h3, h4) *,
html body:not(.fx) main.dm-page :is(h1, h2, h3, h4),
html body:not(.fx) main.dm-page :is(h1, h2, h3, h4) *,
html body main.dm-page :is(h1, h2, h3, h4),
html body main.dm-page :is(h1, h2, h3, h4) *{
  font-family:var(--serif)!important;
}
/* Big figures: Cormorant lining tabular */
html body main.dm-page .md-fig > strong,
html body main.dm-page .md-fig > strong *,
html body main.dm-page .fact > strong,
html body main.dm-page .dm-finding > span{
  font-family:var(--serif)!important;
  font-variant-numeric:lining-nums tabular-nums!important;
}

html body main.md-page,
html body main.dm-page,
html body main.original-about.dm-page,
html body main.original-about.md-page.dm-page{
  box-sizing:border-box!important;
  width:min(1040px, calc(100% - 120px))!important;
  max-width:1040px!important;
  margin:0 auto!important;
  padding:28px 0 72px!important;
  min-height:calc(100vh - 230px)!important;
  background:transparent!important;
  color:var(--ink)!important;
  font-family:var(--sans)!important;
  font-size:17px!important;
  line-height:1.65!important;
}
html body main.md-page > .wrap,
html body main.dm-page > .wrap{
  width:100%!important;max-width:none!important;padding:0!important;margin:0!important;
}
html body main.md-page .bp-crumbs{
  font-size:14px!important;color:var(--mut)!important;margin:8px 0 0!important;
  background:none!important;border:0!important;padding:0!important;
}
html body main.md-page .bp-crumbs a{color:var(--g)!important;text-decoration:underline;text-underline-offset:2px}

/* Example-only notice: quiet ivory + brass rule (not yellow box) */
html body main.dm-page .dm-banner{
  background:var(--ivory)!important;
  border:0!important;
  border-top:1px solid var(--brass)!important;
  border-bottom:1px solid var(--brass)!important;
  border-radius:0!important;
  padding:14px 0!important;
  margin:12px 0 8px!important;
  font-family:var(--sans)!important;
  font-size:15px!important;
  line-height:1.55!important;
  color:var(--ink)!important;
  box-shadow:none!important;
}
html body main.dm-page .dm-banner strong{font-weight:600!important;color:#1f3a2e!important}

/* Hero */
html body main.md-page .hero{
  text-align:center!important;
  padding:28px 0 28px!important;
  background:none!important;border:0!important;margin:0!important;
}
html body main.md-page .hero .eyebrow{
  display:block!important;
  font-family:var(--serif)!important;
  font-size:13px!important;
  font-weight:600!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  color:#1f3a2e!important;
  -webkit-text-fill-color:#1f3a2e!important;
  margin:0 0 14px!important;
  text-align:center!important;
  opacity:1!important;
  background:none!important;
}
html body main.md-page .hero h1{
  text-align:center!important;
  font-family:var(--serif)!important;
  font-weight:500!important;
  font-size:clamp(40px,4vw,52px)!important;
  line-height:1.1!important;
  letter-spacing:-.015em!important;
  color:#1f3a2e!important;
  margin:0 auto 14px!important;
  max-width:min(34em, 100%)!important;
  text-wrap:balance!important;
}
html body main.md-page .hero > p,
html body main.md-page .hero p:not(.dm-link){
  font-family:var(--sans)!important;
  font-size:19px!important;
  line-height:1.65!important;
  color:var(--mut)!important;
  margin:0 auto!important;
  max-width:760px!important;
  text-align:center!important;
  text-wrap:pretty!important;
}
html body main.dm-page .dm-link{
  font-family:var(--sans)!important;
  font-size:16px!important;
  font-weight:600!important;
  text-align:center!important;
  margin:0 auto 12px!important;
  max-width:760px!important;
}
html body main.dm-page .dm-link a{color:var(--g)!important;text-decoration:underline;text-underline-offset:3px}
html body main.dm-page .dm-link a:hover{color:var(--rust)!important}

/* Sections */
html body main.md-page .md-sec,
html body main.dm-page .dm-sec{
  margin:34px 0 0!important;
  padding-top:28px!important;
  border-top:1px solid var(--line)!important;
  background:none!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body main.md-page .md-sec h2,
html body main.dm-page .dm-sec h2,
html body main.dm-page .dm-head h2,
html body main.dm-page .dm-title h2{
  font-family:var(--serif)!important;
  font-weight:500!important;
  font-size:30px!important;
  color:#1f3a2e!important;
  margin:0 0 14px!important;
  text-wrap:balance!important;
}
html body main.md-page .md-sec p,
html body main.md-page .md-sec li,
html body main.dm-page .dm-sec p,
html body main.dm-page .dm-note,
html body main.dm-page .bp-note,
html body main.dm-page .md-asof{
  font-family:var(--sans)!important;
  font-size:17px!important;
  line-height:1.65!important;
  color:var(--ink)!important;
}
html body main.dm-page .dm-note,
html body main.dm-page .md-asof,
html body main.dm-page .bp-note{
  color:var(--mut)!important;
}
html body main.dm-page .md-asof,
html body main.dm-page .bp-note{
  margin-top:16px!important;
  padding-top:14px!important;
  border-top:1px solid var(--line)!important;
}

/* Plan tags → quiet text labels */
html body main.dm-page .dm-plan{
  display:inline-block!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  font-family:var(--sans)!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  color:var(--mut)!important;
  -webkit-text-fill-color:var(--mut)!important;
}
html body main.dm-page .dm-head{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:12px!important;
  margin:0 0 8px!important;
}
html body main.dm-page .dm-head h2{margin:0!important}

/* Open figure columns (no white cards) */
html body main.dm-page .md-figs,
html body main.dm-page .rp-figs,
html body main.dm-page .dm-facts,
html body main.dm-page .facts{
  display:grid!important;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr))!important;
  gap:0!important;
  margin:10px 0 8px!important;
  background:transparent!important;
  border:0!important;
}
html body main.dm-page .md-fig,
html body main.dm-page .fact{
  background:transparent!important;
  border:0!important;
  border-right:1px solid var(--line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:8px 18px 14px 0!important;
  margin:0!important;
}
html body main.dm-page .md-fig:last-child,
html body main.dm-page .fact:last-child{border-right:0!important;padding-right:0!important}
html body main.dm-page .md-fig small,
html body main.dm-page .fact small{
  display:block!important;
  font-family:var(--sans)!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:var(--mut)!important;
  margin:0 0 6px!important;
}
html body main.dm-page .md-fig > strong,
html body main.dm-page .fact > strong{
  display:block!important;
  font-family:var(--serif)!important;
  font-weight:500!important;
  font-size:clamp(28px, 3vw, 36px)!important;
  line-height:1.15!important;
  color:#1f3a2e!important;
  font-variant-numeric:lining-nums tabular-nums!important;
  margin:0 0 6px!important;
}
html body main.dm-page .md-fig > strong .ch-of,
html body main.dm-page .fact > strong .fl-stars{
  font-size:.55em!important;
  font-weight:500!important;
}
html body main.dm-page .md-fig > p{
  font-family:var(--sans)!important;
  font-size:15px!important;
  line-height:1.5!important;
  color:var(--mut)!important;
  margin:0!important;
}
html body main.dm-page .rp-up{color:#1f3a2e!important;font-weight:600!important}
html body main.dm-page .rp-down{color:var(--rust)!important;font-weight:600!important}

/* Facility preview: one framed example; quieter inners */
html body main.dm-page .dm-profile{
  background:transparent!important;
  border:1px solid var(--line)!important;
  border-radius:0!important;
  padding:22px 0 8px!important;
  margin:18px 0 8px!important;
  box-shadow:none!important;
}
html body main.dm-page .dm-title{padding:0 0 8px!important}
html body main.dm-page .dm-title h2{
  font-size:clamp(28px, 3vw, 36px)!important;
  margin:0 0 4px!important;
}
html body main.dm-page .dm-title p{
  font-size:16px!important;color:var(--mut)!important;margin:0 0 10px!important;
}
html body main.dm-page .dm-verified{
  display:inline-block!important;
  background:transparent!important;
  color:#1f3a2e!important;
  font-family:var(--sans)!important;
  font-size:14px!important;
  font-weight:600!important;
  border-radius:0!important;
  padding:0!important;
}
html body main.dm-page .dm-gallery{
  display:grid!important;
  grid-template-columns:2fr 1fr 1fr!important;
  gap:8px!important;
  margin:14px 0!important;
}
html body main.dm-page .dm-gallery figure{
  margin:0!important;border-radius:4px!important;overflow:hidden!important;height:190px!important;position:relative!important;
}
html body main.dm-page .dm-gallery img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
html body main.dm-page .dm-gallery figcaption{
  position:absolute!important;left:8px!important;bottom:8px!important;
  background:rgba(31,58,46,.85)!important;color:#f6f0e6!important;
  font-size:11px!important;font-weight:600!important;padding:3px 8px!important;border-radius:4px!important;
}

/* From-the-facility card: quieter open treatment */
html body main.dm-page .fp-card,
html body main.dm-page .card.fp-card{
  background:transparent!important;
  border:0!important;
  border-top:1px solid var(--line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:18px 0!important;
  margin:8px 0 0!important;
}
html body main.dm-page .fp-head{
  display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:12px!important;
}
html body main.dm-page .fp-head h2{
  font-family:var(--serif)!important;font-size:24px!important;font-weight:500!important;margin:0!important;color:#1f3a2e!important;
}
html body main.dm-page .fp-badge{
  background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;
  font-size:12px!important;font-weight:600!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:var(--mut)!important;
}
html body main.dm-page .fp-desc{font-size:17px!important;line-height:1.65!important;color:var(--ink)!important}
html body main.dm-page .fp-card h4{
  font-family:var(--serif)!important;font-size:18px!important;font-weight:500!important;color:#1f3a2e!important;margin:18px 0 8px!important;
}
/* Services: quiet middot list instead of loud pills */
html body main.dm-page .fp-chips{
  display:block!important;
  font-family:var(--sans)!important;
  font-size:16px!important;
  line-height:1.7!important;
  color:var(--ink)!important;
  background:none!important;border:0!important;padding:0!important;gap:0!important;
}
html body main.dm-page .fp-chip{
  display:inline!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  font-size:16px!important;
  font-weight:400!important;
  color:var(--ink)!important;
  box-shadow:none!important;
}
html body main.dm-page .fp-chip:not(:last-child)::after{
  content:" · ";
  color:var(--brass)!important;
  font-weight:400!important;
}
html body main.dm-page .fp-details{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;
  gap:0!important;
  margin:16px 0!important;
  border-top:1px solid var(--line)!important;
}
html body main.dm-page .fp-detail{
  background:transparent!important;border:0!important;border-right:1px solid var(--line)!important;
  border-radius:0!important;padding:12px 16px 12px 0!important;
}
html body main.dm-page .fp-detail:last-child{border-right:0!important}
html body main.dm-page .fp-detail small{
  display:block!important;font-size:12px!important;font-weight:600!important;letter-spacing:.08em!important;
  text-transform:uppercase!important;color:var(--mut)!important;margin:0 0 4px!important;
}
html body main.dm-page .fp-detail strong{font-size:16px!important;font-weight:600!important;color:#1f3a2e!important}
html body main.dm-page .fp-detail-note{display:block!important;font-size:14px!important;color:var(--mut)!important;margin-top:4px!important}

/* Mock blocks: open, not dashed cards */
html body main.dm-page .dm-mock{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:8px 0!important;
  box-shadow:none!important;
}
html body main.dm-page .rf-pair{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;
  border-top:1px solid var(--line)!important;
}
html body main.dm-page .dm-finding,
html body main.dm-page .dm-response{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:14px 18px 14px 0!important;
  font-size:16px!important;
}
html body main.dm-page .dm-finding{border-right:1px solid var(--line)!important;padding-right:18px!important}
html body main.dm-page .dm-finding span{
  font-family:var(--serif)!important;font-size:28px!important;font-weight:500!important;
  font-variant-numeric:lining-nums tabular-nums!important;color:#1f3a2e!important;margin:4px 0!important;
}
html body main.dm-page .dm-response{padding-left:18px!important;background:transparent!important}
html body main.dm-page .dm-list-label{
  font-size:12px!important;font-weight:600!important;letter-spacing:.1em!important;
  text-transform:uppercase!important;color:var(--mut)!important;margin:14px 0 8px!important;
}
html body main.dm-page .dm-listing{
  background:transparent!important;
  border:0!important;
  border-top:1px solid var(--line)!important;
  border-radius:0!important;
  padding:12px 0!important;
  margin:0!important;
  font-size:16px!important;
}
html body main.dm-page .dm-listing.dm-sponsored{
  background:var(--ivory)!important;
  border-top:1px solid var(--brass)!important;
  border-bottom:1px solid var(--brass)!important;
  padding:14px 12px!important;
  margin:0 0 8px!important;
}
html body main.dm-page .dm-badge{
  display:inline-block!important;
  background:transparent!important;
  color:#1f3a2e!important;
  -webkit-text-fill-color:#1f3a2e!important;
  font-size:11px!important;
  font-weight:600!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  border:1px solid var(--brass)!important;
  border-radius:4px!important;
  padding:3px 8px!important;
  margin-bottom:6px!important;
}

/* Tables */
html body main.dm-page .md-tablewrap{
  overflow-x:auto!important;margin:10px 0!important;background:none!important;border:0!important;border-radius:0!important;
}
html body main.dm-page .md-table,
html body main.dm-page .rp-table{
  width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;
  background:transparent!important;border:0!important;font-size:16px!important;
  font-family:var(--sans)!important;
}
html body main.dm-page .md-table thead th,
html body main.dm-page .rp-table thead th{
  background:transparent!important;
  font-family:var(--sans)!important;
  font-size:12px!important;font-weight:600!important;
  letter-spacing:.08em!important;text-transform:uppercase!important;
  color:#1f3a2e!important;
  text-align:right!important;
  padding:10px 10px!important;
  border:0!important;border-bottom:1px solid var(--brass)!important;
}
html body main.dm-page .md-table thead th:first-child,
html body main.dm-page .rp-table thead th:first-child{text-align:left!important}
html body main.dm-page .md-table th,
html body main.dm-page .md-table td,
html body main.dm-page .rp-table th,
html body main.dm-page .rp-table td{
  padding:11px 10px!important;
  border:0!important;border-bottom:1px solid var(--line)!important;
  background:transparent!important;
  font-size:16px!important;
  vertical-align:middle!important;
}
html body main.dm-page .md-table tbody th,
html body main.dm-page .rp-table tbody th{
  font-family:var(--sans)!important;
  font-weight:400!important;
  font-size:16px!important;
  color:#1f3a2e!important;
  text-align:left!important;
  background:transparent!important;
}
html body main.dm-page .rp-table td,
html body main.dm-page .md-table td{
  text-align:right!important;
  font-variant-numeric:lining-nums tabular-nums!important;
  font-family:var(--sans)!important;
}
html body main.dm-page .rp-table td strong,
html body main.dm-page .md-table td strong{
  font-weight:600!important;color:#1f3a2e!important;
  font-variant-numeric:lining-nums tabular-nums!important;
}

/* Buttons / controls 48px 4px radius */
html body main.dm-page .bp-button,
html body main.dm-page a.bp-button,
html body main.dm-page .dm-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  height:48px!important;
  padding:0 22px!important;
  border:0!important;
  border-radius:4px!important;
  background:#1f3a2e!important;
  color:#f6f0e6!important;
  font-family:var(--sans)!important;
  font-size:16px!important;
  font-weight:600!important;
  text-decoration:none!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
html body main.dm-page .bp-button:hover,
html body main.dm-page .dm-btn:hover{
  background:var(--rust)!important;color:#f6f0e6!important;
}
html body main.dm-page .dm-btn-ghost{
  background:transparent!important;
  color:#1f3a2e!important;
  border:1px solid var(--line)!important;
  border-radius:4px!important;
}
html body main.dm-page .dm-btn-ghost:hover{
  border-color:var(--rust)!important;color:var(--rust)!important;background:transparent!important;
}
html body main.dm-page .dm-cta{
  display:flex!important;flex-wrap:wrap!important;gap:18px!important;align-items:center!important;
  margin:28px 0 0!important;padding-top:24px!important;border-top:1px solid var(--line)!important;
}
html body main.dm-page .dm-cta a:not(.bp-button){
  font-size:17px!important;color:var(--g)!important;text-decoration:underline;text-underline-offset:3px;
}
html body main.dm-page .dm-cta a:not(.bp-button):hover{color:var(--rust)!important}

html body main.dm-page .billing-list{padding-left:1.2em!important;margin:8px 0!important}
html body main.dm-page .billing-list li{margin:0 0 8px!important;font-size:17px!important}

@media(min-width:1000px){
  html body main.md-page,
  html body main.dm-page,
  html body main.original-about.dm-page{width:min(1040px, calc(100% - 160px))!important}
}
@media(max-width:720px){
  html body main.md-page,
  html body main.dm-page{width:calc(100% - 40px)!important;padding:20px 0 64px!important}
  html body main.dm-page .dm-gallery{grid-template-columns:1fr 1fr!important}
  html body main.dm-page .dm-gallery figure:first-child{grid-column:1/-1!important}
  html body main.dm-page .rf-pair{grid-template-columns:1fr!important}
  html body main.dm-page .dm-finding{border-right:0!important;border-bottom:1px solid var(--line)!important}
}

/* Section rules above paint every heading and paragraph inside a demo section.
   The admissions card is the facility page's dark panel, so its type stays ivory. */
html body main.dm-page .d-adm h2,
html body main.dm-page .d-adm h2 *{
  color:#f6f0e6!important;
}
html body main.dm-page .d-adm > p{
  color:#e6dfd1!important;
}

/* === Mobile 390 fixes === */

@media (max-width: 720px) {
  html body main.md-page, html body main.dm-page, html body main.original-about.dm-page, html body main.original-about.bp-page.md-page.dm-page {
  width: calc(100% - 40px) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
}

@media (max-width: 720px) {
  /* Demo profile: keep the hero card inside the viewport (was 414px overflow) */
  html body main.dm-page .dm-hero-slot,
  html body main.dm-page .d-hero,
  html body main.dm-page .d-hero-p,
  html body main.dm-page .d-hero-in {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  html body main.dm-page .d-card-id,
  html body .fxm .d-card-id {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  html body main.dm-page .d-card-top,
  html body .fxm .d-card-top {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 720px) {
  .consistent-rail, .consistent-rail.siderail, .tnhd-rail {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
  }
}
