:root {
  --color-canvas: #fbfbfb;
  --color-surface: #fdfdfd;
  --color-surface-muted: #f4f3f2;
  --color-evergreen: #04281b;
  --color-green: #1c3d2b;
  --color-green-soft: #eaf1ea;
  --color-gold: #d99800;
  --color-border: #dedfdc;
  --color-muted: #6e716b;
  --color-subtle: #b0b0a3;
  --color-white: #fbfcfc;
  --color-danger: #d83b2d;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;
  --shadow-soft: 0 2px 8px rgba(4, 40, 27, 0.06);
  --radius: 9px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--color-canvas);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: #17221d;
  background: var(--color-canvas);
  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;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(217, 152, 0, 0.55);
  outline-offset: 2px;
}

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

h1,
h2,
h3,
p {
  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;
  flex: 1;
  display: flex;
}

.sidebar {
  position: sticky;
  top: 0;
  width: 262px;
  height: 100vh;
  flex: 0 0 262px;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  color: var(--color-white);
  background:
    radial-gradient(circle at 70% 70%, rgba(20, 109, 73, 0.25), transparent 36%),
    linear-gradient(155deg, #03261a 0%, #00412d 58%, #03281c 100%);
  overflow-y: auto;
  z-index: 4;
}

.brand {
  display: block;
  width: 100%;
  margin-bottom: 32px;
}

.brand img {
  width: 220px;
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
}

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

.sidebar-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 16px;
  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: #ffd300;
  background: linear-gradient(90deg, rgba(83, 117, 34, 0.55), rgba(99, 125, 57, 0.3));
}

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

.sidebar-insight {
  margin-top: auto;
  padding: 18px 16px;
  border: 1px solid rgba(225, 170, 44, 0.7);
  border-radius: 10px;
  background: rgba(1, 48, 33, 0.72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

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

.sidebar-insight a {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(30, 92, 53, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.app-column {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 3vw, 40px);
  border-bottom: 1px solid var(--color-border);
  background: rgba(253, 253, 253, 0.97);
}

.global-search {
  width: min(405px, 38vw);
  height: 43px;
  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-soft);
}

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

.global-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #26312b;
  background: transparent;
  font-size: 14px;
}

.global-search input::placeholder {
  color: #737670;
  opacity: 1;
}

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

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

.date-button > svg:first-child {
  width: 19px;
  height: 19px;
}

.chevron {
  width: 16px;
  height: 16px;
  margin-left: 4px;
}

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

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

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

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

.user-menu > img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

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

.user-menu strong {
  font-size: 14px;
  line-height: 1.3;
}

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

.user-menu button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

main {
  min-width: 0;
  flex: 1;
  background:
    radial-gradient(circle at 94% 2%, rgba(217, 152, 0, 0.07), transparent 18%),
    var(--color-canvas);
}

.content-container {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 22px clamp(18px, 2.5vw, 30px) 40px;
}

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

.page-heading h1 {
  margin-bottom: 2px;
  color: var(--color-evergreen);
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.1vw, 46px);
  font-weight: 400;
  line-height: 1.1;
}

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

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

.info-icon {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 16px;
  border: 1px solid #7c837e;
  border-radius: 50%;
  color: #69706b;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.heading-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

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

.button-primary {
  border: 1px solid var(--color-evergreen);
  color: var(--color-white);
  background: linear-gradient(180deg, #075039, #033523);
  box-shadow: 0 3px 7px rgba(4, 40, 27, 0.18);
}

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

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.65fr) minmax(300px, 1fr);
  align-items: start;
  gap: 18px;
}

.primary-column {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.secondary-column {
  min-width: 0;
  display: grid;
  gap: 18px;
}

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

.panel-heading {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.panel-heading h2 {
  margin-bottom: 0;
  color: #1f2924;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.panel-heading a,
.panel-heading > button,
.text-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px;
  border: 0;
  color: var(--color-evergreen);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.panel-heading a svg {
  width: 16px;
  height: 16px;
}

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

.package-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42% 58%;
  grid-template-rows: 1fr auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  overflow: hidden;
}

.package-card > img {
  width: 100%;
  height: 168px;
  grid-row: 1;
  object-fit: cover;
  object-position: center top;
}

.package-card-body {
  min-width: 0;
  padding: 11px 10px 8px;
}

.package-card-body > p {
  min-height: 50px;
  margin: 8px 0 6px;
  color: #505650;
  font-size: 11px;
  line-height: 1.45;
}

.package-card-body > small {
  color: #4d544f;
  font-size: 11px;
}

.package-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 4px;
}

.package-title h3 {
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.1;
}

.package-title button {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.tag {
  display: inline-flex;
  padding: 2px 5px;
  border-radius: 4px;
  color: #29522e;
  background: #edf3e9;
  font-size: 10px;
  font-weight: 700;
}

.price {
  margin-bottom: 1px;
  color: var(--color-evergreen);
  font-family: var(--font-heading);
  font-size: 21px;
  white-space: nowrap;
}

.price small {
  color: #59605b;
  font-family: var(--font-body);
  font-size: 10px;
}

.package-meta {
  min-width: 0;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 9px;
  border-top: 1px solid #ecece9;
  color: #5c635e;
  font-size: 10px;
  white-space: nowrap;
}

.create-card {
  min-height: 202px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border: 1px dashed #c9cbc6;
  border-radius: 8px;
  text-align: center;
  background: var(--color-surface);
}

.create-card button,
.addon-create button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-surface-muted);
  cursor: pointer;
}

