:root {
  --brand-blue: #2e7d91;
  --brand-blue-strong: #529cb5;
  --brand-blue-soft: #eaf4f6;
  --brand-blue-mist: #f5fafb;
  --brand-blue-rgb: 46, 125, 145;
  --brand-red: #d57105;
  --brand-red-strong: #bb5c00;
  --brand-red-soft: #fff1e4;
  --brand-red-mist: #fff8f1;
  --brand-red-ink: #7a3a00;
  --brand-red-rgb: 213, 113, 5;
  --brand-red-strong-rgb: 187, 92, 0;
  --tg-blue: var(--brand-blue);
  --tg-blue-strong: var(--brand-blue-strong);
  --ink: #111318;
  --muted: #737780;
  --soft: #eeeae2;
  --surface: #ffffff;
  --surface-soft: #f8f7f3;
  --surface-wash: #eff6f8;
  --page-bg: #e8e3d8;
  --line: rgba(17, 19, 24, 0.08);
  --line-strong: rgba(46, 125, 145, 0.28);
  --shadow: 0 18px 45px rgba(26, 32, 44, 0.14);
  --shadow-card:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 3px 9px rgba(15, 23, 42, 0.1),
    0 24px 48px rgba(33, 58, 84, 0.26);
  --radius-xl: 24px;
  --radius-card: 18px;
  --radius-control: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--soft);
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: linear-gradient(180deg, #e7e1d6 0%, #f4f2ec 52%, #e3ded3 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-x pan-y;
}

button {
  font: inherit;
}

button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}

[data-icon] {
  --icon-size: 20px;

  display: inline-grid;
  place-items: center;
}

[data-icon]::before,
[data-icon]::after {
  content: none !important;
}

.app-svg-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.app-screen {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding:
    max(18px, env(safe-area-inset-top))
    18px
    max(104px, calc(90px + env(safe-area-inset-bottom)));
  background: linear-gradient(180deg, #e7e1d6 0%, #f7f5ef 46%, var(--page-bg) 100%);
  -webkit-overflow-scrolling: touch;
}

.app-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("./assets/service-doodle-pattern.png");
  background-position: center top;
  background-repeat: repeat;
  background-size: 360px 360px;
  mix-blend-mode: multiply;
  opacity: 0.24;
  pointer-events: none;
}

.profile-row,
.intro,
.action-list {
  position: relative;
  z-index: 1;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.profile-pill,
.location-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(32, 69, 111, 0.28);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 22px rgba(24, 30, 44, 0.16);
}

.profile-pill {
  width: auto;
  max-width: 110px;
  gap: 6px;
  padding: 3px 9px 3px 5px;
  border-radius: 999px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.profile-avatar-wrap {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  overflow: hidden;
  display: block;
  border: 1px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.profile-avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-copy {
  min-width: 0;
  display: flex;
  align-items: center;
}

.profile-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-pill {
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.intro {
  padding: 0 8px 14px;
  text-align: center;
}

h1 {
  max-width: none;
  margin: 0 auto;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
  white-space: normal;
}

.intro-copy {
  max-width: 320px;
  margin: 10px auto 0;
  color: #555d69;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 560;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86),
    0 5px 14px rgba(255, 255, 255, 0.5),
    0 1px 2px rgba(24, 30, 44, 0.08);
}

.action-list {
  display: grid;
  gap: 12px;
}

.action-card {
  --card-from: var(--brand-blue);
  --card-to: var(--brand-blue-strong);
  --card-shadow: rgba(var(--brand-blue-rgb), 0.24);

  width: 100%;
  min-height: 98px;
  display: grid;
  grid-template-columns: 44px 1fr 18px;
  align-items: center;
  gap: 13px;
  padding: 16px 15px;
  border: 0;
  border-radius: 20px;
  background:
    linear-gradient(135deg, var(--card-from), var(--card-to)),
    var(--tg-blue);
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 22px var(--card-shadow);
  transition:
    transform 160ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.action-card:active {
  transform: scale(0.99);
}

.action-card[data-panel="offer"] {
  --card-from: var(--brand-red);
  --card-to: var(--brand-red-strong);
  --card-shadow: rgba(var(--brand-red-strong-rgb), 0.22);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--tg-blue);
  position: relative;
}

.action-card .card-icon {
  --icon-size: 22px;

  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.card-content {
  display: grid;
  gap: 7px;
}

.card-content strong {
  font-size: 18px;
  line-height: 1.15;
  font-weight: 820;
}

.card-content span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.action-card .card-content span {
  color: rgba(255, 255, 255, 0.82);
}

.card-arrow {
  --icon-size: 18px;

  width: 18px;
  height: 18px;
  border: 0;
  opacity: 0.55;
}

.startup-gate {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding:
    max(24px, env(safe-area-inset-top))
    16px
    max(28px, env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(246, 250, 255, 0.9), rgba(234, 239, 247, 0.96)),
    var(--soft);
  -webkit-overflow-scrolling: touch;
}

.startup-gate[hidden] {
  display: none;
}

.startup-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/service-doodle-pattern.png");
  background-position: center top;
  background-repeat: repeat;
  background-size: 360px 360px;
  opacity: 0.3;
  pointer-events: none;
}

.startup-panel {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - 32px), 352px);
  max-width: calc(100vw - 32px);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(72, 86, 112, 0.2);
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 24px 54px rgba(24, 30, 44, 0.2);
}

.startup-panel[hidden] {
  display: none;
}

.startup-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(17, 19, 24, 0.18);
}

.startup-kicker {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--tg-blue);
  font-size: 12px;
  font-weight: 800;
}

.startup-kicker.is-warning {
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
}

.startup-panel h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
}

.startup-panel p {
  margin: 0;
  color: #596171;
  font-size: 15px;
  line-height: 1.42;
  font-weight: 560;
}

.startup-admission-form {
  display: grid;
  gap: 12px;
}

.startup-admission-label {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 820;
}

.startup-admission-input {
  width: 100%;
  min-height: 54px;
  box-sizing: border-box;
  border: 1px solid #c8d4e4;
  border-radius: 16px;
  padding: 0 16px;
  background: linear-gradient(180deg, #fff, #f4f8ff);
  color: var(--ink);
  font: inherit;
  font-size: 24px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-align: center;
  outline: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 8px 18px rgba(24, 30, 44, 0.09);
}

.startup-admission-input:focus {
  border-color: var(--tg-blue);
  box-shadow:
    0 0 0 3px rgba(var(--brand-blue-rgb), 0.14),
    0 8px 18px rgba(24, 30, 44, 0.09);
}

.startup-admission-input[aria-invalid="true"] {
  border-color: var(--brand-red-strong);
}

.startup-admission-error {
  color: var(--brand-red-ink) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 720 !important;
}

.startup-admission-error[hidden] {
  display: none;
}

.startup-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef8;
}

.startup-progress span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tg-blue), var(--brand-red-strong));
  animation: startup-progress 900ms ease-in-out infinite alternate;
}

@keyframes startup-progress {
  from {
    transform: translateX(-18%);
  }
  to {
    transform: translateX(56%);
  }
}

.startup-check-list {
  display: grid;
  gap: 8px;
}

.startup-check-list span {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #d5deeb;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f1f6ff);
  color: #657084;
  font-size: 13px;
  font-weight: 760;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 6px 14px rgba(24, 30, 44, 0.1);
}

.startup-check-list span::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 2px solid #c6cfdd;
  border-radius: 50%;
}

.startup-check-list .is-done::before,
.startup-check-list .is-valid::before {
  border-color: var(--brand-red-strong);
  background:
    linear-gradient(135deg, transparent 52%, #fff 52% 64%, transparent 64%) 4px 7px / 8px 6px no-repeat,
    var(--brand-red-strong);
}

.startup-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.startup-meta span {
  min-height: 58px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #d5deeb;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, var(--brand-blue-soft));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 8px 17px rgba(24, 30, 44, 0.11);
}

.startup-meta strong {
  font-size: 12px;
  color: #6c7482;
}

.startup-meta small {
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
}

.startup-consent-list {
  display: grid;
  gap: 9px;
}

.startup-consent-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 11px 10px;
  border: 1px solid #d2ddea;
  border-radius: 17px;
  background: linear-gradient(180deg, #fff, #f2f7ff);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 9px 20px rgba(24, 30, 44, 0.12);
}

.startup-consent-label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.startup-consent-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.startup-checkbox {
  position: relative;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border: 2px solid #c8d2e0;
  border-radius: 8px;
  background: #fff;
}

.startup-consent-label input:checked + .startup-checkbox {
  border-color: var(--tg-blue);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.4l4.5 4.5L19 7' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 19px 19px no-repeat,
    var(--tg-blue);
}

.startup-consent-label strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 820;
}

.startup-consent-label small {
  display: block;
  margin-top: 3px;
  color: #687286;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 620;
}

.startup-doc-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--tg-blue);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.startup-primary {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--tg-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 840;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(var(--brand-blue-rgb), 0.24);
}

.startup-primary:disabled {
  background: #cbd4e2;
  color: rgba(255, 255, 255, 0.8);
  cursor: default;
  box-shadow: none;
}

.startup-doc-sheet {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-items: end;
}

.startup-doc-sheet[hidden] {
  display: none;
}

.startup-doc-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.startup-doc-panel {
  position: relative;
  z-index: 1;
  max-height: 78%;
  overflow-y: auto;
  padding: 18px;
  border-radius: 26px 26px 0 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -18px 40px rgba(24, 30, 44, 0.18);
  scrollbar-width: none;
}

.startup-doc-panel::-webkit-scrollbar {
  display: none;
}

.startup-doc-head {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
}

.startup-doc-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.startup-doc-head p {
  margin: 5px 0 0;
  color: #697386;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 620;
}

.startup-doc-body {
  display: grid;
  gap: 13px;
  color: #4d5667;
  font-size: 13px;
  line-height: 1.48;
  font-weight: 560;
}

.startup-doc-body p {
  margin: 0;
}

.startup-doc-section {
  display: grid;
  gap: 7px;
}

.startup-doc-section h4 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.22;
  font-weight: 850;
}

.startup-doc-section ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.startup-doc-section li {
  padding-left: 2px;
}

.requests-view[hidden],
.work-view[hidden],
.user-profile-view[hidden] {
  display: none;
}

.app-screen[data-active-view="requests"] .profile-row,
.app-screen[data-active-view="requests"] .intro,
.app-screen[data-active-view="requests"] .action-list,
.app-screen[data-active-view="work"] .profile-row,
.app-screen[data-active-view="work"] .intro,
.app-screen[data-active-view="work"] .action-list,
.app-screen[data-active-view="profile"] .profile-row,
.app-screen[data-active-view="profile"] .intro,
.app-screen[data-active-view="profile"] .action-list {
  display: none;
}

.requests-view,
.work-view,
.user-profile-view {
  position: relative;
  z-index: 1;
  overflow-y: visible;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 2px 4px 4px;
  scrollbar-width: none;
}

.requests-view::-webkit-scrollbar,
.work-view::-webkit-scrollbar,
.user-profile-view::-webkit-scrollbar {
  display: none;
}

.requests-head,
.work-head,
.profile-view-head {
  display: grid;
  gap: 6px;
  padding: 0 8px 2px;
}

.requests-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.requests-head > .requests-kicker,
.requests-head > h1,
.requests-head > p {
  grid-column: 1;
}

.requests-close {
  width: 44px;
  height: 44px;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: start;
}

.requests-kicker {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.34);
  border-radius: 999px;
  background: #ffffff;
  color: var(--tg-blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 820;
  box-shadow: 0 10px 22px rgba(33, 58, 84, 0.16);
}

.requests-head h1,
.work-head h1,
.profile-view-head h1 {
  margin: 0;
  text-align: left;
}

.requests-head p,
.work-head p,
.profile-view-head p {
  margin: 0;
  color: #596270;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
}

.profile-summary-card,
.profile-action-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--surface-wash) 100%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.profile-summary-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 14px;
}

.profile-summary-avatar {
  width: 58px;
  height: 58px;
  overflow: hidden;
  display: block;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.profile-summary-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-summary-copy {
  min-width: 0;
  align-self: center;
  display: grid;
  gap: 4px;
}

.profile-summary-copy strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 880;
}

.profile-summary-copy small {
  color: #667484;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 720;
}

.profile-summary-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-summary-meta span {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, #e4f1ff 0%, #d9eafb 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

.profile-summary-meta small {
  color: #687484;
  font-size: 11px;
  line-height: 1;
  font-weight: 780;
}

.profile-summary-meta strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.12;
  font-weight: 850;
}

.profile-action-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
}

