/* Premium customer and provider workspaces, aligned with the MyKermanshah super-app. */
:root {
  --experience-bg: #09191d;
  --experience-surface: #10282e;
  --experience-raised: #16353c;
  --experience-paper: #fff8e8;
  --experience-muted: #b9c8c7;
  --experience-line: rgba(185, 200, 199, .14);
  --experience-amber: #ffc867;
  --experience-orange: #ff7a3f;
  --experience-teal: #72d7c4;
  --experience-coral: #ff8b73;
  --experience-focus: #ffe39a;
  --experience-shadow: 0 18px 55px rgba(0, 0, 0, .2);
}

.experience-workspace {
  --line: var(--experience-line);
  --surface: var(--experience-surface);
  --surface-2: var(--experience-raised);
  --primary: var(--experience-teal);
  --amber-soft: var(--experience-amber);
  color: var(--experience-paper);
  font-variant-numeric: tabular-nums;
}

.experience-workspace button,
.experience-workspace a,
.experience-workspace input,
.experience-workspace select,
.experience-workspace summary {
  -webkit-tap-highlight-color: transparent;
}

.experience-workspace :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--experience-focus);
  outline-offset: 3px;
}

.experience-workspace .eyebrow {
  color: var(--experience-amber);
  font-size: 12px;
  letter-spacing: 0;
}

.experience-workspace .text-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--experience-teal);
  font-weight: 800;
}

.experience-workspace .text-button span {
  transition: transform .18s ease;
}

.experience-workspace .text-button:hover span {
  transform: translateX(-3px);
}

/* Persistent, low-noise workspace navigation. */
.experience-workspace > .workspace-nav {
  top: 84px;
  z-index: 12;
  margin-bottom: 22px;
  padding: 6px;
  border: 1px solid rgba(114, 215, 196, .16);
  border-radius: 18px;
  background: rgba(11, 29, 34, .9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
  backdrop-filter: blur(16px) saturate(125%);
}

.experience-workspace > .workspace-nav button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 13px;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.experience-workspace > .workspace-nav button.active {
  border-color: rgba(114, 215, 196, .18);
  background: linear-gradient(135deg, rgba(114, 215, 196, .16), rgba(114, 215, 196, .07));
  color: var(--experience-paper);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

#customer-view > .customer-nav {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
}

#customer-view > .customer-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 14px;
  text-align: right;
}

.customer-nav__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(114, 215, 196, .08);
  color: var(--experience-teal);
  font-size: 18px;
}

.customer-nav button.active .customer-nav__icon {
  background: var(--experience-teal);
  color: #0b2429;
}

.customer-nav button > span:last-child {
  display: grid;
}

.customer-nav b {
  font-size: 13px;
}

.customer-nav small {
  margin-top: 1px;
  color: var(--experience-muted);
  font-size: 10px;
}

#manager-view > .command-nav {
  position: sticky;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow-x: auto;
}

#manager-view > .command-nav button {
  min-width: 0;
  min-height: 48px;
  padding: 8px 9px;
  display: flex;
  place-items: initial;
  align-items: center;
  justify-content: center;
  align-content: initial;
  gap: 7px;
  background: transparent;
  box-shadow: none;
}

#manager-view > .command-nav button > span {
  color: var(--experience-teal);
  font-size: 17px;
}

#manager-view > .command-nav button > b {
  font-size: 11px;
}

/* Hero surfaces. */
.experience-hero,
#manager-view .manager-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(114, 215, 196, .17);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 200, 103, .13), transparent 30%),
    linear-gradient(140deg, rgba(22, 53, 60, .98), rgba(13, 34, 39, .98));
  box-shadow: var(--experience-shadow);
}

.experience-hero::before,
#manager-view .manager-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  inset: auto auto -110px -55px;
  border: 1px solid rgba(255, 200, 103, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255, 200, 103, .025), 0 0 0 66px rgba(114, 215, 196, .018);
}

.experience-hero h1,
#manager-view .manager-hero h1 {
  margin: 6px 0 8px;
  color: var(--experience-paper);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.35;
}

.experience-hero p,
#manager-view .manager-hero p {
  max-width: 600px;
  margin: 0;
  color: var(--experience-muted);
  line-height: 1.95;
}

.customer-experience-hero {
  min-height: 270px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 30px;
}

.experience-hero--compact {
  min-height: 190px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
}

.experience-hero--compact > div {
  max-width: 680px;
}

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

.customer-overview article {
  min-height: 94px;
  padding: 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  border: 1px solid rgba(255, 248, 232, .09);
  border-radius: 17px;
  background: rgba(9, 25, 29, .46);
}

