:root {
  --green: #3fa40d;
  --lime: #8dff1f;
  --lime-soft: #d9ff9f;
  --deep: #003529;
  --deep-2: #074b32;
  --ink: #07140f;
  --white: #ffffff;
  --cream: #e9ffbf;
  --muted: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.16);
  --shadow: 0 28px 90px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: #03130f;
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.flash {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  max-width: min(92vw, 720px);
  padding: 13px 18px;
  border-radius: 999px;
  color: #092012;
  background: var(--cream);
  box-shadow: var(--shadow);
  font-weight: 900;
}
.flash.error { background: #ffd3d3; }

.ld-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px clamp(22px, 4vw, 56px);
  border: 0;
  border-bottom: 1px solid rgba(27,67,50,.08);
  background: rgba(249,247,242,.9);
  backdrop-filter: blur(18px);
}
.ld-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 560px;
}
.ld-logo {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 5px solid #dbe8ff;
  border-radius: 50%;
  color: #0c321c;
  background:
    radial-gradient(circle, #a7ff38 0 36%, #e9f0fb 37% 45%, #51aa22 46% 58%, #e8f1ff 59% 100%);
  box-shadow: inset 0 0 0 2px #1b3140;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -2px;
}
.ld-logo.logo-image {
  overflow: hidden;
  padding: 5px;
  color: transparent;
  background: #fff;
  letter-spacing: 0;
}
.ld-logo.logo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ld-brand-lockup {
  gap: 15px;
  min-width: 0;
}
.ld-lockup-mark.logo-image {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}
.ld-lockup-mark.logo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ld-lockup-copy {
  display: grid;
  gap: 5px;
}
.ld-lockup-copy strong {
  display: block;
  color: #1b4332;
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .4em;
  line-height: 1;
  text-transform: uppercase;
}
.ld-lockup-copy small {
  display: block;
  margin: 0;
  color: #2d6a4f;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
}
.ld-brand strong {
  display: block;
  font-size: clamp(34px, 2.65vw, 45px);
  line-height: .95;
  font-weight: 900;
}
.ld-brand small {
  display: block;
  margin-top: 11px;
  font-size: clamp(20px, 1.65vw, 29px);
  line-height: 1;
  font-weight: 900;
}
.ld-header .ld-brand.ld-brand-lockup {
  gap: 14px;
  min-width: min(340px, 34vw);
}
.ld-header .ld-brand.ld-brand-lockup .ld-lockup-mark.logo-image {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}
.ld-header .ld-brand.ld-brand-lockup .ld-lockup-copy {
  gap: 8px;
}
.ld-header .ld-brand.ld-brand-lockup .ld-lockup-copy strong {
  color: #1b4332;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .42em;
  line-height: 1.05;
  text-transform: uppercase;
}
.ld-header .ld-brand.ld-brand-lockup .ld-lockup-copy small {
  margin-top: 0;
  color: #2d6a4f;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .28em;
  line-height: 1;
  text-transform: uppercase;
}
.ld-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.8vw, 28px);
  margin-left: auto;
}
.ld-nav a {
  display: inline-grid;
  place-items: center;
  min-height: 52px;
  padding: 0 clamp(16px, 1.8vw, 28px);
  border: 1px solid transparent;
  border-radius: 999px;
  color: #1b4332;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ld-nav a:hover {
  color: #fff;
  border-color: rgba(27,67,50,.08);
  background: linear-gradient(135deg, #3b6047, #b4926a);
  box-shadow: 0 14px 34px rgba(27,67,50,.16);
}
.login-nav {
  color: #fff !important;
  background: linear-gradient(135deg, #3b6047, #b4926a);
  box-shadow: 0 14px 34px rgba(27,67,50,.16);
}
.mobile-login { display: none; }
.menu-toggle { display: none; }

.hero-shot {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.04), rgba(0,28,16,.18) 48%, rgba(1,42,26,.9)),
    url("../img/hero-patio-tablet.png") center center/cover;
  background-attachment: fixed;
}
.hero-shot:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(to top, rgba(2,42,17,.96), transparent);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-left: 7.3%;
  padding-top: 48px;
}
.hero-copy p {
  margin: 0;
  max-width: 880px;
  font-size: clamp(26px, 2.2vw, 42px);
  line-height: 1.18;
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0,0,0,.52);
}
.hero-copy h1 {
  position: absolute;
  top: 515px;
  left: -4.5vw;
  margin: 0;
  font-size: clamp(56px, 5vw, 86px);
  line-height: .9;
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0,0,0,.35);
}
.hero-copy h1:after {
  content: "";
  display: block;
  width: 390px;
  height: 16px;
  margin-top: 8px;
  background: var(--green);
}
.hero-copy h1 span { display: inline; }
.hero-logo-badge.logo-image {
  position: absolute;
  top: 455px;
  left: -2.5vw;
  z-index: 4;
  display: block;
  width: clamp(122px, 10.5vw, 158px);
  height: clamp(122px, 10.5vw, 158px);
  overflow: hidden;
  border-radius: 50%;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.34));
}
.hero-logo-badge.logo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-tagline {
  position: absolute;
  z-index: 3;
  top: 370px;
  right: 5.2vw;
  width: min(58vw, 1080px);
  color: var(--lime);
  font-size: clamp(34px, 3.55vw, 64px);
  line-height: 1.08;
  text-align: center;
  font-weight: 900;
  text-shadow: 0 4px 16px rgba(0,0,0,.45);
}
.hero-device {
  display: none;
}
.tablet-screen {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.02)),
    url("../img/hero-waterfall.jpg") center/cover;
}
.tablet-screen span {
  display: block;
  padding: 34px 28px 8px;
  color: var(--lime);
  font-size: clamp(24px, 2.9vw, 56px);
  line-height: 1.08;
  text-align: center;
  font-weight: 900;
  text-shadow: 0 4px 12px rgba(0,0,0,.44);
}
.tablet-screen nav {
  margin: 0 22px;
  padding: 12px 18px;
  color: #1c231f;
  background: rgba(255,255,255,.84);
  font-size: clamp(10px, .75vw, 15px);
  font-weight: 900;
  text-align: right;
}
.hero-shot > h2 {
  position: absolute;
  z-index: 3;
  left: 23%;
  bottom: 10px;
  margin: 0;
  color: #b3ff75;
  font-size: clamp(68px, 7vw, 118px);
  line-height: .92;
  font-weight: 900;
}

.evolved,
.growth,
.mesh,
.dashboard-promo {
  padding: clamp(48px, 5vw, 90px) clamp(22px, 5vw, 96px);
  background:
    radial-gradient(circle at 50% 0, rgba(27,132,56,.42), transparent 38%),
    linear-gradient(135deg, #011f18, #06452d 52%, #052e20);
}
.evolved {
  position: relative;
  z-index: 5;
  margin-top: -135px;
  padding-top: clamp(118px, 9vw, 168px);
  background:
    linear-gradient(to bottom, rgba(4,73,45,.62), #003c2d 110px, #003c2d 72%, #063f2b),
    radial-gradient(circle at 50% 0, rgba(27,132,56,.42), transparent 38%),
    linear-gradient(135deg, #011f18, #06452d 52%, #052e20);
  text-align: center;
  scroll-margin-top: 132px;
}
.evolved h2 {
  margin: 0;
  color: #c6ff92;
  font-size: clamp(50px, 6vw, 98px);
  line-height: .96;
  font-weight: 900;
}
.evolved h3 {
  margin: 18px 0 28px;
  font-size: clamp(30px, 3.1vw, 50px);
  line-height: 1.05;
}
.evolved h3 span,
.growth h2 span,
.growth h2 small,
.final-cta span { color: var(--lime); }
.photo-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  max-width: none;
  margin: 0 auto;
  padding: 0 8px;
}
.photo-flow b {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 42px;
  margin: 0 -29px;
  color: transparent;
  font-size: 0;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.45));
}
.photo-flow b:before,
.photo-flow b:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.photo-flow b:before {
  left: 0;
  width: 76px;
  height: 15px;
  background: #fff;
}
.photo-flow b:after {
  right: 0;
  border-top: 27px solid transparent;
  border-bottom: 27px solid transparent;
  border-left: 38px solid #fff;
}
.flow-card {
  position: relative;
  min-height: clamp(250px, 14.6vw, 315px);
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -80px 80px rgba(0,0,0,.22);
}
.flow-card small {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #102316;
  background: rgba(217,255,159,.94);
  font-weight: 900;
}
.flow-card.before { background-image: linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.16)), url("../img/flow-before.png"); }
.flow-card.design { background-image: linear-gradient(rgba(141,255,31,.06), rgba(0,0,0,.08)), url("../img/flow-design.png"); }
.flow-card.night { background-image: linear-gradient(rgba(0,9,24,.1), rgba(0,0,0,.22)), url("../img/flow-night.png"); }
.flow-card.proposal {
  background:
    linear-gradient(rgba(255,255,255,.06), rgba(0,0,0,.08)),
    url("../img/flow-proposal.png") center/cover;
}
.steps {
  max-width: 1380px;
  margin: 24px auto 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 34px);
}
.steps article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: white;
  font-size: clamp(19px, 1.55vw, 27px);
  font-style: italic;
  text-align: left;
}
.steps span {
  color: var(--cream);
  min-width: 74px;
  font-size: clamp(42px, 4.4vw, 72px);
  line-height: 1;
  text-align: center;
  font-weight: 500;
}
.wide-copy {
  max-width: 1280px;
  margin: 0 auto;
  font-size: clamp(20px, 1.65vw, 29px);
  line-height: 1.26;
  font-weight: 900;
}

.roi {
  min-height: 298px;
  display: grid;
  place-items: center;
  background:
    url("../img/roi-wix-banner.png") center center/100% 100% no-repeat;
  background-attachment: scroll;
}
.roi h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.growth {
  padding-top: 94px;
  background:
    radial-gradient(circle at 50% 32%, rgba(35,126,91,.52), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(47,176,112,.34), transparent 30%),
    linear-gradient(135deg, #03261d, #095034 58%, #073622);
}
.growth h2 {
  max-width: 1320px;
  margin: 0 auto 22px;
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1.05;
}
.growth h2 small {
  font-size: .62em;
  text-shadow: 0 4px 8px rgba(0,0,0,.4);
}
.growth > p {
  max-width: 1320px;
  margin: 0 auto 12px;
  font-size: clamp(25px, 2.2vw, 38px);
  font-weight: 900;
}
.growth-board {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 20px;
  padding: 42px 54px;
  border: 9px solid #e5eee6;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 56%, rgba(174,255,75,.2), transparent 27%),
    linear-gradient(135deg, rgba(0,54,59,.96), rgba(0,93,75,.76));
  box-shadow: inset 0 0 80px rgba(143,255,57,.08);
}
.growth-board div {
  min-height: 130px;
  padding: 16px;
  color: var(--cream);
}
.growth-board b,
.growth-board strong {
  display: block;
  font-size: 22px;
  color: #b7e883;
}
.growth-board span {
  display: block;
  margin-top: 10px;
  color: white;
  line-height: 1.45;
}
.growth-board .chart {
  grid-row: span 2;
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 16px;
  background:
    linear-gradient(135deg, transparent 30%, rgba(141,255,31,.42)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 42px);
  text-align: center;
}
.chart strong { font-size: clamp(30px, 3vw, 48px); }
.chart em { color: var(--lime); font-size: 42px; font-weight: 900; }
.chart-line {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 22%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), #e7ffad);
  transform: rotate(-10deg);
  box-shadow: 0 0 22px rgba(141,255,31,.72);
}
.chart-line:before,
.chart-line:after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e7ffad;
  top: -7px;
}
.chart-line:before { left: 18%; }
.chart-line:after { right: 4%; }

