:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-strong: #eef5ff;
  --ink: #111c33;
  --muted: #65708a;
  --line: #dfe7f2;
  --brand: #1769e8;
  --brand-dark: #0b55d9;
  --accent: #f5a400;
  --accent-soft: #fff2d4;
  --lime: #d9e8ff;
  --violet: #6651b7;
  --blue: #2563eb;
  --amber: #f4b63d;
  --surface-glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 18px 50px rgba(19, 36, 68, 0.12);
  --shadow-soft: 0 12px 32px rgba(19, 36, 68, 0.09);
  --radius: 8px;
  --radius-sm: 6px;
  --tap: 48px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(239, 245, 255, 0.88), rgba(247, 249, 252, 0.24) 34rem),
    linear-gradient(135deg, rgba(255, 242, 212, 0.24), rgba(224, 240, 255, 0.34) 44%, rgba(247, 249, 252, 0) 70%),
    var(--bg);
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  gap: 0.65rem;
  padding: 0.72rem clamp(0.8rem, 4vw, 2rem);
  border-bottom: 1px solid rgba(221, 230, 223, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.96)),
    #ffffff;
  box-shadow: 0 12px 30px rgba(19, 36, 68, 0.09);
  backdrop-filter: blur(18px) saturate(1.12);
}

.topbar-main {
  display: grid;
  grid-template-columns: auto minmax(260px, 680px) auto auto;
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.25rem);
  min-width: 0;
}

.topbar-main,
.topbar-links,
.service-hero,
.hero-copy,
.command-panel,
.filter-row,
.quick-cats,
.market-preview,
.account-hero,
.account-forms,
.provider-join,
.provider-auth-panel,
.provider-register-form {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: var(--tap);
  padding: 0;
  font-weight: 850;
  white-space: nowrap;
}

.brand-logo {
  width: clamp(150px, 16vw, 220px);
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 7px 14px rgba(27, 45, 38, 0.12));
}

.brand-mark,
.icon-chip {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand);
  color: white;
  flex: 0 0 auto;
}

.brand-mark {
  background: linear-gradient(135deg, var(--ink), var(--brand));
  box-shadow: 0 12px 26px rgba(15, 123, 108, 0.22);
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
}

.topbar-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  max-width: 720px;
  width: 100%;
  justify-self: center;
  min-height: 3.15rem;
  padding: 0.28rem 0.28rem 0.28rem 0.85rem;
  border: 1px solid rgba(23, 105, 232, 0.14);
  border-radius: var(--radius);
  background: rgba(244, 247, 252, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.topbar-search > svg {
  color: var(--brand-dark);
}

.topbar-search input {
  min-width: 0;
  min-height: 2.55rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.topbar-search input:focus {
  box-shadow: none;
}

.topbar-search button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: white;
  cursor: pointer;
  font-weight: 820;
}

.topbar-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.55rem, 1.6vw, 1.2rem);
  white-space: nowrap;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0 0.15rem;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 780;
}

.topbar-links a:hover {
  color: var(--brand-dark);
}

.category-nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
  overflow: visible;
  padding: 0.08rem 0 0.1rem;
}

.category-group {
  position: relative;
  flex: 0 0 auto;
}

.category-pill,
.category-trigger,
.category-child,
.btn,
.icon-btn,
.filter-chip,
.status-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--tap);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 760;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
  box-shadow 160ms ease;
}

.category-trigger {
  position: relative;
  min-height: 2.5rem;
  padding: 0 0.78rem;
  border: 1px solid rgba(221, 230, 223, 0.96);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.84rem;
  box-shadow: 0 8px 18px rgba(9, 18, 28, 0.08);
}

.category-trigger.is-active,
.category-group.is-open .category-trigger,
.category-group:focus-within .category-trigger {
  border-color: rgba(185, 217, 104, 0.34);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: 0 10px 28px rgba(15, 123, 108, 0.24);
}

.category-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 65;
  display: grid;
  gap: 0.75rem;
  width: min(460px, calc(100vw - 2rem));
  padding: 0.8rem;
  border: 1px solid rgba(221, 230, 223, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(9, 18, 28, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 150ms ease,
    transform 150ms ease,
    visibility 150ms ease;
}

.category-group.is-open .category-menu,
.category-group:focus-within .category-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) {
  .category-group:hover {
    z-index: 70;
  }

  .category-group:hover .category-trigger {
    border-color: rgba(185, 217, 104, 0.34);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    box-shadow: 0 10px 28px rgba(15, 123, 108, 0.24);
  }

  .category-group:hover .category-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (min-width: 761px) {
  .category-group-familie .category-menu,
  .category-group-auto_tiere .category-menu {
    right: 0;
    left: auto;
  }
}

@media (max-width: 1080px) {
  .topbar-main {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }

  .topbar-links {
    display: none;
  }
}

.category-menu-head {
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #effbf5, #fff8e8);
}

.category-menu-head small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.category-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.category-child {
  justify-content: flex-start;
  min-height: 3.25rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}

.category-child span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--brand-dark);
  flex: 0 0 auto;
}

.category-child strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
}

.category-child:hover,
.category-child.is-active {
  border-color: rgba(15, 123, 108, 0.28);
  background: #effbf5;
  color: var(--brand-dark);
}

.category-pill {
  flex: 0 0 auto;
  min-height: 2.45rem;
  padding: 0 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.84rem;
  box-shadow: 0 8px 18px rgba(9, 18, 28, 0.08);
}

.category-pill.is-active,
.category-pill:hover {
  border-color: rgba(185, 217, 104, 0.34);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: 0 10px 28px rgba(15, 123, 108, 0.24);
}

.user-menu {
  position: relative;
  flex: 0 0 auto;
}

.user-menu summary {
  list-style: none;
}

.user-menu summary::-webkit-details-marker {
  display: none;
}

.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: min(260px, 42vw);
  min-height: var(--tap);
  padding: 0 0.55rem 0 0.45rem;
  border: 1px solid rgba(221, 230, 223, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 239, 0.76)),
    rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-weight: 820;
  box-shadow: 0 12px 26px rgba(27, 45, 38, 0.08);
}

.user-menu-trigger span:not(.user-avatar) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-avatar {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  flex: 0 0 auto;
}

.user-avatar.large {
  width: 2.5rem;
  height: 2.5rem;
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 35;
  display: grid;
  gap: 0.25rem;
  width: min(330px, calc(100vw - 1.5rem));
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.user-menu-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #effbf5, #fff8e8);
}

.user-menu-head strong,
.user-menu-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-head small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-weight: 760;
}

.user-menu-item:hover {
  background: var(--surface-strong);
}

.user-menu-item svg {
  flex: 0 0 auto;
}

.user-menu-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0 0 0.25rem;
}

.user-menu-quick a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.45rem;
  padding: 0 0.58rem;
  border: 1px solid rgba(215, 226, 239, 0.92);
  border-radius: var(--radius-sm);
  background: #f7faff;
  color: #103a6d;
  font-size: 0.82rem;
  font-weight: 820;
  text-align: center;
}

.user-menu-quick a:hover {
  border-color: rgba(23, 105, 232, 0.26);
  background: #edf4ff;
  color: #0b55d9;
}

.user-menu-quick svg {
  flex: 0 0 auto;
}

.danger-item {
  color: #983222;
}

.btn {
  min-width: 9rem;
  padding: 0 1rem;
  color: white;
  background: var(--brand);
}

.btn:hover,
.icon-btn:hover,
.filter-chip:hover,
.status-button:hover {
  transform: translateY(-1px);
}

.btn.secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.btn.accent {
  color: var(--ink);
  background: var(--lime);
}

.btn.danger {
  background: #b33c2c;
}

.btn:disabled,
.icon-btn:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.btn.full {
  width: 100%;
}

.icon-btn {
  width: var(--tap);
  min-width: var(--tap);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.app {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
  min-width: 0;
}

.search-band {
  display: grid;
  gap: 1rem;
  min-height: calc(100svh - 13rem);
  align-content: start;
  padding: 1rem 0 1.25rem;
}

.service-hero {
  display: grid;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0 1.65rem;
}

.hero-copy {
  display: grid;
  align-content: start;
  align-items: start;
  gap: 0.9rem;
  min-width: 0;
}

.hero-copy > * {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 620px;
  font-size: 2.65rem;
}

.command-panel {
  gap: 0.8rem;
  padding: 0.65rem;
  width: min(100%, 660px);
  min-width: 0;
  border-color: rgba(15, 123, 108, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(27, 45, 38, 0.14);
}

.command-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-height: 4rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.command-search > svg {
  margin-left: 0.35rem;
  color: var(--brand-dark);
}

.command-search input {
  border: 0;
  min-width: 0;
  min-height: 3rem;
  padding-inline: 0.2rem;
  font-size: 1rem;
  box-shadow: none;
}

.command-search input:focus {
  box-shadow: none;
}

.command-search .btn {
  grid-column: 1 / -1;
  width: 100%;
}

.filter-row {
  display: grid;
  gap: 0.65rem;
}

.advanced-search,
.advanced-search-body {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.advanced-search-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.advanced-search-trigger {
  display: none;
}

.availability-toggle {
  min-height: 3.05rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--ink);
}

.market-preview {
  display: grid;
  gap: 0.85rem;
  align-self: stretch;
  min-width: 0;
}

.market-image {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.market-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.market-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(23, 35, 31, 0), rgba(23, 35, 31, 0.78));
}

.market-float {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  display: grid;
  gap: 0.28rem;
  color: white;
}

.market-float span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 840;
  backdrop-filter: blur(10px);
}

.market-float strong {
  font-size: 1.55rem;
  line-height: 1;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.market-stats span {
  display: grid;
  gap: 0.15rem;
  min-height: 4.6rem;
  align-content: center;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.market-stats strong {
  font-size: 1.4rem;
  line-height: 1;
}

.market-stats small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
}

.mini-provider-list {
  display: grid;
  gap: 0.55rem;
}

.mini-provider {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  min-height: 4.15rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.mini-provider img {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.mini-provider span,
.mini-provider strong,
.mini-provider small {
  min-width: 0;
}

.mini-provider strong,
.mini-provider small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-provider small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.mini-provider b {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: #fff0c2;
  color: #79520a;
  font-size: 0.82rem;
}

.intro {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.75rem;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  align-self: start;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 820;
  white-space: nowrap;
  justify-self: start;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: 3.4rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.18;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.search-panel,
.auth-panel,
.profile-editor,
.request-list,
.stat-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.search-panel {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
}

.field-grid {
  display: grid;
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.checkline,
.tiny-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 780;
}

.input-help {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.availability-editor {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.availability-editor label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 840;
}

.availability-inputs {
  display: grid;
  gap: 0.5rem;
}

.slot-row {
  display: grid;
  gap: 0.5rem;
}

.slot-date-control {
  position: relative;
  display: grid;
  min-width: 0;
}

.slot-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.48rem;
  width: 100%;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.58rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: #1769e8;
  font-weight: 820;
  pointer-events: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.slot-date-control input[type="datetime-local"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.slot-date-control:hover .slot-preview,
.slot-date-control:focus-within .slot-preview {
  border-color: rgba(23, 105, 232, 0.45);
  background:
    linear-gradient(135deg, rgba(237, 244, 255, 0.96), rgba(255, 255, 255, 0.94)),
    #ffffff;
  box-shadow: 0 10px 22px rgba(23, 105, 232, 0.1);
}

.slot-preview svg {
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.32rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  flex: 0 0 auto;
}

.slot-preview span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.slot-preview strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111c33;
  font-size: 0.9rem;
  line-height: 1.08;
}

.slot-preview small {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.2;
}

.input-wrap {
  position: relative;
}

.input-wrap svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.input-wrap input {
  padding-left: 2.45rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: var(--tap);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 0.8rem 0.85rem;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 123, 108, 0.7);
  box-shadow: 0 0 0 4px rgba(15, 123, 108, 0.13);
}

.field-wide {
  grid-column: 1 / -1;
}

.visually-hidden-file {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-drop {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 5rem;
  padding: 0.85rem;
  border: 1px dashed rgba(15, 123, 108, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #effbf5, #ffffff);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.95rem;
}

.upload-drop svg {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
}

.upload-drop strong,
.upload-drop small {
  display: block;
}

.upload-drop small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.compact-upload {
  min-height: 4.25rem;
}

.inline-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #f3cf77;
  border-radius: var(--radius);
  background: #fff8e8;
}

.inline-alert > svg {
  color: #79520a;
}

.inline-alert strong,
.inline-alert small {
  display: block;
}

.inline-alert small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.search-actions,
.form-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.sticky-actions {
  padding-top: 0.2rem;
}

.quick-cats {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.35rem;
  scrollbar-width: none;
}

.quick-cats::-webkit-scrollbar {
  display: none;
}

.search-panel .quick-cats {
  flex-wrap: wrap;
  overflow: visible;
  padding-bottom: 0;
}

.search-panel .filter-chip {
  flex: 0 1 auto;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 2.65rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.filter-chip.is-active {
  border-color: transparent;
  background: var(--ink);
  color: white;
}

.content-layout {
  display: grid;
  gap: 1.05rem;
  margin-top: 0.5rem;
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.2rem 0;
}

.results-action-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.82rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 255, 0.92)),
    #ffffff;
  box-shadow: 0 14px 34px rgba(20, 32, 54, 0.07);
}

.results-command-card {
  grid-template-columns: minmax(136px, 0.22fr) minmax(0, 1fr) minmax(220px, auto);
  align-items: stretch;
  padding: 0.72rem;
}

.results-action-media {
  position: relative;
  overflow: hidden;
  min-height: 7.3rem;
  border: 1px solid rgba(23, 105, 232, 0.16);
  border-radius: var(--radius-sm);
  background: #edf4ff;
}

.results-action-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.results-action-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.74));
}

.results-action-media span {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  left: 0.5rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 1.9rem;
  padding: 0 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #101b32;
  font-size: 0.76rem;
  font-weight: 880;
  backdrop-filter: blur(12px);
}

.results-action-copy {
  display: grid;
  gap: 0.22rem;
  align-content: center;
  min-width: 0;
}

.results-action-copy strong {
  min-width: 0;
  overflow: hidden;
  color: #111c33;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.results-action-copy small {
  color: #65708a;
  font-weight: 780;
}

.results-action-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0.22rem;
}

.results-action-signals span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  align-items: center;
  gap: 0.02rem 0.42rem;
  min-width: 0;
  min-height: 3.15rem;
  padding: 0.5rem;
  border: 1px solid rgba(23, 105, 232, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
}

.results-action-signals svg {
  grid-area: icon;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0.28rem;
  border-radius: 0.58rem;
  background: #edf4ff;
  color: #1769e8;
}

.results-action-signals b {
  grid-area: value;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #101b32;
  font-size: 0.95rem;
  line-height: 1.05;
}

.results-action-signals small {
  grid-area: label;
  min-width: 0;
  color: #65708a;
  font-size: 0.7rem;
  font-weight: 790;
  line-height: 1.18;
}

.results-action-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-content: center;
  justify-items: stretch;
  min-width: 0;
}

.results-action-buttons .btn {
  width: 100%;
}

.results-action-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 790;
  text-align: center;
}

.results-action-note svg {
  width: 0.9rem;
  height: 0.9rem;
  color: #1769e8;
  flex: 0 0 auto;
}

.results-assurance {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
  padding: clamp(0.9rem, 2vw, 1.15rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.results-assurance-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
  gap: 0.8rem;
  align-items: stretch;
}

.results-assurance-copy {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-width: 0;
}

.results-assurance-copy h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.selection-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.14rem;
}

.selection-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 2rem;
  padding: 0 0.58rem;
  border: 1px solid #d9e4f1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #15213a;
  font-size: 0.78rem;
  font-weight: 840;
}

.selection-pills svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #1769e8;
}

.decision-score-card {
  display: grid;
  align-content: center;
  gap: 0.42rem;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(23, 105, 232, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(23, 105, 232, 0.18);
}

.decision-score-card .tiny-label,
.decision-score-card small {
  color: rgba(255, 255, 255, 0.76);
}

.decision-score-card strong {
  color: #ffffff;
  font-size: clamp(2.25rem, 6vw, 3.4rem);
  line-height: 0.95;
}

.decision-meter {
  overflow: hidden;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.decision-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #83f0c7, #ffffff);
}

.results-assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.results-assurance-grid span,
.results-assurance-flow span {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.68rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.results-assurance-grid svg,
.results-assurance-flow svg {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.results-assurance-grid strong {
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.results-assurance-grid small,
.results-assurance-flow small {
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.3;
}

.results-assurance-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.results-assurance-flow span {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  align-items: center;
  column-gap: 0.55rem;
}

.results-assurance-flow svg {
  grid-area: icon;
}

.results-assurance-flow strong {
  grid-area: title;
  color: var(--ink);
}

.results-assurance-flow small {
  grid-area: copy;
}

.result-meta {
  color: var(--muted);
  font-weight: 760;
}

.provider-comparison-panel {
  display: grid;
  gap: 0.78rem;
  padding: clamp(0.88rem, 2vw, 1.12rem);
  border: 1px solid rgba(21, 33, 58, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 253, 0.96)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.07);
}

.comparison-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}

.comparison-head > div {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}

.comparison-head h3 {
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.08;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.68rem;
}

.comparison-card {
  display: grid;
  gap: 0.72rem;
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(20, 32, 54, 0.055);
}

.comparison-card.is-top {
  border-color: rgba(23, 105, 232, 0.34);
  background:
    linear-gradient(145deg, rgba(237, 244, 255, 0.98), rgba(255, 255, 255, 0.94)),
    #ffffff;
  box-shadow: 0 18px 36px rgba(23, 105, 232, 0.12);
}

.comparison-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.62rem;
  align-items: center;
  min-width: 0;
}

.comparison-card-head img {
  width: 3.85rem;
  height: 3.85rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface-strong);
}

.comparison-card-head > div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.comparison-card-head .tiny-label {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: fit-content;
  max-width: 100%;
  color: #1769e8;
}

.comparison-card-head .tiny-label svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
}

.comparison-card-head h4 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.comparison-card-head small {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.comparison-score-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.44rem;
}

.comparison-score-row span,
.comparison-facts span {
  display: grid;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.comparison-score-row strong {
  color: #101a2f;
  font-size: 1.3rem;
  line-height: 1;
}

.comparison-score-row small,
.comparison-facts small {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.25;
}

.comparison-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.44rem;
}

.comparison-facts span {
  gap: 0.16rem;
}

.comparison-facts svg {
  width: 1.38rem;
  height: 1.38rem;
  padding: 0.26rem;
  border-radius: 0.55rem;
  background: #edf4ff;
  color: #1769e8;
}

.comparison-facts strong {
  color: #111c33;
  font-size: 0.92rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.comparison-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--tap);
  gap: 0.45rem;
  align-items: center;
}

.comparison-actions .btn {
  width: 100%;
  min-width: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.provider-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.provider-card:hover {
  border-color: rgba(15, 123, 108, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(27, 45, 38, 0.12);
}

.provider-card.is-top-card {
  border-color: rgba(23, 105, 232, 0.32);
  background:
    linear-gradient(180deg, rgba(237, 244, 255, 0.46), rgba(255, 255, 255, 0.96) 24%),
    #ffffff;
  box-shadow: 0 20px 46px rgba(23, 105, 232, 0.13);
}

.provider-image {
  position: relative;
  min-height: 190px;
  background: var(--surface-strong);
}

.provider-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.provider-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(23, 35, 31, 0), rgba(23, 35, 31, 0.62));
  pointer-events: none;
}

.provider-rank-pill {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 2.05rem;
  padding: 0 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(16, 26, 47, 0.86);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 880;
  box-shadow: 0 12px 26px rgba(16, 26, 47, 0.2);
  backdrop-filter: blur(12px);
}

.provider-rank-pill svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  color: #9ee8c8;
}

.badge-row {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge,
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 820;
}

.premium-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0 0.58rem;
  border-radius: 999px;
  background: #101a2f;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 880;
}

.provider-body {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem;
}

.provider-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.provider-title small {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-weight: 720;
}

.provider-description {
  color: var(--muted);
  line-height: 1.48;
}

.provider-match,
.profile-match-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(237, 244, 255, 0.96), rgba(255, 255, 255, 0.92)),
    #ffffff;
}

.match-score,
.profile-match-score {
  display: grid;
  width: 4.35rem;
  min-height: 4.35rem;
  place-items: center;
  align-content: center;
  border-radius: var(--radius);
  background: #101a2f;
  color: #ffffff;
}

.match-score span,
.profile-match-score span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.match-score strong,
.profile-match-score strong {
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1;
}

.match-copy,
.profile-match-panel > div:last-child {
  display: grid;
  gap: 0.36rem;
  min-width: 0;
}

.match-copy > strong,
.profile-match-panel > div:last-child > strong {
  color: #111c33;
  font-size: 0.98rem;
}

.profile-match-panel > div:last-child > small {
  color: #65708a;
  font-weight: 720;
  line-height: 1.35;
}

.match-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  min-width: 0;
}

.match-reasons span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.78rem;
  padding: 0 0.48rem;
  border: 1px solid #d9e4f1;
  border-radius: 999px;
  background: #ffffff;
  color: #17325f;
  font-size: 0.74rem;
  font-weight: 820;
}

.match-reasons svg {
  width: 0.86rem;
  height: 0.86rem;
  color: #1769e8;
  flex: 0 0 auto;
}

.provider-quality,
.profile-quality-panel {
  display: grid;
  gap: 0.4rem;
  padding: 0.7rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
}

.provider-quality > div:first-child,
.profile-quality-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.provider-quality span,
.profile-quality-panel span {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 850;
}

.provider-quality strong,
.profile-quality-panel strong {
  color: #111c33;
  font-size: 1.05rem;
}

.provider-quality small,
.profile-quality-panel small {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.35;
}

.quality-meter {
  height: 0.46rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf6;
}

.quality-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1769e8, #3dd6a1);
}

.provider-vetting-lane {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.34rem;
  padding: 0.38rem;
  border: 1px solid rgba(23, 105, 232, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.96), rgba(255, 255, 255, 0.92)),
    #ffffff;
}

.provider-vetting-lane span {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "icon"
    "label"
    "value";
  justify-items: center;
  align-items: center;
  gap: 0.18rem;
  min-width: 0;
  min-height: 4.25rem;
  padding: 0.42rem 0.28rem;
  border: 1px solid #dde7f4;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.provider-vetting-lane span.is-done {
  border-color: rgba(20, 132, 93, 0.22);
  background: linear-gradient(135deg, rgba(232, 248, 239, 0.92), rgba(255, 255, 255, 0.9));
}

.provider-vetting-lane i {
  grid-area: icon;
  width: 1.62rem;
  height: 1.62rem;
  padding: 0.34rem;
  border-radius: 0.62rem;
  background: #edf4ff;
  color: #1769e8;
}

.provider-vetting-lane span.is-done i {
  background: #dff4e9;
  color: #0b6042;
}

.provider-vetting-lane strong,
.provider-vetting-lane small {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-vetting-lane strong {
  grid-area: label;
  color: #111c33;
  font-size: 0.76rem;
  font-weight: 920;
}

.provider-vetting-lane small {
  grid-area: value;
  color: #64718b;
  font-size: 0.68rem;
  font-weight: 760;
}

.tag-list,
.metrics,
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag,
.metric {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.trust-strip.detail {
  padding: 0.2rem 0;
}

.trust-badge,
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  min-height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 860;
}

.trust-badge.green,
.status-dot.green {
  background: #dff4e9;
  color: #0b6042;
}

.trust-badge.blue,
.status-dot.blue {
  background: #e0f0ff;
  color: #14547f;
}

.trust-badge.gold,
.status-dot.gold {
  background: #fff0c2;
  color: #79520a;
}

.trust-badge.orange,
.status-dot.orange {
  background: var(--accent-soft);
  color: #873419;
}

.trust-badge.violet,
.status-dot.violet {
  background: #e9e3ff;
  color: #4b3595;
}

.status-dot.muted {
  background: var(--surface-strong);
  color: var(--muted);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.signal-grid span {
  display: grid;
  gap: 0.18rem;
  min-height: 4.25rem;
  align-content: center;
  padding: 0.62rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff, var(--surface-strong));
}

.signal-grid strong {
  font-size: 1.05rem;
  line-height: 1;
}

.signal-grid small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
}

.decision-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.decision-strip span {
  display: grid;
  align-content: center;
  gap: 0.16rem;
  min-width: 0;
  min-height: 4rem;
  padding: 0.62rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, #ffffff, #f6f9fd);
}

.decision-strip strong {
  min-width: 0;
  overflow: hidden;
  color: #101a2f;
  font-size: 1.02rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.decision-strip small {
  color: #65708a;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.25;
}

.safe-request-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.42rem;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.54rem 0.62rem;
  border: 1px solid rgba(23, 105, 232, 0.16);
  border-radius: var(--radius-sm);
  background: #f7faff;
  color: #355073;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.32;
}

.safe-request-note svg {
  width: 1.05rem;
  height: 1.05rem;
  color: #1769e8;
}

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

.availability-list {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(15, 123, 108, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #effbf5, #ffffff);
}

.availability-list strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1.1rem;
}

.slot-chip-row {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.slot-chip-row::-webkit-scrollbar {
  display: none;
}

.slot-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.83rem;
  font-weight: 820;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(6.6rem, 0.65fr);
  gap: 0.55rem;
}

.card-actions .btn {
  min-width: 0;
}

.profile-open-btn {
  padding-inline: 0.7rem;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state p {
  max-width: 460px;
  color: var(--muted);
  line-height: 1.55;
}

.provider-join,
.dashboard-shell {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}

.account-shell {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}

.account-hero {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 239, 0.8)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.account-hero h1 {
  font-size: 3.4rem;
}

.account-metrics,
.visual-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.account-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0 0.68rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-weight: 820;
}

.account-hero-actions {
  display: none;
}

.account-forms {
  display: grid;
  gap: 1rem;
}

.auth-card {
  align-content: start;
}

.primary-auth {
  border-color: rgba(15, 123, 108, 0.26);
  background: linear-gradient(180deg, #ffffff, #effbf5);
}

.signup-teaser,
.register-card {
  background: linear-gradient(180deg, #ffffff, #fff8e8);
}

.auth-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.auth-panel-head h2 {
  margin-top: 0.2rem;
}

.customer-auth-layout .auth-panel-head h2 {
  font-size: clamp(1.5rem, 2.25vw, 2.05rem);
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: keep-all;
}

.customer-auth-layout .primary-auth .auth-panel-head h2 {
  white-space: normal;
}

.customer-auth-layout .primary-auth .auth-panel-head {
  display: grid;
  grid-template-columns: 1fr;
}

.customer-auth-layout .primary-auth .status-dot {
  width: fit-content;
}

.mini-list {
  display: grid;
  gap: 0.5rem;
}

.mini-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.45rem;
  padding: 0 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-weight: 800;
}

.join-visual {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.provider-story-rail {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  align-content: start;
}

.join-visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.join-visual .overlay {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 1rem;
  align-content: end;
  padding: 1rem;
  color: white;
  background: linear-gradient(180deg, rgba(23, 35, 31, 0.04), rgba(23, 35, 31, 0.82));
}

.join-visual .overlay h1 {
  font-size: 3.35rem;
}

.eyebrow.dark {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(10px);
}

.visual-stats span {
  display: grid;
  gap: 0.2rem;
  min-width: 8.5rem;
  min-height: 4.5rem;
  align-content: center;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.visual-stats strong {
  font-size: 1.55rem;
  line-height: 1;
}

.visual-stats small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 760;
}

.visual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.visual-actions .btn {
  min-height: 2.85rem;
  justify-content: center;
  padding-inline: 0.92rem;
}

.visual-actions .btn.light {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.94);
  color: #111c33;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.visual-actions .btn.ghost-light {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: none;
}

.auth-panel,
.profile-editor,
.request-list {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.admin-login {
  max-width: 540px;
}

.admin-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
  gap: 0.9rem;
  align-items: stretch;
}

.admin-access-hero {
  display: grid;
  align-content: center;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.admin-access-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 0.96;
}

.admin-access-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.admin-access-actions {
  display: none;
}

.admin-access-signals span {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.admin-access-signals svg {
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.admin-access-signals strong {
  color: #111c33;
  line-height: 1.1;
}

.admin-access-signals small {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.3;
}

.admin-access-form {
  max-width: none;
  align-content: center;
}

.admin-login-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.admin-login-brief span {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
  min-height: 4.35rem;
  align-content: center;
  padding: 0.52rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, #ffffff, #f7fbff),
    #ffffff;
}

.admin-login-brief svg {
  width: 1.38rem;
  height: 1.38rem;
  padding: 0.28rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.admin-login-brief strong {
  min-width: 0;
  overflow: hidden;
  color: #111c33;
  font-size: 0.82rem;
  line-height: 1.06;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-login-brief small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #65708a;
  font-size: 0.66rem;
  font-weight: 790;
  line-height: 1.12;
}

.admin-public-standard {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.34fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: clamp(0.95rem, 2vw, 1.2rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.admin-public-standard-copy {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-width: 0;
}

.admin-public-standard-copy h2 {
  max-width: 720px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.admin-public-standard-grid {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.admin-public-standard-grid span {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
  min-height: 8.25rem;
  align-content: start;
  padding: 0.74rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.admin-public-standard-grid svg {
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.admin-public-standard-grid strong {
  color: #111c33;
  font-size: 0.9rem;
  line-height: 1.14;
}

.admin-public-standard-grid small {
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.28;
}

.admin-public-meter {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  align-content: center;
  gap: 0.48rem;
  min-width: 0;
  padding: 0.95rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
}

.admin-public-meter .tiny-label,
.admin-public-meter small {
  color: rgba(255, 255, 255, 0.74);
}

.admin-public-meter strong {
  color: #ffffff;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 0.92;
}

.admin-public-meter-bar {
  overflow: hidden;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.admin-public-meter-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #83f0c7, #ffffff);
}

.admin-command-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.35fr);
  gap: 0.9rem;
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(195, 211, 232, 0.95);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92) 58%, rgba(239, 251, 245, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.08);
}

.admin-command-main,
.admin-command-next {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-width: 0;
}

.admin-command-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.admin-command-head h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
}

.admin-command-head .lead {
  max-width: 820px;
}

.admin-command-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.admin-command-kpis span {
  display: grid;
  gap: 0.26rem;
  min-width: 0;
  min-height: 6.8rem;
  padding: 0.78rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.admin-command-kpis svg {
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.admin-command-kpis strong {
  color: #111c33;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1;
}

.admin-command-kpis small {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.28;
}

.admin-command-next {
  padding: 0.95rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
}

.admin-command-next-mobile {
  display: none;
}

.admin-command-next .tiny-label,
.admin-command-next p,
.admin-command-next small {
  color: rgba(255, 255, 255, 0.76);
}

.admin-command-next h2 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1;
}

.admin-command-score {
  display: grid;
  gap: 0.18rem;
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
}

.admin-command-score strong {
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.92;
}

.auth-grid,
.dashboard-grid,
.stats-grid {
  display: grid;
  gap: 1rem;
}

.auth-grid.compact {
  gap: 0.75rem;
}

.provider-auth-panel {
  align-content: start;
}

.provider-auth-panel .auth-panel-head {
  order: 1;
}

.provider-auth-panel .onboarding-progress {
  order: 2;
}

.provider-auth-panel .quality-gate-strip {
  order: 3;
}

.provider-auth-panel .provider-fit-studio {
  order: 4;
}

.provider-auth-panel #register-form {
  order: 5;
}

.provider-auth-panel .provider-value-board {
  order: 6;
}

.provider-auth-panel .provider-growth-os {
  order: 7;
}

.provider-auth-panel .provider-application-compass {
  order: 8;
}

.provider-register-form {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}

.provider-application-start {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid rgba(23, 105, 232, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 105, 232, 0.14);
}

.provider-application-start .status-dot {
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.provider-application-start strong {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.14;
}

.provider-application-start small {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.36;
}

.onboarding-progress,
.request-stepper {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.05rem;
  scrollbar-width: none;
}

.onboarding-progress::-webkit-scrollbar,
.request-stepper::-webkit-scrollbar {
  display: none;
}

.onboarding-progress span,
.request-stepper span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.38rem;
  min-height: 2.35rem;
  padding: 0 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 820;
}

.onboarding-progress span.is-active,
.request-stepper span.is-active {
  border-color: transparent;
  background: var(--ink);
  color: white;
}

.quality-gate-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.quality-gate-strip span {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
}

.quality-gate-strip svg {
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.28rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.quality-gate-strip strong {
  color: #111c33;
  font-size: 0.92rem;
}

.quality-gate-strip small {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.3;
}

.form-section {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem;
  border: 1px solid rgba(217, 228, 241, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.88)),
    #ffffff;
}

.form-section + .form-section {
  padding-top: 0.95rem;
}

.section-kicker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "number title"
    "number hint";
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 880;
}

.section-kicker span {
  grid-area: number;
  display: inline-grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  font-size: 0.82rem;
}

.section-kicker strong {
  grid-area: title;
  color: #111c33;
}

.section-kicker small {
  grid-area: hint;
  min-width: 0;
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.26;
}

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

.stat-tile {
  padding: 1rem;
}

.stat-tile strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.85rem;
  line-height: 1;
}

.dashboard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.quality-cockpit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 255, 0.9)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.quality-cockpit-main,
.quality-action-panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-width: 0;
}

.cockpit-score-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.cockpit-score {
  display: grid;
  gap: 0.32rem;
  align-content: center;
  min-height: 10rem;
  padding: 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
}

.cockpit-score span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 880;
  text-transform: uppercase;
}

.cockpit-score strong {
  font-size: clamp(2.75rem, 6vw, 4.4rem);
  line-height: 0.9;
}

.cockpit-score small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 780;
}

.cockpit-bars {
  display: grid;
  gap: 0.6rem;
}

.cockpit-bar {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.cockpit-bar div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #65708a;
  font-size: 0.82rem;
  font-weight: 820;
}

.cockpit-bar strong {
  color: #111c33;
  white-space: nowrap;
}

.cockpit-bar i {
  display: block;
  height: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf6;
}

.cockpit-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1769e8, #3dd6a1);
}

.quality-action-panel {
  padding: 0.9rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: #ffffff;
}

.quality-action-list {
  display: grid;
  gap: 0.55rem;
}

.quality-action-list span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.58rem;
  align-items: center;
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #f8fbff;
}