.profile-action-icon {
  --icon-size: 19px;

  width: 38px;
  height: 38px;
  position: relative;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--tg-blue);
}

.profile-action-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.profile-action-copy strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.12;
  font-weight: 860;
}

.profile-action-copy small {
  color: #657386;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 680;
}

.profile-action-button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  background: var(--tg-blue);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  box-shadow: 0 10px 18px rgba(var(--brand-blue-rgb), 0.18);
}

.requests-tabs {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(32, 69, 111, 0.28);
  border-radius: 17px;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 30px rgba(33, 58, 84, 0.18);
}

.requests-tabs button {
  min-height: 34px;
  min-width: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #75808d;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  font-weight: 820;
}

.requests-tabs button.is-active {
  background: linear-gradient(180deg, #dff0ff 0%, #cfe6fb 100%);
  color: var(--tg-blue);
  box-shadow: 0 10px 20px rgba(var(--brand-blue-rgb), 0.18);
}

.work-tabs,
.request-detail-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.requests-view.is-detail > .requests-tabs {
  display: none;
}

.requests-list,
.work-list {
  display: grid;
  gap: 13px;
}

.requests-empty,
.request-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--surface-wash) 100%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.requests-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.requests-empty-icon {
  --icon-size: 20px;

  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--tg-blue);
  position: relative;
}

.requests-empty strong,
.request-card-title {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
  font-weight: 860;
}

.requests-empty p {
  max-width: 280px;
  margin: 0;
  color: #5e6774;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 640;
}

.requests-empty button,
.request-action {
  min-height: 34px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  font-weight: 820;
}

.requests-empty button,
.request-action.is-primary {
  padding: 0 14px;
  background: var(--tg-blue);
  color: #fff;
  box-shadow: 0 8px 16px rgba(var(--brand-blue-rgb), 0.18);
}

.request-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  position: relative;
}

.request-card-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px;
}

.request-card-title-wrap {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.request-card-title {
  overflow-wrap: anywhere;
}

.request-card-category {
  color: #6d7582;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 760;
}

.request-status {
  min-width: 86px;
  padding: 7px 9px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.22);
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--tg-blue);
  text-align: center;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
}

.request-status.is-cancelled {
  background: #eef1f5;
  color: #697281;
}

.request-status.is-sent {
  background: #e7f7ef;
  color: #167346;
}

.request-status.is-empty {
  background: #fff2dc;
  color: #9b570d;
}

.request-status.is-error {
  background: #fdecec;
  color: #a7382f;
}

.request-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.request-facts span,
.request-facts button {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.24);
  border-radius: 15px;
  background: linear-gradient(180deg, #e4f1ff 0%, #d9eafb 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.84) inset,
    0 7px 14px rgba(33, 58, 84, 0.08);
}

.request-facts button {
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.request-facts button:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 3px rgba(var(--brand-blue-rgb), 0.18),
    0 7px 14px rgba(33, 58, 84, 0.08);
}

.request-facts small {
  color: #7a8390;
  font-size: 10px;
  line-height: 1;
  font-weight: 760;
}

.request-facts strong {
  overflow: hidden;
  color: #1c2532;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-description {
  margin: 0;
  color: #414b59;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 610;
}

.request-matching {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(22, 115, 70, 0.4);
  border-radius: 14px;
  background: linear-gradient(180deg, #dcf4e7 0%, #edf9f3 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 12px 24px rgba(22, 115, 70, 0.14);
}

.request-matching-head {
  display: grid;
  gap: 3px;
}

.request-matching-head strong {
  color: #173525;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

.request-matching-head span {
  color: #4d6358;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 690;
}

.request-matching.is-running {
  border-color: rgba(var(--brand-blue-rgb), 0.36);
  background: linear-gradient(180deg, #d7ecff 0%, #eff7ff 100%);
}

.request-matching.is-empty,
.request-matching.is-skipped {
  border-color: rgba(155, 87, 13, 0.36);
  background: linear-gradient(180deg, #ffe8c5 0%, #fff6e8 100%);
}

.request-matching.is-error {
  border-color: rgba(167, 56, 47, 0.36);
  background: linear-gradient(180deg, #ffd8d4 0%, #fff0ef 100%);
}

.request-provider-panel {
  display: grid;
  gap: 8px;
}

.request-provider-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.request-provider-panel-head strong {
  color: #173525;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
}

.request-provider-panel-head span {
  flex: 0 0 auto;
  color: #577063;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 780;
}

.request-provider-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-provider-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(22, 115, 70, 0.22);
  border-radius: 12px;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 10px 18px rgba(22, 115, 70, 0.1);
}

.request-provider-head {
  display: block;
}

.request-provider-head strong {
  overflow-wrap: anywhere;
  color: #15271d;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
}

.request-provider-details {
  display: grid;
  gap: 6px;
  margin: 0;
}

.request-provider-detail {
  display: grid;
  grid-template-columns: minmax(86px, 0.55fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.request-provider-detail dt,
.request-provider-detail dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
}

.request-provider-detail dt {
  color: #728176;
  font-weight: 760;
}

.request-provider-detail dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #344c3f;
  font-weight: 690;
}

@media (max-width: 374px) {
  .request-provider-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .request-provider-detail {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.request-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

.request-action.is-secondary {
  background: #eef2f7;
  color: #3f4651;
}

.request-action:disabled {
  background: #dbe3ec;
  color: #748090;
  cursor: default;
  box-shadow: none;
}

.request-detail {
  display: grid;
  gap: 12px;
}

.request-detail-back {
  width: max-content;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.24);
  border-radius: 13px;
  background: #ffffff;
  color: var(--tg-blue);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  font-weight: 840;
  box-shadow: 0 8px 16px rgba(33, 58, 84, 0.12);
}

.request-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--surface-wash) 100%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.request-detail-head h2 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 880;
}

.request-detail-head p {
  margin: 5px 0 0;
  color: #697386;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 720;
}

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

.request-detail-body,
.request-detail-section,
.candidate-list,
.customer-contact-list {
  display: grid;
  gap: 10px;
}

.request-detail-panel,
.request-detail-empty,
.candidate-card,
.customer-contact-card,
.work-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--surface-wash) 100%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.request-detail-panel,
.request-detail-empty {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.request-detail-panel > strong,
.request-detail-empty strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.18;
  font-weight: 860;
}

.request-detail-panel p,
.request-detail-empty p,
.candidate-about {
  margin: 0;
  color: #4f5968;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 620;
}

.request-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.request-mini-stats span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.22);
  border-radius: 14px;
  background: #f7fbff;
}

.request-mini-stats small {
  color: #748090;
  font-size: 10px;
  line-height: 1;
  font-weight: 760;
}

.request-mini-stats strong {
  overflow-wrap: anywhere;
  color: #1c2532;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 830;
}

.request-detail-empty {
  justify-items: start;
}

.request-detail-empty [data-icon] {
  --icon-size: 19px;

  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--tg-blue);
}

.request-detail-actions {
  display: grid;
  justify-items: stretch;
}

.customer-contact-card {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.customer-contact-card span:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.customer-contact-card strong,
.work-card-title strong,
.candidate-identity strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
  font-weight: 860;
}

.customer-contact-card small,
.work-card-title small,
.candidate-identity small {
  color: #697386;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 720;
}

.customer-contact-card .request-action {
  grid-column: 1 / -1;
}

.contact-reveal-panel {
  min-width: 0;
  display: grid;
  gap: 9px;
  padding: 11px;
  border-radius: 17px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.18);
  background:
    linear-gradient(180deg, rgba(244, 250, 255, 0.96), rgba(255, 255, 255, 0.96)),
    #fff;
}

.customer-contact-card .contact-reveal-panel {
  grid-column: 1 / -1;
}

.contact-reveal-panel.is-waiting {
  border-color: rgba(238, 163, 67, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 250, 235, 0.97), rgba(255, 255, 255, 0.97)),
    #fff;
}

.contact-reveal-panel > strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 860;
}

.contact-reveal-panel > p {
  margin: 0;
  color: #5d6673;
  font-size: 12px;
  line-height: 1.32;
  font-weight: 680;
}

.contact-reveal-value {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 14px;
  background: #e8f8ee;
  color: #173b27;
}

.contact-reveal-value small {
  font-size: 10px;
  line-height: 1;
  font-weight: 760;
  opacity: 0.72;
}

.contact-reveal-value span {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 860;
}

.contact-reveal-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.contact-reveal-hint {
  display: block;
  padding: 8px 9px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: #5d6673;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 720;
}

.candidate-card {
  display: grid;
  gap: 11px;
  padding: 13px;
}

.candidate-card-head,
.work-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.candidate-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-strong) 100%);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  font-weight: 860;
  box-shadow: 0 10px 22px rgba(var(--brand-blue-rgb), 0.2);
}

.candidate-identity,
.work-card-title {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.candidate-status {
  max-width: 118px;
  padding: 7px 9px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.24);
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--tg-blue);
  text-align: center;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 850;
}

.candidate-status.is-requested {
  background: #fff2dc;
  color: #9b570d;
}

.candidate-status.is-ready {
  background: #e7f7ef;
  color: #167346;
}

.candidate-status.is-closed {
  background: #eef1f5;
  color: #697281;
}

.request-chip-list,
.candidate-portfolio {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.request-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.2);
  border-radius: 999px;
  background: #f7fbff;
  color: #354457;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 760;
}

.candidate-actions,
.work-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

.candidate-profile-panel {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.18);
  border-radius: 15px;
  background: #ffffff;
}

.candidate-profile-details {
  display: grid;
  gap: 7px;
  margin: 0;
}

.request-detail-description {
  overflow-wrap: anywhere;
}

.work-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.work-card-head {
  grid-template-columns: minmax(0, 1fr) auto;
}

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

@media (max-width: 374px) {
  .request-detail-head,
  .candidate-card-head,
  .customer-contact-card {
    grid-template-columns: 1fr;
  }

  .request-mini-stats,
  .request-detail-facts,
  .work-facts {
    grid-template-columns: 1fr;
  }

  .candidate-status {
    width: max-content;
    max-width: 100%;
  }
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--brand-red);
  border-radius: 50%;
}

.location-pill.is-active {
  border-color: rgba(var(--brand-blue-rgb), 0.28);
  color: var(--tg-blue);
  background: #f7fbff;
}

.country-overlay[hidden],
.location-overlay[hidden] {
  display: none;
}

.find-overlay[hidden],
.provider-overlay[hidden] {
  display: none;
}

.country-overlay,
.location-overlay {
  position: absolute;
  inset: 42px 0 0;
  z-index: 12;
  display: grid;
  place-items: center;
  padding: 18px;
}

.country-overlay {
  z-index: 10;
}

.find-overlay,
.provider-overlay {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: grid;
  align-items: stretch;
}

.country-backdrop,
.location-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.find-backdrop,
.provider-backdrop {
  display: none;
}

.country-sheet,
.location-sheet {
  position: relative;
  width: 100%;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--brand-blue-rgb), 0.18), transparent 38%),
    linear-gradient(180deg, rgba(210, 230, 255, 0.98) 0%, rgba(188, 217, 249, 0.98) 54%, rgba(171, 204, 242, 0.98) 100%),
    #bfd9f6;
  box-shadow: 0 24px 54px rgba(18, 45, 78, 0.34);
  backdrop-filter: blur(20px);
}

.country-sheet {
  max-width: 480px;
  align-content: start;
}

.location-sheet {
  max-height: min(640px, calc(100% - 28px));
  grid-template-rows: auto auto auto auto auto;
}

.location-sheet .sheet-handle {
  display: none;
}

.sheet-handle {
  justify-self: center;
  width: 42px;
  height: 5px;
  margin: 0 0 2px;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.16);
}

.country-sheet-header,
.location-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.country-sheet-header h2,
.location-sheet-header h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: 0;
}

.country-sheet-header p,
.location-sheet-header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
}

.country-option {
  min-height: 54px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.28);
  border-radius: 16px;
  background: rgba(248, 252, 255, 0.92);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(24, 30, 44, 0.08);
}

.country-option strong {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 820;
}

.country-radio {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid var(--tg-blue);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 3px #fff;
}

.country-radio::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tg-blue);
}

.sheet-close {
  --icon-size: 18px;

  width: 34px;
  height: 34px;
  position: relative;
  flex: 0 0 34px;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: #7a818d;
  cursor: pointer;
}