.mesh {
  background:
    radial-gradient(circle at 74% 42%, rgba(120,235,255,.34), transparent 28%),
    radial-gradient(circle at 73% 47%, transparent 0 10px, rgba(154,255,255,.2) 11px 14px, transparent 15px 26px),
    linear-gradient(135deg, #013225, #09472e);
}
.mesh h2 {
  margin: 0 auto 70px;
  max-width: 1180px;
  color: var(--lime);
  font-size: clamp(54px, 6.8vw, 112px);
  line-height: .9;
  font-weight: 900;
}
.mesh-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.45fr;
  gap: 58px;
  align-items: center;
}
.mesh h3 {
  color: var(--cream);
  font-size: clamp(30px, 2.4vw, 42px);
  font-style: italic;
}
.mesh p {
  font-size: clamp(22px, 1.65vw, 30px);
  line-height: 1.28;
  font-weight: 900;
}
.map-preview {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 8px solid #0a0a0a;
  border-radius: 16px;
  background:
    linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.04)),
    url("../img/map-mate-wix-device.png") center/cover;
  box-shadow: 0 20px 45px rgba(0,0,0,.26);
}
.map-preview:before {
  content: none;
}
.map-sidebar,
.map-topbar {
  position: absolute;
  z-index: 3;
}
.map-sidebar {
  left: 0;
  top: 0;
  bottom: 0;
  width: 74px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 14px 9px;
  color: rgba(255,255,255,.82);
  background: #151816;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}
.map-sidebar span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  border-radius: 50%;
  color: #102016;
  background: var(--lime);
}
.map-sidebar b {
  display: block;
}
.map-topbar {
  left: 74px;
  right: 0;
  top: 0;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  color: #1c271f;
  background: rgba(255,255,255,.94);
  font-size: 13px;
  font-weight: 900;
}
.map-topbar em {
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: #a52a24;
  font-style: normal;
}
.route-line {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 22%;
  width: 30%;
  height: 54%;
  border: 5px solid #1da2ff;
  border-left-color: transparent;
  border-radius: 50px;
}
.pin {
  position: absolute;
  z-index: 4;
  width: 18px;
  height: 18px;
  border: 3px solid white;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.pin.a { left: 53%; top: 40%; background: #00b050; }
.pin.b { left: 65%; top: 66%; background: #ffc400; }
.pin.c { left: 82%; top: 29%; background: #ff3b30; }
.pin.d { left: 72%; top: 78%; background: #00a7ff; }
.map-preview aside {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 50px;
  width: 25%;
  height: 100%;
  padding: 24px;
  color: #18231c;
  background: rgba(255,255,255,.92);
}
.map-preview aside b,
.map-preview aside span {
  display: block;
  margin-bottom: 12px;
}
.mesh .map-preview .route-line,
.mesh .map-preview .pin,
.mesh .map-preview aside {
  display: none;
}
.app-map-shell .map-preview.big {
  background:
    linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.02)),
    url("../img/map-mate-wix-device.png") center/cover;
}
.app-map-shell .map-preview.big .map-sidebar,
.app-map-shell .map-preview.big .map-topbar,
.app-map-shell .map-preview.big .route-line,
.app-map-shell .map-preview.big .pin {
  display: none;
}
.app-map-shell .map-preview.big aside {
  top: 10%;
  right: 4%;
  width: 28%;
  height: auto;
  min-height: 58%;
  border-left: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.dashboard-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(350px, .7fr);
  gap: 7vw;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.ai-screenshot {
  border: 9px solid #050505;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dash-mini {
  min-height: 520px;
  display: grid;
  grid-template-columns: 180px 1fr;
  color: #123225;
  background: #f1eee5;
}
.dash-mini aside {
  padding: 22px;
  background: rgba(255,255,255,.58);
}
.mini-logo {
  width: 46px;
  height: 46px;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  color: #143323;
  background: var(--lime-soft);
  font-size: 18px !important;
  font-weight: 900;
}
.dash-mini aside b,
.dash-mini aside span {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 900;
}
.dash-mini main {
  position: relative;
  padding: 46px 30px;
}
.dash-actions {
  position: absolute;
  top: 20px;
  right: 28px;
  display: flex;
  gap: 10px;
}
.dash-actions em {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(207,202,185,.78);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.dash-actions em:last-child {
  color: white;
  background: #234432;
}
.dash-mini h4,
.dash-mini h3 { margin: 0; }
.dash-mini h3 {
  font-size: 44px;
  color: #0d442f;
}
.dash-hero {
  position: absolute;
  inset: 145px 35px 90px 275px;
  border: 15px solid #111;
  border-radius: 24px;
  transform: rotate(7deg);
  background: url("../img/hero-waterfall.jpg") center/cover;
}
.service-list {
  display: grid;
  max-width: 310px;
  margin-top: 22px;
  gap: 10px;
}
.service-list span,
.service-list a {
  padding: 11px 14px;
  border-radius: 7px;
  background: rgba(255,255,255,.78);
  color: #123225;
  font-size: 13px;
  font-weight: 900;
}
.stat-row {
  position: absolute;
  left: 48%;
  right: 40px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat-row b {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.62);
  text-align: center;
  color: #12402d;
}
.stat-row span { font-size: 10px; }
.best-value h2 {
  font-size: clamp(36px, 3.1vw, 48px);
  line-height: 1.22;
  text-align: center;
}
.best-value li {
  margin: 17px 0;
  color: var(--lime);
  font-size: clamp(20px, 1.55vw, 27px);
  font-weight: 900;
}
.cream-btn,
.pill {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  color: #0b1710;
  background: var(--cream);
  font-weight: 900;
  cursor: pointer;
}
.pill.cta { background: var(--lime); }
.pill.dark { color: white; background: #273b31; }
.guest-login {
  border: 2px solid #163426;
  color: #163426;
  background: #e9ffbf;
}
.guest-login:hover {
  background: #8dff1f;
}

.final-cta {
  padding: 72px 22px 82px;
  text-align: center;
  background: linear-gradient(135deg, #3aa80d, #4ac880 60%, #b6e5c5);
}
.final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1.12;
}
.final-cta p {
  max-width: 780px;
  margin: 18px auto 24px;
  font-size: 20px;
  line-height: 1.35;
}
.ld-footer {
  min-height: 150px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 38px clamp(22px, 4vw, 70px);
  background: #020202;
  color: rgba(255,255,255,.75);
}
.ld-footer strong,
.ld-footer span,
.ld-footer a { display: block; margin-bottom: 10px; }

.simple-page {
  min-height: 72vh;
  padding: clamp(58px, 8vw, 120px) clamp(22px, 7vw, 120px);
  background:
    radial-gradient(circle at right, rgba(141,255,31,.25), transparent 35%),
    linear-gradient(135deg, #04291f, #0a5436);
}
.simple-page h1 {
  max-width: 920px;
  margin: 0 0 20px;
  font-size: clamp(48px, 6vw, 92px);
}
.simple-page p {
  max-width: 820px;
  font-size: 24px;
  line-height: 1.42;
  font-weight: 800;
}
.simple-page .eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 900;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 34px 0;
}
.faq-grid article,
.legal-page section {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.faq-grid h2,
.legal-page h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.18;
}
.faq-grid p,
.legal-page section p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
}
.legal-page {
  display: grid;
  gap: 18px;
}
.legal-page > p {
  margin-top: 0;
}
.feature-strip,
.module-grid,
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.feature-strip article,
.module-grid article,
.admin-stats article {
  min-height: 120px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  font-weight: 900;
}
.module-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.module-grid.rich {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.module-grid.rich article {
  min-height: 170px;
  color: #153426;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 45px rgba(0,0,0,.08);
}
.module-grid.rich b,
.module-grid.rich span {
  display: block;
}
.module-grid.rich b {
  margin-bottom: 18px;
  font-size: 20px;
}
.module-grid.rich span {
  color: #4b6055;
  line-height: 1.45;
}
.work-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-top: 22px;
}
.work-canvas {
  min-height: 360px;
  display: grid;
  place-items: end start;
  padding: 24px;
  border: 14px solid #111;
  border-radius: 24px;
  background-image:
    linear-gradient(rgba(12,44,31,.04), rgba(12,44,31,.16)),
    url("../img/hero-waterfall.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}
.work-canvas span {
  padding: 10px 14px;
  border-radius: 999px;
  color: #102316;
  background: var(--lime-soft);
  font-weight: 900;
}
.work-panel aside {
  padding: 24px;
  border-radius: 14px;
  color: #173b2c;
  background: rgba(255,255,255,.84);
}
.work-panel aside b {
  display: block;
  margin-bottom: 18px;
  font-size: 22px;
}
.work-panel li {
  margin: 14px 0;
  font-weight: 900;
}
.panel-form {
  display: grid;
  gap: 15px;
  max-width: 620px;
  padding: 28px;
  border-radius: 10px;
  color: #102016;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.panel-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}
input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(7,20,15,.18);
  border-radius: 7px;
  background: white;
}
textarea { min-height: 120px; resize: vertical; }

.auth-body {
  background:
    linear-gradient(rgba(0,28,20,.7), rgba(0,28,20,.88)),
    url("../img/hero-waterfall.jpg") center/cover;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(430px, 640px);
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
  padding: clamp(28px, 6vw, 88px);
}
.auth-story {
  max-width: 780px;
  display: grid;
  gap: 20px;
}
.auth-story h1 {
  margin: 0;
  max-width: 740px;
  color: white;
  font-size: clamp(50px, 6vw, 96px);
  line-height: .92;
  letter-spacing: 0;
  text-shadow: 0 18px 55px rgba(0,0,0,.42);
}
.auth-story p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  font-weight: 900;
}
.auth-brand {
  min-width: 0;
  color: white;
}
.auth-brand .ld-logo { width: 74px; height: 74px; }
.auth-eyebrow,
.auth-kicker {
  width: fit-content;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.auth-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 12px;
}
.auth-proof-grid span {
  min-height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #102316;
  background: rgba(233,255,191,.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.auth-card-wrap {
  display: grid;
  justify-items: stretch;
}
.auth-card {
  width: min(100%, 660px);
  display: grid;
  gap: 16px;
  padding: clamp(26px, 3.2vw, 38px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  color: #123b2b;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,251,244,.92));
  box-shadow: 0 34px 90px rgba(0,0,0,.32);
  backdrop-filter: blur(12px);
}
.auth-card h2 {
  margin: 0;
  color: #123b2b;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .95;
  letter-spacing: 0;
}
.auth-card p,
.auth-card a {
  margin: 0;
  color: #405147;
}
.auth-card p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
}
.auth-card label {
  display: grid;
  gap: 8px;
  color: #0b2418;
  font-weight: 900;
}
.auth-card input,
.auth-card select,
.auth-card textarea {
  min-height: 54px;
  border-color: rgba(7,20,15,.18);
  background: #f5fbef;
}
.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus {
  outline: 3px solid rgba(141,255,31,.34);
  border-color: #55bd19;
}
.field-link-row {
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  margin-top: -2px;
  font-size: 13px;
  line-height: 1;
}
.field-link-row a,
.auth-text-link {
  color: #24533b;
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.auth-card .check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(7,20,15,.08);
  border-radius: 10px;
  background: rgba(233,255,191,.36);
}
.auth-card .check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}
.auth-card .check span {
  color: #183828;
  font-size: 15px;
  font-weight: 900;
}
.auth-actions {
  display: grid;
  gap: 12px;
}
.auth-actions .pill {
  width: 100%;
  justify-content: center;
  min-height: 54px;
}

.app-body { background: #ebe8dd; color: #143426; }
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
}
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 15px;
  background: #f2f0e7;
  border-right: 1px solid rgba(0,0,0,.08);
}
.side-logo {
  display: grid;
  justify-items: center;
  margin-bottom: 24px;
  text-align: center;
  color: #153b2b;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}
.side-logo .ld-logo { width: 55px; height: 55px; font-size: 18px; margin-bottom: 8px; }
.side nav { display: grid; gap: 8px; }
.side nav a,
.side button {
  width: 100%;
  display: block;
  padding: 13px 16px;
  border: 0;
  border-radius: 7px;
  color: #163729;
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 900;
}
.side nav a:hover,
.side button:hover {
  color: white;
  background: #0c4f3a;
}
.side form { margin-top: 20px; }
.workspace {
  min-width: 0;
  background:
    linear-gradient(90deg, rgba(244,241,231,.95), rgba(244,241,231,.74)),
    url("../img/hero-waterfall.jpg") center/cover fixed;
}
.workspace-top {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px 34px;
}
.chip {
  padding: 11px 18px;
  border-radius: 999px;
  color: #153426;
  background: rgba(205,201,185,.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.chip.active { color: white; background: #244835; }
.dashboard-home {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: center;
  padding: 0 34px 48px;
}
.dash-copy h4,
.dash-copy h1 {
  margin: 0;
  color: #0f3c2c;
}
.dash-copy h1 {
  font-size: clamp(48px, 5vw, 74px);
  line-height: .95;
}
.dash-copy p {
  color: #425a4e;
  font-size: 18px;
}
.dash-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}
.dash-stage .tablet-screen {
  position: absolute;
  width: min(82%, 760px);
  height: 62%;
  top: 108px;
  right: 4%;
  border: 20px solid #0d1210;
  border-radius: 28px;
  transform: rotate(7deg);
  box-shadow: var(--shadow);
}
.dash-stage .stat-row {
  left: 8%;
  right: 6%;
  bottom: 34px;
}
.app-page {
  padding: 18px clamp(24px, 5vw, 70px) 70px;
}
.app-page.narrow { max-width: 900px; }
.app-page h1 {
  margin: 0 0 16px;
  color: #0e3829;
  font-size: clamp(42px, 5vw, 76px);
}
.app-page p {
  max-width: 780px;
  color: #425449;
  font-size: 19px;
}
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 45px rgba(0,0,0,.08);
}
.admin-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 210px auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  text-align: left;
}
td span { display: block; color: #66756d; margin-top: 4px; }
.status {
  padding: 6px 10px;
  border-radius: 999px;
  color: #153426;
  background: #e3e0d4;
  font-weight: 900;
}
.status.approved { background: #c4ff96; }
.status.pending { background: #ffe695; }
.status.suspended,
.status.rejected { background: #ffc4c4; }
.mini-btn {
  padding: 9px 14px;
  border-radius: 999px;
  color: white;
  background: #123d2c;
  font-weight: 900;
}
.profile-card {
  padding: 28px;
  border-radius: 12px;
  background: rgba(255,255,255,.84);
}
.profile-card p { max-width: none; }
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.workspace-top form {
  margin: 0;
}
.workspace-top button.chip {
  border: 0;
  cursor: pointer;
}
.module-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.module-grid.rich {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.module-grid.rich article,
.tool-belt span,
.photo-card,
.inline-create,
.work-panel,
.lead-table {
  border: 1px solid rgba(13, 57, 40, .12);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
}
.module-grid.rich article {
  padding: 20px;
}
.module-grid.rich b {
  display: block;
  color: #0f3b2b;
  font-size: 22px;
}
.module-grid.rich span,
.module-grid.rich p {
  display: block;
  margin-top: 8px;
  color: #526057;
  font-size: 14px;
}
.inline-create {
  margin-top: 22px;
  padding: 22px;
}
.inline-create h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #0e3829;
  font-size: 26px;
}
.tool-belt {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.tool-belt span {
  padding: 16px 14px;
  color: #123b2b;
  font-weight: 900;
  text-align: center;
}
.check-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.check {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef3e7;
  color: #123b2b;
  font-weight: 800;
}
.remember {
  justify-content: flex-start;
  background: transparent;
  padding: 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.photo-card {
  overflow: hidden;
}
.photo-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.photo-card b,
.photo-card span {
  display: block;
  padding: 0 16px;
}
.photo-card b {
  padding-top: 14px;
  color: #0f3b2b;
}
.photo-card span {
  padding-bottom: 16px;
  color: #5a665f;
}
.work-panel {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  padding: 18px;
  margin-top: 22px;
}
.work-canvas {
  min-height: 260px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(16,64,45,.35), rgba(149,255,42,.22)),
    url("../img/hero-waterfall.jpg") center/cover;
  display: grid;
  align-items: end;
  padding: 18px;
}
.work-canvas span {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #123b2b;
  font-weight: 900;
}
.work-panel aside {
  padding: 18px;
  border-radius: 10px;
  background: #f2f5ec;
}
.report-grid article b {
  font-size: 34px;
  color: var(--lime);
  text-shadow: 0 2px 0 rgba(0,0,0,.18);
}
.map-mate {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(620px, 1fr);
  gap: 18px;
  align-items: stretch;
}
.map-page .map-mate.map-full-width {
  grid-template-columns: minmax(0, 1fr);
}
.map-mate > aside,
.phone-map {
  padding: 22px;
  border-radius: 14px;
  background: rgba(255,255,255,.84);
}
.map-mate > aside span {
  display: block;
  margin: 14px 0;
  padding: 12px;
  border-radius: 8px;
  background: #eef1e8;
}
.map-preview.big { min-height: 560px; }
.route-panel {
  border-left: 8px solid #9c1d18;
  max-height: 430px;
  overflow: auto;
}
.map-page .route-panel {
  display: none;
}
.mini-map {
  position: relative;
  overflow: hidden;
  height: 260px;
  margin-top: 16px;
  border-radius: 20px;
  background:
    linear-gradient(35deg, transparent 47%, #1da2ff 48% 53%, transparent 54%),
    linear-gradient(130deg, transparent 47%, #eeaa33 48% 52%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(0,0,0,.12) 29px 30px),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(0,0,0,.1) 37px 38px),
    #dcebdd;
}
.mini-map i {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid white;
  border-radius: 50%;
  background: #ffca28;
}
.mini-map i:nth-child(1) { left: 30%; top: 36%; }
.mini-map i:nth-child(2) { left: 64%; top: 54%; background: #1ec963; }
.mini-map i:nth-child(3) { left: 53%; top: 72%; background: #00a7ff; }

.project-command-row,
.crm-board {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}
.crm-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 20px;
}
.crm-board article {
  padding: 16px;
  border: 1px solid rgba(13, 57, 40, .12);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}
.crm-board b,
.crm-board span {
  display: block;
}
.crm-board b {
  color: #0d3d2b;
  font-size: 18px;
}
.crm-board span {
  margin-top: 5px;
  color: #607067;
  font-weight: 800;
}
.design-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  margin: 18px 0 26px;
}
.design-stage,
.capture-preview {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(13, 57, 40, .12);
  border-radius: 14px;
  background: #0d3528;
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
}
.design-stage img,
.capture-preview img,
.design-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}
.design-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 680px;
  padding: 16px;
  border-radius: 12px;
  color: #123b2b;
  background: rgba(244, 249, 239, .92);
}
.design-overlay b,
.design-overlay span {
  display: block;
}
.design-overlay b {
  font-size: 22px;
}
.design-overlay span {
  margin-top: 5px;
  color: #55645b;
  font-weight: 800;
}
.design-workbench aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
}
.design-workbench aside h3 {
  margin: 0 0 4px;
  color: #0e3829;
}
.design-workbench aside button {
  min-height: 42px;
  border: 1px solid rgba(13, 57, 40, .14);
  border-radius: 8px;
  color: #123b2b;
  background: #eef3e7;
  font-weight: 900;
  cursor: pointer;
}
.design-workbench aside button.active,
.design-workbench aside button:hover {
  background: var(--lime);
}
.design-workbench aside p {
  color: #526057;
  font-size: 14px;
}
.design-grid .design-card {
  overflow: hidden;
  padding: 0;
}
.design-card img {
  height: 170px;
  min-height: 170px;
}
.design-card b,
.design-card span,
.design-card small,
.design-card em,
.design-card p {
  padding-left: 18px;
  padding-right: 18px;
}
.design-card b {
  padding-top: 16px;
}
.design-card p {
  padding-bottom: 18px;
}
.design-card em {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-style: normal;
  padding-bottom: 14px;
}
.form-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  grid-column: 1 / -1;
  justify-content: space-between;
}
.api-pill {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  white-space: nowrap;
}
.api-pill.ready {
  background: rgba(54, 190, 99, .14);
  color: #137533;
}
.api-pill.warning {
  background: rgba(244, 163, 0, .16);
  color: #8a5600;
}
.api-pill.offline {
  background: rgba(222, 53, 53, .13);
  color: #b42318;
}
.imaging-workflow {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}
.imaging-workflow article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.imaging-workflow b,
.imaging-workflow span {
  display: block;
}
.imaging-workflow span {
  color: var(--muted);
  margin-top: 6px;
}
.reference-dashboard .imaging-workflow article {
  background: rgba(255,255,255,.78);
  border-color: #d5e5ce;
}
.reference-dashboard .imaging-workflow b {
  color: #08271b;
}
.reference-dashboard .imaging-workflow span {
  color: #5a6b61;
}

@media (max-width: 760px) {
  .imaging-workflow {
    grid-template-columns: 1fr;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
.design-workbench-form,
.imaging-capture,
.proposal-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.design-workbench-form textarea,
.imaging-capture textarea,
.imaging-capture .capture-preview,
.proposal-form textarea {
  grid-column: 1 / -1;
}
.capture-preview {
  min-height: 260px;
}
.capture-preview span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px;
  border-radius: 10px;
  color: #123b2b;
  background: rgba(255,255,255,.9);
  font-weight: 900;
}
.field-map {
  position: relative;
  height: 430px;
  min-height: 430px;
  overflow: hidden;
  border: 8px solid #0a0a0a;
  border-radius: 16px;
  background:
    linear-gradient(28deg, transparent 0 38%, rgba(29,162,255,.92) 39% 42%, transparent 43%),
    linear-gradient(138deg, transparent 0 43%, rgba(238,170,51,.9) 44% 47%, transparent 48%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(13,57,40,.12) 48px 49px),
    repeating-linear-gradient(90deg, transparent 0 57px, rgba(13,57,40,.1) 58px 59px),
    #dcebdd;
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
}
.map-toolbar {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 7;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}
.map-toolbar strong {
  color: #123b2b;
}
.map-toolbar span {
  color: #55645b;
  font-size: 12px;
  font-weight: 900;
}
.map-toolbar .route-status-pill,
.route-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(12,125,77,.22);
  border-radius: 999px;
  color: #0b3a2a;
  background: #e9f8df;
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
}
.navigation-mode-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #08271b;
  background: var(--rd-lime);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(125,255,22,.26);
}
.navigation-mode-pill[hidden] {
  display: none !important;
}
.leaflet-popup-content small {
  display: inline-block;
  max-width: 220px;
  margin: 3px 0 5px;
  color: #55645b;
  font-weight: 800;
  line-height: 1.25;
}
.route-directions {
  flex: 1 1 100%;
  max-width: 420px;
  padding-top: 8px;
  border-top: 1px solid rgba(13,57,40,.12);
}
.route-directions[hidden] {
  display: none !important;
}
.route-directions b {
  display: block;
  margin-bottom: 5px;
  color: #123b2b;
  font-size: 12px;
  text-transform: uppercase;
}
.route-directions ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: #33483d;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.28;
}
.route-stop-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 42px;
  margin: 0;
  transform: translateZ(0);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.28));
}
.route-stop-icon span,
.route-stop-icon small {
  display: block;
  line-height: 1;
}
.route-stop-icon span {
  position: absolute;
  left: 0;
  top: 4px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #0b3a2a;
  font-size: 12px;
  font-weight: 900;
}
.route-stop-icon small {
  margin-left: 18px;
  padding: 8px 10px 8px 16px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #10261b;
  background: #7cff00;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0;
}
.route-stop-icon.selected small {
  color: #fff;
  background: #9c1d18;
}
.route-stop-icon.selected span {
  background: #9c1d18;
}
.route-stop-icon.status-new span,
.route-stop-icon.status-new small { color: #3b2a00; background: #f5c542; }
.route-stop-icon.status-scheduled span,
.route-stop-icon.status-scheduled small { color: #fff; background: #f97316; }
.route-stop-icon.status-provided_demo span,
.route-stop-icon.status-provided_demo small { color: #fff; background: #8b5cf6; }
.route-stop-icon.status-design_sold span,
.route-stop-icon.status-design_sold small { color: #12320e; background: #9be66d; }
.route-stop-icon.status-work_client span,
.route-stop-icon.status-work_client small { color: #fff; background: #1f8a4c; }
.route-stop-icon.status-in_progress span,
.route-stop-icon.status-in_progress small { color: #fff; background: #1d7ed6; }
.route-stop-icon.status-lost span,
.route-stop-icon.status-lost small { color: #fff; background: #dc2626; }
.route-stop-icon.selected span,
.route-stop-icon.selected small {
  outline: 3px solid rgba(255,255,255,.85);
  outline-offset: 2px;
}
.browser-location-marker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(29,162,255,.18);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.32));
}
.browser-location-marker::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(29,162,255,.36);
  border-radius: 50%;
  animation: route-location-pulse 1.8s ease-out infinite;
}
.browser-location-marker span {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  background: #1da2ff;
  transform-origin: center;
  box-shadow: 0 0 0 3px rgba(29,162,255,.25);
}
@keyframes route-location-pulse {
  0% { opacity: .78; transform: scale(.68); }
  100% { opacity: 0; transform: scale(1.35); }
}
.leaflet-tooltip {
  border: 1px solid rgba(13, 57, 40, .18);
  border-radius: 8px;
  color: #10261b;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
  font-family: inherit;
  font-weight: 900;
}
.field-map > svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.field-map > svg polyline {
  fill: none;
  stroke: #1da2ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
.real-map-shell .leaflet-routePath-pane {
  z-index: 640 !important;
  pointer-events: none;
}
.real-map-shell .leaflet-routePath-pane svg {
  pointer-events: none;
  overflow: visible;
}
.real-map-shell .leaflet-routePath-pane path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.field-map .navigation-route-halo {
  stroke: #fff !important;
  stroke-width: 14px !important;
  stroke-opacity: .92 !important;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.28));
}
.field-map .navigation-route-line {
  stroke: #0a7cff !important;
  stroke-width: 7px !important;
  stroke-opacity: .96 !important;
  filter: drop-shadow(0 3px 5px rgba(0,92,190,.36));
}
.lead-pin,
.current-position {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
}
.lead-pin {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #123b2b;
  font-size: 11px;
  font-weight: 900;
}
.lead-pin span,
.current-position {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #102016;
  background: #ffca28;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}
.lead-pin.new span { background: #f5c542; }
.lead-pin.scheduled span { color: #fff; background: #f97316; }
.lead-pin.provided_demo span { color: #fff; background: #8b5cf6; }
.lead-pin.design_sold span { background: #9be66d; }
.lead-pin.work_client span { color: #fff; background: #1f8a4c; }
.lead-pin.in_progress span { color: #fff; background: #1d7ed6; }
.lead-pin.lost span { color: #fff; background: #dc2626; }
.lead-pin.active span {
  outline: 4px solid rgba(141,255,31,.62);
}
.lead-pin b {
  max-width: 110px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.current-position {
  z-index: 6;
  width: auto;
  min-width: 54px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: #0e3829;
}
.field-map aside {
  position: absolute;
  right: 5%;
  top: 15%;
  z-index: 6;
  width: min(270px, 34%);
  padding: 22px;
  border-radius: 12px;
  color: #1b251f;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 36px rgba(0,0,0,.16);
}
.field-map aside b,
.field-map aside span {
  display: block;
}
.field-map aside b {
  margin-bottom: 12px;
  font-size: 22px;
}
.field-map aside span {
  margin: 10px 0;
  color: #34463b;
}
.phone-map small {
  display: block;
  margin-top: 12px;
  color: #53625a;
  line-height: 1.35;
  font-weight: 800;
}

/* Authenticated app layout from the supplied web-app design package. */
.app-body {
  background: #f6f7f3;
  color: #17251d;
}
.app-layout-v2 {
  grid-template-columns: 256px minmax(0, 1fr);
  background: #f6f7f3;
}
.app-layout-v2 .side {
  background: #183d25;
  border-right: 1px solid rgba(255,255,255,.12);
  color: #f8fff7;
}
.app-layout-v2 .side-logo {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-items: start;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 10px 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #f8fff7;
  text-align: left;
}
.app-layout-v2 .side-logo .ld-logo {
  width: 42px;
  height: 42px;
  margin: 0;
  border-width: 3px;
  font-size: 14px;
}
.app-layout-v2 .side-logo b {
  line-height: 1.04;
  letter-spacing: .5px;
}
.app-layout-v2 .side-logo small {
  color: rgba(255,255,255,.7);
  letter-spacing: 1.5px;
}
.app-layout-v2 .side nav {
  gap: 4px;
  padding-top: 8px;
}
.app-layout-v2 .side nav a,
.app-layout-v2 .side button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 9px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.app-layout-v2 .side nav a span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  color: #183d25;
  background: rgba(217,255,159,.84);
  font-size: 11px;
  font-weight: 900;
}
.app-layout-v2 .side nav a.active,
.app-layout-v2 .side nav a:hover,
.app-layout-v2 .side button:hover {
  color: #fff;
  background: #255d38;
}
.pro-card {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 4px;
  padding: 12px;
  border-radius: 9px;
  color: var(--lime);
  background: rgba(141,255,31,.12);
  font-size: 12px;
  font-weight: 900;
}
.pro-card i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(141,255,31,.16);
}
.app-layout-v2 .workspace {
  background: #f6f7f3;
}
.app-layout-v2 .workspace-top {
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 30;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 24px;
  border-bottom: 1px solid #dfe6dc;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}
.app-layout-v2 .workspace-top .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #d7e1d2;
  border-radius: 7px;
  color: #163426;
  background: #fff;
  font-size: 13px;
  box-shadow: none;
}
.app-layout-v2 .workspace-top .chip.active {
  color: #fff;
  background: #438b35;
  border-color: #438b35;
}
.dashboard-home-v2,
.app-layout-v2 .app-page {
  padding: 24px;
}
.app-welcome {
  margin-bottom: 24px;
}
.app-welcome p {
  margin: 0 0 4px;
  color: #66756d;
  font-size: 15px;
}
.app-welcome h1 {
  margin: 0;
  color: #142a1d;
  font-size: clamp(32px, 4vw, 46px);
}
.app-welcome span {
  display: block;
  margin-top: 7px;
  color: #66756d;
  font-size: 17px;
}
.app-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}
.app-services h2 {
  margin: 0 0 14px;
  color: #17251d;
}
.app-service-card {
  display: grid;
  grid-template-columns: 44px minmax(0, .72fr) minmax(220px, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 76px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid #dfe6dc;
  border-radius: 10px;
  color: #17251d;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.app-service-card:hover {
  border-color: #438b35;
  box-shadow: 0 12px 32px rgba(21,54,35,.08);
}
.app-service-card > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #438b35;
  background: rgba(67,139,53,.1);
  font-size: 13px;
  font-weight: 900;
}
.app-service-card b,
.app-service-card small {
  display: block;
}
.app-service-card small {
  margin-top: 3px;
  color: #66756d;
}
.app-service-card em {
  color: #66756d;
  font-style: normal;
  font-weight: 900;
}
.app-preview-card,
.stats-card {
  border: 1px solid #dfe6dc;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(21,54,35,.06);
}
.app-preview-card {
  overflow: hidden;
}
.ops-snapshot {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border: 1px solid #dfe6dc;
  border-radius: 10px;
  color: #12271d;
  background: #fff;
  box-shadow: 0 14px 40px rgba(21,54,35,.06);
}
.ops-snapshot h2,
.ops-snapshot h3 {
  margin: 0;
  color: #102f22;
}
.ops-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ops-metrics article {
  min-height: 92px;
  padding: 16px;
  border: 1px solid #dfebd8;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbf4, #edf8e6);
}
.ops-metrics b,
.ops-metrics span,
.recent-list b,
.recent-list span {
  display: block;
}
.ops-metrics b {
  color: #287b1f;
  font-size: 28px;
}
.ops-metrics span,
.recent-list span {
  color: #5f7167;
  font-weight: 800;
}
.recent-list {
  display: grid;
  gap: 10px;
}
.recent-list a {
  padding: 12px 14px;
  border: 1px solid #e0e8dd;
  border-radius: 8px;
  background: #fbfdf8;
}
.quick-actions.stacked {
  display: grid;
  gap: 10px;
  margin: 0;
}
.quick-actions.stacked .pill,
.quick-actions.stacked form,
.quick-actions.stacked button {
  width: 100%;
}
.app-device {
  padding: 28px;
  background: linear-gradient(135deg, #438b35, #1b4c2d);
}
.device-bar {
  height: 34px;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px 12px 0 0;
  background: #183d25;
}
.device-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.device-body {
  min-height: 255px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 0 0 12px 12px;
  background: #fff;
}
.device-body strong {
  color: #142a1d;
  font-size: 26px;
}
.device-body span {
  color: #66756d;
}
.device-body div {
  min-height: 48px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(67,139,53,.12), rgba(217,255,159,.18));
}
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}
.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px;
}
.stats-card article {
  display: grid;
  gap: 3px;
  color: #17251d;
}
.stats-card b {
  font-size: 30px;
}
.stats-card span {
  color: #66756d;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid #dfe6dc;
  border-radius: 10px;
  background: rgba(255,255,255,.82);
}
.filter-bar label,
.detail-form label,
.lead-edit label {
  display: grid;
  gap: 6px;
  color: #34493c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.filter-bar input,
.filter-bar select,
.detail-form input,
.detail-form select,
.detail-form textarea,
.lead-edit input,
.lead-edit select,
.lead-edit textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8e0d5;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: #17251d;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.card-head,
.button-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e7f8da;
  color: #225f1f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.status-badge.big {
  padding: 10px 16px;
  font-size: 13px;
}
.status-badge.lead-status,
.reference-dashboard .status-badge.lead-status {
  border-width: 1px;
  background: #eef5ea;
  color: #123225 !important;
}
.status-badge.status-new,
.reference-dashboard .status-badge.status-new {
  border-color: #e3b932;
  background: #fff2b8;
  color: #5f4300 !important;
}
.status-badge.status-scheduled,
.reference-dashboard .status-badge.status-scheduled {
  border-color: #f97316;
  background: #ffead7;
  color: #8a3200 !important;
}
.status-badge.status-provided_demo,
.reference-dashboard .status-badge.status-provided_demo {
  border-color: #8b5cf6;
  background: #efe8ff;
  color: #4a248f !important;
}
.status-badge.status-lost,
.reference-dashboard .status-badge.status-lost {
  border-color: #dc2626;
  background: #ffe1df;
  color: #991b1b !important;
}
.status-badge.status-design_sold,
.reference-dashboard .status-badge.status-design_sold {
  border-color: #76c84d;
  background: #e8ffd8;
  color: #235b12 !important;
}
.status-badge.status-work_client,
.reference-dashboard .status-badge.status-work_client {
  border-color: #1f8a4c;
  background: #dff6e9;
  color: #0f5b31 !important;
}
.status-badge.status-in_progress,
.reference-dashboard .status-badge.status-in_progress {
  border-color: #1d7ed6;
  background: #dceeff;
  color: #104f8b !important;
}
.pill.small {
  width: fit-content;
  padding: 8px 12px;
  font-size: 12px;
  text-decoration: none;
}
.pill.danger {
  background: #b9251d;
  color: #fff;
}
.pill.muted {
  background: #edf2ee;
  color: #53645a;
  pointer-events: none;
}
.back-link {
  color: var(--lime);
  font-weight: 900;
  text-decoration: none;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
}
.project-detail h2 {
  margin: 26px 0 12px;
  color: #173a2a;
}
.detail-side {
  display: grid;
  align-content: start;
  gap: 18px;
}
.detail-form,
.activity-panel {
  padding: 18px;
  border: 1px solid #dfe6dc;
  border-radius: 10px;
  background: rgba(255,255,255,.92);
}
.activity-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.activity-panel li {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1ea;
}
.activity-panel span {
  color: #66756d;
  font-size: 12px;
}
.route-panel a {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 8px;
  background: #eef1e8;
  color: #17251d;
  text-decoration: none;
}
.route-panel h3 {
  margin-bottom: 6px;
}
.route-panel p {
  margin: 0 0 14px;
  color: #5d6c63;
  font-size: 13px;
  font-weight: 900;
}
.route-panel a.active,
.route-panel a:hover {
  background: #dff8ce;
}
.route-panel a span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #9c1d18;
  font-weight: 900;
}
.route-panel a span em {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  border-radius: 999px;
  color: #fff;
  background: #0b3a2a;
  font-size: 11px;
  font-style: normal;
}
.route-panel a small {
  color: #66756d;
  font-weight: 800;
  text-transform: uppercase;
}
.lead-table td a {
  color: #225f1f;
  font-weight: 900;
}
.lead-edit {
  margin-top: 18px;
}
.app-map-shell .map-preview aside {
  width: 220px;
  max-width: 34%;
  line-height: 1.25;
}
.app-map-shell .map-preview aside span {
  overflow-wrap: anywhere;
}
.selected-route-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .9fr) minmax(260px, .55fr);
  align-items: center;
  gap: 18px;
  margin: 18px 0 20px;
  padding: 18px;
  border: 1px solid rgba(13, 57, 40, .12);
  border-radius: 12px;
  background: rgba(255,255,255,.9);
}
.selected-route-summary-top {
  margin: 0 0 18px;
}
.selected-route-summary.is-empty {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr);
}
.selected-route-summary.is-empty .panel-actions {
  display: none;
}
.selected-route-summary.is-empty h2 {
  color: #335244;
}
.selected-route-summary h2,
.selected-route-summary p {
  margin: 0;
}
.selected-route-summary h2 {
  color: #0c3324;
  font-size: 22px;
}
.selected-route-summary p {
  margin-top: 5px;
  color: #607067;
  font-weight: 800;
}
.selected-route-summary > div > span {
  display: block;
  margin-bottom: 4px;
  color: #3f7b2f;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}
.selected-route-summary .record-meta.compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.selected-route-summary .record-meta.compact span {
  padding: 10px;
  border-radius: 8px;
  color: #254535;
  background: #edf5e9;
  font-size: 12px;
  font-weight: 900;
}
.selected-route-summary .record-meta.compact .status-badge {
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-transform: uppercase;
}
.selected-route-summary .record-meta.compact .status-badge.status-new { background: #fff2b8; color: #5f4300; }
.selected-route-summary .record-meta.compact .status-badge.status-scheduled { background: #ffead7; color: #8a3200; }
.selected-route-summary .record-meta.compact .status-badge.status-provided_demo { background: #efe8ff; color: #4a248f; }
.selected-route-summary .record-meta.compact .status-badge.status-lost { background: #ffe1df; color: #991b1b; }
.selected-route-summary .record-meta.compact .status-badge.status-design_sold { background: #e8ffd8; color: #235b12; }
.selected-route-summary .record-meta.compact .status-badge.status-work_client { background: #dff6e9; color: #0f5b31; }
.selected-route-summary .record-meta.compact .status-badge.status-in_progress { background: #dceeff; color: #104f8b; }
.selected-route-summary .panel-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.selected-route-summary .panel-actions .pill,
.selected-route-summary .panel-actions form,
.selected-route-summary .panel-actions button {
  width: 100%;
}
.map-page .field-map {
  height: 590px;
  min-height: 590px;
}
.route-options-panel {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.route-options-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.route-options-heading h2,
.route-options-heading p {
  margin: 0;
}
.route-options-heading h2 {
  color: #08271b;
  font-size: 24px;
}
.route-options-heading p {
  margin-top: 4px;
  color: var(--rd-muted);
  font-weight: 800;
}
.route-options-heading > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #08271b;
  background: #e9f8df;
  font-weight: 950;
  white-space: nowrap;
}
.route-options-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.route-option-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(13,57,40,.12);
  border-left: 6px solid var(--route-card-color, #9be66d);
  border-radius: 10px;
  color: #10261b;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.route-option-card.status-new { --route-card-color: #f5c542; }
.route-option-card.status-scheduled { --route-card-color: #f97316; }
.route-option-card.status-provided_demo { --route-card-color: #8b5cf6; }
.route-option-card.status-lost { --route-card-color: #dc2626; }
.route-option-card.status-design_sold { --route-card-color: #9be66d; }
.route-option-card.status-work_client { --route-card-color: #1f8a4c; }
.route-option-card.status-in_progress { --route-card-color: #1d7ed6; }
.route-option-card.active {
  border-color: var(--route-card-color, rgba(125,255,22,.72));
  background: #e2ffd4;
  box-shadow: 0 14px 30px rgba(58,123,37,.14);
}
.route-option-card.is-hidden {
  display: none;
}
.route-option-card h3,
.route-option-card p {
  margin: 0;
}
.route-option-card h3 {
  margin-top: 5px;
  color: #08271b;
  font-size: 18px;
}
.route-option-card p {
  margin-top: 4px;
  color: #55645b;
  font-weight: 850;
  line-height: 1.25;
}
.route-option-card small {
  display: block;
  margin-top: 7px;
  color: #637267;
  font-weight: 850;
  text-transform: uppercase;
}
.route-card-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--route-card-color, #9c1d18);
  font-weight: 1000;
}
.route-card-time em {
  display: inline-grid;
  place-items: center;
  min-width: 27px;
  height: 27px;
  border-radius: 999px;
  color: #fff;
  background: #0b3a2a;
  font-size: 11px;
  font-style: normal;
}
.route-card-actions {
  display: grid;
  gap: 8px;
  min-width: 104px;
}
.route-card-actions .pill {
  width: 100%;
}
.show-route-options {
  justify-self: center;
}

@media (max-width: 980px) {
  .selected-route-summary,
  .selected-route-summary.is-empty {
    grid-template-columns: 1fr;
  }
  .route-options-list {
    grid-template-columns: 1fr;
  }
  .map-page .field-map {
    height: 500px;
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .route-options-heading,
  .route-option-card {
    grid-template-columns: 1fr;
  }
  .route-options-heading {
    align-items: start;
  }
  .map-page .field-map {
    height: 440px;
    min-height: 440px;
  }
}

@media (max-width: 1100px) {
  .ld-header {
    min-height: auto;
    flex-wrap: wrap;
  }
  .ld-brand { min-width: 0; }
  .ld-nav {
    width: 100%;
    overflow-x: auto;
  }
  .hero-copy { margin-left: 24px; padding-right: 24px; }
  .hero-copy h1 { position: static; margin-top: 42px; }
  .hero-logo-badge.logo-image {
    position: relative;
    top: auto;
    left: auto;
    width: 145px;
    height: 145px;
    margin-top: 34px;
  }
  .hero-tagline {
    top: 455px;
    right: 24px;
    width: min(72vw, 760px);
    font-size: clamp(30px, 5vw, 52px);
  }
  .hero-device {
    right: 5%;
    width: 70vw;
  }
  .photo-flow,
  .steps,
  .growth-board,
  .mesh-grid,
  .dashboard-promo,
  .design-workbench,
  .design-workbench-form,
  .imaging-capture,
  .proposal-form,
  .auth-shell,
  .dashboard-home,
  .map-mate,
  .work-panel,
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .tool-belt,
  .check-grid,
  .module-grid.rich,
  .crm-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .photo-flow b { display: none; }
  .growth-board .chart { grid-row: auto; min-height: 260px; }
  .dash-hero { display: none; }
  .stat-row { position: static; margin-top: 20px; }
  .app-home-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ld-header { padding: 10px; border-width: 3px; }
  .ld-logo { width: 58px; height: 58px; font-size: 20px; }
  .ld-brand strong { font-size: 28px; }
  .ld-brand small { font-size: 16px; }
  .mobile-login {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    color: #0b2115;
    background: var(--cream);
    font-weight: 900;
  }
  .menu-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: var(--cream);
    color: #0b2115;
    font-weight: 900;
  }
  .ld-nav {
    display: none;
    flex-direction: column;
  }
  .ld-nav.open { display: flex; }
  .ld-nav a {
    min-height: 50px;
    justify-content: flex-start;
    border-left: 0;
    border-top: 1px solid rgba(0,70,56,.28);
  }
  .ld-nav .login-nav { display: none; }
  .hero-shot {
    min-height: 730px;
    background-attachment: scroll;
  }
  .hero-copy p { font-size: 24px; }
  .hero-copy h1 { display: none; }
  .hero-logo-badge.logo-image { display: none; }
  .hero-tagline {
    top: auto;
    right: 20px;
    bottom: 150px;
    width: calc(100% - 40px);
    font-size: 33px;
  }
  .hero-device {
    left: 24px;
    right: auto;
    bottom: 118px;
    width: calc(100% - 48px);
    border-width: 13px;
  }
  .hero-shot > h2 {
    left: 24px;
    font-size: 58px;
  }
  .evolved,
  .growth,
  .mesh,
  .dashboard-promo { padding-left: 18px; padding-right: 18px; }
  .flow-card { min-height: 190px; }
  .steps article {
    justify-content: flex-start;
    font-size: 20px;
  }
  .wide-copy { font-size: 19px; }
  .roi {
    min-height: 220px;
    background-size: auto 100%;
    background-attachment: scroll;
  }
  .roi h2 { font-size: 52px; }
  .growth-board { padding: 15px; border-width: 5px; }
  .dash-mini { grid-template-columns: 1fr; }
  .dash-mini aside { display: none; }
  .dashboard-promo { gap: 30px; }
  .best-value h2 { text-align: left; }
  .auth-shell {
    padding: 18px;
    gap: 22px;
  }
  .auth-story h1 { font-size: 44px; }
  .auth-story p { font-size: 18px; }
  .auth-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-card { padding: 24px; }
  .auth-card h2 { font-size: 42px; }
  .app-shell { grid-template-columns: 1fr; }
  .side,
  .app-layout-v2 .side {
    position: static;
    height: auto;
    padding: 12px;
  }
  .side-logo {
    grid-template-columns: auto 1fr;
    justify-content: start;
    justify-items: start;
    gap: 10px;
    margin-bottom: 12px;
    text-align: left;
  }
  .side-logo .ld-logo {
    grid-row: span 2;
    margin-bottom: 0;
  }
  .side-logo small { display: none; }
  .side nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .side nav a,
  .side button {
    padding: 9px 8px;
    font-size: 12px;
    text-align: center;
  }
  .app-layout-v2 .side nav a {
    justify-content: center;
    gap: 6px;
  }
  .app-layout-v2 .side nav a span {
    display: none;
  }
  .pro-card {
    display: none;
  }
  .side form { margin-top: 8px; }
  .workspace-top,
  .app-layout-v2 .workspace-top {
    height: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 16px;
  }
  .workspace-top .chip,
  .app-layout-v2 .workspace-top .chip {
    padding: 10px 14px;
    font-size: 11px;
  }
  .workspace-top form { margin: 0; }
  .dashboard-home { padding: 20px 16px 48px; }
  .dash-stage { min-height: 440px; }
  .dash-stage .tablet-screen {
    width: 100%;
    height: 230px;
    top: 34px;
    right: auto;
    left: 0;
    transform: none;
    border-width: 12px;
  }
  .dash-stage .stat-row { grid-template-columns: repeat(2, 1fr); }
  .feature-strip,
  .module-grid,
  .module-grid.rich,
  .tool-belt,
  .check-grid,
  .crm-board,
  .filter-bar,
  .detail-grid,
  .admin-stats,
  .admin-filter { grid-template-columns: 1fr; }
  .detail-side {
    order: -1;
  }
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }
  .module-hero {
    display: block;
  }
  .ld-footer { flex-direction: column; }
  .dashboard-home-v2,
  .app-layout-v2 .app-page {
    padding: 18px;
  }
  .app-welcome h1 {
    font-size: 42px;
  }
  .app-service-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .app-service-card em {
    grid-column: 2;
  }
  .app-preview-card {
    display: none;
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
  }
  .map-preview {
    min-height: 420px;
    border-width: 6px;
  }
  .field-map {
    height: 380px;
    min-height: 380px;
    border-width: 6px;
  }
  .field-map aside {
    position: absolute;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    width: auto;
  }
  .lead-pin b {
    display: none;
  }
  .design-stage {
    min-height: 300px;
  }
  .design-workbench aside {
    order: -1;
  }
  .map-preview.big { min-height: 460px; }
  .map-sidebar { width: 58px; font-size: 10px; }
  .map-topbar { left: 58px; font-size: 11px; gap: 8px; }
  .map-preview:before { inset: 50px 23% 20px 30%; }
  .map-preview aside {
    width: 28%;
    padding: 14px;
    font-size: 12px;
  }
}

/* Wix-reference public landing pass: sections below the hero. */
.site-main {
  overflow: hidden;
  background: #052a21;
}
.evolved,
.growth,
.mesh,
.dashboard-promo {
  position: relative;
  isolation: isolate;
  padding: clamp(68px, 6vw, 106px) clamp(32px, 5.6vw, 96px);
  background:
    radial-gradient(circle at 72% 26%, rgba(122, 255, 203, .14), transparent 24%),
    radial-gradient(circle at 18% 74%, rgba(0, 17, 20, .58), transparent 30%),
    linear-gradient(135deg, #07251f 0%, #075337 54%, #062f25 100%);
}
.evolved:before,
.growth:before,
.mesh:before,
.dashboard-promo:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background:
    radial-gradient(circle at 1px 1px, rgba(154, 255, 245, .36) 0 1.5px, transparent 2px) 0 0 / 34px 34px,
    radial-gradient(circle at 18px 18px, transparent 0 10px, rgba(145, 255, 215, .2) 11px 14px, transparent 15px) 0 0 / 34px 34px;
  mask-image: radial-gradient(circle at 76% 36%, #000, transparent 47%);
}
.evolved {
  z-index: 4;
  margin-top: -130px;
  padding-top: clamp(112px, 8.4vw, 156px);
  text-align: center;
  background:
    linear-gradient(to bottom, rgba(0, 48, 39, .7), rgba(0, 56, 43, .94) 118px, rgba(3, 61, 47, .98) 78%, rgba(7, 42, 34, 1)),
    linear-gradient(135deg, #04251f, #075337 56%, #062f25);
}
.evolved h2 {
  margin: 0 auto 18px;
  color: #b8ff88;
  font-size: clamp(60px, 6.9vw, 118px);
  line-height: .88;
  font-weight: 900;
  text-shadow: 0 5px 12px rgba(0, 0, 0, .28);
}
.evolved h3 {
  margin: 0 auto 28px;
  color: #fff;
  font-size: clamp(31px, 3.25vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 3px 8px rgba(0, 0, 0, .28);
}
.evolved h3 span,
.growth h2 span,
.growth h2 small,
.final-cta span {
  color: var(--lime);
}
.photo-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  width: min(100%, 1810px);
  margin: 0 auto;
}
.flow-card {
  position: relative;
  min-height: clamp(250px, 14.7vw, 318px);
  border-radius: 7px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -84px 90px rgba(0, 0, 0, .22);
}
.flow-card small {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0f2418;
  background: rgba(221, 255, 177, .94);
  font-size: 12px;
  font-weight: 900;
  opacity: .85;
}
.photo-flow b {
  position: relative;
  z-index: 3;
  width: 128px;
  height: 52px;
  margin: 0 -37px;
  color: transparent;
  font-size: 0;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .46));
}
.photo-flow b:before,
.photo-flow b:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.photo-flow b:before {
  left: 0;
  width: 88px;
  height: 15px;
  background: #fff;
}
.photo-flow b:after {
  right: 0;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-left: 41px solid #fff;
}
.steps {
  width: min(100%, 1320px);
  margin: 24px auto 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}
.steps article {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: clamp(20px, 1.55vw, 30px);
  font-style: italic;
  text-align: left;
}
.steps span {
  position: relative;
  width: 82px;
  height: 82px;
  display: block;
  color: transparent;
}
.step-camera:before {
  content: "";
  position: absolute;
  inset: 18px 8px 16px;
  border: 5px solid var(--lime-soft);
  border-radius: 12px;
}
.step-camera:after {
  content: "";
  position: absolute;
  left: 33px;
  top: 34px;
  width: 18px;
  height: 18px;
  border: 5px solid var(--lime-soft);
  border-radius: 50%;
}
.step-leaf:before {
  content: "";
  position: absolute;
  inset: 10px 14px;
  border: 5px solid var(--lime-soft);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
}
.step-leaf:after {
  content: "";
  position: absolute;
  left: 38px;
  top: 14px;
  bottom: 11px;
  border-left: 5px solid var(--lime-soft);
}
.step-bulb:before {
  content: "";
  position: absolute;
  left: 22px;
  top: 8px;
  width: 38px;
  height: 46px;
  border: 5px solid var(--lime-soft);
  border-radius: 50% 50% 42% 42%;
  box-shadow: 0 0 18px rgba(217, 255, 159, .56);
}
.step-bulb:after {
  content: "";
  position: absolute;
  left: 31px;
  top: 58px;
  width: 20px;
  height: 12px;
  border-top: 5px solid var(--lime-soft);
  border-bottom: 5px solid var(--lime-soft);
}
.wide-copy {
  width: min(100%, 1270px);
  margin: 0 auto;
  color: #fff;
  font-size: clamp(21px, 1.58vw, 31px);
  line-height: 1.26;
  font-weight: 900;
}
.roi {
  min-height: clamp(250px, 19vw, 360px);
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(rgba(115, 207, 238, .18), rgba(127, 220, 248, .18)),
    url("../img/roi-mountain-climber.png") center 32% / cover no-repeat;
}
.roi h2 {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
  margin: 0;
  color: var(--lime);
  font-size: clamp(62px, 8.2vw, 150px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 5px 8px rgba(0, 0, 0, .34);
}
.growth {
  padding-top: clamp(78px, 6.4vw, 118px);
  background:
    radial-gradient(circle at 56% 102%, rgba(105, 255, 189, .2), transparent 24%),
    linear-gradient(135deg, #06241f 0%, #084a36 54%, #06291f 100%);
}
.growth h2,
.growth > p,
.growth-board {
  width: min(100%, 1300px);
  margin-left: auto;
  margin-right: auto;
}
.growth h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(36px, 3.55vw, 58px);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 4px 10px rgba(0, 0, 0, .42);
}
.growth h2 small {
  margin-left: 16px;
  font-size: .62em;
  white-space: nowrap;
}
.growth > p {
  margin-top: 0;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(25px, 2.25vw, 39px);
  line-height: 1.1;
  font-weight: 900;
}
.growth-board {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 1.55fr) 1fr;
  grid-template-rows: auto auto auto;
  gap: 18px 30px;
  padding: clamp(28px, 3vw, 48px) clamp(34px, 4.2vw, 70px) 20px;
  border: 9px solid #e9eef0;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 62%, rgba(147, 255, 54, .18), transparent 25%),
    linear-gradient(135deg, rgba(9, 76, 81, .98), rgba(8, 93, 83, .88));
  box-shadow: inset 0 0 80px rgba(110, 255, 150, .08), 0 18px 42px rgba(0, 0, 0, .22);
}
.growth-item {
  min-height: 180px;
  padding: 14px 8px;
  color: #fff;
}
.growth-item i {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  border: 3px solid #bfe99a;
  border-radius: 50%;
  color: #bfe99a;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}
.growth-item b,
.growth-board strong {
  display: block;
  color: #bfe99a;
  font-size: clamp(20px, 1.42vw, 26px);
  font-weight: 900;
}
.growth-item span {
  display: block;
  margin-top: 9px;
  color: #fff;
  font-size: clamp(16px, 1.02vw, 19px);
  line-height: 1.45;
  font-weight: 800;
}
.chart {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-height: 410px;
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
  background:
    linear-gradient(135deg, transparent 34%, rgba(132, 255, 54, .36)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 90px);
}
.chart:before {
  content: "";
  position: absolute;
  inset: 52% 8% 24% 10%;
  border-left: 2px solid rgba(255,255,255,.35);
  border-bottom: 2px solid rgba(255,255,255,.35);
}
.chart strong {
  max-width: 560px;
  color: #c8ec98;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.05;
}
.chart > span:not(.chart-line) {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 800;
}
.chart em {
  position: absolute;
  right: 7%;
  bottom: 18%;
  padding: 12px 18px;
  border: 1px solid rgba(210, 255, 166, .36);
  border-radius: 12px;
  color: var(--lime-soft);
  background: rgba(0, 58, 50, .5);
  font-size: clamp(31px, 2.2vw, 42px);
  font-style: normal;
  font-weight: 900;
}
.chart em small {
  display: block;
  font-size: .48em;
}
.chart-line {
  position: absolute;
  left: 14%;
  right: 15%;
  bottom: 30%;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a8ff48, #e9ffad);
  transform: rotate(-16deg);
  box-shadow: 0 0 24px rgba(141, 255, 31, .8);
}
.chart-line:before,
.chart-line:after {
  content: "";
  position: absolute;
  top: -7px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e9ffad;
  box-shadow: 0 0 16px rgba(141, 255, 31, .8);
}
.chart-line:before { left: 24%; }
.chart-line:after { right: 0; }
.growth-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.growth-benefits span {
  min-height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.28);
  font-size: 15px;
  font-weight: 900;
}
.growth-benefits span:before {
  content: "OK";
  margin-right: 8px;
  color: #d9ff9f;
  font-size: 11px;
}
.growth-benefits span:last-child { border-right: 0; }
.mesh {
  min-height: 860px;
  background:
    radial-gradient(circle at 73% 54%, rgba(109, 255, 243, .28), transparent 27%),
    linear-gradient(135deg, #06251f, #074d39 52%, #062d23);
}
.mesh:before {
  opacity: .62;
  mask-image: radial-gradient(circle at 76% 42%, #000 0 35%, transparent 62%);
}
.mesh h2 {
  width: min(100%, 1200px);
  margin: 0 auto clamp(54px, 5vw, 86px);
  color: var(--lime);
  font-size: clamp(64px, 7.1vw, 126px);
  line-height: .88;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 5px 13px rgba(0,0,0,.25);
}
.mesh-grid {
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .74fr 1.42fr;
  gap: clamp(42px, 5vw, 82px);
  align-items: center;
}
.mesh h3 {
  margin: 0 0 36px;
  color: var(--lime-soft);
  font-size: clamp(28px, 2.2vw, 40px);
  font-style: italic;
  font-weight: 900;
}
.mesh p {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 1.55vw, 31px);
  line-height: 1.31;
  font-weight: 900;
}
.mesh .map-preview {
  min-height: clamp(310px, 22vw, 395px);
  border: 8px solid #0b0d10;
  border-radius: 16px;
  background: url("../img/map-mate-wix-device.png") center / cover no-repeat;
  box-shadow: 0 20px 46px rgba(0,0,0,.28);
}
.mesh .map-preview .route-line,
.mesh .map-preview .pin,
.mesh .map-preview aside {
  display: none;
}
.dashboard-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, .72fr);
  gap: clamp(42px, 6vw, 108px);
  align-items: center;
  scroll-margin-top: 132px;
  padding-top: clamp(64px, 5.2vw, 90px);
  padding-bottom: clamp(64px, 5.2vw, 90px);
  background:
    radial-gradient(circle at 79% 35%, rgba(82, 207, 86, .33), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(111, 255, 221, .18), transparent 26%),
    linear-gradient(135deg, #06251f, #074c34 58%, #063325);
}
.ai-screenshot {
  padding: 10px;
  border: 8px solid #050505;
  border-radius: 22px;
  background: #050505;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dash-mini {
  min-height: clamp(440px, 31vw, 560px);
  display: grid;
  grid-template-columns: 180px 1fr;
  color: #113528;
  overflow: hidden;
  border-radius: 14px;
  background: #f0f7ea;
}
.dash-mini aside {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 24px 18px;
  background: linear-gradient(180deg, #16492f, #0f2d22);
}
.dash-mini aside b,
.dash-mini aside span {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}
.dash-mini aside b {
  color: #fff;
}
.dash-mini aside span {
  padding: 10px 12px;
  border-radius: 7px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.08);
}
.dash-mini aside span:first-of-type {
  color: #173b2c;
  background: var(--lime);
}
.dash-mini section {
  position: relative;
  overflow: hidden;
  padding: 42px 32px;
  background: linear-gradient(135deg, #f7fff2 0%, #e6f2de 54%, #d0ebcc 100%);
}
.dash-mini h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  color: #183c2d;
  font-size: clamp(30px, 3vw, 48px);
  line-height: .98;
}
.mini-services {
  position: relative;
  z-index: 2;
  width: min(330px, 45%);
  display: grid;
  gap: 9px;
}
.mini-services span {
  padding: 12px 14px;
  border-radius: 8px;
  color: #173529;
  background: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 900;
}
.mini-tablet {
  position: absolute;
  right: 6%;
  top: 27%;
  width: 48%;
  height: 45%;
  border: 13px solid #111;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(3deg);
  background:
    linear-gradient(180deg, #bfe3ff 0 40%, #50934f 40% 100%);
  box-shadow: 0 20px 42px rgba(0,0,0,.35);
}
.mini-tablet:before {
  content: "";
  position: absolute;
  left: 20%;
  right: 18%;
  top: 18%;
  height: 45%;
  border: 4px solid #6b553e;
  border-bottom-width: 8px;
  background: #dcc29b;
}
.mini-tablet:after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: 0;
  width: 15%;
  height: 38%;
  background: linear-gradient(180deg, #d5d0bc, #a79b82);
  clip-path: polygon(45% 0, 56% 0, 100% 100%, 0 100%);
}
.mini-tablet span {
  position: absolute;
  left: 18px;
  top: 16px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #143426;
  background: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: 900;
}
.mini-stats {
  position: absolute;
  left: 43%;
  right: 6%;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.mini-stats b {
  display: grid;
  gap: 3px;
  place-items: center;
  min-height: 62px;
  border-radius: 14px;
  color: #12402d;
  background: rgba(229, 255, 245, .7);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.54);
}
.mini-stats small {
  display: block;
  color: #4f6759;
  font-size: 10px;
  font-weight: 800;
}
.best-value h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(36px, 3.2vw, 52px);
  line-height: 1.22;
  text-align: center;
  font-weight: 900;
}
.best-value ul {
  margin: 0 0 24px;
  padding-left: 1.2em;
}
.best-value li {
  margin: 16px 0;
  color: var(--lime);
  font-size: clamp(20px, 1.48vw, 28px);
  line-height: 1.13;
  font-weight: 900;
}
.cream-btn {
  min-width: 230px;
  min-height: 48px;
  font-style: italic;
}
.final-cta {
  padding: clamp(60px, 5.2vw, 88px) 22px clamp(68px, 5.8vw, 98px);
  text-align: center;
  background: linear-gradient(135deg, #5aad39 0%, #16ae67 46%, #93d6b3 100%);
}
.final-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4.15vw, 68px);
  line-height: 1.1;
  font-weight: 900;
}
.final-cta p {
  max-width: 870px;
  margin: 18px auto 24px;
  color: #fff;
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.35;
  font-weight: 800;
}

/* Authenticated operations suite pass. */
.crm-layout,
.proposal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 22px;
  align-items: start;
}
.crm-detail-panel,
.proposal-layout aside {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #dce8d8;
  border-radius: 10px;
  color: #132b20;
  background: #fff;
  box-shadow: 0 16px 45px rgba(21,54,35,.08);
}
.crm-detail-panel h2 {
  margin: 0;
  color: #103b29;
}
.pipeline-board {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.pipeline-board article {
  min-height: 112px;
  border-left: 6px solid var(--status-color, #9be66d);
}
.pipeline-board article.status-new { --status-color: #f5c542; }
.pipeline-board article.status-scheduled { --status-color: #f97316; }
.pipeline-board article.status-provided_demo { --status-color: #8b5cf6; }
.pipeline-board article.status-lost { --status-color: #dc2626; }
.pipeline-board article.status-design_sold { --status-color: #9be66d; }
.pipeline-board article.status-work_client { --status-color: #1f8a4c; }
.pipeline-board article.status-in_progress { --status-color: #1d7ed6; }
.pipeline-board small {
  display: block;
  margin-top: 8px;
  color: #267a1c;
  font-weight: 900;
}
.panel-form.compact {
  margin-top: 0;
  padding: 18px;
}
.panel-form.compact label,
.proposal-builder label {
  min-width: 0;
}
.activity-panel ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
.activity-panel li {
  padding: 12px 0;
  border-bottom: 1px solid #e4ece1;
}
.activity-panel li:last-child {
  border-bottom: 0;
}
.activity-panel p {
  margin: 6px 0 0;
  color: #607067;
}
.proposal-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  gap: 10px;
  grid-column: 1 / -1;
}
.task-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.real-map-shell {
  padding: 0;
  background: #dfe9df;
}
.real-map-shell.is-driver-mode {
  border-color: #7cff00;
  box-shadow: 0 22px 58px rgba(30, 95, 47, .28);
}
.leaflet-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.real-map-shell .map-toolbar {
  z-index: 500;
}
.real-map-shell.is-driver-mode .map-toolbar {
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 34px rgba(13,57,40,.18);
}
.map-detail-card {
  position: absolute;
  right: 18px;
  top: 84px;
  z-index: 501;
  width: min(310px, calc(100% - 36px));
  max-height: calc(100% - 110px);
  overflow: auto;
  padding: 20px;
  border-radius: 10px;
  color: #1b251f;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}
.map-detail-card b,
.map-detail-card span {
  display: block;
}
.map-detail-card b {
  margin-bottom: 10px;
  font-size: 22px;
}
.map-detail-card span {
  margin: 8px 0;
  color: #34463b;
}
.leaflet-popup-content a {
  color: #216b1d;
  font-weight: 900;
}
.proposal-print {
  min-height: 100vh;
  padding: 42px;
  color: #132b20;
  background: #f7faf4;
}
.proposal-print header,
.proposal-print section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.proposal-print .ld-brand {
  min-width: 0;
  color: #143323;
}
.proposal-print table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.proposal-print th,
.proposal-print td {
  padding: 18px;
  border-bottom: 1px solid #dce8d8;
  text-align: left;
}
.proposal-print tfoot td {
  color: #103b29;
  font-size: 22px;
  font-weight: 900;
}
@media print {
  .proposal-print button {
    display: none;
  }
  .proposal-print {
    padding: 0;
    background: #fff;
  }
}

@media (max-width: 1100px) {
  .crm-layout,
  .proposal-layout,
  .map-mate {
    grid-template-columns: 1fr;
  }
  .selected-route-summary {
    grid-template-columns: 1fr;
  }
  .crm-detail-panel,
  .proposal-layout aside {
    position: static;
  }
  .pipeline-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proposal-item-row {
    grid-template-columns: 1fr;
  }
  .task-grid {
    grid-template-columns: 1fr;
  }
  .photo-flow,
  .steps,
  .growth-board,
  .mesh-grid,
  .dashboard-promo {
    grid-template-columns: 1fr;
  }
  .photo-flow {
    gap: 16px;
  }
  .photo-flow b {
    display: none;
  }
  .growth h2 small {
    display: block;
    margin: 8px 0 0;
  }
  .chart {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }
  .growth-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mesh {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .evolved {
    margin-top: -86px;
    padding-top: 105px;
  }
  .evolved,
  .growth,
  .mesh,
  .dashboard-promo {
    padding-left: 18px;
    padding-right: 18px;
  }
  .evolved h2,
  .mesh h2 {
    font-size: clamp(48px, 14vw, 72px);
  }
  .flow-card {
    min-height: 205px;
  }
  .steps article {
    grid-template-columns: 64px minmax(0, 1fr);
    font-size: 19px;
  }
  .steps span {
    width: 64px;
    height: 64px;
  }
  .wide-copy {
    font-size: 18px;
  }
  .roi {
    min-height: 210px;
  }
  .roi h2 {
    font-size: clamp(48px, 15vw, 76px);
  }
  .growth-board {
    padding: 22px 16px;
    border-width: 5px;
  }
  .growth-benefits {
    grid-template-columns: 1fr;
  }
  .growth-benefits span {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }
  .mesh .map-preview {
    min-height: 245px;
  }
  .dash-mini {
    grid-template-columns: 1fr;
  }
  .dash-mini aside {
    display: none;
  }
  .dash-mini section {
    min-height: 440px;
    padding: 28px 20px;
  }
  .mini-services {
    width: 100%;
    max-width: 320px;
  }
  .mini-tablet {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 94px;
    width: auto;
    height: 170px;
    border-width: 10px;
    border-radius: 18px;
    transform: rotate(2deg);
  }
  .mini-stats {
    left: 18px;
    right: 18px;
    bottom: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
  .mini-stats b {
    min-height: 48px;
    font-size: 14px;
  }
  .best-value h2 {
    text-align: left;
  }
}

/* Demo-readiness app refinement pass. */
.app-layout-v2 {
  background: #f3f6f1;
}
.app-layout-v2 .side {
  background:
    radial-gradient(circle at 20% 0%, rgba(141,255,31,.22), transparent 28%),
    linear-gradient(180deg, #0f4c31 0%, #123d2b 38%, #0b2b20 100%);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.08);
}
.app-layout-v2 .side nav a {
  border: 1px solid rgba(203, 255, 169, .08);
  background: rgba(255,255,255,.035);
}
.app-layout-v2 .side nav a:hover,
.app-layout-v2 .side nav a.active {
  border-color: rgba(217,255,159,.28);
  background: linear-gradient(135deg, rgba(141,255,31,.22), rgba(255,255,255,.08));
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.app-layout-v2 .workspace {
  background:
    radial-gradient(circle at 100% 0%, rgba(141,255,31,.1), transparent 26%),
    linear-gradient(180deg, #f8faf5 0%, #eef3ea 100%);
}
.unified-page {
  color: #13251c;
}
.unified-hero {
  align-items: flex-start;
  padding: 22px;
  border: 1px solid #dfe8d9;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(243,249,239,.94)),
    radial-gradient(circle at 92% 20%, rgba(141,255,31,.16), transparent 24%);
  box-shadow: 0 16px 44px rgba(21,54,35,.07);
}
.unified-hero h1 {
  color: #0f3d2b;
  font-size: clamp(36px, 3.45vw, 54px);
  line-height: 1.04;
}
.unified-hero p {
  max-width: 760px;
  color: #5e7066;
  font-weight: 800;
}
.page-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #2d7d22;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}
.workspace-card {
  padding: 18px;
  border: 1px solid #dfe8d9;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 44px rgba(21,54,35,.07);
}
.action-drawer {
  margin: 0 0 14px;
  border: 1px solid #dce8d8;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.action-drawer summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  color: #113628;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}
.action-drawer summary::-webkit-details-marker {
  display: none;
}
.action-drawer summary:after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #153426;
  background: #e8f8dc;
}
.action-drawer[open] summary:after {
  content: "-";
}
.action-drawer .panel-form {
  border: 0;
  border-top: 1px solid #edf2ea;
  border-radius: 0;
  box-shadow: none;
}
.linked-crm-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfe5c7;
  border-radius: 8px;
  background: #f4fbef;
  color: #123225;
  font-weight: 900;
}
.linked-crm-pill span {
  color: #53645a;
  font-size: 13px;
}
.crm-linked-projects {
  display: grid;
  gap: 10px;
}
.crm-linked-projects h3 {
  margin: 0;
  color: #103b29;
  font-size: 16px;
}
.crm-linked-projects article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #dce8d8;
  border-radius: 8px;
  background: #f8fbf6;
}
.crm-linked-projects article b,
.crm-linked-projects article a {
  color: #123225;
  font-weight: 900;
}
.crm-linked-projects article span {
  color: #607067;
  font-size: 13px;
  font-weight: 800;
}
.add-record-drawer {
  border-color: #bce9a6;
  background: linear-gradient(135deg, #fff, #f5fbf0);
}
.panel-form.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.panel-form.compact h3,
.panel-form.compact label:last-of-type,
.panel-form.compact .button-row,
.panel-form.compact button.pill {
  grid-column: 1 / -1;
}
.record-profile {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.profile-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #153426;
  background: var(--lime);
  font-weight: 900;
}
.record-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.record-meta span {
  padding: 10px;
  border-radius: 8px;
  background: #f0f7eb;
  color: #365446;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.panel-actions {
  margin: 0;
}
.panel-actions form,
.panel-actions .pill {
  flex: 1 1 160px;
}
.timeline-panel {
  background: #fbfdf8;
}
.project-card-grid article {
  min-height: 190px;
}
.danger-zone {
  border-color: #f0d7d5;
  background: #fffafa;
}
.map-workspace {
  margin-top: 18px;
}
.map-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.map-actions-row .action-drawer {
  margin-bottom: 0;
}
.map-status-board {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 22px;
  align-items: start;
}
.support-search {
  margin-bottom: 18px;
}
.support-search label {
  display: grid;
  gap: 8px;
  color: #34493c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.support-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d8e0d5;
  border-radius: 10px;
  color: #17251d;
  background: #fff;
}
.kb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.kb-category {
  padding: 18px;
  border: 1px solid #dfe8d9;
  border-radius: 10px;
  background: #fff;
}
.kb-category h3 {
  margin: 0 0 12px;
  color: #0f3d2b;
}
.kb-category details {
  border-top: 1px solid #edf2ea;
}
.kb-category summary {
  padding: 13px 0;
  color: #17251d;
  cursor: pointer;
  font-weight: 900;
}
.kb-category p {
  margin: 0 0 14px;
  color: #5f7167;
  line-height: 1.45;
  font-weight: 750;
}
.support-side {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 16px;
}
.module-grid.rich.ticket-grid {
  grid-template-columns: 1fr;
  margin: 0;
}
.module-grid.rich.ticket-grid article {
  min-height: 160px;
  width: 100%;
}
.lead-table td:nth-child(5) {
  white-space: nowrap;
}
.support-ticket-form textarea {
  min-height: 140px;
}
.support-ticket-form {
  grid-template-columns: 1fr;
  max-width: none;
}
.support-ticket-form label,
.support-ticket-form input,
.support-ticket-form textarea,
.support-ticket-form button {
  width: 100%;
}
@media (max-width: 1100px) {
  .support-layout,
  .crm-layout,
  .proposal-layout,
  .detail-grid,
  .app-home-grid {
    grid-template-columns: 1fr;
  }
  .support-side,
  .crm-detail-panel,
  .proposal-layout aside {
    position: static;
  }
  .kb-grid,
  .map-actions-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .unified-hero {
    display: grid;
  }
  .hero-actions {
    justify-content: stretch;
  }
  .hero-actions .pill,
  .hero-actions form,
  .hero-actions button {
    width: 100%;
  }
  .panel-form.compact,
  .record-meta,
  .pipeline-board,
  .map-status-board {
    grid-template-columns: 1fr;
  }
}

/* 2026-05-21 reference dashboard replication pass */
.reference-dashboard {
  --rd-bg: #f3f8ef;
  --rd-bg-2: #edf5e7;
  --rd-card: rgba(255,255,255,.88);
  --rd-card-solid: #ffffff;
  --rd-border: #dbe6d6;
  --rd-text: #173d2d;
  --rd-muted: #627368;
  --rd-primary: #3c8a2e;
  --rd-lime: #83ff17;
  --rd-sidebar: #0d3427;
  --rd-sidebar-2: #164f36;
  --rd-radius: 10px;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: 100vh;
  background:
    radial-gradient(ellipse 72% 46% at 82% 18%, rgba(128,255,37,.09), transparent 62%),
    radial-gradient(ellipse 55% 36% at 18% 82%, rgba(66,143,93,.08), transparent 58%),
    linear-gradient(160deg, var(--rd-bg), var(--rd-bg-2));
  color: var(--rd-text);
  font-family: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.reference-dashboard .side {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 256px;
  height: 100vh;
  padding: 0 14px 18px;
  overflow-y: auto;
  background:
    radial-gradient(ellipse at 18% 28%, rgba(83,147,86,.28), transparent 52%),
    radial-gradient(ellipse at 92% 74%, rgba(95,182,118,.2), transparent 44%),
    linear-gradient(180deg, #113f2c 0%, #0f3829 42%, #082f23 100%);
  border-right: 1px solid rgba(199,226,196,.18);
  box-shadow: none;
}
.reference-dashboard .side-accent {
  height: 1px;
  margin: 0 -14px;
  background: linear-gradient(90deg, transparent, var(--rd-lime), transparent);
  opacity: .8;
}
.reference-dashboard .side-logo {
  display: grid;
  grid-template-columns: 44px minmax(0, auto) 1fr;
  align-items: center;
  gap: 10px;
  min-height: 80px;
  padding: 12px 0 18px;
  border-bottom: 1px solid rgba(220,244,218,.18);
}
.reference-dashboard .side-logo .ld-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(131,255,23,.14);
}
.reference-dashboard .side-logo b {
  color: #f6fff2;
  font-size: 13px;
  line-height: 1.02;
  letter-spacing: 0;
}
.reference-dashboard .side-logo small {
  align-self: center;
  color: rgba(241,255,238,.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.reference-dashboard .side nav {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}
.reference-dashboard .side nav a,
.reference-dashboard .side-bottom form button {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(217,243,216,.1);
  border-radius: 8px;
  color: rgba(246,255,244,.78);
  background: rgba(255,255,255,.025);
  font-size: 14px;
  font-weight: 800;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.reference-dashboard .side nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 24px;
  border-radius: 0 999px 999px 0;
  background: transparent;
  transform: translateY(-50%);
}
.reference-dashboard .side nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}
.reference-dashboard .side nav a.active {
  color: #c9ff95;
  background: rgba(131,255,23,.11);
  border-color: rgba(131,255,23,.18);
}
.reference-dashboard .side nav a.active::before {
  background: var(--rd-lime);
}
.reference-dashboard .side nav span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #143421;
  background: #b7ee87;
  font-size: 12px;
  font-weight: 950;
}
.reference-dashboard .side nav a:not(.active) span {
  color: rgba(18,47,32,.85);
  background: rgba(188,237,145,.9);
}
.reference-dashboard .side nav b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reference-dashboard .side-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(220,244,218,.16);
}
.reference-dashboard .pro-card {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  margin: 4px 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--rd-lime);
  background: rgba(118,255,23,.11);
  border: 1px solid rgba(131,255,23,.12);
  font-size: 12px;
  text-transform: uppercase;
}
.reference-dashboard .pro-card i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rd-lime);
  box-shadow: 0 0 0 5px rgba(131,255,23,.14);
}
.reference-dashboard .side-bottom form button {
  width: 100%;
  border: 0;
  color: rgba(246,255,244,.78);
  cursor: pointer;
}
.reference-dashboard .side-bottom form button::before {
  content: "L";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: rgba(246,255,244,.78);
  background: rgba(255,255,255,.08);
}
.reference-dashboard .workspace {
  min-width: 0;
  padding: 0;
  background: transparent;
}
.reference-dashboard .workspace-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--rd-border);
  background: rgba(251,253,248,.82);
  backdrop-filter: blur(12px);
}
.workspace-search {
  position: relative;
  flex: 1 1 420px;
  max-width: 430px;
}
.workspace-search span::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid #87958b;
  border-radius: 999px;
  transform: translateY(-50%);
}
.workspace-search span::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 34px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #87958b;
  transform: rotate(45deg);
}
.workspace-search input {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px 10px 38px;
  border: 1px solid var(--rd-border);
  border-radius: 8px;
  color: #1f3528;
  background: rgba(232,241,226,.7);
  font-size: 14px;
  box-shadow: none;
}
.workspace-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reference-dashboard .chip,
.reference-dashboard .user-chip,
.reference-dashboard .pill {
  min-height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.reference-dashboard .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: #20392b;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--rd-border);
}
.reference-dashboard .chip:hover {
  border-color: rgba(60,138,46,.45);
}
.reference-dashboard .icon-chip {
  width: 38px;
  justify-content: center;
  padding: 0;
}
.reference-dashboard .user-chip {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #12301f;
  background: var(--rd-lime);
}
.reference-dashboard .workspace > .dashboard-home-v2,
.reference-dashboard .workspace > .app-page {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 24px 24px 48px;
}
.reference-dashboard .app-welcome {
  margin: 4px 0 26px;
}
.reference-dashboard .app-welcome p {
  margin: 0 0 4px;
  color: var(--rd-muted);
  font-size: 14px;
}
.reference-dashboard .app-welcome h1,
.reference-dashboard .module-hero h1,
.reference-dashboard .unified-hero h1 {
  margin: 0;
  color: var(--rd-text);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}
.reference-dashboard .app-welcome span,
.reference-dashboard .module-hero p,
.reference-dashboard .unified-hero p {
  display: block;
  max-width: 760px;
  margin-top: 8px;
  color: var(--rd-muted);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 650;
}
.reference-dashboard .module-hero,
.reference-dashboard .unified-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.reference-dashboard .page-kicker {
  display: none;
}
.reference-dashboard .hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}
.reference-dashboard .pill,
.reference-dashboard button.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--rd-border);
  color: #1c3729;
  background: rgba(255,255,255,.78);
  box-shadow: none;
  cursor: pointer;
}
.reference-dashboard .pill.cta,
.reference-dashboard button.pill.cta {
  border-color: transparent;
  color: #142817;
  background: var(--rd-lime);
}
.reference-dashboard .pill.dark,
.reference-dashboard button.pill.dark {
  border-color: transparent;
  color: #f8fff2;
  background: #213d31;
}
.reference-dashboard .pill.small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}
.reference-dashboard .admin-users-table select {
  min-width: 128px;
  min-height: 38px;
  padding: 7px 10px;
}
.reference-dashboard .app-home-grid,
.reference-dashboard .crm-layout,
.reference-dashboard .proposal-layout,
.reference-dashboard .support-layout,
.reference-dashboard .detail-grid {
  display: grid;
  gap: 24px;
  align-items: start;
  min-width: 0;
}
.reference-dashboard .crm-layout > main,
.reference-dashboard .proposal-layout > main,
.reference-dashboard .support-layout > main,
.reference-dashboard .detail-grid > main {
  min-width: 0;
}
.reference-dashboard .app-home-grid {
  grid-template-columns: minmax(0, 2fr) minmax(315px, 1fr);
}
.reference-dashboard .crm-layout,
.reference-dashboard .proposal-layout,
.reference-dashboard .support-layout {
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
}
.reference-dashboard .app-services h2 {
  margin: 0 0 16px;
  color: #132f24;
  font-size: 18px;
}
.reference-dashboard .app-service-card {
  display: grid;
  grid-template-columns: 40px minmax(170px, auto) 1fr;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  margin-bottom: 9px;
  padding: 14px 16px;
  border: 1px solid var(--rd-border);
  border-radius: 8px;
  color: var(--rd-text);
  background: var(--rd-card);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.reference-dashboard .app-service-card:hover {
  border-color: rgba(60,138,46,.45);
  background: rgba(255,255,255,.96);
  transform: translateY(-1px);
}
.reference-dashboard .app-service-card span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  color: var(--rd-primary);
  background: #edf5e9;
  font-weight: 950;
}
.reference-dashboard .app-service-card b {
  color: #102b20;
  font-size: 15px;
}
.reference-dashboard .app-service-card em {
  justify-self: end;
  max-width: 460px;
  color: var(--rd-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 14px;
  font-weight: 750;
}
.reference-dashboard .ops-snapshot,
.reference-dashboard .workspace-card,
.reference-dashboard .crm-detail-panel,
.reference-dashboard .panel-form,
.reference-dashboard .module-grid.rich article,
.reference-dashboard .table-wrap,
.reference-dashboard .photo-card,
.reference-dashboard .work-panel,
.reference-dashboard .kb-category,
.reference-dashboard .support-side > *,
.reference-dashboard .brand-form,
.reference-dashboard .proposal-builder {
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  background: var(--rd-card);
  box-shadow: none;
}
.reference-dashboard .ops-snapshot {
  padding: 20px;
}
.reference-dashboard .ops-snapshot h2,
.reference-dashboard .ops-snapshot h3 {
  margin: 0 0 14px;
  color: #132f24;
  font-size: 16px;
}
.reference-dashboard .ops-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.reference-dashboard .ops-metrics article {
  padding: 0;
  border: 0;
  background: transparent;
}
.reference-dashboard .ops-metrics b {
  display: block;
  color: #132f24;
  font-size: 24px;
  line-height: 1;
}
.reference-dashboard .ops-metrics span,
.reference-dashboard .recent-list span {
  color: var(--rd-muted);
  font-size: 12px;
  font-weight: 700;
}
.reference-dashboard .recent-list {
  display: grid;
  gap: 6px;
}
.reference-dashboard .recent-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 -8px;
  padding: 9px 8px;
  border-radius: 8px;
}
.reference-dashboard .recent-list a:hover {
  background: #edf5e9;
}
.reference-dashboard .recent-list b {
  color: #143123;
  font-size: 14px;
}
.reference-dashboard .quick-actions.stacked {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.reference-dashboard .stats-card,
.reference-dashboard .pipeline-board,
.reference-dashboard .map-status-board,
.reference-dashboard .tool-belt {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.reference-dashboard .stats-card {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.reference-dashboard .pipeline-board {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.reference-dashboard .map-status-board {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.reference-dashboard .stats-card article,
.reference-dashboard .pipeline-board article,
.reference-dashboard .map-status-board article,
.reference-dashboard .tool-belt button,
.reference-dashboard .tool-belt span {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  background: var(--rd-card);
  box-shadow: none;
}
.reference-dashboard .stats-card b,
.reference-dashboard .pipeline-board b,
.reference-dashboard .map-status-board b,
.reference-dashboard .module-grid.rich b {
  color: #103225;
  font-size: 18px;
  line-height: 1.12;
}
.reference-dashboard .stats-card span,
.reference-dashboard .pipeline-board span,
.reference-dashboard .pipeline-board small,
.reference-dashboard .map-status-board span,
.reference-dashboard .module-grid.rich span,
.reference-dashboard .module-grid.rich p {
  color: var(--rd-muted);
  font-size: 13px;
  font-weight: 700;
}
.reference-dashboard .pipeline-board small {
  display: block;
  margin-top: 6px;
  color: var(--rd-primary);
  font-weight: 900;
}
.reference-dashboard .workspace-card {
  padding: 18px;
  min-width: 0;
  max-width: 100%;
}
.reference-dashboard .filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(155px, .45fr) auto;
  align-items: end;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.reference-dashboard .filter-bar label,
.reference-dashboard .panel-form label,
.reference-dashboard .support-search label {
  display: grid;
  gap: 8px;
  color: #173728;
  font-size: 12px;
  font-weight: 900;
}
.reference-dashboard input,
.reference-dashboard select,
.reference-dashboard textarea {
  min-height: 42px;
  border: 1px solid var(--rd-border);
  border-radius: 8px;
  color: #182d22;
  background: #eef5e9;
  box-shadow: none;
}
.reference-dashboard textarea {
  min-height: 112px;
}
.reference-dashboard input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 18px;
  padding: 0;
  accent-color: var(--rd-lime);
}
.reference-dashboard .panel-form label.check,
.reference-dashboard .check-grid label.check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.reference-dashboard .action-drawer {
  margin: 0 0 14px;
  border: 2px dashed var(--rd-border);
  border-radius: var(--rd-radius);
  background: rgba(255,255,255,.5);
}
.reference-dashboard .action-drawer summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: var(--rd-muted);
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
}
.reference-dashboard .action-drawer summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 10px;
  border-radius: 999px;
  color: #163121;
  background: #e5f6db;
}
.reference-dashboard .action-drawer[open] summary::after {
  content: "-";
}
.reference-dashboard .action-drawer .panel-form {
  margin: 0;
  max-width: none;
  border: 0;
  border-top: 1px solid var(--rd-border);
  border-radius: 0 0 var(--rd-radius) var(--rd-radius);
  background: transparent;
}
.reference-dashboard .table-wrap {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
}
.reference-dashboard .lead-table table,
.reference-dashboard .table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.reference-dashboard .lead-table th,
.reference-dashboard .table-wrap th {
  padding: 14px 16px;
  color: var(--rd-muted);
  border-bottom: 1px solid var(--rd-border);
  font-size: 12px;
  text-transform: uppercase;
  text-align: left;
}
.reference-dashboard .lead-table td,
.reference-dashboard .table-wrap td {
  padding: 15px 16px;
  color: #153224;
  border-bottom: 1px solid #e9efe5;
}
.reference-dashboard .lead-table tr:hover td,
.reference-dashboard .table-wrap tr:hover td {
  background: rgba(237,245,233,.65);
}
.reference-dashboard .lead-table b,
.reference-dashboard .table-wrap b {
  color: #0f2f22;
}
.reference-dashboard .lead-table td span,
.reference-dashboard .table-wrap td span {
  color: var(--rd-muted);
  font-size: 13px;
}
.crm-layout-full,
.reference-dashboard .crm-page .crm-layout,
.reference-dashboard .crm-layout-full {
  grid-template-columns: minmax(0, 1fr);
}
.crm-page .crm-table-card,
.reference-dashboard .crm-page .crm-table-card {
  padding: 22px;
}
.crm-page .module-hero,
.reference-dashboard .crm-page .module-hero {
  margin-bottom: 20px;
}
.crm-table-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.crm-table-heading h2 {
  margin: 0;
  color: #102f22;
  font-size: 20px;
}
.crm-table-heading span {
  display: block;
  margin-top: 4px;
  color: var(--rd-muted, #5f7168);
  font-size: 13px;
  font-weight: 800;
}
.crm-table-shortcuts,
.crm-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.crm-row-actions .pill {
  min-width: 58px;
}
.crm-page .filter-bar,
.reference-dashboard .crm-page .filter-bar {
  grid-template-columns: minmax(280px, 1fr) minmax(190px, 240px) auto;
  align-items: end;
}
.crm-add-record,
.reference-dashboard .crm-add-record {
  margin: 14px 0 18px;
}
.crm-add-record > summary,
.reference-dashboard .crm-add-record > summary {
  min-height: 52px;
}
.crm-records-table table {
  min-width: 0;
  table-layout: fixed;
}
.crm-records-table th,
.crm-records-table td {
  overflow-wrap: normal;
}
.crm-records-table th {
  white-space: nowrap;
}
.crm-records-table td:first-child span,
.crm-records-table td:first-child small {
  overflow-wrap: anywhere;
}
.crm-records-table th:nth-child(1),
.crm-records-table td:nth-child(1) {
  width: 30%;
}
.crm-records-table th:nth-child(2),
.crm-records-table td:nth-child(2) {
  width: 13%;
}
.crm-records-table th:nth-child(3),
.crm-records-table td:nth-child(3) {
  width: 8%;
}
.crm-records-table th:nth-child(4),
.crm-records-table td:nth-child(4) {
  width: 9%;
}
.crm-records-table th:nth-child(5),
.crm-records-table td:nth-child(5) {
  width: 17%;
}
.crm-records-table th:nth-child(6),
.crm-records-table td:nth-child(6) {
  width: 12%;
}
.crm-records-table th:nth-child(7),
.crm-records-table td:nth-child(7) {
  width: 11%;
}
.crm-record-row td {
  vertical-align: middle;
}
.crm-record-row td:first-child {
  min-width: 0;
}
.crm-record-row td:first-child b {
  display: block;
  line-height: 1.16;
}
.crm-record-row td:first-child small {
  display: block;
  margin-top: 5px;
  color: #6c7b72;
  font-size: 12px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crm-record-row.status-new td:first-child {
  border-left: 5px solid #f5c542;
}
.crm-record-row.status-scheduled td:first-child {
  border-left: 5px solid #f97316;
}
.crm-record-row.status-provided_demo td:first-child {
  border-left: 5px solid #8b5cf6;
}
.crm-record-row.status-lost td:first-child {
  border-left: 5px solid #dc2626;
}
.crm-record-row.status-design_sold td:first-child {
  border-left: 5px solid #9be66d;
}
.crm-record-row.status-work_client td:first-child {
  border-left: 5px solid #1f8a4c;
}
.crm-record-row.status-in_progress td:first-child {
  border-left: 5px solid #1d7ed6;
}
.crm-inline-row td,
.reference-dashboard .crm-inline-row td {
  padding: 0;
  background: #f8fbf5;
}
.crm-inline-actions {
  border-bottom: 1px solid #e3ecde;
}
.crm-inline-actions summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 10px 16px 10px 20px;
  color: #375347;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
}
.crm-inline-actions summary::marker {
  color: #64b517;
}
.crm-inline-actions summary span {
  color: #173b2a;
}
.crm-inline-actions summary small {
  color: #718278;
  font-size: 12px;
  font-weight: 850;
}
.crm-inline-actions[open] summary {
  background: #eef7e8;
  border-bottom: 1px solid #d8e8d0;
}
.crm-inline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 20px;
  padding: 18px;
}
.crm-inline-section {
  min-width: 0;
}
.crm-inline-section h3,
.crm-linked-projects.compact h3 {
  margin: 0 0 12px;
  color: #143426;
  font-size: 15px;
}
.crm-page .crm-inline-form,
.reference-dashboard .crm-page .crm-inline-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.crm-page .crm-project-section > .panel-form,
.reference-dashboard .crm-page .crm-project-section > .panel-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(135px, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.crm-page .crm-inline-form textarea,
.crm-page .crm-project-section textarea {
  min-height: 96px;
}
.crm-page .crm-inline-form label:has(textarea),
.crm-page .crm-project-section label:has(textarea),
.crm-page .crm-inline-form .button-row,
.crm-page .crm-project-section .button-row,
.crm-page .crm-project-section .linked-crm-pill,
.crm-page .crm-project-section > .panel-form h3 {
  grid-column: 1 / -1;
}
.crm-page .crm-project-section .linked-crm-pill b {
  white-space: nowrap;
}
.crm-page .crm-project-section > .panel-form h3 {
  margin-bottom: 0;
}
.crm-linked-projects.compact {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.crm-linked-projects.compact article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #dce8d8;
  border-radius: 8px;
  background: #fff;
}
.crm-linked-projects.compact article a {
  color: #184d36;
  font-size: 12px;
  font-weight: 950;
}
.reference-dashboard .status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(60,138,46,.18);
  border-radius: 999px;
  color: var(--rd-primary) !important;
  background: rgba(131,255,23,.12);
  font-size: 11px !important;
  font-weight: 950;
  text-transform: uppercase;
}
.reference-dashboard .crm-detail-panel,
.reference-dashboard .support-side {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
  padding: 20px;
}
.reference-dashboard .record-profile {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.reference-dashboard .profile-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #133121;
  background: var(--rd-lime);
  font-size: 20px;
  font-weight: 950;
}
.reference-dashboard .record-profile h2 {
  margin: 0 0 5px;
  color: #123021;
  font-size: 20px;
}
.reference-dashboard .record-profile p {
  margin: 0;
  color: var(--rd-muted);
  font-size: 14px;
  line-height: 1.35;
}
.reference-dashboard .record-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.reference-dashboard .record-meta span {
  padding: 12px 10px;
  border-radius: 8px;
  color: #2e4b3a;
  background: #edf5e9;
  font-size: 11px;
}
.reference-dashboard .panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.reference-dashboard .panel-actions form,
.reference-dashboard .panel-actions .pill {
  width: 100%;
}
.reference-dashboard .activity-panel,
.reference-dashboard .timeline-panel {
  padding: 18px;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  background: rgba(250,253,247,.8);
}
.reference-dashboard .module-grid.rich,
.reference-dashboard .project-card-grid,
.reference-dashboard .report-grid,
.reference-dashboard .kb-grid {
  display: grid;
  gap: 16px;
}
.reference-dashboard .project-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reference-dashboard .module-grid.rich article {
  padding: 18px;
}
.reference-dashboard .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.reference-dashboard .card-head b {
  color: #123121;
  font-size: 18px;
}
.reference-dashboard .map-shell {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) minmax(190px, 240px);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 20px;
}
.reference-dashboard .route-panel,
.reference-dashboard .map-side-note {
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  background: var(--rd-card);
  box-shadow: none;
}
.reference-dashboard .live-map {
  min-height: 410px;
  border: 6px solid #06110d;
  border-radius: 12px;
  overflow: hidden;
  background: #dfe8db;
}
.reference-dashboard #mapMateLeaflet {
  min-height: 410px;
}
.reference-dashboard .selected-lead-card {
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 35px rgba(16,47,33,.12);
}
.reference-dashboard .map-actions-row {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.reference-dashboard .proposal-layout main,
.reference-dashboard .proposal-layout aside {
  min-width: 0;
}
.reference-dashboard .proposal-builder {
  max-width: none;
  padding: 20px;
}
.reference-dashboard .proposal-item-row {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1fr;
  gap: 8px;
}
.reference-dashboard .tool-belt {
  grid-template-columns: repeat(8, minmax(0,1fr));
}
.reference-dashboard .tool-belt button,
.reference-dashboard .tool-belt span {
  display: grid;
  place-items: center;
  min-height: 92px;
  color: #173528;
  cursor: pointer;
}
.reference-dashboard .tool-belt button:hover,
.reference-dashboard .tool-belt button.active {
  border-color: rgba(60,138,46,.45);
  color: var(--rd-primary);
}
.reference-dashboard .design-gallery,
.reference-dashboard .photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.reference-dashboard .photo-card {
  overflow: hidden;
}
.reference-dashboard .photo-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.reference-dashboard .photo-card b,
.reference-dashboard .photo-card span,
.reference-dashboard .photo-card p {
  display: block;
  padding: 0 14px;
}
.reference-dashboard .photo-card b {
  padding-top: 12px;
}
.reference-dashboard .photo-card p {
  padding-bottom: 14px;
}
.reference-dashboard .report-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reference-dashboard .report-grid article {
  min-height: 146px;
}
.reference-dashboard .brand-form {
  max-width: 720px;
  padding: 22px;
}
.settings-logo-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(16,24,40,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: #3f4d3f;
  font-size: 13px;
  font-weight: 800;
}
.settings-logo-preview img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(16,24,40,.08);
}
.settings-logo-preview.empty {
  color: #667085;
}
.reference-dashboard .settings-page .brand-form {
  max-width: none;
}
.reference-dashboard .support-layout {
  align-items: start;
}
.reference-dashboard .support-side {
  padding: 0;
  background: transparent;
  border: 0;
}
.reference-dashboard .support-side > * {
  padding: 18px;
}
.reference-dashboard .module-grid.rich.ticket-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.reference-dashboard .support-search {
  margin-bottom: 16px;
}
.reference-dashboard .support-search input {
  background: #fff;
}
.reference-dashboard .kb-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reference-dashboard .kb-category {
  padding: 18px;
}
.reference-dashboard .kb-category h3 {
  margin: 0 0 12px;
  color: #103225;
  font-size: 18px;
}
.reference-dashboard .kb-category summary {
  padding: 13px 0;
  color: #0f291e;
  font-size: 14px;
}
.reference-dashboard .kb-category p {
  color: var(--rd-muted);
}
@media (max-width: 1180px) {
  .reference-dashboard .project-card-grid,
  .reference-dashboard .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reference-dashboard .tool-belt {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
  .reference-dashboard .map-shell {
    grid-template-columns: 1fr;
  }
  .reference-dashboard .route-panel,
  .reference-dashboard .map-side-note {
    min-height: auto;
  }
}
@media (max-width: 980px) {
  .reference-dashboard {
    grid-template-columns: 1fr;
  }
  .reference-dashboard .side {
    position: relative;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0 14px 12px;
  }
  .reference-dashboard .side-logo {
    min-height: 64px;
  }
  .reference-dashboard .side nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reference-dashboard .side-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
  }
  .reference-dashboard .workspace-top {
    position: relative;
    flex-wrap: wrap;
  }
  .workspace-search {
    flex-basis: 100%;
    max-width: none;
  }
  .reference-dashboard .app-home-grid,
  .reference-dashboard .crm-layout,
  .reference-dashboard .proposal-layout,
  .reference-dashboard .support-layout,
  .reference-dashboard .detail-grid {
    grid-template-columns: 1fr;
  }
  .reference-dashboard .crm-detail-panel,
  .reference-dashboard .support-side {
    position: static;
  }
}
@media (max-width: 720px) {
  .reference-dashboard .workspace > .dashboard-home-v2,
  .reference-dashboard .workspace > .app-page {
    padding: 18px 14px 34px;
  }
  .reference-dashboard .workspace-top {
    padding: 10px 14px;
  }
  .workspace-actions {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }
  .reference-dashboard .module-hero,
  .reference-dashboard .unified-hero {
    display: grid;
  }
  .reference-dashboard .hero-actions,
  .reference-dashboard .panel-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .reference-dashboard .app-service-card {
    grid-template-columns: 40px 1fr;
  }
  .reference-dashboard .app-service-card em {
    grid-column: 2;
    justify-self: start;
    white-space: normal;
  }
  .reference-dashboard .stats-card,
  .reference-dashboard .pipeline-board,
  .reference-dashboard .map-status-board,
  .reference-dashboard .record-meta,
  .reference-dashboard .filter-bar,
  .reference-dashboard .project-card-grid,
  .reference-dashboard .report-grid,
  .reference-dashboard .kb-grid,
  .reference-dashboard .design-gallery,
  .reference-dashboard .photo-grid,
  .reference-dashboard .map-actions-row,
  .reference-dashboard .proposal-item-row {
    grid-template-columns: 1fr;
  }
  .reference-dashboard .tool-belt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reference-dashboard .side nav {
    grid-template-columns: 1fr;
  }
  .reference-dashboard .side-bottom {
    grid-template-columns: 1fr;
  }
}

/* 2026-05-21 exact reference shell pass */
.reference-dashboard {
  --rd-sidebar-width: 256px;
  grid-template-columns: var(--rd-sidebar-width) minmax(0, 1fr);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
.reference-dashboard,
.reference-dashboard * {
  box-sizing: border-box;
}
.reference-dashboard .app-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.reference-dashboard .side {
  position: fixed;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  width: var(--rd-sidebar-width);
  height: 100vh;
  overflow: visible;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(52,116,61,.22), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(52,116,61,.16), transparent 40%),
    linear-gradient(180deg, #0d2618 0%, #07170f 100%);
  border-right: 1px solid rgba(214,238,208,.12);
}
.reference-dashboard .workspace {
  grid-column: 2;
}
.reference-dashboard .side-logo {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  height: 64px;
  margin: 0 !important;
  padding: 12px 14px;
  overflow: hidden;
  border-bottom: 1px solid rgba(214,238,208,.12);
}
.reference-dashboard .side-leaf {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  color: #0e2a19;
  background: linear-gradient(135deg, #62d46c, #7dd13a);
  box-shadow: 0 12px 25px rgba(125,209,58,.22);
}
.reference-dashboard .side-leaf .app-icon {
  width: 20px;
  height: 20px;
}
.reference-dashboard .side-leaf.brand-logo-mark {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 25px rgba(0,0,0,.18);
}
.reference-dashboard .side-leaf.brand-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.reference-dashboard .side-brand-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 174px;
  overflow: hidden;
}
.reference-dashboard .side-brand-copy b {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #f7fff5;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 850;
  text-transform: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reference-dashboard .side-brand-copy small {
  margin-top: 4px;
  color: rgba(232,247,228,.64);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.reference-dashboard .side-nav {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: 4px;
  margin: 0 !important;
  padding: 16px 8px;
  overflow-y: auto;
  scrollbar-width: none;
}
.reference-dashboard .side nav.side-nav {
  gap: 4px;
  margin: 0 !important;
  padding: 16px 8px;
}
.reference-dashboard .side-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.reference-dashboard .side-bottom {
  flex: 0 0 auto;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 16px 8px;
  border-top: 1px solid rgba(214,238,208,.12);
}
.reference-dashboard .side-bottom-nav {
  display: grid;
  gap: 6px;
  margin: 0 0 8px;
}
.reference-dashboard .side nav a,
.reference-dashboard .side-bottom form button,
.reference-dashboard .user-menu-content form button {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  color: rgba(232,247,228,.8);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.reference-dashboard .side nav a::before {
  display: none;
}
.reference-dashboard .side nav a::after,
.reference-dashboard .side-bottom-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: transparent;
}
.reference-dashboard .side nav a,
.reference-dashboard .side-bottom-nav a {
  position: relative;
}
.reference-dashboard .side nav a.has-sub-nav {
  height: auto;
  min-height: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.reference-dashboard .side nav a.has-sub-nav b {
  flex: 1 1 calc(100% - 32px);
}
.reference-dashboard .nav-sub-label {
  display: block;
  flex: 1 1 100%;
  margin-left: 32px;
  margin-top: -4px;
  color: rgba(232,247,228,.56);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 750;
}
.reference-dashboard .side nav a.has-sub-nav.active .nav-sub-label,
.reference-dashboard .side nav a.has-sub-nav:hover .nav-sub-label {
  color: rgba(246,255,242,.82);
}
.reference-dashboard .side nav a:hover,
.reference-dashboard .side-bottom-nav a:hover,
.reference-dashboard .side-bottom form button:hover {
  color: #f9fff5;
  background: rgba(255,255,255,.045);
}
.reference-dashboard .side nav a.active,
.reference-dashboard .side-bottom-nav a.active {
  color: var(--rd-lime);
  background: rgba(125,209,58,.13);
}
.reference-dashboard .side nav a.active::after,
.reference-dashboard .side-bottom-nav a.active::after {
  background: var(--rd-lime);
}
.reference-dashboard .nav-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: currentColor;
  background: transparent !important;
  border-radius: 0;
}
.reference-dashboard .side nav a:not(.active) .nav-icon,
.reference-dashboard .side-bottom-nav a:not(.active) .nav-icon,
.reference-dashboard .side-bottom form button .nav-icon {
  color: rgba(232,247,228,.58);
}
.reference-dashboard .side nav a.active .nav-icon,
.reference-dashboard .side-bottom-nav a.active .nav-icon {
  color: var(--rd-lime);
}
.reference-dashboard .nav-icon .app-icon {
  width: 21px;
  height: 21px;
}
.reference-dashboard .side nav b,
.reference-dashboard .side-bottom b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}
.reference-dashboard .pro-card {
  min-height: 46px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--rd-lime);
  background: rgba(125,209,58,.12);
  border: 1px solid rgba(125,209,58,.2);
  text-transform: none;
}
.reference-dashboard .side-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.22), transparent);
}
.reference-dashboard .side-collapse {
  position: absolute;
  z-index: 3;
  top: 80px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  padding: 0;
  border: 1px solid rgba(214,238,208,.16);
  border-radius: 999px;
  color: rgba(232,247,228,.72);
  background: #17261b;
  cursor: pointer;
  line-height: 1;
}
.reference-dashboard .side-collapse .app-icon {
  width: 14px;
  height: 14px;
}
.reference-dashboard.app-layout-v2 .side .side-collapse {
  display: grid;
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  padding: 0;
}
.reference-dashboard.sidebar-collapsed {
  --rd-sidebar-width: 64px;
}
.reference-dashboard.sidebar-collapsed .side-logo {
  justify-content: center;
  padding-inline: 8px;
}
.reference-dashboard.sidebar-collapsed .side-leaf {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}
.reference-dashboard.sidebar-collapsed .side-brand-copy,
.reference-dashboard.sidebar-collapsed .side nav b,
.reference-dashboard.sidebar-collapsed .nav-sub-label,
.reference-dashboard.sidebar-collapsed .side-bottom b,
.reference-dashboard.sidebar-collapsed .pro-card strong {
  display: none;
}
.reference-dashboard.sidebar-collapsed .side nav a,
.reference-dashboard.sidebar-collapsed .side-bottom form button,
.reference-dashboard.sidebar-collapsed .side-bottom-nav a {
  justify-content: center;
  padding-inline: 0;
}
.reference-dashboard.sidebar-collapsed .side-collapse .app-icon {
  transform: rotate(180deg);
}
.reference-dashboard .workspace-top {
  min-height: 64px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--rd-border);
  background: rgba(251,253,248,.8);
}
.reference-dashboard .workspace-search {
  position: relative;
  max-width: 430px;
}
.reference-dashboard .workspace-search > .app-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 17px;
  height: 17px;
  color: var(--rd-muted);
  transform: translateY(-50%);
}
.reference-dashboard .workspace-search span::before,
.reference-dashboard .workspace-search span::after {
  display: none;
}
.reference-dashboard .workspace-search input {
  min-height: 40px;
  padding-left: 42px;
}
.reference-dashboard .workspace-actions {
  gap: 6px;
}
.reference-dashboard .top-action,
.reference-dashboard .top-icon,
.reference-dashboard .user-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--rd-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.reference-dashboard .top-action {
  gap: 8px;
  padding: 8px 12px;
}
.reference-dashboard .admin-top-action {
  color: #0c2818;
  background: #dfffaa;
  box-shadow: inset 0 0 0 1px rgba(125,209,58,.48);
}
.reference-dashboard .top-action:hover,
.reference-dashboard .top-icon:hover {
  color: var(--rd-text);
  background: rgba(255,255,255,.52);
}
.reference-dashboard .admin-top-action:hover {
  color: #092012;
  background: var(--rd-lime);
}
.reference-dashboard .top-action .app-icon,
.reference-dashboard .top-icon .app-icon {
  width: 17px;
  height: 17px;
}
.reference-dashboard .top-icon {
  position: relative;
  width: 38px;
  padding: 0;
}
.reference-dashboard .notify-icon i {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rd-lime);
}
.reference-dashboard details.top-menu {
  position: relative;
}
.reference-dashboard details.top-menu > summary {
  list-style: none;
}
.reference-dashboard details.top-menu > summary::-webkit-details-marker {
  display: none;
}
.reference-dashboard .top-menu-content {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--rd-border);
  border-radius: 10px;
  background: var(--rd-card-solid);
  box-shadow: 0 18px 42px rgba(13,45,30,.16);
}
.reference-dashboard .top-menu-content button,
.reference-dashboard .top-menu-content a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  color: var(--rd-text);
  background: transparent;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.reference-dashboard .top-menu-content button:hover,
.reference-dashboard .top-menu-content a:hover {
  background: #edf5e9;
}
.reference-dashboard .top-menu-content em {
  margin-left: auto;
  color: var(--rd-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.reference-dashboard[data-theme-mode="light"] [data-theme-active="light"]::before,
.reference-dashboard[data-theme-mode="dark"] [data-theme-active="dark"]::before {
  content: "Active";
}
.reference-dashboard .notification-menu-content {
  min-width: 320px;
  gap: 4px;
}
.reference-dashboard .notification-menu-content > strong {
  display: block;
  padding: 8px 10px 10px;
  color: #102b20;
  border-bottom: 1px solid var(--rd-border);
  font-size: 14px;
}
.reference-dashboard .notification-item {
  display: grid;
  align-items: start;
  gap: 3px;
  min-height: auto;
}
.reference-dashboard .notification-item b,
.reference-dashboard .notification-item span,
.reference-dashboard .notification-item small,
.reference-dashboard .notification-empty,
.reference-dashboard .notification-empty b,
.reference-dashboard .notification-empty small {
  display: block;
}
.reference-dashboard .notification-item b {
  color: #102b20;
  font-size: 13px;
}
.reference-dashboard .notification-item span,
.reference-dashboard .notification-item small,
.reference-dashboard .notification-empty {
  color: var(--rd-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.reference-dashboard .notification-empty {
  padding: 12px 10px;
}
.reference-dashboard .notification-empty b {
  color: #102b20;
  font-size: 13px;
}
.reference-dashboard .notification-empty small {
  margin-top: 4px;
  color: var(--rd-muted);
  font-size: 12px;
  font-weight: 700;
}
.reference-dashboard .notification-footer {
  margin-top: 4px;
  border-top: 1px solid var(--rd-border) !important;
  color: var(--rd-primary) !important;
  font-weight: 850;
}
.reference-dashboard .user-chip {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 999px;
  color: #18310d;
  background: var(--rd-lime);
  font-weight: 900;
}
.reference-dashboard .user-menu-content {
  min-width: 230px;
  gap: 2px;
}
.reference-dashboard .user-menu-content strong,
.reference-dashboard .user-menu-content small {
  display: block;
  padding: 4px 10px;
}
.reference-dashboard .user-menu-content small {
  color: var(--rd-muted);
  border-bottom: 1px solid var(--rd-border);
  margin-bottom: 4px;
}
.reference-dashboard .user-menu-content form button {
  color: #9b1c1c;
  background: transparent;
}
.reference-dashboard.theme-dark {
  --rd-bg: #193827;
  --rd-bg-2: #173421;
  --rd-card: rgba(18,34,23,.9);
  --rd-card-solid: #112017;
  --rd-border: rgba(217,238,207,.12);
  --rd-text: #f4fff1;
  --rd-muted: rgba(232,247,228,.56);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(57,124,74,.24), transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(45,100,88,.14), transparent 50%),
    linear-gradient(160deg, var(--rd-bg), var(--rd-bg-2));
}
.reference-dashboard.theme-dark .workspace-top {
  background: rgba(12,27,18,.82);
}
.reference-dashboard.theme-dark input,
.reference-dashboard.theme-dark select,
.reference-dashboard.theme-dark textarea,
.reference-dashboard.theme-dark .workspace-search input {
  color: #f5fff2;
  background: rgba(8,24,14,.52);
}
.reference-dashboard.theme-dark .top-menu-content,
.reference-dashboard.theme-dark .support-side > *,
.reference-dashboard.theme-dark .kb-category,
.reference-dashboard.theme-dark .workspace-card,
.reference-dashboard.theme-dark .crm-detail-panel,
.reference-dashboard.theme-dark .ops-snapshot,
.reference-dashboard.theme-dark .module-grid.rich article,
.reference-dashboard.theme-dark .table-wrap,
.reference-dashboard.theme-dark .panel-form {
  background: var(--rd-card);
}
.reference-dashboard.theme-dark .app-welcome h1,
.reference-dashboard.theme-dark .module-hero h1,
.reference-dashboard.theme-dark .unified-hero h1,
.reference-dashboard.theme-dark .app-services h2,
.reference-dashboard.theme-dark .app-service-card b,
.reference-dashboard.theme-dark .ops-snapshot h2,
.reference-dashboard.theme-dark .ops-snapshot h3,
.reference-dashboard.theme-dark .module-grid.rich b,
.reference-dashboard.theme-dark .lead-table b,
.reference-dashboard.theme-dark .table-wrap b,
.reference-dashboard.theme-dark .record-profile h2,
.reference-dashboard.theme-dark .kb-category h3,
.reference-dashboard.theme-dark .kb-category summary {
  color: #f4fff1;
}
.reference-dashboard.theme-dark .lead-table td,
.reference-dashboard.theme-dark .table-wrap td,
.reference-dashboard.theme-dark .top-menu-content button,
.reference-dashboard.theme-dark .top-menu-content a {
  color: #f4fff1;
}
.reference-dashboard.theme-dark .notification-menu-content > strong,
.reference-dashboard.theme-dark .notification-item b,
.reference-dashboard.theme-dark .notification-empty b {
  color: #f4fff1;
}
.reference-dashboard.theme-dark .notification-footer {
  color: var(--rd-lime) !important;
}
.reference-dashboard.theme-dark .app-service-card span,
.reference-dashboard.theme-dark .app-service-card .service-icon {
  color: var(--rd-lime);
  background: rgba(125,209,58,.08);
}
.reference-dashboard.theme-dark .app-service-card em,
.reference-dashboard.theme-dark .app-welcome p,
.reference-dashboard.theme-dark .app-welcome span,
.reference-dashboard.theme-dark .ops-snapshot span,
.reference-dashboard.theme-dark .stats-card span {
  color: rgba(232,247,228,.62);
}
.reference-dashboard.theme-dark .stats-card,
.reference-dashboard.theme-dark .stats-card article {
  background: var(--rd-card);
  border-color: rgba(232,247,228,.12);
}
.reference-dashboard.theme-dark .imaging-workflow article {
  background: rgba(14, 31, 24, .88);
  border-color: rgba(141,255,31,.18);
}
.reference-dashboard.theme-dark .imaging-workflow b {
  color: #f0fff0;
}
.reference-dashboard.theme-dark .imaging-workflow span {
  color: #bed3c4;
}

/* 2026-05-21 local-reference parity pass */
.reference-dashboard .workspace > .dashboard-home-v2,
.reference-dashboard .workspace > .app-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 32px 24px 44px;
}
.reference-dashboard .app-welcome {
  margin: 0 0 32px;
}
.reference-dashboard .app-welcome p {
  margin-bottom: 6px;
  font-size: 14px;
}
.reference-dashboard .app-welcome h1 {
  margin-bottom: 10px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0;
}
.reference-dashboard .app-welcome span {
  font-size: 18px;
  font-weight: 500;
}
.reference-dashboard .app-home-grid {
  grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
  gap: 30px;
}
.reference-dashboard .app-services h2 {
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 1.2;
}
.reference-dashboard .app-services {
  min-width: 0;
}
.reference-dashboard .app-service-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 16px;
  grid-template-areas:
    "icon title arrow"
    "icon copy arrow";
  column-gap: 20px;
  row-gap: 4px;
  align-items: center;
  min-height: 96px;
  padding: 16px 20px;
  border-radius: 8px;
}
.reference-dashboard .app-service-card .service-icon,
.reference-dashboard .app-service-card > span {
  grid-area: icon;
  width: 50px;
  height: 50px;
  border-radius: 10px;
}
.reference-dashboard .app-service-card .service-icon .app-icon {
  width: 25px;
  height: 25px;
}
.reference-dashboard .app-service-card b {
  grid-area: title;
  align-self: end;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 650;
}
.reference-dashboard .app-service-card em {
  grid-area: copy;
  justify-self: start;
  align-self: start;
  max-width: none;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.reference-dashboard .app-service-card::after {
  content: "";
  grid-area: arrow;
  width: 16px;
  height: 16px;
  opacity: 0;
  background: currentColor;
  clip-path: polygon(35% 15%, 100% 15%, 100% 80%, 82% 80%, 82% 46%, 28% 100%, 16% 88%, 70% 34%, 35% 34%);
  transition: opacity .18s ease;
}
.reference-dashboard .app-service-card:hover::after {
  opacity: .65;
}
.reference-dashboard .ops-snapshot {
  display: grid;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}
.reference-dashboard .ops-snapshot h2,
.reference-dashboard .ops-snapshot h3 {
  font-size: 22px;
  line-height: 1.2;
}
.reference-dashboard .ops-snapshot > h2,
.reference-dashboard .ops-snapshot > .ops-metrics {
  margin: 0;
}
.reference-dashboard .ops-snapshot > h2 {
  margin-bottom: -10px;
}
.reference-dashboard .ops-snapshot .ops-metrics,
.reference-dashboard .ops-snapshot .recent-list {
  padding: 18px;
  border: 1px solid var(--rd-border);
  border-radius: 12px;
  background: var(--rd-card);
  box-shadow: 0 8px 18px rgba(21,54,35,.08);
  min-width: 0;
}
.reference-dashboard .ops-snapshot .ops-metrics {
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 16px 18px;
}
.reference-dashboard .ops-snapshot .dashboard-stats-grid {
  min-height: 0;
}
.reference-dashboard .dashboard-stats-grid article {
  min-width: 0;
}
.reference-dashboard .dashboard-stats-grid b {
  overflow: hidden;
  font-size: 21px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reference-dashboard .dashboard-stats-grid span {
  line-height: 1.2;
}
.reference-dashboard .recent-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 -14px;
}
.reference-dashboard .ops-snapshot h3 {
  margin: 0 0 -14px;
}
.reference-dashboard .recent-heading h3 {
  margin: 0;
}
.reference-dashboard .recent-heading a {
  color: var(--rd-primary);
  font-size: 13px;
  font-weight: 850;
}
.reference-dashboard .recent-list {
  gap: 12px;
  max-height: 330px;
  overflow: hidden;
}
.reference-dashboard .recent-list a {
  display: grid;
  grid-template-columns: minmax(112px, .62fr) minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
}
.reference-dashboard .recent-list a:hover {
  background: transparent;
}
.reference-dashboard .recent-list b {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reference-dashboard .recent-list span {
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reference-dashboard .quick-actions.stacked {
  margin-top: -6px;
}
.reference-dashboard .quick-actions.stacked .pill:not(:first-child) {
  display: none;
}
.reference-dashboard .quick-actions.stacked .pill:first-child {
  min-height: 48px;
  border-radius: 8px;
  font-size: 16px;
}
.reference-dashboard .stats-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: 8px;
}
.reference-dashboard .stats-card article {
  min-height: 92px;
}
.reference-dashboard .activity-log-card {
  display: grid;
  gap: 18px;
}
.reference-dashboard .activity-log-table td:first-child span {
  display: block;
  margin-top: 3px;
  color: var(--rd-muted);
  font-size: 12px;
  font-weight: 700;
}
.reference-dashboard .activity-log-table code {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid var(--rd-border);
  border-radius: 6px;
  color: #244335;
  background: #f2f8ee;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}
.reference-dashboard.theme-dark .ops-snapshot {
  background: transparent;
}
.reference-dashboard.theme-dark .ops-snapshot .ops-metrics,
.reference-dashboard.theme-dark .ops-snapshot .recent-list {
  background: var(--rd-card);
  border-color: rgba(232,247,228,.12);
  box-shadow: none;
}
.reference-dashboard.theme-dark .recent-list a {
  background: transparent;
}
.reference-dashboard.theme-dark .dashboard-stats-grid .wide {
  border-color: rgba(232,247,228,.12);
}
.reference-dashboard.theme-dark .activity-log-table code {
  color: #dfffd6;
  background: rgba(125,209,58,.08);
  border-color: rgba(232,247,228,.14);
}
.reference-dashboard .dashboard-access {
  min-width: 0;
}
.reference-dashboard .dashboard-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.reference-dashboard .dashboard-section-title h2 {
  margin: 0;
  color: #08271b;
  font-size: 24px;
  line-height: 1.15;
}
.reference-dashboard .dashboard-section-title span {
  color: var(--rd-muted);
  font-size: 14px;
  font-weight: 700;
}
.reference-dashboard .dashboard-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.reference-dashboard .dashboard-access-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 6px 16px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--rd-border);
  border-radius: 10px;
  color: var(--rd-text);
  background: var(--rd-card);
  box-shadow: 0 8px 18px rgba(21,54,35,.06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.reference-dashboard .dashboard-access-card::after {
  content: "Open";
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--rd-primary);
  opacity: 0;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateX(8px);
  transition: opacity .18s ease, transform .18s ease;
}
.reference-dashboard .dashboard-access-card:hover,
.reference-dashboard .dashboard-access-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(60,138,46,.52);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,250,233,.98));
  box-shadow: 0 27px 52px rgba(21,54,35,.19);
  outline: 0;
}
.reference-dashboard .dashboard-access-card:hover::after,
.reference-dashboard .dashboard-access-card:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}
.reference-dashboard .dashboard-access-card:active {
  transform: translateY(-2px) scale(.985);
}
.reference-dashboard .dashboard-access-card .service-icon {
  display: grid;
  grid-row: 1 / span 3;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  color: var(--rd-primary);
  background: #edf5e9;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.reference-dashboard .dashboard-access-card:hover .service-icon,
.reference-dashboard .dashboard-access-card:focus-visible .service-icon {
  transform: scale(1.1) rotate(-3deg);
  background: #dcf8cf;
  box-shadow: 0 10px 22px rgba(60,138,46,.15);
}
.reference-dashboard .dashboard-access-card .service-icon .app-icon {
  width: 25px;
  height: 25px;
}
.reference-dashboard .dashboard-access-card strong {
  min-width: 0;
  color: #08271b;
  font-size: 18px;
  line-height: 1.15;
}
.reference-dashboard .dashboard-access-card small {
  color: var(--rd-muted);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}
.reference-dashboard .dashboard-access-card em {
  align-self: end;
  color: var(--rd-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}
.reference-dashboard .project-detail-actions {
  align-items: center;
  justify-content: flex-end;
}
.reference-dashboard .back-to-projects-button {
  box-shadow: 0 12px 24px rgba(8,39,27,.16);
}
.reference-dashboard .back-to-projects-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(8,39,27,.22);
}
.reference-dashboard .demo-workbench-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, .85fr);
  gap: 22px;
  align-items: start;
  margin: 18px 0 28px;
}
.reference-dashboard .demo-workbench-layout .design-workbench {
  min-width: 0;
  margin: 0;
}
.reference-dashboard .demo-control-panel {
  min-width: 0;
}
.reference-dashboard .demo-control-panel .panel-form {
  margin: 0;
}
.reference-dashboard .demo-control-panel .design-workbench-form,
.reference-dashboard .demo-control-panel .imaging-capture {
  grid-template-columns: 1fr;
}
.reference-dashboard .demo-control-panel .form-heading,
.reference-dashboard .demo-control-panel .check-grid,
.reference-dashboard .demo-control-panel textarea,
.reference-dashboard .demo-control-panel .capture-preview {
  grid-column: 1;
}
.reference-dashboard .demo-control-panel .check-grid {
  grid-template-columns: 1fr;
}
.reference-dashboard .demo-control-panel .button-row {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr;
}
.reference-dashboard .imaging-demo-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
}
.reference-dashboard .imaging-steps-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--rd-border);
  border-radius: 12px;
  background: var(--rd-card);
  box-shadow: 0 8px 18px rgba(21,54,35,.06);
}
.reference-dashboard .imaging-steps-card h2 {
  margin: 0;
  color: #08271b;
  font-size: 22px;
}
.reference-dashboard .imaging-steps-card .imaging-workflow {
  grid-template-columns: 1fr;
  margin: 0;
}
.reference-dashboard.theme-dark .dashboard-section-title h2,
.reference-dashboard.theme-dark .dashboard-access-card strong,
.reference-dashboard.theme-dark .imaging-steps-card h2 {
  color: #f6fff1;
}
.reference-dashboard.theme-dark .dashboard-access-card,
.reference-dashboard.theme-dark .imaging-steps-card {
  background: var(--rd-card);
  border-color: rgba(232,247,228,.12);
  box-shadow: none;
}
.reference-dashboard.theme-dark .dashboard-access-card:hover,
.reference-dashboard.theme-dark .dashboard-access-card:focus-visible {
  background: linear-gradient(135deg, rgba(22,47,31,.98), rgba(33,64,40,.95));
  border-color: rgba(141,255,31,.28);
  box-shadow: 0 22px 42px rgba(0,0,0,.22);
}
.reference-dashboard.theme-dark .dashboard-access-card .service-icon {
  color: var(--rd-lime);
  background: rgba(125,209,58,.12);
}
.reference-dashboard .tool-workflow-page {
  display: grid;
  gap: 24px;
}
.reference-dashboard .source-first-workflow {
  gap: 26px;
}
.reference-dashboard .image-page-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: -4px 0 6px;
}
.reference-dashboard .studio-status-separator {
  color: var(--rd-muted);
  font-weight: 900;
}
.reference-dashboard .studio-new-upload {
  min-height: 30px;
  padding: 7px 10px;
  font-size: 12px;
}
.reference-dashboard .source-upload-strip {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(220px, 1fr) minmax(260px, .8fr);
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--rd-border);
  border-radius: 12px;
  background: var(--rd-card);
  box-shadow: 0 10px 22px rgba(21,54,35,.06);
}
.reference-dashboard .source-upload-strip label,
.reference-dashboard .action-command-form label {
  display: grid;
  gap: 8px;
  color: #173728;
  font-size: 12px;
  font-weight: 900;
}
.reference-dashboard .source-upload-heading {
  display: grid;
  gap: 7px;
  align-self: center;
}
.reference-dashboard .source-upload-heading h3 {
  margin: 0;
  color: #08271b;
  font-size: 20px;
}
.reference-dashboard .upload-flow-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #08271b;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.reference-dashboard .upload-action-label {
  position: relative;
}
.reference-dashboard .upload-action-label input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.reference-dashboard .upload-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #08271b;
  background: var(--rd-lime);
  box-shadow: 0 10px 22px rgba(125,209,58,.17);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.reference-dashboard .upload-action-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 14px 28px rgba(125,209,58,.23);
}
.reference-dashboard .upload-action-button .app-icon {
  width: 17px;
  height: 17px;
}
.reference-dashboard .upload-action-button b,
.reference-dashboard .upload-action-button small {
  display: block;
  line-height: 1.05;
}
.reference-dashboard .upload-action-button small {
  color: rgba(8,39,27,.74);
  font-size: 10px;
  font-weight: 850;
}
.reference-dashboard .upload-action-help {
  color: var(--rd-muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 750;
}
.reference-dashboard .source-submit-button {
  display: none !important;
}
.reference-dashboard .source-upload-strip .pill {
  min-height: 42px;
  white-space: nowrap;
}
.reference-dashboard .upload-selected-status {
  display: block;
  padding: 8px 10px;
  border: 1px solid rgba(60,138,46,.24);
  border-radius: 8px;
  color: #214232;
  background: #edf8e8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}
.reference-dashboard .source-upload-strip.has-pending-source {
  border-color: rgba(125,255,22,.62);
  box-shadow: 0 12px 26px rgba(125,255,22,.13);
}
.reference-dashboard .workflow-intake-grid {
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
  margin: 18px 0 28px;
}
.reference-dashboard .workflow-form-panel {
  min-width: 0;
}
.reference-dashboard .workflow-form-panel .panel-form {
  margin: 0;
}
.reference-dashboard .workflow-form-panel .design-workbench-form,
.reference-dashboard .workflow-form-panel .imaging-capture {
  grid-template-columns: 1fr;
}
.reference-dashboard .workflow-form-panel .form-heading,
.reference-dashboard .workflow-form-panel .check-grid,
.reference-dashboard .workflow-form-panel textarea,
.reference-dashboard .workflow-form-panel .button-row,
.reference-dashboard .workflow-form-panel .capture-preview {
  grid-column: 1;
}
.reference-dashboard .workflow-form-panel .check-grid {
  grid-template-columns: 1fr;
}
.reference-dashboard .workflow-form-panel .button-row {
  display: grid;
  grid-template-columns: 1fr;
}
.reference-dashboard .source-editor-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  min-width: 0;
  overflow: visible;
  border: 1px solid var(--rd-border);
  border-radius: 12px;
  background: var(--rd-card);
  box-shadow: 0 12px 26px rgba(21,54,35,.07);
}
.reference-dashboard .source-first-workflow .source-editor-panel {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
}
.reference-dashboard .source-editor-media {
  position: relative;
  min-height: min(58vh, 640px);
  overflow: hidden;
  background: #eef5ea;
}
.reference-dashboard .source-first-workflow .source-editor-media,
.reference-dashboard .source-first-workflow .source-editor-media img {
  min-height: min(58vh, 640px);
}
.reference-dashboard .source-editor-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(58vh, 640px);
  object-fit: cover;
}
.reference-dashboard .source-editor-panel.is-empty .source-editor-media img {
  opacity: 0;
}
.reference-dashboard .source-empty-state {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  color: #113528;
  text-align: center;
  background: linear-gradient(135deg, #f7fff2, #e8f3e2);
}
.reference-dashboard .source-empty-state b,
.reference-dashboard .source-empty-state span {
  display: block;
}
.reference-dashboard .source-empty-state b {
  color: #08271b;
  font-size: 24px;
}
.reference-dashboard .source-empty-state span {
  max-width: 360px;
  color: var(--rd-muted);
  font-weight: 750;
  line-height: 1.4;
}
.reference-dashboard .source-editor-panel.is-active .source-empty-state,
.reference-dashboard .tool-workflow-page.has-source .source-empty-state {
  display: none;
}
.reference-dashboard .tool-command-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border-left: 1px solid var(--rd-border);
  background: rgba(247,255,242,.68);
}
.reference-dashboard .action-command-form {
  max-height: min(74vh, 760px);
  overflow: auto;
}
.reference-dashboard .action-command-form.is-submitting {
  opacity: .78;
  pointer-events: none;
}
.reference-dashboard .action-command-form button.is-loading,
.reference-dashboard .source-upload-strip button.is-loading {
  position: relative;
}
.reference-dashboard .action-command-form button.is-loading::after,
.reference-dashboard .source-upload-strip button.is-loading::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border: 2px solid rgba(8,39,27,.24);
  border-top-color: #08271b;
  border-radius: 50%;
  vertical-align: -2px;
  animation: studio-spin .8s linear infinite;
}
@keyframes studio-spin {
  to { transform: rotate(360deg); }
}
.reference-dashboard .generation-progress {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border: 2px solid rgba(60,138,46,.26);
  border-radius: 10px;
  background: #dfffcb;
  box-shadow: 0 12px 24px rgba(58,123,37,.14);
}
.reference-dashboard .generation-progress[hidden] {
  display: none !important;
}
.reference-dashboard .generation-progress-top {
  margin: 0 0 16px;
  padding: 16px 18px;
  background: linear-gradient(90deg, #dfffcb, #f1ffe8);
}
.reference-dashboard .generation-progress-title {
  display: block;
  color: #08271b;
  font-size: 18px;
  font-weight: 1000;
  line-height: 1.2;
}
.reference-dashboard .generation-progress-bar {
  display: block;
  width: 100%;
  height: 13px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.72), rgba(255,255,255,.18)),
    linear-gradient(90deg, #17934b, var(--rd-lime));
  background-size: 160px 100%, 100% 100%;
  animation: generation-stripe 1.1s linear infinite;
}
.reference-dashboard .generation-progress.is-complete .generation-progress-bar {
  background: linear-gradient(90deg, #22a85a, var(--rd-lime));
  animation: none;
}
.reference-dashboard .generation-progress.is-error {
  border-color: rgba(185,28,28,.26);
  background: #fff1f1;
}
.reference-dashboard .generation-progress.is-error .generation-progress-note {
  color: #9b1c1c;
}
.reference-dashboard .generation-progress.is-generating .generation-progress-note::after {
  content: "";
  display: inline-block;
  width: 1.25em;
  text-align: left;
  animation: generation-dots 1.2s steps(4, end) infinite;
}
@keyframes generation-stripe {
  from { background-position: -160px 0, 0 0; }
  to { background-position: 160px 0, 0 0; }
}
@keyframes generation-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%, 100% { content: "..."; }
}
.reference-dashboard .generation-progress-note {
  color: var(--rd-muted);
  font-size: 13px;
  font-weight: 800;
}
.reference-dashboard .tool-button-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 8px;
}
.reference-dashboard .control-section,
.reference-dashboard .option-drawer {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(60,138,46,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.55);
}
.reference-dashboard .control-section h4,
.reference-dashboard .option-drawer summary {
  margin: 0;
  color: #08271b;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.reference-dashboard .option-drawer summary {
  cursor: pointer;
}
.reference-dashboard .control-help {
  color: var(--rd-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}
.reference-dashboard .control-section textarea {
  min-height: 112px;
}
.reference-dashboard .action-command-form .check-grid,
.reference-dashboard .compact-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reference-dashboard .source-editor-panel .tool-button-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reference-dashboard .action-command-form .check {
  min-height: 40px;
  padding: 8px;
  font-size: 12px;
  line-height: 1.15;
}
.reference-dashboard .tool-command-panel h3,
.reference-dashboard .tool-command-panel p {
  margin: 0;
}
.reference-dashboard .tool-command-panel h3 {
  color: #08271b;
  font-size: 19px;
}
.reference-dashboard .tool-command-panel button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--rd-border);
  border-radius: 8px;
  color: #08271b;
  background: #edf5e9;
  font-weight: 850;
  cursor: pointer;
}
.reference-dashboard .tool-command-panel button.active,
.reference-dashboard .tool-command-panel button:hover {
  color: #08271b;
  border-color: rgba(125,255,22,.75);
  background: var(--rd-lime);
}
.reference-dashboard .tool-command-panel p {
  color: var(--rd-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.reference-dashboard .editable-asset-card .pill,
.reference-dashboard .asset-actions .pill {
  width: fit-content;
}
.reference-dashboard .asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reference-dashboard .asset-muted {
  display: block;
  padding: 0 16px 16px;
  color: var(--rd-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.reference-dashboard.theme-dark .source-editor-panel {
  background: var(--rd-card);
  border-color: rgba(232,247,228,.12);
  box-shadow: none;
}
.reference-dashboard.theme-dark .tool-command-panel,
.reference-dashboard.theme-dark .source-empty-state {
  color: #f6fff1;
  background: rgba(125,209,58,.08);
  border-color: rgba(232,247,228,.12);
}
.reference-dashboard.theme-dark .source-empty-state b,
.reference-dashboard.theme-dark .tool-command-panel h3 {
  color: #f6fff1;
}
@media (max-width: 980px) {
  .reference-dashboard,
  .reference-dashboard.sidebar-collapsed {
    --rd-sidebar-width: 1fr;
    grid-template-columns: 1fr;
  }
  .reference-dashboard .side {
    position: relative;
    width: 100%;
    height: auto;
  }
  .reference-dashboard .side-nav,
  .reference-dashboard .side-bottom-nav {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .reference-dashboard .dashboard-access-grid,
  .reference-dashboard .source-upload-strip,
  .reference-dashboard .workflow-intake-grid,
  .reference-dashboard .demo-workbench-layout,
  .reference-dashboard .imaging-demo-layout {
    grid-template-columns: 1fr;
  }
  .reference-dashboard .source-editor-panel {
    grid-template-columns: 1fr;
  }
  .reference-dashboard .source-first-workflow .source-editor-media,
  .reference-dashboard .source-first-workflow .source-editor-media img {
    min-height: 420px;
  }
  .reference-dashboard .tool-command-panel {
    border-left: 0;
    border-top: 1px solid var(--rd-border);
  }
  .reference-dashboard .side-collapse {
    display: none;
  }
  .reference-dashboard.sidebar-collapsed .side-brand-copy,
  .reference-dashboard.sidebar-collapsed .side nav b,
  .reference-dashboard.sidebar-collapsed .side-bottom b {
    display: block;
  }
}
@media (max-width: 720px) {
  .reference-dashboard .side-nav,
  .reference-dashboard .side-bottom-nav {
    grid-template-columns: 1fr;
  }
  .reference-dashboard .workspace-actions {
    flex-wrap: nowrap;
  }
  .reference-dashboard .top-action span {
    display: none;
  }
  .reference-dashboard .dashboard-section-title {
    display: grid;
  }
  .reference-dashboard .dashboard-access-card {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 118px;
    padding: 15px;
  }
  .reference-dashboard .dashboard-access-card .service-icon {
    width: 46px;
    height: 46px;
  }
  .reference-dashboard .tool-button-grid {
    grid-template-columns: 1fr;
  }
  .reference-dashboard .source-editor-media,
  .reference-dashboard .source-editor-media img {
    min-height: 320px;
  }
}
