:root {
  --color-paper: #fbfbfb;
  --color-white: #fdfdfd;
  --color-cream: #f4f3f2;
  --color-evergreen: #04281b;
  --color-forest: #1c3d2b;
  --color-sage: #b0b0a3;
  --color-gold: #d58b00;
  --color-gold-soft: #fff3dc;
  --color-green-soft: #e9f4e9;
  --color-blue-soft: #e9f3ff;
  --color-border: #e6e3df;
  --color-text: #17231d;
  --color-muted: #687069;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;
  --shadow-soft: 0 8px 24px rgba(4, 40, 27, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(213, 139, 0, 0.55);
  outline-offset: 3px;
}

.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: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}

.sidebar {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 16px 0;
  color: #fff;
  background: linear-gradient(155deg, #053424 0%, var(--color-evergreen) 68%, #003a2d 100%);
}

.brand {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 8px 24px;
}

.brand img {
  width: 210px;
}

.brand span {
  display: block;
  margin: 5px 0 0 39px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.primary-nav {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.primary-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 9px 14px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: #fff;
  background: rgba(126, 157, 67, 0.28);
}

.primary-nav img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

.insight-card {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 9px;
  margin: 22px 6px 0;
  padding: 16px 14px;
  border: 1px solid rgba(213, 139, 0, 0.7);
  border-radius: 10px;
  background: rgba(1, 44, 31, 0.78);
}

.insight-card > img {
  width: 22px;
  height: 25px;
  object-fit: contain;
}

.insight-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
}

.insight-card p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.45;
}

.insight-card a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(43, 104, 62, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.insight-card svg {
  width: 15px;
  height: 15px;
}

.sidebar-photo {
  min-height: 250px;
  margin: auto -16px 0;
  background-image: linear-gradient(180deg, rgba(4, 40, 27, 0.08), rgba(4, 40, 27, 0.74)), url("assets/johnson-family-house-photo.png");
  background-size: cover;
  background-position: center top;
}

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

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

.global-search {
  width: min(430px, 40vw);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: #fff;
}

.global-search input,
.customer-search input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 14px;
}

.global-search svg,
.customer-search svg {
  flex: 0 0 auto;
}

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

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

.date-button .chevron {
  width: 16px;
  height: 16px;
}

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

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

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

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

.account div {
  display: grid;
}

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

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

.account > svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 22px 40px;
}

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

.page-heading h1 {
  margin: 0;
  color: var(--color-evergreen);
  font-family: var(--font-heading);
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.05;
}

.page-heading p {
  margin: 5px 0 0;
  color: #4f5852;
  font-size: 16px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 17px;
  border-radius: 7px;
  color: #fff;
  background: var(--color-evergreen);
  box-shadow: 0 5px 14px rgba(4, 40, 27, 0.2);
  font-size: 15px;
  font-weight: 700;
}

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

.customers-layout {
  display: grid;
  grid-template-columns: minmax(310px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.customer-directory,
.profile-card,
.info-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.customer-directory {
  overflow: hidden;
}

.directory-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
}

.customer-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

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

.sort-row {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sort-row button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.sort-row svg {
  width: 17px;
  height: 17px;
}

.customer-list {
  display: grid;
  gap: 2px;
  padding: 8px;
}

.customer-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid transparent;
  border-bottom-color: #ececea;
  border-radius: 0;
  background: #fff;
}

.customer-row:last-child {
  border-bottom-color: transparent;
}

.customer-row.is-selected {
  border-color: #8aa78d;
  border-radius: 7px;
  background: #f1f6ef;
}

.customer-row.is-selected + .customer-row {
  border-top-color: transparent;
}

.customer-row > img {
  width: 82px;
  height: 58px;
  border-radius: 5px;
  object-fit: cover;
  object-position: center top;
}

.customer-row h2 {
  margin: 0;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-row p {
  margin: 2px 0 4px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.status.active {
  color: #1f6135;
  background: var(--color-green-soft);
}

.status.proposal {
  color: #9a5b00;
  background: var(--color-gold-soft);
}

.status.lead {
  color: #2163a0;
  background: var(--color-blue-soft);
}

.customer-value {
  align-self: start;
  display: grid;
  justify-items: end;
  gap: 4px;
}

.customer-value strong {
  font-size: 13px;
}

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

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 11px;
}

.pagination nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pagination a,
.pagination nav span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 5px;
}

.pagination a.current {
  border: 1px solid var(--color-border);
  color: var(--color-evergreen);
  background: #fff;
  font-weight: 700;
}

.customer-detail {
  min-width: 0;
}

.profile-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 205px;
  gap: 17px;
  padding: 17px;
}