.location-current {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.location-current span {
  color: #677182;
  font-size: 12px;
  font-weight: 760;
}

.location-current strong {
  min-width: 0;
  overflow: hidden;
  color: var(--tg-blue);
  font-size: 13px;
  font-weight: 840;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-mode-list {
  display: grid;
  gap: 8px;
}

.location-mode {
  min-height: 54px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(17, 19, 24, 0.09);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
  box-shadow: 0 8px 18px rgba(24, 30, 44, 0.08);
}

.location-mode.is-active {
  border-color: rgba(var(--brand-blue-rgb), 0.28);
  background: #f4f9ff;
}

.location-mode:focus-visible {
  border-color: rgba(var(--brand-blue-rgb), 0.42);
  box-shadow:
    0 0 0 3px rgba(var(--brand-blue-rgb), 0.12),
    0 8px 18px rgba(24, 30, 44, 0.08);
}

.mode-icon {
  --icon-size: 19px;

  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--tg-blue);
}

.location-mode strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 820;
}

.location-mode small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 620;
}

.location-dropdowns {
  min-height: 0;
  position: relative;
  z-index: 3;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: visible;
  padding-right: 2px;
}

.location-dropdown {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(17, 19, 24, 0.09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 30, 44, 0.08);
}

.location-dropdown.is-disabled {
  opacity: 0.72;
}

.dropdown-head {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.dropdown-head:disabled {
  cursor: default;
}

.dropdown-head strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 820;
}

.dropdown-head small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
}

.dropdown-chevron {
  --icon-size: 18px;

  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 0;
  color: #7f8790;
  transition: transform 160ms ease;
}

.dropdown-head[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.location-search-wrap {
  background: transparent;
}

.location-search {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 13px;
  padding: 0 12px;
  background: #f4f7fb;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  outline: none;
}

.location-search:focus {
  border-color: rgba(var(--brand-blue-rgb), 0.38);
  background: #fff;
}

.check-option {
  min-height: 38px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--ink);
  cursor: pointer;
}

.check-option:has(input:checked) {
  background: var(--brand-blue-soft);
}

.check-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--tg-blue);
}

.check-option span {
  overflow: hidden;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-location {
  padding: 10px 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.location-picker-overlay[hidden],
.provider-picker-overlay[hidden],
.provider-readiness-overlay[hidden] {
  display: none;
}

.location-picker-overlay,
.provider-picker-overlay,
.provider-readiness-overlay {
  position: absolute;
  inset: 0;
  z-index: 14;
  display: grid;
  place-items: center;
  padding: 18px;
}

.location-picker-backdrop,
.provider-picker-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.location-picker,
.provider-picker {
  position: relative;
  width: 100%;
  max-height: min(520px, calc(100% - 28px));
  min-height: min(430px, calc(100% - 28px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--brand-blue-rgb), 0.18), transparent 38%),
    linear-gradient(180deg, rgba(210, 230, 255, 0.98) 0%, rgba(188, 217, 249, 0.98) 54%, rgba(171, 204, 242, 0.98) 100%),
    #bfd9f6;
  box-shadow: 0 24px 54px rgba(18, 45, 78, 0.34);
  overflow: hidden;
}

.location-picker-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.provider-picker-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.location-picker-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0;
}

.provider-picker-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0;
}

.location-picker-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
}

.provider-picker-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
}

.location-picker-list,
.provider-picker-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  overflow: auto;
  padding-right: 2px;
}

.location-picker-actions,
.provider-picker-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

.location-picker-cancel,
.location-picker-confirm,
.provider-picker-cancel,
.provider-picker-confirm {
  min-height: 42px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 820;
}

.location-picker-cancel,
.provider-picker-cancel {
  background: #eef2f7;
  color: #333a45;
}

.location-picker-confirm,
.provider-picker-confirm {
  background: var(--tg-blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(var(--brand-blue-rgb), 0.22);
}

.location-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  padding-top: 2px;
}

.location-reset,
.location-apply {
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 820;
}

.location-reset {
  background: #eef2f7;
  color: #333a45;
}

.location-apply {
  background: var(--tg-blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(var(--brand-blue-rgb), 0.24);
}

.provider-sheet {
  --provider-header-space: 126px;

  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--soft);
  box-shadow: none;
  -webkit-overflow-scrolling: touch;
}

.provider-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("./assets/service-doodle-pattern.png");
  background-position: center top;
  background-repeat: repeat;
  background-size: 360px 360px;
  mix-blend-mode: multiply;
  opacity: 0.62;
  pointer-events: none;
}

.provider-sheet > .sheet-handle {
  display: none;
}

.provider-sheet-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding:
    max(24px, env(safe-area-inset-top))
    0
    18px;
  background: transparent;
  pointer-events: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.provider-sheet-header .sheet-close {
  pointer-events: auto;
}

.provider-sheet-header h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: 0;
}

.provider-sheet-header p {
  margin: 5px 0 0;
  color: #54667f;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 650;
}

.provider-status-card {
  min-height: 50px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.2);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--brand-red-mist) 0%, var(--brand-red-soft) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.provider-status-icon {
  --icon-size: 18px;

  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fbdde1;
  color: var(--brand-red-ink);
  position: relative;
}

.provider-status-card > span:not(.provider-status-icon) {
  min-width: 0;
}

.provider-status-card strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-status-card small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #617067;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-status-card.is-inactive {
  border-color: rgba(111, 128, 151, 0.18);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.provider-status-card.is-inactive .provider-status-icon {
  background: #e8edf3;
  color: #7b8491;
}

.provider-switch {
  width: 44px;
  height: 26px;
  position: relative;
  border: 0;
  border-radius: 999px;
  background: #cfd6df;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.provider-switch span {
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(17, 19, 24, 0.18);
  transition: transform 160ms ease;
}

.provider-switch.is-on {
  background: var(--brand-red-strong);
}

.provider-switch.is-on span {
  transform: translateX(18px);
}

.provider-sheet-body {
  min-height: 0;
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: visible;
  padding-top: 0;
  padding-bottom: max(28px, calc(22px + env(safe-area-inset-bottom)));
  padding-right: 2px;
}

.provider-services-overview[hidden],
.provider-service-editor[hidden] {
  display: none;
}

.provider-services-overview,
.provider-service-editor {
  display: grid;
  gap: 10px;
}

.provider-services-toolbar {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1.5px solid rgba(var(--brand-red-strong-rgb), 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 1) 0%, rgba(255, 245, 235, 0.98) 100%),
    #fff8f1;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 14px 28px rgba(72, 49, 30, 0.15);
}

.provider-services-toolbar[hidden] {
  display: none !important;
}

.provider-services-toolbar span {
  min-width: 0;
}

.provider-services-toolbar strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.1;
  font-weight: 860;
}

.provider-services-toolbar small {
  display: block;
  margin-top: 4px;
  color: #6d5b4a;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 680;
}

.provider-add-service {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 13px;
  background: var(--brand-red-strong);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 840;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(var(--brand-red-strong-rgb), 0.22);
}

.provider-add-service [data-icon] {
  --icon-size: 17px;
}

.provider-add-service:disabled,
.provider-add-service.is-disabled {
  background: #d8c7bb;
  color: #fff8f2;
  cursor: default;
  box-shadow: none;
}

.provider-service-list {
  display: grid;
  gap: 10px;
}

.provider-service-card,
.provider-services-empty {
  border: 1.5px solid rgba(var(--brand-red-strong-rgb), 0.3);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 243, 0.98) 100%),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 14px 26px rgba(72, 49, 30, 0.13);
}

.provider-service-card {
  display: grid;
  gap: 11px;
  padding: 13px;
}

.provider-service-card-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.provider-service-card-icon {
  --icon-size: 18px;

  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ffe6d2;
  color: var(--brand-red-ink);
}

.provider-service-card-title {
  min-width: 0;
}

.provider-service-card-title strong {
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: normal;
}

.provider-service-card-title strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.18;
  font-weight: 860;
}

.provider-service-status {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.provider-service-status.is-active {
  background: #e7f7ef;
  color: #167346;
}

.provider-service-status.is-paused {
  background: #fff2dc;
  color: #9b570d;
}

.provider-service-status.is-draft {
  background: #eef1f5;
  color: #697281;
}

.provider-service-facts span {
  border-color: rgba(var(--brand-red-strong-rgb), 0.18);
  background: linear-gradient(180deg, #fff8f0 0%, #fdebdc 100%);
}

.provider-service-facts button {
  border-color: rgba(var(--brand-red-strong-rgb), 0.24);
  background: linear-gradient(180deg, #fffaf4 0%, #ffe9d7 100%);
}

.provider-service-facts button strong {
  color: var(--brand-red-ink);
}

.provider-service-facts button.is-empty strong {
  color: #897a6c;
}

.provider-service-requests-fact strong {
  color: var(--brand-red-ink);
}

.provider-service-description {
  margin: 0;
  color: #3f4854;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.provider-service-actions {
  display: grid;
  grid-template-columns: 1fr 0.66fr 0.66fr;
  gap: 8px;
}

.provider-service-button {
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 830;
  cursor: pointer;
}

.provider-service-button.is-secondary {
  background: #fff;
  color: var(--brand-red-ink);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-red-strong-rgb), 0.28);
}

.provider-service-button.is-primary {
  background: var(--brand-red-strong);
  color: #fff;
  box-shadow: 0 10px 18px rgba(var(--brand-red-strong-rgb), 0.18);
}

.provider-service-button.is-danger {
  background: #fff6f2;
  color: #9a3412;
  box-shadow: inset 0 0 0 1px rgba(154, 52, 18, 0.26);
}

.provider-service-button.is-danger.is-confirming {
  background: #9a3412;
  color: #fff;
  box-shadow: 0 10px 18px rgba(154, 52, 18, 0.18);
}

.provider-requests-header {
  display: grid;
  gap: 10px;
  padding: 2px 0 4px;
}

.provider-requests-header > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.provider-requests-header strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.16;
  font-weight: 870;
}

.provider-requests-header small {
  color: #6b5a4d;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 730;
}

.provider-requests-back {
  width: max-content;
  max-width: 100%;
  color: var(--brand-red-ink);
}

.provider-request-card,
.provider-request-communication-card {
  border-color: rgba(var(--brand-red-strong-rgb), 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 243, 0.98) 100%),
    #fff;
}

.provider-request-list-actions {
  grid-template-columns: 1fr;
}

.provider-request-status-note {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 15px;
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.2);
  background: #fffaf4;
  box-shadow: 0 7px 14px rgba(154, 52, 18, 0.06);
}

.provider-request-status-note small {
  color: #8a6a52;
  font-size: 10px;
  line-height: 1;
  font-weight: 760;
}

.provider-request-status-note strong {
  overflow-wrap: anywhere;
  color: #3b2f27;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 820;
}

.provider-request-status-note.is-ready {
  border-color: rgba(17, 125, 82, 0.22);
  background: #effbf5;
}

.provider-request-status-note.is-closed {
  border-color: rgba(102, 112, 133, 0.24);
  background: #f6f7f9;
}

.provider-request-detail {
  display: grid;
  gap: 10px;
}

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

.provider-request-detail-facts strong {
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.provider-request-communication {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--brand-red-strong-rgb), 0.16);
}

.provider-request-communication > strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 850;
}

.provider-request-communication p {
  margin: 0;
  color: #5d6673;
  font-size: 12px;
  line-height: 1.32;
  font-weight: 680;
}

.provider-request-communication-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.provider-request-state-chip {
  min-height: 34px;
  width: 100%;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 14px;
  text-align: center;
  box-shadow: none;
}

.provider-request-communication-actions .provider-request-state-chip {
  grid-column: 1 / -1;
}

.provider-request-communication-actions .request-action:disabled {
  opacity: 1;
}

.provider-services-empty {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 18px;
  text-align: center;
}

.provider-services-empty [data-icon] {
  --icon-size: 22px;

  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #ffe6d2;
  color: var(--brand-red-ink);
}

.provider-services-empty strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.provider-services-empty small {
  color: #6d5b4a;
  font-size: 12px;
  font-weight: 680;
}

