:root {
  --color-page: #f4f3f2;
  --color-surface: #fbfbfb;
  --color-surface-bright: #fdfdfd;
  --color-evergreen: #04281b;
  --color-green: #1c3d2b;
  --color-muted: #6f756f;
  --color-border: #dedfda;
  --color-soft: #eef2ed;
  --color-gold: #d9970b;
  --color-white: #fbfcfc;
  --color-stone: #b0b0a3;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;
  --shadow-card: 0 2px 8px rgba(4, 40, 27, 0.055);
  --radius: 10px;
  --sidebar-width: 240px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-evergreen);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: #15251e;
  background: var(--color-page);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
}

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

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input {
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(217, 151, 11, 0.55);
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
p,
dl,
dd,
figure,
ul,
ol {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  background: var(--color-page);
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--sidebar-width);
  height: 100vh;
  flex: 0 0 var(--sidebar-width);
  display: flex;
  flex-direction: column;
  padding: 28px 20px 24px;
  overflow-y: auto;
  color: var(--color-white);
  background: linear-gradient(180deg, #03291c 0%, #003e2d 100%);
}

.brand {
  display: block;
  margin-bottom: 38px;
}

.brand img {
  width: 190px;
  object-fit: contain;
}

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

.sidebar-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 7px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-nav a.active {
  color: #ffd126;
  background: rgba(106, 155, 72, 0.27);
}

.sidebar-nav svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.insight-card {
  margin-top: auto;
  padding: 18px 16px;
  border: 1px solid rgba(217, 151, 11, 0.65);
  border-radius: 9px;
  background: rgba(1, 47, 33, 0.82);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.insight-card h2 {
  margin-bottom: 8px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
}

.insight-card p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
}

.insight-link svg {
  width: 17px;
  height: 17px;
}

.sidebar-photo {
  height: 150px;
  margin-top: 16px;
  border-radius: 12px;
  background-image: url(assets/sidebar-house.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.app-content {
  min-width: 0;
  min-height: 100vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 28px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(253, 253, 253, 0.96);
  backdrop-filter: blur(12px);
}

.search {
  width: min(390px, 38vw);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: var(--color-surface-bright);
}

.search svg {
  width: 19px;
  height: 19px;
  color: var(--color-muted);
}

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #26362e;
  background: transparent;
  font-size: 15px;
}

.search input::placeholder {
  color: #858a86;
  opacity: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.date-button,
.notification-button,
.account-button {
  border: 0;
  color: #15251e;
  background: transparent;
  cursor: pointer;
}

.date-button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
}

.date-button svg {
  width: 18px;
  height: 18px;
}

.chevron {
  width: 17px !important;
  height: 17px !important;
}

.notification-button {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
}

.notification-button svg {
  width: 23px;
  height: 23px;
}

.notification-button span {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--color-surface-bright);
  border-radius: 999px;
  color: white;
  background: var(--color-gold);
  font-size: 12px;
  font-weight: 700;
}

.account-button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  text-align: left;
}

.account-button img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.account-copy {
  display: grid;
  gap: 1px;
}

.account-copy strong {
  font-size: 15px;
}

.account-copy small {
  color: var(--color-muted);
  font-size: 13px;
}