.create-card button svg,
.addon-create button svg {
  width: 21px;
  height: 21px;
}

.create-card h3 {
  margin: 12px 0 5px;
  font-size: 12px;
  line-height: 1.25;
}

.create-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 10px;
  line-height: 1.4;
}

.text-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.addon-card {
  position: relative;
  min-width: 0;
  min-height: 150px;
  padding: 10px 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
}

.addon-card > img {
  width: 100%;
  height: 72px;
  margin: 0 auto 6px;
  object-fit: contain;
}

.addon-card h3 {
  margin-bottom: 1px;
  font-size: 11px;
  line-height: 1.25;
}

.addon-card p {
  margin-bottom: 0;
  color: #505650;
  font-size: 11px;
}

.toggle {
  position: relative;
  width: 25px;
  height: 15px;
  display: inline-block;
  flex: 0 0 25px;
  border-radius: 999px;
  background: #087145;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.toggle::after {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  content: "";
}

.addon-card > .toggle {
  position: absolute;
  right: 8px;
  bottom: 8px;
}

.addon-create {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  text-align: center;
}

.addon-create h3 {
  max-width: 70px;
  margin: 10px 0 0;
}

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

.catalog-actions .button {
  min-height: 34px;
  padding: 5px 11px;
  font-size: 12px;
}

.catalog-actions > a {
  margin-left: 18px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 11px;
}

th {
  padding: 6px 7px;
  border-bottom: 1px solid var(--color-border);
  color: #535a55;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

td {
  padding: 7px;
  border-bottom: 1px solid #e8e9e6;
  color: #333b36;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.product-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #151d18;
  font-weight: 600;
}

.product-name img {
  width: 30px;
  height: 25px;
  flex: 0 0 30px;
  object-fit: contain;
}

.row-menu {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.rule-list {
  display: grid;
}

.rule-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 0;
  border-top: 1px solid #e6e7e4;
}

.rule-item img {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 6px;
  background: var(--color-surface-muted);
  object-fit: contain;
}

.rule-item h3 {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.rule-item p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 10px;
}

.rule-item strong {
  font-size: 12px;
  font-weight: 600;
}

.rule-item button {
  min-width: 42px;
  padding: 6px 8px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  color: var(--color-evergreen);
  background: var(--color-surface);
  font-size: 11px;
  cursor: pointer;
}

.zone-list {
  display: grid;
  gap: 2px;
}

.zone-list article {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}

.zone-list p {
  margin-bottom: 0;
  font-size: 11px;
}

.zone-list strong {
  font-size: 11px;
}

.zone-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 3px 7px 3px 19px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
}

.zone-label::before {
  position: absolute;
  left: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
}

.zone-one {
  background: #edf5ec;
}

.zone-one::before {
  background: #259346;
}

.zone-two {
  background: #fff4dd;
}

.zone-two::before {
  background: #efa915;
}

.zone-three {
  background: #fff0e7;
}

.zone-three::before {
  background: #ef7923;
}

.zone-four {
  background: #fdebea;
}

.zone-four::before {
  background: var(--color-danger);
}

.panel-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0 0;
  padding: 10px;
  border: 1px solid #e6e7e4;
  border-radius: 7px;
  color: #5d635f;
  background: #f7f7f5;
  font-size: 10px;
  line-height: 1.4;
}

.panel-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  padding: 3px;
  border-radius: 4px;
  color: var(--color-green);
  background: #e9eee8;
}

.settings-panel dl {
  margin: 0;
}

.settings-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 7px 0;
  border-bottom: 1px solid #e6e7e4;
  font-size: 11px;
}

.settings-panel dt {
  color: #424a45;
}

.settings-panel dd {
  margin: 0;
  text-align: right;
}

.site-footer {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 1180px) {
  .sidebar {
    width: 220px;
    flex-basis: 220px;
    padding-inline: 14px;
  }

  .brand img {
    width: 190px;
  }

  .topbar-actions {
    gap: 9px;
  }

  .user-menu div {
    min-width: 0;
  }

  .user-menu small {
    display: block;
    max-width: 120px;
  }

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

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

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

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    flex-basis: auto;
    padding: 14px 18px;
    overflow: visible;
  }

  .brand {
    width: 190px;
    margin-bottom: 12px;
  }

  .brand img {
    max-height: 68px;
  }

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

  .sidebar-nav a {
    min-width: max-content;
    min-height: 40px;
    padding: 8px 11px;
    font-size: 14px;
  }

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

  .sidebar-insight {
    margin-top: 12px;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .global-search {
    width: 100%;
  }

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

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

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

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

@media (max-width: 640px) {
  .topbar-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }

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

  .user-menu {
    flex: 1 1 auto;
  }

  .user-menu div {
    flex: 1;
  }

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

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

  .heading-actions {
    width: 100%;
  }

  .heading-actions .button {
    flex: 1;
  }

  .panel-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

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

  .package-card {
    grid-template-columns: 38% 62%;
  }

  .package-card > img {
    height: 184px;
  }

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

  .catalog-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .catalog-actions > a {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .content-container {
    padding-inline: 12px;
  }

  .topbar {
    padding-inline: 12px;
  }

  .sidebar {
    padding-inline: 12px;
  }

  .heading-actions {
    flex-direction: column;
  }

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

  .rule-item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .rule-item button {
    grid-column: 2 / -1;
    justify-self: end;
  }
}

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