.location-picker-list,
.provider-picker-list {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.location-picker-list::-webkit-scrollbar,
.provider-picker-list::-webkit-scrollbar {
  display: none;
}

.provider-block {
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.14);
  border-radius: 16px;
  background: rgba(255, 247, 248, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.provider-block {
  display: grid;
  gap: 8px;
  padding: 9px;
}

.provider-block-head {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.provider-block-head span {
  color: #333a45;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 820;
}

.provider-block-head small,
.provider-link {
  color: var(--brand-red-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 780;
}

.provider-link {
  min-height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.provider-location {
  min-height: 54px;
  padding: 0;
  overflow: hidden;
}

.provider-location-head {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.provider-location-head:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.12);
}

.provider-location-head[aria-expanded="true"] .provider-dropdown-chevron {
  transform: rotate(180deg);
}

.provider-location-head strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
}

.provider-location-head small {
  display: block;
  margin-top: 3px;
  color: var(--brand-red-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
}

.provider-readiness {
  min-height: 54px;
  padding: 0;
  overflow: hidden;
}

.provider-readiness-head {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.provider-readiness-head:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.12);
}

.provider-readiness-head[aria-expanded="true"] .provider-dropdown-chevron {
  transform: rotate(180deg);
}

.provider-readiness-title {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
}

.provider-readiness-summary {
  display: block;
  max-width: 210px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--brand-red-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-readiness-summary.is-complete {
  color: var(--brand-red-ink);
}

.provider-readiness-compact {
  min-width: 70px;
  min-height: 22px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0;
}

.provider-readiness-value,
.provider-readiness-detail-value {
  flex: 0 0 auto;
  color: var(--brand-red-ink);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 880;
}

.provider-readiness-picker {
  min-height: min(430px, calc(100% - 28px));
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.provider-readiness-detail {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
}

.provider-readiness-detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(248, 252, 255, 0.72);
}

.provider-readiness-detail-top strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 850;
}

.provider-readiness-detail-copy {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 650;
}

.provider-readiness-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(99, 127, 158, 0.18);
}

.provider-readiness-fill {
  width: 0%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-blue) 100%);
  transition: width 180ms ease;
}

.provider-readiness-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  overflow: auto;
  padding-right: 2px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.provider-readiness-list::-webkit-scrollbar {
  display: none;
}

.provider-readiness-item {
  min-height: 64px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 15px;
  background: rgba(248, 252, 255, 0.82);
  overflow: hidden;
}

.provider-readiness-mark {
  --icon-size: 15px;

  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: relative;
}

.provider-readiness-item.is-complete .provider-readiness-mark {
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
}

.provider-readiness-item.is-missing .provider-readiness-mark {
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
}


.provider-readiness-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.provider-readiness-item strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 840;
}

.provider-readiness-item small {
  display: block;
  margin-top: 3px;
  color: #64748a;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 660;
}

.provider-readiness-status {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 10px;
  line-height: 1;
  font-weight: 820;
  white-space: nowrap;
}

button.provider-readiness-status {
  cursor: pointer;
}

button.provider-readiness-status:focus-visible {
  outline: 2px solid rgba(var(--brand-blue-rgb), 0.32);
  outline-offset: 2px;
}

.provider-readiness-item.is-complete .provider-readiness-status {
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
}

.provider-readiness-item.is-missing .provider-readiness-status {
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
}

.provider-readiness-actions {
  grid-template-columns: 1fr;
}

.provider-contact-card {
  min-height: 54px;
  padding: 0;
  overflow: hidden;
}

.provider-contact-head {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.provider-contact-head:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.12);
}

.provider-contact-head[aria-expanded="true"] .provider-dropdown-chevron {
  transform: rotate(180deg);
}

.provider-contact-head > span:first-child {
  min-width: 0;
}

.provider-contact-head strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
}

.provider-contact-head small {
  display: block;
  margin-top: 3px;
  color: var(--brand-red-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-contact-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.provider-contact-state {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
  font-size: 10px;
  line-height: 1;
  font-weight: 820;
}

.provider-contact-state.is-warning {
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
}

.provider-contact-state.is-empty {
  background: #eef2f7;
  color: #6d7888;
}

.provider-contact-overlay[hidden] {
  display: none;
}

.provider-contact-overlay {
  position: absolute;
  z-index: 14;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 104px;
}

.provider-contact-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.provider-contact-picker {
  width: min(100%, 350px);
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.3);
  border-radius: 22px;
  background: rgba(221, 239, 255, 0.96);
  box-shadow:
    0 18px 35px rgba(21, 56, 99, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.provider-contact-form {
  display: grid;
  gap: 9px;
}

.provider-contact-field {
  display: grid;
  gap: 6px;
}

.provider-contact-field span {
  color: #333a45;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 820;
}

.provider-contact-input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.16);
  border-radius: 13px;
  padding: 0 12px;
  background: rgba(248, 252, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  outline: none;
}

.provider-contact-input:focus {
  border-color: rgba(var(--brand-red-strong-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.12);
}

.provider-contact-hint {
  min-height: 38px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(248, 252, 255, 0.72);
  color: #5b6a80;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.provider-contact-hint-mark {
  --icon-size: 13px;

  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
  position: relative;
}

.provider-contact-hint.is-warning .provider-contact-hint-mark {
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
}


.provider-description-card {
  min-height: 54px;
  padding: 0;
  overflow: hidden;
}

.provider-description-head {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.provider-description-head:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.12);
}

.provider-description-head[aria-expanded="true"] .provider-dropdown-chevron {
  transform: rotate(180deg);
}

.provider-description-head > span:first-child {
  min-width: 0;
}

.provider-description-head strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
}

.provider-description-head small {
  display: block;
  margin-top: 3px;
  color: var(--brand-red-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-description-form {
  display: grid;
  gap: 9px;
}

.provider-description-field {
  display: grid;
  gap: 7px;
}

.provider-description-field-head {
  min-height: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #333a45;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 820;
}

.provider-description-modal-count {
  flex: 0 0 auto;
  color: var(--brand-red-ink);
  font-weight: 820;
}

.provider-description-input {
  width: 100%;
  min-height: 128px;
  max-height: 170px;
  resize: none;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.18);
  border-radius: 14px;
  padding: 10px 11px;
  background: rgba(248, 252, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.32;
  font-weight: 650;
  outline: none;
}

.provider-description-input:focus {
  border-color: rgba(var(--brand-red-strong-rgb), 0.88);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(var(--brand-red-strong-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.provider-description-input::placeholder {
  color: rgba(55, 75, 105, 0.48);
}

@supports (-webkit-touch-callout: none) {
  .provider-contact-input,
  .provider-description-input {
    font-size: 16px;
  }
}

.provider-description-hint {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(248, 252, 255, 0.72);
  color: #5b6a80;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.provider-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.provider-chip {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.16);
  border-radius: 999px;
  background: rgba(247, 250, 254, 0.92);
  color: #405069;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  white-space: nowrap;
}

.provider-chip.is-active {
  border-color: rgba(var(--brand-red-strong-rgb), 0.28);
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
}

.provider-portfolio {
  min-height: 54px;
  padding: 0;
  overflow: hidden;
}

.provider-portfolio[hidden] {
  display: none;
}

.provider-portfolio-head {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.provider-portfolio-head:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.12);
}

.provider-portfolio-head[aria-expanded="true"] .provider-dropdown-chevron {
  transform: rotate(180deg);
}

.provider-portfolio-head strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
}

.provider-portfolio-head small {
  display: block;
  margin-top: 3px;
  color: var(--brand-red-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
}

.provider-portfolio-photo {
  width: 100%;
  height: 100%;
  min-height: 58px;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 15px;
  background: #dfe9f5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.provider-portfolio-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-portfolio-photo > span {
  position: absolute;
  display: block;
}

.provider-portfolio-photo > span:first-child {
  inset: 0;
  opacity: 0.58;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 48%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.7) 0 9px, transparent 10px);
}

.provider-portfolio-photo > span:last-child {
  left: 9px;
  right: 9px;
  bottom: 8px;
  height: 22px;
  border-radius: 8px 8px 4px 4px;
  background: rgba(255, 255, 255, 0.68);
}

.provider-portfolio-photo::before,
.provider-portfolio-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
}

.provider-portfolio-photo.is-renovation {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px) 0 0 / 15px 15px,
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px) 0 0 / 15px 15px,
    linear-gradient(135deg, #8fc7eb 0%, var(--brand-blue) 100%);
}

.provider-portfolio-photo.is-renovation::before {
  width: 26px;
  height: 8px;
  right: 9px;
  bottom: 18px;
  border-radius: 8px;
  background: #f2a8af;
  transform: rotate(-18deg);
}

.provider-portfolio-photo.is-furniture {
  background: linear-gradient(135deg, #efb4ba 0%, var(--brand-red-ink) 100%);
}

.provider-portfolio-photo.is-furniture::before {
  left: 13px;
  bottom: 13px;
  width: 40px;
  height: 28px;
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(var(--brand-red-strong-rgb), 0.34) 49% 51%, transparent 52%),
    var(--brand-red-soft);
}

.provider-portfolio-photo.is-cleaning {
  background: linear-gradient(135deg, #f2a8af 0%, #c94e58 100%);
}

.provider-portfolio-photo.is-cleaning::before {
  right: 14px;
  bottom: 13px;
  width: 16px;
  height: 32px;
  border-radius: 8px 8px 4px 4px;
  background: #e8f9ff;
}

.provider-portfolio-photo.is-cleaning::after {
  right: 10px;
  bottom: 11px;
  width: 24px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-blue-strong);
}

.provider-portfolio-photo.is-garden {
  background: linear-gradient(135deg, #f1a9b0 0%, var(--brand-red-ink) 100%);
}

.provider-portfolio-photo.is-garden::before {
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background:
    radial-gradient(circle at 16% 20%, var(--brand-red-soft) 0 7px, transparent 8px),
    radial-gradient(circle at 50% 12%, #f7c6cb 0 8px, transparent 9px),
    radial-gradient(circle at 82% 24%, #fbd8dd 0 6px, transparent 7px),
    rgba(var(--brand-red-strong-rgb), 0.48);
}

.provider-portfolio-photo.is-documents {
  background: linear-gradient(135deg, #cde2ff 0%, var(--brand-blue-strong) 100%);
}

.provider-portfolio-photo.is-documents::before {
  left: 17px;
  bottom: 11px;
  width: 34px;
  height: 42px;
  border-radius: 5px;
  background:
    linear-gradient(#dbeaff 0 0) 8px 14px / 18px 3px no-repeat,
    linear-gradient(#dbeaff 0 0) 8px 22px / 16px 3px no-repeat,
    #fff;
  box-shadow: 8px -6px 0 rgba(255, 255, 255, 0.54);
}

.provider-portfolio-picker {
  width: min(100%, 360px);
  max-height: min(590px, calc(100% - 68px));
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.provider-portfolio-manager {
  min-height: 0;
  display: grid;
  gap: 10px;
}

.provider-portfolio-advice {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 15px;
  background: rgba(248, 252, 255, 0.72);
  color: #526477;
}

.provider-portfolio-advice[hidden] {
  display: none !important;
}

.provider-portfolio-advice strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 850;
}

.provider-portfolio-advice span {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.provider-portfolio-modal-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: auto;
  padding-right: 2px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.provider-portfolio-modal-list::-webkit-scrollbar {
  display: none;
}

.provider-portfolio-modal-empty {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px dashed rgba(var(--brand-blue-rgb), 0.26);
  border-radius: 16px;
  background: rgba(248, 252, 255, 0.62);
  color: #61728a;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 720;
  text-align: center;
}

.provider-portfolio-modal-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 16px;
  background: rgba(248, 252, 255, 0.84);
}

.provider-portfolio-modal-item.is-readonly {
  grid-template-columns: 58px minmax(0, 1fr);
}

.provider-portfolio-modal-item .provider-portfolio-photo {
  width: 58px;
  height: 58px;
  min-height: 58px;
}

.provider-portfolio-modal-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.provider-portfolio-modal-copy strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-portfolio-modal-copy small {
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #5b6a80;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

.provider-portfolio-modal-copy em {
  width: fit-content;
  max-width: 100%;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-portfolio-add:disabled {
  opacity: 0.68;
  cursor: default;
}

.provider-preview {
  gap: 10px;
}

.provider-preview-head {
  min-height: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.provider-preview-head > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.provider-preview-head strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-preview-head small {
  color: #627085;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 720;
}

.provider-preview-contact-visibility {
  min-height: 24px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 146px;
  padding: 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(253, 236, 238, 0.94);
  color: var(--brand-red-ink);
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-preview-contact-visibility.is-missing {
  background: rgba(253, 236, 238, 0.96);
  color: var(--brand-red-ink);
}

.provider-preview-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(242, 248, 255, 0.74)),
    rgba(241, 248, 255, 0.72);
}

.provider-preview-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.provider-preview-main img {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.provider-preview-identity {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.provider-preview-identity strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.08;
  font-weight: 880;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-preview-identity small {
  color: #607084;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 720;
}

.provider-preview-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.provider-preview-facts > span {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.provider-preview-facts small,
.provider-preview-services-wrap > small {
  color: #6a7687;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 780;
  text-transform: uppercase;
}

.provider-preview-facts strong {
  color: #2d3748;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 820;
  overflow-wrap: normal;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
}

.provider-preview-services-wrap {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.provider-preview-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.provider-preview-service-chip {
  min-width: 0;
  max-width: 100%;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(231, 241, 255, 0.92);
  color: var(--brand-blue);
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-preview-service-chip.is-more {
  flex: 0 0 auto;
  background: rgba(253, 236, 238, 0.96);
  color: var(--brand-red-ink);
}

.provider-preview-service-chip.is-empty {
  background: rgba(238, 242, 247, 0.96);
  color: #6d7888;
}

.provider-preview-description {
  margin: 0;
  color: #405069;
  font-size: 12px;
  line-height: 1.32;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.provider-preview-description.is-empty {
  color: var(--brand-red-ink);
}

.provider-preview-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.provider-preview-status-item {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(253, 236, 238, 0.96);
  color: var(--brand-red-ink);
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
}

.provider-preview-status-item.is-missing {
  background: rgba(253, 236, 238, 0.96);
  color: var(--brand-red-ink);
}

.provider-portfolio-remove {
  width: 28px;
  height: 28px;
  position: relative;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 19, 24, 0.1);
  color: #6d7888;
  cursor: pointer;
}

.provider-save-result[hidden] {
  display: none;
}

.provider-save-result {
  min-height: 52px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.18);
  border-radius: 16px;
  background: rgba(253, 236, 238, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

.provider-save-result-icon {
  --icon-size: 18px;

  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fbd8dd;
  color: var(--brand-red-ink);
  position: relative;
}

.provider-save-result strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 850;
}

.provider-save-result small {
  display: block;
  margin-top: 3px;
  color: #526477;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.provider-dropdowns {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 8px;
  overflow: visible;
}

.provider-dropdown {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.14);
  border-radius: 16px;
  background: rgba(255, 247, 248, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.provider-dropdown.is-disabled {
  opacity: 0.72;
}

.provider-dropdown-head {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.provider-dropdown-head:disabled {
  cursor: default;
}

.provider-dropdown-head:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.12);
}

.provider-dropdown-head strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 820;
}

.provider-dropdown-head small {
  display: block;
  margin-top: 3px;
  color: var(--brand-red-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
}

.provider-dropdown-chevron {
  --icon-size: 18px;

  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 0;
  color: #7f8790;
  transition: transform 160ms ease;
}

.provider-dropdown-head[aria-expanded="true"] .provider-dropdown-chevron {
  transform: rotate(180deg);
}

.provider-picker-search-wrap {
  background: transparent;
}

.provider-search {
  width: 100%;
  height: 38px;
  display: block;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 13px;
  padding: 0 12px;
  background: #f4f7fb;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  outline: none;
}

.provider-search:focus {
  border-color: rgba(var(--brand-red-strong-rgb), 0.38);
  background: #fff;
}

.provider-service-group {
  display: grid;
  gap: 6px;
}

.provider-service-group-title {
  padding: 3px 2px 0;
  color: #7a818d;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 850;
  text-transform: uppercase;
}

.provider-check-option {
  min-height: 40px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--ink);
  cursor: pointer;
}

.provider-check-option:has(input:checked) {
  background: var(--brand-red-soft);
}

.provider-check-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand-red-strong);
}

.provider-check-option span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #333a45;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  white-space: normal;
}

.provider-format-option {
  min-height: 56px;
}

.provider-format-option span {
  white-space: normal;
}

.provider-format-option strong {
  display: block;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 820;
}

.provider-format-option small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
}

.provider-actions {
  justify-self: stretch;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 8px;
  margin-top: 18px;
  padding: 2px 0 0;
}

.provider-secondary,
.provider-primary {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  font-weight: 780;
}

.provider-secondary {
  background: #eef2f7;
  color: #333a45;
}

.provider-primary {
  background: var(--brand-red-strong);
  color: #fff;
  box-shadow: 0 6px 13px rgba(var(--brand-red-strong-rgb), 0.2);
}

.provider-overlay .provider-picker,
.provider-overlay .provider-contact-picker,
.provider-overlay .provider-description-picker {
  border-color: rgba(var(--brand-red-strong-rgb), 0.3);
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--brand-red-rgb), 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 242, 244, 0.98) 0%, rgba(252, 224, 228, 0.98) 100%),
    var(--brand-red-soft);
}

.provider-overlay .provider-picker-confirm {
  background: var(--brand-red-strong);
  box-shadow: 0 10px 20px rgba(var(--brand-red-strong-rgb), 0.22);
}

.find-sheet {
  --find-header-space: 126px;

  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--soft);
  box-shadow: none;
  -webkit-overflow-scrolling: touch;
}

.find-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("./assets/service-doodle-pattern.png");
  background-position: center top;
  background-repeat: repeat;
  background-size: 360px 360px;
  mix-blend-mode: multiply;
  opacity: 0.62;
  pointer-events: none;
}

.find-sheet > .sheet-handle {
  display: none;
}

.find-sheet-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding:
    max(24px, env(safe-area-inset-top))
    0
    18px;
  background: transparent;
  pointer-events: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.find-sheet-header .sheet-close {
  pointer-events: auto;
}

.find-sheet-header h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: 0;
}

.find-sheet-header p {
  margin: 5px 0 0;
  color: #54667f;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 650;
}

.find-sheet-body {
  min-height: 0;
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: visible;
  padding-top: 0;
  padding-bottom: max(28px, calc(22px + env(safe-area-inset-bottom)));
  padding-right: 2px;
}

.find-searches-overview {
  display: grid;
  gap: 10px;
}

.find-searches-overview[hidden] {
  display: none !important;
}

.find-status-card[hidden],
.find-task-group[hidden],
.find-terms-group[hidden],
.find-preview[hidden],
.find-actions[hidden],
.find-request-result[hidden] {
  display: none !important;
}

.find-searches-toolbar {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1.5px solid rgba(var(--brand-blue-rgb), 0.32);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(250, 253, 255, 1) 0%, rgba(226, 242, 255, 0.98) 100%),
    #eff8ff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 14px 28px rgba(21, 58, 92, 0.14);
}

.find-searches-toolbar span {
  min-width: 0;
}

.find-searches-toolbar strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.1;
  font-weight: 860;
}

.find-searches-toolbar small {
  display: block;
  margin-top: 4px;
  color: #526477;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 680;
}

.find-add-search {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 13px;
  background: var(--tg-blue);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 840;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(var(--brand-blue-rgb), 0.2);
}

.find-add-search [data-icon] {
  --icon-size: 17px;
}

.find-add-search:disabled,
.find-add-search.is-disabled {
  background: #b9c8d6;
  color: #f8fbff;
  cursor: default;
  box-shadow: none;
}

.find-search-list {
  display: grid;
  gap: 10px;
}

.find-search-card {
  border-color: rgba(var(--brand-blue-rgb), 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 248, 255, 0.96) 100%),
    #ffffff;
}