main {
  position: relative;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.pine-decoration {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 0;
  width: clamp(110px, 12vw, 190px);
  pointer-events: none;
  object-fit: contain;
  object-position: right top;
}

.page-container {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  padding: 18px 0 24px;
}

.page-heading {
  padding: 0 0 16px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: #33433b;
  font-size: 14px;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs svg {
  width: 14px;
  height: 14px;
  color: var(--color-muted);
}

.page-heading h1 {
  margin-bottom: 2px;
  color: var(--color-evergreen);
  font-family: var(--font-heading);
  font-size: clamp(38px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.08;
}

.page-heading p {
  margin-bottom: 0;
  color: #626b66;
  font-size: 16px;
}

.panel {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(253, 253, 253, 0.96);
  box-shadow: var(--shadow-card);
}

.property-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(462px, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.property-card {
  display: grid;
  grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
  overflow: hidden;
}

.property-photo {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  object-position: center;
}

.property-details {
  padding: 16px 18px;
}

.property-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.property-title-row > div {
  min-width: 0;
}

.property-title-row .button {
  flex: 0 0 auto;
}

.property-title-row h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 5px 0 0;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 4px;
  color: #246244;
  background: #e7f2e9;
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  vertical-align: middle;
}

.status-active {
  background: #edf2e9;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.property-detail-grid > div {
  min-height: 54px;
  padding: 8px 10px;
  border-top: 1px solid #e6e7e3;
}

.property-detail-grid dt {
  color: #68726c;
  font-size: 12.5px;
}

.property-detail-grid dd {
  margin-left: 0;
  color: #22342b;
  font-size: 13.5px;
  font-weight: 600;
  overflow-wrap: normal;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 9px;
}

.contact-detail img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button-secondary {
  border: 1px solid #cfd2ce;
  color: #244035;
  background: var(--color-surface-bright);
}

.button-secondary:hover {
  border-color: var(--color-green);
  color: var(--color-white);
  background: var(--color-green);
}

.button svg {
  width: 16px;
  height: 16px;
}

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

.metric-card {
  min-height: 100px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 11px;
}

.metric-card img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
}

.metric-card > div {
  min-width: 0;
}

.metric-card h3 {
  margin-bottom: 4px;
  color: #536059;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.1px;
  line-height: 1.2;
  white-space: nowrap;
}

.metric-card strong {
  display: block;
  color: var(--color-evergreen);
  font-size: 24px;
  line-height: 1.1;
}

.metric-card strong.metric-text {
  padding-top: 3px;
  font-size: 18px;
}

.metric-card p {
  margin: 3px 0 0;
  color: #617069;
  font-size: 13px;
}

.primary-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.86fr) minmax(280px, 1fr) minmax(450px, 1.68fr);
  gap: 14px;
  margin-bottom: 14px;
}

.data-panel,
.preview-panel,
.roofline-panel,
.install-panel,
.landscape-panel,
.record-panel,
.notes-panel,
.design-card {
  padding: 14px;
}

.data-panel h2,
.preview-panel h2,
.roofline-panel h2,
.install-panel h2,
.landscape-panel h2,
.record-panel h2,
.notes-panel h2,
.design-card h2 {
  margin-bottom: 10px;
  color: #1b3026;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
}

.data-list {
  margin-bottom: 10px;
}

.data-list > div {
  min-height: 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 2px;
  border-bottom: 1px solid #e6e7e3;
}

.data-list dt {
  color: #58635d;
  font-size: 13px;
}

.data-list dt { display: flex; align-items: center; gap: 9px; }
.data-list dt .row-ico { width: 15px; height: 15px; flex: none; color: #2f6b47; }


.data-list dd {
  margin-left: 0;
  color: #293c33;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.panel-action {
  float: right;
}

.comparison-images {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 250px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--color-evergreen);
}

.comparison-images img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-evergreen);
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
}

.comparison-handle svg {
  width: 23px;
  height: 23px;
}

.roofline-content {
  display: grid;
  grid-template-columns: minmax(250px, 1.6fr) minmax(170px, 0.8fr);
  gap: 18px;
  align-items: center;
}

.roofline-content > img {
  width: 100%;
  max-height: 235px;
  object-fit: contain;
}

.segment-list {
  margin-bottom: 0;
  padding-left: 27px;
  counter-reset: segment;
  list-style: none;
}

.segment-list li {
  position: relative;
  min-height: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #45534c;
  font-size: 12px;
  counter-increment: segment;
}

.segment-list li::before {
  position: absolute;
  left: -25px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #075337;
  content: counter(segment);
  font-size: 9px;
  font-weight: 700;
}

.segment-list strong {
  color: #293c33;
  font-weight: 600;
  white-space: nowrap;
}

