:root {
  --color-page: #fbfbfb;
  --color-surface: #fdfdfd;
  --color-surface-soft: #f4f3f2;
  --color-evergreen: #04281b;
  --color-evergreen-light: #1c3d2b;
  --color-muted: #6d716e;
  --color-border: #e5e6e3;
  --color-sage: #e8f1e9;
  --color-gold: #d5890a;
  --color-gold-soft: #fff1d5;
  --color-white: #fbfcfc;
  --color-neutral: #b0b0a3;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;
  --shadow-card: 0 2px 8px rgba(4, 40, 27, 0.045);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(213, 137, 10, 0.55);
}

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

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
address {
  margin: 0;
}

h1,
h2 {
  color: #152019;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
}

h3 {
  line-height: 1.25;
}

address {
  font-style: normal;
}

.app-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}

.sidebar {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--color-white);
  background: radial-gradient(circle at 95% 38%, #0d4934 0, transparent 33%), linear-gradient(145deg, #003326, #00291f 70%);
  border-radius: 0 0 10px 0;
}

.brand {
  width: 216px;
  margin: 27px auto 32px;
}

.brand img {
  width: 100%;
}

.primary-nav {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 0 17px;
}

.primary-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}

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

.primary-nav a.is-active {
  color: #ffd223;
  background: rgba(104, 153, 54, 0.27);
}

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

.sidebar-insight {
  position: relative;
  z-index: 2;
  margin: 36px 22px 0;
  padding: 18px;
  border: 1px solid rgba(222, 172, 58, 0.65);
  border-radius: 10px;
  background: rgba(4, 40, 27, 0.64);
}

.sidebar-insight h2 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

.sidebar-insight p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.sidebar-insight a {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(42, 100, 64, 0.52);
  font-size: 14px;
  font-weight: 600;
}

.sidebar-house {
  width: 100%;
  min-height: 260px;
  margin-top: auto;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%);
  mask-image: linear-gradient(to bottom, transparent, #000 24%);
}

.workspace {
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 30px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(253, 253, 253, 0.95);
}

.search {
  width: min(405px, 38vw);
  position: relative;
}

.search svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

.search input {
  width: 100%;
  min-height: 43px;
  padding: 9px 14px 9px 43px;
  color: #29322d;
  border: 1px solid #dedfdd;
  border-radius: 7px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.account-tools {
  display: flex;
  align-items: center;
  gap: 19px;
}

.date-button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  border: 1px solid #dedfdd;
  border-radius: 7px;
  background: var(--color-surface);
  cursor: pointer;
}

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