.find-search-card .request-card-title {
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: normal;
}

.find-search-actions {
  grid-template-columns: 1fr 1fr;
}

.find-status-card {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.14);
  border-radius: 16px;
  background: rgba(248, 252, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.find-status-card:focus-visible {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 0 0 3px rgba(var(--brand-blue-rgb), 0.12);
}

.find-status-card[aria-expanded="true"] .provider-dropdown-chevron {
  transform: rotate(180deg);
}

.find-status-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: #e4f2ff;
  color: var(--tg-blue);
}


.find-status-copy-wrap {
  min-width: 0;
}

.find-status-compact {
  min-width: 70px;
  min-height: 22px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 0;
}

.find-status-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
}

.find-status-card small {
  display: block;
  margin-top: 3px;
  color: var(--brand-red-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.find-status-card small.is-complete {
  color: var(--tg-blue);
}

.find-status-card .find-status-value {
  width: auto;
  height: auto;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  align-self: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tg-blue);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 880;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.find-location,
.find-description-card {
  min-height: 54px;
  padding: 0;
  overflow: hidden;
}

.find-readiness-picker .provider-readiness-value,
.find-readiness-picker .provider-readiness-detail-value {
  color: var(--tg-blue);
}

.find-readiness-picker .provider-readiness-fill {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-strong));
}

.find-readiness-picker .provider-readiness-item.is-complete .provider-readiness-mark,
.find-readiness-picker .provider-readiness-item.is-complete .provider-readiness-status {
  background: var(--brand-blue-soft);
  color: var(--tg-blue);
}

.find-overlay .provider-block,
.find-overlay .provider-dropdown {
  border-color: rgba(var(--brand-blue-rgb), 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 247, 255, 0.94) 100%),
    #f4f9ff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.96) inset;
}

.find-overlay .provider-preview-card {
  border-color: rgba(var(--brand-blue-rgb), 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 255, 0.94)),
    #f6fbff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.96) inset;
}

.find-overlay .provider-location-head small,
.find-overlay .provider-dropdown-head small,
.find-overlay .provider-description-head small,
.find-overlay .provider-description-modal-count,
.find-overlay .find-description-modal-count {
  color: var(--tg-blue);
}

.find-overlay .provider-location-head:focus-visible,
.find-overlay .provider-dropdown-head:focus-visible,
.find-overlay .provider-description-head:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(var(--brand-blue-rgb), 0.12);
}

.find-overlay .provider-check-option:has(input:checked) {
  background: var(--brand-blue-soft);
}

.find-overlay .provider-check-option input {
  accent-color: var(--tg-blue);
}

.find-overlay .provider-picker-confirm {
  background: var(--tg-blue);
  box-shadow: 0 10px 20px rgba(var(--brand-blue-rgb), 0.22);
}

.find-preview .provider-preview-contact-visibility {
  background: rgba(229, 242, 255, 0.96);
  color: var(--tg-blue);
}

.find-actions {
  justify-self: stretch;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 8px;
  margin-top: 18px;
  padding: 2px 0 0;
}

.find-secondary,
.find-primary {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  font-weight: 780;
}

.find-secondary {
  background: #eef2f7;
  color: #333a45;
}

.find-primary {
  background: var(--tg-blue);
  color: #fff;
  box-shadow: 0 6px 13px rgba(var(--brand-blue-rgb), 0.22);
}

.find-primary:disabled {
  background: #b8c9dd;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  cursor: default;
}

.find-request-result[hidden] {
  display: none;
}

.find-request-result {
  min-height: 52px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.18);
  border-radius: 16px;
  background: rgba(232, 244, 255, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

.find-request-result .provider-save-result-icon {
  background: #dceeff;
  color: var(--tg-blue);
}

.find-request-result strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 850;
}

.find-request-result small {
  display: block;
  margin-top: 3px;
  color: #526477;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.bottom-nav {
  position: fixed;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  min-height: 68px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(32, 69, 111, 0.28);
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 22px 42px rgba(20, 25, 35, 0.24);
  backdrop-filter: blur(18px);
}

.nav-item {
  position: relative;
  height: 54px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: #8e939b;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.nav-badge {
  position: absolute;
  top: 3px;
  left: calc(50% + 7px);
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 850;
}

.nav-badge[hidden] {
  display: none;
}

.candidate-selection-bar {
  position: sticky;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(20, 25, 35, 0.14);
}

.candidate-selection-bar > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.candidate-card.is-selected {
  border-color: rgba(var(--brand-blue-rgb), 0.5);
  box-shadow: 0 0 0 2px rgba(var(--brand-blue-rgb), 0.12);
}

.nav-item.active {
  color: var(--tg-blue);
  background: linear-gradient(180deg, #dff0ff 0%, #cfe6fb 100%);
  box-shadow: 0 10px 20px rgba(var(--brand-blue-rgb), 0.18);
}

.nav-icon {
  --icon-size: 20px;

  width: 20px;
  height: 20px;
  position: relative;
  color: currentColor;
}

.action-card {
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 18px 34px var(--card-shadow),
    0 4px 10px rgba(15, 23, 42, 0.14);
}

.action-card .card-icon {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.startup-gate,
.provider-sheet,
.find-sheet {
  background: linear-gradient(180deg, #e7e1d6 0%, #f7f5ef 48%, var(--page-bg) 100%);
}

.provider-sheet::before,
.find-sheet::before {
  opacity: 0.38;
}

.startup-panel,
.startup-doc-panel,
.country-sheet,
.location-sheet,
.location-picker,
.provider-picker,
.provider-contact-picker {
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 242, 253, 0.98) 100%),
    #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 8px 22px rgba(15, 23, 42, 0.14),
    0 28px 58px rgba(18, 45, 78, 0.28);
}

.provider-overlay .provider-picker,
.provider-overlay .provider-contact-picker,
.provider-overlay .provider-description-picker {
  border-color: rgba(var(--brand-red-strong-rgb), 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 236, 239, 0.98) 100%),
    var(--brand-red-soft);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 8px 22px rgba(80, 18, 25, 0.12),
    0 28px 58px rgba(117, 36, 46, 0.24);
}