.quality-action-list svg {
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.quality-action-list strong {
  color: #111c33;
  font-size: 0.9rem;
}

.quality-action-list small {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.32;
}

.quality-checklist {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quality-checklist span {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 2.15rem;
  padding: 0 0.62rem;
  border: 1px solid #d9e4f1;
  border-radius: 999px;
  background: #ffffff;
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 820;
}

.quality-checklist span.is-done {
  border-color: rgba(61, 214, 161, 0.35);
  background: #e9f9f2;
  color: #0d6847;
}

.provider-pipeline-board {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(23, 105, 232, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.9)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.provider-pipeline-copy,
.provider-pipeline-impact {
  display: grid;
  align-content: center;
  gap: 0.6rem;
  min-width: 0;
}

.provider-pipeline-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.05;
}

.provider-pipeline-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  min-width: 0;
}

.provider-pipeline-stage {
  position: relative;
  display: grid;
  gap: 0.28rem;
  align-content: start;
  min-width: 0;
  min-height: 9.6rem;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.provider-pipeline-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0.22rem;
  background: #e7edf6;
}

.provider-pipeline-stage.is-active::after {
  background: linear-gradient(90deg, #1769e8, #3dd6a1);
}

.provider-pipeline-stage span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-pipeline-stage strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111c33;
  line-height: 1.12;
}

.provider-pipeline-stage small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 720;
  line-height: 1.28;
}

.pipeline-stage-meta {
  display: grid;
  gap: 0.08rem;
  margin-top: 0.1rem;
}

.pipeline-stage-meta b {
  color: #111c33;
  font-size: 1.45rem;
  line-height: 1;
}

.pipeline-stage-meta em {
  color: #65708a;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 820;
}

.pipeline-stage-meter {
  overflow: hidden;
  display: block;
  height: 0.34rem;
  margin-top: auto;
  border-radius: 999px;
  background: #e7edf6;
}

.pipeline-stage-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1769e8, #3dd6a1);
}

.provider-pipeline-impact {
  padding: 0.85rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
}

.provider-pipeline-impact .tiny-label,
.provider-pipeline-impact p {
  color: rgba(255, 255, 255, 0.74);
}

.provider-pipeline-impact h3 {
  color: #ffffff;
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  line-height: 1.08;
}

.pipeline-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.pipeline-impact-grid span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
}

.pipeline-impact-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  line-height: 1;
}

.pipeline-impact-grid small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 720;
  line-height: 1.22;
}

.provider-pipeline-impact .btn {
  background: #ffffff;
  color: #101a2f;
}

.provider-profile-guide {
  display: grid;
  gap: 0.72rem;
  padding: 0.85rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.9)),
    #ffffff;
}

.provider-profile-guide-head {
  display: grid;
  gap: 0.3rem;
}

.provider-profile-guide-head strong {
  color: #111c33;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.15;
}

.provider-profile-guide-head small {
  color: #65708a;
  font-size: 0.8rem;
  font-weight: 720;
  line-height: 1.35;
}

.provider-profile-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.48rem;
}

.provider-profile-guide-grid span {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
}

.provider-profile-guide-grid svg {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.38rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-profile-guide-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111c33;
  font-size: 0.9rem;
  line-height: 1.1;
}

.provider-profile-guide-grid small {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 740;
  line-height: 1.22;
}

.admin-policy-board {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 0.85rem;
  padding: clamp(0.9rem, 2vw, 1.15rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 253, 0.94)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.065);
}

.admin-policy-copy {
  display: grid;
  align-content: center;
  gap: 0.42rem;
  min-width: 0;
}

.admin-policy-copy h2 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.admin-policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.admin-policy-rule {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  align-content: start;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.admin-policy-rule svg {
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.admin-policy-rule small {
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 850;
}

.admin-policy-rule strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.admin-policy-rule em {
  color: #65708a;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 720;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.admin-policy-rule.is-green {
  border-color: #c7edda;
  background: #f2fbf6;
}

.admin-policy-rule.is-green svg {
  background: #dff8ec;
  color: #0d6847;
}

.admin-policy-rule.is-gold {
  border-color: #f3d99a;
  background: #fff9ed;
}

.admin-policy-rule.is-gold svg {
  background: #fff0c7;
  color: #8a5a00;
}

.admin-ops-board {
  display: grid;
  grid-template-columns: minmax(300px, 0.56fr) minmax(0, 1.05fr) minmax(240px, 0.3fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(23, 105, 232, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.9)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.admin-ops-copy,
.admin-ops-score {
  display: grid;
  align-content: center;
  gap: 0.58rem;
  min-width: 0;
}

.admin-ops-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.05;
}

.admin-ops-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  min-width: 0;
}

.admin-ops-lane {
  display: grid;
  gap: 0.3rem;
  align-content: start;
  min-width: 0;
  min-height: 9.2rem;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.admin-ops-lane > span {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  width: fit-content;
  min-height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: #edf4ff;
  color: #1769e8;
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-ops-lane.green > span {
  background: #e4f7ee;
  color: #0d6847;
}

.admin-ops-lane.gold > span {
  background: #fff0c2;
  color: #79520a;
}

.admin-ops-lane strong {
  color: #111c33;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 0.95;
}

.admin-ops-lane h3 {
  color: #111c33;
  font-size: 0.98rem;
  line-height: 1.08;
}

.admin-ops-lane small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.28;
}

.admin-ops-score {
  padding: 0.85rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
}

.admin-ops-score .tiny-label,
.admin-ops-score small {
  color: rgba(255, 255, 255, 0.74);
}

.admin-ops-score strong {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3.7rem);
  line-height: 0.9;
}

.admin-ops-meter {
  overflow: hidden;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.admin-ops-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #83f0c7, #ffffff);
}

.admin-review-risk-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr) minmax(210px, 0.28fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(242, 169, 0, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 239, 196, 0.72), transparent 34%),
    linear-gradient(135deg, #fffdf7, #f8fbff 62%, #fff6e1),
    #ffffff;
  box-shadow: 0 20px 48px rgba(95, 62, 10, 0.1);
}

.admin-review-risk-copy,
.admin-review-risk-list,
.admin-review-risk-standard {
  display: grid;
  align-content: start;
  min-width: 0;
}

.admin-review-risk-copy {
  gap: 0.65rem;
}

.admin-review-risk-copy h2 {
  margin: 0;
  color: #111c33;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  line-height: 1.04;
}

.admin-review-risk-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.admin-review-risk-metrics span,
.admin-review-risk-standard span {
  min-width: 0;
  border: 1px solid rgba(17, 28, 51, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.admin-review-risk-metrics span {
  display: grid;
  gap: 0.12rem;
  padding: 0.62rem;
}

.admin-review-risk-metrics strong {
  color: #111c33;
  font-size: 1.35rem;
  line-height: 1;
}

.admin-review-risk-metrics small {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.18;
}

.admin-review-risk-list {
  gap: 0.62rem;
}

.admin-review-risk-item,
.admin-review-risk-empty {
  min-width: 0;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(20, 32, 54, 0.06);
}

.admin-review-risk-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5rem, auto);
  gap: 0.72rem;
  align-items: center;
  padding: 0.76rem;
  border-left: 4px solid #f2a900;
}

.admin-review-risk-item.is-orange {
  border-left-color: #ef6b3a;
}

.admin-review-risk-main {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.admin-review-risk-main h3 {
  margin: 0;
  color: #111c33;
  font-size: 1rem;
  line-height: 1.1;
}

.admin-review-risk-main p {
  margin: 0;
  color: #4d5870;
  font-size: 0.82rem;
  font-weight: 680;
  line-height: 1.36;
}

.admin-review-risk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  min-width: 0;
}

.admin-review-risk-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  max-width: 100%;
  min-height: 1.65rem;
  padding: 0 0.48rem;
  border: 1px solid #d9e4f1;
  border-radius: 999px;
  background: #f8fbff;
  color: #4d5870;
  font-size: 0.7rem;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.admin-review-risk-tags svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  color: #1769e8;
}

.admin-review-risk-action {
  display: grid;
  justify-items: end;
  gap: 0.16rem;
  min-width: 4.9rem;
}

.admin-review-risk-action strong {
  color: #111c33;
  font-size: 1.45rem;
  line-height: 1;
}

.admin-review-risk-action small {
  color: #65708a;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: right;
}

.admin-review-risk-action .icon-btn {
  width: 2.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
}

.admin-review-risk-empty {
  display: grid;
  gap: 0.48rem;
  align-content: center;
  min-height: 100%;
  padding: 1rem;
}

.admin-review-risk-empty h3,
.admin-review-risk-empty p {
  margin: 0;
}

.admin-review-risk-empty h3 {
  color: #111c33;
  font-size: 1rem;
}

.admin-review-risk-empty p {
  color: #65708a;
  font-weight: 720;
  line-height: 1.38;
}

.admin-review-risk-standard {
  gap: 0.52rem;
}

.admin-review-risk-standard span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  align-items: center;
  column-gap: 0.55rem;
  padding: 0.68rem;
}

.admin-review-risk-standard svg {
  grid-area: icon;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0.48rem;
  border-radius: var(--radius-sm);
  background: #101a2f;
  color: #ffffff;
}

.admin-review-risk-standard strong {
  grid-area: title;
  color: #111c33;
  font-size: 0.86rem;
  line-height: 1.15;
}

.admin-review-risk-standard small {
  grid-area: copy;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.28;
}

.admin-decision-queue {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(17, 28, 51, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.88)),
    #101a2f;
  box-shadow: 0 18px 42px rgba(23, 105, 232, 0.16);
}

.admin-queue-copy,
.admin-queue-list {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  min-width: 0;
}

.admin-queue-copy .eyebrow,
.admin-queue-copy h2,
.admin-queue-copy .result-meta {
  color: #ffffff;
}

.admin-queue-copy .eyebrow {
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.admin-queue-copy h2 {
  max-width: 520px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.06;
}

.admin-queue-copy .result-meta {
  color: rgba(255, 255, 255, 0.76);
}

.admin-queue-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.admin-queue-summary span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.09);
}

.admin-queue-summary strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
}

.admin-queue-summary small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 780;
}

.admin-queue-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-queue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.68rem;
  align-items: center;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.admin-queue-item h3 {
  margin: 0.38rem 0 0.18rem;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.12;
}

.admin-queue-item small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 740;
  line-height: 1.3;
}

.admin-queue-item .status-dot {
  min-height: 1.8rem;
  font-size: 0.72rem;
}

.admin-queue-meter {
  display: grid;
  justify-items: end;
  gap: 0.22rem;
  min-width: 4.9rem;
}

.admin-queue-meter strong {
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
}

.admin-queue-meter small {
  color: rgba(255, 255, 255, 0.7);
}

.admin-queue-meter .icon-btn {
  width: 2.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.admin-queue-item.is-green {
  border-color: rgba(61, 214, 161, 0.28);
}

.admin-queue-item.is-gold {
  border-color: rgba(245, 164, 0, 0.34);
}

.admin-queue-item.is-orange {
  border-color: rgba(245, 104, 62, 0.38);
}

.admin-queue-item.is-blue {
  border-color: rgba(139, 184, 255, 0.32);
}

.admin-quality-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 255, 0.9)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.admin-control-main,
.admin-risk-panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-width: 0;
}

.admin-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.admin-metric-tile {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.admin-metric-tile div {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.admin-metric-tile svg {
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.admin-metric-tile span {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 840;
}

.admin-metric-tile strong {
  color: #111c33;
  font-size: 1.45rem;
  line-height: 1;
}

.admin-metric-tile em {
  display: block;
  height: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf6;
}

.admin-metric-tile b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1769e8, #3dd6a1);
}

.admin-risk-panel {
  padding: 0.9rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-risk-list {
  display: grid;
  gap: 0.55rem;
}

.admin-risk-list span {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.68rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #f8fbff;
}

.admin-risk-list strong {
  color: #111c33;
}

.admin-risk-list small {
  color: #65708a;
  font-weight: 720;
  line-height: 1.32;
}

.admin-provider-row {
  gap: 0.95rem;
}

.admin-audit-accordion {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-left: 4px solid #d9e4f1;
}

.admin-audit-accordion.is-orange,
.admin-audit-accordion.is-gold {
  border-left-color: #f2a900;
}

.admin-audit-accordion.is-blue {
  border-left-color: #1769e8;
}

.admin-audit-accordion.is-green {
  border-left-color: #2fb978;
}

.admin-audit-accordion[open] {
  gap: 0.78rem;
  padding-bottom: 0.9rem;
}

.admin-provider-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(110px, auto) auto;
  gap: 0.62rem;
  align-items: center;
  min-height: 4.55rem;
  padding: 0.82rem 0.9rem;
  cursor: pointer;
  list-style: none;
}

.admin-provider-summary::-webkit-details-marker {
  display: none;
}

.admin-provider-summary > span:nth-child(2) {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.admin-provider-summary strong,
.admin-provider-summary small,
.admin-provider-summary b,
.admin-provider-summary em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-provider-summary strong {
  color: #111c33;
  font-size: 1rem;
  line-height: 1.08;
}

.admin-provider-summary small {
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.22;
}

.admin-provider-summary b {
  justify-self: end;
  color: #111c33;
  font-size: 1.15rem;
  line-height: 1;
  white-space: nowrap;
}

.admin-provider-summary em {
  justify-self: end;
  color: #65708a;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 860;
  text-align: right;
}

.admin-provider-summary > svg {
  width: 1.22rem;
  height: 1.22rem;
  color: #64718b;
  transition: transform 180ms ease;
}

.admin-audit-accordion[open] .admin-provider-summary > svg {
  transform: rotate(180deg);
}

.admin-provider-body {
  display: grid;
  gap: 0.85rem;
  padding-inline: 0.9rem;
}

.admin-provider-body > .request-top {
  display: none;
}

.admin-audit-accordion:not([open]) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.94)),
    #ffffff;
}

.admin-audit-accordion:not([open]) .admin-provider-summary:hover {
  background: rgba(237, 244, 255, 0.72);
}

.admin-provider-review {
  display: grid;
  grid-template-columns: minmax(112px, 0.18fr) minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 0.72rem;
  align-items: stretch;
  min-width: 0;
}

.admin-provider-score {
  display: grid;
  gap: 0.2rem;
  align-content: center;
  min-height: 7.25rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: #101a2f;
  color: #ffffff;
}

.admin-provider-score span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 880;
  text-transform: uppercase;
}

.admin-provider-score strong {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.admin-provider-score small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 760;
}

.admin-provider-bars {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.admin-decision-card {
  display: grid;
  gap: 0.45rem;
  align-content: center;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-decision-card small {
  color: #65708a;
  font-weight: 720;
  line-height: 1.32;
}

.admin-audit-trail {
  display: grid;
  gap: 0.6rem;
  padding: 0.72rem;
  border: 1px solid rgba(217, 228, 241, 0.95);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92)),
    #ffffff;
}

.admin-audit-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem;
  align-items: center;
}

.admin-audit-head strong {
  color: #111c33;
  font-size: 0.88rem;
}

.admin-audit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.admin-audit-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon value";
  gap: 0.06rem 0.42rem;
  align-items: center;
  min-width: 0;
  padding: 0.54rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.admin-audit-item svg {
  grid-area: icon;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.admin-audit-item strong {
  grid-area: title;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111c33;
  font-size: 0.78rem;
  line-height: 1.12;
  white-space: nowrap;
}

.admin-audit-item small {
  grid-area: value;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 740;
  line-height: 1.2;
  white-space: nowrap;
}

.admin-audit-item.is-done {
  border-color: rgba(61, 214, 161, 0.34);
  background: #effbf5;
}

.admin-audit-item.is-done svg {
  background: #d8f7e8;
  color: #0d6847;
}

.admin-audit-item.is-watch {
  border-color: rgba(245, 164, 0, 0.28);
  background: #fff8e8;
}

.admin-audit-item.is-watch svg {
  background: #fff0c2;
  color: #79520a;
}

.admin-audit-item.is-danger {
  border-color: rgba(179, 60, 44, 0.26);
  background: #fff1ee;
}

.admin-audit-item.is-danger svg {
  background: #ffe0d9;
  color: #983222;
}

.request-item {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.order-request-card {
  gap: 0.95rem;
  padding: 1rem;
  border-color: rgba(221, 230, 223, 0.95);
  box-shadow: 0 16px 38px rgba(27, 45, 38, 0.08);
}

.request-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.order-card-head {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.inquiry-accordion {
  display: grid;
  gap: 0;
  padding: 0;
}

.inquiry-accordion[open] {
  gap: 0.78rem;
  padding-bottom: 0.85rem;
}

.inquiry-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.62rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.8rem 0.85rem;
  cursor: pointer;
  list-style: none;
}

.inquiry-summary::-webkit-details-marker {
  display: none;
}

.inquiry-summary > span {
  min-width: 0;
}

.inquiry-summary > span:nth-child(2) {
  display: grid;
  gap: 0.14rem;
}

.inquiry-summary strong,
.inquiry-summary small,
.inquiry-summary b {
  min-width: 0;
  overflow-wrap: anywhere;
}

.inquiry-summary strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.1;
}

.inquiry-summary small {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.2;
}

.inquiry-summary b {
  justify-self: end;
  color: var(--ink);
  font-size: 1rem;
  white-space: nowrap;
}

.inquiry-summary > svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #64718b;
  transition: transform 180ms ease;
}

.inquiry-accordion[open] .inquiry-summary > svg {
  transform: rotate(180deg);
}

.inquiry-accordion-body {
  display: grid;
  gap: 0.82rem;
  padding-inline: 0.85rem;
}

.inquiry-accordion-body > .order-card-head {
  display: none;
}

.inquiry-accordion:not([open]) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.95)),
    #ffffff;
}

.inquiry-accordion:not([open]) .inquiry-summary:hover {
  background: rgba(237, 244, 255, 0.72);
}

