body:has(.workspace-nav) {
  background: #fff;
  color: #111;
}
body:has(.workspace-nav) header {
  background: white;
  box-shadow: none;
  border: 0;
  padding: 20px max(18px, calc((100% - 480px) / 2));
  gap: 12px;
}
body:has(.workspace-nav) header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
body:has(.workspace-nav) header .brand small {
  font-size: 11px;
  font-weight: 800;
  background: #ffe68c;
  border-radius: 8px;
  padding: 4px 8px;
}
body:has(.workspace-nav) .td-new-wordmark {
  flex-direction: row-reverse;
}
body:has(.workspace-nav) .td-new-wordmark > span:first-child {
  background: #ffcf36 !important;
  color: #111 !important;
}
body:has(.workspace-nav) main {
  max-width: 520px;
  padding: 4px 18px 100px;
}
body:has(.workspace-nav) .partner-signout {
  position: absolute;
  right: 16px;
  top: 80px;
  display: none;
}
body:has(.workspace-nav) .workspace-nav {
  position: fixed;
  bottom: 0;
  top: auto;
  left: 0;
  right: 0;
  z-index: 30;
  background: white;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 9px 8px max(9px, env(safe-area-inset-bottom));
  margin: 0;
  gap: 0;
}
body:has(.workspace-nav) .workspace-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  font-size: 12px;
  line-height: 1.2;
  color: #111;
  background: transparent;
}
body:has(.workspace-nav) .workspace-nav a[aria-current="page"] svg {
  background: #ffcf36;
  border-radius: 22px;
  box-sizing: content-box;
  padding: 4px 16px;
  margin: -4px 0;
}
.reference-partner {
  line-height: 1.35;
}
.reference-partner h1 {
  font-size: 27px;
  letter-spacing: -0.9px;
  margin: 8px 0 16px;
}
.partner-availability {
  display: flex;
  align-items: center;
  gap: 12px;
}
.partner-availability form {
  flex: 1;
}
.partner-availability a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  max-width: 43%;
}
.partner-availability svg {
  width: 16px;
  flex-shrink: 0;
}
.availability-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 37px;
  font-size: 12px;
  padding: 7px 9px;
  background: white !important;
  border: 1px solid #e4e4e4;
  border-radius: 11px;
  box-shadow: none;
  width: 100%;
}
.availability-switch > span {
  width: 32px;
  height: 20px;
  background: #777;
  border-radius: 20px;
  position: relative;
  flex-shrink: 0;
}
.availability-switch > span:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
}
.availability-switch[aria-checked="true"] > span {
  background: #008811;
}
.availability-switch[aria-checked="true"] > span:after {
  left: 14px;
}
.partner-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 12px;
}
.partner-metrics > div {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5f5f5;
  border-radius: 13px;
  padding: 12px 16px;
}
.partner-metrics strong {
  display: block;
  font-size: 19px;
}
.partner-metrics small {
  display: block;
  font-size: 12px;
  color: #555;
}
.partner-metrics svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.partner-search {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 28px;
  padding: 0 12px;
  gap: 10px;
  box-shadow: 0 2px 2px #0000000a;
}
.partner-search input {
  padding: 10px 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  min-width: 0;
  font-size: 14px !important;
}
.partner-search button {
  background: transparent;
  box-shadow: none;
  min-height: 38px;
  padding: 0 6px;
}
.reference-partner h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin: 20px 0 12px;
}
.reference-partner .section-heading a {
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.reference-job {
  padding: 11px;
  border: 1px solid #e3e3e3;
  border-radius: 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 3px #00000006;
}
.reference-job-heading {
  display: flex;
  gap: 10px;
  align-items: center;
}
.job-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff3c2;
  flex-shrink: 0;
}
.reference-job h3 {
  font-size: 14px;
  margin: 0;
  line-height: 1.3;
}
.reference-job p {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  margin: 4px 0;
  color: #444;
}
.reference-job p svg {
  width: 14px;
  height: 14px;
}
.bid-time {
  margin-left: auto;
  white-space: nowrap;
  color: #a83400;
  background: #ffe2ca;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  padding: 5px;
}
.reference-bid {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e4e4e4;
  padding-top: 10px;
  margin-top: 10px;
}
.reference-bid > span {
  flex: 1;
  font-size: 11px;
  color: #555;
}
.reference-bid > span + span {
  border-left: 1px solid #ddd;
  padding-left: 12px;
}
.reference-bid strong {
  display: block;
  font-size: 17px;
  color: #111;
}
.reference-bid .button {
  font-size: 13px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 11px;
  box-shadow: none;
  white-space: nowrap;
}
.reference-visit {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reference-visit > a {
  margin-left: auto;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
}
.reference-empty {
  padding: 18px;
  border: 1px solid #eee;
  border-radius: 14px;
  color: #666;
  font-size: 13px;
}
.partner-story {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  margin-top: 20px;
}
.partner-story strong {
  font-size: 20px;
  letter-spacing: -0.6px;
  line-height: 1.12;
}
.partner-art {
  display: block;
  width: 180px;
  height: 180px;
  background: url("home-illustrations.16addd101c4f.png") 50% 100%/300% 300%;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
.partner-more {
  margin-top: 12px;
  border-top: 1px solid #eee;
  font-size: 13px;
}
.partner-more summary {
  color: #555;
}
.partner-more .dashboard-columns {
  display: block;
}
.partner-more .card {
  padding: 16px;
}
.partner-more h2 {
  font-size: 17px;
}
body:has(.reference-partner) #technician-install,
body:has(.reference-partner) main > footer {
  display: none;
}
html[data-native-shell="true"] body:has(.workspace-nav) header {
  display: none;
}
@media (max-width: 360px) {
  .partner-availability {
    gap: 6px;
  }
  .availability-switch {
    font-size: 10px;
  }
  .partner-metrics > div {
    padding: 10px;
  }
  .reference-bid {
    gap: 6px;
  }
  .reference-visit {
    flex-wrap: wrap;
  }
  .partner-art {
    width: 140px;
    height: 140px;
  }
}
.partner-metrics strong {
  font-size: 16px;
}
.partner-metrics > div {
  min-height: 60px;
}
.secondary-request-link {
  display: block;
  font-size: 12px;
  text-align: right;
  margin-top: 6px;
  font-weight: 700;
  text-decoration: none;
}
.partner-alert-link {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.reference-partner .section-heading {
  gap: 6px;
}
