:root {
  --ink: #102a43;
  --ink-soft: #526675;
  --green: #0b6e69;
  --green-dark: #102a43;
  --cream: #f4f8fa;
  --paper: #ffffff;
  --sage: #dceff0;
  --pale: #e8f5f5;
  --mint: #dceff0;
  --line: #cfdee4;
  --muted: #526675;
  --gold: #d85f43;
  --gold-bg: #fff0eb;
  --shadow: 0 18px 45px rgba(16, 42, 67, .09);
}

body {
  background: #f4f8fa;
  color: #102a43;
}

/* One navigation system for every public route. */
.public-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  width: 100%;
  max-width: none;
  height: 72px;
  margin: 0;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(207, 222, 228, .9);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(16, 42, 67, .04);
  backdrop-filter: blur(14px);
}

.public-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #102a43;
  font-size: 25px;
  font-weight: 780;
  letter-spacing: -1.3px;
  line-height: 1;
  text-decoration: none;
}

.public-logo .logo-word { color: #102a43; }
.logo-mark {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}
.public-footer .logo-mark { width: 27px; height: 27px; border-radius: 7px; }

.public-header nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto 0;
}

.public-header nav a,
.public-footer a {
  color: #526675;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.public-header nav a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}

.public-header nav a:hover,
.public-header nav a[aria-current="page"] {
  background: #e8f5f5;
  color: #0b6e69;
}

.header-cta,
.button-primary,
.phone-content button,
.button:not(.button-text):not(.button-light),
.primary-button {
  background: #0b6e69;
  color: #fff;
  flex: 0 0 auto;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(11, 110, 105, .16);
}

.header-cta:hover,
.button-primary:hover,
.phone-content button:hover,
.button:not(.button-text):not(.button-light):hover,
.primary-button:hover { background: #085b58; }

.public-footer {
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid #cfdee4;
  background: #fff;
  color: #526675;
  font-size: 12px;
}

.public-footer .footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.public-footer .footer-links a { color: #0b6e69; }

@media (max-width: 540px) {
  .public-footer .footer-links { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .public-footer .footer-links a:last-child { width: auto; margin-left: 0; }
}

/* Landing page: clearer contrast, softer geometry, and a warmer accent. */
.hero {
  position: relative;
  max-width: none;
  padding-inline: max(30px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 87% 22%, rgba(231, 111, 81, .16), transparent 28%),
    linear-gradient(145deg, #f7fbfc 0%, #e8f5f5 100%);
}

.hero h1,
.workflow-hero h1,
.page h1 { color: #102a43; }

.hero h1 em,
.workflow-hero h1 em,
.kicker,
.eyebrow,
.text-link,
.read-link { color: #0b6e69; }

.hero-card {
  border: 1px solid #c8dce1;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(16, 42, 67, .14);
  transform: rotate(1deg);
}

.mini-mark,
.featured .guide-icon,
.published-guide > span { background: #e8f5f5; color: #0b6e69; }

.answer-strip { background: #102a43; }
.answer-strip .kicker { color: #7ed7d1; }

.guide-card,
.web-record,
.fact,
.cluster-grid article,
.signin-card,
.card,
.asset-card,
.asset-add-card {
  background: #fff;
  border-color: #cfdee4;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 42, 67, .055);
}

.guide-card.featured,
.published-guide,
.workflow-steps,
.plan-section,
.recommendation-card,
.saved-profile { background: #dceff0; }

.guide-icon,
.record-file,
.honest-note {
  background: #fff0eb;
  color: #c9543b;
}

.closing { background: #0b6e69; }
.button-light { color: #0b6e69; border-radius: 999px; }

.development-banner { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 10px 14px; border: 1px solid #e5c890; border-radius: 10px; background: #fff8e8; color: #6f5524; font-size: 12px; line-height: 1.4; }
.development-banner strong { flex: 0 0 auto; color: #8b6018; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.feedback-trigger { width: 100%; margin: 0 0 12px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(255,255,255,.06); color: #d8e7e8; font: 650 12px inherit; text-align: left; cursor: pointer; }
.feedback-trigger:hover { background: rgba(255,255,255,.11); color: #fff; }
#feedbackForm textarea { display: block; width: 100%; min-height: 150px; margin-top: 7px; padding: 12px; resize: vertical; border: 1px solid #c7d5d8; border-radius: 9px; background: #fff; color: #102a43; font: 14px/1.5 inherit; outline-color: #0b6e69; }

/* How it works. */
.workflow-hero {
  max-width: none;
  padding-inline: max(30px, calc((100vw - 1120px) / 2));
  background: linear-gradient(160deg, #f7fbfc 25%, #e8f5f5 100%);
}

.phone-frame {
  background: #102a43;
  border-color: #102a43;
  box-shadow: 20px 28px 60px rgba(16, 42, 67, .22);
}

.phone-frame::before { background: #102a43; }
.phone-content { background: #f4f8fa; }
.scan-window { background: #dceff0; color: #0b6e69; }
.scan-window::before,
.scan-window::after { border-color: #0b6e69; }

/* Guide library and article pages. */
.page { padding-top: 64px; }
.library-page { max-width: 1040px; }
.facts,
.published-guide { border-color: #c8dce1; }
.callout { background: #dceff0; border: 1px solid #c8dce1; }
.library-search { background: #fff; border-color: #bdd3da; border-radius: 999px; }
.breadcrumb a,
.sources a { color: #0b6e69; }

/* Sign in. */
.signin-body { background: linear-gradient(145deg, #f7fbfc 20%, #e8f5f5 100%); }
.privacy-note { background: #dceff0; border: 1px solid #c8dce1; border-radius: 16px; }
.privacy-note > span,
.signin-switch a,
.app-link { color: #0b6e69; }
.signin-card { border-radius: 20px; box-shadow: 0 24px 60px rgba(16, 42, 67, .11); }
.signin-card input { border-color: #bdd3da; border-radius: 10px; outline-color: #0b6e69; }

/* Private app: a calm operating console that shares the public site's voice. */
.app-shell {
  min-height: 100vh;
  background: #f4f8fa;
  color: #102a43;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sidebar {
  z-index: 30;
  width: 232px;
  padding: 28px 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  background: #102a43;
}

.sidebar .brand {
  gap: 11px;
  padding: 0 10px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 780;
  font-size: 26px;
  letter-spacing: -.7px;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.nav-list { gap: 4px; margin-top: 48px; }
.nav-item {
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #b9cad6;
  font-size: 13px;
  font-weight: 620;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.nav-item > .nav-icon { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; color: #7ed7d1; }
.nav-icon svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-icon,
.summary-icon,
.add-option > span { display: grid; place-items: center; line-height: 0; }
.home-icon svg,
.summary-icon svg,
.add-option > span svg,
.menu-button svg,
.search > span svg,
.icon-button > svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.add-option > span svg { width: 23px; height: 23px; }
.menu-button svg { width: 22px; height: 22px; }
.search > span svg { width: 17px; height: 17px; }
.icon-button > svg { width: 19px; height: 19px; }
.nav-item:hover { background: rgba(255, 255, 255, .065); color: #fff; }
.nav-item.active { border-color: rgba(126, 215, 209, .14); background: rgba(126, 215, 209, .12); color: #fff; }

.sidebar-bottom { gap: 10px; }
.household-switcher {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
}
.household-switcher:hover { background: rgba(255, 255, 255, .09); }
.household-switcher strong { font-size: 12px; }
.household-switcher small { margin-top: 2px; color: #a8bcc8; font-size: 10px; }
.household-menu {
  bottom: 70px;
  padding: 15px;
  border: 1px solid #cfdee4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(5, 23, 38, .24);
}

.main-content {
  width: calc(100% - 232px);
  max-width: none;
  margin-left: 232px;
  padding: 0 clamp(24px, 5vw, 72px) 76px;
  background: #f4f8fa;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  border-color: rgba(207, 222, 228, .88);
  background: rgba(244, 248, 250, .9);
  backdrop-filter: blur(14px);
}

.search {
  width: min(360px, 40vw);
  height: 40px;
  border: 1px solid #cfdee4;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #657987;
}
.search:focus-within { border-color: #73b6b4; box-shadow: 0 0 0 3px rgba(11, 110, 105, .1); }
.search input { font-family: inherit; color: #102a43; }
.icon-button,
.avatar,
.profile-button { border: 1px solid #cfdee4; background: #fff; color: #102a43; }
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
  line-height: 0;
  vertical-align: middle;
}
.icon-button > svg { margin: 0; transform: none; }
.icon-button i { top: 5px; right: 5px; }
.avatar,
.profile-button { background: #dceff0; color: #0b6e69; }

.view {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-top: 48px;
}
.simple-view,
.calendar-view { max-width: 1020px; }
.page-heading { align-items: flex-end; margin-bottom: 32px; }
.page-heading h1,
.simple-view h1 {
  max-width: 780px;
  margin: 5px 0 9px;
  color: #102a43;
  font: 760 clamp(2.2rem, 4vw, 3.1rem)/1.04 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -1.9px;
}
.page-heading.compact h1 { font-size: clamp(2rem, 3.4vw, 2.65rem); }
.subheading { max-width: 700px; color: #526675; font-size: 15px; line-height: 1.6; }
.eyebrow { color: #0b6e69; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.section-title h2,
.category-heading h2,
.profile-card h2,
.calendar-board-header strong,
.dialog-header h2 { font-family: inherit; font-weight: 740; letter-spacing: -.55px; }

.primary-button,
.secondary-button,
.text-button,
.category-tab,
button { font-family: inherit; }
.primary-button,
.secondary-button { min-height: 40px; border-radius: 999px; padding: 10px 16px; }
.primary-button { border: 1px solid #0b6e69; background: #0b6e69; box-shadow: 0 8px 20px rgba(11, 110, 105, .16); }
.secondary-button { border: 1px solid #bdd3da; background: #fff; color: #102a43; }
.text-button { color: #0b6e69; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible { outline: 3px solid rgba(11, 110, 105, .28); outline-offset: 2px; }

.card,
.asset-checklist,
.maintenance-columns > section,
.calendar-board,
.profile-card,
.saved-profile,
.recommendation-card,
.document-item,
.asset-list-item {
  border-color: #cfdee4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 42, 67, .045);
}

.category-tabs {
  gap: 6px;
  margin-bottom: 27px;
  padding-bottom: 10px;
  border-bottom-color: #cfdee4;
}
.category-tab {
  margin-right: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: #657987;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}
.category-tab:hover { background: #e8f5f5; color: #0b6e69; }
.category-tab.active { background: #102a43; color: #fff; }
.category-tab.active::after { display: none; }
.category-heading { margin-bottom: 17px; }
.category-heading h2 { margin-bottom: 5px; font-size: 25px; }

.asset-checklist { margin-bottom: 24px; padding: 24px; background: #dceff0; }
.checklist-item { min-height: 58px; padding: 11px; border-color: #c8dce1; border-radius: 11px; background: rgba(255, 255, 255, .9); }
.asset-list { gap: 10px; }
.asset-list-item,
.document-item { min-height: 70px; padding: 16px 18px; }
.asset-list-item:hover,
.document-openable:hover { border-color: #73b6b4; box-shadow: 0 12px 28px rgba(16, 42, 67, .07); }
.empty-category,
.document-empty { padding: 46px 28px; border-color: #bdd3da; border-radius: 16px; background: rgba(255, 255, 255, .72); }
.document-item .doc-category { background: #e8f5f5; color: #0b6e69; }
.document-delete { border: 0; border-radius: 9px; padding: 8px 10px; color: #a43e3e; background: #fdf1f1; font: 700 11px/1 var(--font-sans, sans-serif); cursor: pointer; }
.document-delete:hover { background: #f7dddd; }
.document-delete:disabled { opacity: .55; cursor: wait; }
.account-data-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.danger-text-button { border: 0; background: transparent; color: #a43e3e; font: 700 12px/1.3 var(--font-sans, sans-serif); cursor: pointer; }
.danger-text-button:disabled { opacity: .55; cursor: wait; }
.calendar-remove { display: block; margin: 14px auto 0; }
.asset-detail-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }

.maintenance-summary {
  max-width: 680px;
  margin: 24px 0 30px;
  border-color: #cfdee4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 42, 67, .04);
}
.maintenance-summary > div { padding: 18px 20px; }
.maintenance-summary strong { color: #102a43; font-family: inherit; font-size: 27px; font-weight: 760; }
.maintenance-columns { gap: 18px; }
.maintenance-columns > section { padding: 24px; }
.due-chip.amber,
.maintenance-date { background: #fff0eb; color: #c9543b; }
.maintenance-item { align-items: flex-start; padding-block: 17px; }
.maintenance-copy { min-width: 0; }
.maintenance-copy h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.maintenance-copy p { color: #526675; font-size: 12px; line-height: 1.4; }
.maintenance-guidance { display: block; max-width: 660px; margin-top: 7px; color: #5e7280; font-size: 12px; line-height: 1.5; }
.professional-chip { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 7px; border-radius: 999px; background: #e8f0f6; color: #34536b; font-size: 10px; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.complete-inline { flex: 0 0 auto; margin-top: 2px; }

.profile-form { gap: 18px; }
.profile-card { gap: 22px 38px; padding: 28px; }
.profile-card > div > p:not(.eyebrow) { color: #526675; line-height: 1.55; }
.recommended-field { display: inline-flex; margin-left: 7px; padding: 3px 7px; border-radius: 999px; background: #dceff0; color: #0b6e69; font-size: 10px; font-weight: 800; vertical-align: 1px; }
.climate-confirmation { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; align-self: start; min-height: 86px; padding: 14px; border: 1px solid #c8dce1; border-radius: 12px; background: #f4f9fa; }
.climate-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #dceff0; color: #0b6e69; font-size: 22px; }
.climate-icon svg,
.saved-profile-icon svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.saved-profile-icon { flex: 0 0 39px; }
.climate-confirmation > div > small,
.climate-confirmation > div > strong,
.climate-confirmation > div > span { display: block; }
.climate-confirmation > .climate-icon,
.saved-profile > .saved-profile-icon { display: grid; place-items: center; align-self: center; margin: 0; line-height: 0; font-size: 0; }
.climate-confirmation > .climate-icon > svg,
.saved-profile > .saved-profile-icon > svg { display: block; width: 20px; height: 20px; margin: 0; transform: none; }
.climate-confirmation > div > small { color: #607887; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.climate-confirmation strong { margin-top: 3px; color: #102a43; font-size: 15px; }
.climate-confirmation > div > span { margin-top: 2px; color: #607887; font-size: 11px; }
.climate-confirmation details { position: relative; }
.climate-confirmation summary { list-style: none; padding: 7px 9px; border: 1px solid #bdd3da; border-radius: 8px; background: #fff; color: #0b6e69; font-size: 11px; font-weight: 750; cursor: pointer; }
.climate-confirmation summary::-webkit-details-marker { display: none; }
.climate-confirmation details[open] { grid-column: 1 / -1; width: 100%; }
.climate-confirmation details[open] summary { width: max-content; margin: 0 0 10px auto; }
.climate-confirmation details label { font-size: 12px; }
.systems-card { grid-template-columns: 1fr; gap: 28px; }
.selected-features-panel { display: grid; gap: 13px; padding: 17px; border: 1px solid #c8dce1; border-radius: 13px; background: #f4f9fa; }
.selected-features-panel > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.selected-features-panel > div:first-child strong { color: #102a43; font-size: 14px; }
.selected-features-panel > div:first-child span { color: #607887; font-size: 12px; }
.selected-feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
.selected-feature-list > p { margin: 0; color: #607887; font-size: 13px; }
.selected-feature-list button { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #b8d2d7; border-radius: 999px; background: #fff; color: #29475a; font: 680 12px inherit; cursor: pointer; }
.selected-feature-list button > span { color: #0b6e69; font-weight: 900; }
.selected-feature-list button > b { color: #78909d; font-size: 15px; line-height: 1; }
.selected-feature-list button:hover { border-color: #0b6e69; background: #e8f5f5; }
.feature-picker { border: 1px solid #cfdee4; border-radius: 13px; background: #fff; overflow: hidden; }
.feature-picker > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 17px; list-style: none; cursor: pointer; }
.feature-picker > summary::-webkit-details-marker { display: none; }
.feature-picker > summary strong,
.feature-picker > summary small { display: block; }
.feature-picker > summary strong { color: #102a43; font-size: 14px; }
.feature-picker > summary small { margin-top: 3px; color: #607887; font-size: 12px; }
.feature-picker > summary > b { color: #0b6e69; transition: transform .16s ease; }
.feature-picker[open] > summary > b { transform: rotate(180deg); }
.system-groups { display: grid; gap: 27px; padding: 4px 17px 19px; border-top: 1px solid #e1eaed; }
.system-groups .system-group:first-child { padding-top: 18px; }
.system-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.system-group legend { width: 100%; margin: 0 0 11px; color: #385365; font-size: 13px; font-weight: 780; letter-spacing: .02em; }
.system-options { gap: 10px; }
.system-options label {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid #cfdee4;
  border-radius: 11px;
  background: #f7fbfc;
  color: #263f52;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.system-options label:hover { border-color: #9cbac4; background: #fff; }
.system-options label:has(input:checked) { border-color: #0b6e69; background: #e8f5f5; box-shadow: inset 0 0 0 1px rgba(11, 110, 105, .12); }
.system-options input[type="checkbox"] {
  appearance: auto;
  display: block;
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  accent-color: #0b6e69;
  cursor: pointer;
}
.system-options input[type="checkbox"]::after { content: none; }
.system-options input[type="checkbox"]:focus-visible { outline: 3px solid rgba(11, 110, 105, .24); outline-offset: 2px; }
.system-options label span { min-width: 0; }
.system-options label.region-suggested::after { content: 'Suggested'; margin-left: auto; color: #0b6e69; font-size: 11px; font-weight: 820; letter-spacing: .02em; }
.location-suggestion { min-height: 20px; margin-top: 8px; color: #3d6870; font-size: 13px; line-height: 1.45; }
.saved-profile,
.recommendation-card,
.calendar-note { border: 1px solid #c8dce1; border-radius: 16px; background: #dceff0; }
.calendar-board { margin-top: 24px; overflow: hidden; }
.calendar-board-header { padding: 22px 24px; }
.calendar-entry { padding: 17px 24px; }
.calendar-entry-date { border-radius: 11px; background: #e8f5f5; color: #0b6e69; }
.calendar-entry .calendar-status { background: #e8f5f5; color: #0b6e69; }
.calendar-subscription-dialog { padding: 30px; }
.calendar-sync-status { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #f4f8fa; color: #526675; font-size: 13px; }
.calendar-sync-status.connected { background: #e8f5f5; color: #0b6e69; }
.calendar-sync-status.error { background: #fff0eb; color: #a14231; }
.copy-field { display: flex; gap: 8px; margin-top: 7px; }
.copy-field input { min-width: 0; flex: 1; margin: 0; }
.copy-field button { flex: 0 0 auto; padding: 0 13px; border: 1px solid #bdd3da; border-radius: 9px; background: #f4f9fa; color: #0b6e69; font: 750 12px inherit; cursor: pointer; }
.calendar-help { margin-top: 18px; padding: 17px; border: 1px solid #d9e5e8; border-radius: 12px; background: #f8fbfc; }
.calendar-help > strong { display: block; margin-bottom: 10px; color: #102a43; font-size: 14px; }
.calendar-help p { margin: 7px 0; color: #526675; font-size: 13px; line-height: 1.5; }
.calendar-help small { display: block; margin-top: 12px; color: #6c7f8b; font-size: 12px; line-height: 1.45; }

dialog {
  border: 1px solid #cfdee4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(16, 42, 67, .24);
}
dialog::backdrop { background: rgba(16, 42, 67, .48); backdrop-filter: blur(3px); }
dialog form,
.account-dialog,
.asset-detail-dialog { padding: 30px; }
.dialog-header { margin-bottom: 23px; }
.dialog-header h2 { margin-top: 5px; font-size: 28px; }
.dialog-header p:not(.eyebrow) { max-width: 530px; margin: 7px 0 0; color: #526675; font-size: 14px; line-height: 1.5; }
.close-button { width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid #cfdee4; background: #f4f8fa; color: #102a43; }
.close-button:hover { border-color: #9cbac4; background: #e8f5f5; }
dialog label { color: #263f52; font-size: 14px; font-weight: 700; }
dialog input,
dialog select,
.profile-card input,
.profile-card select {
  min-height: 43px;
  border-color: #c8d8de;
  border-radius: 10px;
  background: #fff;
  color: #102a43;
  font-family: inherit;
}
.add-option { border-color: #cfdee4; border-radius: 13px; background: #f7fbfc; }
.add-option.selected { border-color: #0b6e69; background: #e8f5f5; }
.asset-scan { border-color: #bdd3da; border-radius: 12px; background: #f4f8fa; }
.account-card { border: 1px solid #cfdee4; border-radius: 13px; background: #f7fbfc; }
.account-avatar { background: #dceff0; color: #0b6e69; }
.notification-panel { top: calc(100% - 6px); right: 48px; padding: 17px; border-color: #cfdee4; border-radius: 15px; background: #fff; box-shadow: 0 20px 52px rgba(16, 42, 67, .16); }
.toast { border-radius: 999px; background: #102a43; box-shadow: 0 14px 34px rgba(16, 42, 67, .24); }

.app-shell h1,
.app-shell h2,
.app-shell h3,
.app-shell h4,
dialog h1,
dialog h2,
dialog h3,
dialog h4,
.signin-body,
.signin-body input,
.signin-body button {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
}

.signin-card h1 { font-weight: 760; letter-spacing: -1.2px; }

/* Scan-first document capture. */
#documentDialog { width: min(700px, calc(100% - 28px)); }

.document-capture {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 42px 28px;
  border: 1px dashed #a9c8cf;
  border-radius: 18px;
  background: linear-gradient(145deg, #f7fbfc, #e8f5f5);
  text-align: center;
}

.scan-symbol {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 17px;
  border-radius: 18px;
  background: #102a43;
  color: #7ed7d1;
  font-size: 28px;
  box-shadow: 0 14px 30px rgba(16, 42, 67, .16);
}

.document-capture h3 { margin: 0 0 8px; color: #102a43; font-size: 20px; font-weight: 760; }
.document-capture > p { max-width: 410px; margin: 0; color: #526675; font-size: 14px; line-height: 1.55; }
.capture-actions { display: flex; gap: 10px; margin-top: 24px; }
.scan-file-button { position: relative; display: inline-flex; align-items: center; justify-content: center; margin: 0; overflow: hidden; cursor: pointer; }
.scan-file-button input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.scan-file-button:focus-within { outline: 3px solid rgba(11, 110, 105, .28); outline-offset: 2px; }

.document-scanning {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 220px;
  padding: 34px;
  border: 1px solid #cfdee4;
  border-radius: 17px;
  background: #f7fbfc;
}
.document-scanning strong,
.document-scanning small { display: block; }
.document-scanning strong { color: #102a43; font-size: 15px; }
.document-scanning small { max-width: 440px; margin-top: 5px; overflow: hidden; color: #657987; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.scan-loader { width: 34px; height: 34px; flex: 0 0 auto; border: 3px solid #c8e2e2; border-top-color: #0b6e69; border-radius: 50%; animation: tend-scan .75s linear infinite; }

.document-review { display: grid; gap: 18px; }
.scan-result {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 14px;
  border: 1px solid #b9d9d7;
  border-radius: 15px;
  background: #e8f5f5;
}
.document-preview { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 11px; background: #fff; color: #0b6e69; font-size: 12px; font-weight: 800; }
.document-preview img { width: 100%; height: 100%; object-fit: cover; }
.scan-result span,
.scan-result strong,
.scan-result small { display: block; }
.scan-result span { color: #0b6e69; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.scan-result strong { margin-top: 3px; color: #102a43; font-size: 15px; }
.scan-result small { margin-top: 3px; color: #526675; font-size: 12px; }
.scan-result > b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #0b6e69; color: #fff; font-size: 12px; }
.document-review > label { display: block; }
.document-review .form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.document-review .dialog-actions { margin-top: 2px; }
[hidden] { display: none !important; }

@keyframes tend-scan { to { transform: rotate(360deg); } }

/* Signed-in workspace: an honest, useful first-run dashboard. */
.workspace-section { margin-top: 42px; }

.welcome-card {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(440px, 1.2fr);
  gap: 30px 42px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid #bdd7dc;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 42, 67, .055);
}

.welcome-copy h2 {
  margin: 7px 0 10px;
  font: 750 clamp(1.7rem, 3vw, 2.35rem)/1.08 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -1.2px;
}

.welcome-copy > p:last-child {
  max-width: 470px;
  margin: 0;
  color: #526675;
  font-size: 15px;
  line-height: 1.55;
}

.setup-progress {
  align-self: start;
  justify-self: end;
  display: grid;
  min-width: 128px;
  padding: 13px 15px;
  border: 1px solid rgba(11, 110, 105, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.setup-progress strong { color: #0b6e69; font-size: 18px; }
.setup-progress span { color: #526675; font-size: 12px; }

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

.setup-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: center;
  min-height: 112px;
  padding: 16px;
  border: 1px solid #cfdee4;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  color: #102a43;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.setup-step:hover {
  transform: translateY(-2px);
  border-color: #73b6b4;
  box-shadow: 0 12px 25px rgba(16, 42, 67, .08);
}

.setup-step .step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #102a43;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.setup-step strong,
.setup-step small,
.setup-step b { display: block; }
.setup-step strong { font-size: 14px; }
.setup-step small { margin-top: 3px; color: #657987; font-size: 12px; line-height: 1.35; }
.setup-step b { grid-column: 2; color: #0b6e69; font-size: 12px; }
.setup-step.complete .step-number { background: #0b6e69; }
.setup-step.complete { border-color: #a9d2d0; background: rgba(241, 250, 249, .96); }

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

.summary-card {
  display: grid;
  min-height: 168px;
  padding: 19px;
  border: 1px solid #cfdee4;
  border-radius: 17px;
  background: #fff;
  color: #102a43;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(16, 42, 67, .05);
}

.summary-card:hover { border-color: #73b6b4; }
.summary-icon { color: #0b6e69; font-size: 23px; }
.summary-card > strong { align-self: end; margin-top: 18px; font: 760 30px Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.summary-card > small { color: #657987; font-size: 12px; }
.summary-card > b { align-self: end; margin-top: 13px; color: #0b6e69; font-size: 12px; }
.summary-card.summary-add { background: #102a43; color: #fff; border-color: #102a43; }
.summary-card.summary-add .summary-icon,
.summary-card.summary-add > b { color: #7ed7d1; }
.summary-card.summary-add > small { color: #bdd0dc; }

.maintenance-empty {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 26px;
  color: #526675;
  text-align: center;
}

.maintenance-empty > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #dceff0;
  color: #0b6e69;
  font-size: 18px;
}

.maintenance-empty strong { color: #102a43; font-size: 14px; }
.maintenance-empty p { max-width: 330px; margin: 4px 0 0; font-size: 12px; line-height: 1.5; }
.compact-empty { min-height: 170px; }

/* Keep the workspace crisp and consistent even if an older base rule is cached. */
html body .app-shell,
html body .app-shell button,
html body .app-shell input,
html body .app-shell select,
html body .app-shell textarea,
html body dialog,
html body dialog button,
html body dialog input,
html body dialog select,
html body dialog textarea {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.simple-view,
.calendar-view,
.profile-view { max-width: 1080px; }
.asset-list { max-width: none; }
.health.neutral { color: #657987; }

.workspace-search-results {
  position: absolute;
  top: 59px;
  right: 76px;
  z-index: 45;
  display: grid;
  width: min(420px, calc(100vw - 40px));
  max-height: min(520px, calc(100vh - 90px));
  padding: 8px;
  overflow-y: auto;
  border: 1px solid #cfdee4;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(16, 42, 67, .17);
}

.search-result {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 3px 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #102a43;
  text-align: left;
  cursor: pointer;
}

.search-result:hover { background: #e8f5f5; }
.search-result span { grid-row: 1 / 3; color: #0b6e69; font-size: 11px; font-weight: 760; text-transform: uppercase; letter-spacing: .45px; }
.search-result strong { font-size: 14px; }
.search-result small { color: #657987; font-size: 12px; }
.search-empty { display: grid; gap: 3px; padding: 19px; text-align: center; }
.search-empty strong { font-size: 14px; }
.search-empty small { color: #657987; font-size: 12px; }

.sidebar-scrim {
  position: fixed;
  inset: 0;
  z-index: 25;
  border: 0;
  background: rgba(16, 42, 67, .42);
  cursor: pointer;
}

@media (max-width: 1180px) {
  .main-content { padding-inline: 34px; }
  .welcome-card { grid-template-columns: 1fr; }
  .setup-progress { justify-self: start; }
  .setup-steps { grid-column: auto; }
  .workspace-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .sidebar { width: 260px; transform: translateX(-100%); box-shadow: 18px 0 44px rgba(16, 42, 67, .2); }
  .sidebar.open { transform: translateX(0); }
  .main-content { width: 100%; margin-left: 0; padding: 0 20px 52px; }
  .topbar { height: 64px; }
  .notification-panel { right: 0; }
  .topbar .search { width: min(58vw, 300px); }
  .workspace-search-results { top: 57px; right: 0; width: min(430px, calc(100vw - 8px)); }
  .view { padding-top: 32px; }
  .page-heading { display: block; }
  .page-heading h1,
  .simple-view h1 { font-size: 2.15rem; letter-spacing: -1.2px; }
  .page-heading .primary-button { margin-top: 18px; }
  .profile-card { grid-template-columns: 1fr; padding: 22px; }
  .system-options { grid-column: auto; }
  .climate-confirmation { grid-template-columns: 38px 1fr; }
  .climate-confirmation > details { grid-column: 1 / -1; }
  .climate-confirmation > details summary { width: max-content; }
  .development-banner { align-items: flex-start; flex-direction: column; }
  .selected-features-panel > div:first-child { display: grid; gap: 3px; }
  .maintenance-columns { grid-template-columns: 1fr; }
  dialog form,
  .account-dialog,
  .asset-detail-dialog { padding: 23px; }
  .document-capture { min-height: 300px; padding: 32px 20px; }
  .document-review .form-columns { grid-template-columns: 1fr; }
  .welcome-card { grid-template-columns: 1fr; padding: 23px; }
  .setup-progress { justify-self: start; }
  .setup-steps { grid-column: auto; grid-template-columns: 1fr; }
  .workspace-summary { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 440px) {
  .main-content { padding-inline: 16px; }
  .topbar { gap: 9px; }
  .topbar .search { width: 50vw; }
  .maintenance-summary { grid-template-columns: 1fr; }
  .maintenance-summary > div { border-right: 0; border-bottom: 1px solid #cfdee4; }
  .maintenance-summary > div:last-child { border-bottom: 0; }
  .system-options,
  .checklist-grid { grid-template-columns: 1fr; }
  .capture-actions { width: 100%; flex-direction: column; }
  .scan-file-button { width: 100%; }
  .scan-result { grid-template-columns: 54px 1fr; }
  .document-preview { width: 54px; height: 54px; }
  .scan-result > b { display: none; }
  .workspace-summary { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
  .public-header { padding-inline: 20px; gap: 14px; }
  .public-header nav { display: none; }
  .hero,
  .workflow-hero { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Homepage — warm editorial home-care direction. */
.home-page {
  --home-ink: #18352f;
  --home-forest: #245a48;
  --home-forest-dark: #153a31;
  --home-clay: #bd5c3a;
  --home-cream: #f5f0e7;
  --home-paper: #fffdf8;
  --home-sage: #dfe7d7;
  --home-line: #d8d0c2;
  --home-muted: #68756e;
  background: var(--home-cream);
  color: var(--home-ink);
}

.home-page .public-header {
  border-color: rgba(216, 208, 194, .78);
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 7px 28px rgba(45, 62, 52, .045);
}

.home-page .public-logo,
.home-page .public-logo .logo-word { color: var(--home-ink); }
.home-page .public-header nav a,
.home-page .public-footer a { color: #596961; }
.home-page .public-header nav a:hover,
.home-page .public-header nav a[aria-current="page"] {
  background: #e9ede2;
  color: var(--home-forest);
}

.home-page .header-cta,
.home-page .button-primary {
  background: var(--home-forest);
  box-shadow: 0 10px 24px rgba(36, 90, 72, .18);
}
.home-page .header-cta:hover,
.home-page .button-primary:hover { background: var(--home-forest-dark); }
.home-page .kicker { color: var(--home-forest); }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(460px, 1.16fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  max-width: none;
  min-height: 700px;
  padding: 62px max(34px, calc((100vw - 1240px) / 2)) 112px;
  background:
    radial-gradient(circle at 7% 17%, rgba(189, 92, 58, .08), transparent 29%),
    linear-gradient(120deg, #f8f3ea 0%, #f2ebdf 100%);
  overflow: hidden;
}

.home-hero .hero-copy { position: relative; z-index: 2; padding-bottom: 12px; }
.home-hero h1 {
  max-width: 650px;
  margin: 18px 0 24px;
  color: var(--home-ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(3.45rem, 5.2vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}
.home-hero h1 em {
  display: block;
  margin-top: .13em;
  color: var(--home-clay);
  font-family: inherit;
  font-weight: 400;
  letter-spacing: -.045em;
}
.home-hero .hero-lead {
  max-width: 570px;
  color: #56675f;
  font-size: 1.18rem;
  line-height: 1.62;
}
.home-hero .hero-actions { margin-top: 31px; }
.home-hero .button { padding: 14px 19px; border-radius: 999px; }
.home-hero .button-text {
  color: var(--home-ink);
  text-decoration-color: #aebaa7;
}
.home-hero .trust-line { margin-top: 23px; color: #68756e; }
.home-hero .trust-line span { color: var(--home-forest); }

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 545px;
}
.hero-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 545px;
  object-fit: cover;
  border-radius: 170px 30px 30px 30px;
  box-shadow: 0 30px 70px rgba(45, 53, 42, .18);
}
.photo-note {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 9px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 14px;
  background: rgba(255, 253, 248, .9);
  color: var(--home-ink);
  box-shadow: 0 12px 35px rgba(23, 48, 37, .13);
  backdrop-filter: blur(10px);
}
.photo-note > span { grid-row: 1 / 3; align-self: center; color: #5d986b; font-size: 12px; }
.photo-note strong { font-size: 12px; }
.photo-note small { color: #68756e; font-size: 10px; }
.home-hero .hero-card {
  position: absolute;
  left: -76px;
  bottom: -52px;
  width: min(370px, 68%);
  padding: 16px 18px;
  border: 1px solid rgba(216, 208, 194, .9);
  border-radius: 19px;
  background: rgba(255, 253, 248, .97);
  box-shadow: 0 25px 70px rgba(30, 55, 43, .2);
  transform: rotate(-1.1deg);
}
.home-hero .mini-mark { background: #e5eadc; color: var(--home-forest); }
.home-hero .date b,
.home-hero .card-foot { color: var(--home-forest); }
.home-hero .care-item { border-color: #e3ddd2; }

.home-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 30px;
}
.home-proof > div { display: grid; gap: 4px; padding: 5px 36px; border-left: 1px solid var(--home-line); }
.home-proof > div:first-child { padding-left: 0; border-left: 0; }
.home-proof strong { font-family: "Iowan Old Style", Georgia, serif; font-size: 1.18rem; font-weight: 600; }
.home-proof span { color: var(--home-muted); font-size: .83rem; line-height: 1.5; }

.home-story {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(54px, 8vw, 118px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 104px 30px 112px;
}
.story-photo { position: relative; }
.story-photo::before {
  content: "";
  position: absolute;
  inset: 20px -19px -20px 20px;
  z-index: -1;
  border-radius: 24px;
  background: #cbd5bf;
}
.story-photo img {
  display: block;
  width: 100%;
  aspect-ratio: .86;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(36, 54, 43, .13);
}
.story-copy h2,
.seasonal-copy h2,
.home-page .guides-section h2,
.home-page .product-section h2,
.home-closing h2 {
  color: var(--home-ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.45rem, 4.1vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.story-copy h2 { margin: 12px 0 20px; }
.story-copy > p:not(.kicker),
.seasonal-copy > p:not(.kicker) { color: var(--home-muted); font-size: 1rem; line-height: 1.72; }
.story-list { display: grid; gap: 0; margin: 28px 0; padding: 0; list-style: none; }
.story-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 13px;
  padding: 16px 0;
  border-top: 1px solid var(--home-line);
}
.story-list li > span { padding-top: 2px; color: var(--home-clay); font: 750 11px ui-monospace, monospace; letter-spacing: .05em; }
.story-list strong,
.story-list small { display: block; }
.story-list strong { font-size: .95rem; }
.story-list small { margin-top: 3px; color: var(--home-muted); font-size: .82rem; }
.home-page .story-link { color: var(--home-forest); }

.seasonal-story {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  max-width: 1240px;
  margin: 0 auto 102px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--home-ink);
  color: #fff;
  box-shadow: 0 24px 60px rgba(27, 53, 45, .13);
}
.seasonal-photo img { display: block; width: 100%; height: 100%; min-height: 515px; object-fit: cover; }
.seasonal-copy { align-self: center; padding: 58px clamp(38px, 5vw, 76px); }
.seasonal-copy .kicker { color: #bed4b7; }
.seasonal-copy h2 { margin: 12px 0 20px; color: #fffdf8; }
.seasonal-copy > p:not(.kicker) { color: #cfdbd4; }
.seasonal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 29px; }
.seasonal-tags span { padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: #edf4eb; font-size: .72rem; font-weight: 700; }
.seasonal-copy .button-primary { background: #f5f0e7; color: var(--home-ink); box-shadow: none; }
.seasonal-copy .button-primary:hover { background: #fff; }

.home-page .answer-strip { background: #bd5c3a; }
.home-page .answer-strip .kicker { color: #ffe2d6; }
.home-page .answer-strip h2 { font-family: "Iowan Old Style", Georgia, serif; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; }
.home-page .guide-search { border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; background: #fffdf8; }

.home-page .guides-section { padding-top: 104px; padding-bottom: 110px; }
.home-page .section-heading h2 { margin-top: 9px; }
.home-page .text-link,
.home-page .read-link { color: var(--home-forest); }
.home-page .guide-card {
  min-height: 286px;
  border-color: var(--home-line);
  border-radius: 18px;
  background: var(--home-paper);
  box-shadow: 0 12px 34px rgba(49, 64, 53, .055);
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-page .guide-card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(49, 64, 53, .11); }
.home-page .guide-card.featured { background: var(--home-sage); }
.home-page .guide-card h3 { font-family: "Iowan Old Style", Georgia, serif; font-size: 1.3rem; font-weight: 600; line-height: 1.24; }
.home-page .guide-card p { color: var(--home-forest); }
.home-page .guide-icon { background: #f4e0d3; color: var(--home-clay); }
.home-page .featured .guide-icon { background: #fffdf8; color: var(--home-forest); }

.home-page .product-section {
  max-width: none;
  padding: 106px max(30px, calc((100vw - 1120px) / 2));
  background: #e2e8da;
}
.home-page .product-section .centered > p:last-child { color: var(--home-muted); }
.home-page .product-grid { gap: 18px; }
.home-page .product-grid article {
  padding: 30px;
  border: 1px solid rgba(120, 137, 118, .28);
  border-radius: 18px;
  background: rgba(255, 253, 248, .72);
}
.home-page .product-grid article > span { color: var(--home-clay); }
.home-page .product-grid h3 { color: var(--home-ink); }
.home-page .product-grid p { color: var(--home-muted); }

.home-closing {
  padding: 100px 30px;
  background:
    radial-gradient(circle at 16% 15%, rgba(191, 124, 83, .23), transparent 34%),
    var(--home-forest-dark);
}
.home-closing .kicker { color: #bad6bc; }
.home-closing h2 { max-width: 720px; margin: 12px auto 18px; color: #fffdf8; }
.home-closing .closing-lead { margin: 0 auto 27px; color: #c8d8d0; }
.home-closing .button-light { border-radius: 999px; color: var(--home-forest-dark); }
.home-page .public-footer { border-color: var(--home-line); background: var(--home-paper); }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; gap: 48px; padding-bottom: 104px; }
  .home-hero .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 570px; margin-left: 58px; }
  .home-hero .hero-card { left: -58px; }
  .home-story { grid-template-columns: .9fr 1.1fr; gap: 58px; }
  .seasonal-story { margin-inline: 24px; }
}

@media (max-width: 760px) {
  .home-hero { padding: 56px 20px 76px; }
  .home-hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hero-visual { min-height: 0; margin-left: 0; }
  .hero-visual > img { height: 470px; min-height: 0; border-radius: 100px 22px 22px 22px; }
  .photo-note { top: 14px; right: 14px; }
  .home-hero .hero-card { position: relative; left: auto; bottom: auto; width: calc(100% - 28px); margin: -74px auto 0; transform: none; }
  .home-proof { grid-template-columns: 1fr; padding: 24px 20px 58px; }
  .home-proof > div,
  .home-proof > div:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--home-line); }
  .home-proof > div:first-child { border-top: 0; }
  .home-story { grid-template-columns: 1fr; padding: 70px 20px 84px; }
  .story-photo { width: calc(100% - 18px); }
  .seasonal-story { grid-template-columns: 1fr; margin: 0 20px 78px; border-radius: 22px; }
  .seasonal-photo img { min-height: 340px; max-height: 420px; }
  .seasonal-copy { padding: 40px 28px 46px; }
  .home-page .guides-section,
  .home-page .product-section { padding-top: 78px; padding-bottom: 82px; }
}

@media (max-width: 480px) {
  .home-hero h1 { letter-spacing: -.05em; }
  .home-hero .hero-actions { width: 100%; align-items: stretch; }
  .home-hero .hero-actions .button { text-align: center; }
  .hero-visual > img { height: 390px; }
  .photo-note { display: none; }
  .home-hero .hero-card { width: calc(100% - 16px); padding-inline: 14px; }
  .home-hero .care-item { grid-template-columns: 39px 1fr auto; }
  .home-hero .care-item div strong { font-size: 12px; }
  .home-hero .care-item div small { font-size: 10px; }
  .story-photo::before { inset: 13px -13px -13px 13px; }
  .story-copy h2,
  .seasonal-copy h2,
  .home-page .guides-section h2,
  .home-page .product-section h2,
  .home-closing h2 { font-size: 2.55rem; }
}

/* Site-wide warm brand system — shared by marketing, guides, auth, and workspace. */
:root {
  --ink: #18352f;
  --ink-soft: #52645c;
  --green: #245a48;
  --green-dark: #153a31;
  --cream: #f5f0e7;
  --paper: #fffdf8;
  --sage: #dfe7d7;
  --pale: #edf1e8;
  --mint: #dfe7d7;
  --line: #d8d0c2;
  --muted: #68756e;
  --gold: #bd5c3a;
  --gold-bg: #f4e0d3;
  --shadow: 0 16px 42px rgba(45, 61, 49, .08);
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-header {
  border-color: rgba(216, 208, 194, .82);
  background: rgba(255, 253, 248, .95);
  box-shadow: 0 8px 26px rgba(54, 62, 48, .05);
}

.public-logo,
.public-logo .logo-word { color: var(--ink); }
.public-header nav a,
.public-footer a { color: #596961; }
.public-header nav a:hover,
.public-header nav a[aria-current="page"] { background: #e9ede2; color: var(--green); }
.header-cta,
.button-primary,
.phone-content button,
.button:not(.button-text):not(.button-light),
.primary-button {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 9px 22px rgba(36, 90, 72, .17);
}
.header-cta:hover,
.button-primary:hover,
.phone-content button:hover,
.button:not(.button-text):not(.button-light):hover,
.primary-button:hover { background: var(--green-dark); }
.public-footer { border-color: var(--line); background: var(--paper); color: var(--muted); }
.public-footer .footer-links a { color: var(--green); }

.kicker,
.eyebrow,
.text-link,
.read-link,
.app-link,
.breadcrumb a,
.sources a { color: var(--green); }

/* The interior story now follows the copy height instead of creating empty space. */
.home-story {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  padding-top: 68px;
  padding-bottom: 82px;
}
.story-photo { width: 100%; max-width: 540px; justify-self: start; }
.story-photo img { aspect-ratio: 1.08; object-position: center 53%; }

/* Public story and learning routes. */
.page,
.account-preview { color: var(--ink); }
.page h1,
.page h2,
.workflow-hero h1,
.workflow-steps h2,
.account-copy h2,
.honest-note h2,
.published-guide h2,
.cluster-grid h3,
.legal-page h1,
.legal-page h2 {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
}
.page h1,
.workflow-hero h1,
.legal-page h1 { letter-spacing: -.05em; }
.page h2,
.workflow-steps h2,
.account-copy h2 { letter-spacing: -.035em; }
.lead,
.page > p,
.workflow-hero p:not(.kicker),
.workflow-steps p,
.account-copy p,
.legal-page p,
.legal-page li { color: var(--muted); }

.workflow-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(189, 92, 58, .11), transparent 29%),
    linear-gradient(145deg, #f8f3ea 0%, #f1ebdf 100%);
}
.workflow-hero h1 em { color: var(--gold); }
.phone-frame,
.phone-frame::before { border-color: var(--green-dark); background: var(--green-dark); }
.phone-frame { box-shadow: 20px 28px 62px rgba(31, 51, 41, .22); }
.phone-content { background: var(--cream); }
.scan-window { background: var(--sage); color: var(--green); }
.scan-window::before,
.scan-window::after { border-color: var(--green); }
.capture-fields,
.record-grid div { background: var(--paper); }
.workflow-steps { background: var(--sage); }
.workflow-steps li { border-color: #c6d0be; }
.workflow-steps li > span { color: var(--gold); }
.account-preview { background: var(--cream); }
.web-record,
.fact,
.published-guide,
.cluster-grid article,
.legal-card {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.record-heading,
.record-grid { border-color: var(--line); }
.record-heading > span { background: var(--sage); color: var(--green); }
.record-file,
.honest-note { background: #f4e0d3; color: var(--gold); }
.honest-note p { color: #70584d; }

.library-search {
  border-color: #c9c0b2;
  background: var(--paper);
  color: var(--green);
  box-shadow: 0 10px 28px rgba(54, 62, 48, .045);
}
.published-guide { background: var(--sage); }
.published-guide > span { background: var(--paper); color: var(--green); }
.cluster-grid article { border-radius: 14px; }
.callout,
.library-cta {
  border-color: #c8d1bf;
  background: var(--sage);
}
.button { border-radius: 999px; }

.legal-page { padding-top: 64px; }
.legal-card { border-radius: 22px; }
.legal-note { border-color: #c8d1bf; background: var(--sage); }
.legal-page a:not(.button) { color: var(--green); }

/* Sign-in now feels like the front door to the same home. */
.signin-body {
  background:
    radial-gradient(circle at 12% 20%, rgba(189, 92, 58, .1), transparent 28%),
    linear-gradient(145deg, #f8f3ea 0%, #ede7db 100%);
}
.signin-copy h1,
.signin-card h2 {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
}
.signin-copy h1 { letter-spacing: -.05em; }
.signin-copy > p:not(.kicker),
.signin-card p:not(.kicker),
.field-help,
.local-note { color: var(--muted); }
.signin-card {
  border-color: var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 26px 68px rgba(47, 57, 43, .13);
}
.signin-card input {
  border-color: #c9c0b2;
  background: #fffefa;
  color: var(--ink);
  outline-color: var(--green);
}
.privacy-note { border-color: #c8d1bf; background: var(--sage); }
.privacy-icon,
.signin-switch a,
.text-action { color: var(--green); }
.auth-status { color: var(--green) !important; }

/* Logged-in web app: warm, useful, and quieter than the marketing surface. */
.app-shell {
  background: var(--cream);
  color: var(--ink);
}
.sidebar {
  border-right-color: rgba(255, 255, 255, .08);
  background: var(--green-dark);
}
.sidebar .brand { font-family: "Iowan Old Style", Georgia, serif; font-weight: 600; }
.nav-item { color: #bdcbc2; }
.nav-item > .nav-icon { color: #b9d0b1; }
.nav-item:hover { background: rgba(255, 255, 255, .07); }
.nav-item.active {
  border-color: rgba(223, 231, 215, .16);
  background: rgba(223, 231, 215, .13);
}
.household-switcher {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .06);
}
.household-switcher small { color: #aebeb4; }
.feedback-trigger { color: #d9e3da; }
.household-menu { border-color: var(--line); background: var(--paper); box-shadow: 0 20px 46px rgba(24, 45, 35, .28); }

.main-content { background: var(--cream); }
.topbar {
  border-color: rgba(216, 208, 194, .86);
  background: rgba(245, 240, 231, .91);
}
.search,
.icon-button,
.avatar,
.profile-button {
  border-color: var(--line);
  background: rgba(255, 253, 248, .92);
  color: var(--ink);
}
.search { color: #778078; }
.search:focus-within { border-color: #8eaa91; box-shadow: 0 0 0 3px rgba(36, 90, 72, .1); }
.search input { color: var(--ink); }
.avatar,
.profile-button { background: var(--sage); color: var(--green); }
.icon-button i { background: var(--gold); }

.app-shell .page-heading h1,
.app-shell .simple-view h1,
.app-shell .welcome-copy h2,
.app-shell .section-title h2,
.app-shell .category-heading h2,
.app-shell .profile-card h2,
.app-shell .recommendation-card h2,
.app-shell .calendar-board-header strong,
.app-shell .empty-category h3,
.app-shell .document-empty h3,
dialog .dialog-header h2 {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  letter-spacing: -.035em;
}
.app-shell .page-heading h1,
.app-shell .simple-view h1 { letter-spacing: -.045em; }
.subheading,
.welcome-copy > p:last-child { color: var(--muted); }
.app-shell .eyebrow,
.app-shell .text-button { color: var(--green); }

.primary-button {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.secondary-button { border-color: #c9c0b2; background: var(--paper); color: var(--ink); }
.primary-button:focus-visible,
.secondary-button:focus-visible,
.text-button:focus-visible,
.app-shell button:focus-visible,
.app-shell a:focus-visible,
.app-shell input:focus-visible,
.app-shell select:focus-visible { outline-color: rgba(36, 90, 72, .3); }

.welcome-card {
  border-color: #c8d1bf;
  background:
    radial-gradient(circle at 92% 4%, rgba(189, 92, 58, .11), transparent 27%),
    linear-gradient(135deg, #eef2e8 0%, #fffdf8 82%);
  box-shadow: 0 16px 38px rgba(49, 61, 47, .07);
}
.setup-progress { border-color: #c8d1bf; background: rgba(255, 253, 248, .76); }
.setup-progress strong { color: var(--green); }
.setup-progress span { color: var(--muted); }
.setup-step,
.summary-card,
.card,
.asset-checklist,
.maintenance-columns > section,
.calendar-board,
.profile-card,
.saved-profile,
.recommendation-card,
.document-item,
.asset-list-item {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(49, 61, 47, .045);
}
.setup-step .step-number { background: var(--ink); }
.setup-step strong,
.summary-card { color: var(--ink); }
.setup-step small,
.summary-card > small { color: var(--muted); }
.setup-step b,
.summary-card > b,
.summary-icon { color: var(--green); }
.setup-step:hover,
.summary-card:hover,
.asset-list-item:hover,
.document-openable:hover { border-color: #8eaa91; }
.setup-step.complete .step-number { background: var(--green); }
.setup-step.complete { border-color: #b9cbb6; background: #f0f4eb; }
.summary-card.summary-add { border-color: var(--green-dark); background: var(--green-dark); color: #fff; }
.summary-card.summary-add .summary-icon,
.summary-card.summary-add > b { color: #c8d9bd; }
.summary-card.summary-add > small { color: #bdcbc2; }

.category-tabs { border-bottom-color: var(--line); }
.category-tab { color: #6c776f; }
.category-tab:hover { background: #e9ede2; color: var(--green); }
.category-tab.active { background: var(--ink); color: #fff; }
.asset-checklist { border-color: #c8d1bf; background: var(--sage); }
.checklist-item { border-color: #ccd4c6; background: rgba(255, 253, 248, .92); }
.checklist-item:hover { border-color: #8eaa91; }
.empty-category,
.document-empty { border-color: #c9c0b2; background: rgba(255, 253, 248, .72); }
.document-item .doc-category { background: #e9ede2; color: var(--green); }

.maintenance-summary { border-color: var(--line); background: var(--paper); }
.maintenance-summary strong { color: var(--ink); font-family: "Iowan Old Style", Georgia, serif; font-weight: 600; }
.due-chip.amber,
.maintenance-date { background: var(--gold-bg); color: #9f4e35; }
.complete-inline,
.calendar-entry .calendar-status { background: #e9ede2; color: var(--green); }
.maintenance-guidance,
.maintenance-copy p { color: var(--muted); }

.recommended-field,
.climate-icon,
.calendar-entry-date,
.account-avatar { background: var(--sage); color: var(--green); }
.climate-confirmation,
.selected-features-panel { border-color: #c8d1bf; background: #f0f3eb; }
.climate-confirmation strong,
.selected-features-panel > div:first-child strong,
.feature-picker > summary strong { color: var(--ink); }
.climate-confirmation > div > small,
.climate-confirmation > div > span,
.selected-features-panel > div:first-child span,
.feature-picker > summary small,
.selected-feature-list > p { color: var(--muted); }
.climate-confirmation summary,
.feature-picker,
.selected-feature-list button { border-color: var(--line); background: var(--paper); color: var(--green); }
.system-groups { border-color: #ded8cc; }
.system-group legend { color: #465d52; }
.system-options label { border-color: var(--line); background: #faf7f0; color: var(--ink); }
.system-options label:hover { border-color: #aab9a6; background: var(--paper); }
.system-options label:has(input:checked) { border-color: var(--green); background: #e9ede2; }
.system-options input[type="checkbox"] { accent-color: var(--green); }
.system-options label.region-suggested::after,
.location-suggestion { color: var(--green); }
.saved-profile,
.recommendation-card,
.calendar-note { border-color: #c8d1bf; background: var(--sage); }

.calendar-entry-date { color: var(--green); }
.calendar-sync-status { background: #f2eee6; color: var(--muted); }
.calendar-sync-status.connected { background: #e9ede2; color: var(--green); }
.copy-field button { border-color: var(--line); background: #f5f0e7; color: var(--green); }
.calendar-help { border-color: var(--line); background: #faf7f0; }

dialog {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(30, 50, 39, .26);
}
dialog::backdrop { background: rgba(21, 45, 36, .48); }
.close-button { border-color: var(--line); background: var(--cream); color: var(--ink); }
.close-button:hover { border-color: #aab9a6; background: var(--sage); }
dialog label { color: var(--ink); }
dialog input,
dialog select,
.profile-card input,
.profile-card select { border-color: #c9c0b2; background: #fffefa; color: var(--ink); }
.add-option { border-color: var(--line); background: #faf7f0; }
.add-option.selected { border-color: var(--green); background: #e9ede2; }
.asset-scan { border-color: #bfc9b9; background: #f0f3eb; }
.account-card { border-color: var(--line); background: #faf7f0; }
.notification-panel,
.workspace-search-results { border-color: var(--line); background: var(--paper); box-shadow: 0 20px 52px rgba(30, 50, 39, .18); }
.notification-item > span { background: var(--sage); color: var(--green); }
.search-result:hover { background: #e9ede2; }
.search-result span { color: var(--green); }
.toast { background: var(--green-dark); }

.document-capture {
  border-color: #bfc9b9;
  background: linear-gradient(145deg, #faf7f0, #e9ede2);
}
.scan-symbol { background: var(--green-dark); color: #c8d9bd; }
.document-scanning { border-color: var(--line); background: #faf7f0; }
.scan-loader { border-color: #d4decd; border-top-color: var(--green); }
.scan-result { border-color: #b9cbb6; background: #e9ede2; }
.scan-result > b { background: var(--green); }

.development-banner {
  border-color: #e0c99b;
  background: #fff7e7;
  color: #6f592c;
}

@media (max-width: 760px) {
  .home-story { padding-top: 54px; padding-bottom: 68px; }
  .story-photo { max-width: none; }
  .story-photo img { aspect-ratio: .98; }
}

/* Tighter homepage story composition. */
.home-story {
  align-items: start;
  gap: clamp(44px, 6vw, 82px);
  padding-top: 34px;
  padding-bottom: 48px;
}
.story-photo { align-self: start; }
.story-photo img { aspect-ratio: 1.24; object-position: center 55%; }
.story-copy { padding-top: 8px; }
.story-list { margin-block: 22px; }

/* Fully linked knowledge topics. */
.cluster-grid .cluster-card {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 11px 28px rgba(49, 61, 47, .045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cluster-grid .cluster-card:hover {
  transform: translateY(-3px);
  border-color: #9dae99;
  box-shadow: 0 17px 38px rgba(49, 61, 47, .1);
}
.cluster-grid .cluster-card > span { color: var(--gold); }
.cluster-grid .cluster-card h3 {
  margin: 20px 0 7px;
  color: var(--ink);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.14rem;
  font-weight: 600;
}
.cluster-grid .cluster-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.cluster-grid .cluster-card b { margin-top: auto; padding-top: 20px; color: var(--green); font-size: .75rem; }

.topic-page { max-width: 1080px; }
.topic-page > .lead { max-width: 760px; }
.topic-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.topic-summary > div { padding: 20px; background: var(--paper); }
.topic-summary small,
.topic-summary strong { display: block; }
.topic-summary small { color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.topic-summary strong { margin-top: 6px; color: var(--ink); font-family: "Iowan Old Style", Georgia, serif; font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.topic-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 64px; align-items: start; }
.topic-content > section { margin-top: 0; padding: 0 0 34px; }
.topic-content > section + section { padding-top: 34px; border-top: 1px solid var(--line); }
.topic-content h2 { margin: 0 0 13px; }
.topic-content p { color: var(--muted); line-height: 1.72; }
.topic-content ul { margin: 17px 0 0; padding-left: 20px; color: var(--muted); }
.topic-content li { padding-left: 5px; line-height: 1.62; }
.topic-content li + li { margin-top: 9px; }
.topic-plan {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid #c8d1bf;
  border-radius: 20px;
  background: var(--sage);
}
.topic-plan h2 { margin: 7px 0 12px; font-size: 1.65rem; }
.topic-plan ol,
.topic-plan ul { margin: 0; padding-left: 20px; color: #52645c; }
.topic-plan li { padding-left: 4px; font-size: .88rem; line-height: 1.5; }
.topic-plan li + li { margin-top: 9px; }
.topic-plan .button { margin-top: 20px; }
.topic-related { margin-top: 62px; padding-top: 42px; border-top: 1px solid var(--line); }
.topic-related > h2 { margin: 7px 0 20px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-card {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.related-card:hover { border-color: #9dae99; }
.related-card small { color: var(--gold); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.related-card strong { font-family: "Iowan Old Style", Georgia, serif; font-size: 1.08rem; }
.related-card span { color: var(--green); font-size: .76rem; font-weight: 750; }
.topic-sources { margin-top: 54px; padding: 25px; border-radius: 18px; background: #eee8dd; }
.topic-sources h2 { margin: 0 0 10px; font-size: 1.35rem; }
.topic-sources p { margin: 0 0 12px; color: var(--muted); font-size: .86rem; }
.topic-sources ul { margin: 0; padding-left: 19px; }
.topic-sources li { color: var(--muted); font-size: .82rem; line-height: 1.55; }
.topic-sources li + li { margin-top: 7px; }
.topic-sources a { color: var(--green); font-weight: 750; }

@media (max-width: 760px) {
  .home-story { gap: 36px; padding-top: 26px; padding-bottom: 42px; }
  .story-photo img { aspect-ratio: 1.16; }
  .topic-summary { grid-template-columns: 1fr; }
  .topic-layout { grid-template-columns: 1fr; gap: 38px; }
  .topic-plan { position: static; }
}

@media (max-width: 520px) {
  .related-grid { grid-template-columns: 1fr; }
}