.inquiry-decision-strip {
  display: grid;
  grid-template-columns: auto minmax(130px, 0.5fr) minmax(0, 1fr);
  gap: 0.58rem;
  align-items: center;
  padding: 0.62rem;
  border: 1px solid rgba(215, 226, 239, 0.96);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(247, 250, 255, 0.96), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.inquiry-decision-strip.is-offer_pending_customer,
.inquiry-decision-strip.is-new,
.inquiry-decision-strip.is-offer_pending_provider {
  border-color: rgba(242, 210, 151, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.inquiry-decision-strip strong {
  color: #111c33;
  font-weight: 910;
  line-height: 1.1;
}

.inquiry-decision-strip small {
  min-width: 0;
  overflow: hidden;
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 790;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-card-title {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.order-number,
.order-current-step {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.38rem;
  min-height: 2rem;
  padding: 0 0.58rem;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.order-number.status-dot.green {
  background: #dff4e9;
  color: #0b6042;
}

.order-number.status-dot.blue {
  background: #e0f0ff;
  color: #14547f;
}

.order-number.status-dot.gold {
  background: #fff0c2;
  color: #79520a;
}

.order-number.status-dot.orange {
  background: var(--accent-soft);
  color: #873419;
}

.order-number.status-dot.violet {
  background: #e9e3ff;
  color: #4b3595;
}

.order-number.status-dot.muted {
  background: var(--surface-strong);
  color: var(--muted);
}

.order-card-title h3 {
  margin: 0;
}

.order-safe-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 0.72rem;
  align-items: stretch;
  padding: 0.78rem;
  border: 1px solid rgba(23, 105, 232, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(237, 244, 255, 0.94), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.order-safe-copy {
  display: grid;
  align-content: center;
  gap: 0.4rem;
  min-width: 0;
}

.order-safe-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.15;
}

.order-safe-copy p {
  margin: 0;
  color: #65708a;
  font-weight: 760;
}

.order-safe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.order-safe-grid span {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.64rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.order-safe-grid svg {
  width: 1.65rem;
  height: 1.65rem;
  padding: 0.34rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.order-safe-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.05;
}

.order-safe-grid small {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.28;
}

.provider-response-console {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(23, 105, 232, 0.17);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242, 247, 255, 0.96), rgba(255, 255, 255, 0.98)),
    var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.provider-response-console.is-urgent {
  border-color: rgba(243, 184, 58, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

.provider-response-console.is-success {
  border-color: rgba(58, 181, 119, 0.34);
  background:
    linear-gradient(135deg, rgba(239, 251, 245, 0.98), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

.customer-decision-console {
  border-color: rgba(23, 105, 232, 0.2);
  background:
    linear-gradient(135deg, rgba(246, 250, 255, 0.98), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

.customer-decision-console.is-urgent {
  border-color: rgba(243, 184, 58, 0.56);
  background:
    linear-gradient(135deg, rgba(255, 249, 234, 0.98), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

.customer-decision-console .response-console-next {
  border-color: rgba(23, 105, 232, 0.18);
  background: rgba(255, 255, 255, 0.9);
}

.customer-decision-console.is-urgent .response-console-next > svg {
  background: #fff0c2;
  color: #8a5a08;
}

.response-console-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.46fr);
  gap: 0.7rem;
  align-items: stretch;
}

.response-console-copy {
  display: grid;
  align-content: center;
  gap: 0.38rem;
  min-width: 0;
}

.response-console-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.13rem;
  line-height: 1.14;
}

.response-console-copy p {
  margin: 0;
  color: #65708a;
  font-weight: 760;
}

.response-console-next {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid rgba(23, 105, 232, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.response-console-next > svg {
  width: 2rem;
  height: 2rem;
  padding: 0.43rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.response-console-next div {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.response-console-next strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.08;
}

.response-console-next span {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.3;
}

.response-console-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.48rem;
}

.response-console-metric {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.48rem;
  align-items: center;
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
}

.response-console-metric > svg {
  width: 1.85rem;
  height: 1.85rem;
  padding: 0.38rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.response-console-metric span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.response-console-metric strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.05;
}

.response-console-metric small {
  min-width: 0;
  overflow-wrap: break-word;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.22;
}

.request-price {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
  white-space: nowrap;
}

.request-price strong {
  font-size: 1.1rem;
}

.request-price small {
  color: var(--muted);
  font-weight: 760;
}

.request-item p {
  color: var(--muted);
  line-height: 1.45;
}

.order-progress {
  display: grid;
  gap: 0.7rem;
}

.order-progress-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.order-progress-head small {
  color: var(--muted);
  font-weight: 760;
}

.order-stepper {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}

.order-stepper::-webkit-scrollbar {
  display: none;
}

.order-step {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 0.42rem;
  flex: 0 0 6.4rem;
  min-width: 0;
  padding: 0.62rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.order-step-icon {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--muted);
  flex: 0 0 auto;
}

.order-step-copy {
  display: grid;
  justify-items: center;
  min-width: 0;
  gap: 0.05rem;
  text-align: center;
}

.order-step-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-step-copy strong {
  max-width: 100%;
  color: var(--ink);
  font-size: 0.82rem;
}

.order-step-copy small {
  display: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 740;
}

.order-step.is-done {
  border-color: rgba(15, 123, 108, 0.24);
  background: #effbf5;
}

.order-step.is-done .order-step-icon {
  background: var(--brand);
  color: white;
}

.submit-assurance {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 780;
}

.submit-assurance svg {
  width: 1rem;
  height: 1rem;
  color: #1769e8;
}

.order-step.is-current {
  border-color: rgba(185, 217, 104, 0.5);
  background: linear-gradient(135deg, #13231f, #0f7b6c);
  box-shadow: 0 16px 30px rgba(15, 123, 108, 0.2);
}

.order-step.is-current .order-step-icon {
  background: white;
  color: var(--brand-dark);
}

.order-step.is-current .order-step-copy strong,
.order-step.is-current .order-step-copy small {
  color: white;
}

.order-step.is-muted {
  opacity: 0.62;
}

.order-progress.is-cancelled .order-current-step {
  background: #f4eeee;
  color: #8e2e2e;
}

.order-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.order-action-grid span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  align-items: center;
  column-gap: 0.55rem;
  min-width: 0;
  min-height: 4rem;
  padding: 0.7rem;
  border: 1px solid rgba(221, 230, 223, 0.94);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.order-action-grid svg {
  grid-area: icon;
  color: var(--brand-dark);
}

.order-action-grid strong {
  grid-area: value;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: 0.98rem;
}

.order-action-grid small {
  grid-area: label;
  min-width: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 780;
}

.order-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.section-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.deal-summary {
  display: grid;
  gap: 0.45rem;
}

.deal-summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2.2rem;
  padding: 0 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 760;
}

.offer-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid rgba(15, 123, 108, 0.25);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #effbf5, #ffffff);
}

.offer-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.45rem;
  line-height: 1;
}

.deal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  grid-template-areas:
    "price actions"
    "checks checks";
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.85rem;
  border: 1px solid rgba(15, 123, 108, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(239, 251, 245, 0.95), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

.deal-panel.is-actionable {
  border-color: rgba(23, 105, 232, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(23, 105, 232, 0.08),
    0 16px 36px rgba(23, 105, 232, 0.08);
}

.deal-panel.is-confirmed {
  border-color: rgba(61, 214, 161, 0.34);
  background:
    linear-gradient(135deg, rgba(239, 251, 245, 0.98), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

.deal-price {
  grid-area: price;
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

.deal-price .tiny-label {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.35rem;
}

.deal-price strong {
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
}

.deal-price p {
  margin: 0;
  color: var(--muted);
  font-weight: 760;
}

.deal-price small {
  color: var(--muted);
  font-weight: 720;
  line-height: 1.35;
}

.deal-checkout-grid {
  grid-area: checks;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.48rem;
  min-width: 0;
}

.deal-checkout-grid span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  align-items: center;
  gap: 0.04rem 0.48rem;
  min-width: 0;
  min-height: 4.45rem;
  padding: 0.62rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
}

.deal-checkout-grid svg {
  grid-area: icon;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0.38rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.deal-checkout-grid strong {
  grid-area: value;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  color: #111c33;
  font-size: 0.98rem;
  line-height: 1.08;
}

.deal-checkout-grid small {
  grid-area: label;
  min-width: 0;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.24;
}

.deal-actions {
  grid-area: actions;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 0.55rem;
  min-width: 12rem;
}

.deal-actions .btn {
  width: 100%;
  min-height: 2.65rem;
}

.deal-actions .deal-primary {
  background: linear-gradient(135deg, #1769e8, #0b55d9);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(23, 105, 232, 0.18);
}

.deal-action-note {
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.3;
  text-align: right;
}

.deal-confirmed,
.deal-waiting {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2.3rem;
  padding: 0 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.deal-waiting {
  color: var(--muted);
}

.chat-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.chat-panel-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  list-style: none;
  font-weight: 850;
}

.chat-panel-trigger::-webkit-details-marker {
  display: none;
}

.chat-panel-trigger span,
.chat-panel-trigger small {
  min-width: 0;
}

.chat-panel-trigger span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
}

.chat-panel-trigger small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-panel-trigger > svg:last-child {
  transition: transform 160ms ease;
}

.chat-panel[open] .chat-panel-trigger > svg:last-child {
  transform: rotate(180deg);
}

.chat-panel-body {
  display: grid;
  gap: 0.75rem;
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid var(--line);
}

.empty-chat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 3rem;
  color: var(--muted);
  font-weight: 760;
}

.message-thread {
  display: grid;
  gap: 0.5rem;
  max-height: 360px;
  overflow: auto;
  padding: 0.25rem;
}

.message-bubble {
  display: grid;
  gap: 0.35rem;
  max-width: 94%;
  padding: 0.7rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.message-bubble.provider {
  justify-self: end;
  background: #e7f5ef;
}

.message-bubble.customer {
  justify-self: start;
}

.message-meta {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 820;
}

.workflow-actions {
  display: grid;
  gap: 0.6rem;
}

.review-quickstart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.68rem;
  align-items: center;
  padding: 0.72rem;
  border: 1px solid rgba(242, 210, 151, 0.92);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(255, 255, 255, 0.98) 62%),
    #ffffff;
  box-shadow: 0 12px 32px rgba(180, 128, 33, 0.1);
}

.review-quickstart > div {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

.review-quickstart strong {
  min-width: 0;
  color: #111c33;
  font-size: 1rem;
  font-weight: 930;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.review-quickstart small {
  min-width: 0;
  color: #65708a;
  font-size: 0.8rem;
  font-weight: 780;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.review-quickstart .btn {
  justify-self: end;
  min-height: 2.65rem;
  white-space: nowrap;
}

.compact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--tap);
  gap: 0.5rem;
}

.offer-grid,
.invoice-grid {
  display: grid;
  gap: 0.5rem;
}

.fee-box {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.fee-box.warning {
  border-color: #f3cf77;
  background: #fff8e8;
}

.fee-box.success {
  border-color: #9bd7b3;
  background: #effbf5;
}

.fee-box span {
  color: var(--muted);
  line-height: 1.35;
}

.image-strip {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
}

.image-strip img {
  width: 88px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--line);
}

.status-button {
  min-height: 2.45rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.status-button.is-active {
  color: white;
  background: var(--brand);
  border-color: var(--brand);
}

.customer-thread-grid {
  display: grid;
  gap: 1rem;
}

.customer-thread-grid .customer-inquiry-card[open] {
  grid-column: 1 / -1;
}

.customer-thread-grid .order-safe-panel {
  grid-template-columns: 1fr;
}

.customer-thread-grid .order-safe-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-thread-grid .order-safe-grid span {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  align-items: center;
  column-gap: 0.5rem;
}

.customer-thread-grid .order-safe-grid svg {
  grid-area: icon;
}

.customer-thread-grid .order-safe-grid strong {
  grid-area: value;
}

.customer-thread-grid .order-safe-grid small {
  grid-area: label;
}

.customer-lookup {
  max-width: 560px;
}

.rating-breakdown {
  display: grid;
  gap: 0.48rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.rating-bar {
  display: grid;
  grid-template-columns: minmax(104px, 0.8fr) minmax(90px, 1fr) 2.8rem;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 780;
}

.rating-bar div {
  overflow: hidden;
  height: 0.5rem;
  border-radius: 999px;
  background: #d6ded8;
}

.rating-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.review-box {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.review-form {
  scroll-margin-top: 9rem;
}

.premium-review-box {
  gap: 0.9rem;
  padding: clamp(0.85rem, 2vw, 1.1rem);
  border-color: rgba(21, 111, 191, 0.24);
  background:
    linear-gradient(140deg, rgba(235, 245, 255, 0.96), rgba(255, 255, 255, 0.98) 44%, rgba(239, 252, 246, 0.96)),
    var(--surface-strong);
  box-shadow: 0 18px 48px rgba(15, 35, 66, 0.08);
}

.review-head {
  display: grid;
  gap: 0.75rem;
  align-items: stretch;
}

.review-title-block {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.review-title-block h3 {
  margin: 0;
  color: #101b32;
  font-size: clamp(1.08rem, 2.4vw, 1.45rem);
  letter-spacing: 0;
}

.review-title-block p {
  max-width: 720px;
  margin: 0;
  color: #5d6a82;
  font-size: 0.92rem;
  font-weight: 740;
  line-height: 1.48;
}

.review-provider-card {
  display: grid;
  align-content: center;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid rgba(21, 111, 191, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.review-provider-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 900;
}

.review-provider-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.review-signal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.review-signal-grid span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.08rem 0.5rem;
  align-items: center;
  min-width: 0;
  min-height: 4.15rem;
  padding: 0.62rem;
  border: 1px solid rgba(21, 111, 191, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.review-signal-grid svg {
  grid-row: 1 / span 2;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.34rem;
  border-radius: 0.62rem;
  background: #e7f0ff;
  color: var(--brand);
}

.review-signal-grid strong,
.review-signal-grid small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.review-signal-grid strong {
  color: #101b32;
  font-size: 0.88rem;
  font-weight: 900;
}

.review-signal-grid small {
  color: #66728a;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.24;
}

.review-impact-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
  gap: 0.62rem;
  align-items: stretch;
  padding: 0.68rem;
  border: 1px solid rgba(23, 105, 232, 0.22);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.92) 64%, rgba(61, 214, 161, 0.72)),
    #101a2f;
  color: #ffffff;
}

.review-impact-copy {
  display: grid;
  align-content: center;
  gap: 0.28rem;
  min-width: 0;
}

.review-impact-copy .tiny-label {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  width: fit-content;
  color: rgba(255, 255, 255, 0.74);
}

.review-impact-copy .tiny-label svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #9ee8c8;
}

.review-impact-copy strong {
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.12;
}

.review-impact-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.3;
}

.review-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.review-impact-grid span {
  display: grid;
  gap: 0.12rem;
  align-content: center;
  min-width: 0;
  min-height: 4.15rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
}

.review-impact-grid svg {
  width: 1.45rem;
  height: 1.45rem;
  padding: 0.32rem;
  border-radius: 0.58rem;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.review-impact-grid strong,
.review-impact-grid small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-impact-grid strong {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.review-impact-grid small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
  font-weight: 760;
}

.premium-rating-stack {
  display: grid;
  gap: 0.54rem;
}

.issue-box {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.issue-grid {
  display: grid;
  gap: 0.35rem;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rating-row > span:not(.rating-label) {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 820;
}

.premium-rating-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.68rem 0.72rem;
  border: 1px solid rgba(19, 39, 73, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.rating-label {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  color: var(--ink);
}

.rating-label > svg {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0.48rem;
  border-radius: 0.7rem;
  background: #edf5ff;
  color: var(--brand);
}

.rating-label > span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.rating-label strong {
  min-width: 0;
  color: #111c33;
  font-size: 0.94rem;
  font-weight: 900;
}

.rating-label small {
  min-width: 0;
  color: #66728a;
  font-size: 0.75rem;
  font-weight: 760;
  line-height: 1.26;
}

.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.08rem;
}

.star-input input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.star-input label {
  cursor: pointer;
  color: #c9d0cc;
  font-size: 1.55rem;
  line-height: 1;
}

.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: #f2a900;
}

.review-evidence-panel {
  gap: 0.72rem;
  padding: 0.78rem;
  border-color: rgba(207, 159, 39, 0.32);
  background: linear-gradient(135deg, rgba(255, 249, 231, 0.88), rgba(255, 255, 255, 0.94));
}

.review-evidence-panel summary {
  list-style: none;
}

.review-evidence-panel summary::-webkit-details-marker {
  display: none;
}

.review-evidence-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  cursor: pointer;
}

.review-evidence-summary span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.review-evidence-summary b {
  color: #151f35;
  font-size: 0.94rem;
  line-height: 1.12;
}

.review-evidence-summary small {
  color: #647087;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.26;
}

.review-evidence-summary > svg {
  width: 2rem;
  height: 2rem;
  padding: 0.46rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #9a6504;
  transition: transform 160ms ease;
}

.review-evidence-panel[open] .review-evidence-summary > svg {
  transform: rotate(180deg);
}

.review-evidence-panel.is-required {
  border-color: rgba(185, 91, 39, 0.46);
  background: linear-gradient(135deg, rgba(255, 242, 232, 0.96), rgba(255, 255, 255, 0.95));
}

.review-evidence-body {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.72rem;
}

.review-evidence-copy {
  display: grid;
  gap: 0.24rem;
}

.review-evidence-copy strong {
  color: #151f35;
  font-size: 0.94rem;
  font-weight: 900;
}

.review-evidence-copy p {
  margin: 0;
  color: #647087;
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.42;
}

.review-evidence-panel .issue-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.45rem;
}

.review-evidence-panel .checkline {
  min-width: 0;
  padding: 0.58rem 0.62rem;
  border: 1px solid rgba(207, 159, 39, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  color: #18243b;
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.review-upload {
  border-color: rgba(21, 111, 191, 0.28);
  background: linear-gradient(135deg, #f3f8ff, #ffffff);
}

.review-text-field {
  display: grid;
  gap: 0.42rem;
}

.review-text-field > span {
  color: #101b32;
  font-size: 0.86rem;
  font-weight: 900;
}

.review-text-field textarea {
  min-height: 128px;
  background: rgba(255, 255, 255, 0.92);
}

.review-submit-row {
  display: grid;
  gap: 0.62rem;
  align-items: center;
}

.review-submit-row .btn {
  width: 100%;
}

.review-submit-note {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: min(100%, 260px);
  color: #5d6a82;
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.28;
}

.review-submit-note svg {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--brand);
}

.checkline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: var(--tap);
}

.checkline input {
  width: 1.15rem;
  min-height: 1.15rem;
  accent-color: var(--brand);
}

.detail-grid {
  display: grid;
  gap: 1rem;
}

.provider-profile-page {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: start;
  padding: 0.25rem 0 1.5rem;
}

.profile-main {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.profile-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  min-height: 2.4rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.profile-breadcrumb strong {
  color: var(--ink);
}

.profile-breadcrumb svg {
  width: 0.92rem;
  height: 0.92rem;
}

.profile-card,
.booking-form,
.profile-trust-row {
  border: 1px solid rgba(223, 231, 242, 0.98);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.profile-summary {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.86)),
    #ffffff;
}

.profile-photo-wrap {
  display: grid;
  gap: 0.68rem;
  width: min(320px, 100%);
}

.profile-media-frame {
  position: relative;
  min-width: 0;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid rgba(217, 228, 241, 0.96);
  box-shadow: 0 18px 44px rgba(19, 36, 68, 0.16);
}

.verified-float {
  position: absolute;
  left: 0.55rem;
  bottom: -0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(19, 36, 68, 0.11);
}

.profile-media-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.profile-media-stats span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  min-height: 4rem;
  align-content: center;
  padding: 0.62rem;
  border: 1px solid rgba(217, 228, 241, 0.96);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.84);
}

.profile-media-stats strong {
  color: #101a2f;
  font-size: 1.18rem;
  line-height: 1;
}

.profile-media-stats small {
  color: #65708a;
  font-size: 0.73rem;
  font-weight: 800;
}

.profile-copy {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  min-width: 0;
}

.profile-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.provider-subtitle {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 760;
}

.profile-rating-row,
.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
}

.profile-rating-row {
  color: var(--ink);
  font-weight: 780;
}

.profile-rating-row span,
.profile-rating-row a,
.profile-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.profile-rating-row svg {
  color: var(--accent);
  fill: currentColor;
}

.profile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.profile-hero-actions .btn {
  min-width: 10.5rem;
}

.profile-assurance-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.profile-assurance-strip span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  align-items: center;
  column-gap: 0.5rem;
  min-width: 0;
  min-height: 4.1rem;
  padding: 0.65rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 255, 0.78)),
    #ffffff;
}

.profile-assurance-strip svg {
  grid-area: icon;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.profile-assurance-strip strong {
  grid-area: title;
  min-width: 0;
  color: #111c33;
  font-size: 0.86rem;
  line-height: 1.08;
}

.profile-assurance-strip small {
  grid-area: copy;
  min-width: 0;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.24;
}

.profile-rating-row a {
  color: var(--brand-dark);
}

.profile-facts {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
}

.profile-facts svg {
  color: var(--brand-dark);
}

.profile-value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.profile-value-strip span {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  min-height: 4rem;
  align-content: center;
  padding: 0.62rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.profile-value-strip strong {
  min-width: 0;
  overflow: hidden;
  color: #101a2f;
  font-size: 1rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-value-strip small {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.25;
}

.profile-tags .tag {
  background: #edf5ff;
  color: var(--brand-dark);
}

.profile-decision-dock {
  position: relative;
  display: grid;
  gap: 0.85rem;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.25rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.96)),
    #ffffff;
}

.profile-decision-dock::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.36rem;
  background: linear-gradient(180deg, #1769e8, #3dd6a1);
}

.decision-dock-copy {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.decision-dock-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.38rem, 2.4vw, 1.9rem);
  line-height: 1.08;
}

.decision-dock-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-weight: 690;
  line-height: 1.5;
}

.decision-dock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.12rem;
}

.decision-dock-actions .btn {
  min-width: 10.5rem;
}

.decision-dock-metrics,
.decision-dock-evidence {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.decision-dock-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-dock-metrics span {
  display: grid;
  gap: 0.12rem;
  align-content: center;
  min-width: 0;
  min-height: 5.35rem;
  padding: 0.78rem;
  border: 1px solid rgba(205, 222, 244, 0.95);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
}

.decision-dock-metrics small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.24;
}

.decision-dock-metrics strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(1.12rem, 2.2vw, 1.5rem);
  line-height: 1.05;
}

.decision-dock-evidence {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.decision-dock-evidence span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.08rem 0.5rem;
  align-items: center;
  min-width: 0;
  padding: 0.68rem;
  border: 1px solid rgba(205, 222, 244, 0.82);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.decision-dock-evidence svg {
  grid-row: span 2;
  width: 1.95rem;
  height: 1.95rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: var(--brand);
}

.decision-dock-evidence strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.2;
}

.decision-dock-evidence small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 720;
  line-height: 1.28;
}

.profile-services {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.profile-services h2,
.profile-section-head h2 {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  font-size: 1.18rem;
}

.service-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.service-checklist li {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  font-size: 0.93rem;
}

.service-checklist svg {
  flex: 0 0 auto;
  color: var(--brand);
}

.service-illustration {
  position: relative;
  display: grid;
  width: clamp(120px, 15vw, 180px);
  aspect-ratio: 1.25;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e9f3ff, #ffffff 72%);
  color: var(--brand);
}

.service-illustration svg {
  width: 4.4rem;
  height: 4.4rem;
  stroke-width: 1.7;
}

.service-illustration span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
}

.profile-reviews {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.profile-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.profile-section-head > span {
  display: inline-flex;
  gap: 0.32rem;
  align-items: center;
  color: var(--accent);
  font-weight: 850;
}

.profile-review {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.review-avatar {
  display: inline-grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  font-weight: 900;
}

.review-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  align-items: center;
}

.review-title span {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  color: var(--accent);
  font-weight: 830;
}

.profile-review p {
  margin: 0.28rem 0 0;
  color: var(--ink);
  line-height: 1.45;
}

.profile-review time {
  color: var(--muted);
  font-size: 0.83rem;
  white-space: nowrap;
}

.profile-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.85rem;
}

.profile-trust-row span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.6rem;
  align-items: center;
  min-width: 0;
}

.profile-trust-row svg {
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: 50%;
  background: #e5f0ff;
  color: var(--brand);
}

.profile-trust-row small {
  color: var(--muted);
  font-size: 0.8rem;
}

.profile-mobile-booking-preview {
  display: none;
}

.mobile-profile-action-bar {
  display: none;
}

.booking-panel {
  min-width: 0;
}

.request-form {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.app-request-form {
  gap: 0.85rem;
  border-color: rgba(23, 105, 232, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.92)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.booking-form {
  position: sticky;
  top: 8.7rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.request-form-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.request-form-head h3 {
  margin-top: 0.18rem;
  font-size: 1.25rem;
}

.booking-decision-strip {
  display: grid;
  gap: 0.5rem;
}

.booking-decision-strip span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  align-items: center;
  column-gap: 0.55rem;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
}

.booking-decision-strip svg {
  grid-area: icon;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.booking-decision-strip strong {
  grid-area: title;
  color: #111c33;
  line-height: 1.1;
}

.booking-decision-strip small {
  grid-area: copy;
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.28;
}

.booking-slot-picker {
  display: grid;
  gap: 0.52rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.booking-slot-picker legend,
.booking-slot-empty > span {
  color: #17213a;
  font-size: 0.84rem;
  font-weight: 880;
}

.booking-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.booking-slot-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.booking-slot-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.booking-slot-option span,
.booking-slot-empty {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  min-height: 4.4rem;
  align-content: center;
  padding: 0.65rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 32, 54, 0.045);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.booking-slot-option:hover span {
  border-color: rgba(23, 105, 232, 0.36);
  transform: translateY(-1px);
}

.booking-slot-option input:focus-visible + span {
  outline: 3px solid rgba(23, 105, 232, 0.24);
  outline-offset: 2px;
}

.booking-slot-option input:checked + span {
  border-color: rgba(23, 105, 232, 0.7);
  background:
    linear-gradient(145deg, rgba(237, 244, 255, 0.98), rgba(255, 255, 255, 0.94)),
    #ffffff;
  box-shadow: 0 14px 28px rgba(23, 105, 232, 0.13);
}

.booking-slot-option strong,
.booking-slot-empty strong {
  color: #101a2f;
  font-size: 0.9rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.booking-slot-option small,
.booking-slot-empty small,
.booking-slot-option em {
  color: #65708a;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.booking-slot-option input:checked + span strong {
  color: #1769e8;
}

.request-grid {
  display: grid;
  gap: 0.75rem;
}

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

.booking-form textarea {
  min-height: 92px;
}

.booking-assurance {
  display: grid;
  gap: 0.52rem;
}

.booking-assurance span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.55rem;
  align-items: center;
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.booking-assurance svg {
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.booking-assurance strong {
  color: #111c33;
  font-size: 0.88rem;
}

.booking-assurance small {
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.3;
}

.price-overview {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.booking-price-summary {
  padding: 0.72rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(237, 244, 255, 0.94), rgba(255, 255, 255, 0.96)),
    #ffffff;
}

.price-overview div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-overview strong {
  color: var(--ink);
}

.price-overview .price-total {
  align-items: center;
  margin-top: 0.18rem;
  color: var(--ink);
  font-weight: 850;
}

.price-overview .price-total strong {
  color: var(--brand);
  font-size: 1.22rem;
}

.booking-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.38rem;
  padding-top: 0.2rem;
}

.booking-flow span {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  min-width: 0;
  min-height: 3.45rem;
  align-content: center;
  padding: 0.45rem 0.25rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #17325f;
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
}

.booking-flow svg {
  color: #1769e8;
}

.booking-note {
  display: inline-flex;
  justify-content: center;
  gap: 0.35rem;
  align-items: center;
  color: var(--muted);
  text-align: center;
}

.customer-trust-card {
  align-content: start;
  background:
    linear-gradient(135deg, #ffffff, #edf4ff),
    #ffffff;
}

.customer-trust-card h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}

.customer-trust-list {
  display: grid;
  gap: 0.6rem;
}

.customer-trust-list span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.58rem;
  align-items: center;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.customer-trust-list svg {
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.customer-trust-list small {
  color: #65708a;
  font-size: 0.8rem;
  font-weight: 720;
  line-height: 1.32;
}

.pending-request-board {
  display: grid;
  grid-template-columns: minmax(180px, 0.22fr) minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: clamp(0.85rem, 2vw, 1rem);
  border: 1px solid rgba(195, 211, 232, 0.95);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 246, 0.94)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.08);
}

.pending-provider-media {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9f1fb;
}

.pending-provider-media img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.pending-provider-media span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 2.25rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: #102044;
  font-weight: 860;
  box-shadow: 0 12px 28px rgba(20, 32, 54, 0.12);
}

.pending-provider-copy {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  min-width: 0;
  padding: clamp(0.2rem, 1vw, 0.6rem);
}

.pending-provider-copy h2 {
  max-width: 760px;
  color: #111c33;
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  line-height: 0.98;
}

.pending-provider-copy .result-meta {
  max-width: 660px;
  font-size: 1rem;
}

.pending-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pending-request-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.pending-request-rail span {
  display: grid;
  align-content: space-between;
  gap: 0.32rem;
  min-width: 0;
  min-height: 6.6rem;
  padding: 0.75rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.pending-request-rail svg {
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.pending-request-rail strong {
  color: #111c33;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1;
}

.pending-request-rail small {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.25;
}

.customer-safe-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(217, 228, 241, 0.95);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.customer-safe-main,
.customer-safe-meter {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-width: 0;
}

.customer-safe-main h2 {
  max-width: 780px;
  color: #111c33;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.04;
}

.customer-safe-main .result-meta {
  max-width: 820px;
}

.customer-safe-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.customer-safe-flow span {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.customer-safe-flow b {
  display: inline-grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #111c33;
  color: #ffffff;
  font-size: 0.8rem;
}

.customer-safe-flow strong,
.customer-safe-rules strong {
  color: #111c33;
}

.customer-safe-flow small,
.customer-safe-rules small,
.customer-safe-meter small {
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 740;
  line-height: 1.3;
}

.customer-safe-meter {
  padding: 0.9rem;
  border: 1px solid rgba(23, 105, 232, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
}

.customer-safe-meter .tiny-label,
.customer-safe-meter > small {
  color: rgba(255, 255, 255, 0.74);
}

.customer-safe-meter > strong {
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 4.2rem);
  line-height: 0.9;
}

.customer-safe-rules {
  display: grid;
  gap: 0.48rem;
}

.customer-safe-rules span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  gap: 0.08rem 0.48rem;
  align-items: center;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
}

.customer-safe-rules svg {
  grid-area: icon;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.38rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.customer-safe-rules strong {
  grid-area: value;
  color: #ffffff;
  line-height: 1;
}

.customer-safe-rules small {
  grid-area: label;
  color: rgba(255, 255, 255, 0.74);
}

.customer-dashboard-shell {
  gap: 1rem;
}

.customer-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.95)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.customer-command-main,
.customer-next-card,
.customer-empty-launch,
.customer-suggestion-block {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.customer-safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.customer-safety-grid span,
.customer-start-steps span {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.customer-safety-grid svg,
.customer-start-steps svg {
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.customer-safety-grid strong {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1;
}

.customer-safety-grid small,
.customer-start-steps small,
.suggestion-signals span {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.35;
}

.customer-next-card {
  align-content: start;
  padding: 1rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: #ffffff;
}

.customer-next-card-mobile {
  display: none;
}

.customer-next-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.customer-next-card p {
  color: #65708a;
  line-height: 1.48;
}

.mini-provider.compact {
  width: 100%;
  min-height: 4.6rem;
  justify-content: start;
  text-align: left;
}

.customer-start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.customer-start-steps strong {
  color: var(--ink);
}

.customer-suggestion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.customer-suggestion-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.72rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.customer-suggestion-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.customer-suggestion-card h3 {
  margin-top: 0.25rem;
}

.suggestion-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.suggestion-signals span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.8rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #17325f;
}

.suggestion-signals svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #1769e8;
}

.suggestion-actions {
  display: grid;
  grid-template-columns: 1fr var(--tap);
  gap: 0.5rem;
}

.provider-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.provider-command-main,
.provider-next-card {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.provider-ops-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.provider-ops-grid span,
.provider-market-pulse span {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.provider-ops-grid svg,
.provider-market-pulse svg {
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-ops-grid strong {
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1;
}

.provider-ops-grid small,
.provider-market-pulse small {
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.32;
}

.provider-market-pulse {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.provider-market-pulse span {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  align-items: center;
  column-gap: 0.55rem;
}

.provider-market-pulse svg {
  grid-area: icon;
}

.provider-market-pulse strong {
  grid-area: value;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-market-pulse small {
  grid-area: label;
}

.provider-flow-snapshot {
  display: grid;
  gap: 0.58rem;
  padding: 0.72rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.94)),
    #ffffff;
}

.provider-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.provider-flow-head > div {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.provider-flow-head strong {
  color: #111c33;
  font-size: 1.02rem;
  line-height: 1.1;
}

.provider-flow-head .btn {
  min-height: 2.3rem;
  padding-inline: 0.68rem;
}

.provider-flow-lanes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.42rem;
}

.provider-flow-lanes span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon count"
    "icon value";
  align-items: center;
  gap: 0.04rem 0.42rem;
  min-width: 0;
  min-height: 4.5rem;
  padding: 0.52rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.provider-flow-lanes span.is-active {
  border-color: rgba(23, 105, 232, 0.28);
  background: #f0f7ff;
}

.provider-flow-lanes svg {
  grid-area: icon;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0.34rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-flow-lanes strong {
  grid-area: label;
  color: #65708a;
  font-size: 0.7rem;
  font-weight: 860;
  line-height: 1.1;
}

.provider-flow-lanes b {
  grid-area: count;
  color: #111c33;
  font-size: 1.15rem;
  line-height: 1;
}

.provider-flow-lanes small {
  grid-area: value;
  min-width: 0;
  overflow: hidden;
  color: #65708a;
  font-size: 0.68rem;
  font-weight: 780;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-next-card {
  align-content: start;
  padding: 1rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: #ffffff;
}

.provider-next-card-mobile {
  display: none;
}

.provider-next-card h3 {
  font-size: clamp(1.22rem, 2vw, 1.6rem);
}

.provider-next-card p {
  color: #65708a;
  line-height: 1.48;
}

.provider-next-meta {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.1rem;
}

.provider-next-meta strong {
  color: var(--ink);
}

.provider-lead-radar {
  display: grid;
  gap: 0.8rem;
  min-height: 21rem;
  align-content: center;
  padding: clamp(0.85rem, 2vw, 1.1rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.9)),
    #ffffff;
}

.lead-radar-copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.lead-radar-copy h3 {
  color: var(--ink);
  font-size: clamp(1.28rem, 2.6vw, 1.9rem);
  line-height: 1.05;
}

.lead-radar-copy p {
  max-width: 640px;
  color: #65708a;
  font-weight: 720;
  line-height: 1.45;
}

.lead-radar-metrics,
.lead-radar-flow {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.lead-radar-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lead-radar-metrics span,
.lead-radar-flow span {
  display: grid;
  min-width: 0;
  padding: 0.68rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
}

.lead-radar-metrics span {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  column-gap: 0.52rem;
  align-items: center;
}

.lead-radar-metrics svg {
  grid-area: icon;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.lead-radar-metrics strong {
  grid-area: value;
  color: #101a2f;
  font-size: 1.22rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.lead-radar-metrics small {
  grid-area: label;
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 780;
}

.lead-radar-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lead-radar-flow span {
  gap: 0.22rem;
}

.lead-radar-flow b {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 0.5rem;
  background: #101a2f;
  color: #ffffff;
  font-size: 0.78rem;
}

.lead-radar-flow strong {
  color: #111c33;
  font-size: 0.9rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.lead-radar-flow small {
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.lead-radar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  width: min(420px, calc(100% - 2rem));
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 1rem 2.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer strong {
  color: #111c33;
  font-weight: 900;
}

.footer a {
  color: #0b55d9;
  font-weight: 820;
}

.link-button {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--brand-dark);
}

.hide-mobile {
  display: none;
}

.lucide {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2.25;
}

@media (min-width: 640px) {
  .field-grid {
    grid-template-columns: minmax(240px, 1.6fr) minmax(160px, 0.9fr) minmax(150px, 0.8fr);
  }

  .command-search {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .command-search .btn {
    grid-column: auto;
    width: auto;
  }

  .filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

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

  .search-actions {
    justify-content: space-between;
  }

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

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-signals {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .deal-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-grid,
  .invoice-grid {
    grid-template-columns: minmax(120px, 0.6fr) minmax(160px, 1fr) auto;
    align-items: center;
  }

  .slot-row {
    grid-template-columns: minmax(190px, 0.85fr) minmax(160px, 1fr);
  }

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

  .review-head {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  }

  .review-signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .premium-rating-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .review-submit-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .review-submit-row .btn {
    width: auto;
    min-width: 240px;
  }
}

@media (max-width: 760px) {
  .topbar {
    gap: 0.52rem;
    padding: calc(0.56rem + env(safe-area-inset-top)) 0.75rem 0.62rem;
    z-index: 70;
    backdrop-filter: none;
  }

  .topbar-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
  }

  .brand-copy {
    display: none;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: var(--tap);
    padding: 0;
  }

  .review-form {
    scroll-margin-top: 10.5rem;
  }

  .premium-review-box {
    gap: 0.7rem;
    padding: 0.68rem;
  }

  .review-head {
    gap: 0.55rem;
  }

  .review-title-block {
    gap: 0.32rem;
  }

  .review-title-block h3 {
    font-size: 1.12rem;
    line-height: 1.1;
  }

  .review-title-block p {
    display: none;
  }

  .review-provider-card {
    padding: 0.58rem;
  }

  .review-impact-panel {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.58rem;
  }

  .review-impact-copy {
    gap: 0.2rem;
  }

  .review-impact-copy strong {
    font-size: 0.98rem;
  }

  .review-impact-copy small {
    display: none;
  }

  .review-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.32rem;
  }

  .review-impact-grid span {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.04rem 0.38rem;
    min-height: 3.15rem;
    padding: 0.42rem;
  }

  .review-impact-grid svg {
    grid-row: 1 / span 2;
    width: 1.28rem;
    height: 1.28rem;
    padding: 0.26rem;
  }

  .review-impact-grid strong {
    font-size: 0.74rem;
  }

  .review-impact-grid small {
    font-size: 0.6rem;
  }

  .premium-rating-stack {
    gap: 0.42rem;
  }

  .premium-rating-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.38rem;
    min-height: 3.7rem;
    padding: 0.5rem;
  }

  .rating-label {
    gap: 0.42rem;
  }

  .rating-label > svg {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.32rem;
  }

  .rating-label strong {
    font-size: 0.82rem;
  }

  .rating-label small {
    display: none;
  }

  .star-input label {
    font-size: 1.28rem;
  }

  .review-evidence-panel {
    gap: 0;
    padding: 0.62rem;
  }

  .review-evidence-summary b {
    font-size: 0.86rem;
  }

  .review-evidence-summary small {
    font-size: 0.68rem;
  }

  .review-evidence-body {
    gap: 0.52rem;
    margin-top: 0.56rem;
  }

  .review-evidence-copy p {
    display: none;
  }

  .review-evidence-panel .issue-grid {
    grid-template-columns: 1fr;
    gap: 0.34rem;
  }

  .review-evidence-panel .checkline {
    min-height: 2.55rem;
    padding: 0.46rem 0.52rem;
  }

  .review-text-field textarea {
    min-height: 88px;
  }

  .review-quickstart {
    grid-template-columns: 1fr;
    padding: 0.68rem;
  }

  .review-quickstart .btn {
    justify-self: stretch;
    width: 100%;
  }

  .brand-logo {
    width: clamp(118px, 36vw, 148px);
    height: 42px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 7px 13px rgba(0, 0, 0, 0.2));
  }

  .topbar-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    min-height: 3rem;
    padding-left: 0.75rem;
  }

  .topbar-search input {
    min-height: 2.45rem;
  }

  .topbar-search button {
    min-width: 3rem;
    padding: 0;
  }

  .topbar-search button span {
    display: none;
  }

  .user-menu {
    grid-column: 2;
    grid-row: 1;
  }

  .user-menu-trigger {
    width: var(--tap);
    max-width: var(--tap);
    justify-content: center;
    padding: 0;
  }

  .user-menu-trigger span:not(.user-avatar),
  .user-menu-trigger > svg {
    display: none;
  }

  .category-nav {
    margin-inline: -0.75rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.02rem 0.75rem 0.18rem;
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-trigger {
    min-height: 2.4rem;
    padding-inline: 0.72rem;
  }

  .category-menu {
    position: fixed;
    top: calc(8.75rem + env(safe-area-inset-top));
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-height: min(430px, calc(100svh - 10rem));
    overflow: auto;
  }

  .category-menu-grid {
    grid-template-columns: 1fr;
  }

  .app {
    width: min(100% - 1rem, 1180px);
    padding-top: 0.9rem;
    padding-bottom: calc(2.2rem + env(safe-area-inset-bottom));
  }

  .service-hero {
    padding-top: 1rem;
  }

  .order-request-card {
    padding: 0.82rem;
  }

  .order-card-head {
    display: grid;
    gap: 0.65rem;
  }

  .order-card-head .request-price {
    justify-items: start;
    white-space: normal;
  }

  .inquiry-decision-strip {
    grid-template-columns: 1fr;
    gap: 0.42rem;
    padding: 0.68rem;
  }

  .inquiry-decision-strip small {
    white-space: normal;
  }

  .order-safe-panel {
    grid-template-columns: 1fr;
  }

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

  .response-console-head {
    grid-template-columns: 1fr;
  }

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

  .response-console-next {
    align-items: flex-start;
  }

  .order-progress-head {
    align-items: flex-start;
  }

  .order-stepper {
    gap: 0.45rem;
  }

  .order-step {
    flex: 0 0 8.7rem;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .order-step-copy {
    justify-items: start;
    text-align: left;
  }

  .order-step-copy small {
    display: block;
  }

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

  .deal-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "price"
      "checks"
      "actions";
  }

  .deal-checkout-grid {
    grid-template-columns: 1fr;
  }

  .deal-actions {
    min-width: 0;
    justify-items: stretch;
  }

  .deal-action-note {
    text-align: left;
  }

  .deal-actions .status-dot {
    width: fit-content;
  }

  .chat-panel-trigger {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .chat-panel-trigger small {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: 2.18rem;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.48;
  }

  .command-panel {
    width: 100%;
    padding: 0.55rem;
  }

  .command-panel .quick-cats {
    display: none;
  }

  .market-preview {
    display: none;
  }

  .provider-profile-page {
    grid-template-columns: 1fr;
  }

  .profile-breadcrumb {
    display: none;
  }

  .profile-summary {
    padding-top: 1rem;
  }

  .profile-mobile-booking-preview {
    display: grid;
    gap: 0.68rem;
    padding: 0.85rem;
    border-color: rgba(23, 105, 232, 0.22);
    background:
      linear-gradient(135deg, rgba(237, 244, 255, 0.98), rgba(255, 255, 255, 0.98)),
      #ffffff;
  }

  .profile-mobile-booking-copy {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
  }

  .profile-mobile-booking-copy h2,
  .profile-mobile-booking-copy p {
    margin: 0;
  }

  .profile-mobile-booking-copy h2 {
    color: var(--ink);
    font-size: clamp(1.24rem, 6vw, 1.55rem);
    line-height: 1.06;
  }

  .profile-mobile-booking-copy p {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 730;
    line-height: 1.36;
  }

  .profile-mobile-booking-signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .profile-mobile-booking-signals span {
    display: grid;
    gap: 0.14rem;
    min-width: 0;
    min-height: 4.4rem;
    align-content: center;
    padding: 0.5rem;
    border: 1px solid #d9e4f1;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.86);
  }

  .profile-mobile-booking-signals svg {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    background: #edf4ff;
    color: #1769e8;
  }

  .profile-mobile-booking-signals strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.05;
  }

  .profile-mobile-booking-signals small {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.1;
  }

  .profile-mobile-booking-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: 0.45rem;
  }

  .profile-mobile-booking-actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .profile-photo-wrap,
  .profile-photo {
    width: 100%;
  }

  .profile-photo {
    aspect-ratio: 16 / 10;
  }

  .profile-hero-actions,
  .profile-hero-actions .btn {
    width: 100%;
  }

  .profile-hero-actions {
    display: grid;
  }

  .profile-value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-assurance-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .profile-assurance-strip span {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "title";
    justify-items: center;
    min-height: 2.9rem;
    padding: 0.42rem 0.3rem;
    text-align: center;
  }

  .profile-assurance-strip svg {
    width: 1.45rem;
    height: 1.45rem;
    padding: 0.28rem;
  }

  .profile-assurance-strip strong {
    font-size: 0.72rem;
    line-height: 1.05;
  }

  .profile-assurance-strip small {
    display: none;
  }

  .profile-services,
  .profile-trust-row,
  .booking-form .request-grid,
  .booking-decision-strip {
    grid-template-columns: 1fr;
  }

  .profile-decision-dock {
    padding: 1rem;
  }

  .decision-dock-actions {
    display: grid;
  }

  .decision-dock-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .decision-dock-metrics {
    grid-template-columns: 1fr;
  }

  .decision-dock-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-match,
  .profile-match-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .match-score,
  .profile-match-score {
    width: 100%;
    min-height: 3.35rem;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 0.85rem;
  }

  .service-illustration {
    display: none;
  }

  .profile-review {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-review time {
    grid-column: 2;
  }

  .booking-form {
    position: static;
  }
}

@media (min-width: 880px) {
  h1 {
    font-size: 3.85rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-copy h1 {
    font-size: 3.65rem;
    max-width: 600px;
  }

  .account-hero h1 {
    font-size: 3.8rem;
  }

  .app {
    padding-top: 1.25rem;
  }

  .service-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.74fr);
    gap: 1.2rem;
    align-items: start;
  }

  .filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .search-band {
    min-height: calc(100svh - 10rem);
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
    align-items: center;
    padding: 1.5rem 0 2rem;
  }

  .search-band > .search-panel,
  .search-band > .quick-cats {
    grid-column: 2;
  }

  .search-band > .intro {
    grid-row: 1 / span 2;
  }

  .content-layout {
    gap: 1.1rem;
  }

  .dashboard-shell > .stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .provider-join {
    grid-template-columns: minmax(320px, 0.7fr) minmax(480px, 1fr);
    align-items: start;
  }

  .provider-join .provider-story-rail {
    position: sticky;
    top: calc(8.55rem + env(safe-area-inset-top));
    max-height: calc(100svh - 9.4rem);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .provider-join .provider-story-rail::-webkit-scrollbar {
    display: none;
  }

  .account-forms {
    grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1fr);
    align-items: start;
  }

  .customer-auth-layout {
    grid-template-columns: minmax(260px, 0.68fr) minmax(260px, 0.66fr) minmax(0, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.68fr);
    align-items: start;
  }

  .provider-dashboard-shell .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  }

  .provider-dashboard-shell .profile-editor {
    position: sticky;
    top: 9rem;
    max-height: calc(100svh - 10rem);
    overflow: auto;
  }

  .provider-dashboard-shell .profile-editor .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .customer-thread-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
    align-items: start;
  }

  .provider-profile-page {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  }

  .profile-summary {
    grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
    align-items: start;
  }

  .detail-grid {
    align-content: start;
  }

  .hide-mobile {
    display: inline-flex;
  }
}

@media (max-width: 430px) {
  h1,
  .hero-copy h1,
  .account-hero h1,
  .join-visual .overlay h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1rem;
  }

  .topbar {
    padding-inline: 0.75rem;
  }

  .topbar-main {
    gap: 0.45rem;
  }

  .brand span:last-child {
    display: none;
  }

  .user-menu-trigger {
    max-width: var(--tap);
    width: var(--tap);
    padding: 0;
  }

  .user-menu-trigger span:not(.user-avatar),
  .user-menu-trigger > svg {
    display: none;
  }

  .app {
    width: min(100% - 1rem, 1180px);
  }

  .btn {
    min-width: 0;
  }

  .search-actions .btn,
  .form-actions .btn,
  .modal-actions .btn {
    flex: 1 1 150px;
  }
}

/* Modern polish pass */
body {
  background:
    linear-gradient(180deg, rgba(245, 248, 252, 0.98), rgba(245, 248, 252, 0.62) 30rem),
    radial-gradient(circle at 78% 12%, rgba(221, 235, 255, 0.58), rgba(221, 235, 255, 0) 28rem),
    var(--bg);
}

.topbar {
  gap: 0.5rem;
  padding: 0.64rem clamp(0.85rem, 3vw, 2rem);
  border-bottom-color: rgba(215, 226, 239, 0.9);
  box-shadow: 0 10px 28px rgba(20, 32, 54, 0.075);
}

.topbar-main {
  grid-template-columns: auto minmax(260px, 640px) auto auto;
}

.brand-logo {
  width: clamp(128px, 13vw, 175px);
  height: 42px;
  filter: none;
}

.topbar-search {
  min-height: 2.85rem;
  border-color: #d7e2f0;
  background: #f6f8fc;
  box-shadow: none;
}

.topbar-search input {
  min-height: 2.25rem;
}

.topbar-search button {
  min-height: 2.32rem;
  padding-inline: 0.9rem;
  box-shadow: 0 8px 18px rgba(23, 105, 232, 0.2);
}

.topbar-links a {
  min-height: 2.4rem;
  color: #17213a;
  font-size: 0.9rem;
}

.user-menu-trigger {
  min-height: 2.85rem;
  border-color: #d7e2f0;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(20, 32, 54, 0.07);
}

.user-avatar {
  background: #101a2f;
}

.category-nav {
  flex-wrap: nowrap;
  gap: 0.36rem;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.04rem 0 0.12rem;
  scrollbar-width: none;
}

.category-nav::after {
  content: "";
  position: sticky;
  right: 0;
  z-index: 2;
  flex: 0 0 2.35rem;
  align-self: stretch;
  min-height: 2.4rem;
  margin-left: -2.35rem;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 248, 252, 0), rgba(245, 248, 252, 0.98) 74%);
}

.topbar.is-scrolled .category-nav::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 74%);
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-trigger {
  min-height: 2.28rem;
  padding-inline: 0.7rem;
  border-color: #d8e2ee;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 18px rgba(20, 32, 54, 0.07);
}

.category-trigger.is-active,
.category-group.is-open .category-trigger,
.category-group:focus-within .category-trigger,
.category-pill.is-active,
.category-pill:hover {
  background: linear-gradient(135deg, #1769e8, #0b55d9);
  box-shadow: 0 10px 24px rgba(23, 105, 232, 0.22);
}

@media (min-width: 1180px) {
  .category-nav {
    flex-wrap: wrap;
    overflow: visible;
    row-gap: 0.42rem;
  }

  .category-nav::after {
    content: none;
    display: none;
  }
}

.app {
  width: min(1280px, calc(100% - 2rem));
  padding-top: 1.45rem;
}

.service-hero {
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: 2.15rem 0 2.45rem;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 4.8vw, 4rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.05;
}

.lead {
  color: #64718b;
  font-size: 1.03rem;
}

.eyebrow {
  min-height: 1.9rem;
  border-color: #d9e5f4;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 32, 54, 0.055);
}

.search-panel,
.auth-panel,
.profile-editor,
.request-list,
.stat-tile,
.provider-card,
.market-stats span,
.mini-provider,
.profile-card,
.booking-form,
.profile-trust-row,
.account-hero,
.join-visual {
  border-color: #d9e4f1;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.command-panel {
  width: min(100%, 700px);
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.92);
}

.command-search {
  min-height: 3.65rem;
  border-color: #d9e4f1;
}

input,
select,
textarea {
  min-height: 2.95rem;
  border-color: #d7e2f0;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(23, 105, 232, 0.72);
  box-shadow: 0 0 0 4px rgba(23, 105, 232, 0.12);
}

.btn {
  background: linear-gradient(135deg, #1769e8, #0b55d9);
  box-shadow: 0 12px 24px rgba(23, 105, 232, 0.18);
}

.btn.secondary {
  background: #ffffff;
  box-shadow: none;
}

.btn.accent {
  color: #12315f;
  background: #dbeafe;
  box-shadow: none;
}

.market-preview {
  gap: 0.85rem;
}

.market-image,
.provider-image,
.join-visual {
  border-radius: var(--radius);
}

.market-image img {
  min-height: 300px;
}

.provider-body {
  gap: 0.65rem;
}

.provider-description {
  min-height: 4.1rem;
}

.tag,
.metric {
  background: #edf4ff;
  color: #17325f;
}

.trust-badge.green,
.status-dot.green {
  background: #e4f7ee;
  color: #0d6847;
}

.account-shell,
.dashboard-shell,
.provider-join {
  gap: 1rem;
  padding-top: 1.75rem;
}

.account-hero {
  align-items: end;
  padding: clamp(1rem, 2vw, 1.35rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92)),
    #ffffff;
}

.account-hero h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5vw, 4.15rem);
  line-height: 0.96;
}

.auth-panel,
.profile-editor,
.request-list {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.primary-auth,
.signup-teaser,
.register-card {
  background: #ffffff;
}

.auth-card.primary-auth {
  border-color: #cce3d9;
  background: linear-gradient(180deg, #ffffff, #f4fbf8);
}

.signup-teaser,
.register-card {
  border-color: #f2dfb7;
  background: linear-gradient(180deg, #ffffff, #fff9ed);
}

.customer-auth-layout .register-card .btn.accent {
  color: #ffffff;
  background: linear-gradient(135deg, #1769e8, #0b55d9);
  box-shadow: 0 12px 24px rgba(23, 105, 232, 0.18);
}

.join-visual {
  min-height: clamp(380px, 33vw, 430px);
}

.join-visual .overlay {
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(14, 24, 43, 0.02), rgba(14, 24, 43, 0.82));
}

.join-visual .overlay h1 {
  font-size: clamp(2.35rem, 4.5vw, 3.5rem);
  line-height: 0.98;
}

.provider-auth-panel {
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.08);
}

.form-section {
  gap: 0.7rem;
}

.onboarding-progress span,
.request-stepper span {
  min-height: 2.2rem;
  background: #ffffff;
}

.provider-profile-page {
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.profile-summary {
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
}

.profile-copy h1 {
  font-size: clamp(2.45rem, 4.4vw, 3.95rem);
}

.booking-form {
  top: 8.25rem;
}

.admin-login {
  max-width: 620px;
}

.admin-access-shell {
  max-width: 1180px;
  margin-inline: auto;
  justify-items: stretch;
}

.admin-access-shell .admin-login {
  max-width: none;
}

.account-shell:not(:has(.request-list)) {
  max-width: 1180px;
  margin-inline: auto;
}

.account-shell:not(:has(.request-list)) .account-hero h1 {
  font-size: clamp(2.35rem, 4.7vw, 3.85rem);
}

@media (min-width: 880px) {
  .service-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  }

  .provider-join {
    grid-template-columns: minmax(340px, 0.68fr) minmax(520px, 1fr);
    gap: clamp(1rem, 2.2vw, 1.6rem);
  }
}

@media (max-width: 1080px) {
  .topbar-main {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }

  .provider-admission-board {
    grid-template-columns: 1fr;
  }

  .provider-growth-os {
    grid-template-columns: 1fr;
  }

  .provider-pipeline-board {
    grid-template-columns: 1fr;
  }

  .provider-profile-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-access-grid,
  .admin-command-hero {
    grid-template-columns: 1fr;
  }

  .admin-public-standard {
    grid-template-columns: 1fr;
  }

  .admin-public-standard-grid {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-public-meter {
    grid-column: auto;
    grid-row: auto;
  }

  .admin-command-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-ops-board {
    grid-template-columns: 1fr;
  }

  .admin-policy-board {
    grid-template-columns: 1fr;
  }

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

  .admin-decision-queue {
    grid-template-columns: 1fr;
  }

  .admin-ops-lanes {
    grid-template-columns: repeat(4, minmax(135px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .provider-pipeline-track {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

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

  .provider-command-center {
    grid-template-columns: 1fr;
  }

  .results-assurance {
    grid-template-columns: 1fr;
  }

  .quality-standard {
    grid-template-columns: 1fr;
  }

  .standard-rule-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-assurance-hero {
    grid-template-columns: 1fr;
  }

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

  .comparison-grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.12rem;
  }

  .provider-ops-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lead-radar-flow {
    grid-template-columns: 1fr;
  }

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

  .customer-command-center {
    grid-template-columns: 1fr;
  }

  .customer-safe-board {
    grid-template-columns: 1fr;
  }

  .pending-request-board {
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  }

  .pending-request-rail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .customer-safe-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-safe-rules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .customer-auth-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: calc(0.55rem + env(safe-area-inset-top)) 0.7rem 0.6rem;
  }

  .topbar-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand-logo {
    width: clamp(152px, 44vw, 174px);
    height: 46px;
    object-position: left center;
  }

  .topbar-search {
    min-height: 3rem;
  }

  .category-nav {
    gap: 0.35rem;
    padding-bottom: 0.12rem;
  }

  .category-trigger {
    min-height: 2.32rem;
    font-size: 0.8rem;
  }

  .app {
    width: min(100% - 0.9rem, 1280px);
    padding-top: 1rem;
  }

  .service-hero {
    padding: 1.15rem 0 1.25rem;
  }

  h1,
  .hero-copy h1,
  .account-hero h1,
  .join-visual .overlay h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1;
  }

  .lead {
    font-size: 0.98rem;
  }

  .command-search {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 3.25rem;
  }

  .command-search .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .account-hero {
    padding: 0.95rem;
  }

  .customer-dashboard-shell .dashboard-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.58rem;
  }

  .customer-dashboard-shell .dashboard-head h1 {
    font-size: clamp(2rem, 10vw, 2.72rem);
    line-height: 0.98;
  }

  .customer-dashboard-shell .dashboard-head .form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem;
  }

  .customer-dashboard-shell .dashboard-head .btn {
    min-height: 2.78rem;
    justify-content: center;
    padding-inline: 0.72rem;
  }

  .account-metrics {
    gap: 0.38rem;
  }

  .customer-command-center {
    padding: 0.9rem;
  }

  .customer-command-center .section-title-row h2 {
    font-size: clamp(1.65rem, 7.4vw, 2.05rem);
    line-height: 1.02;
  }

  .customer-next-card-desktop {
    display: none;
  }

  .customer-next-card-mobile {
    order: 3;
    display: grid;
    padding: 0.82rem;
    border-color: rgba(242, 210, 151, 0.92);
    background:
      linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(255, 255, 255, 0.98)),
      #ffffff;
  }

  .customer-next-card-mobile h3 {
    font-size: clamp(1.18rem, 6.2vw, 1.55rem);
  }

  .customer-safety-grid {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .customer-safety-grid span {
    min-height: 4.25rem;
    padding: 0.58rem;
  }

  .provider-command-center {
    padding: 0.9rem;
  }

  .provider-dashboard-shell .dashboard-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.58rem;
  }

  .provider-dashboard-shell .dashboard-head h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 0.98;
  }

  .provider-dashboard-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem;
  }

  .provider-dashboard-actions .btn {
    justify-content: center;
    min-height: 2.78rem;
    padding-inline: 0.72rem;
  }

  .provider-next-card-desktop {
    display: none;
  }

  .provider-next-card-mobile {
    order: 3;
    display: grid;
    padding: 0.82rem;
    border-color: rgba(242, 210, 151, 0.92);
    background:
      linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(255, 255, 255, 0.98)),
      #ffffff;
  }

  .provider-next-card-mobile h3 {
    font-size: clamp(1.18rem, 6.2vw, 1.55rem);
  }

  .provider-command-center .section-title-row h2 {
    font-size: clamp(1.65rem, 7.4vw, 2.05rem);
    line-height: 1.02;
  }

  .provider-ops-grid {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .provider-ops-grid span {
    min-height: 4.25rem;
    padding: 0.58rem;
  }

  .provider-market-pulse {
    order: 4;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .provider-market-pulse span {
    min-height: 3.55rem;
    padding: 0.58rem;
  }

  .results-assurance {
    padding: 0.85rem;
  }

  .results-assurance-hero {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .decision-score-card {
    min-height: 7.4rem;
  }

  .results-assurance-flow {
    grid-template-columns: 1fr;
  }

  .provider-comparison-panel {
    padding: 0.82rem;
  }

  .comparison-head {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(17rem, 84%);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .comparison-grid::-webkit-scrollbar {
    display: none;
  }

  .comparison-card {
    padding: 0.7rem;
  }

  .comparison-facts {
    grid-template-columns: 1fr;
  }

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

  .provider-market-pulse {
    grid-template-columns: 1fr;
  }

  .provider-lead-radar {
    min-height: 0;
    padding: 0.78rem;
  }

  .lead-radar-metrics {
    grid-template-columns: 1fr;
  }

  .lead-radar-actions .btn {
    width: 100%;
  }

  .customer-safety-grid,
  .customer-safe-flow,
  .customer-safe-rules,
  .customer-start-steps,
  .customer-suggestion-grid {
    grid-template-columns: 1fr;
  }

  .customer-safe-board {
    padding: 0.9rem;
  }

  .pending-request-board {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.68rem;
  }

  .pending-provider-copy {
    order: 1;
  }

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

  .pending-provider-media {
    display: none;
  }

  .pending-provider-copy {
    padding: 0.1rem;
    gap: 0.5rem;
  }

  .pending-provider-copy h2 {
    font-size: clamp(1.28rem, 6.8vw, 1.78rem);
    line-height: 1.02;
  }

  .pending-provider-copy .result-meta {
    font-size: 0.88rem;
    line-height: 1.34;
  }

  .pending-request-actions .btn {
    width: 100%;
    min-height: 2.75rem;
  }

  .pending-request-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .pending-request-rail span {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    align-content: center;
    gap: 0.08rem 0.38rem;
    min-height: 3.75rem;
    padding: 0.5rem;
  }

  .pending-request-rail svg {
    grid-row: span 2;
    width: 1.45rem;
    height: 1.45rem;
    padding: 0.3rem;
  }

  .pending-request-rail strong {
    font-size: 1rem;
  }

  .pending-request-rail small {
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .customer-safe-flow {
    gap: 0.48rem;
  }

  .customer-safe-flow span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "index title"
      "index copy";
    align-items: center;
    column-gap: 0.52rem;
  }

  .customer-safe-flow b {
    grid-area: index;
  }

  .customer-safe-flow strong {
    grid-area: title;
  }

  .customer-safe-flow small {
    grid-area: copy;
  }

  .customer-safe-meter > strong {
    font-size: clamp(2.55rem, 16vw, 3.5rem);
  }

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

  .order-safe-panel {
    padding: 0.68rem;
  }

  .order-safe-grid {
    grid-template-columns: 1fr;
  }

  .order-safe-grid span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon value"
      "icon label";
    align-items: center;
    column-gap: 0.5rem;
  }

  .order-safe-grid svg {
    grid-area: icon;
  }

  .order-safe-grid strong {
    grid-area: value;
  }

  .order-safe-grid small {
    grid-area: label;
  }

  .order-stepper {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.32rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .order-step {
    flex: initial;
    min-height: 3.45rem;
    padding: 0.42rem 0.2rem;
    border-radius: var(--radius-sm);
  }

  .order-step-icon {
    width: 1.85rem;
    height: 1.85rem;
  }

  .order-step-copy {
    display: none;
  }

  .order-step-copy strong {
    white-space: normal;
    font-size: 0.66rem;
    line-height: 1.05;
  }

  .customer-safety-grid {
    gap: 0.48rem;
  }

  .customer-suggestion-card {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
  }

  .customer-suggestion-card > img {
    grid-row: span 2;
    aspect-ratio: 1;
  }

  .customer-suggestion-card .suggestion-actions {
    grid-column: 2;
  }

  .suggestion-signals {
    gap: 0.28rem;
  }

  .profile-summary {
    padding: 1rem;
  }

  .provider-profile-page {
    padding-bottom: calc(6.4rem + env(safe-area-inset-bottom));
  }

  .profile-copy h1 {
    font-size: clamp(2.05rem, 10vw, 2.7rem);
  }

  .profile-trust-row {
    grid-template-columns: 1fr;
  }

  .decision-dock-evidence {
    grid-template-columns: 1fr;
  }

  .mobile-profile-action-bar {
    position: fixed;
    right: 0.7rem;
    bottom: calc(0.7rem + env(safe-area-inset-bottom));
    left: 0.7rem;
    z-index: 175;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
    min-height: 4.15rem;
    padding: 0.52rem;
    border: 1px solid rgba(217, 228, 241, 0.94);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(16, 26, 47, 0.18);
    backdrop-filter: blur(16px);
  }

  .mobile-profile-action-bar strong,
  .mobile-profile-action-bar span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-profile-action-bar strong {
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .mobile-profile-action-bar span {
    margin-top: 0.16rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 780;
  }

  .mobile-profile-action-bar .btn {
    min-width: 6.05rem;
    min-height: 2.8rem;
    padding-inline: 0.72rem;
  }

  .provider-profile-page:not(.request-mode) .mobile-profile-action-bar {
    display: none;
  }

  .quality-cockpit {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .provider-flow-snapshot {
    padding: 0.64rem;
  }

  .provider-flow-head {
    display: grid;
    gap: 0.5rem;
  }

  .provider-flow-head .btn {
    width: 100%;
    justify-content: center;
  }

  .provider-flow-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
  }

  .provider-flow-lanes span {
    min-height: 4rem;
    padding: 0.46rem;
  }

  .provider-flow-lanes small {
    white-space: normal;
  }

  .provider-pipeline-board {
    padding: 0.85rem;
  }

  .provider-pipeline-track,
  .pipeline-impact-grid {
    grid-template-columns: 1fr;
  }

  .provider-pipeline-track {
    overflow: visible;
  }

  .provider-pipeline-stage {
    min-height: auto;
  }

  .provider-profile-guide {
    padding: 0.78rem;
  }

  .admin-access-grid {
    gap: 0.75rem;
  }

  .admin-access-hero,
  .admin-command-hero {
    padding: 0.85rem;
  }

  .admin-access-hero h1,
  .admin-command-head h1 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: keep-all;
    font-size: clamp(1.95rem, 8.4vw, 2.35rem);
    line-height: 1.02;
  }

  .admin-access-signals,
  .admin-public-standard-grid {
    grid-template-columns: 1fr;
  }

  .admin-command-kpis {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .admin-access-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.48rem;
  }

  .admin-access-actions .btn {
    justify-content: center;
    min-height: 2.8rem;
    padding-inline: 0.74rem;
  }

  .admin-public-standard {
    padding: 0.85rem;
  }

  .admin-public-standard-grid span {
    min-height: auto;
  }

  .admin-command-head {
    display: grid;
  }

  .admin-command-head .btn {
    width: 100%;
  }

  .admin-command-next-desktop {
    display: none;
  }

  .admin-command-next-mobile {
    order: 3;
    display: grid;
    gap: 0.62rem;
    padding: 0.78rem;
  }

  .admin-command-next-mobile h2 {
    font-size: clamp(1.26rem, 6vw, 1.58rem);
  }

  .admin-command-score {
    padding: 0.58rem;
  }

  .admin-command-kpis span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon value"
      "icon label";
    align-items: center;
    min-height: auto;
  }

  .admin-command-kpis svg {
    grid-area: icon;
  }

  .admin-command-kpis strong {
    grid-area: value;
  }

  .admin-command-kpis small {
    grid-area: label;
  }

  .admin-ops-board {
    padding: 0.85rem;
  }

  .admin-policy-board {
    padding: 0.85rem;
  }

  .admin-policy-grid {
    grid-template-columns: 1fr;
  }

  .admin-policy-rule {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon label"
      "icon value"
      "icon copy";
    align-items: center;
    column-gap: 0.58rem;
  }

  .admin-policy-rule svg {
    grid-area: icon;
  }

  .admin-policy-rule small {
    grid-area: label;
  }

  .admin-policy-rule strong {
    grid-area: value;
  }

  .admin-policy-rule em {
    grid-area: copy;
  }

  .admin-ops-lanes {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .admin-ops-lane {
    min-height: auto;
  }

  .cockpit-score-row {
    grid-template-columns: 1fr;
  }

  .cockpit-score {
    min-height: 7rem;
  }

  .quality-checklist {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quality-checklist span {
    justify-content: flex-start;
    border-radius: var(--radius-sm);
  }

  .admin-quality-control,
  .admin-provider-review {
    grid-template-columns: 1fr;
  }

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

  .admin-queue-list {
    grid-template-columns: 1fr;
  }

  .admin-queue-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .admin-provider-score {
    min-height: 5.2rem;
  }
}

/* Integrated scroll header */
html {
  scroll-padding-top: 8.8rem;
}

#so-funktionierts,
#anbieter-ergebnisse,
#dashboard-anfragen {
  scroll-margin-top: 8.8rem;
}

.topbar {
  gap: 0.52rem;
  padding: calc(1rem + env(safe-area-inset-top)) clamp(0.85rem, 3vw, 2rem) 0.42rem;
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition:
    padding 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.topbar.is-scrolled {
  gap: 0.42rem;
  padding: calc(0.55rem + env(safe-area-inset-top)) clamp(0.85rem, 3vw, 2rem) 0.55rem;
  border-bottom-color: rgba(215, 226, 239, 0.92);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(20, 32, 54, 0.12);
  backdrop-filter: blur(18px) saturate(1.16);
}

.topbar-search,
.topbar-links a,
.user-menu-trigger,
.category-trigger {
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.topbar:not(.is-scrolled) .topbar-search,
.topbar:not(.is-scrolled) .user-menu-trigger,
.topbar:not(.is-scrolled) .category-trigger {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 10px 24px rgba(20, 32, 54, 0.045);
  backdrop-filter: blur(16px) saturate(1.16);
}

.topbar:not(.is-scrolled) .topbar-search:focus-within,
.topbar:not(.is-scrolled) .user-menu[open] .user-menu-trigger,
.topbar:not(.is-scrolled) .category-group.is-open .category-trigger,
.topbar:not(.is-scrolled) .category-group:focus-within .category-trigger {
  border-color: rgba(23, 105, 232, 0.28);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(20, 32, 54, 0.09);
}

.topbar:not(.is-scrolled) .category-trigger.is-active,
.topbar:not(.is-scrolled) .category-group.is-open .category-trigger.is-active,
.topbar:not(.is-scrolled) .category-group:focus-within .category-trigger.is-active {
  border-color: rgba(23, 105, 232, 0.38);
  background: linear-gradient(135deg, #1769e8, #0b55d9);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 105, 232, 0.2);
}

.topbar.is-scrolled .topbar-search {
  border-color: #d7e2f0;
  background: #f6f8fc;
  box-shadow: none;
}

.topbar.is-scrolled .user-menu-trigger,
.topbar.is-scrolled .category-trigger {
  border-color: #d8e2ee;
  background: rgba(255, 255, 255, 0.98);
}

.topbar.is-scrolled .topbar-links a {
  border-color: #e1e9f5;
  background: #f7faff;
}

.topbar-links {
  gap: 0.44rem;
}

.topbar-links a {
  gap: 0.38rem;
  min-height: 2.35rem;
  padding: 0 0.66rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #17213a;
}

.topbar-links a svg {
  width: 1rem;
  height: 1rem;
  color: var(--brand);
}

.topbar:not(.is-scrolled) .topbar-links a {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.topbar-links a:hover {
  border-color: rgba(23, 105, 232, 0.2);
  background: #edf4ff;
  color: #0b55d9;
}

.topbar.is-scrolled .brand-logo {
  filter: none;
}

.topbar:not(.is-scrolled) .brand-logo {
  filter: drop-shadow(0 8px 18px rgba(20, 32, 54, 0.12));
}

.topbar:not(.is-scrolled) + .app {
  padding-top: clamp(0.25rem, 0.8vw, 0.65rem);
}

.topbar:not(.is-scrolled) + .app .service-hero {
  padding-top: clamp(0.95rem, 2vw, 1.35rem);
}

.topbar-main {
  grid-template-columns: auto minmax(260px, 640px) minmax(0, 1fr) auto;
}

.user-menu {
  justify-self: end;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: -0.2rem 0 1.55rem;
}

.flow-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.18rem 0.68rem;
  min-height: 5.1rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(20, 32, 54, 0.065);
}

.flow-step span {
  display: inline-grid;
  grid-row: 1 / 3;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 999px;
  background: #101a2f;
  color: #ffffff;
  font-weight: 900;
}

.flow-step strong {
  color: #111c33;
  font-size: 1rem;
}

.flow-step small {
  color: #65708a;
  font-weight: 720;
  line-height: 1.35;
}

.trust-primer {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1fr) minmax(210px, 0.3fr);
  gap: 0.78rem;
  align-items: stretch;
  margin: -0.25rem 0 1rem;
  padding: clamp(0.9rem, 2vw, 1.12rem);
  border: 1px solid rgba(17, 28, 51, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.94) 52%, rgba(236, 252, 245, 0.76)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
  scroll-margin-top: 9.4rem;
}

.trust-primer-copy,
.trust-primer-flow,
.trust-primer-score {
  display: grid;
  align-content: center;
  min-width: 0;
}

.trust-primer-copy {
  gap: 0.58rem;
}

.trust-primer-copy h2 {
  max-width: 650px;
  margin: 0;
  color: #111c33;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.03;
}

.trust-primer-copy .lead {
  max-width: 720px;
  font-size: 0.98rem;
}

.trust-primer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.trust-primer-actions .btn {
  min-height: 2.65rem;
}

.trust-primer-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.trust-primer-flow span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num icon"
    "title title"
    "copy copy";
  gap: 0.34rem;
  align-content: start;
  min-width: 0;
  min-height: 10.4rem;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.trust-primer-flow b {
  grid-area: num;
  color: #1769e8;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.trust-primer-flow svg {
  grid-area: icon;
  justify-self: end;
  width: 1.95rem;
  height: 1.95rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.trust-primer-flow strong {
  grid-area: title;
  color: #111c33;
  font-size: 0.95rem;
  line-height: 1.12;
}

.trust-primer-flow small {
  grid-area: copy;
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 720;
  line-height: 1.3;
}

.trust-primer-score {
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
}

.trust-primer-score .tiny-label,
.trust-primer-score small {
  color: rgba(255, 255, 255, 0.76);
}

.trust-primer-score strong {
  color: #ffffff;
  font-size: clamp(2.45rem, 5vw, 3.65rem);
  line-height: 0.9;
}

.trust-primer-meter {
  overflow: hidden;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.trust-primer-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #83f0c7, #ffffff);
}

.trust-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: clamp(0.85rem, 2vw, 1.2rem);
  align-items: stretch;
  margin: 0 0 1.8rem;
  padding: clamp(0.25rem, 1.2vw, 0.8rem) 0 0;
}

.trust-flow-copy {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  min-width: 0;
}

.trust-flow-copy h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.98;
}

.trust-flow-copy .lead {
  max-width: 780px;
}

.trust-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.trust-proof,
.trust-step {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(20, 32, 54, 0.065);
}

.trust-proof > svg {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0.46rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.trust-proof strong,
.trust-step strong {
  color: #111c33;
  font-size: 1rem;
}

.trust-proof small,
.trust-step small {
  color: #65708a;
  font-weight: 720;
  line-height: 1.38;
}

.quality-panel {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(23, 105, 232, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 244, 255, 0.92)),
    #ffffff;
  box-shadow: 0 24px 54px rgba(20, 32, 54, 0.1);
}

.quality-panel-head {
  display: grid;
  gap: 0.35rem;
}

.quality-panel-head span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  width: fit-content;
  min-height: 2rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: #101a2f;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.quality-panel-head strong {
  color: #111c33;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.05;
}

.quality-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid #d9e4f1;
}

.quality-score strong {
  color: #1769e8;
  font-size: clamp(2.25rem, 5vw, 3.15rem);
  line-height: 0.95;
}

.quality-score span {
  color: #65708a;
  font-weight: 760;
  line-height: 1.38;
}

.quality-list {
  display: grid;
  gap: 0.5rem;
}

.quality-list span {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  min-height: 2.6rem;
  padding: 0 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  color: #17213a;
  font-weight: 820;
}

.quality-list svg {
  color: #1769e8;
  flex: 0 0 auto;
}

.mobile-quality-snapshot {
  display: none;
}

.trust-engine {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1fr) minmax(190px, 0.34fr);
  gap: 0.7rem;
  align-items: stretch;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid rgba(23, 105, 232, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.92) 58%, rgba(61, 214, 161, 0.76)),
    #101a2f;
  color: #ffffff;
  box-shadow: 0 22px 50px rgba(20, 32, 54, 0.16);
}

.trust-engine-copy,
.trust-engine-output {
  display: grid;
  align-content: center;
  gap: 0.42rem;
  min-width: 0;
}

.trust-engine-copy {
  padding: 0.55rem;
}

.trust-engine-copy .tiny-label {
  width: fit-content;
  color: rgba(255, 255, 255, 0.76);
}

.trust-engine-copy strong {
  color: #ffffff;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.08;
}

.trust-engine-copy small {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 720;
  line-height: 1.38;
}

.trust-engine-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  min-width: 0;
}

.trust-engine-rail span {
  display: grid;
  gap: 0.22rem;
  align-content: center;
  min-width: 0;
  min-height: 7.8rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trust-engine-rail svg {
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.trust-engine-rail strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.14;
}

.trust-engine-rail small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 720;
  line-height: 1.26;
}

.trust-engine-output {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: #101a2f;
}

.trust-engine-output span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  min-height: 2rem;
  padding: 0 0.58rem;
  border-radius: 999px;
  background: #101a2f;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
}

.trust-engine-output strong {
  color: #1769e8;
  font-size: clamp(2.4rem, 4.5vw, 3.35rem);
  line-height: 0.9;
}

.trust-engine-output small {
  color: #65708a;
  font-weight: 780;
  line-height: 1.28;
}

.trust-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.trust-step {
  position: relative;
  min-height: 8.2rem;
}

.trust-step span {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 999px;
  background: #101a2f;
  color: #ffffff;
  font-weight: 900;
}

.platform-intelligence {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.2rem);
  margin: 0 0 1.9rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92)),
    #ffffff;
  box-shadow: 0 22px 54px rgba(20, 32, 54, 0.08);
}

.platform-intelligence-head {
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
}

.platform-intelligence-head h2 {
  max-width: 820px;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 0.99;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.intelligence-card {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  min-height: 10rem;
  align-content: start;
  padding: 0.95rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.intelligence-card > svg,
.provider-value-grid svg {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0.46rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.intelligence-card strong {
  color: #111c33;
  font-size: 1.02rem;
  line-height: 1.12;
}

.intelligence-card small {
  color: #65708a;
  font-weight: 720;
  line-height: 1.4;
}

.intelligence-card.primary {
  align-content: center;
  border-color: rgba(16, 26, 47, 0.18);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.92)),
    #101a2f;
  color: #ffffff;
}

.intelligence-card.primary span {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  width: fit-content;
  min-height: 2rem;
  padding: 0 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 880;
}

.intelligence-card.primary strong {
  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 0.92;
}

.intelligence-card.primary small {
  color: rgba(255, 255, 255, 0.78);
}

.assurance-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.assurance-rail span {
  display: grid;
  gap: 0.12rem;
  min-height: 4.55rem;
  align-content: center;
  padding: 0.75rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: #ffffff;
}

.assurance-rail strong {
  color: #111c33;
  font-size: 1.3rem;
  line-height: 1;
}

.assurance-rail small {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 780;
}

.quality-standard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 0.85rem;
  margin: -0.7rem 0 1.35rem;
  padding: clamp(0.95rem, 2.2vw, 1.15rem);
  border: 1px solid rgba(17, 28, 51, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.07);
}

.quality-standard-copy {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  min-width: 0;
}

.quality-standard-copy h2 {
  max-width: 760px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.02;
}

.quality-standard-copy .lead {
  max-width: 820px;
  font-size: 1rem;
}

.standard-rule-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.standard-rule-list span {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.standard-rule-list svg {
  width: 1.85rem;
  height: 1.85rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.standard-rule-list strong {
  color: #111c33;
  font-size: 0.92rem;
  line-height: 1.14;
}

.standard-rule-list small {
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 740;
  line-height: 1.32;
}

.quality-standard-panel {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.85rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.88)),
    #101a2f;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(23, 105, 232, 0.16);
}

.quality-standard-panel .tiny-label,
.quality-standard-panel small {
  color: rgba(255, 255, 255, 0.76);
}

.standard-score {
  display: grid;
  gap: 0.24rem;
}

.standard-score strong {
  color: #ffffff;
  font-size: clamp(2.45rem, 5vw, 3.75rem);
  line-height: 0.9;
}

.standard-meter {
  overflow: hidden;
  height: 0.52rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.standard-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #83f0c7, #ffffff);
}

.standard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.standard-metrics span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
}

.standard-metrics strong {
  color: #ffffff;
  font-size: 1.06rem;
  line-height: 1;
}

.standard-metrics small {
  font-size: 0.7rem;
  font-weight: 780;
  line-height: 1.24;
}

@media (max-width: 1080px) {
  .trust-primer {
    grid-template-columns: 1fr;
  }

  .trust-primer-flow {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.12rem;
  }

  .trust-primer-score {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .trust-primer-score .tiny-label,
  .trust-primer-score .trust-primer-meter {
    grid-column: 1 / -1;
  }

  .trust-engine {
    grid-template-columns: 1fr;
  }

  .trust-engine-rail {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.12rem;
  }

  .quality-standard {
    grid-template-columns: 1fr;
  }

  .standard-rule-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .trust-primer {
    gap: 0.62rem;
    margin: -0.1rem 0 0.8rem;
    padding: 0.78rem;
    scroll-margin-top: 12rem;
  }

  .trust-primer-copy {
    gap: 0.48rem;
  }

  .trust-primer-copy h2 {
    font-size: clamp(1.34rem, 7vw, 1.75rem);
  }

  .trust-primer-copy .lead {
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .trust-primer-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-primer-flow {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .trust-primer-flow span {
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas:
      "num icon title"
      "num icon copy";
    align-items: center;
    column-gap: 0.52rem;
    min-height: 4.45rem;
    padding: 0.6rem;
  }

  .trust-primer-flow b {
    align-self: start;
  }

  .trust-primer-flow svg {
    justify-self: start;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0.36rem;
  }

  .trust-primer-score {
    padding: 0.72rem;
  }

  .trust-primer-score strong {
    font-size: 2.55rem;
  }

  .quality-standard {
    margin: -0.25rem 0 1rem;
    padding: 0.85rem;
  }

  .standard-rule-list {
    grid-template-columns: 1fr;
  }

  .standard-rule-list span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon copy";
    align-items: center;
    column-gap: 0.52rem;
  }

  .standard-rule-list svg {
    grid-area: icon;
  }

  .standard-rule-list strong {
    grid-area: title;
  }

  .standard-rule-list small {
    grid-area: copy;
  }
}

.provider-value-board {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 255, 0.9)),
    #ffffff;
}

.provider-value-head {
  display: grid;
  gap: 0.3rem;
}

.provider-value-head strong {
  max-width: 760px;
  color: #111c33;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.12;
}

.provider-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.provider-value-grid span {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.provider-value-grid strong {
  color: #111c33;
  font-size: 0.92rem;
}

.provider-value-grid small {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.32;
}

.provider-fit-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 0.72rem;
  align-items: stretch;
  padding: 0.85rem;
  border: 1px solid rgba(17, 28, 51, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92) 58%, rgba(239, 251, 245, 0.84)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(20, 32, 54, 0.07);
}

.provider-mobile-proof-bridge {
  display: none;
}

.provider-fit-copy,
.provider-fit-preview {
  display: grid;
  align-content: start;
  min-width: 0;
}

.provider-fit-copy {
  gap: 0.55rem;
}

.provider-fit-copy h3 {
  max-width: 720px;
  color: #111c33;
  font-size: clamp(1.16rem, 2.1vw, 1.52rem);
  line-height: 1.1;
}

.provider-fit-signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
}

.provider-fit-signal-row span {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.84);
}

