:root {
  --color-background: #fbfbfb;
  --color-surface: #fdfdfd;
  --color-surface-soft: #f4f3f2;
  --color-evergreen: #04281b;
  --color-green: #1c3d2b;
  --color-muted: #6d726e;
  --color-border: #e4e6e3;
  --color-gold: #e5a900;
  --color-red: #e34d42;
  --color-orange: #f07c24;
  --color-white: #fbfcfc;
  --color-taupe: #b0b0a3;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;
  --shadow-card: 0 2px 10px rgba(4, 40, 27, 0.045);
}

* {
  box-sizing: border-box;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(229, 169, 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);
  flex: 1;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 27px 17px 24px;
  overflow-y: auto;
  color: var(--color-white);
  background: radial-gradient(circle at 60% 35%, #075039 0, transparent 42%), linear-gradient(160deg, #063d2b 0%, #022b20 52%, #031f18 100%);
}

.brand {
  display: block;
  width: min(100%, 205px);
  padding: 0 3px;
}

.brand img {
  width: 100%;
  object-fit: contain;
}

.primary-nav {
  display: grid;
  gap: 4px;
}

.primary-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  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 {
  color: #fff;
  background: rgba(71, 122, 72, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

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

.insight-card {
  margin-top: auto;
  padding: 17px;
  border: 1px solid rgba(229, 169, 0, 0.65);
  border-radius: 9px;
  background: rgba(3, 42, 30, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.insight-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.insight-title img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.insight-title h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
}

.insight-card p {
  margin: 11px 0 13px;
  font-size: 13px;
  line-height: 1.45;
}

.sidebar-button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(24, 86, 54, 0.85);
  font-size: 13px;
  font-weight: 700;
}

.sidebar-button svg {
  width: 15px;
  height: 15px;
}

.sidebar-photo {
  flex: none;
  height: 150px;
  border-radius: 12px;
  background: url(assets/sidebar-house.png) center / cover no-repeat;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

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

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

.global-search {
  width: min(410px, 42%);
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.global-search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.global-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--color-evergreen);
  background: transparent;
  font-size: 14px;
}

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

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

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

.notification-button {
  position: relative;
  width: 35px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  color: #17201d;
  background: transparent;
  cursor: pointer;
}

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

.notification-button span {
  position: absolute;
  top: -3px;
  right: -2px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--color-white);
  border-radius: 999px;
  color: #fff;
  background: #dc8d00;
  font-size: 10px;
  font-weight: 700;
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  color: #142019;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

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

.profile-button > svg {
  width: 16px;
  height: 16px;
}

.profile-copy {
  display: grid;
  min-width: 156px;
}

.profile-copy strong {
  font-size: 14px;
}

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

.main-content {
  flex: 1;
  min-width: 0;
  padding: 20px 28px 38px;
  background: linear-gradient(120deg, #fbfbfb 0%, #fff 47%, #f9faf9 100%);
}

.content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-heading {
  margin: 0 7px 18px;
}

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

.page-heading p {
  margin: 4px 0 0;
  color: #343d39;
  font-size: 15px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.metric-card {
  min-height: 102px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 13px;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: rgba(253, 253, 253, 0.95);
  box-shadow: var(--shadow-card);
}

.metric-card > img,
.metric-card > svg {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 7px;
  border-radius: 50%;
  object-fit: contain;
  background: #f1f4ef;
}

.metric-card > svg {
  box-sizing: border-box;
  color: var(--color-green);
}

.metric-card h2 {
  margin: 1px 0 1px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

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

.metric-card p {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 11px;
  white-space: nowrap;
}

.metric-card p.positive {
  color: #218b4c;
}

.metric-card p.positive span {
  color: var(--color-muted);
}

.alert-metric > img,
.alert-metric > svg {
  background: #fff2f0;
}

.alert-metric > svg {
  color: var(--color-red);
}

.alert-metric p {
  color: var(--color-red);
  font-weight: 600;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.03fr 1.13fr 1.3fr;
  gap: 14px;
  margin-bottom: 16px;
}

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

.panel h2 {
  margin: 0;
  color: #18201d;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.category-panel {
  padding: 18px 15px;
}

.category-layout {
  display: grid;
  grid-template-columns: 124px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.donut {
  width: 124px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#004932 0 42%, #24734f 42% 60%, #5b9b78 60% 75%, #75ad8a 75% 85%, #52768a 85% 93%, #5d8fd3 93% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}

.donut::after {
  width: 58%;
  height: 58%;
  display: block;
  margin: 21%;
  border-radius: 50%;
  background: var(--color-surface);
  content: "";
}

.category-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.category-list span {
  white-space: nowrap;
}

.category-list strong {
  font-weight: 500;
  white-space: nowrap;
}

.category-list small {
  color: var(--color-muted);
  font-size: inherit;
  font-weight: 400;
}

.swatch {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.swatch-one { background: #004932; }
.swatch-two { background: #24734f; }
.swatch-three { background: #5b9b78; }
.swatch-four { background: #75ad8a; }
.swatch-five { background: #52768a; }
.swatch-six { background: #5d8fd3; }

.low-stock-panel {
  padding: 17px 14px 10px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.icon-heading {
  justify-content: flex-start;
}

.icon-heading img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.alert-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.alert-list article {
  min-height: 46px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 7px 12px 7px 10px;
  border-radius: 8px;
  background: #f6f6f5;
}

.alert-list img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.alert-list h3 {
  margin: 0;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alert-list p {
  margin: 1px 0 0;
  color: var(--color-red);
  font-size: 10px;
}

.alert-list span {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0d4b34;
  font-size: 11px;
  font-weight: 700;
}

.text-link svg {
  width: 14px;
  height: 14px;
}

.low-stock-panel > .text-link {
  margin: 10px 2px 0;
}

.locations-panel {
  padding: 17px 15px 10px;
}

.location-list {
  display: grid;
  margin-top: 10px;
}

.location-list article {
  min-height: 43px;
  display: grid;
  grid-template-columns: 26px 1fr auto 55px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #e8e9e7;
}

.location-list article:last-child {
  border-bottom: 0;
}

.location-list img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.location-list h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
}

.location-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 10px;
}

.location-list strong,
.location-list span {
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.location-list small {
  font-size: inherit;
  font-weight: 400;
}

.inventory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 16px;
  align-items: start;
}

.inventory-panel {
  overflow: hidden;
}

.inventory-toolbar {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}

.inventory-toolbar > h2 {
  white-space: nowrap;
}

.inventory-filters {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inventory-filters select,
.inventory-filters input,
.filter-button,
.primary-button {
  height: 31px;
  border-radius: 6px;
  font-size: 11px;
}

.inventory-filters select {
  min-width: 96px;
  padding: 0 22px 0 9px;
  border: 1px solid var(--color-border);
  color: #18221e;
  background: #fff;
}

.mini-search {
  min-width: 124px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
}

.mini-search svg {
  width: 15px;
  height: 15px;
}

.mini-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  color: #17231e;
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
}

.filter-button svg {
  width: 15px;
  height: 15px;
}

.primary-button {
  padding: 0 14px;
  border: 0;
  color: #fff;
  background: var(--color-evergreen);
  box-shadow: 0 3px 8px rgba(4, 40, 27, 0.22);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--color-border);
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 10px;
}

th {
  padding: 9px 8px;
  color: #6d726e;
  background: #fcfcfb;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

td {
  height: 50px;
  padding: 6px 8px;
  border-top: 1px solid #e8e9e7;
  vertical-align: middle;
  white-space: nowrap;
}

td > strong,
td > small {
  display: block;
}

td > small {
  color: var(--color-muted);
  font-size: 9px;
}

.product-cell {
  min-width: 175px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.product-cell img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 4px;
  object-fit: cover;
}

.product-cell strong,
.product-cell small {
  display: block;
}

.product-cell strong {
  font-weight: 600;
}

.product-cell small {
  color: var(--color-muted);
  font-size: 9px;
}

.available {
  color: #188949;
  font-weight: 700;
}

.warning {
  color: var(--color-orange);
  font-weight: 700;
}

.condition {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.condition::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
}

.condition.good::before { background: #39a667; }
.condition.fair::before { background: #f3b72a; }

.more-button {
  width: 27px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  color: #4d5652;
  background: #fff;
  cursor: pointer;
}

.more-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.summary-column {
  display: grid;
  gap: 14px;
}

.summary-card {
  position: relative;
  min-height: 139px;
  padding: 15px 14px 12px;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: rgba(253, 253, 253, 0.96);
  box-shadow: var(--shadow-card);
}

.summary-card > img,
.summary-card > svg {
  position: absolute;
  top: 15px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 50%;
  object-fit: contain;
  background: #eef3ec;
}

.summary-card > svg {
  box-sizing: border-box;
  color: var(--color-green);
}

.summary-card h2 {
  max-width: calc(100% - 48px);
  margin: 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
}

.summary-card p {
  margin: 2px 0 9px;
  color: var(--color-muted);
  font-size: 10px;
}

.summary-values {
  display: grid;
  margin-bottom: 8px;
}

.summary-values strong {
  color: var(--color-evergreen);
  font-size: 18px;
  line-height: 1.35;
}

.summary-values small,
.customer-values small,
.summary-card dd small {
  font-size: 10px;
  font-weight: 400;
}

.summary-card dl {
  display: grid;
  gap: 3px;
  margin: 0 0 8px;
}

.summary-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-card dt {
  font-size: 10px;
}

.summary-card dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.customer-card > img,
.customer-card > svg {
  background: #fff5eb;
}

.customer-card > svg {
  color: var(--color-orange);
}

.customer-values {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin-bottom: 8px;
}

.customer-values strong {
  color: var(--color-evergreen);
  font-size: 17px;
}

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

@media (max-width: 1250px) {
  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .summary-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .inventory-filters {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    gap: 15px;
    padding: 18px;
  }

  .brand {
    width: 190px;
  }

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

  .insight-card {
    margin-top: 0;
  }

  .topbar {
    padding: 12px 18px;
  }

  .global-search {
    width: 100%;
  }

  .date-button span,
  .profile-copy {
    display: inline-grid;
  }

  .main-content {
    padding: 24px 18px 36px;
  }

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

@media (max-width: 680px) {
  .primary-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .profile-button > img {
    width: 38px;
    height: 38px;
  }

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

  .profile-copy small {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .metrics-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

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

  .category-layout {
    grid-template-columns: 120px 1fr;
  }

  .donut {
    width: 120px;
  }

  .inventory-filters label,
  .inventory-filters select,
  .mini-search {
    width: 100%;
  }

  .filter-button,
  .primary-button {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .primary-nav {
    grid-template-columns: 1fr;
  }

  .date-button span,
  .profile-copy small {
    display: inline;
  }

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

  .notification-button {
    flex: 0 0 35px;
  }

  .profile-copy strong {
    font-size: 12px;
  }

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

  .category-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .category-list {
    width: 100%;
  }

  .location-list article {
    grid-template-columns: 24px 1fr auto;
  }

  .location-list article > span {
    grid-column: 3;
  }
}

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