.profile-house {
  width: 100%;
  height: 202px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.profile-copy {
  min-width: 0;
}

.profile-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-title h2 {
  margin: 0;
  color: var(--color-evergreen);
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}

.profile-title img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.profile-copy > p {
  margin: 5px 0;
  color: #3f4742;
  font-size: 13px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 15px 0;
}

.tag-list span {
  padding: 4px 6px;
  border: 1px solid #eadfcf;
  border-radius: 4px;
  background: #fffaf3;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.profile-copy address {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-style: normal;
}

.profile-copy address span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-copy address svg {
  width: 15px;
  height: 15px;
}

.profile-copy address img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.quick-actions {
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: #fff;
}

.quick-actions h3 {
  margin: 0 0 2px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
}

.quick-actions a,
.quick-actions button {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  border: 1px solid var(--color-evergreen);
  border-radius: 5px;
  color: #fff;
  background: var(--color-evergreen);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.quick-actions button {
  color: var(--color-text);
  border-color: var(--color-border);
  background: #fff;
}

.quick-actions svg {
  width: 15px;
  height: 15px;
}

.detail-tabs {
  overflow-x: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 13px 0 15px;
  padding: 0 12px;
  border-bottom: 1px solid var(--color-border);
  scrollbar-width: thin;
}

.detail-tabs a {
  flex: 0 0 auto;
  padding: 13px 4px 11px;
  border-bottom: 2px solid transparent;
  color: #4e5651;
  font-size: 12px;
  white-space: nowrap;
}

.detail-tabs a.is-active {
  border-color: var(--color-evergreen);
  color: var(--color-evergreen);
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(188px, 0.85fr) minmax(255px, 1.27fr) minmax(285px, 1.61fr);
  align-items: start;
  gap: 15px;
}

.detail-column {
  min-width: 0;
  display: grid;
  gap: 13px;
}

.info-card {
  min-width: 0;
  padding: 13px 12px;
}

.info-card > h2,
.info-card header h2 {
  margin: 0;
  color: var(--color-evergreen);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}

.info-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.info-card > header a {
  color: var(--color-forest);
  font-size: 10px;
  white-space: nowrap;
}

.info-card dl {
  display: grid;
  gap: 14px;
  margin: 15px 0 0;
}

.info-card dl div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 6px;
}

.info-card dt {
  color: var(--color-muted);
  font-size: 8px;
}

.info-card dd {
  margin: 0;
  font-size: 9px;
  line-height: 1.45;
}

.value-card dl div {
  grid-template-columns: 1fr auto;
}

.value-card dd {
  font-weight: 700;
  text-align: right;
}

.value-callout {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 8px;
  border: 1px solid #eccb96;
  border-radius: 7px;
  background: #fff9ed;
}

.value-callout img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

.value-callout div {
  min-width: 0;
  display: grid;
}

.value-callout strong {
  font-size: 10.5px;
  white-space: nowrap;
}

.value-callout span {
  color: var(--color-muted);
  font-size: 9px;
}

.compact-list,
.proposal-list,
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid #eeeae5;
  font-size: 10px;
}

.compact-list li:first-child,
.proposal-list li:first-child {
  border-top: 0;
}