.startup-check-list span,
.startup-meta span,
.startup-consent-item,
.country-option,
.location-current,
.location-mode,
.location-dropdown,
.provider-status-card,
.provider-block,
.provider-dropdown,
.provider-readiness-detail-top,
.provider-readiness-item,
.provider-contact-hint,
.provider-description-hint,
.provider-portfolio-advice,
.provider-portfolio-modal-item,
.provider-preview-card,
.provider-preview-facts > span,
.provider-save-result,
.find-status-card,
.find-request-result,
.find-overlay .provider-block,
.find-overlay .provider-dropdown,
.find-overlay .provider-preview-card {
  border-width: 1px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 10px 22px rgba(33, 58, 84, 0.12);
}

.startup-check-list span,
.startup-meta span,
.startup-consent-item,
.country-option,
.location-current,
.location-mode,
.location-dropdown {
  border-color: rgba(32, 69, 111, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #eaf4ff 100%);
}

.location-mode.is-active,
.check-option:has(input:checked) {
  border-color: rgba(var(--brand-blue-rgb), 0.32);
  background: linear-gradient(180deg, #dff0ff 0%, #eef7ff 100%);
}

.provider-status-card,
.provider-block,
.provider-dropdown,
.provider-save-result {
  border-color: rgba(var(--brand-red-strong-rgb), 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 236, 238, 0.96) 100%),
    var(--brand-red-soft);
}

.provider-status-card.is-inactive {
  border-color: rgba(85, 105, 130, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #e9eef5 100%);
}

.find-status-card,
.find-request-result,
.find-overlay .provider-block,
.find-overlay .provider-dropdown,
.find-overlay .provider-preview-card {
  border-color: rgba(var(--brand-blue-rgb), 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 244, 255, 0.96) 100%),
    #f4f9ff;
}

.provider-readiness-detail-top,
.provider-readiness-item,
.provider-contact-hint,
.provider-description-hint,
.provider-portfolio-advice,
.provider-portfolio-modal-item,
.provider-preview-card,
.provider-preview-facts > span {
  border: 1px solid rgba(var(--brand-blue-rgb), 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 247, 255, 0.96) 100%),
    #f6fbff;
}

.provider-preview-service-chip,
.provider-preview-status-item,
.provider-contact-state,
.provider-readiness-status,
.provider-chip {
  border: 1px solid rgba(32, 69, 111, 0.14);
  box-shadow: 0 4px 10px rgba(33, 58, 84, 0.06);
}

.provider-check-option,
.check-option {
  border: 1px solid rgba(32, 69, 111, 0.14);
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(33, 58, 84, 0.08);
}

.provider-check-option:has(input:checked) {
  border-color: rgba(var(--brand-red-strong-rgb), 0.32);
  background: linear-gradient(180deg, #fff5f6 0%, var(--brand-red-soft) 100%);
}

.find-overlay .provider-check-option:has(input:checked) {
  border-color: rgba(var(--brand-blue-rgb), 0.32);
  background: linear-gradient(180deg, #dff0ff 0%, #eef7ff 100%);
}

.location-search,
.provider-search,
.provider-contact-input,
.provider-description-input {
  border-color: rgba(32, 69, 111, 0.24);
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 7px 16px rgba(33, 58, 84, 0.08);
}

.provider-portfolio-photo {
  border: 1px solid rgba(32, 69, 111, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 8px 16px rgba(33, 58, 84, 0.12);
}

.provider-portfolio-modal-empty,
.empty-location {
  border: 1px dashed rgba(32, 69, 111, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(232, 244, 255, 0.78) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.find-overlay .provider-search:focus,
.find-overlay .provider-description-input:focus {
  border-color: rgba(var(--brand-blue-rgb), 0.58);
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(var(--brand-blue-rgb), 0.14),
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 7px 16px rgba(33, 58, 84, 0.08);
}

.provider-secondary,
.find-secondary,
.location-reset,
.location-picker-cancel,
.provider-picker-cancel,
.request-action.is-secondary {
  border: 1px solid rgba(32, 69, 111, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #e9eef5 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 8px 16px rgba(33, 58, 84, 0.1);
}

.provider-primary,
.find-primary,
.location-apply,
.location-picker-confirm,
.provider-picker-confirm,
.request-action.is-primary {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 12px 22px rgba(var(--brand-blue-rgb), 0.2);
}

.provider-primary,
.provider-overlay .provider-picker-confirm {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 12px 22px rgba(var(--brand-red-strong-rgb), 0.22);
}

.location-overlay.is-provider-context .location-backdrop,
.location-overlay.is-provider-context .location-picker-backdrop {
  background: rgba(255, 255, 255, 0.02);
}

.location-overlay.is-provider-context .location-sheet,
.location-overlay.is-provider-context .location-picker {
  border-color: rgba(var(--brand-red-strong-rgb), 0.38);
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--brand-red-rgb), 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 250, 245, 0.99) 0%, rgba(255, 241, 228, 0.98) 58%, rgba(247, 225, 207, 0.98) 100%),
    var(--brand-red-soft);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 10px 24px rgba(80, 36, 8, 0.14),
    0 28px 58px rgba(117, 55, 8, 0.28);
}

.location-overlay.is-provider-context .location-sheet-header p,
.location-overlay.is-provider-context .location-picker-subtitle,
.location-overlay.is-provider-context .location-current span,
.location-overlay.is-provider-context .location-mode small,
.location-overlay.is-provider-context .dropdown-head small {
  color: #795f47;
}

.location-overlay.is-provider-context .sheet-close {
  background: #fff6ed;
  color: rgba(var(--brand-red-strong-rgb), 0.78);
  box-shadow: 0 6px 14px rgba(var(--brand-red-strong-rgb), 0.1);
}

.location-overlay.is-provider-context .location-current,
.location-overlay.is-provider-context .location-mode,
.location-overlay.is-provider-context .location-dropdown,
.location-overlay.is-provider-context .check-option {
  border-color: rgba(var(--brand-red-strong-rgb), 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #fff7ef 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 8px 18px rgba(117, 55, 8, 0.1);
}

.location-overlay.is-provider-context .location-mode.is-active,
.location-overlay.is-provider-context .check-option:has(input:checked) {
  border-color: rgba(var(--brand-red-strong-rgb), 0.42);
  background: linear-gradient(180deg, #fff9f2 0%, #ffe7d1 100%);
}

.location-overlay.is-provider-context .location-mode:focus-visible,
.location-overlay.is-provider-context .location-search:focus {
  border-color: rgba(var(--brand-red-strong-rgb), 0.58);
  box-shadow:
    0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.14),
    0 8px 18px rgba(117, 55, 8, 0.1);
}

.location-overlay.is-provider-context .mode-icon {
  background: #fff0e2;
  color: var(--brand-red-strong);
}

.location-overlay.is-provider-context .location-current strong,
.location-overlay.is-provider-context .dropdown-chevron,
.location-overlay.is-provider-context .location-picker-title {
  color: var(--brand-red-ink);
}

.location-overlay.is-provider-context .location-search {
  border-color: rgba(var(--brand-red-strong-rgb), 0.26);
  background: #fffdfa;
}

.location-overlay.is-provider-context .check-option input {
  accent-color: var(--brand-red-strong);
}

.location-overlay.is-provider-context .location-reset,
.location-overlay.is-provider-context .location-picker-cancel {
  border-color: rgba(var(--brand-red-strong-rgb), 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f6ece1 100%);
  color: #3b3129;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 16px rgba(117, 55, 8, 0.1);
}

.location-overlay.is-provider-context .location-apply,
.location-overlay.is-provider-context .location-picker-confirm {
  background: var(--brand-red-strong);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 12px 22px rgba(var(--brand-red-strong-rgb), 0.24);
}

.sheet-dashboard {
  gap: 12px;
  padding-bottom: max(32px, calc(24px + env(safe-area-inset-bottom)));
}

.sheet-status-card {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
}

.sheet-status-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.find-status-card.sheet-status-card {
  min-height: 84px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border-color: rgba(var(--brand-blue-rgb), 0.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--brand-blue-rgb), 0.16), transparent 36%),
    linear-gradient(180deg, rgba(249, 253, 255, 0.98) 0%, rgba(229, 243, 248, 0.96) 100%),
    var(--brand-blue-soft);
  box-shadow: 0 14px 24px rgba(var(--brand-blue-rgb), 0.12);
}

.provider-status-card.sheet-status-card {
  min-height: 72px;
  grid-template-columns: 38px minmax(0, 1fr) 50px;
  gap: 12px;
  padding: 12px 14px;
  border-color: rgba(var(--brand-red-strong-rgb), 0.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--brand-red-rgb), 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 240, 226, 0.96) 100%),
    var(--brand-red-soft);
  box-shadow: 0 14px 24px rgba(var(--brand-red-strong-rgb), 0.13);
}

.provider-readiness-hero {
  padding: 0;
  overflow: hidden;
  border-radius: 19px;
}

.provider-readiness-hero .provider-readiness-head {
  min-height: 78px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
}

.provider-readiness-hero .provider-readiness-compact {
  min-width: 22px;
  justify-content: end;
}

.sheet-progress-ring {
  --progress: 0;
  --progress-color: var(--brand-blue);
  --progress-track: rgba(var(--brand-blue-rgb), 0.15);

  width: 56px;
  height: 56px;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  background:
    conic-gradient(
      from -90deg,
      var(--progress-color) calc(var(--progress) * 1%),
      var(--progress-track) 0
    );
}

.sheet-progress-ring::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.sheet-progress-ring strong {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  transform: translate(-50%, -50%);
  color: inherit;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 830;
  letter-spacing: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.provider-progress-ring {
  --progress-color: var(--brand-red-strong);
  --progress-track: rgba(var(--brand-red-strong-rgb), 0.15);
}

.sheet-status-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.sheet-status-copy strong,
.find-status-card.sheet-status-card strong,
.provider-status-card.sheet-status-card strong,
.provider-readiness-hero .provider-readiness-title {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.12;
  font-weight: 880;
  white-space: normal;
}

.sheet-status-copy small,
.find-status-card.sheet-status-card small,
.provider-status-card.sheet-status-card small,
.provider-readiness-hero .provider-readiness-summary {
  margin: 0;
  font-size: 12px;
  line-height: 1.18;
  font-weight: 760;
  white-space: normal;
}

.find-status-card.sheet-status-card .sheet-progress-ring strong,
.provider-readiness-hero .sheet-progress-ring strong {
  position: absolute;
  top: 50%;
  left: 50%;
  justify-self: auto;
  align-self: auto;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  transform: translate(-50%, -50%);
  color: var(--progress-color);
  font-size: 12px !important;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sheet-status-action {
  --icon-size: 19px;

  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--tg-blue);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 8px 15px rgba(33, 58, 84, 0.1);
}

.provider-status-card .sheet-status-action {
  color: var(--brand-red-ink);
  background: rgba(255, 236, 218, 0.88);
}

.sheet-group {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(32, 69, 111, 0.13);
  border-radius: 19px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 247, 0.92) 100%),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 28px rgba(33, 58, 84, 0.11);
}

.find-overlay .sheet-group {
  border-color: rgba(var(--brand-blue-rgb), 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 250, 251, 0.94) 100%),
    #fff;
}

.provider-overlay .sheet-group {
  border-color: rgba(var(--brand-red-strong-rgb), 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 241, 0.94) 100%),
    #fff;
}

.sheet-group-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.sheet-group-icon {
  --icon-size: 19px;

  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(var(--brand-blue-rgb), 0.11);
  color: var(--tg-blue);
}

.provider-overlay .sheet-group-icon {
  background: rgba(var(--brand-red-rgb), 0.12);
  color: var(--brand-red-ink);
}

.sheet-group-head strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.12;
  font-weight: 880;
}