.customer-overview article > span {
  width: 34px;
  height: 34px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(114, 215, 196, .11);
  color: var(--experience-teal);
  font-size: 17px;
  font-weight: 900;
}

.customer-overview article:nth-child(3) > span {
  background: rgba(255, 139, 115, .11);
  color: var(--experience-coral);
}

.customer-overview article:nth-child(4) > span {
  background: rgba(255, 200, 103, .11);
  color: var(--experience-amber);
}

.customer-overview strong {
  align-self: end;
  color: var(--experience-paper);
  font-size: 24px;
  line-height: 1;
}

.customer-overview small {
  align-self: start;
  margin-top: 5px;
  color: var(--experience-muted);
  font-size: 10px;
}

.content-heading {
  margin: 30px 0 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.content-heading h2 {
  margin: 0 0 5px;
  font-size: 20px;
}

.content-heading p {
  margin: 0;
  color: var(--experience-muted);
  font-size: 12px;
}

/* Customer request tracking. */
#customer-view .request-list {
  gap: 14px;
}

#customer-view .customer-request-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
  min-width: 0;
  padding: 22px;
  display: block;
  border: 1px solid rgba(114, 215, 196, .14);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(22, 53, 60, .8), rgba(16, 40, 46, .94));
  box-shadow: 0 12px 32px rgba(0, 0, 0, .13);
}

#customer-view .customer-request-card.need_information {
  border-color: rgba(255, 139, 115, .34);
}

#customer-view .customer-request-card.completed {
  border-color: rgba(114, 215, 196, .24);
}

.customer-request-card__header {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.customer-request-card__title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.request-service-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(114, 215, 196, .17), rgba(114, 215, 196, .06));
  color: var(--experience-teal);
  font-size: 18px;
}

.request-provider {
  display: block;
  margin-bottom: 2px;
  overflow: hidden;
  color: var(--experience-amber);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#customer-view .customer-request-card h3 {
  margin: 0;
  overflow: hidden;
  color: var(--experience-paper);
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-request-card__header > .badge {
  flex: 0 0 auto;
  min-height: 30px;
  padding-inline: 11px;
  font-weight: 800;
}

.request-progress {
  height: 5px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .055);
}

.request-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--experience-orange), var(--experience-amber), var(--experience-teal));
}

.customer-request-card.cancelled .request-progress span {
  background: var(--experience-coral);
}

.request-current {
  padding: 14px 16px;
  border: 1px solid rgba(255, 248, 232, .08);
  border-radius: 15px;
  background: rgba(9, 25, 29, .38);
}

.request-current > span {
  display: block;
  margin-bottom: 5px;
  color: var(--experience-teal);
  font-size: 10px;
  font-weight: 800;
}

#customer-view .request-current p {
  margin: 0;
  color: #e9efea;
  line-height: 1.9;
}

.request-facts {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 248, 232, .07);
  border-radius: 15px;
  background: rgba(255, 248, 232, .07);
  overflow: hidden;
}

.request-facts > span {
  min-width: 0;
  min-height: 64px;
  padding: 10px 13px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: var(--experience-surface);
}

.request-facts small {
  overflow: hidden;
  color: var(--experience-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-facts strong {
  overflow: hidden;
  color: var(--experience-paper);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#customer-view .request-history {
  margin-top: 12px;
  padding: 0;
  border: 1px solid rgba(114, 215, 196, .12);
  border-radius: 15px;
  background: rgba(9, 25, 29, .24);
}

#customer-view .request-history summary {
  min-height: 46px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: inherit;
  color: var(--experience-teal);
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

#customer-view .request-history summary::-webkit-details-marker {
  display: none;
}

#customer-view .request-history summary::after {
  content: "+";
  margin-inline-start: auto;
  color: var(--experience-amber);
  font-size: 18px;
}

#customer-view .request-history[open] summary::after {
  content: "−";
}

#customer-view .request-history summary small {
  color: var(--experience-muted);
  font-size: 10px;
  font-weight: 500;
}

#customer-view .request-history .timeline {
  margin: 0 16px 16px;
  padding: 3px 20px 0 0;
  border-right-color: rgba(114, 215, 196, .18);
}

#customer-view .timeline-item {
  padding: 0;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
}

#customer-view .timeline-item::before {
  display: none;
}

#customer-view .timeline-dot {
  width: 9px;
  height: 9px;
  margin: 7px -25px 0 0;
  border: 2px solid var(--experience-surface);
  border-radius: 50%;
  background: var(--experience-teal);
  box-shadow: 0 0 0 3px rgba(114, 215, 196, .12);
}