.roofline-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
}

.roofline-footer p {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 0;
  color: #226344;
  font-size: 13px;
  font-weight: 600;
}

.roofline-footer strong {
  font-size: 17px;
}

.secondary-grid {
  display: grid;
  grid-template-columns: 0.92fr 1fr 1.04fr 0.74fr;
  gap: 14px;
  margin-bottom: 14px;
}

.install-panel,
.landscape-panel,
.power-panel,
.bins-panel {
  min-height: 202px;
}

.install-content {
  display: grid;
  grid-template-columns: minmax(115px, 0.95fr) minmax(130px, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.install-content img {
  width: 100%;
  max-height: 108px;
  object-fit: contain;
}

.zone-list,
.product-list {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.zone-list li,
.product-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  color: #536059;
  font-size: 12px;
}

.zone-list li::before,
.product-list li::before {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #4f9b61;
  content: "";
}

.zone-list li:nth-child(2)::before {
  background: #bc9b5d;
}

.zone-list li:nth-child(3)::before {
  background: #5d9ca6;
}

.zone-list li:nth-child(4)::before {
  background: #587fae;
}

.zone-list span,
.product-list span {
  flex: 1;
}

.zone-list strong,
.product-list strong {
  color: #293c33;
  font-weight: 600;
  white-space: nowrap;
}

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

.thumbnail-grid figure {
  margin: 0;
}

.thumbnail-grid img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  border-radius: 7px;
  object-fit: cover;
}

.thumbnail-grid figcaption {
  display: grid;
  margin-top: 5px;
  color: #4c5a53;
  font-size: 11px;
  line-height: 1.3;
}

.thumbnail-grid figcaption strong {
  color: #25382f;
  font-size: 12px;
}

.records-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 1.05fr 0.72fr;
  gap: 14px;
  margin-bottom: 14px;
}

.record-panel,
.notes-panel {
  min-height: 190px;
}

.record-table {
  margin-bottom: 9px;
}

.record-table > div {
  min-height: 27px;
  display: grid;
  grid-template-columns: 42px 1fr 90px auto;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #e6e7e3;
  color: #536059;
  font-size: 11px;
}

.record-table strong,
.record-table b {
  color: #293c33;
  font-weight: 600;
}

.record-table em {
  padding: 2px 5px;
  border-radius: 4px;
  color: #2f704e;
  background: #e6f1e8;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.jobs-table > div {
  grid-template-columns: 1.1fr 1fr auto auto;
}

.record-panel > .button,
.notes-panel > .button {
  display: flex;
  width: max-content;
  margin: 4px auto 0;
}

.product-list {
  margin-bottom: 10px;
}

.product-list li {
  border-bottom: 1px solid #e6e7e3;
  font-size: 12px;
}

.product-list li::before {
  background: var(--color-gold);
}

.product-list li:nth-child(2)::before {
  background: #d0b983;
}

.product-list li:nth-child(3)::before,
.product-list li:nth-child(4)::before {
  background: #436f2b;
}

.notes-panel > p,
.customer-notes p {
  margin-bottom: 10px;
  color: #56635c;
  font-size: 12px;
}

.customer-notes {
  padding-top: 8px;
  border-top: 1px solid #e6e7e3;
}

.customer-notes h3 {
  margin-bottom: 3px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 400;
}

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

.design-content {
  display: grid;
  grid-template-columns: minmax(260px, 1.65fr) minmax(180px, 0.8fr);
  gap: 18px;
}

.design-content > img {
  width: 100%;
  height: 185px;
  border-radius: 8px;
  object-fit: cover;
}