.sheet-group-head small {
  display: block;
  margin-top: 3px;
  color: #637083;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.sheet-field-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(32, 69, 111, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

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

.sheet-field-grid-three .sheet-field:nth-child(3) {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(32, 69, 111, 0.12) !important;
  border-left: 0 !important;
}

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

.sheet-field-grid .sheet-field {
  min-width: 0;
  min-height: 64px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.sheet-field-grid .sheet-field + .sheet-field {
  border-left: 1px solid rgba(32, 69, 111, 0.12) !important;
}

.sheet-field-grid .provider-dropdown-head,
.sheet-field-grid .provider-location-head,
.sheet-field-grid .provider-contact-head,
.sheet-field-grid .provider-description-head,
.sheet-field-grid .provider-portfolio-head {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 11px 10px;
}

.sheet-field-grid .provider-dropdown-head > span:first-child,
.sheet-field-grid .provider-location-head > span:first-child,
.sheet-field-grid .provider-contact-head > span:first-child,
.sheet-field-grid .provider-description-head > span:first-child,
.sheet-field-grid .provider-portfolio-head > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.sheet-field-grid .provider-dropdown-head strong,
.sheet-field-grid .provider-location-head strong,
.sheet-field-grid .provider-contact-head strong,
.sheet-field-grid .provider-description-head strong,
.sheet-field-grid .provider-portfolio-head strong {
  max-width: 100%;
  overflow: visible;
  font-size: 11px;
  line-height: 1.12;
  font-weight: 840;
  color: #687386;
  text-overflow: clip;
  text-transform: uppercase;
  white-space: normal;
}

.sheet-field-grid .provider-dropdown-head small,
.sheet-field-grid .provider-location-head small,
.sheet-field-grid .provider-contact-head small,
.sheet-field-grid .provider-description-head small,
.sheet-field-grid .provider-portfolio-head small {
  display: block;
  max-width: 100%;
  margin-top: 5px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 820;
  overflow-wrap: normal;
  text-overflow: clip;
  word-break: normal;
  white-space: normal;
}

.sheet-field-grid-three .sheet-field:nth-child(3) .provider-dropdown-head,
.sheet-field-grid-three .sheet-field:nth-child(3) .provider-location-head,
.sheet-field-grid-three .sheet-field:nth-child(3) .provider-contact-head {
  min-height: 58px;
}

.sheet-field-grid .provider-dropdown-chevron {
  --icon-size: 17px;

  align-self: center;
  color: #8a929d;
}

.sheet-field-grid .provider-contact-meta {
  gap: 4px;
}

.sheet-field-grid .provider-contact-state {
  display: none;
}

.sheet-description-group .sheet-field-grid,
.sheet-description-group .sheet-field,
.provider-proof-group .sheet-field-grid {
  overflow: visible;
}

.sheet-description-group .sheet-field {
  border: 1px solid rgba(32, 69, 111, 0.13) !important;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76) !important;
}

.sheet-helper {
  margin: -2px 2px 0;
  color: #627085;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
}

.sheet-dashboard .provider-preview {
  gap: 8px;
  padding: 12px;
  border-radius: 18px;
}

.sheet-dashboard .provider-preview-card {
  gap: 8px;
  padding: 10px;
  border-radius: 15px;
  box-shadow: none;
}

.sheet-dashboard .provider-preview-head {
  min-height: 24px;
}

.sheet-dashboard .provider-preview-facts {
  gap: 7px;
}

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

.sheet-dashboard .provider-preview-facts > span {
  min-height: 48px;
  padding: 7px 8px;
}

.sheet-dashboard .provider-preview-main {
  grid-template-columns: 40px minmax(0, 1fr);
}

.sheet-dashboard .provider-preview-main img {
  width: 40px;
  height: 40px;
}

.sheet-dashboard .provider-preview-description {
  font-size: 11px;
  line-height: 1.28;
}

.provider-catalog-preview {
  padding: 14px;
  border-color: rgba(var(--brand-red-strong-rgb), 0.16);
  background: rgba(255, 255, 255, 0.86);
}

.provider-catalog-preview .provider-preview-head {
  min-height: 0;
}

.provider-catalog-preview .provider-preview-head strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 850;
  white-space: normal;
}

.provider-catalog-preview .provider-preview-card,
.sheet-dashboard .provider-catalog-preview .provider-preview-card {
  display: block;
  padding: 12px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.provider-catalog-preview .provider-preview-main,
.sheet-dashboard .provider-catalog-preview .provider-preview-main {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.provider-catalog-preview .provider-preview-main img,
.sheet-dashboard .provider-catalog-preview .provider-preview-main img {
  width: 54px;
  height: 54px;
  box-shadow: 0 5px 12px rgba(26, 39, 58, 0.16);
}

.provider-catalog-preview .provider-preview-identity {
  gap: 5px;
}

.provider-catalog-preview .provider-preview-identity strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.02;
  font-weight: 880;
  white-space: nowrap;
}

.provider-catalog-preview .provider-catalog-services,
.provider-catalog-preview .provider-catalog-meta {
  overflow: visible;
  color: #5d6b7d;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-overflow: clip;
  white-space: normal;
}

.provider-catalog-preview .provider-catalog-meta {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.provider-catalog-preview .provider-preview-readiness,
.provider-catalog-preview .provider-preview-portfolio-state {
  display: none !important;
}

.provider-actions,
.find-actions {
  position: static;
  z-index: auto;
  bottom: auto;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sheet-dashboard .provider-primary,
.sheet-dashboard .find-primary,
.sheet-dashboard .provider-secondary,
.sheet-dashboard .find-secondary {
  min-height: 44px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 830;
}

.wizard-dashboard {
  gap: 10px;
  padding-bottom: max(30px, calc(22px + env(safe-area-inset-bottom)));
}

.find-sheet-header,
.provider-sheet-header {
  padding-bottom: 12px;
}

.find-sheet-header p,
.provider-sheet-header p {
  max-width: 270px;
  font-size: 12px;
}

.wizard-panel,
.wizard-list,
.sheet-dashboard .provider-preview {
  border: 1.5px solid rgba(32, 69, 111, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 249, 244, 0.92) 100%),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 14px 28px rgba(33, 58, 84, 0.14);
}

.find-wizard-dashboard .wizard-panel,
.find-wizard-dashboard .wizard-list,
.find-wizard-dashboard .provider-preview {
  border-color: rgba(var(--brand-blue-rgb), 0.17);
}

.provider-wizard-dashboard .wizard-panel,
.provider-wizard-dashboard .wizard-list,
.provider-wizard-dashboard .provider-preview {
  border-color: rgba(var(--brand-red-strong-rgb), 0.4);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 1) 0%, rgba(255, 246, 236, 0.99) 100%),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 18px 34px rgba(72, 49, 30, 0.2),
    0 2px 10px rgba(var(--brand-red-strong-rgb), 0.13);
}

.wizard-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.wizard-panel-head {
  min-width: 0;
  display: block;
}

.wizard-panel-head strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 880;
  letter-spacing: 0;
}

.wizard-panel-head small {
  display: block;
  margin-top: 7px;
  color: #687386;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 710;
}

.wizard-service-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 11px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.22);
  border-radius: 17px;
  background:
    radial-gradient(circle at 13% 8%, rgba(255, 255, 255, 0.78), transparent 42%),
    linear-gradient(180deg, rgba(226, 244, 249, 0.96) 0%, rgba(200, 231, 238, 0.9) 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.wizard-service-icon,
.wizard-row-icon {
  --icon-size: 21px;

  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(var(--brand-blue-rgb), 0.12);
  color: var(--tg-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.wizard-service-icon {
  width: 52px;
  height: 52px;
}

.wizard-row-icon {
  width: 40px;
  height: 40px;
}

.provider-wizard-dashboard .wizard-row-icon,
.provider-wizard-dashboard .wizard-service-icon {
  background: rgba(var(--brand-red-rgb), 0.12);
  color: var(--brand-red-ink);
}

.wizard-service-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wizard-service-copy strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 880;
  overflow-wrap: normal;
  word-break: normal;
}

.wizard-service-copy small {
  color: #4f6174;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 760;
  overflow-wrap: normal;
  word-break: normal;
}

.wizard-service-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.wizard-chip-control.provider-dropdown-head {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #4b596d;
  font-size: 11px;
  line-height: 1;
  font-weight: 830;
  text-align: left;
  cursor: pointer;
}

.wizard-chip-control.provider-dropdown-head > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.wizard-list {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.wizard-list-row {
  min-width: 0;
  min-height: 72px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.provider-contact-card[hidden] {
  display: none !important;
}

.wizard-list-row + .wizard-list-row {
  border-top: 1px solid rgba(91, 64, 40, 0.24);
}

.provider-wizard-dashboard .wizard-list-row {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 250, 244, 0.97) 100%),
    #fff;
}

.provider-wizard-dashboard .wizard-list-row.provider-services-row {
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 1) 0%, rgba(255, 242, 229, 0.98) 100%),
    #fff7f0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 1px 0 rgba(var(--brand-red-strong-rgb), 0.18);
}

.wizard-list-row .provider-dropdown-head,
.wizard-list-row .provider-location-head,
.wizard-list-row .provider-contact-head,
.wizard-list-row .provider-description-head,
.wizard-list-row .provider-portfolio-head {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.provider-services-panel {
  min-height: 0;
  display: grid;
  gap: 10px;
  padding: 13px;
}

.provider-services-panel-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.provider-services-row .wizard-row-copy {
  gap: 3px;
}

.provider-service-summary {
  width: 100%;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  min-height: 52px;
  padding: 8px;
  border-color: rgba(var(--brand-red-strong-rgb), 0.22);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.96) 0%, rgba(255, 241, 231, 0.92) 100%),
    #fff7ef;
  align-items: center;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 5px 12px rgba(138, 83, 34, 0.08);
}

.provider-service-summary .wizard-service-icon {
  --icon-size: 16px;

  width: 32px;
  height: 32px;
  background: rgba(var(--brand-red-rgb), 0.1);
}

.provider-services-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.provider-summary-count-row {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 6px 5px 8px;
  border: 1px solid rgba(111, 91, 72, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 2px 5px rgba(91, 52, 22, 0.04);
}

.provider-summary-count-row[aria-expanded="true"] {
  border-color: rgba(var(--brand-red-strong-rgb), 0.32);
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.98) 0%, rgba(255, 238, 222, 0.95) 100%),
    #fff1e4;
}

.provider-summary-count-row:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.15),
    0 4px 10px rgba(91, 52, 22, 0.1);
}

.provider-summary-count-row strong {
  display: block;
  color: #263241;
  font-size: 10.5px;
  line-height: 1.08;
  font-weight: 860;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-summary-count-row small {
  display: block;
  margin-top: 1px;
  color: #7b6655;
  font-size: 9px;
  line-height: 1;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-summary-chevron {
  --icon-size: 13px;

  justify-self: end;
  color: #8b7a6b;
  transition: transform 160ms ease;
}

.provider-summary-count-row[aria-expanded="true"] .provider-summary-chevron {
  transform: rotate(180deg);
}

.provider-summary-count {
  min-width: 22px;
  min-height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(118, 102, 86, 0.1);
  color: #6f6258;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 880;
}

.provider-summary-count.is-empty {
  background: rgba(122, 109, 97, 0.1);
  color: #897a6c;
}

.provider-summary-remove {
  --icon-size: 16px;

  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.32);
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.92);
  color: #7f4c22;
  cursor: pointer;
}

.provider-summary-detail-popover {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding: 10px;
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.34);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 250, 245, 0.96) 100%),
    #fff;
  box-shadow: 0 10px 22px rgba(72, 49, 30, 0.16);
}

.provider-summary-detail-popover[hidden] {
  display: none !important;
}

.provider-summary-detail-popover > strong {
  color: #5f3f28;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 860;
  text-transform: uppercase;
}

.provider-summary-detail-list {
  display: grid;
  gap: 6px;
}

.provider-summary-detail-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 7px 7px 10px;
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.22);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
}

.provider-summary-detail-item > span {
  min-width: 0;
}

.provider-summary-detail-item strong {
  display: block;
  color: #2b3340;
  font-size: 11px;
  line-height: 1.16;
  font-weight: 800;
}

.provider-summary-detail-item small {
  display: block;
  margin-top: 2px;
  color: #786656;
  font-size: 10px;
  line-height: 1.12;
  font-weight: 720;
}

.provider-summary-remove {
  width: 32px;
  height: 32px;
  justify-self: end;
  align-self: center;
}

.provider-summary-detail-empty {
  padding: 9px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.64);
  color: #897a6c;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 760;
}

.provider-service-controls .provider-dropdown {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.provider-service-controls {
  grid-template-columns: minmax(96px, 1fr) minmax(134px, 1.28fr) minmax(82px, 0.78fr);
}

.provider-service-controls .wizard-chip-control.provider-dropdown-head {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, max-content) 14px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0 8px;
  border: 1.5px solid rgba(var(--brand-red-strong-rgb), 0.46);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 1) 0%, rgba(255, 237, 219, 0.98) 100%),
    #fff4e9;
  color: #573219;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 7px 15px rgba(138, 83, 34, 0.16);
}