.compact-list strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-list > li > span {
  color: var(--color-muted);
  white-space: nowrap;
}

.compact-list .status {
  font-size: 8px;
}

.proposal-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid #eeeae5;
}

.proposal-list div {
  min-width: 0;
  display: grid;
}

.proposal-list strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.proposal-list b {
  font-size: 10px;
}

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

.mockup-grid figure {
  min-width: 0;
  margin: 0;
}

.mockup-grid figure > img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
}

.mockup-grid figcaption {
  display: grid;
  padding: 6px 4px 0;
  text-align: center;
}

.mockup-grid strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.notes-card blockquote {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ece3d7;
  border-radius: 6px;
  background: #fffcf8;
}

.notes-card blockquote p {
  margin: 0 0 7px;
  font-size: 10px;
  line-height: 1.45;
}

.notes-card blockquote footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #3f4742;
  font-size: 9px;
}

.outline-action {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  color: var(--color-evergreen);
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline li {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.timeline-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-forest);
  background: #edf3ed;
}

.timeline-icon svg {
  width: 15px;
  height: 15px;
}

.timeline div {
  min-width: 0;
  display: grid;
}

.timeline strong {
  font-size: 10px;
}

.timeline div span {
  overflow: hidden;
  color: var(--color-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline time {
  color: var(--color-muted);
  font-size: 8px;
  white-space: nowrap;
}

.site-footer {
  flex: 0 0 auto;
  width: 100%;
}

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

  .sidebar {
    padding-inline: 12px;
  }

  .brand img {
    width: 185px;
  }

  .customers-layout {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .profile-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .profile-house {
    height: 185px;
  }

  .quick-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quick-actions h3 {
    grid-column: 1 / -1;
  }

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

  .detail-column:last-child {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .sidebar {
    min-height: auto;
    padding: 14px 18px;
  }

  .brand {
    padding: 0;
  }

  .brand img {
    width: 190px;
  }

  .brand span,
  .insight-card,
  .sidebar-photo {
    display: none;
  }

  .primary-nav {
    overflow-x: auto;
    display: flex;
    gap: 6px;
    margin-top: 14px;
    padding-bottom: 3px;
  }

  .primary-nav a {
    flex: 0 0 auto;
    min-height: 39px;
    padding: 7px 11px;
    font-size: 14px;
  }

  .primary-nav img {
    width: 18px;
    height: 18px;
  }

  .topbar {
    padding-inline: 20px;
  }

  .account div,
  .account > svg {
    display: none;
  }

  .customers-layout {
    grid-template-columns: 1fr;
  }

  .customer-directory {
    max-height: 720px;
    overflow-y: auto;
  }

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

@media (max-width: 720px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .global-search {
    width: 100%;
  }

  .topbar-actions {
    justify-content: space-between;
  }

  .date-button {
    flex: 1;
    justify-content: center;
  }

  main {
    padding-inline: 14px;
  }

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

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

  .primary-button {
    width: 100%;
  }

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

  .profile-house {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .quick-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .quick-actions h3 {
    grid-column: auto;
  }

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

  .detail-column:last-child {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

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

  .primary-nav a {
    gap: 7px;
  }

  .topbar-actions {
    gap: 8px;
  }

  .date-button {
    font-size: 12px;
  }

  .notification-button {
    margin-left: auto;
  }

  .account img {
    width: 38px;
    height: 38px;
  }

  .directory-tools {
    grid-template-columns: 1fr;
  }

  .secondary-button {
    min-height: 42px;
    justify-content: center;
  }

  .customer-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .customer-row > img {
    width: 72px;
    height: 54px;
  }

  .customer-value {
    grid-column: 2;
    grid-row: 2;
    justify-items: start;
    grid-auto-flow: column;
  }

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

  .compact-list li,
  .proposal-list li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .compact-list li em,
  .proposal-list li em {
    grid-column: 2;
  }

  .timeline li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .timeline time {
    grid-column: 2;
  }
}

/* ===== 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;}