.design-info {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.design-info ul {
  flex: 1;
  margin-bottom: 10px;
  padding-left: 22px;
  list-style: none;
}

.design-info li {
  position: relative;
  padding: 3px 0;
  color: #48564f;
  font-size: 12px;
}

.design-info li::before {
  position: absolute;
  top: 5px;
  left: -20px;
  width: 13px;
  height: 13px;
  border: 1.5px solid #67806f;
  border-radius: 50%;
  content: "";
}

.design-info li::after {
  position: absolute;
  top: 8px;
  left: -16px;
  width: 5px;
  height: 3px;
  border-bottom: 1.5px solid #67806f;
  border-left: 1.5px solid #67806f;
  content: "";
  transform: rotate(-45deg);
}

footer {
  flex: 0 0 auto;
  background: var(--color-evergreen);
}

@media (max-width: 1220px) {
  :root {
    --sidebar-width: 210px;
  }

  .sidebar {
    padding-inline: 14px;
  }

  .brand img {
    width: 175px;
  }

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

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

  .roofline-panel {
    grid-column: 1 / -1;
  }

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

  .design-content {
    grid-template-columns: 1fr;
  }

  .design-content > img {
    height: 220px;
  }
}

@media (max-width: 960px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 16px 20px;
    overflow: visible;
  }

  .brand {
    margin-bottom: 16px;
  }

  .brand img {
    width: 180px;
  }

  .sidebar-nav {
    display: flex;
    gap: 8px;
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .sidebar-nav a {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 8px 11px;
  }

  .sidebar-nav svg {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .insight-card {
    margin-top: 16px;
  }

  .topbar {
    position: relative;
    flex-wrap: wrap;
    padding-inline: 20px;
  }

  .search {
    width: min(100%, 430px);
  }

  .pine-decoration {
    top: 8px;
    width: 120px;
  }

  .page-container {
    width: min(100% - 32px, 900px);
  }

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

  .property-photo {
    max-height: 330px;
  }

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

  .design-content {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .topbar {
    align-items: stretch;
    gap: 10px;
  }

  .search {
    width: 100%;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .date-button {
    flex: 1;
  }

  .account-copy {
    display: none;
  }

  .pine-decoration {
    opacity: 0.5;
  }

  .page-heading h1 {
    font-size: 42px;
  }

  .property-title-row {
    flex-direction: column;
  }

  .property-detail-grid,
  .metric-grid,
  .primary-grid,
  .secondary-grid,
  .records-grid {
    grid-template-columns: 1fr;
  }

  .roofline-panel {
    grid-column: auto;
  }

  .metric-card {
    min-height: 96px;
  }

  .comparison-images {
    min-height: 220px;
  }

  .comparison-images img {
    min-height: 220px;
  }

  .roofline-content {
    grid-template-columns: 1fr;
  }

  .segment-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }

  .install-panel,
  .landscape-panel,
  .power-panel,
  .bins-panel,
  .record-panel,
  .notes-panel {
    min-height: 0;
  }

  .design-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .sidebar {
    padding-inline: 14px;
  }

  .sidebar-nav a span {
    font-size: 14px;
  }

  .topbar {
    padding-inline: 14px;
  }

  .date-button span {
    font-size: 13px;
  }

  .page-container {
    width: min(100% - 20px, 440px);
  }

  .page-heading {
    padding-top: 4px;
  }

  .page-heading h1 {
    font-size: 38px;
  }

  .page-heading p {
    font-size: 15px;
  }

  .property-details,
  .data-panel,
  .preview-panel,
  .roofline-panel,
  .install-panel,
  .landscape-panel,
  .record-panel,
  .notes-panel,
  .design-card {
    padding: 12px;
  }

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

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

  .metric-card {
    display: block;
  }

  .metric-card img {
    margin-bottom: 8px;
  }

  .comparison-images {
    min-height: 190px;
  }

  .comparison-images img {
    min-height: 190px;
  }

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

  .roofline-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .roofline-footer p {
    justify-content: space-between;
  }

  .install-content {
    grid-template-columns: 1fr;
  }

  .install-content img {
    max-height: 150px;
  }

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

  .thumbnail-grid img {
    aspect-ratio: 2 / 1;
  }

  .record-table > div,
  .jobs-table > div {
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
    padding-block: 8px;
  }

  .design-content > img {
    height: 185px;
  }
}