#customer-view .timeline-message {
  border-color: rgba(114, 215, 196, .1);
  background: rgba(114, 215, 196, .035);
}

/* Center directory keeps the same shell and rhythm as customer tracking. */
.directory-controls {
  position: relative;
  z-index: 2;
  margin: 16px 0 20px;
  padding: 15px 16px 0;
  border: 1px solid rgba(114, 215, 196, .16);
  border-radius: 20px;
  background: rgba(16, 40, 46, .94);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .19);
  backdrop-filter: blur(14px);
}

.directory-controls .public-search-controls {
  display: grid;
  grid-template-columns: minmax(180px, .32fr) minmax(280px, 1fr);
  gap: 12px;
}

.directory-controls .search {
  gap: 7px;
  color: var(--experience-muted);
  font-weight: 700;
}

.directory-controls :is(input, select) {
  min-height: 46px;
  min-width: 0;
  border-color: rgba(114, 215, 196, .14);
  background: rgba(9, 25, 29, .58);
}

.directory-search {
  position: relative;
}

.directory-search i {
  position: absolute;
  bottom: 9px;
  left: 13px;
  color: var(--experience-teal);
  font-size: 20px;
  font-style: normal;
  pointer-events: none;
}

.directory-search input {
  padding-left: 42px;
}

.directory-controls .chips {
  margin-top: 12px;
  padding-bottom: 14px;
}

.directory-controls .chip {
  min-height: 38px;
  padding: 7px 13px;
  border-color: rgba(255, 248, 232, .1);
  background: rgba(255, 248, 232, .025);
  color: var(--experience-muted);
  font-size: 11px;
}

.directory-controls .chip.active {
  border-color: rgba(114, 215, 196, .42);
  background: rgba(114, 215, 196, .12);
  color: var(--experience-paper);
}

#customer-view .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#customer-view .provider-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 330px;
  min-height: 305px;
  padding: 18px;
  border-color: rgba(114, 215, 196, .13);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(22, 53, 60, .88), rgba(14, 35, 40, .98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

#customer-view .provider-card__top {
  align-items: flex-start;
}

#customer-view :is(.provider-card__logo, .provider-card__icon) {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
  border-radius: 18px;
}

.provider-card__identity {
  min-width: 0;
  display: grid;
  align-content: start;
}

.provider-card__type {
  overflow: hidden;
  color: var(--experience-amber);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#customer-view .provider-card h3 {
  margin: 3px 0 2px;
  overflow: hidden;
  color: var(--experience-paper);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--experience-muted);
  font-size: 10px;
}

.provider-card__location i,
.provider-card__details i {
  color: var(--experience-teal);
  font-style: normal;
}

#customer-view .provider-card__description {
  min-height: 49px;
  margin: 16px 0 12px;
  display: -webkit-box;
  overflow: hidden;
  color: #cad7d4;
  font-size: 12px;
  line-height: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.provider-card__details {
  display: grid;
  gap: 7px;
  color: var(--experience-muted);
  font-size: 10px;
}

.provider-card__details > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#customer-view .provider-card__action {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  align-self: stretch;
  justify-content: space-between;
  border-color: rgba(114, 215, 196, .2);
  background: rgba(114, 215, 196, .075);
  color: var(--experience-paper);
  box-shadow: none;
}

/* Empty states are useful, not merely blank. */
.premium-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(114, 215, 196, .22);
  border-radius: 22px;
  background: rgba(16, 40, 46, .5);
  color: var(--experience-paper);
}

.premium-empty > span {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(114, 215, 196, .1);
  color: var(--experience-teal);
  font-size: 23px;
}

.premium-empty > strong {
  font-size: 16px;
}

.premium-empty > p {
  max-width: 500px;
  margin: 7px 0 17px;
  color: var(--experience-muted);
  line-height: 1.9;
  font-size: 12px;
}

.premium-empty--compact {
  min-height: 190px;
}

/* Provider dashboard. */
#manager-view .panel > .page-heading:not(.manager-hero) {
  padding: 22px 24px;
  align-items: center;
  border: 1px solid rgba(114, 215, 196, .13);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(22, 53, 60, .72), rgba(16, 40, 46, .9));
  box-shadow: 0 11px 29px rgba(0, 0, 0, .1);
}

#manager-view .panel > .page-heading h1 {
  color: var(--experience-paper);
  font-size: clamp(22px, 3vw, 31px);
}

#manager-view .manager-hero {
  min-height: 220px;
  margin-bottom: 18px;
  padding: 30px 34px;
  align-items: center;
}

.manager-hero__actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.manager-today {
  color: var(--experience-muted);
  font-size: 12px;
}