.provider-fit-signal-row svg {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-fit-signal-row strong {
  color: #111c33;
  font-size: 0.86rem;
  line-height: 1.12;
}

.provider-fit-signal-row small {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 740;
  line-height: 1.28;
}

.provider-fit-preview {
  gap: 0.48rem;
  padding: 0.78rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
}

.provider-fit-preview .tiny-label,
.provider-fit-preview small {
  color: rgba(255, 255, 255, 0.76);
}

.provider-fit-preview strong {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 0.9;
}

.provider-fit-meter {
  overflow: hidden;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.provider-fit-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #83f0c7, #ffffff);
}

.provider-fit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.provider-fit-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  min-height: 1.78rem;
  padding: 0 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.7rem;
  font-weight: 820;
}

.provider-fit-badges svg {
  width: 0.92rem;
  height: 0.92rem;
}

.provider-growth-os {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.42fr);
  gap: 0.72rem;
  padding: 0.85rem;
  border: 1px solid rgba(16, 26, 47, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.88)),
    #101a2f;
  box-shadow: 0 18px 36px rgba(23, 105, 232, 0.16);
}

.growth-os-copy {
  display: grid;
  gap: 0.58rem;
  min-width: 0;
}

.growth-os-copy .eyebrow,
.growth-os-copy h3,
.growth-os-copy .result-meta {
  color: #ffffff;
}

.growth-os-copy .eyebrow {
  width: fit-content;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.growth-os-copy h3 {
  max-width: 720px;
  font-size: clamp(1.18rem, 2.2vw, 1.6rem);
  line-height: 1.12;
}

.growth-os-copy .result-meta,
.growth-os-metrics .tiny-label,
.growth-metric-highlight small,
.growth-metric-grid small {
  color: rgba(255, 255, 255, 0.74);
}

.growth-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.46rem;
}

.growth-pipeline span {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.growth-pipeline b {
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #0b55d9;
  font-size: 0.78rem;
}

.growth-pipeline strong,
.growth-metric-grid strong,
.growth-metric-highlight strong {
  color: #ffffff;
}

.growth-pipeline strong {
  font-size: 0.86rem;
  line-height: 1.16;
}

.growth-pipeline small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 740;
  line-height: 1.28;
}