.notification-button {
  position: relative;
  display: grid;
  place-items: center;
  padding: 7px;
  color: #121814;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

.notification-button span {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: var(--color-gold);
  font-size: 12px;
  font-weight: 700;
}

.account {
  display: flex;
  align-items: center;
  gap: 11px;
}

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

.account div {
  display: grid;
  min-width: 150px;
}

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

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

.account svg {
  width: 18px;
  height: 18px;
}

.main-content {
  width: 100%;
  max-width: 1280px;
  flex: 1;
  margin: 0 auto;
  padding: 17px 22px 38px;
}

.page-heading {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.title-wrap h1 {
  font-size: clamp(30px, 2.4vw, 38px);
}

.back-link {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.back-link svg {
  width: 24px;
  height: 24px;
}

.action-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #dedfdd;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

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

.button.primary {
  color: white;
  border-color: var(--color-evergreen);
  background: var(--color-evergreen);
  box-shadow: 0 3px 8px rgba(4, 40, 27, 0.18);
}

.button.secondary {
  color: #252b27;
  background: var(--color-surface);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(26, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.card {
  min-width: 0;
  padding: 15px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.card h2 {
  font-size: 15px;
}

.card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 14px;
}

.card-heading > h2 {
  min-width: 0;
  white-space: nowrap;
}

.card-heading > a {
  flex: 0 0 auto;
  color: #075331;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Right rail: Timeline, Preferred Install Dates, Payment + Billing */
.timeline-card,
.dates-card,
.billing-stack {
  grid-column: 21 / 27;
}

/* Main area (columns 1-20) */
.client-card {
  grid-column: 1 / 9;
}

.contacts-card {
  grid-column: 9 / 15;
  display: flex;
  flex-direction: column;
}

.property-card {
  grid-column: 15 / 21;
}

.service-card {
  grid-column: 1 / 6;
}

.proposal-card {
  grid-column: 6 / 11;
}

.spend-card {
  grid-column: 11 / 16;
}

.renewal-card {
  grid-column: 16 / 21;
}

.notes-card {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
}

.materials-card {
  grid-column: 6 / 11;
}

.mockups-card {
  grid-column: 11 / 21;
}

.billing-stack {
  display: grid;
  gap: 12px;
}

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

.client-title-row h2 {
  font-size: 25px;
}

.client-title-row address {
  margin-top: 6px;
  color: #4e5551;
  font-size: 14px;
  line-height: 1.45;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.status.green {
  color: #165832;
  background: var(--color-sage);
}

.status.gold {
  color: #b56800;
  background: var(--color-gold-soft);
}

.status.neutral {
  color: #545852;
  background: #f1efe9;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 13px;
}

.property-photo {
  width: 100%;
  aspect-ratio: 16 / 8.9;
  border-radius: 7px;
  object-fit: cover;
  object-position: center;
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.client-stats div {
  position: relative;
  min-width: 0;
  padding-left: 22px;
}

.client-stats img,
.client-stats svg {
  position: absolute;
  top: 1px;
  left: 0;
  width: 15px;
  height: 15px;
  object-fit: contain;
  color: #3f4843;
}

.client-stats div:nth-child(2) svg {
  color: #1f7a4d;
}

.client-stats dt {
  color: var(--color-muted);
  font-size: 11px;
  white-space: nowrap;
}

.client-stats dd {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.contact-list {
  display: grid;
}

.contact {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 2px 0 14px;
  border-bottom: 1px solid var(--color-border);
}

.contact + .contact {
  padding-top: 14px;
}

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

.contact h3 {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
}

.contact h3 .status {
  margin-left: 4px;
  padding: 2px 6px;
  vertical-align: 1px;
}

.contact div > a {
  display: block;
  overflow: hidden;
  color: #555c58;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-actions a {
  color: #0d5233;
}

.contact-actions svg {
  width: 18px;
  height: 18px;
}

.add-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  color: #0d5233;
  font-size: 13px;
  font-weight: 600;
}

.add-contact svg {
  width: 21px;
  height: 21px;
}

.detail-list {
  display: grid;
}

.detail-list div {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 7px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.detail-list dt,
.detail-list dd {
  color: #5f6561;
  font-size: 12px;
}

.color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ffda86;
  vertical-align: -1px;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 4px 0 12px;
  list-style: none;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 25px;
  left: 15px;
  width: 1px;
  background: #d9dfda;
}

.timeline-list li {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 11px;
}

.timeline-list img {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.timeline-list li > svg {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 31px;
  height: 31px;
  padding: 7px;
  border-radius: 50%;
  background: #e4efe6;
  color: #1f5b3a;
}

.timeline-list div {
  display: grid;
  align-content: start;
}

.timeline-list time,
.timeline-list span {
  color: #5e6661;
  font-size: 12px;
}

.timeline-list strong {
  margin: 2px 0;
  font-size: 13px;
}

.text-link {
  display: inline-block;
  margin-top: 13px;
  color: #075331;
  font-size: 13px;
  font-weight: 600;
}

.service-list {
  display: grid;
}

.service-list article {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-list article > div:last-child {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 5px;
}

.service-list h3,
.service-list p,
.service-list strong {
  font-size: 13px;
}

.service-list time {
  color: var(--color-muted);
  font-size: 11px;
}

.service-list .status {
  padding: 2px 5px;
  font-size: 10px;
}

.proposal-summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--color-border);
  border-radius: 7px 7px 0 0;
}

.proposal-summary div {
  display: grid;
  justify-items: start;
}

.proposal-summary div:last-child {
  justify-items: end;
}

.proposal-summary strong {
  font-size: 12px;
}

.proposal-summary span:not(.status) {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 11px;
}

.check-list {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: solid var(--color-border);
  border-width: 0 1px 1px;
  border-radius: 0 0 7px 7px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4d5550;
  font-size: 12px;
}

.check-list svg {
  width: 14px;
  height: 14px;
  color: #167045;
}

.spend-total {
  display: block;
  color: #0b5937;
  font-size: 22px;
  line-height: 1.2;
}

.spend-caption {
  color: var(--color-muted);
  font-size: 12px;
}

.chart {
  height: 145px;
  display: grid;
  grid-template-columns: 30px repeat(3, 1fr);
  align-items: end;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.axis {
  height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 10px;
}

.bar-group {
  height: 124px;
  display: grid;
  grid-template-rows: 20px 1fr 17px;
  justify-items: center;
  align-items: end;
}

.bar-group span,
.bar-group small {
  font-size: 10px;
}

.bar-group i {
  width: 21px;
  height: var(--bar-height);
  display: block;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#0c6a40, #2a8d5a);
}

.renewal-panel {
  position: relative;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.renewal-panel dl {
  width: 62%;
  display: grid;
}

.renewal-panel dl div {
  padding: 7px 0;
  border-bottom: 1px solid var(--color-border);
}

.renewal-panel dl div:last-child {
  border-bottom: 0;
}

.renewal-panel dt {
  color: var(--color-muted);
  font-size: 10px;
}

.renewal-panel dd {
  font-size: 12px;
  font-weight: 600;
}

.amber-text {
  color: #c97300;
}

.likelihood {
  position: absolute;
  right: 9px;
  bottom: 22px;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 7px solid #e8eae7;
  border-right-color: #086139;
  border-top-color: #086139;
  border-radius: 50%;
  transform: rotate(45deg);
}

.likelihood span {
  color: #125b37;
  font-size: 16px;
  font-weight: 700;
  transform: rotate(-45deg);
}

.compact-details {
  display: grid;
  gap: 9px;
}

.compact-details div {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 8px;
}

.compact-details dt,
.compact-details dd {
  font-size: 11px;
}

.compact-details dt {
  color: var(--color-muted);
}

.notes-card {
  display: flex;
  flex-direction: column;
}

.notes-card p {
  color: #505753;
  font-size: 12px;
  line-height: 1.65;
}

.notes-card small {
  margin-top: auto;
  padding-top: 28px;
  color: var(--color-muted);
  font-size: 11px;
}

.materials-list {
  display: grid;
  padding: 0;
  list-style: none;
}

.materials-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--color-border);
}

.materials-list li:last-child {
  border-bottom: 0;
}

.materials-list img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.materials-list div {
  display: grid;
}

.materials-list strong,
.materials-list b {
  font-size: 12px;
}

.materials-list span {
  color: var(--color-muted);
  font-size: 11px;
}

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

.mockup-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  object-fit: cover;
}

.mockup-grid h3 {
  margin-top: 8px;
  font-size: 13px;
}

.mockup-grid time {
  color: var(--color-muted);
  font-size: 11px;
}

.payment-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-info img,
.payment-info .visa-logo {
  width: 42px;
  height: 28px;
  object-fit: contain;
  flex: none;
}

.payment-info p,
.billing-card address {
  color: #3f4843;
  font-size: 12px;
  line-height: 1.55;
}

.payment-info small {
  color: var(--color-muted);
  font-size: 10px;
}

.site-footer {
  flex: 0 0 auto;
}

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

@media (max-width: 1250px) {
  .app-shell {
    grid-template-columns: 236px minmax(0, 1fr);
  }

  .brand {
    width: 190px;
  }

  .account div {
    min-width: 0;
  }

  .action-bar {
    justify-content: flex-start;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .client-card,
  .contacts-card,
  .property-card,
  .timeline-card,
  .service-card,
  .proposal-card,
  .spend-card,
  .renewal-card,
  .dates-card,
  .notes-card,
  .materials-card,
  .billing-stack {
    grid-column: auto;
    grid-row: auto;
  }

  .mockups-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .app-shell {
    display: flex;
    flex-direction: column;
  }

  .sidebar {
    min-height: auto;
    border-radius: 0;
  }

  .brand {
    width: 190px;
    margin: 20px auto;
  }

  .primary-nav {
    display: flex;
    overflow-x: auto;
    padding: 0 16px 16px;
    scrollbar-width: thin;
  }

  .primary-nav a {
    flex: 0 0 auto;
  }

  .sidebar-insight {
    margin: 0 16px 18px;
  }

  .sidebar-house {
    max-height: 260px;
    min-height: 0;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 18px;
  }

  .search {
    width: 100%;
  }

  .account-tools {
    justify-content: space-between;
  }

  .main-content {
    padding: 18px;
  }

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

  .client-card,
  .contacts-card,
  .property-card,
  .timeline-card,
  .service-card,
  .proposal-card,
  .spend-card,
  .renewal-card,
  .dates-card,
  .notes-card,
  .materials-card,
  .mockups-card,
  .billing-stack {
    grid-column: auto;
    grid-row: auto;
  }
}

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

  .account-tools {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .date-button {
    flex: 1 1 220px;
  }

  .account {
    flex: 1 1 190px;
  }

  .page-heading {
    margin-bottom: 18px;
  }

  .action-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .button {
    white-space: normal;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .client-card,
  .contacts-card,
  .property-card,
  .timeline-card,
  .service-card,
  .proposal-card,
  .spend-card,
  .renewal-card,
  .dates-card,
  .notes-card,
  .materials-card,
  .mockups-card,
  .billing-stack {
    grid-column: 1;
  }

  .card {
    padding: 18px;
  }

  .client-stats {
    grid-template-columns: 1fr;
  }

  .client-stats dt {
    white-space: normal;
  }

  .detail-list div {
    grid-template-columns: 40% 60%;
  }

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

/* ===== app consistency: pinned palette (leads ref) ===== */
:root{--color-evergreen:#04281b;--color-gold:#c99216;--color-muted:#677069;--color-background:#fbfbfb;--font-heading:"DM Serif Display",Georgia,serif;}
.sidebar {position: relative;
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 0;
  background: linear-gradient(160deg, #043426 0%, var(--color-evergreen) 65%, #003326 100%);
  color: #fff;}
.brand {display: block;
  width: 100%;
  max-width: 205px;
  margin-bottom: 28px;}
.brand img {display: block;
  width: 100%;
  object-fit: contain;}
.primary-nav {display: grid;
  gap: 5px;
  position: relative;
  z-index: 1;}
.primary-nav a {min-height: 43px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease;}
.primary-nav a:hover {background: rgba(255, 255, 255, 0.08);}
.primary-nav a.active {background: rgba(88, 135, 61, 0.36);
  color: #f4c32c;}
.primary-nav img {width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;}
.insights-card {position: relative;
  z-index: 1;
  margin: 28px 4px 22px;
  padding: 16px;
  border: 1px solid rgba(213, 167, 54, 0.7);
  border-radius: var(--radius-md);
  background: rgba(0, 44, 31, 0.72);
  box-shadow: var(--shadow-sm);}
.insights-card h2 {margin: 0 0 7px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.3;}
.insights-card p {margin: 0 0 13px;
  font-size: 14px;
  line-height: 1.45;}
.insights-card a {width: fit-content;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(19, 81, 57, 0.75);
  font-size: 14px;
  font-weight: 600;}
.insights-card svg {width: 16px;
  height: 16px;}
.sidebar-photo {width: calc(100% + 32px);
  max-width: none;
  min-height: 260px;
  margin: auto -16px 0;
  display: block;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%);}
/* ===== app consistency overrides (leads ref) ===== */
.sidebar{width:236px !important;flex:0 0 236px !important;flex-direction:column !important;box-sizing:border-box !important;padding:22px 16px 0 !important;gap:0 !important;height:100vh !important;max-height:100vh !important;min-height:100vh !important;position:sticky !important;top:0 !important;align-self:start !important;overflow-y:auto !important;overflow-x:hidden !important;scrollbar-width:none !important;}
.sidebar::-webkit-scrollbar{display:none !important;}
.sidebar .primary-nav{margin-top:0 !important;padding-top:0 !important;flex:0 0 auto !important;}
.sidebar .brand{margin:0 0 28px !important;padding:0 !important;display:block !important;flex:0 0 auto !important;}
.sidebar .brand img{width:204px !important;height:auto !important;max-width:204px !important;}
.sidebar .insights-card{flex:0 0 auto !important;}
.sidebar-photo{position:static !important;width:236px !important;max-width:none !important;min-width:236px !important;margin:auto -16px 0 -16px !important;height:260px !important;min-height:260px !important;flex:0 0 260px !important;object-fit:cover !important;object-position:center !important;display:block !important;background:none !important;background-image:none !important;}
.sidebar .primary-nav{flex-direction:column !important;}
.sidebar .primary-nav>a{justify-content:flex-start !important;}
.sidebar .primary-nav>a>span{position:static !important;width:auto !important;height:auto !important;margin:0 !important;overflow:visible !important;clip:auto !important;clip-path:none !important;}
.page-heading h1,.main-content>h1,main h1,.workspace>h1{font-size:39px !important;line-height:1.08 !important;font-weight:400 !important;font-family:var(--font-heading) !important;}
.page-heading p,.page-subtitle{font-size:16px !important;}
.topbar{min-height:72px !important;padding-top:14px !important;padding-bottom:14px !important;align-items:center !important;}
footer,.site-footer,.app-footer{background:var(--color-evergreen) !important;}
[class*="card"],.panel{border-radius:10px;}