#manager-view .manager-hero .button-primary {
  min-width: 170px;
  min-height: 48px;
  border: 1px solid rgba(255, 248, 232, .16);
  background: linear-gradient(135deg, var(--experience-amber), #f4b552);
  color: #13282c;
  box-shadow: 0 12px 30px rgba(255, 200, 103, .14);
}

#manager-view #workdesk {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

#manager-view .manager-metric {
  min-height: 150px;
  padding: 16px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: start;
  gap: 10px;
  text-align: right;
  border-color: rgba(114, 215, 196, .12);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 53, 60, .82), rgba(14, 35, 40, .98));
  box-shadow: 0 11px 28px rgba(0, 0, 0, .11);
  transition: transform .18s ease, border-color .18s ease;
}

#manager-view .manager-metric::after {
  width: 110px;
  height: 110px;
  opacity: .035;
}

.manager-metric__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 13%, transparent);
  color: inherit !important;
  font-size: 18px;
  font-weight: 900;
}

.manager-metric__copy {
  min-width: 0;
  display: grid;
}

#manager-view .manager-metric__copy small {
  color: var(--experience-muted);
  font-size: 11px;
  font-style: normal;
}

#manager-view .manager-metric__copy strong {
  margin: 7px 0 6px;
  color: var(--experience-paper);
  font-size: 31px;
  line-height: 1;
}

.manager-metric__copy em {
  overflow: hidden;
  color: var(--experience-muted);
  font-size: 9px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-metric__arrow {
  align-self: center;
  color: currentColor !important;
  opacity: .55;
}

.manager-dashboard-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
  gap: 14px;
}

#manager-view .manager-dashboard-grid > .surface {
  min-width: 0;
  padding: 20px;
  border-color: rgba(114, 215, 196, .12);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(18, 46, 52, .94), rgba(14, 35, 40, .98));
  box-shadow: 0 12px 32px rgba(0, 0, 0, .11);
}

#manager-view .manager-dashboard-grid .surface-heading {
  align-items: center;
  margin-bottom: 15px;
}

#manager-view .manager-dashboard-grid h2 {
  margin: 3px 0 0;
  color: var(--experience-paper);
  font-size: 17px;
}

#manager-view .compact-request {
  width: 100%;
  min-height: 66px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto 16px;
  text-align: right;
  color: inherit;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.compact-request__avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(114, 215, 196, .1);
  color: var(--experience-teal);
  font-size: 12px;
  font-weight: 900;
}

.compact-request__content {
  min-width: 0;
  display: grid;
}

.compact-request__content strong,
.compact-request__content small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-request__content strong {
  color: var(--experience-paper);
  font-size: 12px;
}

.compact-request__content small {
  margin-top: 3px;
  color: var(--experience-muted);
  font-size: 9px;
}

.compact-request__arrow {
  color: var(--experience-muted);
  font-size: 12px;
}

#manager-view .quick-surface > div:first-child {
  margin-bottom: 15px;
}

#manager-view .quick-actions {
  gap: 9px;
}

#manager-view .quick-actions button {
  min-width: 0;
  min-height: 82px;
  padding: 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  text-align: right;
  border-color: rgba(255, 248, 232, .08);
  background: rgba(255, 248, 232, .025);
  transition: border-color .18s ease, background .18s ease;
}

#manager-view .quick-actions button > span:first-child {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(114, 215, 196, .09);
  color: var(--experience-teal);
  font-size: 17px;
}

#manager-view .quick-actions button > span:last-child {
  min-width: 0;
  display: grid;
}

#manager-view .quick-actions b {
  overflow: hidden;
  color: var(--experience-paper);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#manager-view .quick-actions small {
  margin-top: 3px;
  color: var(--experience-muted);
  font-size: 9px;
}

#manager-view :is(.table-wrap, .system-table-wrap) {
  border-color: rgba(114, 215, 196, .13);
  border-radius: 20px;
  background: rgba(16, 40, 46, .88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
}

#manager-view .toolbar {
  padding: 8px;
  border: 1px solid rgba(114, 215, 196, .11);
  border-radius: 17px;
  background: rgba(16, 40, 46, .55);
}

#manager-view .toolbar :is(input, select) {
  min-height: 44px;
}

#manager-view th {
  height: 48px;
  color: var(--experience-muted);
  background: rgba(9, 25, 29, .38);
}

#manager-view td {
  height: 62px;
}