.growth-os-metrics {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.growth-metric-highlight {
  display: grid;
  gap: 0.22rem;
}

.growth-metric-highlight strong {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 0.95;
}

.growth-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.growth-metric-grid span {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.growth-metric-grid svg {
  width: 1.45rem;
  height: 1.45rem;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.growth-metric-grid strong {
  font-size: 1rem;
  line-height: 1.05;
}

.growth-metric-grid small {
  font-size: 0.7rem;
  font-weight: 780;
  line-height: 1.25;
}

.provider-application-compass {
  display: grid;
  gap: 0.72rem;
  padding: 0.88rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(23, 105, 232, 0.08);
}

.application-compass-head {
  display: grid;
  gap: 0.35rem;
}

.application-compass-head h3 {
  max-width: 760px;
  color: #111c33;
  font-size: clamp(1.16rem, 2vw, 1.5rem);
  line-height: 1.1;
}

.application-stage-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.48rem;
}

.application-stage-map span {
  position: relative;
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.68rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.application-stage-map span::after {
  content: "";
  position: absolute;
  top: 1.08rem;
  right: -0.5rem;
  z-index: 1;
  width: 0.5rem;
  height: 1px;
  background: #c8d8ed;
}

.application-stage-map span:last-child::after {
  display: none;
}

.application-stage-map span.is-current {
  border-color: rgba(23, 105, 232, 0.42);
  background: linear-gradient(180deg, #ffffff, #edf4ff);
}

.application-stage-map b {
  display: inline-grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #111c33;
  color: #ffffff;
  font-size: 0.76rem;
}

.application-stage-map .is-current b {
  background: #1769e8;
}

.application-stage-map strong {
  color: #111c33;
  font-size: 0.88rem;
  line-height: 1.14;
}

.application-stage-map small {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.3;
}

.application-stage-map em {
  width: fit-content;
  min-height: 1.45rem;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: #edf4ff;
  color: #1769e8;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 860;
}

.application-economics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.48rem;
}

.application-economics span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  gap: 0.08rem 0.5rem;
  align-items: center;
  min-width: 0;
  padding: 0.64rem;
  border: 1px solid rgba(17, 28, 51, 0.08);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.application-economics svg {
  grid-area: icon;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: #eef6ff;
  color: #1769e8;
}

.application-economics strong {
  grid-area: value;
  color: #111c33;
  font-size: 1.05rem;
  line-height: 1;
}

.application-economics small {
  grid-area: label;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 740;
  line-height: 1.24;
}

@media (max-width: 1080px) {
  .provider-fit-studio {
    grid-template-columns: 1fr;
  }

  .provider-fit-signal-row {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.08rem;
    scrollbar-width: none;
  }

  .provider-fit-signal-row::-webkit-scrollbar {
    display: none;
  }

  .provider-growth-os {
    grid-template-columns: 1fr;
  }

  .growth-pipeline,
  .provider-fit-signal-row,
  .application-stage-map,
  .application-economics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .provider-fit-studio {
    gap: 0.6rem;
    padding: 0.72rem;
  }

  .provider-fit-signal-row {
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .provider-fit-preview {
    padding: 0.72rem;
  }

  .provider-growth-os {
    padding: 0.78rem;
  }

  .provider-application-start {
    padding: 0.78rem;
  }

  .section-kicker {
    align-items: start;
  }

  .growth-pipeline,
  .growth-metric-grid,
  .application-stage-map,
  .application-economics {
    grid-template-columns: 1fr;
  }

  .growth-pipeline span,
  .growth-metric-grid span,
  .provider-fit-signal-row span,
  .application-stage-map span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon copy"
      "icon meta";
    align-items: center;
    column-gap: 0.52rem;
  }

  .growth-pipeline b,
  .growth-metric-grid svg,
  .provider-fit-signal-row svg,
  .application-stage-map b {
    grid-area: icon;
  }

  .growth-pipeline strong,
  .growth-metric-grid strong,
  .provider-fit-signal-row strong,
  .application-stage-map strong {
    grid-area: title;
  }

  .growth-pipeline small,
  .growth-metric-grid small,
  .provider-fit-signal-row small,
  .application-stage-map small {
    grid-area: copy;
  }

  .application-stage-map em {
    grid-area: meta;
  }

  .application-stage-map span::after {
    display: none;
  }
}

.provider-admission-board {
  display: grid;
  grid-template-columns: minmax(130px, 0.22fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(17, 28, 51, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.94)),
    #ffffff;
}

.admission-score-card {
  display: grid;
  align-content: center;
  gap: 0.25rem;
  min-height: 100%;
  padding: 0.9rem;
  border-radius: var(--radius);
  background: #111c33;
  color: #ffffff;
}

.admission-score-card .tiny-label {
  color: rgba(255, 255, 255, 0.68);
}

.admission-score-card strong {
  font-size: clamp(2.15rem, 5vw, 3.2rem);
  line-height: 0.9;
}

.admission-score-card small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 760;
  line-height: 1.32;
}

.admission-content {
  display: grid;
  gap: 0.72rem;
  min-width: 0;
}

.admission-content h3 {
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
}

.admission-signal-grid,
.admission-flow {
  display: grid;
  gap: 0.55rem;
}

.admission-signal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admission-signal-grid span,
.admission-flow span {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.66rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.admission-signal-grid svg {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.38rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.admission-signal-grid strong,
.admission-flow strong {
  color: #111c33;
  font-size: 0.9rem;
}

.admission-signal-grid small,
.admission-flow small {
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.32;
}

.admission-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admission-flow span {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.5rem;
  align-items: center;
}

.admission-flow b {
  display: inline-grid;
  grid-row: span 2;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #111c33;
  color: #ffffff;
  font-size: 0.82rem;
}

.provider-story-rail .provider-admission-board {
  grid-template-columns: 1fr;
}

.provider-story-rail .admission-score-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: auto;
}

.provider-story-rail .admission-score-card .tiny-label {
  grid-column: 1 / -1;
}

.provider-story-rail .admission-score-card strong {
  font-size: clamp(2rem, 4vw, 2.55rem);
}

.provider-story-rail .admission-signal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-story-rail .admission-flow {
  grid-template-columns: 1fr;
}

@media (max-width: 1080px) and (min-width: 901px) {
  .topbar-main {
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
  }

  .topbar-links {
    display: flex;
  }

  .topbar-links a {
    padding-inline: 0.52rem;
  }

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

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

@media (min-width: 1081px) and (max-width: 1500px) {
  .topbar-main {
    grid-template-columns: auto minmax(220px, 520px) minmax(0, auto) auto;
    gap: 0.62rem;
  }

  .brand-logo {
    width: clamp(112px, 11vw, 150px);
  }

  .topbar-links {
    gap: 0.36rem;
    overflow: hidden;
  }

  .topbar-links a {
    min-width: 0;
    padding-inline: 0.5rem;
    font-size: 0.84rem;
  }

  .user-menu-trigger {
    max-width: 220px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 10.2rem;
  }

  #so-funktionierts,
  #anbieter-ergebnisse {
    scroll-margin-top: 10.2rem;
  }

  .topbar {
    padding: calc(0.62rem + env(safe-area-inset-top)) 0.72rem 0.56rem;
    backdrop-filter: none;
  }

  .topbar-main {
    grid-template-columns: minmax(152px, 1fr) auto;
  }

  .topbar.is-scrolled {
    padding: calc(0.48rem + env(safe-area-inset-top)) 0.72rem 0.5rem;
    backdrop-filter: blur(16px) saturate(1.14);
  }

  .topbar:not(.is-scrolled) + .app {
    padding-top: 0.55rem;
  }

  .flow-strip {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin: 0 0 1.15rem;
  }

  .flow-step {
    min-height: 4.45rem;
    padding: 0.72rem;
  }

  .trust-flow {
    grid-template-columns: 1fr;
    gap: 0.62rem;
    margin-bottom: 1.2rem;
  }

  .trust-flow-copy h2 {
    font-size: clamp(1.72rem, 7.4vw, 2.22rem);
    line-height: 1.02;
  }

  .trust-flow-copy {
    gap: 0.62rem;
  }

  .mobile-quality-snapshot {
    display: grid;
    gap: 0.42rem;
    padding: 0.72rem;
    border: 1px solid rgba(23, 105, 232, 0.18);
    border-radius: var(--radius);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 255, 0.94)),
      #ffffff;
    box-shadow: 0 16px 34px rgba(20, 32, 54, 0.075);
  }

  .mobile-quality-snapshot strong {
    color: #111c33;
    font-size: 1.02rem;
    line-height: 1.12;
  }

  .mobile-quality-snapshot small {
    color: #65708a;
    font-weight: 760;
    line-height: 1.34;
  }

  .mobile-quality-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.38rem;
  }

  .mobile-quality-facts span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-width: 0;
    min-height: 2.15rem;
    padding: 0 0.35rem;
    border: 1px solid #d9e4f1;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.88);
    color: #111c33;
    font-size: 0.74rem;
    font-weight: 850;
  }

  .mobile-quality-facts svg {
    width: 0.96rem;
    height: 0.96rem;
    color: #1769e8;
    flex: 0 0 auto;
  }

  .quality-panel {
    display: none;
  }

  .trust-proof-row,
  .trust-steps,
  .trust-engine-rail {
    grid-template-columns: 1fr;
  }

  .trust-engine {
    padding: 0.72rem;
  }

  .trust-engine-rail {
    overflow: visible;
  }

  .trust-engine-rail span {
    min-height: 5.6rem;
  }

  .platform-intelligence {
    margin-bottom: 1.2rem;
    padding: 0.85rem;
  }

  .platform-intelligence-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .intelligence-grid,
  .assurance-rail,
  .standard-rule-list,
  .provider-value-grid,
  .growth-pipeline,
  .admission-signal-grid,
  .admission-flow,
  .admin-control-grid {
    grid-template-columns: 1fr;
  }

  .quality-standard {
    margin-bottom: 1.1rem;
    padding: 0.85rem;
  }

  .standard-rule-list span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon copy";
    align-items: center;
    column-gap: 0.52rem;
  }

  .standard-rule-list svg {
    grid-area: icon;
  }

  .standard-rule-list strong {
    grid-area: title;
  }

  .standard-rule-list small {
    grid-area: copy;
  }

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

  .admin-quality-control,
  .admin-provider-review {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .admin-provider-score {
    min-height: 4.8rem;
  }

  .intelligence-card {
    min-height: auto;
    padding: 0.82rem;
  }

  .trust-proof,
  .trust-step,
  .quality-panel {
    padding: 0.8rem;
  }

  .trust-proof {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon copy";
    align-items: center;
    column-gap: 0.58rem;
    padding: 0.68rem;
  }

  .trust-proof > svg {
    grid-area: icon;
    width: 1.9rem;
    height: 1.9rem;
  }

  .trust-proof strong {
    grid-area: title;
    font-size: 0.96rem;
  }

  .trust-proof small {
    grid-area: copy;
  }

  .trust-step {
    min-height: auto;
  }

  .quality-score {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .quality-gate-strip {
    grid-template-columns: 1fr;
  }

  .provider-auth-panel .quality-gate-strip,
  .provider-value-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(16rem, 82%);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 0.08rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .provider-auth-panel .quality-gate-strip::-webkit-scrollbar,
  .provider-value-grid::-webkit-scrollbar {
    display: none;
  }

  .provider-auth-panel .quality-gate-strip span,
  .provider-value-grid span {
    min-height: 8rem;
    scroll-snap-align: start;
  }

  .provider-auth-panel .growth-pipeline,
  .provider-auth-panel .application-stage-map,
  .provider-auth-panel .application-economics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-auth-panel .growth-pipeline span,
  .provider-auth-panel .application-stage-map span {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    align-items: start;
  }

  .provider-auth-panel .growth-pipeline b,
  .provider-auth-panel .growth-pipeline strong,
  .provider-auth-panel .growth-pipeline small,
  .provider-auth-panel .application-stage-map b,
  .provider-auth-panel .application-stage-map strong,
  .provider-auth-panel .application-stage-map small,
  .provider-auth-panel .application-stage-map em {
    grid-area: auto;
  }

  .provider-auth-panel .application-economics span {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    align-items: start;
  }

  .provider-auth-panel .application-economics svg,
  .provider-auth-panel .application-economics strong,
  .provider-auth-panel .application-economics small {
    grid-area: auto;
  }

  .category-nav {
    padding-bottom: 0.08rem;
  }
}

/* Visible dropdown overlays */
.category-menu {
  position: fixed;
  top: var(--category-menu-top, calc(7.25rem + env(safe-area-inset-top)));
  right: auto;
  left: var(--category-menu-left, 1rem);
  z-index: 180;
  width: var(--category-menu-width, min(460px, calc(100vw - 1.5rem)));
  max-height: min(440px, calc(100svh - var(--category-menu-top, 7.25rem) - 1rem));
  overflow: auto;
}

.user-menu-panel {
  position: fixed;
  top: calc(4.85rem + env(safe-area-inset-top));
  right: clamp(0.75rem, 2.2vw, 2rem);
  z-index: 190;
  width: min(340px, calc(100vw - 1.5rem));
  max-height: calc(100svh - 5.8rem);
  overflow: auto;
}

.topbar.is-scrolled .user-menu-panel {
  top: calc(4.25rem + env(safe-area-inset-top));
}

.topbar .category-group.is-open .category-trigger,
.topbar .category-group:focus-within .category-trigger {
  border-color: rgba(23, 105, 232, 0.26);
  background: #edf4ff;
  color: #0b55d9;
  box-shadow: 0 12px 28px rgba(23, 105, 232, 0.14);
}

.topbar .category-trigger.is-active,
.topbar .category-group.is-open .category-trigger.is-active,
.topbar .category-group:focus-within .category-trigger.is-active {
  border-color: rgba(23, 105, 232, 0.38);
  background: linear-gradient(135deg, #1769e8, #0b55d9);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 105, 232, 0.2);
}

@media (max-width: 760px) {
  .topbar {
    --mobile-overlay-top: calc(11.4rem + env(safe-area-inset-top));
  }

  .provider-join {
    gap: 0.7rem;
    padding-top: 0.55rem;
  }

  .category-menu {
    top: var(--category-menu-top, var(--mobile-overlay-top));
    right: 0.72rem;
    left: 0.72rem;
    width: auto;
    max-height: min(430px, calc(100svh - var(--category-menu-top, var(--mobile-overlay-top)) - 0.85rem));
    overscroll-behavior: contain;
  }

  .user-menu-panel,
  .topbar.is-scrolled .user-menu-panel {
    top: var(--mobile-overlay-top);
    right: 0.72rem;
    width: min(340px, calc(100vw - 1.44rem));
    max-height: calc(100svh - var(--mobile-overlay-top) - 0.85rem - env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  .user-menu-quick {
    grid-template-columns: 1fr;
  }

  .join-visual {
    min-height: 365px;
  }

  .join-visual .overlay {
    align-content: end;
    gap: 0.56rem;
    padding: 0.82rem;
    background: linear-gradient(180deg, rgba(14, 24, 43, 0.12), rgba(14, 24, 43, 0.88));
  }

  .join-visual .overlay h1 {
    font-size: clamp(1.85rem, 8.8vw, 2.35rem);
    line-height: 1.02;
  }

  .visual-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .visual-stats span {
    min-height: 3.25rem;
    min-width: 0;
    padding: 0.54rem;
  }

  .visual-stats strong {
    font-size: 1.22rem;
  }

  .visual-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.48rem;
  }

  .visual-actions .btn {
    min-height: 2.75rem;
    justify-content: center;
    padding-inline: 0.8rem;
  }

  .visual-actions .btn.light {
    border-color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.94);
    color: #111c33;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  }

  .visual-actions .btn.ghost-light {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }
}

@media (max-width: 760px) {
  .command-panel {
    gap: 0.58rem;
  }

  .advanced-search {
    gap: 0.55rem;
  }

  .advanced-search-trigger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    min-height: 3.1rem;
    padding: 0.62rem 0.72rem;
    border: 1px solid #d9e4f1;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    cursor: pointer;
    list-style: none;
  }

  .advanced-search-trigger::-webkit-details-marker {
    display: none;
  }

  .advanced-search-trigger span {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
  }

  .advanced-search-trigger strong {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    min-width: 0;
    color: #111c33;
    font-weight: 880;
  }

  .advanced-search-trigger small {
    min-width: 0;
    overflow: hidden;
    color: #65708a;
    font-size: 0.76rem;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .advanced-search-trigger > svg:last-child {
    transition: transform 160ms ease;
  }

  .advanced-search-toggle:checked + .advanced-search-trigger > svg:last-child {
    transform: rotate(180deg);
  }

  .advanced-search-toggle:not(:checked) ~ .advanced-search-body {
    display: none;
  }

  .advanced-search-body {
    gap: 0.58rem;
  }

  .search-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .search-actions .result-meta {
    display: none;
  }

  .search-actions .btn {
    width: 100%;
  }

  .results-action-bar {
    grid-template-columns: 1fr;
    gap: 0.62rem;
    padding: 0.72rem;
  }

  .results-action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .results-action-buttons .btn {
    width: 100%;
  }

  .results-action-copy strong {
    white-space: normal;
  }

  .results-command-card {
    grid-template-columns: 4.85rem minmax(0, 1fr);
    grid-template-areas:
      "media copy"
      "buttons buttons";
    gap: 0.58rem;
    padding: 0.62rem;
  }

  .results-action-media {
    grid-area: media;
    min-height: 4.85rem;
    align-self: start;
    border-radius: 0.86rem;
  }

  .results-action-media span {
    display: none;
  }

  .results-command-card .results-action-copy {
    grid-area: copy;
    align-content: start;
    gap: 0.26rem;
  }

  .results-action-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
    margin-top: 0.1rem;
  }

  .results-action-signals span {
    grid-template-columns: 1fr;
    grid-template-areas:
      "value"
      "label";
    min-height: 2.55rem;
    padding: 0.4rem 0.32rem;
    text-align: center;
  }

  .results-action-signals svg {
    display: none;
  }

  .results-action-signals b {
    font-size: 0.8rem;
  }

  .results-action-signals small {
    font-size: 0.62rem;
  }

  .results-command-card .results-action-buttons {
    grid-area: buttons;
  }

  .results-action-note {
    font-size: 0.68rem;
  }

  .provider-qualify-link {
    display: none;
  }
}

/* Premium89: stronger first impression and quality search signals. */
.search-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.search-trust-strip span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.04rem 0.45rem;
  align-items: center;
  min-width: 0;
  min-height: 3.18rem;
  padding: 0.55rem 0.62rem;
  border: 1px solid rgba(23, 105, 232, 0.14);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(247, 251, 255, 0.96), rgba(255, 255, 255, 0.96));
}

.search-trust-strip svg {
  grid-row: 1 / span 2;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0.32rem;
  border-radius: 0.58rem;
  background: #eaf3ff;
  color: var(--brand);
}

.search-trust-strip strong,
.search-trust-strip small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-trust-strip strong {
  color: #101b32;
  font-size: 0.92rem;
  font-weight: 940;
}

.search-trust-strip small {
  color: #62708b;
  font-size: 0.72rem;
  font-weight: 790;
  white-space: nowrap;
}

@media (min-width: 1081px) {
  .topbar-main {
    width: min(100%, 1320px);
    justify-self: center;
    grid-template-columns: minmax(168px, auto) minmax(340px, 580px) minmax(0, auto) auto;
    gap: clamp(0.78rem, 1.2vw, 1.15rem);
  }

  .brand-logo {
    width: clamp(150px, 12vw, 186px);
    height: 48px;
  }

  .topbar.is-scrolled .brand-logo {
    width: clamp(132px, 10vw, 164px);
    height: 42px;
  }

  .topbar-search {
    min-height: 3.18rem;
    border-radius: 1rem;
  }

  .topbar-links a {
    min-height: 2.55rem;
    padding-inline: 0.72rem;
    font-size: 0.9rem;
  }

  .topbar:not(.is-scrolled) {
    padding-top: calc(1.08rem + env(safe-area-inset-top));
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: clamp(136px, 42vw, 168px);
    height: 44px;
  }

  .topbar-search {
    min-height: 3.18rem;
    border-radius: 1rem;
  }

  .category-trigger {
    min-height: 2.52rem;
  }

  .search-trust-strip {
    gap: 0.42rem;
  }

  .search-trust-strip span {
    min-height: 3.28rem;
    padding: 0.48rem 0.5rem;
  }

  .search-trust-strip svg {
    width: 1.28rem;
    height: 1.28rem;
    padding: 0.28rem;
  }

  .search-trust-strip strong {
    font-size: 0.84rem;
  }

  .search-trust-strip small {
    font-size: 0.64rem;
    line-height: 1.12;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .results-grid {
    gap: 0.72rem;
  }

  .provider-card {
    border-radius: 1rem;
  }

  .provider-image {
    min-height: 138px;
  }

  .provider-image img {
    aspect-ratio: 16 / 7.8;
  }

  .provider-rank-pill {
    top: 0.52rem;
    left: 0.52rem;
    min-height: 1.76rem;
    padding-inline: 0.5rem;
    font-size: 0.68rem;
  }

  .badge-row {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    gap: 0.28rem;
  }

  .badge-row .premium-pill {
    display: none;
  }

  .badge,
  .rating-pill {
    min-height: 1.66rem;
    padding-inline: 0.43rem;
    font-size: 0.68rem;
  }

  .provider-body {
    gap: 0.52rem;
    padding: 0.72rem;
  }

  .provider-title {
    gap: 0.48rem;
  }

  .provider-title h3 {
    font-size: 1rem;
    line-height: 1.12;
  }

  .provider-title small {
    font-size: 0.72rem;
  }

  .provider-title .icon-chip {
    width: 2rem;
    height: 2rem;
    border-radius: 0.72rem;
  }

  .provider-match {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.58rem;
  }

  .match-score {
    display: flex;
    width: 100%;
    min-height: 2.55rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.62rem;
  }

  .match-score strong {
    font-size: 1.12rem;
  }

  .match-copy {
    gap: 0.26rem;
  }

  .match-copy > strong {
    font-size: 0.9rem;
  }

  .match-reasons {
    gap: 0.26rem;
  }

  .match-reasons span {
    min-height: 1.55rem;
    padding-inline: 0.38rem;
    font-size: 0.66rem;
  }

  .provider-quality {
    gap: 0.3rem;
    padding: 0.58rem;
  }

  .provider-quality small {
    display: none;
  }

  .card-actions {
    grid-template-columns: minmax(0, 1fr) minmax(5.5rem, auto);
    gap: 0.42rem;
  }

  .card-actions .btn {
    min-height: 2.55rem;
    padding-inline: 0.62rem;
  }

  .decision-strip {
    gap: 0.34rem;
  }

  .decision-strip span {
    min-height: 3.05rem;
    padding: 0.46rem;
  }

  .decision-strip strong {
    font-size: 0.86rem;
  }

  .decision-strip small {
    font-size: 0.64rem;
  }

  .safe-request-note {
    display: none;
  }

  .trust-strip {
    gap: 0.28rem;
    max-height: 3.6rem;
    overflow: hidden;
  }

  .trust-badge {
    min-height: 1.66rem;
    padding-inline: 0.42rem;
    font-size: 0.68rem;
  }

  .provider-description {
    display: none;
    min-height: 0;
    overflow: hidden;
    color: #65708a;
    font-size: 0.78rem;
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .tag-list {
    display: none;
  }

  .tag {
    min-height: 1.62rem;
    padding-inline: 0.42rem;
    font-size: 0.68rem;
  }
}

/* Premium91: profile request panel behaves more like a trusted checkout. */
.booking-form {
  gap: 0.72rem;
  border-color: rgba(23, 105, 232, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 255, 0.95)),
    #ffffff;
}

.booking-form .request-form-head {
  align-items: center;
  padding: 0.82rem;
  border: 1px solid rgba(23, 105, 232, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.9)),
    #101a2f;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 105, 232, 0.16);
}

.booking-form .request-form-head .tiny-label {
  color: rgba(255, 255, 255, 0.72);
}

.booking-form .request-form-head h3 {
  max-width: 21rem;
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.08;
}

.booking-form .request-form-head .status-dot {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.booking-decision-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.booking-decision-strip span {
  grid-template-columns: 1fr;
  grid-template-areas:
    "icon"
    "title"
    "copy";
  align-content: start;
  gap: 0.2rem;
  min-height: 4.55rem;
  padding: 0.58rem;
}

.booking-decision-strip svg {
  width: 1.45rem;
  height: 1.45rem;
  padding: 0.3rem;
}

.booking-decision-strip strong {
  min-width: 0;
  overflow-wrap: break-word;
  font-size: 0.82rem;
}

.booking-decision-strip small {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.66rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.booking-login-alert {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.58rem;
  padding: 0.68rem;
  border-color: rgba(207, 159, 39, 0.34);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 249, 232, 0.96), rgba(255, 255, 255, 0.92)),
    #fff8e8;
}

.booking-login-alert .btn {
  min-height: 2.55rem;
  padding-inline: 0.68rem;
}

.booking-account-gate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.62rem;
  align-items: center;
  padding: 0.72rem;
  border: 1px solid rgba(207, 159, 39, 0.34);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 249, 232, 0.98), rgba(255, 255, 255, 0.94)),
    #fff8e8;
}

.booking-account-gate > svg,
.booking-connected-card > svg,
.booking-locked-head > svg {
  width: 2rem;
  height: 2rem;
  padding: 0.42rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  color: #1769e8;
}

.booking-account-gate > svg {
  color: #a46d05;
}

.booking-account-copy,
.booking-account-actions,
.booking-connected-card span,
.booking-locked-head span {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.booking-account-copy strong,
.booking-connected-card strong,
.booking-locked-head strong {
  color: #101b32;
  font-size: 0.95rem;
  line-height: 1.12;
}

.booking-account-copy small,
.booking-account-actions small,
.booking-connected-card small,
.booking-locked-head small,
.booking-gate-steps small,
.booking-locked-grid small {
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.26;
}

.booking-account-actions {
  grid-column: 1 / -1;
  justify-items: stretch;
}

.booking-account-actions .btn {
  width: 100%;
}

.booking-account-actions small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  text-align: center;
}

.booking-account-actions svg {
  width: 0.9rem;
  height: 0.9rem;
  color: #1769e8;
}

.booking-account-actions .btn svg {
  color: currentColor;
}

.booking-gate-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.38rem;
}

.booking-gate-steps span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  padding: 0.48rem;
  border: 1px solid rgba(207, 159, 39, 0.2);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.72);
}

.booking-gate-steps b {
  color: #1769e8;
  font-size: 0.68rem;
  line-height: 1;
}

.booking-gate-steps strong,
.booking-locked-grid strong {
  color: #101b32;
  font-size: 0.78rem;
  line-height: 1.1;
}

.booking-connected-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.58rem;
  align-items: center;
  padding: 0.68rem;
  border: 1px solid rgba(23, 105, 232, 0.2);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(237, 244, 255, 0.96), rgba(255, 255, 255, 0.96));
}

.booking-connected-card b,
.booking-request-head .tiny-label {
  color: #1769e8;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.05;
}

.booking-request-details {
  display: grid;
  gap: 0.58rem;
  padding: 0.68rem;
  border: 1px solid rgba(23, 105, 232, 0.16);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(244, 249, 255, 0.98), rgba(255, 255, 255, 0.95)),
    #ffffff;
}

.booking-request-head {
  display: grid;
  gap: 0.18rem;
}

.booking-request-head strong {
  color: #101b32;
  font-size: 0.95rem;
  line-height: 1.18;
}

.booking-contact-grid {
  gap: 0.5rem;
}

.booking-contact-grid .field,
.booking-message-field,
.booking-upload-field {
  min-width: 0;
}

.booking-contact-grid input,
.booking-message-field textarea {
  background: rgba(255, 255, 255, 0.94);
}

.booking-message-field textarea {
  min-height: 86px;
}

.booking-upload-field .compact-upload {
  min-height: 3.85rem;
  background:
    linear-gradient(135deg, rgba(240, 251, 246, 0.96), rgba(255, 255, 255, 0.96)),
    #ffffff;
}

.booking-locked-details {
  display: grid;
  gap: 0.58rem;
  padding: 0.68rem;
  border: 1px solid rgba(23, 105, 232, 0.16);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(244, 249, 255, 0.98), rgba(255, 255, 255, 0.95)),
    #ffffff;
}

.booking-locked-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
}