.provider-service-controls .wizard-chip-control.provider-dropdown-head:focus-visible {
  box-shadow:
    inset 0 0 0 3px rgba(var(--brand-red-strong-rgb), 0.16),
    0 7px 15px rgba(138, 83, 34, 0.16);
}

.provider-service-controls .wizard-chip-control.provider-dropdown-head:disabled {
  opacity: 1;
  -webkit-text-fill-color: currentColor;
}

.provider-service-controls .wizard-chip-control.provider-dropdown-head .provider-dropdown-chevron {
  --icon-size: 14px;

  width: 14px;
  height: 14px;
  flex-basis: 14px;
  color: #8a4d20;
  justify-self: end;
}

.provider-service-controls .wizard-chip-control.provider-dropdown-head > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.provider-service-controls .provider-dropdown.is-disabled {
  opacity: 1;
}

.provider-service-controls .provider-dropdown.is-disabled .wizard-chip-control.provider-dropdown-head {
  border-color: rgba(125, 105, 87, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.96) 0%, rgba(248, 241, 234, 0.96) 100%),
    #f8f1ea;
  color: #766a60;
  cursor: default;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 10px rgba(80, 58, 42, 0.08);
}

.provider-service-controls .provider-dropdown.is-disabled .provider-dropdown-chevron {
  color: #9b8f84;
  opacity: 0.62;
}

.wizard-list-row .provider-dropdown-head,
.wizard-list-row .provider-location-head,
.wizard-list-row .provider-contact-head,
.wizard-list-row .provider-description-head,
.wizard-list-row .provider-portfolio-head {
  cursor: pointer;
}

.wizard-row-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wizard-row-copy strong,
.wizard-list-row .provider-dropdown-head strong,
.wizard-list-row .provider-location-head strong,
.wizard-list-row .provider-contact-head strong,
.wizard-list-row .provider-description-head strong,
.wizard-list-row .provider-portfolio-head strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.16;
  font-weight: 850;
  text-transform: none;
  white-space: normal;
}

.wizard-row-copy small,
.wizard-list-row .provider-dropdown-head small,
.wizard-list-row .provider-location-head small,
.wizard-list-row .provider-contact-head small,
.wizard-list-row .provider-description-head small,
.wizard-list-row .provider-portfolio-head small {
  display: block;
  margin: 0;
  color: #596679;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 720;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.find-wizard-dashboard .wizard-row-copy small,
.find-wizard-dashboard .wizard-list-row .provider-dropdown-head small,
.find-wizard-dashboard .wizard-list-row .provider-location-head small,
.find-wizard-dashboard .wizard-list-row .provider-description-head small {
  color: #425f70;
}

.provider-wizard-dashboard .wizard-row-copy small,
.provider-wizard-dashboard .wizard-list-row .provider-location-head small,
.provider-wizard-dashboard .wizard-list-row .provider-contact-head small,
.provider-wizard-dashboard .wizard-list-row .provider-description-head small,
.provider-wizard-dashboard .wizard-list-row .provider-portfolio-head small {
  color: #6f5947;
}

.wizard-list-row .provider-dropdown-chevron {
  --icon-size: 18px;

  color: #7d8792;
}

.provider-contact-meta {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.provider-contact-state {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red-ink);
  font-size: 10px;
  line-height: 1;
  font-weight: 840;
  white-space: nowrap;
}

.wizard-status-card.find-status-card.sheet-status-card {
  min-height: 62px;
  grid-template-columns: 46px minmax(0, 1fr) 34px;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 17px;
  box-shadow: 0 10px 20px rgba(var(--brand-blue-rgb), 0.1);
}

.wizard-status-card .sheet-progress-ring {
  width: 42px;
  height: 42px;
}

.wizard-status-card .sheet-progress-ring::before {
  inset: 6px;
}

.wizard-status-card.find-status-card.sheet-status-card strong {
  font-size: 14px;
}

.wizard-status-card.find-status-card.sheet-status-card small {
  font-size: 11px;
}

.wizard-status-card .sheet-status-action {
  width: 34px;
  height: 34px;
}

.wizard-readiness-card.provider-readiness-hero .provider-readiness-head {
  min-height: 88px;
  grid-template-columns: 56px minmax(0, 1fr) 22px;
  padding: 14px;
}

.wizard-readiness-card {
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 0%, rgba(var(--brand-red-rgb), 0.17), transparent 42%),
    linear-gradient(180deg, rgba(255, 252, 248, 1) 0%, rgba(255, 242, 229, 0.98) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 16px 30px rgba(72, 49, 30, 0.16),
    0 2px 8px rgba(var(--brand-red-strong-rgb), 0.08);
}

.provider-status-card.provider-hero-card {
  min-height: 58px;
  border-color: rgba(var(--brand-red-strong-rgb), 0.3);
  border-radius: 17px;
  background:
    radial-gradient(circle at 11% 0%, rgba(var(--brand-red-rgb), 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 252, 248, 1) 0%, rgba(255, 243, 232, 0.98) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 14px 26px rgba(72, 49, 30, 0.14),
    0 2px 8px rgba(var(--brand-red-strong-rgb), 0.08);
}

.sheet-dashboard .provider-preview {
  padding: 12px;
}

.sheet-dashboard .provider-preview-head strong {
  white-space: normal;
}

.sheet-dashboard .provider-preview-card {
  border-color: rgba(91, 64, 40, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 242, 0.96) 100%),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 7px 16px rgba(72, 49, 30, 0.1);
}

.provider-catalog-preview .provider-preview-card,
.sheet-dashboard .provider-catalog-preview .provider-preview-card {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

.provider-catalog-preview .provider-preview-service-list,
.sheet-dashboard .provider-catalog-preview .provider-preview-service-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.provider-catalog-preview .provider-preview-service-chip {
  min-height: 52px;
  justify-content: flex-start;
  align-items: center;
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #363b44;
  font-size: 11px;
  line-height: 1.18;
  font-weight: 820;
  white-space: normal;
  text-overflow: clip;
  box-shadow: 0 4px 10px rgba(72, 49, 30, 0.07);
}

.provider-catalog-preview .provider-preview-service-chip.is-empty {
  grid-column: 1 / -1;
  justify-content: center;
  color: #6d7888;
}

.provider-catalog-preview .provider-preview-main,
.sheet-dashboard .provider-catalog-preview .provider-preview-main {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
}

.provider-catalog-preview .provider-preview-main img,
.sheet-dashboard .provider-catalog-preview .provider-preview-main img {
  width: 48px;
  height: 48px;
}

.provider-catalog-preview .provider-preview-identity strong {
  font-size: 18px;
}

.provider-catalog-preview .provider-service-first-card,
.sheet-dashboard .provider-catalog-preview .provider-service-first-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(var(--brand-red-strong-rgb), 0.28);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 242, 0.97) 100%),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(72, 49, 30, 0.11);
}

.provider-catalog-preview .provider-service-first-profile,
.sheet-dashboard .provider-catalog-preview .provider-service-first-profile {
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(91, 64, 40, 0.18);
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
}

.provider-catalog-preview .provider-service-first-copy {
  display: grid;
  gap: 7px;
}

.provider-catalog-preview .provider-service-first-title {
  display: block;
  color: #172233;
  font-size: 17px;
  line-height: 1.16;
  font-weight: 900;
  white-space: normal;
}

.provider-catalog-preview .provider-service-first-note {
  display: block;
  margin: 0;
  color: #596679;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 690;
}

.provider-catalog-preview .provider-service-first-note.is-empty {
  color: #7f746b;
}

.provider-catalog-preview .provider-service-first-chips,
.sheet-dashboard .provider-catalog-preview .provider-service-first-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px;
}

.provider-catalog-preview .provider-service-first-chips .provider-preview-service-chip {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 241, 228, 0.86);
  color: #354252;
  font-size: 11px;
  line-height: 1;
  font-weight: 830;
  box-shadow: none;
}

.provider-catalog-preview .provider-service-first-chips .provider-preview-service-chip.is-empty {
  justify-content: flex-start;
  color: #6d7888;
}

.find-preview .find-service-first-card,
.sheet-dashboard .find-preview .find-service-first-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.28);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 248, 251, 0.96) 100%),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 18px rgba(33, 58, 84, 0.11);
}

.find-preview .find-service-first-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--brand-blue-rgb), 0.16);
}

.find-preview .find-service-first-main .wizard-row-icon {
  background: rgba(var(--brand-blue-rgb), 0.12);
  color: var(--tg-blue);
}

.find-preview .find-preview-title {
  display: block;
  color: #172233;
  font-size: 17px;
  line-height: 1.16;
  font-weight: 900;
  white-space: normal;
}

.find-preview .find-service-first-main small {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #4d6375;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
}

.find-preview .find-service-first-chips,
.sheet-dashboard .find-preview .find-service-first-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px;
}

.find-preview .find-service-first-chips .provider-preview-service-chip {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.2);
  border-radius: 999px;
  background: rgba(234, 244, 246, 0.9);
  color: var(--tg-blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  box-shadow: none;
}

.find-preview .find-service-first-chips .provider-preview-service-chip.is-more {
  background: rgba(var(--brand-blue-rgb), 0.11);
  color: #236b7d;
}

.find-preview .find-service-first-chips .provider-preview-service-chip.is-empty {
  border-color: rgba(32, 69, 111, 0.16);
  background: rgba(238, 242, 247, 0.9);
  color: #6d7888;
}

.find-preview .provider-preview-facts.find-service-first-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.find-preview .find-service-first-facts > span {
  min-height: 50px;
  border-color: rgba(var(--brand-blue-rgb), 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.find-preview .find-service-first-facts small {
  color: #557082;
}

.find-preview .find-service-first-facts strong {
  color: #253243;
}

.find-preview .find-service-first-note {
  display: block;
  margin: 0;
  color: #405069;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.find-preview .find-service-first-note.is-empty {
  color: #53697a;
}

.wizard-actions.provider-actions,
.wizard-actions.find-actions {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 8px;
  margin-top: 0;
  padding: 0;
}

.wizard-actions .find-primary,
.wizard-actions .provider-primary {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border-radius: 15px;
  font-size: 14px;
}

.wizard-actions .find-primary [data-icon],
.wizard-actions .provider-primary [data-icon] {
  --icon-size: 18px;
}

.wizard-actions .find-secondary,
.wizard-actions .provider-secondary {
  min-height: 52px;
  border-radius: 15px;
}

@media (max-width: 380px) {
  .find-status-card.sheet-status-card,
  .provider-readiness-hero .provider-readiness-head {
    grid-template-columns: 56px minmax(0, 1fr) 36px;
    gap: 10px;
    padding: 12px;
  }

  .provider-services-toolbar,
  .provider-service-card-head {
    grid-template-columns: 1fr;
  }

  .provider-service-card-icon {
    display: none;
  }

  .provider-add-service,
  .provider-service-status {
    width: max-content;
    max-width: 100%;
  }

  .provider-service-facts,
  .provider-service-actions,
  .provider-request-detail-facts,
  .provider-request-communication-actions {
    grid-template-columns: 1fr;
  }

  .sheet-progress-ring {
    width: 50px;
    height: 50px;
  }

  .sheet-field-grid .provider-dropdown-head,
  .sheet-field-grid .provider-location-head,
  .sheet-field-grid .provider-contact-head,
  .sheet-field-grid .provider-description-head,
  .sheet-field-grid .provider-portfolio-head {
    min-height: 62px;
    padding: 10px 8px;
  }

  .sheet-field-grid .provider-dropdown-head small,
  .sheet-field-grid .provider-location-head small,
  .sheet-field-grid .provider-contact-head small,
  .sheet-field-grid .provider-description-head small,
  .sheet-field-grid .provider-portfolio-head small {
    font-size: 12px;
  }

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

.toast {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 102px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(17, 19, 24, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.toast.visible {
  display: flex;
}

@media (max-width: 520px) {
  .app-screen {
    width: 100vw;
  }

  .app-screen[data-active-view="requests"],
  .app-screen[data-active-view="work"],
  .app-screen[data-active-view="profile"] {
    overflow-y: hidden;
  }

  .app-screen[data-active-view="requests"] .requests-view,
  .app-screen[data-active-view="work"] .work-view,
  .app-screen[data-active-view="profile"] .user-profile-view {
    max-height: calc(100dvh - 106px);
    overflow-y: auto;
    padding-bottom: 12px;
    overscroll-behavior: contain;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 28px;
  }

  .action-card {
    grid-template-columns: 42px 1fr 18px;
    min-height: 92px;
    padding: 14px 13px;
  }

  .profile-copy span {
    display: none;
  }

  .card-icon {
    width: 42px;
    height: 42px;
  }
}