@media (hover: hover) and (pointer: fine) {
  #customer-view .provider-card,
  #manager-view .manager-metric,
  #manager-view .quick-actions button,
  #manager-view .compact-request {
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
  }

  #customer-view .provider-card:hover,
  #manager-view .manager-metric:hover {
    transform: translateY(-2px);
    border-color: rgba(114, 215, 196, .32);
  }

  #manager-view :is(.quick-actions button, .compact-request):hover {
    border-color: rgba(114, 215, 196, .25);
    background: rgba(114, 215, 196, .065);
  }

  #manager-view tbody tr:hover td {
    background: rgba(114, 215, 196, .025);
  }
}

@media (max-width: 1000px) {
  .customer-experience-hero {
    grid-template-columns: 1fr;
  }

  #customer-view .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #manager-view #workdesk {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manager-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #manager-view > .command-nav {
    display: flex;
    scroll-snap-type: x proximity;
  }

  #manager-view > .command-nav button {
    min-width: 112px;
    scroll-snap-align: start;
  }

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

}

@media (max-width: 620px) {
  .experience-workspace > .workspace-nav {
    top: 72px;
    margin-bottom: 16px;
    border-radius: 15px;
  }

  #customer-view > .customer-nav button {
    min-width: 0;
    padding-inline: 7px;
  }

  .customer-nav__icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    font-size: 15px;
  }

  .customer-nav b {
    font-size: 11px;
  }

  .customer-nav small {
    display: none;
  }

  .experience-hero,
  #manager-view .manager-hero {
    border-radius: 22px;
  }

  .customer-experience-hero,
  .experience-hero--compact,
  #manager-view .manager-hero {
    min-height: 0;
    padding: 22px 18px;
  }

  .experience-hero h1,
  #manager-view .manager-hero h1 {
    font-size: 27px;
  }

  .experience-hero p,
  #manager-view .manager-hero p {
    font-size: 12px;
  }

  .customer-overview {
    gap: 7px;
  }

  .customer-overview article {
    min-height: 78px;
    padding: 10px;
    grid-template-columns: 30px 1fr;
    column-gap: 8px;
    border-radius: 14px;
  }

  .customer-overview article > span {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .customer-overview strong {
    font-size: 20px;
  }

  .content-heading {
    margin-top: 23px;
    align-items: flex-start;
  }

  .content-heading p {
    display: none;
  }

  .content-heading .text-button {
    min-height: 36px;
    font-size: 11px;
  }

  #customer-view .customer-request-card {
    padding: 16px;
    border-radius: 18px;
  }

  .customer-request-card__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
  }

  .request-service-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  #customer-view .customer-request-card h3 {
    font-size: 14px;
  }

  .customer-request-card__header > .badge {
    max-width: 120px;
    min-height: 27px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .request-current {
    padding: 12px;
  }

  #customer-view .request-current p {
    font-size: 12px;
  }

  .request-facts > span {
    padding: 9px;
  }

  .directory-controls {
    margin: 12px 0 16px;
    padding: 13px 13px 0;
    border-radius: 17px;
  }

  .directory-controls .public-search-controls {
    grid-template-columns: 1fr;
  }

  #customer-view .card-grid {
    grid-template-columns: 1fr;
  }

  #customer-view .provider-card {
    min-height: 280px;
  }

  #manager-view .panel > .page-heading:not(.manager-hero) {
    padding: 18px;
    align-items: stretch;
    border-radius: 19px;
  }

  #manager-view .manager-hero {
    align-items: stretch;
  }

  .manager-hero__actions {
    width: 100%;
    justify-items: stretch;
  }

  .manager-today {
    margin-top: 3px;
  }

  #manager-view .manager-hero .button-primary {
    width: 100%;
  }

  #manager-view #workdesk {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  #manager-view .manager-metric {
    min-height: 92px;
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    align-items: center;
  }

  #manager-view .manager-metric__copy strong {
    margin-block: 4px;
    font-size: 25px;
  }

  #manager-view .manager-dashboard-grid > .surface {
    padding: 16px;
    border-radius: 19px;
  }

  #manager-view .compact-request {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .compact-request__avatar {
    width: 36px;
    height: 36px;
  }

  .compact-request__arrow {
    display: none;
  }

  #manager-view .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #manager-view .quick-actions button {
    min-height: 91px;
    padding: 10px;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  #manager-view .toolbar {
    padding: 7px;
  }

  .premium-empty {
    min-height: 190px;
    padding: 22px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .experience-workspace *,
  .experience-workspace *::before,
  .experience-workspace *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: more) {
  .experience-workspace {
    --experience-line: rgba(255, 248, 232, .42);
    --experience-muted: #dce6e3;
  }

  .experience-workspace :is(.badge, button, input, select, textarea, .surface, .provider-card, .request-card) {
    border-width: 2px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .experience-workspace > .workspace-nav,
  .directory-controls {
    background: #10282e;
  }
}