.booking-locked-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.booking-locked-grid span {
  display: grid;
  justify-items: center;
  gap: 0.14rem;
  min-width: 0;
  min-height: 4.05rem;
  align-content: center;
  padding: 0.48rem;
  border: 1px solid #d9e4f1;
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.booking-locked-grid svg {
  width: 1.45rem;
  height: 1.45rem;
  padding: 0.3rem;
  border-radius: 0.62rem;
  background: #edf4ff;
  color: #1769e8;
}

.booking-assurance {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.booking-assurance span {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  min-height: 4.25rem;
  padding: 0.58rem 0.45rem;
  text-align: center;
}

.booking-assurance svg {
  grid-row: auto;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0.36rem;
}

.booking-assurance strong {
  font-size: 0.75rem;
  line-height: 1.16;
}

.booking-assurance small {
  display: none;
}

.booking-price-summary {
  padding: 0.68rem;
  background:
    linear-gradient(135deg, rgba(239, 247, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.booking-price-summary .price-total {
  padding-top: 0.46rem;
  border-top: 1px solid #d9e4f1;
}

@media (max-width: 760px) {
  .booking-form .request-form-head {
    padding: 0.75rem;
  }

  .booking-decision-strip,
  .booking-assurance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-decision-strip span {
    min-height: 4.35rem;
    padding: 0.5rem 0.42rem;
  }

  .booking-decision-strip strong {
    font-size: 0.76rem;
  }

  .booking-decision-strip small {
    font-size: 0.62rem;
  }

  .booking-assurance span {
    min-height: 3.85rem;
    padding: 0.48rem 0.34rem;
  }

  .booking-assurance strong {
    font-size: 0.68rem;
  }

  .booking-login-alert {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .booking-login-alert .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .booking-account-gate {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.56rem;
    padding: 0.64rem;
  }

  .booking-account-actions {
    grid-column: 1 / -1;
  }

  .booking-gate-steps {
    gap: 0.3rem;
  }

  .booking-gate-steps span {
    padding: 0.42rem 0.32rem;
    text-align: center;
  }

  .booking-gate-steps small {
    display: none;
  }

  .booking-locked-details {
    padding: 0.62rem;
  }

  .booking-request-details {
    gap: 0.5rem;
    padding: 0.62rem;
  }

  .booking-request-head strong {
    font-size: 0.86rem;
  }

  .booking-contact-grid {
    gap: 0.42rem;
  }

  .booking-contact-grid .field {
    gap: 0.24rem;
  }

  .booking-message-field textarea {
    min-height: 76px;
  }

  .booking-locked-grid {
    gap: 0.32rem;
  }

  .booking-locked-grid span {
    min-height: 3.55rem;
    padding: 0.42rem 0.28rem;
  }

  .booking-locked-grid strong {
    font-size: 0.7rem;
  }

  .booking-locked-grid small {
    display: none;
  }

  .provider-profile-page:not(.request-mode) .mobile-profile-action-bar,
  .provider-profile-page.request-mode .mobile-profile-action-bar {
    display: none;
  }

  body.profile-action-ready .provider-profile-page:not(.request-mode) .mobile-profile-action-bar {
    display: grid;
  }
}

/* Premium93: provider dashboard request control. */
.provider-request-board {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 0.72rem;
  align-items: stretch;
  padding: 0.78rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94)),
    #ffffff;
}

.provider-request-board-copy {
  display: grid;
  align-content: center;
  gap: 0.28rem;
  min-width: 0;
}

.provider-request-board-copy strong {
  color: #111c33;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.12;
}

.provider-request-board-copy small {
  color: #65708a;
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.34;
}

.provider-request-priority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.provider-request-signal {
  display: grid;
  grid-template-areas:
    "icon value"
    "label label"
    "note note";
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.42rem;
  align-content: start;
  min-width: 0;
  min-height: 5.25rem;
  padding: 0.58rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.provider-request-signal svg {
  grid-area: icon;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.32rem;
  border-radius: 0.6rem;
  background: #edf4ff;
  color: #1769e8;
}

.provider-request-signal strong {
  grid-area: value;
  color: #111c33;
  font-size: 1.25rem;
  line-height: 1;
}

.provider-request-signal small {
  grid-area: label;
  color: #111c33;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.16;
}

.provider-request-signal em {
  grid-area: note;
  color: #65708a;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.2;
}

.provider-request-signal.is-urgent {
  border-color: rgba(243, 184, 58, 0.42);
  background: #fff8e8;
}

.provider-request-signal.is-gold {
  border-color: rgba(243, 184, 58, 0.34);
  background: #fffbee;
}

.provider-request-signal.is-green {
  border-color: rgba(58, 181, 119, 0.28);
  background: #effbf5;
}

.provider-inquiry-card {
  position: relative;
  gap: 0.82rem;
  overflow: hidden;
  border-left: 4px solid #d9e4f1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.94)),
    #ffffff;
  scroll-margin-top: calc(var(--topbar-height, 8.5rem) + 0.75rem);
}

.provider-inquiry-card.status-new,
.provider-inquiry-card.status-negotiating {
  border-left-color: #f2a900;
}

.provider-inquiry-card.status-offer_pending_provider {
  border-left-color: #1769e8;
}

.provider-inquiry-card.status-booked,
.provider-inquiry-card.status-completed,
.provider-inquiry-card.status-invoiced,
.provider-inquiry-card.status-reviewed {
  border-left-color: #2fb978;
}

.provider-task-brief {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr) minmax(190px, 0.28fr);
  gap: 0.62rem;
  align-items: stretch;
  padding: 0.72rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 247, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.provider-task-brief.is-urgent {
  border-color: rgba(243, 184, 58, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.provider-task-brief.is-success {
  border-color: rgba(58, 181, 119, 0.32);
  background:
    linear-gradient(135deg, rgba(239, 251, 245, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.provider-task-main,
.provider-task-action {
  display: grid;
  align-content: center;
  min-width: 0;
}

.provider-task-main {
  gap: 0.32rem;
}

.provider-task-main .status-dot {
  width: fit-content;
}

.provider-task-main h4,
.provider-task-main p {
  margin: 0;
}

.provider-task-main h4 {
  color: #111c33;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.1;
}

.provider-task-main p {
  color: #65708a;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.34;
}

.provider-task-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
  min-width: 0;
}

.provider-task-metrics span {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
  padding: 0.54rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.84);
}

.provider-task-metrics svg {
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.32rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-task-metrics strong {
  min-width: 0;
  overflow-wrap: normal;
  word-break: keep-all;
  color: #111c33;
  font-size: 0.9rem;
  line-height: 1.04;
  white-space: normal;
}

.provider-task-metrics small {
  color: #65708a;
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1.1;
}

.provider-task-action {
  justify-items: stretch;
  gap: 0.48rem;
}

.provider-task-action small {
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1.25;
}

.provider-task-action .btn {
  width: 100%;
  justify-content: center;
  min-height: 2.55rem;
}

.provider-lead-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 0.7rem;
  align-items: stretch;
  padding: 0.78rem;
  border: 1px solid rgba(243, 184, 58, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.provider-lead-snapshot.is-steady {
  border-color: rgba(23, 105, 232, 0.2);
  background:
    linear-gradient(135deg, rgba(240, 247, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.provider-lead-snapshot.is-success {
  border-color: rgba(58, 181, 119, 0.3);
  background:
    linear-gradient(135deg, rgba(239, 251, 245, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.provider-lead-snapshot-main {
  display: grid;
  align-content: center;
  gap: 0.42rem;
  min-width: 0;
}

.provider-lead-snapshot-main h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.08;
}

.provider-lead-snapshot-main p {
  margin: 0;
  color: #65708a;
  font-weight: 760;
  line-height: 1.42;
}

.provider-lead-customer,
.provider-lead-message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.48rem;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(217, 228, 241, 0.94);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
}

.provider-lead-customer {
  align-items: center;
}

.provider-lead-customer > svg,
.provider-lead-message > svg {
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.32rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-lead-customer span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.provider-lead-customer strong {
  min-width: 0;
  overflow: hidden;
  color: #111c33;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-lead-customer small,
.provider-lead-message span {
  min-width: 0;
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.provider-lead-message span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.provider-lead-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  align-content: center;
}

.provider-lead-snapshot-grid span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  align-items: center;
  gap: 0.04rem 0.48rem;
  min-width: 0;
  min-height: 4.35rem;
  padding: 0.64rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.provider-lead-snapshot-grid svg {
  grid-area: icon;
  width: 1.72rem;
  height: 1.72rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-lead-snapshot-grid strong {
  grid-area: value;
  min-width: 0;
  overflow-wrap: break-word;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.05;
}

.provider-lead-snapshot-grid small {
  grid-area: label;
  min-width: 0;
  overflow-wrap: break-word;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.22;
}

.provider-fulfillment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.45fr);
  grid-template-areas:
    "copy action"
    "metrics action";
  gap: 0.64rem 0.72rem;
  align-items: stretch;
  padding: 0.82rem;
  border: 1px solid rgba(58, 181, 119, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(239, 251, 245, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.provider-fulfillment-panel.is-completed {
  border-color: rgba(243, 184, 58, 0.44);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.provider-fulfillment-panel.is-invoiced {
  border-color: rgba(23, 105, 232, 0.22);
  background:
    linear-gradient(135deg, rgba(240, 247, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.provider-fulfillment-copy {
  grid-area: copy;
  display: grid;
  align-content: center;
  gap: 0.38rem;
  min-width: 0;
}

.provider-fulfillment-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.12;
  max-width: 17em;
}

.provider-fulfillment-copy p {
  margin: 0;
  color: #65708a;
  font-weight: 760;
  line-height: 1.38;
  max-width: 58ch;
}

.provider-fulfillment-metrics {
  grid-area: metrics;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
  align-content: end;
}

.provider-fulfillment-metrics span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  align-items: center;
  gap: 0.04rem 0.48rem;
  min-width: 0;
  min-height: 3.85rem;
  padding: 0.54rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.provider-fulfillment-metrics svg {
  grid-area: icon;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-fulfillment-metrics strong {
  grid-area: value;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-fulfillment-metrics small {
  grid-area: label;
  min-width: 0;
  overflow-wrap: break-word;
  color: #65708a;
  font-size: 0.7rem;
  font-weight: 780;
  line-height: 1.2;
}

.provider-fulfillment-action {
  grid-area: action;
  display: grid;
  align-content: center;
  gap: 0.52rem;
  min-width: 0;
  padding-left: 0.08rem;
}

.provider-fulfillment-action .btn {
  width: 100%;
  justify-content: center;
  min-height: 2.7rem;
}

.provider-fulfillment-action > small {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem;
  align-items: start;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.28;
}

.provider-fulfillment-action > small svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #1769e8;
}

.provider-invoice-direct {
  display: grid;
  gap: 0.5rem;
}

.provider-invoice-direct .invoice-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .provider-request-board {
    grid-template-columns: 1fr;
    padding: 0.72rem;
  }

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

  .provider-request-signal {
    min-height: 4.8rem;
    padding: 0.52rem;
  }

  .provider-inquiry-card {
    border-left-width: 3px;
  }

  .provider-task-brief {
    grid-template-columns: 1fr;
    gap: 0.52rem;
    padding: 0.62rem;
  }

  .provider-task-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
  }

  .provider-task-metrics span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon value"
      "icon label";
    align-items: center;
    column-gap: 0.42rem;
    padding: 0.48rem;
  }

  .provider-task-metrics svg {
    grid-area: icon;
  }

  .provider-task-metrics strong {
    grid-area: value;
  }

  .provider-task-metrics small {
    grid-area: label;
  }

  .provider-inquiry-card .order-action-grid,
  .provider-inquiry-card .response-console-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-inquiry-card .provider-response-console .response-console-grid {
    grid-template-columns: 1fr;
  }

  .provider-fulfillment-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "metrics"
      "action";
    gap: 0.58rem;
    padding: 0.64rem;
  }

  .provider-fulfillment-copy h4 {
    font-size: 1.42rem;
    line-height: 1.1;
  }

  .provider-fulfillment-copy p {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .provider-fulfillment-metrics {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .provider-fulfillment-metrics span {
    min-height: 4rem;
    padding: 0.5rem;
    column-gap: 0.42rem;
  }

  .provider-fulfillment-metrics strong {
    font-size: 0.88rem;
  }

  .provider-fulfillment-metrics small {
    font-size: 0.66rem;
  }

  .provider-inquiry-card > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .provider-inquiry-card .deal-summary {
    display: none;
  }
}

/* Premium94: customer account decision board. */
.customer-decision-board {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 0.72rem;
  align-items: stretch;
  padding: 0.78rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94)),
    #ffffff;
}

.customer-decision-copy {
  display: grid;
  align-content: center;
  gap: 0.28rem;
  min-width: 0;
}

.customer-decision-copy strong {
  color: #111c33;
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.12;
}

.customer-decision-copy small {
  color: #65708a;
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.34;
}

.customer-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.customer-decision-signal {
  display: grid;
  grid-template-areas:
    "icon value"
    "label label"
    "note note";
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.42rem;
  align-content: start;
  min-width: 0;
  min-height: 5.25rem;
  padding: 0.58rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.customer-decision-signal svg {
  grid-area: icon;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.32rem;
  border-radius: 0.6rem;
  background: #edf4ff;
  color: #1769e8;
}

.customer-decision-signal strong {
  grid-area: value;
  color: #111c33;
  font-size: 1.25rem;
  line-height: 1;
}

.customer-decision-signal small {
  grid-area: label;
  color: #111c33;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.16;
}

.customer-decision-signal em {
  grid-area: note;
  color: #65708a;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.2;
}

.customer-decision-signal.is-gold {
  border-color: rgba(243, 184, 58, 0.36);
  background: #fff8e8;
}

.customer-decision-signal.is-green {
  border-color: rgba(58, 181, 119, 0.28);
  background: #effbf5;
}

.customer-decision-signal.is-blue {
  border-color: rgba(23, 105, 232, 0.24);
  background: #f1f7ff;
}

.customer-tracking-lane {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 0.72rem;
  align-items: stretch;
  padding: 0.78rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 26, 47, 0.98), rgba(23, 105, 232, 0.92) 58%, rgba(61, 214, 161, 0.7)),
    #101a2f;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(20, 32, 54, 0.14);
}

.customer-tracking-copy {
  display: grid;
  align-content: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.35rem;
}

.customer-tracking-copy .eyebrow {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.customer-tracking-copy .eyebrow svg {
  color: #9ee8c8;
}

.customer-tracking-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.08;
}

.customer-tracking-copy .result-meta {
  max-width: 31rem;
  color: rgba(255, 255, 255, 0.74);
}

.customer-tracking-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.38rem;
}

.customer-tracking-summary span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  min-height: 3.4rem;
  align-content: center;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
}

.customer-tracking-summary strong {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-tracking-summary small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.16;
}

.customer-tracking-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  align-content: center;
  min-width: 0;
}

.customer-tracking-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0.35rem;
  min-width: 0;
  min-height: 7.1rem;
  padding: 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.customer-tracking-stage.has-items {
  background: rgba(255, 255, 255, 0.16);
}

.customer-tracking-stage > svg {
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.customer-tracking-stage div:not(.customer-tracking-meter) {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.customer-tracking-stage strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.1;
}

.customer-tracking-stage small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.2;
}

.customer-tracking-stage span {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.35rem;
  min-width: 0;
}

.customer-tracking-stage b {
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 0.95;
}

.customer-tracking-stage em {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-tracking-meter {
  height: 0.34rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.customer-tracking-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffffff, #9ee8c8);
}

.customer-inquiry-card {
  gap: 0.82rem;
  overflow: hidden;
  border-left: 4px solid #d9e4f1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.94)),
    #ffffff;
}

.customer-order-brief {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1.12fr) minmax(190px, 0.3fr);
  gap: 0.62rem;
  align-items: stretch;
  padding: 0.72rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(237, 244, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.customer-order-brief.is-urgent {
  border-color: rgba(243, 184, 58, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.customer-order-brief.is-success {
  border-color: rgba(58, 181, 119, 0.32);
  background:
    linear-gradient(135deg, rgba(239, 251, 245, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.customer-order-main,
.customer-order-action {
  display: grid;
  align-content: center;
  min-width: 0;
}

.customer-order-main {
  gap: 0.32rem;
}

.customer-order-main .status-dot {
  width: fit-content;
}

.customer-order-main h4,
.customer-order-main p {
  margin: 0;
}

.customer-order-main h4 {
  color: #111c33;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.1;
}

.customer-order-main p {
  color: #65708a;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.34;
}

.customer-order-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.42rem;
  min-width: 0;
}

.customer-order-metrics span {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
  min-height: 5.25rem;
  align-content: center;
  padding: 0.5rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
}

.customer-order-metrics svg {
  width: 1.48rem;
  height: 1.48rem;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.customer-order-metrics strong {
  min-width: 0;
  overflow-wrap: normal;
  word-break: keep-all;
  color: #111c33;
  font-size: 0.86rem;
  line-height: 1.04;
}

.customer-order-metrics small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #65708a;
  font-size: 0.66rem;
  font-weight: 820;
  line-height: 1.1;
}

.customer-order-action {
  justify-items: stretch;
  gap: 0.48rem;
}

.customer-order-action .btn {
  width: 100%;
  justify-content: center;
  min-height: 2.55rem;
}

.customer-order-action small {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.34rem;
  align-items: start;
  min-width: 0;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.25;
}

.customer-order-action small svg {
  width: 0.96rem;
  height: 0.96rem;
  color: #1769e8;
}

.customer-inquiry-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 0.7rem;
  align-items: stretch;
  padding: 0.78rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(237, 244, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.customer-inquiry-snapshot.is-urgent {
  border-color: rgba(243, 184, 58, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.customer-inquiry-snapshot.is-success {
  border-color: rgba(58, 181, 119, 0.28);
  background:
    linear-gradient(135deg, rgba(239, 251, 245, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.customer-inquiry-snapshot-main {
  display: grid;
  align-content: center;
  gap: 0.42rem;
  min-width: 0;
}

.customer-inquiry-snapshot-main h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.08;
}

.customer-inquiry-snapshot-main p {
  margin: 0;
  color: #65708a;
  font-weight: 760;
  line-height: 1.42;
}

.customer-inquiry-message-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  min-width: 0;
  margin-top: 0.1rem;
  padding: 0.58rem;
  border: 1px solid rgba(217, 228, 241, 0.92);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
  color: #41506c;
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.32;
}

.customer-inquiry-message-preview svg {
  width: 1.2rem;
  height: 1.2rem;
  color: #1769e8;
}

.customer-inquiry-message-preview span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.customer-inquiry-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.customer-inquiry-snapshot-grid span {
  display: grid;
  align-content: center;
  gap: 0.18rem;
  min-width: 0;
  min-height: 6.15rem;
  padding: 0.64rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.customer-inquiry-snapshot-grid svg {
  width: 1.72rem;
  height: 1.72rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.customer-inquiry-snapshot-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.05;
}

.customer-inquiry-snapshot-grid small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.22;
}

.customer-inquiry-card.status-offer_pending_customer,
.customer-inquiry-card.status-completed,
.customer-inquiry-card.status-invoiced {
  border-left-color: #f2a900;
}

.customer-inquiry-card.status-booked {
  border-left-color: #2fb978;
}

.customer-inquiry-card.status-new,
.customer-inquiry-card.status-negotiating,
.customer-inquiry-card.status-offer_pending_provider {
  border-left-color: #1769e8;
}

.customer-inquiry-card.status-reviewed {
  border-left-color: #2fb978;
}

.customer-offer-decision-panel {
  scroll-margin-top: calc(var(--topbar-height, 8.5rem) + 0.75rem);
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.2fr) minmax(220px, 0.44fr);
  gap: 0.68rem;
  align-items: start;
  padding: 0.78rem;
  border: 1px solid rgba(243, 184, 58, 0.46);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.customer-offer-main {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-width: 0;
}

.customer-offer-main h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.14rem, 2vw, 1.45rem);
  line-height: 1.08;
}

.customer-offer-main p {
  margin: 0;
  color: #65708a;
  font-weight: 760;
  line-height: 1.42;
}

.customer-offer-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(217, 228, 241, 0.94);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.customer-offer-note svg {
  width: 1.35rem;
  height: 1.35rem;
  color: #1769e8;
}

.customer-offer-note span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #41506c;
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.32;
}

.customer-offer-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
  align-content: start;
}

.customer-offer-checks span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  align-items: center;
  gap: 0.04rem 0.48rem;
  min-width: 0;
  min-height: 3.5rem;
  padding: 0.48rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
}

.customer-offer-checks svg {
  grid-area: icon;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.customer-offer-checks strong {
  grid-area: value;
  min-width: 0;
  overflow-wrap: break-word;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.05;
}

.customer-offer-checks small {
  grid-area: label;
  min-width: 0;
  overflow-wrap: break-word;
  color: #65708a;
  font-size: 0.7rem;
  font-weight: 780;
  line-height: 1.2;
}

.customer-offer-actions {
  display: grid;
  align-content: center;
  gap: 0.52rem;
  min-width: 0;
}

.customer-offer-actions .btn {
  width: 100%;
  min-height: 2.7rem;
  justify-content: center;
}

.customer-offer-actions small {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem;
  align-items: start;
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.28;
}

.customer-offer-actions small svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #1769e8;
}

@media (max-width: 1120px) {
  .customer-order-brief {
    grid-template-columns: 1fr;
  }

  .customer-order-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .customer-order-action {
    grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (max-width: 760px) {
  .customer-decision-board {
    grid-template-columns: 1fr;
    padding: 0.72rem;
  }

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

  .customer-decision-signal {
    min-height: 4.8rem;
    padding: 0.52rem;
  }

  .customer-tracking-lane {
    grid-template-columns: 1fr;
    gap: 0.62rem;
    padding: 0.68rem;
  }

  .customer-tracking-copy {
    gap: 0.42rem;
    padding: 0;
  }

  .customer-tracking-copy h3 {
    font-size: 1.22rem;
  }

  .customer-tracking-copy .result-meta {
    display: none;
  }

  .customer-tracking-summary {
    gap: 0.3rem;
  }

  .customer-tracking-summary span {
    min-height: 3rem;
    padding: 0.42rem;
  }

  .customer-tracking-summary strong {
    font-size: 0.82rem;
  }

  .customer-tracking-summary small {
    font-size: 0.6rem;
  }

  .customer-tracking-track {
    grid-template-columns: 1fr;
    gap: 0.34rem;
  }

  .customer-tracking-stage {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "icon copy meta"
      "meter meter meter";
    align-items: center;
    gap: 0.18rem 0.48rem;
    min-height: 3.72rem;
    padding: 0.44rem;
  }

  .customer-tracking-stage > svg {
    grid-area: icon;
    width: 1.48rem;
    height: 1.48rem;
    padding: 0.3rem;
  }

  .customer-tracking-stage div:not(.customer-tracking-meter) {
    grid-area: copy;
    gap: 0.08rem;
  }

  .customer-tracking-stage strong {
    font-size: 0.82rem;
  }

  .customer-tracking-stage small {
    font-size: 0.64rem;
  }

  .customer-tracking-stage span {
    grid-area: meta;
    display: grid;
    justify-items: end;
    gap: 0.08rem;
  }

  .customer-tracking-stage b {
    font-size: 1.22rem;
  }

  .customer-tracking-stage em {
    max-width: 5.4rem;
    font-size: 0.62rem;
  }

  .customer-tracking-meter {
    grid-area: meter;
    height: 0.26rem;
  }

  .customer-inquiry-card {
    gap: 0.68rem;
    border-left-width: 3px;
  }

  .customer-order-brief {
    grid-template-columns: 1fr;
    gap: 0.52rem;
    padding: 0.62rem;
  }

  .customer-order-main h4 {
    font-size: clamp(1.22rem, 6.5vw, 1.52rem);
  }

  .customer-order-main p {
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .customer-order-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem;
  }

  .customer-order-metrics span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon value"
      "icon label";
    align-items: center;
    min-height: 3.75rem;
    padding: 0.48rem;
    column-gap: 0.42rem;
  }

  .customer-order-metrics svg {
    grid-area: icon;
  }

  .customer-order-metrics strong {
    grid-area: value;
    font-size: 0.84rem;
    overflow-wrap: anywhere;
  }

  .customer-order-metrics small {
    grid-area: label;
  }

  .customer-order-action {
    grid-template-columns: 1fr;
  }

  .customer-offer-decision-panel {
    grid-template-columns: 1fr;
    gap: 0.58rem;
    padding: 0.64rem;
  }

  .customer-offer-main h4 {
    font-size: clamp(1.28rem, 7vw, 1.68rem);
  }

  .customer-offer-main p {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .customer-offer-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .customer-offer-checks span {
    min-height: 4rem;
    padding: 0.5rem;
    column-gap: 0.42rem;
  }

  .customer-offer-checks strong {
    font-size: 0.88rem;
  }

  .customer-offer-checks small {
    font-size: 0.66rem;
  }

  .customer-offer-actions {
    grid-template-columns: 1fr;
  }

  .customer-inquiry-snapshot {
    grid-template-columns: 1fr;
    gap: 0.58rem;
    padding: 0.64rem;
  }

  .customer-inquiry-snapshot-main h4 {
    font-size: clamp(1.28rem, 7vw, 1.7rem);
  }

  .customer-inquiry-snapshot-main p {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .customer-inquiry-message-preview {
    padding: 0.52rem;
    font-size: 0.76rem;
  }

  .customer-inquiry-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .customer-inquiry-snapshot-grid span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon value"
      "icon label";
    align-items: center;
    min-height: 4.2rem;
    padding: 0.52rem;
    column-gap: 0.45rem;
  }

  .customer-inquiry-snapshot-grid svg {
    grid-area: icon;
  }

  .customer-inquiry-snapshot-grid strong {
    grid-area: value;
    font-size: 0.9rem;
  }

  .customer-inquiry-snapshot-grid small {
    grid-area: label;
    font-size: 0.68rem;
  }

  .customer-inquiry-card .order-action-grid,
  .customer-inquiry-card .response-console-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-inquiry-card .deal-summary {
    display: none;
  }
}

@media (max-width: 760px) {
  .provider-dashboard-shell {
    gap: 0.72rem;
  }

  .provider-dashboard-shell .dashboard-head {
    gap: 0.42rem;
  }

  .provider-dashboard-shell .dashboard-head h1 {
    font-size: clamp(1.72rem, 10vw, 2.22rem);
    line-height: 0.96;
  }

  .provider-dashboard-shell .dashboard-head .eyebrow {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .provider-command-center {
    padding: 0.72rem;
  }

  .provider-command-main {
    gap: 0.62rem;
  }

  .provider-command-center .section-title-row {
    gap: 0.42rem;
  }

  .provider-command-center .section-title-row h2 {
    font-size: clamp(1.42rem, 7.5vw, 1.78rem);
    line-height: 1;
  }

  .provider-command-center .section-title-row .result-meta {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .provider-next-card-mobile {
    order: 1;
    gap: 0.5rem;
    padding: 0.68rem;
  }

  .provider-next-card-mobile h3 {
    font-size: clamp(1.12rem, 5.6vw, 1.34rem);
    line-height: 1.05;
  }

  .provider-next-card-mobile p {
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .provider-ops-grid {
    order: 2;
    gap: 0.42rem;
  }

  .provider-ops-grid span {
    min-height: 5.25rem;
    padding: 0.56rem;
  }

  .provider-ops-grid svg {
    width: 1.72rem;
    height: 1.72rem;
    padding: 0.34rem;
  }

  .provider-ops-grid strong {
    font-size: 1.08rem;
  }

  .provider-ops-grid small {
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .provider-market-pulse {
    order: 3;
  }

  .provider-workspace-grid {
    gap: 0.72rem;
  }

  .provider-lead-snapshot {
    grid-template-columns: 1fr;
    gap: 0.58rem;
    padding: 0.64rem;
  }

  .provider-lead-snapshot-main h4 {
    font-size: clamp(1.24rem, 6.8vw, 1.62rem);
  }

  .provider-lead-snapshot-main p {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .provider-lead-customer,
  .provider-lead-message {
    padding: 0.52rem;
  }

  .provider-lead-customer small,
  .provider-lead-message span {
    font-size: 0.74rem;
  }

  .provider-lead-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .provider-lead-snapshot-grid span {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon value"
      "icon label";
    align-items: center;
    min-height: 4.2rem;
    padding: 0.52rem;
    column-gap: 0.45rem;
  }

  .provider-lead-snapshot-grid svg {
    grid-area: icon;
  }

  .provider-lead-snapshot-grid strong {
    grid-area: value;
    font-size: 0.9rem;
  }

  .provider-lead-snapshot-grid small {
    grid-area: label;
    font-size: 0.68rem;
  }

  .customer-dashboard-shell {
    gap: 0.72rem;
  }

  .customer-dashboard-shell .dashboard-head {
    gap: 0.42rem;
  }

  .customer-dashboard-shell .dashboard-head h1 {
    font-size: clamp(1.82rem, 11vw, 2.32rem);
    line-height: 0.96;
  }

  .customer-dashboard-shell .dashboard-head .eyebrow {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .customer-command-center {
    padding: 0.72rem;
  }

  .customer-command-main {
    gap: 0.62rem;
  }

  .customer-command-center .section-title-row {
    gap: 0.42rem;
  }

  .customer-command-center .section-title-row h2 {
    font-size: clamp(1.45rem, 8vw, 1.82rem);
    line-height: 1;
  }

  .customer-command-center .section-title-row .result-meta {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .customer-next-card-mobile {
    order: 2;
    gap: 0.5rem;
    padding: 0.68rem;
  }

  .customer-next-card-mobile h3 {
    font-size: clamp(1.12rem, 5.6vw, 1.34rem);
    line-height: 1.05;
  }

  .customer-next-card-mobile p {
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .customer-next-card-mobile .mini-provider.compact {
    min-height: 3.7rem;
  }

  .customer-safety-grid {
    gap: 0.42rem;
  }

  .customer-safety-grid span {
    min-height: 5.25rem;
    padding: 0.56rem;
  }

  .customer-safety-grid svg {
    width: 1.72rem;
    height: 1.72rem;
    padding: 0.34rem;
  }

  .customer-safety-grid strong {
    font-size: 1.12rem;
  }

  .customer-safety-grid small {
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .toast {
    right: 0.55rem;
    bottom: calc(0.65rem + env(safe-area-inset-bottom));
    width: min(310px, calc(100% - 1.1rem));
    padding: 0.62rem 0.68rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    line-height: 1.32;
  }
}

/* Premium navigation layer */
.topbar {
  z-index: 260;
}

.topbar-main,
.portal-category-nav {
  width: min(100%, 1320px);
  justify-self: center;
}

.topbar-main {
  grid-template-columns: minmax(158px, auto) minmax(320px, 590px) minmax(0, 1fr) auto;
  align-items: center;
}

.topbar-search,
.topbar-links a,
.user-menu-trigger,
.category-trigger {
  border-radius: var(--radius);
}

.topbar:not(.is-scrolled) {
  background:
    linear-gradient(180deg, rgba(246, 249, 253, 0.82), rgba(246, 249, 253, 0.1) 82%),
    transparent;
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 1px 0 rgba(215, 226, 239, 0.82),
    0 16px 42px rgba(18, 32, 55, 0.12);
}

.topbar-search {
  border-color: rgba(206, 219, 236, 0.88);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 30px rgba(18, 32, 55, 0.07);
}

.topbar:not(.is-scrolled) .topbar-search {
  background: rgba(255, 255, 255, 0.72);
}

.topbar-search button {
  background: linear-gradient(135deg, #1769e8, #0b55d9);
}

.topbar-links {
  justify-self: end;
  gap: 0.5rem;
}

.topbar-links a {
  min-height: 2.55rem;
  padding-inline: 0.72rem;
  color: #111c33;
}

.topbar:not(.is-scrolled) .topbar-links a {
  color: #14213b;
}

.topbar-links a:hover {
  transform: translateY(-1px);
}

.user-menu {
  justify-self: end;
}

.user-menu-trigger {
  min-width: 8.2rem;
  border-color: rgba(206, 219, 236, 0.9);
  background: rgba(255, 255, 255, 0.88);
}

.user-menu[open] .user-menu-trigger {
  border-color: rgba(23, 105, 232, 0.4);
  background: #ffffff;
  color: #0b55d9;
  box-shadow: 0 14px 34px rgba(23, 105, 232, 0.14);
}

.portal-category-nav {
  align-items: center;
  gap: 0.42rem;
  padding: 0.08rem 0.02rem 0.16rem;
}

.category-trigger {
  min-height: 2.42rem;
  padding-inline: 0.76rem;
  border-color: rgba(211, 223, 238, 0.92);
  background: rgba(255, 255, 255, 0.74);
  color: #111c33;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 9px 22px rgba(18, 32, 55, 0.06);
}

.category-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 105, 232, 0.2);
  background: #ffffff;
}

.category-group.is-open .category-trigger,
.category-group:focus-within .category-trigger {
  border-color: rgba(23, 105, 232, 0.36);
  background: #edf4ff;
  color: #0b55d9;
}

.category-menu {
  top: var(--category-menu-top, 7rem);
  left: var(--category-menu-left, 1rem);
  z-index: 340;
  width: var(--category-menu-width, min(540px, calc(100vw - 2rem)));
  max-height: min(520px, calc(100svh - var(--category-menu-top, 7rem) - 1rem));
  padding: 0.72rem;
  border-color: rgba(203, 217, 236, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 24px 80px rgba(18, 32, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.08);
}

.category-menu-head {
  padding: 0.72rem;
  border: 1px solid rgba(221, 231, 243, 0.9);
  background:
    linear-gradient(135deg, rgba(240, 247, 255, 0.96), rgba(255, 248, 232, 0.92)),
    #ffffff;
}

.category-menu-head strong {
  color: #101a2f;
  font-size: 1rem;
  font-weight: 930;
}

.category-menu-head small {
  color: #63708a;
  line-height: 1.35;
}

.category-menu-grid {
  gap: 0.52rem;
}

.category-child {
  min-height: 3.24rem;
  padding: 0.56rem;
  border-color: rgba(213, 225, 240, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94)),
    #ffffff;
  box-shadow: 0 8px 20px rgba(18, 32, 55, 0.045);
}

.category-child span {
  background: #eef5ff;
  color: #1769e8;
}

.category-child:hover,
.category-child.is-active {
  transform: translateY(-1px);
  border-color: rgba(23, 105, 232, 0.26);
  background: #f3f8ff;
  color: #0b55d9;
}

.category-menu-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.35rem;
  padding: 0.58rem 0.64rem;
  border: 1px solid rgba(196, 218, 206, 0.86);
  border-radius: var(--radius-sm);
  background: #f2fbf6;
  color: #234234;
  font-size: 0.78rem;
  font-weight: 790;
  line-height: 1.25;
}

.category-menu-foot svg {
  flex: 0 0 auto;
  color: #0f8a5f;
}

.user-menu-panel {
  top: var(--user-menu-top, 4.8rem);
  right: auto;
  left: var(--user-menu-left, auto);
  z-index: 360;
  width: var(--user-menu-width, min(360px, calc(100vw - 1.5rem)));
  max-height: calc(100svh - var(--user-menu-top, 4.8rem) - 1rem);
  padding: 0.55rem;
  border-color: rgba(203, 217, 236, 0.92);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 24px 80px rgba(18, 32, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.08);
}

.user-menu:not([open]) .user-menu-panel {
  display: none;
}

.user-menu[open] .user-menu-panel {
  display: grid;
}

.topbar.is-scrolled .user-menu-panel {
  top: var(--user-menu-top, 4.2rem);
}

.user-menu-head {
  border: 1px solid rgba(221, 231, 243, 0.9);
  background:
    linear-gradient(135deg, rgba(240, 247, 255, 0.96), rgba(255, 248, 232, 0.94)),
    #ffffff;
}

.user-menu-quick a {
  border-color: rgba(198, 216, 240, 0.9);
  background: #f6f9fe;
}

.user-menu-item {
  min-height: 2.82rem;
}

.user-menu-item:hover {
  background: #f3f8ff;
  color: #0b55d9;
}

@media (min-width: 1180px) {
  .portal-category-nav {
    flex-wrap: wrap;
    overflow: visible;
  }
}

@media (max-width: 1080px) and (min-width: 761px) {
  .topbar-main {
    grid-template-columns: minmax(132px, auto) minmax(250px, 1fr) auto auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    z-index: 280;
  }

  .topbar-main {
    grid-template-columns: minmax(0, 1fr) var(--tap);
    width: 100%;
  }

  .topbar-links {
    display: none;
  }

  .topbar-search {
    width: 100%;
  }

  .user-menu-trigger {
    min-width: var(--tap);
    width: var(--tap);
    max-width: var(--tap);
  }

  .portal-category-nav {
    width: calc(100% + 1.44rem);
    justify-self: stretch;
    flex-wrap: nowrap;
    gap: 0.42rem;
    margin-inline: -0.72rem;
    padding: 0.02rem 0.72rem 0.1rem;
    overflow-x: auto;
    overflow-y: visible;
  }

  .category-trigger {
    min-height: 2.5rem;
    padding-inline: 0.72rem;
  }

  .category-menu {
    top: var(--category-menu-top, 11rem);
    left: var(--category-menu-left, 0.75rem);
    width: var(--category-menu-width, calc(100vw - 1.5rem));
    max-height: calc(100svh - var(--category-menu-top, 11rem) - 0.75rem);
    padding: 0.62rem;
  }

  .category-menu-grid {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .category-menu-head {
    padding: 0.64rem;
  }

  .category-child {
    min-height: 3rem;
    padding: 0.48rem;
  }

  .category-menu-foot {
    display: none;
  }

  .user-menu-panel,
  .topbar.is-scrolled .user-menu-panel {
    top: var(--user-menu-top, 4.1rem);
    left: var(--user-menu-left, 0.75rem);
    width: var(--user-menu-width, calc(100vw - 1.5rem));
    max-height: calc(100svh - var(--user-menu-top, 4.1rem) - 0.75rem);
  }

  .user-menu-quick {
    grid-template-columns: 1fr;
  }
}

/* Premium148: mobile scroll header becomes a compact app bar while categories stay directly underneath. */
@media (max-width: 760px) {
  .topbar.is-scrolled {
    gap: 0.34rem;
    padding: calc(0.36rem + env(safe-area-inset-top)) 0.62rem 0.38rem;
  }

  .topbar.is-scrolled .topbar-main {
    grid-template-columns: minmax(82px, 96px) minmax(0, 1fr) 2.45rem;
    gap: 0.32rem;
    align-items: center;
  }

  .topbar.is-scrolled .brand {
    grid-column: 1;
    grid-row: 1;
    min-height: 2.45rem;
  }

  .topbar.is-scrolled .brand-logo {
    width: clamp(82px, 24vw, 96px);
    height: 2.35rem;
    filter: none;
  }

  .topbar.is-scrolled .topbar-search {
    grid-column: 2;
    grid-row: 1;
    min-height: 2.45rem;
    padding: 0.18rem 0.18rem 0.18rem 0.52rem;
    border-radius: 0.82rem;
  }

  .topbar.is-scrolled .topbar-search > svg {
    width: 1rem;
    height: 1rem;
  }

  .topbar.is-scrolled .topbar-search input {
    min-height: 2rem;
    font-size: 0.86rem;
  }

  .topbar.is-scrolled .topbar-search button {
    min-width: 2.18rem;
    min-height: 2.05rem;
    border-radius: 0.68rem;
  }

  .topbar.is-scrolled .user-menu {
    grid-column: 3;
    grid-row: 1;
  }

  .topbar.is-scrolled .user-menu-trigger {
    min-width: 2.45rem;
    width: 2.45rem;
    max-width: 2.45rem;
    min-height: 2.45rem;
    border-radius: 0.82rem;
  }

  .topbar.is-scrolled .portal-category-nav {
    width: calc(100% + 1.24rem);
    margin-inline: -0.62rem;
    padding: 0 0.62rem 0.04rem;
  }

  .topbar.is-scrolled .category-trigger {
    min-height: 2.18rem;
    padding-inline: 0.62rem;
    border-radius: 0.82rem;
    font-size: 0.82rem;
  }

  .topbar.is-scrolled .category-trigger svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  .topbar.is-scrolled .category-menu {
    max-height: calc(100svh - var(--category-menu-top, 6.7rem) - 0.75rem);
  }
}

/* Premium149: mobile dashboards keep operational cards compact instead of hero-sized. */
@media (max-width: 760px) {
  .provider-fulfillment-copy h4,
  .provider-lead-snapshot-main h4,
  .customer-inquiry-snapshot-main h4,
  .customer-offer-main h4 {
    font-size: clamp(1.14rem, 5.8vw, 1.42rem);
    line-height: 1.12;
  }

  .provider-fulfillment-copy p,
  .provider-lead-snapshot-main p,
  .customer-inquiry-snapshot-main p,
  .customer-offer-main p {
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .provider-fulfillment-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-fulfillment-metrics span {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "value"
      "label";
    align-content: start;
    gap: 0.18rem;
    min-height: 4.55rem;
  }

  .provider-fulfillment-metrics svg {
    width: 1.55rem;
    height: 1.55rem;
  }
}

/* Premium151: provider profile editing behaves like an operations panel, not a long settings dump. */
.provider-profile-command {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.72rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.94)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(20, 32, 54, 0.1);
}

.provider-profile-command > div:first-child {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.provider-profile-command .tiny-label {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  width: fit-content;
}

.provider-profile-command strong {
  min-width: 0;
  overflow: hidden;
  color: #111c33;
  font-size: 1rem;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-profile-command small {
  min-width: 0;
  overflow: hidden;
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.24;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-profile-command-actions {
  display: flex;
  gap: 0.42rem;
  align-items: center;
}

.provider-profile-command-actions .btn {
  min-height: 2.45rem;
  padding-inline: 0.62rem;
  white-space: nowrap;
}

.provider-dashboard-shell .profile-editor .provider-profile-command {
  grid-template-columns: 1fr;
}

.provider-dashboard-shell .profile-editor .provider-profile-command-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.provider-dashboard-shell .profile-editor .provider-profile-command strong,
.provider-dashboard-shell .profile-editor .provider-profile-command small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.provider-dashboard-shell .profile-editor .slot-planner-stats {
  grid-template-columns: 1fr;
}

.profile-slot-planner {
  gap: 0.72rem;
  padding: 0.82rem;
  border-color: rgba(23, 105, 232, 0.2);
  background:
    linear-gradient(135deg, rgba(240, 247, 255, 0.98), rgba(255, 255, 255, 0.96)),
    #ffffff;
}

.slot-planner-head {
  display: grid;
  gap: 0.34rem;
  min-width: 0;
}

.slot-planner-head strong {
  color: #111c33;
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  line-height: 1.08;
}

.slot-planner-head small {
  color: #65708a;
  font-weight: 760;
  line-height: 1.36;
}

.slot-planner-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.slot-planner-stats span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  align-items: center;
  gap: 0.04rem 0.42rem;
  min-width: 0;
  min-height: 3.6rem;
  padding: 0.54rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
}

.slot-planner-stats svg {
  grid-area: icon;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.32rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.slot-planner-stats strong {
  grid-area: value;
  min-width: 0;
  overflow: hidden;
  color: #111c33;
  font-size: 0.92rem;
  line-height: 1.06;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-planner-stats small {
  grid-area: label;
  min-width: 0;
  overflow: hidden;
  color: #65708a;
  font-size: 0.68rem;
  font-weight: 780;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .provider-profile-command {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.62rem;
  }

  .provider-profile-command-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  }

  .provider-dashboard-shell .profile-editor .provider-profile-command-actions {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  }

  .provider-profile-command-actions .btn {
    justify-content: center;
    min-height: 2.38rem;
    padding-inline: 0.44rem;
    font-size: 0.84rem;
  }

  .profile-slot-planner {
    padding: 0.68rem;
  }

  .slot-planner-stats {
    grid-template-columns: 1fr;
    gap: 0.38rem;
  }

  .slot-planner-stats span {
    min-height: 3.2rem;
    padding: 0.48rem;
  }

  .profile-slot-planner .slot-row {
    grid-template-columns: 1fr;
    gap: 0.38rem;
  }

  .profile-slot-planner .slot-preview {
    min-height: 2.72rem;
  }
}

/* Premium152: Auftragsradar becomes a compact operations lane on mobile. */
@media (max-width: 760px) {
  .provider-pipeline-board {
    grid-template-columns: 1fr;
    gap: 0.58rem;
    padding: 0.72rem;
  }

  .provider-pipeline-copy {
    gap: 0.42rem;
  }

  .provider-pipeline-copy h2 {
    font-size: clamp(1.34rem, 7vw, 1.72rem);
    line-height: 1.02;
  }

  .provider-pipeline-copy .result-meta {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .provider-pipeline-impact {
    order: 2;
    gap: 0.5rem;
    padding: 0.68rem;
  }

  .provider-pipeline-impact h3 {
    font-size: clamp(1.08rem, 5.8vw, 1.34rem);
  }

  .provider-pipeline-impact p {
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .pipeline-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.36rem;
  }

  .pipeline-impact-grid span {
    min-height: 3.4rem;
    padding: 0.46rem;
  }

  .provider-pipeline-impact .btn {
    min-height: 2.45rem;
  }

  .provider-pipeline-track {
    order: 3;
    grid-template-columns: 1fr;
    gap: 0.42rem;
    overflow: visible;
  }

  .provider-pipeline-stage {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "icon title meta"
      "icon text meta"
      "meter meter meter";
    align-items: center;
    gap: 0.08rem 0.52rem;
    min-height: 4.5rem;
    padding: 0.56rem;
  }

  .provider-pipeline-stage::after {
    display: none;
  }

  .provider-pipeline-stage span {
    grid-area: icon;
    width: 1.9rem;
    height: 1.9rem;
  }

  .provider-pipeline-stage strong {
    grid-area: title;
    font-size: 0.98rem;
  }

  .provider-pipeline-stage small {
    grid-area: text;
    font-size: 0.7rem;
    line-height: 1.18;
  }

  .provider-pipeline-stage .pipeline-stage-meta {
    grid-area: meta;
    justify-items: end;
    margin: 0;
    min-width: 4.8rem;
    text-align: right;
  }

  .provider-pipeline-stage .pipeline-stage-meta b {
    font-size: 1.18rem;
  }

  .provider-pipeline-stage .pipeline-stage-meta em {
    font-size: 0.68rem;
  }

  .provider-pipeline-stage .pipeline-stage-meter {
    grid-area: meter;
    height: 0.26rem;
    margin-top: 0.32rem;
  }
}

/* Premium account entry layer */
.provider-account-shell,
.customer-account-shell {
  gap: 0.82rem;
}

.provider-account-shell .account-hero,
.customer-account-shell .account-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  min-height: 12.8rem;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.88)),
    #ffffff;
}

.provider-account-shell .account-hero .lead,
.customer-account-shell .account-hero .lead {
  max-width: 720px;
}

.provider-auth-os {
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) minmax(0, 1fr) minmax(140px, 0.2fr);
  gap: 0.68rem;
  align-items: stretch;
  padding: 0.72rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.provider-auth-score,
.provider-auth-control,
.provider-auth-step {
  min-width: 0;
  border: 1px solid rgba(212, 224, 239, 0.95);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.provider-auth-score {
  display: grid;
  align-content: center;
  gap: 0.28rem;
  padding: 0.72rem;
}

.provider-auth-score > strong {
  color: #0f1b33;
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  font-weight: 950;
  line-height: 0.9;
}

.provider-auth-score small,
.provider-auth-step small,
.provider-auth-control span {
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 790;
  line-height: 1.25;
}

.provider-auth-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.52rem;
}

.provider-auth-step {
  display: grid;
  gap: 0.42rem;
  align-content: start;
  min-height: 7.4rem;
  padding: 0.66rem;
}

.provider-auth-step svg,
.customer-assurance-grid svg,
.customer-assurance-promise > svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #1769e8;
}

.provider-auth-step strong {
  color: #111c33;
  font-size: 0.95rem;
  font-weight: 910;
}

.provider-auth-step.is-live {
  border-color: rgba(48, 168, 114, 0.3);
  background: #f2fbf6;
}

.provider-auth-step.is-live svg {
  color: #0f8a5f;
}

.provider-auth-control {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.72rem;
  text-align: center;
}

.provider-auth-control strong {
  color: #1769e8;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 950;
  line-height: 0.9;
}

.provider-account-shell .account-forms {
  grid-template-columns: minmax(320px, 0.72fr) minmax(360px, 1fr);
  align-items: stretch;
}

.provider-account-shell .primary-auth,
.provider-account-shell .signup-teaser,
.customer-account-shell .auth-panel {
  min-height: 100%;
}

.provider-account-shell .signup-teaser {
  gap: 0.75rem;
}

.provider-account-shell .signup-teaser h2 {
  max-width: 620px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.98;
}

.provider-login-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.provider-login-brief span {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
  min-height: 4.35rem;
  align-content: center;
  padding: 0.52rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, #ffffff, #f7fbff),
    #ffffff;
}

.provider-login-brief svg {
  width: 1.38rem;
  height: 1.38rem;
  padding: 0.28rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.provider-login-brief strong {
  min-width: 0;
  overflow: hidden;
  color: #111c33;
  font-size: 0.82rem;
  line-height: 1.06;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-login-brief small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #65708a;
  font-size: 0.66rem;
  font-weight: 790;
  line-height: 1.12;
}

.customer-account-shell .account-forms {
  grid-template-columns: minmax(230px, 0.62fr) minmax(280px, 0.72fr) minmax(360px, 1fr);
  align-items: stretch;
}

.customer-account-shell .customer-trust-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 251, 246, 0.92)),
    #ffffff;
}

.customer-account-shell.has-pending-request .account-hero {
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  grid-template-areas:
    "copy metrics"
    "actions actions";
  align-items: center;
  min-height: auto;
  padding: clamp(0.86rem, 1.8vw, 1.12rem);
}

.customer-account-shell.has-pending-request .account-hero > div:first-child {
  grid-area: copy;
}

.customer-account-shell.has-pending-request .account-hero h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  line-height: 0.98;
}

.customer-account-shell.has-pending-request .account-hero .lead {
  max-width: 780px;
}

.customer-account-shell.has-pending-request .account-metrics {
  grid-area: metrics;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.42rem;
}

.customer-account-shell.has-pending-request .account-metrics span {
  min-width: 0;
  min-height: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
}

.customer-account-shell.has-pending-request .account-hero-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.customer-account-shell.has-pending-request .account-hero-actions .btn {
  min-height: 2.75rem;
}

.customer-trust-card h2,
.customer-account-assurance h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.02;
}

.customer-trust-list {
  gap: 0.52rem;
}

.customer-trust-list span {
  min-height: 4.25rem;
  background: rgba(255, 255, 255, 0.88);
}

.customer-safe-board {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: 0.8rem;
  padding: 0.86rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.92)),
    #ffffff;
}

.customer-safe-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customer-safe-flow span {
  min-height: 7.2rem;
  padding: 0.68rem;
  background: rgba(255, 255, 255, 0.9);
}

.customer-safe-meter {
  background:
    linear-gradient(180deg, #123e80, #0f3470),
    #123e80;
}

.customer-account-assurance {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.82fr) minmax(250px, 0.42fr);
  gap: 0.72rem;
  align-items: stretch;
  padding: 0.82rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.customer-assurance-copy,
.customer-assurance-grid span,
.customer-assurance-promise {
  min-width: 0;
  border: 1px solid rgba(212, 224, 239, 0.94);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.customer-assurance-copy {
  display: grid;
  align-content: center;
  gap: 0.42rem;
  padding: 0.72rem;
}

.customer-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.52rem;
}

.customer-assurance-grid span {
  display: grid;
  gap: 0.36rem;
  align-content: start;
  padding: 0.66rem;
}

.customer-assurance-grid strong,
.customer-assurance-promise strong {
  color: #111c33;
  font-weight: 910;
}

.customer-assurance-grid small,
.customer-assurance-promise small {
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 790;
  line-height: 1.28;
}

.customer-assurance-promise {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.58rem;
  align-items: center;
  padding: 0.72rem;
  background: #fff8e8;
  border-color: rgba(242, 210, 151, 0.92);
}

.customer-assurance-promise span {
  display: grid;
  gap: 0.18rem;
}

@media (max-width: 1180px) {
  .provider-auth-os,
  .customer-account-assurance {
    grid-template-columns: 1fr;
  }

  .provider-auth-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-assurance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-account-shell .account-forms {
    grid-template-columns: minmax(260px, 0.7fr) minmax(280px, 1fr);
  }

  .customer-account-shell .customer-trust-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .provider-account-shell,
  .customer-account-shell {
    gap: 0.72rem;
  }

  .provider-account-shell .account-forms {
    order: 2;
  }

  .provider-auth-os {
    order: 3;
  }

  .customer-account-shell .primary-auth {
    order: 1;
  }

  .customer-account-shell .register-card {
    order: 2;
  }

  .customer-account-shell .customer-trust-card {
    order: 3;
  }

  .provider-account-shell .account-hero,
  .customer-account-shell .account-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0.88rem;
  }

  .customer-account-shell.has-pending-request .account-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "metrics"
      "actions";
    gap: 0.68rem;
  }

  .customer-account-shell.has-pending-request .account-hero h1 {
    font-size: clamp(1.85rem, 8.6vw, 2.35rem);
  }

  .customer-account-shell.has-pending-request .account-hero .lead {
    font-size: 0.92rem;
    line-height: 1.38;
  }

  .customer-account-shell.has-pending-request .account-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .customer-account-shell.has-pending-request .account-metrics span {
    display: grid;
    justify-items: center;
    gap: 0.18rem;
    min-height: 3.15rem;
    padding: 0.42rem 0.24rem;
    font-size: 0.68rem;
    line-height: 1.08;
    text-align: center;
  }

  .customer-account-shell.has-pending-request .account-metrics svg {
    width: 1rem;
    height: 1rem;
  }

  .account-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.48rem;
  }

  .customer-account-shell.has-pending-request .account-hero-actions {
    grid-template-columns: 1fr;
  }

  .account-hero-actions .btn {
    justify-content: center;
    min-height: 2.8rem;
    padding-inline: 0.8rem;
  }

  .provider-auth-os,
  .customer-account-assurance,
  .customer-safe-board {
    padding: 0.7rem;
  }

  .provider-login-brief {
    gap: 0.34rem;
  }

  .provider-login-brief span {
    min-height: 3.85rem;
    padding: 0.42rem 0.32rem;
  }

  .provider-login-brief svg {
    width: 1.25rem;
    height: 1.25rem;
    padding: 0.25rem;
  }

  .provider-login-brief strong {
    font-size: 0.72rem;
  }

  .provider-login-brief small {
    font-size: 0.58rem;
  }

  .provider-auth-track,
  .customer-assurance-grid,
  .customer-safe-flow,
  .customer-safe-rules,
  .provider-account-shell .account-forms,
  .customer-account-shell .account-forms {
    grid-template-columns: 1fr;
  }

  .provider-auth-step {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon copy";
    min-height: 4.4rem;
    align-items: center;
  }

  .provider-auth-step svg {
    grid-area: icon;
  }

  .provider-auth-step strong {
    grid-area: title;
  }

  .provider-auth-step small {
    grid-area: copy;
  }

  .provider-auth-score > strong,
  .provider-auth-control strong,
  .customer-safe-meter > strong {
    font-size: clamp(2.15rem, 13vw, 3rem);
  }

  .provider-account-shell .signup-teaser h2,
  .customer-trust-card h2,
  .customer-account-assurance h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .customer-trust-list span,
  .customer-safe-flow span {
    min-height: auto;
  }

  .customer-assurance-promise {
    grid-template-columns: 1fr;
  }
}

/* Premium130: make mobile discovery feel like a fast marketplace list, not stacked profile pages. */
@media (max-width: 760px) {
  .content-layout {
    gap: 0.72rem;
    margin-top: 0.15rem;
  }

  .results-head {
    gap: 0.45rem;
    padding: 0;
  }

  .results-head h2 {
    margin: 0;
    font-size: 1.62rem;
    line-height: 1.04;
  }

  .results-head .result-meta {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .results-head .provider-qualify-link {
    width: 100%;
    justify-content: center;
    min-height: 2.7rem;
  }

  .results-grid {
    gap: 0.56rem;
  }

  .provider-card {
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(19, 36, 68, 0.08);
  }

  .provider-card:hover {
    transform: none;
  }

  .provider-image {
    min-height: 7.15rem;
  }

  .provider-image img {
    aspect-ratio: 16 / 6.6;
  }

  .results-command-card .results-action-copy > small {
    display: none;
  }

  .results-command-card .results-action-buttons {
    grid-template-columns: minmax(0, 1fr) minmax(7.25rem, auto);
    gap: 0.4rem;
  }

  .results-command-card .results-action-buttons .btn {
    min-height: 2.55rem;
    padding-inline: 0.62rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .results-command-card .results-action-note {
    grid-column: 1 / -1;
  }

  .provider-image::after {
    height: 48%;
  }

  .provider-rank-pill {
    min-height: 1.6rem;
    padding-inline: 0.46rem;
    font-size: 0.66rem;
  }

  .badge-row {
    gap: 0.22rem;
  }

  .badge,
  .rating-pill {
    min-height: 1.56rem;
    padding-inline: 0.38rem;
    font-size: 0.66rem;
  }

  .provider-body {
    gap: 0.46rem;
    padding: 0.62rem;
  }

  .provider-title h3 {
    font-size: 1.08rem;
    line-height: 1.08;
  }

  .provider-title small {
    margin-top: 0.12rem;
    font-size: 0.72rem;
  }

  .provider-title .icon-chip {
    width: 2rem;
    height: 2rem;
  }

  .provider-match {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.48rem;
    align-items: center;
    padding: 0.48rem;
  }

  .match-score {
    display: grid;
    width: 3.4rem;
    min-height: 3.4rem;
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    row-gap: 0.12rem;
    padding: 0;
    text-align: center;
  }

  .match-score span {
    display: none;
    font-size: 0.56rem;
    line-height: 1;
  }

  .match-score strong {
    display: block;
    width: 100%;
    font-size: 1rem;
    line-height: 1;
  }

  .match-copy {
    gap: 0.22rem;
  }

  .match-copy > strong {
    font-size: 0.9rem;
  }

  .match-reasons {
    gap: 0.22rem;
    max-height: 3.42rem;
    overflow: hidden;
  }

  .match-reasons span {
    min-height: 1.48rem;
    padding-inline: 0.34rem;
    font-size: 0.64rem;
  }

  .provider-quality {
    gap: 0.26rem;
    padding: 0.5rem;
  }

  .provider-quality > div:first-child {
    gap: 0.45rem;
  }

  .provider-quality span {
    font-size: 0.68rem;
  }

  .provider-quality strong {
    font-size: 0.94rem;
  }

  .quality-meter {
    height: 0.34rem;
  }

  .provider-vetting-lane {
    gap: 0.24rem;
    padding: 0.28rem;
  }

  .provider-vetting-lane span {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "label";
    justify-items: center;
    gap: 0.2rem;
    min-height: 3.05rem;
    padding: 0.34rem 0.2rem;
    text-align: center;
  }

  .provider-vetting-lane i {
    width: 1.34rem;
    height: 1.34rem;
    padding: 0.28rem;
  }

  .provider-vetting-lane strong {
    max-width: 100%;
    font-size: 0.62rem;
    line-height: 1.08;
    white-space: normal;
  }

  .provider-vetting-lane small {
    display: none;
  }

  .card-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.36rem;
  }

  .card-actions .btn {
    min-height: 2.38rem;
    padding-inline: 0.58rem;
    font-size: 0.88rem;
  }

  .profile-open-btn {
    min-width: 5.6rem;
  }

  .decision-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .decision-strip span {
    min-height: 2.7rem;
    padding: 0.38rem;
  }

  .decision-strip strong {
    font-size: 0.78rem;
  }

  .decision-strip small {
    font-size: 0.6rem;
    line-height: 1.12;
  }

  .trust-strip {
    gap: 0.24rem;
    max-height: 3.16rem;
  }

  .trust-badge {
    min-height: 1.48rem;
    padding-inline: 0.36rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 1080px) {
  .admin-review-risk-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-review-risk-standard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-review-risk-board {
    gap: 0.62rem;
    padding: 0.82rem;
  }

  .admin-review-risk-copy h2 {
    font-size: clamp(1.32rem, 7vw, 1.72rem);
  }

  .admin-review-risk-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-review-risk-metrics span {
    padding: 0.55rem;
  }

  .admin-review-risk-item {
    grid-template-columns: 1fr;
    gap: 0.58rem;
    padding: 0.68rem;
  }

  .admin-review-risk-action {
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-items: start;
    align-items: center;
    min-width: 0;
    padding-top: 0.54rem;
    border-top: 1px solid #e5edf7;
  }

  .admin-review-risk-action small {
    text-align: left;
  }

  .admin-review-risk-action .icon-btn {
    justify-self: end;
  }

  .admin-review-risk-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-review-risk-tags span {
    width: 100%;
    justify-content: flex-start;
    border-radius: var(--radius-sm);
  }

  .admin-review-risk-standard {
    grid-template-columns: 1fr;
  }
}

/* Premium135: dropdowns should only stay visible while explicitly open. */
.category-group:not(.is-open) .category-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

/* Premium137: provider onboarding should reach the application flow quickly on mobile. */
@media (max-width: 760px) {
  .provider-join {
    gap: 0.62rem;
  }

  .provider-story-rail {
    gap: 0.62rem;
  }

  .join-visual {
    min-height: 22rem;
  }

  .join-visual .overlay h1 {
    font-size: 2rem;
    line-height: 1.02;
  }

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

  .provider-story-rail .provider-admission-board {
    display: none;
  }

  .provider-auth-panel {
    display: grid;
    gap: 0.62rem;
    padding: 0.72rem;
  }

  .provider-auth-panel .auth-panel-head {
    order: 1;
    align-items: center;
  }

  .provider-auth-panel .auth-panel-head h2 {
    font-size: 1.78rem;
    line-height: 1.04;
  }

  .provider-auth-panel .auth-panel-head .status-dot {
    display: none;
  }

  .provider-auth-panel .onboarding-progress {
    order: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .provider-auth-panel .onboarding-progress span {
    min-height: 2.2rem;
    padding-inline: 0.34rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .provider-auth-panel .quality-gate-strip {
    order: 3;
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    gap: 0.34rem;
    padding-bottom: 0;
  }

  .provider-auth-panel .quality-gate-strip span {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 4rem;
    padding: 0.48rem 0.28rem;
    text-align: center;
    scroll-snap-align: unset;
  }

  .provider-auth-panel .quality-gate-strip svg {
    width: 1.35rem;
    height: 1.35rem;
    padding: 0.28rem;
  }

  .provider-auth-panel .quality-gate-strip strong {
    font-size: 0.74rem;
    line-height: 1.08;
  }

  .provider-auth-panel .quality-gate-strip small {
    display: none;
  }

  .provider-auth-panel .provider-mobile-proof-bridge {
    order: 4;
    display: grid;
    gap: 0.58rem;
    padding: 0.68rem;
    border: 1px solid rgba(23, 105, 232, 0.2);
    border-radius: var(--radius);
    background:
      linear-gradient(135deg, rgba(237, 244, 255, 0.98), rgba(255, 255, 255, 0.98)),
      #ffffff;
  }

  .provider-mobile-proof-copy {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
  }

  .provider-mobile-proof-copy h3,
  .provider-mobile-proof-copy p {
    margin: 0;
  }

  .provider-mobile-proof-copy h3 {
    color: #111c33;
    font-size: 1.18rem;
    line-height: 1.06;
  }

  .provider-mobile-proof-copy p {
    color: #65708a;
    font-size: 0.82rem;
    font-weight: 760;
    line-height: 1.32;
  }

  .provider-mobile-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.36rem;
  }

  .provider-mobile-proof-grid span {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
    min-height: 4rem;
    align-content: center;
    padding: 0.44rem;
    border: 1px solid #d9e4f1;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
  }

  .provider-mobile-proof-grid svg {
    width: 1.35rem;
    height: 1.35rem;
    padding: 0.28rem;
    border-radius: var(--radius-sm);
    background: #edf4ff;
    color: #1769e8;
  }

  .provider-mobile-proof-grid strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #111c33;
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .provider-mobile-proof-grid small {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #65708a;
    font-size: 0.62rem;
    font-weight: 820;
    line-height: 1.1;
  }

  .provider-mobile-proof-bridge .btn {
    width: 100%;
    justify-content: center;
  }

  .provider-auth-panel #register-form {
    order: 5;
  }

  .provider-auth-panel .provider-fit-studio {
    order: 6;
  }

  .provider-auth-panel .provider-value-board {
    order: 7;
  }

  .provider-auth-panel .provider-growth-os {
    order: 8;
  }

  .provider-auth-panel .provider-application-compass {
    order: 9;
  }

  .provider-register-form {
    gap: 0.62rem;
  }

  .provider-application-start {
    padding: 0.72rem;
  }

  .provider-application-start strong {
    font-size: 1rem;
    line-height: 1.12;
  }

  .provider-register-form .form-section {
    padding: 0.72rem;
  }

  .provider-register-form .section-kicker {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "number title"
      "number copy";
    gap: 0.12rem 0.5rem;
  }

  .provider-register-form .section-kicker span {
    grid-area: number;
  }

  .provider-register-form .section-kicker strong {
    grid-area: title;
  }

  .provider-register-form .section-kicker small {
    grid-area: copy;
  }
}

/* Premium143: operational dashboards use compact case queues before deep detail. */
@media (max-width: 760px) {
  .inquiry-accordion[open] {
    gap: 0.62rem;
    padding-bottom: 0.68rem;
  }

  .inquiry-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "number icon"
      "title amount";
    gap: 0.44rem 0.55rem;
    min-height: 4.55rem;
    padding: 0.68rem;
  }

  .inquiry-summary .order-number {
    grid-area: number;
    width: fit-content;
  }

  .inquiry-summary > span:nth-child(2) {
    grid-area: title;
  }

  .inquiry-summary b {
    grid-area: amount;
    align-self: start;
    font-size: 0.94rem;
  }

  .inquiry-summary > svg {
    grid-area: icon;
  }

  .inquiry-accordion-body {
    gap: 0.62rem;
    padding-inline: 0.68rem;
  }

  .admin-audit-accordion[open] {
    gap: 0.62rem;
    padding-bottom: 0.72rem;
  }

  .admin-provider-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "status icon"
      "title score"
      "decision decision";
    gap: 0.42rem 0.55rem;
    min-height: 5rem;
    padding: 0.68rem;
  }

  .admin-provider-summary > .status-dot {
    grid-area: status;
    width: fit-content;
  }

  .admin-provider-summary > span:nth-child(2) {
    grid-area: title;
  }

  .admin-provider-summary b {
    grid-area: score;
    align-self: start;
    font-size: 1rem;
  }

  .admin-provider-summary em {
    grid-area: decision;
    justify-self: start;
    padding: 0.34rem 0.5rem;
    border: 1px solid #d9e4f1;
    border-radius: 999px;
    background: #f8fbff;
    text-align: left;
  }

  .admin-provider-summary > svg {
    grid-area: icon;
  }

  .admin-provider-body {
    gap: 0.62rem;
    padding-inline: 0.68rem;
  }

  .admin-provider-review {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "score decision"
      "bars bars";
    gap: 0.55rem;
    padding: 0;
  }

  .admin-provider-score {
    grid-area: score;
    min-height: 5.1rem;
    padding: 0.68rem;
  }

  .admin-provider-score strong {
    font-size: 1.82rem;
  }

  .admin-provider-bars {
    grid-area: bars;
  }

  .admin-decision-card {
    grid-area: decision;
    padding: 0.62rem;
  }

  .admin-audit-trail {
    padding: 0.62rem;
  }
}

@media (max-width: 760px) {
  .provider-card .trust-strip {
    display: none;
  }

  .provider-card .provider-description {
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: #65708a;
    font-size: 0.78rem;
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .provider-card .tag-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.28rem;
    min-width: 0;
    overflow: hidden;
  }

  .provider-card .tag-list .tag {
    flex: 0 1 auto;
    max-width: 8.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .provider-card .tag-list .tag:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 420px) {
  .provider-card .provider-description {
    -webkit-line-clamp: 1;
  }

  .provider-card .tag-list .tag:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 760px) {
  .customer-account-shell .customer-safe-board {
    grid-template-columns: 1fr;
    gap: 0.62rem;
    overflow: visible;
  }

  .customer-account-shell .customer-safe-main,
  .customer-account-shell .customer-safe-meter {
    grid-column: auto;
    width: 100%;
  }

  .customer-account-shell .customer-safe-meter {
    position: static;
    align-content: start;
    min-height: auto;
    padding: 0.72rem;
  }

  .customer-account-shell .customer-safe-flow,
  .customer-account-shell .customer-safe-rules {
    grid-template-columns: 1fr;
  }

  .customer-account-shell .customer-safe-flow span {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.16rem 0.52rem;
    min-height: 4.55rem;
    padding: 0.56rem;
  }

  .customer-account-shell .customer-safe-flow b {
    grid-row: span 2;
  }

  .customer-account-shell .customer-safe-flow strong {
    font-size: 0.96rem;
  }

  .customer-account-shell .customer-safe-flow small {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .admin-login-brief {
    gap: 0.34rem;
  }

  .admin-login-brief span {
    min-height: 3.85rem;
    padding: 0.42rem 0.32rem;
  }

  .admin-login-brief svg {
    width: 1.25rem;
    height: 1.25rem;
    padding: 0.25rem;
  }

  .admin-login-brief strong {
    font-size: 0.72rem;
  }

  .admin-login-brief small {
    font-size: 0.58rem;
  }
}

/* Premium172: navigation starts as floating controls and becomes a compact app bar on scroll. */
.topbar:not(.is-scrolled) {
  border-bottom-color: transparent;
  background:
    linear-gradient(180deg, rgba(246, 249, 253, 0.46), rgba(246, 249, 253, 0) 92%),
    transparent;
  box-shadow: none;
}

.topbar-links a {
  border: 1px solid transparent;
}

.topbar:not(.is-scrolled) .topbar-links a {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 24px rgba(20, 32, 54, 0.045);
  backdrop-filter: blur(16px) saturate(1.12);
}

.topbar:not(.is-scrolled) .topbar-links a:hover {
  border-color: rgba(23, 105, 232, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: #0b55d9;
}

.topbar.is-scrolled .topbar-links a {
  border-color: rgba(215, 226, 239, 0.92);
}

.topbar.is-scrolled .category-group:hover .category-trigger,
.topbar.is-scrolled .category-group.is-open .category-trigger,
.topbar.is-scrolled .category-group:focus-within .category-trigger {
  border-color: rgba(23, 105, 232, 0.28);
  background: #edf4ff;
  color: #0b55d9;
  box-shadow: 0 10px 24px rgba(23, 105, 232, 0.12);
}

.topbar.is-scrolled .category-trigger.is-active,
.topbar.is-scrolled .category-group.is-open .category-trigger.is-active,
.topbar.is-scrolled .category-group:focus-within .category-trigger.is-active {
  border-color: rgba(23, 105, 232, 0.38);
  background: linear-gradient(135deg, #1769e8, #0b55d9);
  color: #ffffff;
}

.user-menu[open] .user-menu-trigger > svg:last-child,
.category-group.is-open .category-trigger > svg:last-child {
  transform: rotate(180deg);
}

@media (max-width: 760px) {
  .topbar:not(.is-scrolled) {
    padding-top: calc(0.7rem + env(safe-area-inset-top));
    background:
      linear-gradient(180deg, rgba(246, 249, 253, 0.72), rgba(246, 249, 253, 0) 96%),
      transparent;
  }

  .user-menu-panel,
  .category-menu {
    border-radius: var(--radius);
    box-shadow:
      0 24px 70px rgba(18, 32, 55, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
  }
}

/* Premium173: dense desktop account states must never push quick links into search. */
@media (min-width: 1081px) and (max-width: 1500px) {
  .topbar-main {
    grid-template-columns: auto minmax(220px, 500px) minmax(250px, auto) minmax(118px, 170px);
    gap: 0.58rem;
  }

  .topbar-search {
    max-width: 500px;
  }

  .topbar-links {
    min-width: 0;
    justify-content: flex-end;
    overflow: visible;
  }

  .topbar-links a {
    flex: 0 1 auto;
    min-width: 0;
    padding-inline: 0.54rem;
  }

  .user-menu-trigger {
    width: 100%;
    min-width: 0;
    max-width: 170px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .topbar-links a {
    justify-content: center;
    width: 2.6rem;
    padding-inline: 0;
  }

  .topbar-links a span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Premium174: the homepage is now a quiet search and provider list, not a marketing page. */
.home-simple-shell {
  display: grid;
  padding: clamp(0.55rem, 1.4vw, 1.05rem) 0 0.45rem;
}

.home-simple-search {
  width: 100%;
  max-width: none;
  padding: 0.72rem;
  border-color: rgba(206, 219, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(18, 32, 55, 0.08);
}

.home-simple-search .command-search {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 3.45rem;
  padding: 0.34rem;
  border-color: rgba(206, 219, 236, 0.92);
}

.home-simple-search .command-search input {
  min-height: 2.65rem;
}

.home-simple-search .command-search .btn {
  grid-column: auto;
  width: auto;
  min-height: 2.65rem;
  padding-inline: 1rem;
}

.home-filter-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
}

.home-search-actions {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.home-provider-list {
  gap: 0.78rem;
  margin-top: 0.45rem;
}

.home-results-head {
  align-items: end;
  padding-top: 0.2rem;
}

.home-results-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
}

.home-simple-grid {
  gap: 0.78rem;
}

.home-simple-anchor {
  display: block;
  height: 1px;
  scroll-margin-top: 8.5rem;
}

@media (min-width: 980px) {
  .home-simple-grid .provider-card {
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  }

  .home-simple-grid .provider-image {
    min-height: 100%;
  }

  .home-simple-grid .provider-image img {
    aspect-ratio: auto;
    height: 100%;
  }
}

@media (max-width: 980px) {
  .home-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-simple-shell {
    padding-top: 0.38rem;
  }

  .home-simple-search {
    padding: 0.58rem;
    box-shadow: 0 12px 28px rgba(18, 32, 55, 0.07);
  }

  .home-simple-search .command-search {
    grid-template-columns: auto minmax(0, 1fr) 3rem;
    min-height: 3.28rem;
  }

  .home-simple-search .command-search .btn {
    width: 3rem;
    min-width: 3rem;
    padding-inline: 0;
  }

  .home-simple-search .command-search .btn i {
    margin: 0;
  }

  .home-simple-search .command-search .btn {
    font-size: 0;
  }

  .home-simple-search .command-search .btn svg {
    width: 1.12rem;
    height: 1.12rem;
  }

  .home-filter-row {
    grid-template-columns: 1fr;
  }

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

  .home-results-head h1 {
    font-size: 1.55rem;
  }
}


/* Premium175: quiet home cards and dedicated how-it-works page. */
.provider-list-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(206, 219, 236, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(18, 32, 55, 0.07);
}

.provider-list-card.is-top-card {
  border-color: rgba(23, 105, 232, 0.26);
}

.provider-list-image {
  position: relative;
  min-height: 11.5rem;
  background: #edf4ff;
}

.provider-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-list-image span {
  position: absolute;
  top: 0.62rem;
  left: 0.62rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 1.95rem;
  padding: 0 0.56rem;
  border-radius: 999px;
  background: rgba(16, 26, 47, 0.86);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 860;
  backdrop-filter: blur(12px);
}

.provider-list-body {
  display: grid;
  gap: 0.68rem;
  align-content: start;
  min-width: 0;
  padding: 0.86rem;
}

.provider-list-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.provider-list-title h3 {
  font-size: 1.16rem;
  line-height: 1.12;
}

.provider-list-title small {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.22rem;
  color: #65708a;
  font-weight: 760;
}

.provider-list-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.46rem;
}

.provider-list-facts span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(214, 226, 241, 0.92);
  border-radius: var(--radius-sm);
  background: #f8fbff;
}

.provider-list-facts svg {
  width: 1.18rem;
  height: 1.18rem;
  color: #1769e8;
}

.provider-list-facts strong {
  color: #111c33;
  font-size: 1.02rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.provider-list-facts small {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.2;
}

.provider-list-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.provider-list-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
  min-width: 0;
}

.provider-list-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(214, 226, 241, 0.92);
  border-radius: 999px;
  background: #ffffff;
  color: #34435f;
  font-size: 0.76rem;
  font-weight: 790;
}

.provider-list-actions {
  display: flex;
  gap: 0.42rem;
  align-items: center;
}

.provider-list-actions .btn {
  min-height: 2.55rem;
  padding-inline: 0.78rem;
}

.how-page {
  display: grid;
  gap: 1rem;
  padding: clamp(0.75rem, 2vw, 1.4rem) 0 2.5rem;
}

.how-hero,
.how-quality-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  gap: 1rem;
  align-items: stretch;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  border: 1px solid rgba(206, 219, 236, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(18, 32, 55, 0.08);
}

.how-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.96;
}

.how-standard-card {
  display: grid;
  gap: 0.56rem;
  align-content: center;
  min-height: 13rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #12244a, #1769e8);
  color: #ffffff;
}

.how-standard-card strong {
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  line-height: 0.9;
}

.how-standard-card small,
.how-standard-card .tiny-label {
  color: rgba(255, 255, 255, 0.82);
}

.how-steps,
.how-quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.how-step,
.how-quality-grid span {
  display: grid;
  gap: 0.46rem;
  align-content: start;
  min-width: 0;
  padding: 0.86rem;
  border: 1px solid rgba(206, 219, 236, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.how-step-number {
  color: #1769e8;
  font-size: 0.78rem;
  font-weight: 900;
}

.how-step svg,
.how-quality-grid svg {
  width: 1.8rem;
  height: 1.8rem;
  padding: 0.34rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.how-step strong,
.how-quality-grid strong {
  color: #111c33;
  font-size: 1rem;
  line-height: 1.12;
}

.how-step small,
.how-quality-grid small {
  color: #65708a;
  font-weight: 720;
  line-height: 1.34;
}

.how-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (max-width: 980px) {
  .provider-list-card,
  .how-hero,
  .how-quality-panel {
    grid-template-columns: 1fr;
  }

  .provider-list-image {
    min-height: 10rem;
  }

  .how-steps,
  .how-quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .provider-list-body {
    padding: 0.72rem;
  }

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

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

  .provider-list-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  }

  .provider-list-actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .how-page {
    padding-top: 0.45rem;
  }

  .how-hero,
  .how-quality-panel {
    padding: 0.86rem;
  }

  .how-steps,
  .how-quality-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

/* Premium176: home provider cards return to image-first cards with only core decision info. */
.home-simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
}

.provider-list-card {
  grid-template-columns: 1fr;
  overflow: hidden;
  border-color: rgba(205, 218, 235, 0.94);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 32, 55, 0.08);
}

.provider-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 105, 232, 0.22);
  box-shadow: 0 18px 44px rgba(18, 32, 55, 0.12);
}

.provider-list-image {
  min-height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.provider-list-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(16, 26, 47, 0), rgba(16, 26, 47, 0.58));
  pointer-events: none;
}

.provider-list-image img {
  transition: transform 220ms ease;
}

.provider-list-card:hover .provider-list-image img {
  transform: scale(1.025);
}

.provider-list-rating,
.provider-list-verified {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 860;
  backdrop-filter: blur(12px);
}

.provider-list-rating {
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(16, 26, 47, 0.82);
}

.provider-list-verified {
  right: 0.65rem;
  bottom: 0.65rem;
  background: rgba(23, 105, 232, 0.9);
}

.provider-list-image .provider-list-rating {
  top: 0.65rem;
  right: auto;
  bottom: auto;
  left: 0.65rem;
  background: rgba(16, 26, 47, 0.82);
}

.provider-list-image .provider-list-verified {
  top: auto;
  right: 0.65rem;
  bottom: 0.65rem;
  left: auto;
  background: rgba(23, 105, 232, 0.9);
}

.provider-list-body {
  gap: 0.68rem;
  padding: 0.86rem;
}

.provider-list-title {
  display: grid;
  gap: 0.18rem;
}

.provider-list-title h3 {
  font-size: 1.12rem;
}

.provider-list-title small {
  margin-top: 0;
  font-size: 0.82rem;
}

.provider-list-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.provider-list-facts span {
  min-height: 4.15rem;
  padding: 0.5rem;
  background: #f7faff;
}

.provider-list-facts svg {
  width: 1.05rem;
  height: 1.05rem;
}

.provider-list-facts strong {
  font-size: 0.98rem;
}

.provider-list-facts small {
  font-size: 0.68rem;
}

.provider-list-bottom,
.provider-list-badges {
  display: none;
}

.provider-list-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 0.46rem;
}

.provider-list-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 1180px) {
  .home-simple-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .provider-list-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .provider-list-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr);
  }
}

@media (max-width: 380px) {
  .provider-list-facts {
    grid-template-columns: 1fr;
  }
}

/* Premium180: provider profiles expose practical details without nested card chrome. */
.profile-user-info {
  display: grid;
  gap: 0.9rem;
  padding: 0.12rem 0;
}

.profile-info-head {
  display: grid;
  gap: 0.44rem;
  max-width: 760px;
}

.profile-info-head h2 {
  font-size: clamp(1.32rem, 2.4vw, 1.8rem);
  line-height: 1.08;
}

.profile-info-head p {
  color: #65708a;
  font-weight: 690;
  line-height: 1.48;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 0.72rem;
}

.profile-info-block {
  display: grid;
  gap: 0.62rem;
  align-content: start;
  min-width: 0;
  padding: 0.82rem;
  border: 1px solid rgba(206, 219, 236, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.92)),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.profile-info-icon {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.profile-info-block h3 {
  color: #111c33;
  font-size: 1rem;
}

.profile-info-block ul {
  display: grid;
  gap: 0.46rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-info-block li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.4rem;
  align-items: start;
  min-width: 0;
  color: #34435f;
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.3;
}

.profile-info-block li svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.08rem;
  color: #0f8a5f;
}

.profile-info-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
}

.profile-info-facts span {
  display: grid;
  gap: 0.12rem;
  min-height: 3.75rem;
  align-content: center;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(214, 226, 241, 0.92);
  border-radius: var(--radius-sm);
  background: #f8fbff;
}

.profile-info-facts strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111c33;
  font-size: 1rem;
  line-height: 1.05;
}

.profile-info-facts small {
  color: #65708a;
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1.2;
}

.profile-info-note {
  margin: 0;
  color: #65708a;
  font-size: 0.78rem;
  font-weight: 730;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .profile-info-grid {
    grid-template-columns: 1fr;
  }

  .profile-info-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .profile-user-info {
    gap: 0.7rem;
    padding: 0.05rem 0;
  }

  .profile-info-block {
    padding: 0.7rem;
  }

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

@media (max-width: 380px) {
  .profile-info-facts {
    grid-template-columns: 1fr;
  }
}

/* Premium177: keep the home search quiet on desktop too. */
.home-simple-search .advanced-search-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.85rem;
  padding: 0.52rem 0.68rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(248, 251, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
}

.home-simple-search .advanced-search-trigger span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.home-simple-search .advanced-search-trigger strong {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  color: #111c33;
  font-weight: 880;
}

.home-simple-search .advanced-search-trigger small {
  overflow: hidden;
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-simple-search .advanced-search-toggle:not(:checked) ~ .advanced-search-body {
  display: none;
}

.home-simple-search .advanced-search-toggle:checked + .advanced-search-trigger > svg:last-child {
  transform: rotate(180deg);
}

/* Premium183: focused customer login page. */
.customer-login-page {
  gap: 0.82rem;
  padding-top: 0.7rem;
}

.customer-login-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: clamp(0.85rem, 2vw, 1.2rem);
  align-items: stretch;
  padding: clamp(1rem, 2.4vw, 1.55rem);
  border: 1px solid rgba(205, 220, 239, 0.96);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(239, 246, 255, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.customer-login-copy {
  display: grid;
  align-content: center;
  gap: 0.72rem;
  min-width: 0;
}

.customer-login-copy h1 {
  max-width: 860px;
  color: #101a2f;
  font-size: clamp(2.25rem, 5.2vw, 4.85rem);
  line-height: 0.92;
}

.customer-login-copy .lead {
  max-width: 700px;
  color: #65708a;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 710;
  line-height: 1.42;
}

.customer-login-benefits,
.customer-login-assurance-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.customer-login-benefits span,
.customer-login-assurance-strip span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.08rem 0.5rem;
  align-items: center;
  min-width: 0;
  min-height: 4.15rem;
  padding: 0.66rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
}

.customer-login-benefits svg,
.customer-login-assurance-strip svg {
  grid-row: span 2;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.36rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.customer-login-benefits strong,
.customer-login-assurance-strip strong {
  min-width: 0;
  color: #101a2f;
  font-size: 0.9rem;
  line-height: 1.1;
}

.customer-login-benefits small,
.customer-login-assurance-strip small {
  min-width: 0;
  color: #65708a;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.25;
}

.customer-login-preview {
  display: grid;
  align-content: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #101a2f, #1769e8),
    #101a2f;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(23, 105, 232, 0.16);
}

.customer-login-preview .tiny-label {
  color: rgba(255, 255, 255, 0.72);
}

.customer-login-flow {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-login-flow li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  min-width: 0;
}

.customer-login-flow b {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.customer-login-flow span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.customer-login-flow strong {
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.1;
}

.customer-login-flow small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.25;
}

.customer-auth-workspace {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(420px, 1fr);
  gap: 0.82rem;
  align-items: start;
}

.customer-login-card,
.customer-register-card {
  display: grid;
  gap: 0.74rem;
  padding: clamp(0.9rem, 2vw, 1.15rem);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(20, 32, 54, 0.07);
}

.customer-login-card {
  border-color: rgba(23, 105, 232, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(239, 246, 255, 0.94)),
    #ffffff;
}

.customer-register-card {
  border-color: rgba(223, 231, 242, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 250, 239, 0.74)),
    #ffffff;
}

.customer-login-card .auth-panel-head h2,
.customer-register-card .auth-panel-head h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.02;
}

.customer-login-card .btn,
.customer-register-card .btn {
  width: 100%;
}

.customer-register-card .auth-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.customer-register-card .field {
  min-width: 0;
}

.customer-register-card select {
  min-height: var(--control);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.customer-login-mini-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
}

.customer-login-mini-note svg {
  width: 0.92rem;
  height: 0.92rem;
  color: #1769e8;
}

.customer-login-assurance-strip {
  padding: 0;
}

.customer-login-assurance-strip span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.92)),
    #ffffff;
  box-shadow: 0 10px 24px rgba(20, 32, 54, 0.045);
}

.customer-login-page .pending-request-board {
  grid-template-columns: minmax(160px, 0.22fr) minmax(0, 1fr) minmax(230px, 0.34fr);
}

@media (max-width: 1080px) {
  .customer-login-stage,
  .customer-auth-workspace {
    grid-template-columns: 1fr;
  }

  .customer-login-preview {
    align-content: start;
  }

  .customer-login-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .customer-login-page {
    gap: 0.68rem;
    padding-top: 0.42rem;
  }

  .customer-login-stage {
    gap: 0.74rem;
    padding: 0.82rem;
  }

  .customer-login-copy h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
    line-height: 0.96;
  }

  .customer-login-copy .lead {
    font-size: 0.92rem;
    line-height: 1.36;
  }

  .customer-login-benefits,
  .customer-login-assurance-strip,
  .customer-login-flow,
  .customer-register-card .auth-grid.compact {
    grid-template-columns: 1fr;
  }

  .customer-login-benefits span,
  .customer-login-assurance-strip span {
    min-height: 3.65rem;
    padding: 0.56rem;
  }

  .customer-login-preview {
    padding: 0.72rem;
  }

  .customer-login-card,
  .customer-register-card {
    padding: 0.78rem;
  }

  .customer-login-card .auth-panel-head,
  .customer-register-card .auth-panel-head {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .customer-login-benefits span,
  .customer-login-assurance-strip span,
  .customer-login-flow li {
    grid-template-columns: 1fr;
  }
}

/* Premium184: make customer login feel like a marketplace console, not a generic auth page. */
.customer-login-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: clamp(0.85rem, 2vw, 1.15rem);
  align-items: stretch;
}

.customer-login-product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.52fr);
  gap: clamp(0.8rem, 1.8vw, 1.05rem);
  align-items: stretch;
  min-width: 0;
  padding: clamp(0.9rem, 2.2vw, 1.25rem);
  border: 1px solid rgba(205, 220, 239, 0.96);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 255, 0.92)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.075);
}

.customer-login-product-panel .customer-login-copy {
  align-content: center;
  gap: 0.76rem;
}

.customer-login-product-panel .customer-login-copy h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 4.1vw, 4.25rem);
  overflow-wrap: normal;
  word-break: normal;
}

.customer-login-product-panel .customer-login-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-login-request-preview {
  display: grid;
  align-content: start;
  gap: 0.62rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(23, 105, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff, #f5f9ff),
    #ffffff;
  box-shadow: 0 16px 34px rgba(20, 32, 54, 0.075);
}

.customer-login-preview-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #eaf2fd;
}

.customer-login-preview-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.customer-login-preview-media span {
  position: absolute;
  left: 0.48rem;
  bottom: 0.48rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: #102044;
  font-size: 0.78rem;
  font-weight: 880;
}

.customer-login-preview-media svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #1769e8;
}

.customer-login-preview-body {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.customer-login-preview-body strong {
  overflow: hidden;
  color: #101a2f;
  font-size: 1.2rem;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-login-preview-body small {
  color: #65708a;
  font-weight: 760;
}

.customer-login-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.customer-login-preview-metrics span {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  min-height: 3.6rem;
  align-content: center;
  padding: 0.52rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
}

.customer-login-preview-metrics b {
  min-width: 0;
  overflow: hidden;
  color: #101a2f;
  font-size: 1rem;
  line-height: 1.04;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-login-preview-metrics small {
  color: #65708a;
  font-size: 0.64rem;
  font-weight: 780;
  line-height: 1.08;
}

.customer-login-flow-compact {
  gap: 0.42rem;
}

.customer-login-flow-compact li {
  padding: 0.52rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.customer-login-flow-compact b {
  background: #1769e8;
}

.customer-login-flow-compact strong {
  color: #101a2f;
  font-size: 0.84rem;
}

.customer-login-flow-compact small {
  color: #65708a;
  font-size: 0.68rem;
}

.customer-login-preview-empty {
  display: grid;
  gap: 0.3rem;
  place-items: center;
  min-height: 260px;
  color: #101a2f;
  text-align: center;
}

.customer-login-preview-empty svg {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  background: #edf4ff;
  color: #1769e8;
}

.customer-login-preview-empty small {
  max-width: 250px;
  color: #65708a;
  font-weight: 740;
  line-height: 1.3;
}

.customer-login-console .customer-auth-workspace {
  grid-template-columns: 1fr;
  gap: 0.72rem;
}

.customer-login-console .customer-login-card,
.customer-login-console .customer-register-card {
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.085);
}

.customer-login-console .customer-register-card .auth-grid.compact {
  grid-template-columns: 1fr 1fr;
}

.customer-login-page .customer-login-assurance-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .customer-login-console,
  .customer-login-product-panel {
    grid-template-columns: 1fr;
  }

  .customer-login-console .customer-auth-workspace {
    grid-template-columns: minmax(300px, 0.62fr) minmax(360px, 1fr);
  }

  .customer-login-flow-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .customer-login-console {
    gap: 0.68rem;
  }

  .customer-login-product-panel {
    gap: 0.68rem;
    padding: 0.78rem;
  }

  .customer-login-product-panel .customer-login-copy h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
  }

  .customer-login-product-panel .customer-login-benefits,
  .customer-login-console .customer-auth-workspace,
  .customer-login-console .customer-register-card .auth-grid.compact,
  .customer-login-page .customer-login-assurance-strip,
  .customer-login-flow-compact {
    grid-template-columns: 1fr;
  }

  .customer-login-request-preview {
    padding: 0.62rem;
  }

  .customer-login-preview-media img {
    aspect-ratio: 16 / 8.8;
  }

  .customer-login-preview-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .customer-login-preview-metrics {
    grid-template-columns: 1fr;
  }
}

/* Premium185: tighten the login console after screenshot review. */
.customer-login-product-panel .customer-login-benefits {
  grid-template-columns: 1fr;
  max-width: 440px;
}

.customer-login-product-panel .customer-login-benefits span {
  min-height: 3.55rem;
}

.customer-login-console .customer-register-card .btn.accent {
  border-color: rgba(23, 105, 232, 0.32);
  background:
    linear-gradient(135deg, #1769e8, #0f5fd4),
    #1769e8;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(23, 105, 232, 0.18);
}

.customer-login-console .customer-register-card .btn.accent svg {
  color: currentColor;
}

@media (max-width: 760px) {
  .customer-login-flow-compact {
    display: none;
  }

  .customer-login-preview-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-login-preview-metrics span {
    min-height: 3.3rem;
    padding: 0.45rem;
  }

  .customer-login-preview-metrics b {
    font-size: 0.88rem;
  }

  .customer-login-preview-metrics small {
    font-size: 0.58rem;
  }
}

@media (max-width: 420px) {
  .customer-login-preview-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Premium187: smarter search and filter console on the provider list. */
.smart-search-console {
  display: grid;
  gap: 0.72rem;
  padding: clamp(0.72rem, 1.5vw, 0.95rem);
  border-color: rgba(193, 210, 234, 0.98);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 255, 0.94)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(20, 32, 54, 0.085);
}

.smart-search-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.smart-search-title {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.smart-search-title strong {
  color: #101a2f;
  font-size: clamp(1.18rem, 2vw, 1.6rem);
  line-height: 1.08;
}

.smart-search-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
  min-width: min(430px, 100%);
}

.smart-search-metrics span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.04rem 0.38rem;
  align-items: center;
  min-width: 0;
  min-height: 3rem;
  padding: 0.48rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.smart-search-metrics svg {
  grid-row: span 2;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.smart-search-metrics strong {
  color: #101a2f;
  font-size: 0.92rem;
  line-height: 1.05;
}

.smart-search-metrics small {
  color: #65708a;
  font-size: 0.66rem;
  font-weight: 760;
  line-height: 1.08;
}

.home-simple-search .smart-command-search {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 3.72rem;
  padding: 0.38rem;
  border-color: rgba(23, 105, 232, 0.24);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(20, 32, 54, 0.06);
}

.home-simple-search .smart-command-search > svg {
  color: #1769e8;
}

.home-simple-search .smart-command-search input {
  min-height: 2.85rem;
  font-size: 1rem;
}

.home-simple-search .smart-command-search .btn {
  min-height: 2.85rem;
  border-radius: var(--radius-sm);
}

.smart-suggestion-row {
  display: flex;
  gap: 0.44rem;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 0.05rem;
  scrollbar-width: none;
}

.smart-suggestion-row::-webkit-scrollbar {
  display: none;
}

.smart-suggestion-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.38rem;
  min-height: 2.42rem;
  padding: 0 0.68rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: #17213a;
  font-weight: 820;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.smart-suggestion-chip:hover,
.smart-suggestion-chip.is-active {
  border-color: rgba(23, 105, 232, 0.5);
  background: #edf4ff;
  color: #0f5fd4;
  transform: translateY(-1px);
}

.smart-suggestion-chip svg {
  width: 1rem;
  height: 1rem;
  color: currentColor;
}

.smart-filter-console {
  display: grid;
  gap: 0.58rem;
  padding: 0.66rem;
  border: 1px solid rgba(217, 228, 241, 0.98);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.9)),
    #ffffff;
}

.smart-filter-grid {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(150px, 1.15fr) minmax(104px, 0.72fr) minmax(104px, 0.72fr) minmax(150px, 1fr) minmax(128px, 0.82fr);
  gap: 0.52rem;
  align-items: end;
}

.smart-field {
  display: grid;
  gap: 0.26rem;
  min-width: 0;
}

.smart-field label {
  color: #65708a;
  font-size: 0.72rem;
  font-weight: 850;
}

.smart-field select,
.smart-field input {
  min-width: 0;
  min-height: 2.8rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #101a2f;
  font-weight: 780;
}

.smart-availability-toggle {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.smart-availability-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.smart-availability-toggle span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  gap: 0.04rem 0.38rem;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.46rem 0.52rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.smart-availability-toggle svg {
  grid-area: icon;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0.32rem;
  border-radius: var(--radius-sm);
  background: #edf4ff;
  color: #1769e8;
}

.smart-availability-toggle strong {
  grid-area: title;
  color: #101a2f;
  font-size: 0.82rem;
  line-height: 1.05;
}

.smart-availability-toggle small {
  grid-area: copy;
  color: #65708a;
  font-size: 0.64rem;
  font-weight: 760;
  line-height: 1.08;
}

.smart-availability-toggle input:checked + span {
  border-color: rgba(23, 105, 232, 0.55);
  background:
    linear-gradient(135deg, #edf4ff, #ffffff),
    #ffffff;
}

.smart-availability-toggle input:focus-visible + span {
  outline: 3px solid rgba(23, 105, 232, 0.24);
  outline-offset: 2px;
}

.smart-search-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.56rem;
  align-items: center;
}

.smart-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  min-width: 0;
}

.smart-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  min-height: 2rem;
  padding: 0 0.54rem;
  border: 1px solid rgba(217, 228, 241, 0.98);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
  color: #34435f;
  font-size: 0.76rem;
  font-weight: 790;
}

.smart-active-chip svg {
  width: 0.9rem;
  height: 0.9rem;
  color: #1769e8;
}

.smart-reset-button {
  min-height: 2.25rem;
  padding-inline: 0.64rem;
}

@media (max-width: 1120px) {
  .smart-search-top,
  .smart-search-footer {
    grid-template-columns: 1fr;
  }

  .smart-search-metrics {
    min-width: 0;
  }

  .smart-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .smart-search-console {
    gap: 0.58rem;
    padding: 0.58rem;
  }

  .smart-search-top {
    gap: 0.5rem;
  }

  .smart-search-title strong {
    font-size: 1.08rem;
  }

  .smart-search-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .smart-search-metrics span {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 3.3rem;
    padding: 0.42rem 0.24rem;
    text-align: center;
  }

  .smart-search-metrics svg {
    grid-row: auto;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0.25rem;
  }

  .smart-search-metrics strong {
    font-size: 0.8rem;
  }

  .smart-search-metrics small {
    font-size: 0.58rem;
  }

  .home-simple-search .smart-command-search {
    grid-template-columns: auto minmax(0, 1fr) 3rem;
    min-height: 3.3rem;
  }

  .home-simple-search .smart-command-search input {
    min-height: 2.55rem;
    font-size: 0.92rem;
  }

  .smart-filter-console {
    padding: 0.52rem;
  }

  .smart-filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.44rem;
  }

  .smart-field select,
  .smart-field input,
  .smart-availability-toggle span {
    min-height: 2.62rem;
  }

  .smart-availability-toggle {
    grid-column: 1 / -1;
  }

  .smart-active-chip {
    font-size: 0.7rem;
  }
}

@media (max-width: 430px) {
  .smart-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smart-availability-toggle {
    grid-column: 1 / -1;
  }

  .smart-field label {
    font-size: 0.66rem;
  }

  .smart-field select,
  .smart-field input {
    padding-inline: 0.54rem;
    font-size: 0.82rem;
  }
}

/* Premium189: lean search, fewer controls, better defaults. */
.lean-search-console {
  display: grid;
  gap: 0.58rem;
  padding: clamp(0.56rem, 1.2vw, 0.72rem);
  border-color: rgba(205, 220, 239, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92)),
    #ffffff;
  box-shadow: 0 14px 34px rgba(20, 32, 54, 0.07);
}

.lean-search-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.58rem;
  align-items: center;
}

.home-simple-search .lean-command-search {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 3.25rem;
  padding: 0.3rem;
  border-color: rgba(23, 105, 232, 0.22);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 32, 54, 0.055);
}

.home-simple-search .lean-command-search > svg {
  color: #1769e8;
}

.home-simple-search .lean-command-search input {
  min-height: 2.55rem;
  font-size: 1rem;
}

.home-simple-search .lean-command-search .btn {
  min-height: 2.55rem;
  border-radius: var(--radius-sm);
}

.lean-search-controls {
  display: flex;
  gap: 0.42rem;
  align-items: center;
  min-width: 0;
}

.lean-select-control,
.lean-toggle-control span {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 3.25rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: #17213a;
}

.lean-select-control {
  padding: 0 0.48rem;
}

.lean-select-control svg,
.lean-toggle-control svg {
  width: 1rem;
  height: 1rem;
  color: #1769e8;
}

.lean-select-control select {
  min-width: 8.5rem;
  min-height: 2.45rem;
  padding: 0 1.6rem 0 0;
  border: 0;
  background: transparent;
  color: #101a2f;
  font-weight: 820;
}

.lean-toggle-control {
  position: relative;
  cursor: pointer;
}

.lean-toggle-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.lean-toggle-control span {
  padding: 0 0.7rem;
  font-weight: 820;
  white-space: nowrap;
}

.lean-toggle-control input:checked + span {
  border-color: rgba(23, 105, 232, 0.55);
  background: #edf4ff;
  color: #0f5fd4;
}

.lean-toggle-control input:focus-visible + span {
  outline: 3px solid rgba(23, 105, 232, 0.24);
  outline-offset: 2px;
}

.lean-suggestion-row {
  display: flex;
  gap: 0.36rem;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 0.02rem;
  scrollbar-width: none;
}

.lean-suggestion-row::-webkit-scrollbar {
  display: none;
}

.lean-suggestion-row > span {
  flex: 0 0 auto;
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 850;
}

.lean-suggestion-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.12rem;
  padding: 0 0.56rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: #f3f7fd;
  color: #243550;
  font-size: 0.82rem;
  font-weight: 820;
  cursor: pointer;
}

.lean-suggestion-chip:hover,
.lean-suggestion-chip.is-active {
  border-color: rgba(23, 105, 232, 0.38);
  background: #edf4ff;
  color: #0f5fd4;
}

.lean-suggestion-chip svg {
  width: 0.94rem;
  height: 0.94rem;
  color: currentColor;
}

.lean-filter-panel {
  border: 1px solid #d9e4f1;
  border-radius: var(--radius);
  background: rgba(248, 251, 255, 0.82);
}

.lean-filter-panel summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 0.64rem;
  cursor: pointer;
  list-style: none;
}

