:root {
  --forest: #073e2e;
  --gold: #f4cd79;
  --paper: #fff;
  --surface-shadow: 0 3px 14px #00000008;
  --ink: #153d30;
}
.new-lead-layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
  margin-inline: auto;
  gap: 18px;
}
.partner-shell .panel.client-info-panel {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #edf0eb;
  box-shadow: 0 4px 20px #173f2b0a;
}
.client-info-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.client-info-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #468c61, #1a5b40);
  color: white;
}
.client-info-symbol svg {
  width: 27px;
  height: 27px;
}
.client-info-panel .client-info-heading h2 {
  margin: 0 0 3px;
  color: #183c2e;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.client-info-heading p {
  margin: 0;
  color: #8b9494;
  font-size: 12px;
  line-height: 1.4;
}
.client-info-panel .form-grid {
  gap: 16px 14px;
  margin: 20px 0 14px;
}
.client-info-panel .field {
  min-width: 0;
  gap: 6px;
  color: #244337;
  font-size: 12px;
}
.client-required {
  color: #db6875;
}
.client-input {
  position: relative;
  display: block;
  min-width: 0;
}
.client-input > svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 11px;
  width: 17px;
  height: 17px;
  color: #919b95;
  transform: translateY(-50%);
  pointer-events: none;
}
.client-info-panel .client-input input,
.client-info-panel .client-input textarea {
  padding: 11px 11px 11px 36px;
  border-color: #e5e8e5;
  background: #fdfefd;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: inset 0 1px 3px #173f2b03, 0 1px 3px #173f2b03;
}
.partner-cancellation [hidden] {
  display: none;
}
.partner-cancel-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.partner-cancel-form .row {
  flex-wrap: wrap;
}
.client-input input::placeholder,
.client-input textarea::placeholder {
  color: #9b9f9b;
  opacity: 1;
}
.client-date-hint {
  color: #909b9b;
  font-size: 10px;
  line-height: 1.3;
}
.client-date-placeholder {
  display: none;
  position: absolute;
  top: 50%;
  left: 36px;
  color: #9b9f9b;
  font-size: 13px;
  transform: translateY(-50%);
  pointer-events: none;
}
.client-date-control.is-empty:not(:focus-within) input {
  color: transparent;
}
.client-date-control.is-empty:not(:focus-within) .client-date-placeholder {
  display: block;
}
.client-comment > svg {
  top: 13px;
  transform: none;
}
.client-info-panel .client-input textarea {
  min-height: 80px;
  line-height: 1.4;
}
.client-consent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 13px 14px;
  border-radius: 10px;
  background: #f7f8f3;
}
.client-consent .check {
  gap: 9px;
  margin: 0;
  color: #405549;
  font-size: 11px;
  line-height: 1.45;
}
.client-privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 0 0;
  color: #959e91;
  font-size: 10px;
  line-height: 1.35;
}
.client-privacy svg {
  flex: none;
  width: 17px;
  height: 17px;
}
.client-trust-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 60px;
  border-radius: 18px;
  background: #e9eee3;
  color: #367b50;
}
.client-trust-icon svg {
  width: 40px;
  height: 44px;
  fill: currentColor;
  stroke: white;
  stroke-width: 1.4;
}
.client-info-panel .client-submit {
  position: relative;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
  padding: 14px 40px;
  border-radius: 9px;
  background: linear-gradient(110deg, #1c4e3a, #123e2e);
}
.client-info-panel .client-submit:hover {
  background: linear-gradient(110deg, #286047, #194d38);
}
.client-submit > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.client-submit > svg {
  position: absolute;
  right: 17px;
}
.after-application {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 230px;
  align-items: center;
  gap: 16px;
  padding: 8px;
  background: #fff;
  border: 1px solid #eef0eb;
  border-radius: 15px;
  box-shadow: 0 3px 14px #173f2b06;
}
.after-application-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}
.after-application-copy h3 {
  color: #213e31;
  font-size: 15px;
  line-height: 1.25;
  margin: 0 0 5px;
}
.after-application-copy p {
  margin: 0;
  color: #526354;
  font-size: 12px;
  line-height: 1.4;
}
.after-application-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.after-application-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  text-align: center;
}
.after-application-steps li + li::before {
  content: "→";
  position: absolute;
  left: -11px;
  top: 8px;
  color: #9ca799;
  font-size: 13px;
}
.after-application-steps li > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #edf4e8;
  color: #17533b;
}
.after-application-steps li:last-child > span {
  background: #fff1c9;
}
.after-application-steps svg {
  width: 22px;
  height: 22px;
}
.after-application-steps li:first-child svg path {
  fill: currentColor;
  stroke: none;
}
.after-application-steps small {
  color: #3e5746;
  font-size: 10px;
  line-height: 1.25;
}
@media (max-width: 760px) {
  .partner-shell .panel.client-info-panel {
    padding: 16px 12px;
    border-radius: 18px;
  }
  .client-info-heading {
    gap: 10px;
  }
  .client-info-symbol {
    width: 39px;
    height: 39px;
  }
  .client-info-panel .client-info-heading h2 {
    font-size: clamp(16px, 4.2vw, 21px);
  }
  .client-info-heading p {
    font-size: clamp(9px, 2.5vw, 12px);
  }
  .client-info-panel .form-grid {
    gap: 13px 10px;
    margin-top: 17px;
  }
  .client-info-panel .field {
    font-size: clamp(10px, 2.7vw, 12px);
  }
  .client-info-panel .client-input input,
  .client-info-panel .client-input textarea {
    padding: 10px 8px 10px 31px;
    font-size: clamp(10px, 2.6vw, 13px);
  }
  .client-input > svg {
    left: 9px;
    width: 15px;
    height: 15px;
  }
  .client-date-placeholder {
    left: 31px;
    font-size: clamp(10px, 2.6vw, 13px);
  }
  .client-date-hint {
    font-size: 9px;
  }
  .client-consent {
    padding: 11px 9px;
    gap: 9px;
  }
  .client-consent .check {
    font-size: clamp(9px, 2.4vw, 11px);
    gap: 7px;
  }
  .client-privacy {
    gap: 7px;
    font-size: clamp(8px, 2.1vw, 10px);
  }
  .client-trust-icon {
    width: 45px;
    height: 52px;
    border-radius: 15px;
  }
  .client-trust-icon svg {
    width: 33px;
    height: 37px;
  }
  .new-lead-layout > aside {
    margin-top: 15px;
  }
  .after-application {
    grid-template-columns: clamp(46px, 15vw, 80px) minmax(0, 1fr) clamp(110px, 33vw, 210px);
    gap: clamp(5px, 1.6vw, 12px);
    padding: 5px;
    border-radius: 12px;
  }
  .after-application-copy h3 {
    font-size: clamp(9px, 2.6vw, 14px);
    margin-bottom: 4px;
  }
  .after-application-copy p {
    font-size: clamp(7px, 1.9vw, 10px);
    line-height: 1.35;
  }
  .after-application-steps {
    gap: 5px;
  }
  .after-application-steps li {
    gap: 4px;
  }
  .after-application-steps li > span {
    width: clamp(23px, 6.8vw, 35px);
    height: clamp(23px, 6.8vw, 35px);
  }
  .after-application-steps li + li::before {
    left: -7px;
    top: 6px;
    font-size: 9px;
  }
  .after-application-steps svg {
    width: clamp(15px, 4.5vw, 22px);
    height: clamp(15px, 4.5vw, 22px);
  }
  .after-application-steps small {
    font-size: clamp(5.5px, 1.5vw, 9px);
  }
}
@media (max-width: 360px) {
  .client-info-panel .client-location {
    grid-column: 1 / -1;
  }
}
.company-services-and-team .partner-section-title {
  margin: 20px 0 10px;
  align-items: baseline;
}
.company-services-and-team .partner-section-title h2 {
  font-size: 23px;
  font-weight: 700;
  color: #151e18;
}
.company-services-and-team .text-button,
.packing-section .text-button {
  white-space: nowrap;
  color: #2381ba;
  font-size: 12px;
  text-decoration: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  scroll-margin-top: 20px;
}
.service-card {
  min-width: 0;
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--surface-shadow);
}
.service-photo {
  position: relative;
  aspect-ratio: 1.42;
  border-radius: 9px 9px 0 0;
  background: #e8e6dc url("/images/company-services.webp") 0 0/200% 200%
    no-repeat;
}
.service-photo.has-photo {
  background-image: none;
}
.service-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.service-symbol {
  position: absolute;
  left: 12px;
  bottom: -11px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5fbf6;
  color: #124c37;
  box-shadow: 0 2px 6px #163b1b0a;
}
.service-symbol svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}
.service-copy {
  padding: 23px 13px 17px;
  overflow-wrap: anywhere;
}
.service-copy h3 {
  color: #131c16;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.service-copy p {
  color: #7b8790;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 8px;
}
.company-team {
  margin: 0;
}
.team-promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: #fff;
  padding: 16px 8px 17px;
  border-radius: 9px;
  box-shadow: var(--surface-shadow);
  scroll-margin-top: 20px;
}
.team-promises > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #65727a;
  font-size: 11px;
  line-height: 1.35;
}
.specialist-symbol {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #0d4933;
  background: radial-gradient(circle at 35% 30%, #f1faf3, #dcefe2);
}
.specialist-symbol svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.7;
}
@media (max-width: 760px) {
  .company-services-and-team .partner-section-title {
    margin: 17px 0 8px;
    gap: 6px;
  }
  .company-services-and-team .partner-section-title h2 {
    font-size: clamp(20px, 4.4vw, 23px);
    line-height: 1.1;
    letter-spacing: -0.6px;
  }
  .company-services-and-team .text-button {
    font-size: clamp(9px, 2.1vw, 12px);
    padding: 0;
  }
  .services-grid {
    gap: 7px;
  }
  .service-card {
    border-radius: 6px;
  }
  .service-photo {
    border-radius: 6px 6px 0 0;
  }
  .service-symbol {
    left: 6px;
    bottom: -8px;
    width: clamp(28px, 7.3vw, 40px);
    height: clamp(28px, 7.3vw, 40px);
  }
  .service-symbol svg {
    width: clamp(20px, 5.1vw, 26px);
    height: clamp(20px, 5.1vw, 26px);
  }
  .service-copy {
    padding: 17px 4px 11px;
  }
  .service-copy h3 {
    font-size: clamp(7px, 2.35vw, 13px);
    line-height: 1.2;
    letter-spacing: -0.15px;
    white-space: nowrap;
  }
  .service-copy p {
    font-size: clamp(8px, 2.3vw, 11px);
    line-height: 1.3;
    margin-top: 6px;
  }
  .team-promises {
    gap: 0;
    padding: 8px 2px 11px;
  }
  .team-promises > div {
    gap: clamp(5px, 1.5vw, 10px);
    align-items: flex-start;
    font-size: clamp(7px, 1.95vw, 11px);
    line-height: 1.3;
  }
  .specialist-symbol {
    width: clamp(28px, 7.3vw, 42px);
    height: clamp(28px, 7.3vw, 42px);
  }
  .specialist-symbol svg {
    width: clamp(20px, 5.1vw, 28px);
    height: clamp(20px, 5.1vw, 28px);
  }
}
.packing-section {
  margin: 24px 0;
}
.packing-feature {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4eee4;
}
.packing-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.packing-feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff38 0%,
    #ffffff18 25%,
    transparent 45%
  );
  z-index: -1;
}
.packing-copy {
  padding: clamp(24px, 3vw, 40px);
  width: 44%;
  min-width: 270px;
}
.packing-copy h3 {
  font-size: clamp(23px, 2.6vw, 36px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.6px;
  color: #003d2c;
}
.packing-copy p {
  color: #293b3e;
  font-size: clamp(13px, 1.45vw, 20px);
  line-height: 1.25;
  margin: 12px 0 18px;
}
.packing-catalog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 9px;
  padding: 14px 22px;
  color: #073e2b;
  background: linear-gradient(135deg, #ffdc56, #ffc629);
  text-decoration: none;
  font-size: clamp(12px, 1.25vw, 18px);
  font-weight: 650;
  box-shadow: 0 4px 12px #ba810020;
}
.packing-catalog-button:hover {
  background: linear-gradient(135deg, #ffd33d, #ffbb0f);
}
.packing-catalog-button:focus-visible {
  outline: 3px solid #073e2b;
  outline-offset: 3px;
}
.packing-products {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
  scroll-margin-top: 24px;
}
.packing-products figure {
  margin: 0;
  min-width: 0;
}
.packing-product-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background-image: url("/images/packing-products.webp");
  background-size: 400% 200%;
  background-repeat: no-repeat;
  background-color: #eee3d2;
}
.packing-product-photo.has-photo {
  background: none;
}
.packing-product-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.packing-products figcaption {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #304a3b;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .packing-section .partner-section-title {
    gap: 8px;
    align-items: baseline;
  }
  .packing-section .partner-section-title h2 {
    font-size: 18px;
  }
  .packing-section .partner-section-title .text-button {
    font-size: 9px;
    white-space: nowrap;
  }
  .packing-feature {
    min-height: 232px;
    border-radius: 13px;
  }
  .packing-feature > img {
    object-position: center;
  }
  .packing-feature:after {
    background: linear-gradient(
      90deg,
      #ffffff80,
      #ffffff38 32%,
      transparent 55%
    );
  }
  .packing-copy {
    padding: 20px 15px;
    min-width: 0;
    width: 53%;
  }
  .packing-copy h3 {
    font-size: clamp(15px, 3.6vw, 24px);
    line-height: 1.08;
    letter-spacing: -0.3px;
  }
  .packing-copy p {
    font-size: clamp(10px, 2.4vw, 14px);
    margin: 9px 0 12px;
  }
  .packing-catalog-button {
    font-size: 10px;
    padding: 10px 12px;
    border-radius: 7px;
    white-space: nowrap;
  }
  .packing-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px 9px;
  }
  .packing-products figcaption {
    font-size: 11px;
    line-height: 1.3;
    margin-top: 6px;
  }
}
.partner-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
}
.partner-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 36px 22px;
  background: #fff;
  border-right: 1px solid #e4ebe6;
  display: flex;
  flex-direction: column;
}
.partner-sidebar .brand {
  font-size: 29px;
  letter-spacing: -1.4px;
  color: var(--forest);
}
.brand-caption {
  font-size: 11px;
  color: #6a7d72;
  margin: 7px 0 36px 34px;
}
.partner-sidebar .nav {
  margin: 0;
  display: grid;
  gap: 8px;
}
.partner-sidebar .nav button {
  padding: 15px 12px;
  font-size: 13px;
  border-radius: 12px;
  display: flex;
  gap: 13px;
  align-items: center;
  background: transparent;
  color: #6b8074;
  text-align: left;
}
.partner-sidebar .nav button.active {
  color: var(--forest);
  background: #f7f7f7;
  font-weight: 600;
}
.partner-sidebar .nav button:hover {
  background: #f7f7f7;
}
.partner-sidebar-note {
  margin-top: auto;
  padding: 24px 14px;
  border-top: 1px solid #e6eee8;
}
.partner-sidebar-note svg {
  color: #60856e;
  width: 28px;
  height: 28px;
}
.partner-sidebar-note h3 {
  font-size: 15px;
  margin: 15px 0 10px;
  line-height: 1.4;
}
.partner-sidebar-note p {
  font-size: 12px;
  color: #7c8f82;
}
.partner-main {
  min-width: 0;
  max-width: 1440px;
  width: 100%;
  margin: auto;
  padding: 0 42px;
}
.partner-topbar {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.desktop-caption {
  font-size: 12px;
  color: #7c8d83;
}
.mobile-brand {
  display: none;
}
.header-buttons {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.icon-button {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  line-height: 1;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--forest);
  position: relative;
}
.notification-button svg {
  width: 23px;
  height: 23px;
}
.notification-count {
  position: absolute;
  right: -2px;
  top: -3px;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  background: #dc684f;
  color: #fff;
  font-size: 10px;
  padding: 2px 4px;
}
.notification-count[hidden] {
  display: none;
}
.profile-button {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  background: none;
  text-align: left;
}
.profile-button > span:first-child {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f7f7f7;
  display: grid;
  place-items: center;
}
.profile-button.selected > span:first-child {
  background: var(--forest);
  color: #fff;
}
.profile-caption {
  font-size: 13px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-caption small {
  display: block;
  color: #809084;
  font-size: 10px;
  margin-top: 5px;
}
.partner-content {
  padding-bottom: 20px;
}
.partner-footer {
  padding: 30px 0;
  font-size: 11px;
  color: #8ca092;
  text-align: center;
}
.bottom-nav {
  display: none;
}
.hero-copy {
  position: relative;
  max-width: 520px;
}
.hero-copy .eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #547460;
}
.hero-copy h1 {
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin: 20px 0 15px;
  overflow-wrap: anywhere;
}
.hero-copy p {
  font-size: 14px;
  line-height: 1.55;
  max-width: 335px;
  color: #496251;
}
.earnings-row {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.earnings-card {
  background:
    radial-gradient(ellipse at 100% 0, #2d6650 0, transparent 60%),
    linear-gradient(125deg, #0e5039, #032c21);
  border-radius: 20px;
  color: #fff;
  padding: 28px 32px;
  box-shadow: 0 9px 25px #0d432414;
  min-width: 0;
}
.earnings-card > .row {
  font-size: 14px;
}
.earnings-card svg {
  color: #b3d1bd;
}
.earnings-amount {
  display: block;
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 16px 0 8px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.earnings-period {
  font-size: 12px;
  color: #c5d9cb;
}
.earnings-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid #ffffff26;
  margin-top: 24px;
  padding-top: 18px;
}
.earnings-bottom small {
  display: block;
  color: #a9c2b4;
  font-size: 11px;
  margin-bottom: 7px;
}
.earnings-bottom b {
  font-size: 20px;
  font-weight: 600;
}
.earnings-bottom > div:first-child b {
  color: #f7d88e;
}
.earnings-bottom > div:first-child {
  grid-column: 1 / -1;
}
.saved-payout-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
}
.saved-payout-card > svg {
  width: 28px;
  flex-shrink: 0;
}
.saved-payout-card > div {
  flex: 1;
  min-width: 120px;
}
.inline-payout-form .row {
  flex-wrap: wrap;
}
.confirmed-payout p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.mini-chart {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: end;
  height: 30px;
}
.mini-chart i {
  display: block;
  width: 7px;
  background: #8caf95;
  border-radius: 3px;
}
.mini-chart i:nth-child(1) {
  height: 10px;
}
.mini-chart i:nth-child(2) {
  height: 18px;
}
.mini-chart i:nth-child(3) {
  height: 24px;
}
.mini-chart i:nth-child(4) {
  height: 30px;
  background: #efd18a;
}
.percent-card {
  border-radius: 20px;
  background: linear-gradient(145deg, #fff6dd, #f2e6c8);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.percent-card svg {
  width: 30px;
  height: 30px;
  color: #aa7d32;
  margin-bottom: 10px;
}
.percent-card strong {
  font-size: 42px;
  letter-spacing: -2px;
}
.percent-card p {
  font-size: 14px;
  line-height: 1.4;
  margin: 8px 0;
}
.percent-card small {
  font-size: 10px;
  color: #8d815f;
  line-height: 1.5;
  max-width: 200px;
}
.partner-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.partner-quick button {
  border: 1px solid #e5ece7;
  background: #fff;
  border-radius: 18px;
  padding: 23px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: var(--surface-shadow);
}
.partner-quick .quick-primary {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f0e8;
  flex-shrink: 0;
  color: var(--forest);
}
.quick-icon svg {
  width: 25px;
  height: 25px;
}
.partner-quick strong {
  font-size: 17px;
  font-weight: 600;
}
.partner-quick small {
  display: block;
  font-size: 11px;
  opacity: 0.65;
  line-height: 1.4;
  margin-top: 6px;
}
.partner-quick button > svg:last-child {
  margin-left: auto;
  flex-shrink: 0;
}
.partner-metrics {
  background: #fff;
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 23px 6px;
  margin-bottom: 30px;
  border: 1px solid #e9efea;
  box-shadow: var(--surface-shadow);
}
.partner-metrics > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 12px;
}
.partner-metrics > div + div {
  border-left: 1px solid #e9efea;
}
.partner-metrics svg {
  width: 25px;
  height: 25px;
  color: #398055;
}
.partner-metrics strong {
  font-size: 22px;
  color: #102b20;
  letter-spacing: -0.7px;
}
.partner-metrics span {
  font-size: 11px;
  color: #829085;
  max-width: 115px;
  line-height: 1.4;
}
.partner-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 15px;
}
.partner-section-title h2 {
  font-size: 22px;
  color: #163b29;
}
.partner-section-title button,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: #347b58;
  font-size: 12px;
  padding: 8px 0;
}
.partner-section-title svg,
.text-button svg {
  width: 16px;
  height: 16px;
}
.partner-leads {
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--surface-shadow);
}
.partner-lead {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  padding: 20px;
  border-radius: 17px;
  border: 1px solid #e7eee8;
  color: inherit;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.partner-lead:hover {
  box-shadow: var(--surface-shadow);
  transform: translateY(-1px);
}
.lead-card-top {
  display: flex;
  align-items: center;
  gap: 15px;
}
.lead-card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  flex-shrink: 0;
  color: #536c4d;
  background: linear-gradient(140deg, #eee5ce, #d8e8d6);
}
.lead-card-icon svg {
  width: 29px;
  height: 29px;
}
.lead-card-name {
  min-width: 85px;
}
.lead-card-name strong {
  display: block;
  font-size: 14px;
}
.lead-card-name small,
.lead-card-amount small {
  display: block;
  color: #8e9b92;
  font-size: 10px;
  font-weight: 400;
  margin-top: 6px;
  line-height: 1.4;
}
.lead-card-amount {
  margin-left: auto;
  text-align: right;
  max-width: 190px;
}
.lead-card-amount strong {
  font-size: 17px;
  font-weight: 600;
  color: #102b20;
}
.lead-chevron {
  font-size: 24px;
  color: #9caca1;
}
.partner-lead .badge {
  font-size: 10px;
  white-space: normal;
  max-width: 180px;
}
.lead-progress {
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 23px 0 0;
}
.lead-progress > div {
  text-align: center;
  position: relative;
  font-size: 9px;
  color: #9ba69f;
}
.lead-progress > div:before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 8px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #e7ece8;
}
.lead-progress > div:first-child:before {
  display: none;
}
.lead-progress > div.done:before {
  background: #6ca982;
}
.lead-progress i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 2px solid #e1e8e2;
  background: white;
  border-radius: 50%;
  margin: 0 auto 7px;
  font-size: 9px;
  font-style: normal;
}
.lead-progress .done {
  color: #48775c;
}
.lead-progress .done i {
  background: #4a9666;
  border-color: #4a9666;
  color: white;
}
.closed-note {
  background: #fbf0ee;
  color: #a3746d;
  padding: 9px 12px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 11px;
}
.partner-client-benefits,
.partner-realtor-benefits {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 26px;
  border-radius: 18px;
}
.partner-banner {
  width: 100%;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  color: #fff;
  border-radius: 18px;
  margin: 26px 0 0;
  background:
    linear-gradient(90deg, #073e2ef5 0%, #073e2edb 45%, #073e2e11 100%),
    url("/images/moving-city.webp") right 50% / cover;
  min-height: 150px;
}
.partner-banner strong {
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.7px;
  font-weight: 600;
}
.partner-banner small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 10px;
  opacity: 0.8;
}
.banner-income {
  color: #f5d184;
}
.banner-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 13px 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffe59b, #f5cd70);
  color: #163d2c;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.banner-more svg {
  width: 18px;
  height: 18px;
}
#modal.program-modal {
  width: calc(100% - 24px);
  max-width: 853px;
  max-height: calc(100dvh - 24px);
  padding: 42px 0 0;
  border-radius: 22px;
  overflow: auto;
}
.program-modal::backdrop {
  background: #00291fc2;
  backdrop-filter: blur(5px);
}
.program-guide {
  display: block;
  width: 100%;
  height: auto;
}
.program-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #073e2e;
  font-size: 25px;
  box-shadow: 0 1px 7px #00291f33;
}
.banner-arrow {
  display: grid;
  place-items: center;
  color: #173c2b;
  background: #f5d184;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mine-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 0 7px;
}
.mine-filters button {
  min-width: 0;
  padding: 13px 10px;
  white-space: nowrap;
  border: 1px solid #e4ebe5;
  background: white;
  color: #849187;
  border-radius: 11px;
  font-size: 12px;
}
.mine-filters .active {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
.partner-search {
  background: white;
  border: 1px solid #e3eae4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 10px;
  margin-top: 15px;
}
.partner-search > svg {
  color: #7a8b7f;
  flex-shrink: 0;
}
.partner-search input {
  border: 0;
  box-shadow: none;
  outline: none;
  min-width: 0;
  width: 100%;
  background: none;
  padding: 7px;
  font-size: 13px;
}
.partner-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  gap: 10px;
  font-size: 11px;
  color: #8c9b90;
}
.payments-overview {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.request-card {
  padding: 25px;
  background: linear-gradient(135deg, #fbe4a9, #f1c86e);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  color: #173d2c;
}
.recommendation-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}
.home-support {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 28px 0 0;
  padding: 26px 30px;
  border-radius: 28px;
  background: radial-gradient(ellipse at 5% 100%, #e0f0e6, transparent 50%), linear-gradient(115deg, #fafbf5, #eef9f4);
}
.home-support-illustration svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 8px #09554312);
}
.home-support-copy h2 {
  margin: 0 0 10px;
  color: #033f33;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -1px;
}
.home-support-copy p {
  margin: 0;
  color: #687a75;
  font-size: 17px;
  line-height: 1.4;
}
.home-support-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(120deg, #005847, #004337);
  box-shadow: 0 10px 24px #00554315;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
}
.home-support-button > svg:first-child {
  width: 42px;
  height: 42px;
  flex: none;
}
.home-support-button > svg:last-child {
  width: 28px;
  height: 28px;
  flex: none;
}
.home-support-button:hover {
  background: #09664f;
}
.home-support-button:focus-visible {
  outline: 3px solid #dcae37;
  outline-offset: 4px;
}
@media (min-width: 601px) and (max-width: 1100px) {
  .home-support {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
  }
  .home-support-button {
    grid-column: 2;
    justify-self: start;
    padding: 16px 22px;
  }
}
@media (max-width: 600px) {
  .home-support {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px 12px;
    padding: 20px 16px;
    border-radius: 22px;
    margin-top: 20px;
  }
  .home-support-copy h2 {
    font-size: 22px;
    letter-spacing: -.6px;
    margin-bottom: 8px;
  }
  .home-support-copy p {
    font-size: 13px;
  }
  .home-support-button {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 18px;
    padding: 16px 20px;
    font-size: 17px;
  }
}
.recommendation-actions [hidden] {
  display: none;
}
.request-card > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.request-card > strong {
  font-size: 30px;
  letter-spacing: -1px;
}
.request-card .btn {
  width: 100%;
  font-size: 12px;
  justify-content: space-between;
}
.payment-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 22px;
}
.payment-metrics > div {
  border-radius: 14px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--surface-shadow);
}
.payment-metrics strong {
  display: block;
  font-size: 24px;
  letter-spacing: -1px;
}
.payment-metrics span {
  font-size: 11px;
  display: block;
  margin-top: 10px;
  color: #7c8f80;
}
.card-summary {
  display: flex;
  gap: 15px;
  align-items: center;
}
.card-summary h2 {
  font-size: 19px;
}
.card-summary .btn {
  margin-left: auto;
  flex-shrink: 0;
}
.card-summary p {
  margin: 6px 0 0 !important;
  font-size: 12px !important;
}
.payout-history {
  margin-top: 25px;
}
.request-history-row {
  width: 100%;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: inherit;
  background: none;
  border-bottom: 1px solid #edf1ed;
  padding: 18px 0;
  font-size: 12px;
}
.request-history-row small {
  display: block;
  font-size: 10px;
  color: #8b9a8f;
  margin-top: 6px;
}
.profile-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.profile-layout .panel {
  margin: 0;
}
.profile-layout h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
}
.profile-layout form {
  display: grid;
  gap: 16px;
}
.profile-layout input,
.support-panel textarea {
  font-size: 14px;
}
.profile-layout .field {
  font-size: 12px;
}
.profile-layout form .btn {
  justify-self: start;
}
.support-panel {
  margin-top: 24px;
}
.support-panel form > .btn {
  margin-top: 15px;
}
.support-ticket {
  padding: 22px 0;
  border-bottom: 1px solid #e4ece5;
}
.support-ticket strong {
  font-size: 13px;
}
.support-ticket time {
  font-size: 10px;
  color: #8d9d90;
}
.support-ticket p {
  white-space: pre-wrap;
  font-size: 13px;
  margin: 12px 0 !important;
  overflow-wrap: anywhere;
}
.support-reply {
  padding: 16px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--surface-shadow);
}
.support-reply p {
  margin-bottom: 0 !important;
}
.support-answer {
  margin-top: 18px;
}
.logout-button {
  margin: 25px 0;
}
.bonus-section { margin: 24px 0; }
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,500px),1fr)); gap: 20px; }
.bonus-card { container-type: inline-size; position: relative; isolation: isolate; min-width: 0; padding: 0; overflow: hidden; background: #fff8eb; border: 1px solid #eee8dc; border-radius: 32px; box-shadow: 0 8px 28px #4f3b1310; }
.bonus-card-body { position: relative; min-height: clamp(330px,65cqw,620px); padding: clamp(22px,5cqw,60px); overflow: hidden; background: linear-gradient(115deg,#fff8e8,#fffaf2 52%,#fff2d9); }
.bonus-card-body::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg,#ffe65a,#ffcd00 80%); clip-path: ellipse(73% 99% at 112% 123%); pointer-events: none; }
.bonus-card-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bonus-gift { display: grid; place-items: center; flex-shrink: 0; width: clamp(44px,10cqw,104px); height: clamp(44px,10cqw,104px); color: #064b2c; background: linear-gradient(135deg,#ffcf00,#ffe143); border-radius: clamp(14px,3cqw,28px); }
.bonus-gift svg { width: 55%; height: 55%; stroke-width: 2; }
.bonus-status { max-width: 70%; padding: .5em .9em; border-radius: 999px; background: #e0eddb; color: #17522b; font-size: clamp(12px,3cqw,30px); font-weight: 600; line-height: 1.3; text-align: center; }
.bonus-card h3 { position: relative; z-index: 2; margin: clamp(20px,3cqw,36px) 0 clamp(16px,2.5cqw,28px); color: #072e1c; font-size: clamp(22px,5.3cqw,54px); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; overflow-wrap: anywhere; }
.bonus-copy { position: relative; z-index: 2; width: 100%; }
.bonus-value { position: relative; display: inline-block; max-width: 100%; }
.bonus-amount { display: block; max-width: 100%; padding: .05em .36em .14em; border-radius: .5em; background: linear-gradient(135deg,#237840,#005322 70%); color: #fff; font-size: clamp(46px,11.5cqw,112px); font-weight: 800; line-height: 1.15; letter-spacing: -.035em; white-space: nowrap; box-shadow: inset 0 2px 4px #ffffff15; }
.bonus-amount-long { font-size: clamp(24px,6.2cqw,68px); }
.bonus-sparks { position: absolute; top: 6%; right: -8%; width: 8%; height: 68%; }
.bonus-sparks i { position: absolute; display: block; top: 46%; left: 22%; width: 110%; height: 12%; min-height: 5px; border-radius: 99px; background: #ffd621; transform-origin: left center; }
.bonus-sparks i:first-child { top: 22%; transform: rotate(-48deg); }
.bonus-sparks i:nth-child(2) { transform: rotate(-16deg); }
.bonus-sparks i:last-child { top: 72%; transform: rotate(18deg); }
.bonus-card .bonus-description { width: 65%; margin: clamp(18px,3cqw,34px) 0 0; color: #173a25; font-size: clamp(14px,3.25cqw,32px); line-height: 1.38; }
.bonus-description strong { display: block; margin-bottom: .35em; font-weight: 750; }
.bonus-description span { display: block; }
.bonus-illustration { position: absolute; z-index: 1; right: 0; bottom: 2%; width: 43%; height: auto; object-fit: contain; pointer-events: none; filter: drop-shadow(0 12px 10px #9d6b131c); }
.bonus-card .bonus-actions { position: relative; z-index: 2; margin: 0; padding: 20px clamp(22px,5cqw,60px); border-top: 1px solid #eadfc8; background: #fff9ed; gap: 10px; flex-wrap: wrap; }
.bonus-actions .btn { min-height: 44px; }
.bonus-paid .bonus-status { background: #d2e9d7; }
.bonus-cancelled .bonus-status { background: #e9e5de; color: #655e50; }
.bonus-cancelled .bonus-card-body { background: #f6f3ec; }
.bonus-cancelled .bonus-card-body::before { opacity: .35; }
.bonus-cancelled .bonus-amount { background: #607565; }
.bonus-cancelled .bonus-illustration { filter: saturate(.35); opacity: .7; }
@container (max-width: 440px) {
  .bonus-card-body { min-height: 340px; }
  .bonus-illustration { width: 49%; right: -6%; bottom: 3%; }
  .bonus-card .bonus-description { font-size: 14px; }
  .bonus-status { font-size: 12px; }
  .bonus-card .bonus-actions { padding: 16px 20px; }
  .bonus-actions .btn { flex: 1 1 100%; }
}
@container (max-width: 300px) {
  .bonus-card-body { padding: 18px; }
  .bonus-amount { font-size: clamp(30px,13cqw,40px); }
  .bonus-amount-long { font-size: clamp(16px,6.2cqw,24px); }
  .bonus-status { max-width: 70%; font-size: 11px; }
}
.bonus-card small { display: block; margin-bottom: 16px; color: #657e6e; }
.bonus-totals { display: flex; flex-wrap: wrap; gap: 24px; margin: 16px 0; }
.bonus-totals strong, .bonus-totals small { display: block; }
.bonus-totals small { color: #657e6e; margin-top: 5px; }
.bonus-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; }
.bonus-check input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; accent-color: #034b38; }
.campaign-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid #e6eee7; padding: 20px 0; }
.campaign-row p { white-space: pre-wrap; overflow-wrap: anywhere; }
.campaign-row > div { min-width: 0; flex: 1; }
.notice-list {
  display: grid;
  gap: 12px;
}
.notice {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 24px 56px 24px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e6eee7;
  box-shadow: var(--surface-shadow);
}
.notice.unread {
  border-left: 4px solid #42825a;
  background: #fff;
}
.notice-content {
  min-width: 0;
  flex: 1;
}
.notice-dismiss {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  background: transparent;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  color: #687e70;
}
.notice-dismiss:hover {
  background: #ecf3ec;
}
.notice-dismiss:focus-visible {
  outline: 2px solid #42825a;
  outline-offset: 2px;
}
.notice-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.notice-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ecf3ec;
  color: #3e7951;
}
.notice time {
  font-size: 10px;
  color: #84948a;
}
.notice p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.company-header {
  margin-bottom: 24px;
}
.partner-topbar.company-topbar {
  position: relative;
  height: 56px;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #14291f;
}
.company-back {
  position: absolute;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: none;
  color: inherit;
}
.company-back svg {
  transform: rotate(180deg);
}
.company-header-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 540px;
  padding: clamp(20px, 3vw, 40px);
  border-radius: 18px 18px 0 0;
  background: url("/images/company-moscow-team.webp") center / cover no-repeat;
}
.company-header-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 0% 10%, #ffffffd9, #ffffff70 28%, transparent 65%);
}
.company-header-copy {
  position: relative;
  width: 64%;
  max-width: 640px;
}
.company-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--forest);
}
.company-brand > svg {
  width: 60px;
  height: 64px;
  flex-shrink: 0;
}
.company-brand-name {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -2px;
}
.company-brand-name > span {
  color: #f4c64f;
}
.company-brand p {
  color: #122b23;
  font-size: 13px;
  line-height: 1.25;
  margin-top: 4px;
}
.company-header h1 {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 25px 0 16px;
  color: var(--forest);
}
.company-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  line-height: 1.3;
  color: #142d24;
  width: fit-content;
  max-width: 100%;
  background: #ffffffa6;
  border-radius: 3px;
  padding: 2px 3px;
}
.company-location svg {
  width: 18px;
  height: 21px;
  flex-shrink: 0;
  color: #f4c64f;
}
.company-specialties {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  width: fit-content;
  padding: 5px;
  border-radius: 3px;
  background: #ffffffd9;
}
.company-specialties > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.2;
  color: #123e2c;
}
.company-specialties svg {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
}
.company-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  background: linear-gradient(110deg, #075139, #002b1e);
  color: white;
  padding: 20px 15px;
  border-radius: 9px;
  margin-top: -3px;
  box-shadow: 0 3px 10px #0000000d;
}
.company-numbers > div {
  padding: 0 15px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.company-numbers > div + div {
  border-left: 1px solid #ffffff24;
}
.company-numbers strong {
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: -1px;
  color: #fff;
  white-space: nowrap;
}
.company-numbers svg {
  justify-self: center;
  width: 28px;
  height: 28px;
  color: #f4d57a;
}
.company-numbers span {
  font-size: 11px;
  line-height: 1.4;
  color: #fff;
  max-width: 100px;
}

.fleet-section {
  margin-top: 24px;
}
.fleet-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.fleet-heading h2 {
  font-size: 23px;
  color: #151e18;
  font-weight: 700;
}
.fleet-heading p {
  font-size: 12px;
  color: #7b8790;
  line-height: 1.4;
  max-width: 570px;
  margin-top: 5px;
}
.fleet-details {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffdc56, #ffc629);
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.fleet-card {
  min-width: 0;
  background: #fff;
  border-radius: 9px;
  box-shadow: var(--surface-shadow);
}
.fleet-photo {
  aspect-ratio: 3 / 2;
  border-radius: 9px 9px 0 0;
  overflow: hidden;
  background: #f5f1e8;
}
.fleet-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.fleet-copy {
  padding: 10px 10px 12px;
}
.fleet-grid h3 {
  font-size: 14px;
  color: #151e18;
  line-height: 1.25;
  letter-spacing: -0.2px;
}
.fleet-grid p {
  font-size: 11px;
  color: #7b8790;
  line-height: 1.35;
  margin: 4px 0 0;
}
.fleet-grid .fleet-capacity {
  margin-bottom: -2px;
}
.company-contact-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 18px;
  margin-top: 6px;
  border-radius: 9px;
  color: #fff;
  background:
    radial-gradient(ellipse at 18% 0%, #3d91694d, transparent 62%),
    linear-gradient(115deg, #0a6543 0%, #00472f 48%, #002e22 100%);
  box-shadow:
    inset 0 1px 0 #ffffff26,
    inset 0 -1px 0 #001f1a66,
    0 3px 7px #052c2118;
}
.company-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  color: white;
  text-decoration: none;
}
.contact-icon {
  background: radial-gradient(circle at 32% 25%, #fff1ac, #f3d47b 55%, #d7ad50);
  color: #08492f;
  box-shadow: inset 0 1px 1px #fff6cecc, 0 2px 4px #001e2140;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-icon svg {
  filter: drop-shadow(0 1px 0 #fff4);
}
.contact-icon svg path {
  fill: currentColor;
  stroke: none;
}
.company-contact strong {
  font-size: clamp(17px, 1.7vw, 25px);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .company-contact:hover strong {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
.company-contact:focus-visible {
  outline: 2px solid #f3d47b;
  outline-offset: 5px;
  border-radius: 4px;
}
.company-contact small {
  display: block;
  color: #c5d7ca;
  font-size: 11px;
  margin-top: 1px;
  line-height: 1.3;
}
.company-contact-resources {
  flex: 1.2;
  min-width: 0;
}
.company-contract-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  cursor: pointer;
  gap: 6px;
  margin-top: 10px;
  color: #f4d57a;
  font-size: 12px;
  line-height: 1.4;
  text-underline-offset: 3px;
}
.company-contract-link svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.company-guarantees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1.2;
  gap: 20px;
}
.company-guarantees > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  line-height: 1.3;
  color: #fff;
}
.company-guarantees svg {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  color: #f4cd79;
}
.company-legal {
  text-align: left;
  font-size: 10px;
  color: #8b9490;
  margin: 8px 0 25px;
}
@media (min-width: 761px) and (max-width: 1150px) {
  .company-contact-strip {
    padding: 8px 14px;
    gap: 14px;
  }
  .company-contact {
    gap: 8px;
  }
  .company-contact strong {
    font-size: 16px;
  }
  .company-contact small {
    font-size: 9px;
  }
  .contact-icon {
    width: 32px;
    height: 32px;
  }
  .company-guarantees {
    gap: 8px;
  }
  .company-guarantees > span {
    font-size: 8px;
    gap: 5px;
  }
  .company-guarantees svg {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 1600px) {
  .partner-main {
    padding: 0 65px;
  }
}
@media (max-width: 1150px) {
  .partner-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .partner-main {
    padding: 0 25px;
  }
  .partner-sidebar {
    padding: 32px 16px;
  }
  .partner-sidebar .brand {
    font-size: 25px;
  }
  .partner-sidebar .nav button {
    font-size: 12px;
  }
  .hero-copy h1 {
    font-size: 35px;
  }
  .partner-hero {
    padding: 28px;
  }
  .earnings-card {
    padding: 25px;
  }

  .lead-card-top {
    gap: 10px;
  }
  .lead-card-icon {
    display: none;
  }
}
@media (max-width: 760px) {
  .partner-shell {
    display: block;
  }
  .partner-sidebar {
    display: none;
  }
  .partner-main {
    padding: 0 17px;
  }
  .partner-topbar {
    height: 84px;
    gap: 8px;
  }
  .desktop-caption {
    display: none;
  }
  .mobile-brand {
    display: block;
  }
  .mobile-brand .brand {
    font-size: 26px;
    letter-spacing: -1.4px;
    gap: 7px;
  }
  .mobile-brand .brand svg {
    width: 28px;
    height: 28px;
  }
  .mobile-brand > span {
    font-size: 8px;
    display: block;
    margin-left: 35px;
    color: #637a69;
    margin-top: 2px;
  }
  .header-buttons {
    gap: 12px;
  }
  .profile-caption {
    display: none;
  }
  .profile-button {
    padding: 0;
  }
  .profile-button > span:first-child,
  .icon-button {
    width: 38px;
    height: 38px;
  }
  .notification-count {
    font-size: 9px;
    height: 16px;
    min-width: 16px;
  }
  .partner-shell .demo-toolbar {
    margin: 0 0 12px;
    padding: 7px 10px;
    font-size: 9px;
  }
  .partner-shell .demo-toolbar select {
    font-size: 10px;
    padding: 5px;
    max-width: 130px;
  }
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffffed;
    backdrop-filter: blur(18px);
    border-top: 1px solid #dfe8e0;
    padding: 10px 6px calc(12px + env(safe-area-inset-bottom));
    z-index: 10;
  }
  .bottom-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    color: #84938c;
    font-size: 9px;
    background: none;
    padding: 2px 0;
    white-space: nowrap;
    min-width: 0;
  }
  .bottom-nav button svg {
    width: 24px;
    height: 24px;
  }
  .bottom-nav button.active {
    color: var(--forest);
    font-weight: 600;
  }
  .bottom-nav button.active svg {
    stroke-width: 2.3;
  }
  .bottom-nav button[data-nav="new"] svg {
    border: 1.5px solid currentColor;
    border-radius: 50%;
    padding: 3px;
  }
  .partner-main {
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
  }
  .partner-footer {
    font-size: 10px;
    padding: 15px 0 20px;
  }
  #toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
    font-size: 12px;
  }
  .partner-hero {
    min-height: 235px;
    margin: 0 -17px 18px;
    padding: 24px 21px;
    border-radius: 0;
  }
  .hero-copy {
    max-width: 290px;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  .hero-copy h1 {
    font-size: 31px;
    letter-spacing: -1.2px;
    margin: 18px 0 12px;
    max-width: 290px;
    line-height: 1.05;
  }
  .hero-copy p {
    font-size: 12px;
    max-width: 205px;
    line-height: 1.45;
  }
  .earnings-row {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 12px;
  }
  .earnings-card {
    padding: 20px 17px;
    border-radius: 17px;
  }
  .earnings-card > .row {
    gap: 7px;
    font-size: 11px;
  }
  .earnings-card > .row > svg {
    width: 17px;
    height: 17px;
  }
  .earnings-amount {
    font-size: 32px;
    letter-spacing: -1px;
    margin-top: 14px;
    line-height: 1.12;
  }
  .earnings-period {
    font-size: 9px;
  }
  .earnings-bottom {
    gap: 9px;
    padding-top: 13px;
    margin-top: 17px;
  }
  .earnings-bottom small {
    font-size: 8px;
    line-height: 1.35;
  }
  .earnings-bottom b {
    font-size: 14px;
    white-space: nowrap;
  }
  .mini-chart {
    display: none;
  }
  .percent-card {
    border-radius: 17px;
    padding: 15px 12px;
  }
  .percent-card svg {
    width: 25px;
    height: 25px;
  }
  .percent-card strong {
    font-size: 33px;
    letter-spacing: -1px;
  }
  .percent-card p {
    font-size: 10px;
    margin: 5px 0;
  }
  .percent-card small {
    font-size: 8px;
    line-height: 1.4;
  }
  .partner-quick {
    gap: 10px;
    margin-bottom: 12px;
  }
  .partner-quick button {
    padding: 17px 12px;
    border-radius: 15px;
    gap: 9px;
    align-items: flex-start;
  }
  .quick-icon {
    width: 30px;
    height: 30px;
  }
  .quick-icon svg {
    width: 19px;
    height: 19px;
  }
  .partner-quick strong {
    font-size: 12px;
    line-height: 1.3;
    display: block;
  }
  .partner-quick small {
    font-size: 9px;
    margin-top: 5px;
  }
  .partner-quick button > svg:last-child {
    display: none;
  }
  .partner-metrics {
    border-radius: 15px;
    padding: 18px 3px;
    margin-bottom: 23px;
  }
  .partner-metrics > div {
    padding: 0 7px;
    gap: 7px;
  }
  .partner-metrics strong {
    font-size: 16px;
    letter-spacing: -0.6px;
  }
  .partner-metrics svg {
    width: 23px;
    height: 23px;
  }
  .partner-metrics span {
    font-size: 9px;
    max-width: 75px;
    line-height: 1.35;
  }
  .partner-section-title {
    margin: 22px 0 12px;
    gap: 10px;
  }
  .partner-section-title h2 {
    font-size: 20px;
    letter-spacing: -0.6px;
  }
  .partner-section-title button {
    font-size: 10px;
    white-space: nowrap;
  }
  .partner-leads {
    gap: 10px;
  }
  .partner-lead {
    padding: 15px 12px;
    border-radius: 14px;
  }
  .lead-card-top {
    gap: 10px;
    flex-wrap: wrap;
  }
  .lead-card-name {
    min-width: 75px;
  }
  .lead-card-name strong {
    font-size: 12px;
  }
  .lead-card-name small {
    font-size: 9px;
  }
  .partner-lead .badge {
    font-size: 8px;
    max-width: 105px;
    padding: 6px 7px;
    line-height: 1.4;
  }
  .lead-card-amount {
    max-width: 100px;
  }
  .lead-card-amount strong {
    font-size: 13px;
    white-space: nowrap;
  }
  .lead-card-amount small {
    font-size: 8px;
    max-width: 100px;
  }
  .lead-chevron {
    display: none;
  }
  .lead-progress {
    margin-top: 22px;
  }
  .lead-progress span {
    font-size: 8px;
  }
  .lead-progress i {
    width: 15px;
    height: 15px;
  }
  .lead-progress > div:before {
    top: 7px;
  }
  .partner-banner {
    padding: 14px 13px;
    border-radius: 15px;
    min-height: 105px;
    margin-top: 21px;
    background-position: right 40%;
  }
  .partner-banner strong {
    font-size: clamp(12px, 3.3vw, 18px);
  }
  .partner-banner small {
    font-size: clamp(7px, 1.85vw, 10px);
    max-width: 220px;
  }
  .partner-banner {
    gap: 8px;
  }
  .banner-more {
    padding: 10px 11px;
    gap: 6px;
    font-size: clamp(7px, 2.1vw, 11px);
  }
  .banner-more svg {
    width: 14px;
    height: 14px;
  }
  .banner-arrow {
    width: 34px;
    height: 34px;
  }
  .mine-filters {
    gap: 5px;
  }
  .mine-filters button {
    font-size: clamp(9px, 2.5vw, 11px);
    padding: 11px 3px;
  }
  .partner-search {
    padding: 8px;
  }
  .partner-search input {
    font-size: 11px;
    padding: 4px;
  }
  .partner-search button {
    font-size: 10px;
    padding: 9px;
  }
  .payments-overview {
    grid-template-columns: 1.5fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }
  .payments-overview .earnings-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .payments-overview .earnings-card > span:first-child {
    font-size: 11px;
  }
  .payments-overview .earnings-amount {
    font-size: 30px;
  }
  .request-card {
    padding: 17px 12px;
    gap: 12px;
    border-radius: 17px;
  }
  .request-card > span {
    font-size: 10px;
    gap: 5px;
  }
  .request-card > span svg {
    display: none;
  }
  .request-card > strong {
    font-size: 22px;
  }
  .request-card .btn {
    font-size: 10px;
    padding: 10px;
    line-height: 1.4;
    white-space: normal;
  }
  .request-card .btn svg {
    display: none;
  }
  .payment-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
  }
  .payment-metrics > div {
    padding: 18px 10px;
    border-radius: 12px;
  }
  .payment-metrics strong {
    font-size: 19px;
  }
  .payment-metrics span {
    font-size: 9px;
    line-height: 1.4;
  }
  .card-summary {
    padding: 18px 14px !important;
    gap: 10px;
  }
  .card-summary h2 {
    font-size: 16px;
  }
  .card-summary p {
    font-size: 10px !important;
  }
  .card-summary .btn {
    font-size: 10px;
    padding: 9px;
  }
  .request-history-row {
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  .request-history-row .badge {
    font-size: 9px;
  }
  .payout-history h2 {
    font-size: 18px;
  }
  .profile-layout {
    display: block;
  }
  .profile-layout > .panel {
    margin-bottom: 18px;
  }
  .profile-layout h2 {
    font-size: 19px;
  }
  .profile-layout input {
    font-size: 16px;
  }
  .partner-shell .panel {
    border-radius: 16px;
    padding: 22px 18px;
  }
  .partner-shell .panel > p {
    font-size: 12px;
  }
  .partner-shell .page-heading {
    margin: 24px 0;
  }
  .partner-shell .page-heading h1 {
    font-size: 29px;
  }
  .partner-shell .page-heading p {
    font-size: 12px;
  }
  .support-ticket .row {
    gap: 8px;
  }
  .support-ticket p {
    font-size: 12px;
  }
  .support-reply {
    padding: 15px;
  }
  .notice {
    padding: 18px 52px 18px 14px;
    gap: 12px;
    border-radius: 14px;
  }
  .notice-icon {
    width: 32px;
    height: 32px;
  }
  .notice p {
    font-size: 12px;
  }
  .notice time {
    font-size: 9px;
  }
  .company-header {
    margin-bottom: 18px;
  }
  .company-header-hero {
    padding: 12px;
    border-radius: 9px 9px 0 0;
  }
  .company-header-copy {
    width: 76%;
  }
  .company-brand {
    gap: 8px;
  }
  .company-brand > svg {
    width: clamp(30px, 8vw, 48px);
    height: clamp(34px, 9vw, 52px);
  }
  .company-brand-name {
    font-size: clamp(24px, 6vw, 36px);
    letter-spacing: -1.3px;
  }
  .company-brand p {
    font-size: clamp(7px, 1.9vw, 11px);
    margin-top: 3px;
  }
  .company-header h1 {
    font-size: clamp(17px, 4.9vw, 32px);
    letter-spacing: -0.8px;
    margin: 10px 0 8px;
  }
  .company-location {
    font-size: clamp(7px, 1.95vw, 11px);
    gap: 3px;
  }
  .company-location svg {
    width: 12px;
    height: 14px;
  }
  .company-specialties {
    gap: 9px;
    margin-top: 10px;
  }
  .company-specialties > span {
    font-size: clamp(5px, 1.3vw, 8px);
    gap: 3px;
  }
  .company-specialties svg {
    width: 15px;
    height: 15px;
  }
  .company-numbers {
    padding: 10px 4px;
    border-radius: 6px;
    gap: 0;
  }
  .company-numbers > div {
    padding: 0 9px;
    gap: 4px;
  }
  .company-numbers strong {
    font-size: clamp(16px, 4.6vw, 26px);
    white-space: nowrap;
  }
  .company-numbers span {
    font-size: clamp(8px, 2.1vw, 12px);
    line-height: 1.2;
  }
  .company-numbers svg {
    width: 21px;
    height: 21px;
  }

  .fleet-grid {
    gap: 6px;
    margin-top: 9px;
  }
  .fleet-grid h3 {
    font-size: clamp(7.5px, 1.9vw, 12px);
    letter-spacing: -0.15px;
  }
  .fleet-grid p {
    font-size: clamp(7px, 1.65vw, 10px);
    line-height: 1.25;
    margin-top: 3px;
  }
  .fleet-copy {
    padding: 6px 4px 8px;
  }
  .fleet-heading {
    gap: 10px;
  }
  .fleet-heading h2 {
    font-size: 20px;
  }
  .fleet-heading p {
    font-size: 9px;
  }
  .fleet-details {
    font-size: 9px;
    padding: 8px 10px;
  }
  .company-contract-link {
    margin-top: 7px;
    gap: 4px;
    font-size: 11px;
  }
  .company-contract-link svg {
    width: 13px;
    height: 13px;
  }
  .company-contact-strip {
    padding: 5px 8px;
    gap: 10px;
    margin-top: 4px;
    border-radius: 6px;
  }
  .company-contact {
    gap: 6px;
  }
  .company-contact strong {
    font-size: clamp(10px, 2.8vw, 18px);
    letter-spacing: -0.3px;
  }
  .company-contact small {
    font-size: clamp(6px, 1.55vw, 10px);
    line-height: 1.25;
  }
  .contact-icon {
    width: clamp(24px, 6.5vw, 36px);
    height: clamp(24px, 6.5vw, 36px);
  }
  .contact-icon svg {
    width: 60%;
    height: 60%;
  }
  .company-guarantees {
    gap: 6px;
  }
  .company-guarantees > span {
    font-size: clamp(5.5px, 1.4vw, 9px);
    gap: 3px;
  }
  .company-guarantees > span > span {
    overflow-wrap: anywhere;
    min-width: 0;
  }
  .company-guarantees svg {
    width: clamp(13px, 3.5vw, 22px);
    height: clamp(13px, 3.5vw, 22px);
  }
  .company-legal {
    font-size: 9px;
  }
}
@media (max-width: 360px) {
  .packing-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .partner-main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .partner-hero {
    margin-left: -12px;
    margin-right: -12px;
  }
  .header-buttons {
    gap: 8px;
  }
  .mobile-brand .brand {
    font-size: 23px;
  }
  .earnings-card {
    padding: 17px 12px;
  }
  .earnings-amount {
    font-size: 27px;
  }
  .earnings-bottom b {
    font-size: 12px;
  }
  .partner-metrics strong {
    font-size: 14px;
  }
  .lead-card-name {
    min-width: 65px;
  }
  .lead-card-top {
    gap: 7px;
  }
  .partner-lead .badge {
    max-width: 90px;
  }
  .lead-card-amount {
    max-width: 90px;
  }
  .lead-card-amount strong {
    font-size: 12px;
  }
  .bottom-nav button {
    font-size: 8px;
  }
  .company-numbers strong {
    font-size: 16px;
  }
  .company-numbers > div {
    padding: 0 6px;
  }
  .payments-overview .earnings-amount {
    font-size: 26px;
  }
}

/* Homepage earnings and recommendation widgets. */
.home-page .partner-metrics > div > svg {
  color: #258654;
  filter: drop-shadow(0 1px 1px #176d2e1a);
}
.home-page .partner-metrics > div:nth-child(3) > svg {
  filter: drop-shadow(0 2px 2px #d2a64933);
}
.quick-share .quick-icon {
  background: #f0f4ed;
  color: #173f2e;
}
.quick-share > span:nth-child(2) {
  min-width: 0;
}
.partner-quick .quick-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5ef;
  color: #173f2e;
  flex-shrink: 0;
  margin-left: auto;
  align-self: end;
}
.partner-quick .quick-arrow svg {
  width: 18px;
  height: 18px;
}
.home-page .partner-quick .quick-primary {
  position: relative;
  border-color: #1b6046;
  background:
    radial-gradient(ellipse at 90% 10%, #12634388, transparent 70%),
    linear-gradient(125deg, #012f24, #075139 67%, #003827);
  box-shadow: inset 0 1px 0 #ffffff20, 0 4px 10px #0b3e2414;
}
.home-page .quick-primary .quick-icon {
  background: radial-gradient(circle at 35% 25%, #fff, #e2ece3);
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px #00231526;
}
.home-page .quick-primary .quick-arrow {
  color: #effff5;
  background: linear-gradient(135deg, #36876788, #16614544);
  box-shadow: inset 0 1px 0 #ffffff12, 0 1px 4px #002e2024;
}
.recommendation-dialog {
  color: var(--ink);
}
.recommendation-dialog h2 {
  font-size: 23px;
}
.recommendation-dialog > p {
  color: #6a7b70;
  line-height: 1.55;
  margin: 16px 0 20px;
}
.recommendation-symbol {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef5ed;
  margin-top: 20px;
  color: var(--forest);
}
.recommendation-symbol svg {
  width: 29px;
  height: 29px;
}
.recommendation-dialog input {
  min-width: 0;
  width: 100%;
  font-size: 14px;
}
.recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 760px) {
  .home-page .quick-primary,
  .home-page .quick-share {
    gap: 7px;
    position: relative;
    padding: 12px 10px;
  }
  .home-page .partner-quick strong {
    font-size: clamp(10px, 2.9vw, 14px);
  }
  .home-page .partner-quick small {
    font-size: clamp(7px, 2.15vw, 10px);
    line-height: 1.35;
  }
  .home-page .partner-quick .quick-arrow {
    position: absolute;
    right: 10px;
    bottom: 8px;
    width: 24px;
    height: 24px;
  }
  .recommendation-actions {
    display: grid;
  }
}
@media (max-width: 360px) {
  .home-page .partner-quick .quick-arrow {
    width: 20px;
    height: 20px;
    right: 8px;
  }
}
.notification-button {
  background: radial-gradient(circle at 35% 25%, #fff, #fffffff0);
  box-shadow: 0 2px 8px #173f2814, inset 0 1px 0 #fff;
}
.notification-button svg {
  stroke-width: 1.7;
}
.notification-count {
  background: #f34a44;
  box-shadow: 0 0 0 2px #fff;
}
.home-page .earnings-row {
  position: relative;
  align-items: end;
  grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  margin-top: 0;
}
.home-page .earnings-card {
  padding: 24px;
  background:
    radial-gradient(ellipse at 100% 0, #176848 0, transparent 65%),
    linear-gradient(125deg, #06472f, #002e20);
}
.home-page .earnings-card > .row {
  position: relative;
  padding-right: 40px;
}
.home-page .mini-chart {
  position: absolute;
  top: 5px;
  right: 0;
}
.home-page .mini-chart i {
  width: 6px;
  background: #83c09b;
}
.home-page .mini-chart i:nth-child(3) {
  height: 30px;
}
.earnings-current {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 3px;
}
.home-page .earnings-amount {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
}
.earnings-growth {
  color: #d1f9df;
  background: linear-gradient(135deg, #1a8156, #0b623e);
  border-radius: 20px;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 #ffffff1f;
}
.home-page .earnings-bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
  padding-top: 13px;
}
.home-page .earnings-bottom > div:first-child {
  grid-column: auto;
}
.home-page .earnings-bottom > div:first-child b {
  color: #fff;
}
.home-page .earnings-bottom > div:nth-child(2) b {
  color: #f9d66d;
}
.home-page .earnings-bottom > div + div {
  border-left: 1px solid #ffffff1a;
  padding-left: 10px;
}
.home-page .earnings-bottom small {
  font-size: 10px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.home-page .earnings-bottom b {
  font-size: 17px;
  white-space: nowrap;
}
.home-page .percent-card {
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  padding: 23px 18px;
  background: linear-gradient(135deg, #fffdf2, #fff3d3);
  box-shadow: 0 4px 12px #8a6e2020, inset 0 1px 0 #fff;
}
.home-page .percent-card p {
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
}
.home-page .percent-card strong {
  font-size: inherit;
  letter-spacing: 0;
}
.reward-gift {
  flex: none;
  display: grid;
  place-items: center;
  color: #e4a312;
  filter: drop-shadow(0 3px 2px #9c6b1626);
}
.home-page .percent-card .reward-gift img {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  border-radius: 0;
  margin: 0;
}
@media (max-width: 760px) {
  .home-page .earnings-row {
    gap: 8px;
    margin-bottom: 12px;
  }
  .home-page .earnings-card {
    border-radius: 15px;
    padding: 15px 12px 13px;
  }
  .home-page .earnings-card > .row {
    font-size: 10px;
    gap: 6px;
    padding-right: 22px;
  }
  .home-page .mini-chart {
    display: flex;
    height: 24px;
    gap: 3px;
    top: 2px;
  }
  .home-page .mini-chart i {
    width: 4px;
  }
  .home-page .mini-chart i:nth-child(3) {
    height: 25px;
  }
  .earnings-current {
    gap: 6px;
    margin-top: 9px;
  }
  .home-page .earnings-amount {
    font-size: clamp(24px, 6.8vw, 34px);
    letter-spacing: -1px;
  }
  .earnings-growth {
    font-size: 8px;
    padding: 3px 5px;
  }
  .home-page .earnings-period {
    font-size: 10px;
  }
  .home-page .earnings-bottom {
    gap: 5px;
    margin-top: 12px;
    padding-top: 9px;
  }
  .home-page .earnings-bottom > div + div {
    padding-left: 5px;
  }
  .home-page .earnings-bottom small {
    font-size: clamp(6px, 1.7vw, 8px);
  }
  .home-page .earnings-bottom b {
    font-size: clamp(9px, 2.65vw, 13px);
  }
  .home-page .percent-card {
    border-radius: 13px;
    padding: 12px 9px;
    gap: 6px;
  }
  .home-page .percent-card p {
    font-size: clamp(8px, 2.1vw, 11px);
    line-height: 1.4;
  }
  .home-page .percent-card .reward-gift img {
    width: clamp(23px, 6vw, 32px);
    height: clamp(23px, 6vw, 32px);
  }
}

/* Compact property rows shared by the recent, all-lead and payment lists. */
.partner-leads {
  gap: 0;
  padding: 0 10px;
}
.partner-leads .partner-lead {
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  color: #192823;
}
.partner-leads .partner-lead + .partner-lead {
  border-top: 1px solid #edf0ed;
}
.partner-leads .partner-lead:hover {
  transform: none;
  box-shadow: none;
  background: #fcfdfb;
}
.partner-leads .partner-lead:focus-visible {
  outline: 2px solid #2381ba;
  outline-offset: 2px;
}
.partner-leads .lead-card-top {
  display: grid;
  grid-template-columns: 58px 100px minmax(0, 1fr) minmax(100px, 150px) 110px 12px;
  align-items: center;
  gap: 14px;
}
.lead-photo {
  width: 58px;
  height: 52px;
  object-fit: cover;
  border-radius: 7px;
  background: #f5f1e9;
}
.partner-leads .lead-card-name,
.lead-card-client,
.partner-leads .lead-card-amount {
  min-width: 0;
  max-width: none;
  margin: 0;
}
.partner-leads .lead-card-name strong,
.lead-card-client strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.partner-leads .lead-card-name small,
.lead-card-client small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #828b93;
  font-size: 10px;
  line-height: 1.4;
  margin-top: 5px;
  font-weight: 400;
  min-width: 0;
}
.lead-card-name small svg,
.lead-card-client small svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: #818c93;
}
.lead-card-name small svg {
  stroke-width: 1.7;
}
.lead-card-name small > span,
.lead-card-client small > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lead-list-status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 5px;
  max-width: 100%;
  border-radius: 4px;
  padding: 6px 7px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  color: #87929e;
  background: #eff2f6;
}
.lead-list-status::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.lead-list-status.active {
  color: #d98a25;
  background: #fff1df;
}
.lead-list-status.completed {
  color: #309a67;
  background: #e2f5e9;
}
.lead-list-status.closed {
  color: #ab6965;
  background: #faefed;
}
.partner-leads .lead-card-amount {
  text-align: right;
}
.partner-leads .lead-card-amount strong {
  color: #202722;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  white-space: nowrap;
}
.partner-leads .lead-card-amount small {
  color: #899299;
  font-size: 10px;
  font-weight: 400;
  margin-top: 5px;
}
.partner-leads .lead-chevron {
  display: block;
  color: #87929a;
  font-size: 22px;
  font-weight: 400;
}
.partner-leads .lead-progress {
  margin: 16px 0 2px;
}
.home-page .partner-section-title:has(+ .partner-leads) button {
  color: #2381ba;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .partner-leads .lead-card-top {
    grid-template-columns: 48px 72px minmax(0, 1fr) 96px 78px 9px;
    gap: 7px;
  }
  .lead-photo {
    width: 48px;
    height: 46px;
  }
  .lead-list-status {
    font-size: 8px;
  }
  .partner-leads .lead-card-name small,
  .lead-card-client small {
    font-size: 8px;
  }
}
@media (max-width: 760px) {
  .partner-leads {
    padding: 0 7px;
  }
  .partner-leads .partner-lead {
    padding: 8px 0;
  }
  .partner-leads .lead-card-top {
    grid-template-columns: clamp(35px, 10.5vw, 55px) clamp(49px, 14.2vw, 74px) minmax(0, 1fr) clamp(65px, 21.2vw, 106px) clamp(44px, 14vw, 72px) 6px;
    gap: clamp(4px, 1.3vw, 8px);
  }
  .lead-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1.2;
    border-radius: 5px;
  }
  .partner-leads .lead-card-name strong,
  .lead-card-client strong {
    font-size: clamp(8px, 2.35vw, 12px);
  }
  .partner-leads .lead-card-name small,
  .lead-card-client small {
    font-size: clamp(6px, 1.9vw, 9px);
    gap: 2px;
    margin-top: 4px;
  }
  .lead-card-name small svg,
  .lead-card-client small svg {
    width: clamp(7px, 2.1vw, 10px);
    height: clamp(7px, 2.1vw, 10px);
  }
  .lead-list-status {
    gap: 3px;
    padding: 5px 4px;
    font-size: clamp(6px, 1.85vw, 9px);
    white-space: nowrap;
  }
  .lead-list-status::before {
    width: 3px;
    height: 3px;
  }
  .partner-leads .lead-card-amount strong {
    font-size: clamp(8px, 2.25vw, 12px);
  }
  .partner-leads .lead-card-amount small {
    font-size: clamp(6px, 1.9vw, 9px);
    margin-top: 4px;
  }
  .partner-leads .lead-chevron {
    font-size: 17px;
  }
}

/* Shared photograph, logo and controls for the four partner pages. */
.portal-page {
  --portal-header-height: clamp(420px, 34vw, 520px);
}
.partner-sidebar .company-brand {
  gap: 8px;
}
.partner-sidebar .company-brand > svg {
  width: 36px;
  height: 38px;
}
.partner-sidebar .company-brand-name {
  font-size: 29px;
  letter-spacing: -1.4px;
}
.portal-header {
  position: relative;
  width: 100%;
  isolation: isolate;
  overflow: hidden;
  height: var(--portal-header-height);
  margin: 20px 0 0;
  border-radius: 22px 22px 0 0;
  background: #fff;
}
.portal-header-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left top;
  transform: scale(1.06);
  transform-origin: left top;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.portal-header .partner-topbar {
  height: auto;
  min-height: 82px;
  padding: 14px 30px 4px;
  align-items: start;
}
.portal-header .header-buttons {
  margin-left: auto;
  flex-shrink: 0;
  gap: 12px;
}
.portal-header .profile-caption {
  display: none;
}
.portal-header .profile-button > span:first-child {
  background: #fffffff0;
  box-shadow: 0 2px 8px #173f2814;
}
.portal-header .partner-hero {
  position: relative;
  min-height: 0;
  padding: 6px 30px 18px;
  margin: 0;
  background: none;
  border-radius: 0;
}
.portal-header .hero-copy {
  max-width: 48%;
  isolation: isolate;
}
.portal-header .company-brand {
  position: relative;
  isolation: isolate;
}
.portal-header .company-brand::before,
.portal-header .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -16px -22px;
  background: #ffffffa6;
  border-radius: 28px;
  filter: blur(14px);
  pointer-events: none;
}
.portal-header .company-brand::before {
  inset: -10px -16px;
  background: #ffffff99;
  filter: blur(12px);
}
.portal-header .hero-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 44px);
  color: #043c2d;
  overflow-wrap: normal;
}
.portal-header .hero-copy p {
  max-width: 300px;
  color: #233e32;
  font-size: 14px;
  line-height: 1.45;
}
.portal-page .partner-content {
  position: relative;
  margin-top: calc(var(--portal-header-height) * -0.4);
  padding: 22px;
  background: #fff;
  border-radius: 24px 24px 0 0;
}
.portal-page.home-page .partner-content {
  padding: 0;
  background: transparent;
}
.portal-new .partner-content {
  padding: 0;
  background: transparent;
}
.portal-page .client-info-panel {
  box-shadow: 0 6px 24px #173f2812;
}
@media (max-width: 760px) {
  .portal-page {
    --portal-header-height: clamp(360px, 95vw, 520px);
  }
  .portal-header {
    width: calc(100% + 34px);
    margin: 0 -17px;
    border-radius: 0;
  }
  .portal-header .partner-topbar {
    min-height: 60px;
    padding: 10px 15px 0;
  }
  .portal-header .header-buttons {
    gap: 8px;
  }
  .portal-header .partner-hero {
    padding: 6px 15px 18px;
  }
  .portal-header .hero-copy {
    max-width: 66%;
  }
  .portal-header .hero-copy h1 {
    font-size: clamp(24px, 6.3vw, 34px);
    line-height: 1.06;
    letter-spacing: -1px;
    margin-bottom: 8px;
  }
  .portal-header .hero-copy p {
    font-size: clamp(11px, 2.8vw, 14px);
    line-height: 1.4;
  }
  .portal-page .partner-content {
    padding: 16px;
    border-radius: 20px 20px 0 0;
  }
  .portal-page.home-page .partner-content {
    padding: 0;
  }
  .portal-new .partner-content {
    padding: 0;
  }
}
@media (max-width: 360px) {
  .portal-header {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
  }
}

/* Explicit boxes avoid native button padding and inline SVG baselines on iOS. */
.icon-button > span { display: grid; place-items: center; width: 100%; height: 100%; }
.icon-button svg, .profile-button svg, .notice-icon svg, .notice-dismiss svg { display: block; flex: none; }
.notice-dismiss svg { width: 18px; height: 18px; stroke-width: 2; }
.page-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 180px; color: #637a69; }
.page-loading-spinner { width: 22px; height: 22px; flex: none; border: 2px solid #e3ece5; border-top-color: #2b5545; border-radius: 50%; animation: page-loading-spin .8s linear infinite; }
@keyframes page-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .page-loading-spinner { animation: none; } }

/* Personal invitation: QR uses a white quiet zone and scales without cropping. */
.recommendation-dialog [hidden] { display: none !important; }
.recommendation-dialog .recommendation-qr { text-align: center; margin: 16px 0 24px; }
.recommendation-qr h3 { margin: 0 0 12px; }
.recommendation-qr img { display: block; width: min(100%, 360px); height: auto; margin: 0 auto; background: #fff; }
.recommendation-qr p { margin: 12px 0 16px; color: #52665e; line-height: 1.5; }
.recommendation-actions .btn { white-space: normal; text-align: center; }