.lean-filter-panel summary::-webkit-details-marker {
  display: none;
}

.lean-filter-panel summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #101a2f;
  font-weight: 870;
}

.lean-filter-panel summary small {
  overflow: hidden;
  color: #65708a;
  font-size: 0.76rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lean-filter-panel summary svg {
  width: 1rem;
  height: 1rem;
  color: #1769e8;
}

.lean-filter-panel summary > svg:last-child {
  color: #65708a;
  transition: transform 160ms ease;
}

.lean-filter-panel[open] summary > svg:last-child {
  transform: rotate(180deg);
}

.lean-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0 0.64rem 0.64rem;
}

.lean-field {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.lean-field label {
  color: #65708a;
  font-size: 0.7rem;
  font-weight: 850;
}

.lean-field select,
.lean-field input {
  min-width: 0;
  min-height: 2.58rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #101a2f;
  font-weight: 780;
}

.lean-filter-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.48rem;
  align-items: center;
}

.lean-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  min-width: 0;
}

.lean-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.92rem;
  padding: 0 0.5rem;
  border: 1px solid #d9e4f1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
  color: #42516b;
  font-size: 0.74rem;
  font-weight: 790;
}

.lean-active-chip svg {
  width: 0.86rem;
  height: 0.86rem;
  color: #1769e8;
}

.lean-reset-button {
  min-height: 2rem;
  padding-inline: 0.58rem;
}

@media (max-width: 980px) {
  .lean-search-main {
    grid-template-columns: 1fr;
  }

  .lean-search-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .lean-select-control select {
    width: 100%;
  }

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

@media (max-width: 760px) {
  .lean-search-console {
    gap: 0.48rem;
    padding: 0.5rem;
  }

  .home-simple-search .lean-command-search {
    grid-template-columns: auto minmax(0, 1fr) 3rem;
    min-height: 3.1rem;
  }

  .home-simple-search .lean-command-search input {
    min-height: 2.4rem;
    font-size: 0.92rem;
  }

  .lean-search-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.36rem;
  }

  .lean-select-control,
  .lean-toggle-control span {
    min-height: 2.75rem;
    border-radius: var(--radius-sm);
  }

  .lean-toggle-control span {
    padding: 0 0.58rem;
    font-size: 0.78rem;
  }

  .lean-suggestion-chip {
    min-height: 2rem;
    font-size: 0.78rem;
  }

  .lean-filter-panel summary {
    min-height: 2.42rem;
  }

  .lean-filter-status {
    grid-template-columns: 1fr;
  }

  .lean-reset-button {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .lean-filter-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium192: calmer provider profile summary card. */
.profile-summary {
  gap: clamp(0.95rem, 2vw, 1.35rem);
  border-color: rgba(209, 222, 239, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.88)),
    #ffffff;
  box-shadow: 0 16px 40px rgba(20, 32, 54, 0.07);
}

.profile-photo-wrap {
  gap: 0.42rem;
  width: min(280px, 100%);
}

.profile-photo {
  box-shadow: 0 10px 24px rgba(19, 36, 68, 0.1);
}

.verified-float {
  min-height: 2.08rem;
  padding: 0 0.64rem;
  border-color: rgba(217, 228, 241, 0.98);
  box-shadow: 0 8px 18px rgba(19, 36, 68, 0.09);
}

.profile-media-stats {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 0;
  padding: 0.12rem 0.2rem 0;
  color: #64728a;
}

.profile-media-stats span {
  flex: 0 1 auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.profile-media-stats span + span {
  margin-left: 0.62rem;
  padding-left: 0.62rem;
  border-left: 1px solid rgba(204, 216, 232, 0.86);
}

.profile-media-stats strong {
  font-size: 0.88rem;
  line-height: 1;
}

.profile-media-stats small {
  margin-top: 0.08rem;
  color: #7b879a;
  font-size: 0.62rem;
  line-height: 1.05;
}

.profile-copy {
  gap: 0.62rem;
}

.profile-copy h1 {
  font-size: clamp(2.1rem, 3vw, 2.85rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.provider-subtitle {
  margin-top: -0.28rem;
}

.profile-rating-row {
  gap: 0.42rem 0.78rem;
  color: #243550;
  font-size: 0.94rem;
}

.profile-assurance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-assurance-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 2.18rem;
  padding: 0 0.58rem;
  border: 1px solid rgba(217, 228, 241, 0.88);
  border-radius: var(--radius-sm);
  background: rgba(248, 251, 255, 0.82);
}

.profile-assurance-strip svg {
  width: 1.28rem;
  height: 1.28rem;
  padding: 0.24rem;
  background: #edf4ff;
}

.profile-assurance-strip strong {
  font-size: 0.78rem;
  line-height: 1.08;
}

.profile-assurance-strip small {
  display: none;
}

.profile-facts {
  gap: 0.42rem 0.85rem;
  color: #42516b;
  font-size: 0.88rem;
}

.profile-value-strip {
  gap: 0.46rem;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.profile-value-strip span {
  min-height: 3.18rem;
  padding: 0.52rem 0.58rem;
  border: 1px solid rgba(217, 228, 241, 0.88);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
}

.profile-value-strip span + span {
  border-left: 1px solid rgba(217, 228, 241, 0.88);
}

.profile-value-strip strong {
  font-size: 0.94rem;
}

.profile-value-strip small {
  font-size: 0.68rem;
}

@media (min-width: 981px) {
  .profile-summary {
    grid-template-columns: minmax(250px, 0.44fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 760px) {
  .profile-summary {
    gap: 0.72rem;
    padding: 0.82rem;
  }

  .profile-media-stats {
    justify-content: center;
  }

  .profile-copy h1 {
    font-size: clamp(1.82rem, 7.4vw, 2.22rem);
  }

  .profile-assurance-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0.34rem;
  }

  .profile-assurance-strip span {
    justify-content: center;
    min-height: 2.28rem;
    padding: 0 0.24rem;
    text-align: center;
  }

  .profile-assurance-strip strong {
    font-size: 0.68rem;
  }

  .profile-value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .profile-value-strip span + span {
    border-left: 1px solid rgba(217, 228, 241, 0.88);
  }

  .profile-value-strip span:nth-child(even) {
    border-left: 1px solid rgba(217, 228, 241, 0.88);
  }

  .profile-value-strip span:nth-child(n + 3) {
    border-top: 1px solid rgba(217, 228, 241, 0.88);
  }
}

/* Premium193: focused request view uses a quiet provider summary on the left. */
.provider-profile-page.request-mode .profile-summary {
  gap: clamp(0.78rem, 1.5vw, 1rem);
  padding: clamp(0.82rem, 1.6vw, 1.05rem);
  border-color: rgba(215, 226, 240, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(20, 32, 54, 0.055);
}

.provider-profile-page.request-mode .profile-photo-wrap {
  gap: 0.28rem;
  width: min(174px, 100%);
}

.provider-profile-page.request-mode .profile-photo {
  border-color: rgba(217, 228, 241, 0.82);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.provider-profile-page.request-mode .verified-float {
  left: 0.42rem;
  bottom: 0.42rem;
  min-height: 1.72rem;
  padding: 0 0.48rem;
  border-color: rgba(217, 228, 241, 0.86);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  box-shadow: none;
}

.provider-profile-page.request-mode .profile-media-stats,
.provider-profile-page.request-mode .profile-hero-actions,
.provider-profile-page.request-mode .profile-value-strip,
.provider-profile-page.request-mode .profile-mobile-booking-preview {
  display: none;
}

.provider-profile-page.request-mode .profile-copy {
  align-content: start;
  gap: 0.42rem;
  padding-top: 0.05rem;
}

.provider-profile-page.request-mode .profile-copy .eyebrow {
  min-height: 1.72rem;
  padding: 0 0.56rem;
  border-color: rgba(194, 214, 241, 0.82);
  background: rgba(241, 247, 255, 0.76);
  font-size: 0.76rem;
}

.provider-profile-page.request-mode .profile-copy h1 {
  max-width: 17ch;
  font-size: clamp(1.58rem, 2.35vw, 2.18rem);
  line-height: 1.05;
}

.provider-profile-page.request-mode .provider-subtitle {
  margin-top: -0.16rem;
  font-size: 0.92rem;
}

.provider-profile-page.request-mode .profile-rating-row {
  gap: 0.28rem 0.64rem;
  color: #2c3a55;
  font-size: 0.85rem;
}

.provider-profile-page.request-mode .profile-assurance-strip {
  display: flex;
  gap: 0.34rem 0.7rem;
  margin-top: 0.12rem;
  padding-top: 0.48rem;
  border-top: 1px solid rgba(217, 228, 241, 0.82);
}

.provider-profile-page.request-mode .profile-assurance-strip span {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4b5b73;
}

.provider-profile-page.request-mode .profile-assurance-strip svg {
  width: 0.98rem;
  height: 0.98rem;
  padding: 0;
  background: transparent;
  color: #1769e8;
}

.provider-profile-page.request-mode .profile-assurance-strip strong {
  color: #34435f;
  font-size: 0.76rem;
}

.provider-profile-page.request-mode .profile-facts {
  gap: 0.34rem 0.72rem;
  padding-top: 0.16rem;
  color: #4b5b73;
  font-size: 0.82rem;
}

.provider-profile-page.request-mode .profile-info-block {
  box-shadow: 0 10px 24px rgba(20, 32, 54, 0.045);
}

@media (min-width: 981px) {
  .provider-profile-page.request-mode .profile-summary {
    grid-template-columns: minmax(164px, 0.28fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .provider-profile-page.request-mode .profile-summary {
    gap: 0.58rem;
    padding: 0.7rem;
  }

  .provider-profile-page.request-mode .profile-photo-wrap {
    width: min(100%, 310px);
  }

  .provider-profile-page.request-mode .profile-copy h1 {
    font-size: clamp(1.55rem, 6.1vw, 1.92rem);
  }

  .provider-profile-page.request-mode .profile-assurance-strip {
    display: flex;
    flex-wrap: wrap;
    padding: 0.42rem 0 0;
  }

  .provider-profile-page.request-mode .profile-assurance-strip span {
    justify-content: flex-start;
    text-align: left;
  }
}
