:root {
  color-scheme: light;
  --text: #151515;
  --ink: var(--text);
  --muted: #666c75;
  --border: #e5e7eb;
  --line: var(--border);
  --line-strong: #d7dbe2;
  --bg: #f7f7f8;
  --surface: #ffffff;
  --surface-soft: #f2f3f5;
  --navy: var(--text);
  --primary: #635bff;
  --primary-hover: #4a43db;
  --green: var(--primary);
  --green-strong: var(--primary-hover);
  --gold: #d89923;
  --red: #c2413b;
  --blue: #2366d1;
  --success-bg: #ecfdf5;
  --success-text: #065f46;
  --success-border: #a7f3d0;
  --info-bg: #eff6ff;
  --info-text: #1e3a8a;
  --info-border: #bfdbfe;
  --warning-bg: #fffbeb;
  --warning-text: #92400e;
  --warning-border: #fde68a;
  --error-bg: #fef2f2;
  --error-text: #991b1b;
  --error-border: #fecaca;
  --badge-bg: #eef2ff;
  --badge-text: #4f46e5;
  --input-bg: #ffffff;
  --input-text: var(--text);
  --placeholder-text: #6b7280;
  --card-shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  --shadow: var(--card-shadow);
  --shadow-soft: 0 12px 34px rgba(17, 17, 17, 0.08);
  --page-start: #ffffff;
  --page-end: #ffffff;
  --radius: 8px;
  --button-radius: 14px;
  --button-border: #bfdbfe;
  --button-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
  --button-shadow-hover: 0 14px 28px rgba(15, 23, 42, 0.15);
  --button-shadow-active: 0 5px 12px rgba(15, 23, 42, 0.11);
  --button-focus: rgba(99, 91, 255, 0.3);
  --max: 1180px;
}

/* Welcome category browser: keep the glow attached to the active tile only. */
.welcome-page .category-icon-box {
  --category-card-glow-x: 50%;
  --category-card-glow-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.welcome-page .category-icon-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease;
}

.welcome-page .category-icon-box::after {
  z-index: 2;
  padding: 1px;
  background: radial-gradient(
    circle 86px at var(--category-card-glow-x) var(--category-card-glow-y),
    rgba(255, 222, 181, 0.98) 0%,
    rgba(255, 139, 70, 0.82) 35%,
    rgba(255, 75, 62, 0.32) 62%,
    transparent 78%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.welcome-page .category-icon-box > * {
  position: relative;
  z-index: 1;
}

.welcome-page .category-icon-box.is-category-card-glow-active::after,
.welcome-page .category-icon-box:focus-visible::after {
  opacity: 1;
}

.welcome-page .category-icon-box.is-category-card-glow-active {
  border-color: rgba(255, 149, 82, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 149, 82, 0.12),
    0 0 24px rgba(255, 122, 47, 0.2),
    0 18px 36px rgba(15, 23, 42, 0.15);
}

.welcome-page .category-icon-box:focus-visible,
.welcome-page .category-icon-box:active {
  border-color: rgba(139, 92, 246, 0.52);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.16),
    0 18px 36px rgba(15, 23, 42, 0.16);
}

.welcome-page .category-icon-box:focus-visible {
  transform: translateY(-3px) scale(1.008);
  outline: 3px solid rgba(139, 92, 246, 0.22);
  outline-offset: 3px;
}

.welcome-page .category-icon-box:focus-visible .category-icon-badge,
.welcome-page .category-icon-box:active .category-icon-badge {
  transform: scale(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    0 12px 28px var(--category-halo, rgba(99, 91, 255, 0.2));
}

.welcome-page .category-icon-box:active {
  transform: translateY(-1px) scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .welcome-page .category-icon-box:hover {
    transform: translateY(-3px) scale(1.008);
    border-color: rgba(255, 149, 82, 0.36);
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
      0 0 24px rgba(255, 122, 47, 0.13),
      0 18px 36px rgba(15, 23, 42, 0.15);
  }

  .welcome-page .category-icon-box:hover .category-icon-badge {
    transform: scale(1.04);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.82),
      0 12px 28px var(--category-halo, rgba(99, 91, 255, 0.2));
  }
}

@media (hover: none) {
  .welcome-page .category-icon-box:hover {
    transform: none;
  }

  .welcome-page .category-icon-box:hover .category-icon-badge {
    transform: none;
  }
}

:root[data-theme="dark"] .welcome-page .category-icon-box {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(20, 22, 29, 0.76);
}

:root[data-theme="dark"] .welcome-page .category-icon-box:focus-visible,
:root[data-theme="dark"] .welcome-page .category-icon-box:active,
:root[data-theme="dark"] .welcome-page .category-icon-box.is-category-card-glow-active {
  border-color: rgba(196, 181, 253, 0.52);
  box-shadow:
    0 0 0 1px rgba(196, 181, 253, 0.16),
    0 0 26px rgba(255, 106, 61, 0.22),
    0 20px 42px rgba(0, 0, 0, 0.36);
}

@media (hover: hover) and (pointer: fine) {
  :root[data-theme="dark"] .welcome-page .category-icon-box:hover {
    border-color: rgba(255, 139, 82, 0.34);
    background: rgba(31, 28, 29, 0.88);
    box-shadow:
      0 0 30px rgba(255, 106, 61, 0.16),
      0 20px 42px rgba(0, 0, 0, 0.36);
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-page .category-icon-box,
  .welcome-page .category-icon-box::after,
  .welcome-page .category-icon-badge {
    transition: none;
  }

  .welcome-page .category-icon-box:hover,
  .welcome-page .category-icon-box:focus-visible,
  .welcome-page .category-icon-box:active {
    transform: none;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --text: #f8fafc;
  --ink: var(--text);
  --muted: #a6adba;
  --muted-2: #7d8796;
  --border: rgba(255, 255, 255, 0.1);
  --line: var(--border);
  --line-strong: rgba(255, 255, 255, 0.16);
  --bg: #0b0d10;
  --surface: #12161d;
  --surface-soft: #171c24;
  --surface-raised: #1d232d;
  --surface-card: #151922;
  --navy: var(--text);
  --primary: #ff4b3e;
  --primary-hover: #ff6a3d;
  --accent: #ff7a2f;
  --green: var(--primary);
  --green-strong: var(--primary-hover);
  --gold: #f6c85f;
  --red: #ff6b64;
  --blue: #60a5fa;
  --success-bg: #0c261e;
  --success-text: #6ee7b7;
  --success-border: rgba(34, 197, 94, 0.38);
  --info-bg: #0d1f33;
  --info-text: #93c5fd;
  --info-border: rgba(96, 165, 250, 0.38);
  --warning-bg: #2b210a;
  --warning-text: #f6c85f;
  --warning-border: rgba(245, 158, 11, 0.38);
  --error-bg: #2c1315;
  --error-text: #fca5a5;
  --error-border: rgba(248, 113, 113, 0.42);
  --badge-bg: rgba(255, 75, 62, 0.14);
  --badge-text: #ff9b8f;
  --input-bg: #0f1319;
  --input-text: var(--text);
  --placeholder-text: #7d8796;
  --card-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --shadow: var(--card-shadow);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.34);
  --button-border: rgba(255, 75, 62, 0.3);
  --button-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
  --button-shadow-hover: 0 14px 30px rgba(0, 0, 0, 0.46);
  --button-shadow-active: 0 5px 12px rgba(0, 0, 0, 0.32);
  --button-focus: rgba(255, 106, 61, 0.34);
  --page-start: #080a0e;
  --page-end: #0b0d10;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--page-start) 0%, var(--bg) 46%, var(--page-end) 100%);
  min-height: 100vh;
  font-size: 15.5px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

button {
  border: 1px solid var(--button-border);
  border-radius: var(--button-radius);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--button-shadow);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

button:focus-visible,
a.primary-btn:focus-visible,
a.secondary-btn:focus-visible,
a.ghost-btn:focus-visible,
a.danger-btn:focus-visible,
a.whatsapp-contact-btn:focus-visible,
.auth-create-account:focus-visible,
.auth-store-button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--button-focus);
  outline-offset: 2px;
}

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

.splash {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: #f7fbff;
  transition:
    opacity 360ms ease,
    visibility 360ms ease;
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px;
  text-align: center;
}

.splash-card h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--navy);
}

.splash-card p {
  margin: 0;
  color: var(--muted);
}

.loader {
  width: 148px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe9f1;
}

.loader::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  animation: load 1s infinite ease-in-out;
}

@keyframes load {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(250%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 12px clamp(16px, 3vw, 42px);
  border-bottom: 1px solid rgba(220, 228, 237, 0.92);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--navy));
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(15, 140, 111, 0.24);
}

.brand strong {
  display: block;
  line-height: 1;
  color: var(--navy);
  font-size: 1.04rem;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 248, 251, 0.86);
}

.top-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.top-nav a.is-active {
  color: var(--navy);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-soft);
  font-weight: 900;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: color-mix(in srgb, var(--green) 52%, var(--line));
  box-shadow: 0 12px 26px rgba(99, 91, 255, 0.16);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green) 28%, transparent);
  outline-offset: 3px;
}

.theme-toggle-track {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 58px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--green) 22%, var(--line));
  border-radius: 999px;
  padding: 0 7px;
  background: linear-gradient(135deg, #eef5ff, #ffffff);
}

.theme-toggle-track [data-icon],
.theme-toggle-track [data-lucide] {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;
  color: #6a6f80;
}

.theme-toggle-moon {
  justify-self: end;
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(31, 42, 99, 0.22);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.theme-toggle-label {
  font-size: 0.78rem;
  white-space: nowrap;
}

:root[data-theme="dark"] .theme-toggle-track {
  background: linear-gradient(135deg, #20263a, #111827);
}

:root[data-theme="dark"] .theme-toggle-thumb {
  background: var(--green);
  transform: translateX(26px);
}

:root[data-theme="dark"] .theme-toggle-track [data-icon],
:root[data-theme="dark"] .theme-toggle-track [data-lucide] {
  color: #dbe3ff;
}

.header-account-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  max-width: 260px;
  padding: 5px 12px 5px 6px;
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, #f5f7ff);
  box-shadow: 0 14px 32px rgba(99, 91, 255, 0.12);
}

.header-account-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(99, 91, 255, 0.18);
}

.header-account-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), #2f8cff);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(99, 91, 255, 0.2);
}

.header-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-account-copy {
  display: grid;
  min-width: 0;
  text-align: left;
}

.header-account-copy strong,
.header-account-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-account-copy strong {
  font-size: 0.9rem;
  line-height: 1.05;
}

.header-account-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.header-logout-btn {
  min-height: 42px;
  padding-inline: 15px;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.danger-btn,
.icon-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--button-border);
  border-radius: var(--button-radius);
  padding: 0 18px;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.primary-btn {
  color: #ffffff;
  border-color: rgba(79, 70, 229, 0.58);
  background: linear-gradient(135deg, #635bff 0%, #3b5fe9 56%, #168f9e 100%);
  box-shadow:
    0 14px 30px rgba(99, 91, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.danger-btn:hover,
.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--button-shadow-hover);
}

.primary-btn:hover {
  border-color: rgba(79, 70, 229, 0.78);
  background: linear-gradient(135deg, #564ded 0%, #3155dc 56%, #117f8d 100%);
  box-shadow:
    0 18px 36px rgba(99, 91, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.primary-btn:active,
.secondary-btn:active,
.ghost-btn:active,
.danger-btn:active,
.icon-btn:active {
  transform: translateY(0);
  box-shadow: var(--button-shadow-active);
}

.primary-btn[disabled],
.secondary-btn[disabled],
.ghost-btn[disabled],
.danger-btn[disabled],
.primary-btn[aria-busy="true"],
.secondary-btn[aria-busy="true"],
.icon-btn[disabled],
.is-disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.72;
  box-shadow: none;
}

.btn-spinner {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: pnSpin 760ms linear infinite;
}

.secondary-btn .btn-spinner {
  border-color: rgba(99, 91, 255, 0.2);
  border-top-color: var(--primary);
}

@keyframes pnSpin {
  to {
    transform: rotate(360deg);
  }
}

.secondary-btn {
  color: #2457bd;
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #f7fbff 0%, #eff6ff 100%);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.11);
}

.secondary-btn:hover {
  color: #1d4ed8;
  border-color: #93c5fd;
  background: linear-gradient(180deg, #ffffff 0%, #e8f2ff 100%);
}

.secondary-btn.danger-soft {
  color: #991b1b;
  border-color: #fecaca;
  background: #fff5f5;
}

.secondary-btn.danger-soft:hover {
  border-color: #f87171;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.1);
}

.secondary-btn.danger {
  color: #b42318;
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff8f7 0%, #fff1f0 100%);
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.1);
}

.secondary-btn.danger:hover {
  color: #991b1b;
  border-color: #fca5a5;
  background: #ffe8e6;
  box-shadow: 0 13px 26px rgba(185, 28, 28, 0.16);
}

.ghost-btn {
  color: var(--navy);
  border-color: color-mix(in srgb, var(--button-border) 72%, var(--line));
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.07);
}

.ghost-btn:hover {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--line));
  background: color-mix(in srgb, var(--primary) 7%, var(--surface));
}

.danger-btn {
  color: #ffffff;
  border-color: #b91c1c;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow:
    0 12px 24px rgba(220, 38, 38, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.danger-btn:hover {
  border-color: #991b1b;
  background: linear-gradient(135deg, #e53e3e 0%, #c81e1e 100%);
  box-shadow: 0 16px 30px rgba(220, 38, 38, 0.26);
}

.whatsapp-contact-btn {
  color: #ffffff;
  border-color: #15803d;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow:
    0 11px 24px rgba(22, 163, 74, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.whatsapp-contact-btn:hover {
  color: #ffffff;
  border-color: #166534;
  background: linear-gradient(135deg, #1fba57 0%, #148f42 100%);
  box-shadow: 0 15px 30px rgba(22, 163, 74, 0.25);
  transform: translateY(-2px);
}

.whatsapp-contact-btn:active {
  transform: translateY(0);
  box-shadow: var(--button-shadow-active);
}

.whatsapp-contact-btn i {
  width: 18px;
  height: 18px;
}

.whatsapp-contact-empty {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--button-radius);
  padding: 0 14px;
  background: rgba(99, 91, 255, 0.04);
}

.whatsapp-toggle-field .toggle-row,
.toggle-row {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: var(--soft);
}

.toggle-row input[type="checkbox"] {
  width: 46px;
  height: 26px;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.toggle-row small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.whatsapp-preference-form {
  display: grid;
  gap: 14px;
}

.icon-btn {
  width: 44px;
  padding: 0;
  color: var(--navy);
  border-color: var(--button-border);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.09);
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(24px, 4vw, 54px) 0;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 28px 0 52px;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(9, 25, 43, 0.86), rgba(9, 25, 43, 0.56) 42%, rgba(9, 25, 43, 0.06)),
    url("./assets/pronearme-hero.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(9, 25, 43, 0.52), transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 22px;
  width: min(620px, 100%);
  min-height: 660px;
  padding: clamp(28px, 5vw, 58px);
}

.eyebrow,
.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.eyebrow {
  color: #e7fff7;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.completed-job-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  align-items: stretch;
}

.seeker-completed-job-card {
  width: min(100%, 400px);
  max-width: 400px;
  justify-self: start;
  align-self: start;
}

.completed-job-actions > .primary-btn,
.completed-job-actions > .secondary-btn,
.completed-job-actions > .danger-btn,
.completed-job-actions > .whatsapp-contact-btn,
.completed-job-actions > .whatsapp-contact-empty {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  padding: 0 14px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.completed-job-actions > .primary-btn:hover,
.completed-job-actions > .secondary-btn:hover,
.completed-job-actions > .danger-btn:hover,
.completed-job-actions > .whatsapp-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.completed-job-actions > .primary-btn:active,
.completed-job-actions > .secondary-btn:active,
.completed-job-actions > .danger-btn:active,
.completed-job-actions > .whatsapp-contact-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
}

.completed-job-actions .completed-view-action {
  color: #2563eb;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

.completed-job-actions .completed-whatsapp-action {
  color: #000000;
  border: 1px solid #25d366;
  background: #25d366;
}

.completed-job-actions .completed-archive-action {
  color: #ffffff;
  border: 1px solid #dc4038;
  background: #dc4038;
}

.completed-job-actions .whatsapp-contact-empty {
  display: inline-flex;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  background: var(--surface-soft);
}

.admin-category-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(106, 75, 255, 0.5);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 99, 255, 0.11), transparent 12rem),
    linear-gradient(135deg, #fbfaff, #f3f1ff);
}

.admin-category-manager {
  display: grid;
  gap: 18px;
}

.admin-category-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(106, 75, 255, 0.56);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(124, 99, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(247, 248, 255, 0.98), rgba(242, 237, 255, 0.98));
  box-shadow:
    0 2px 0 rgba(106, 75, 255, 0.16),
    0 18px 42px rgba(90, 72, 190, 0.13);
}

.admin-category-groups {
  display: grid;
  gap: 16px;
}

.admin-category-group {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(106, 75, 255, 0.58);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(124, 99, 255, 0.09), transparent 18rem),
    linear-gradient(#ffffff, #fbfaff) padding-box,
    linear-gradient(135deg, rgba(99, 91, 255, 0.78), rgba(164, 116, 255, 0.42)) border-box;
  box-shadow:
    0 2px 0 rgba(106, 75, 255, 0.14),
    0 18px 45px rgba(77, 61, 160, 0.12);
}

.admin-category-group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.admin-category-icon {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #4f46ff;
  border: 1px solid rgba(106, 75, 255, 0.42);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.85), transparent 42%),
    linear-gradient(135deg, #eef2ff, #f4edff);
}

.admin-category-icon [data-icon] {
  width: 24px;
  height: 24px;
}

.admin-category-group-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
}

.admin-category-group-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-category-group-head strong {
  padding: 8px 11px;
  border: 1px solid rgba(106, 75, 255, 0.42);
  border-radius: 999px;
  color: #4f46ff;
  background: #eeeaff;
  font-size: 0.8rem;
  white-space: nowrap;
}

.admin-category-group-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-main-category-form,
.admin-subcategory-add {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(106, 75, 255, 0.46);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(248, 250, 255, 0.98), rgba(245, 240, 255, 0.98));
}

.admin-main-category-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-subcategory-add {
  grid-template-columns: minmax(220px, 1fr) minmax(120px, 0.34fr) minmax(150px, 0.44fr) auto;
  align-items: end;
}

.admin-subcategory-add label {
  display: grid;
  gap: 6px;
}

.admin-subcategory-add span {
  color: #5f6675;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-subcategory-add input,
.admin-subcategory-add select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(106, 75, 255, 0.42);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--navy);
  background: #ffffff;
  outline: none;
  font-weight: 800;
}

.admin-category-visual-editor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(150px, 0.55fr);
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(106, 75, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-category-visual-preview {
  align-self: center;
  display: inline-grid;
  place-items: center;
}

.admin-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 12px;
}

.admin-subcategory-card {
  display: grid;
  gap: 12px;
  min-height: 168px;
  padding: 15px;
  border: 1px solid rgba(106, 75, 255, 0.42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 99, 255, 0.08), transparent 10rem),
    linear-gradient(180deg, rgba(251, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow:
    0 2px 0 rgba(106, 75, 255, 0.12),
    0 10px 24px rgba(77, 61, 160, 0.08);
  transform: translateY(0);
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}

.admin-subcategory-card:hover {
  border-color: rgba(99, 91, 255, 0.72);
  box-shadow:
    0 4px 0 rgba(106, 75, 255, 0.16),
    0 18px 36px rgba(77, 61, 160, 0.16);
  transform: translateY(-3px);
}

.admin-subcategory-card.is-editing {
  grid-column: 1 / -1;
  min-height: 0;
  overflow: hidden;
  border-color: rgba(99, 91, 255, 0.72);
  transform: none;
}

.admin-subcategory-card.is-editing:hover {
  transform: none;
}

.admin-subcategory-card.is-editing .admin-category-form {
  min-width: 0;
  margin-top: 0;
  padding: 16px;
}

.admin-subcategory-card.is-editing .admin-category-visual-editor {
  grid-template-columns: auto minmax(240px, 1fr) minmax(190px, 0.55fr);
  min-width: 0;
}

.admin-subcategory-card.is-editing .admin-category-form > .inline-actions {
  justify-content: flex-end;
}

.admin-subcategory-card.is-editing .admin-category-form > .inline-actions .mini-btn {
  min-width: 132px;
  justify-content: center;
}

.admin-category-description {
  display: -webkit-box;
  min-height: 5.8em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-height: 1.45;
}

.admin-subcategory-card.is-editing .admin-category-description {
  display: none;
}

.admin-category-description-field textarea {
  min-height: 124px;
  resize: vertical;
  line-height: 1.55;
}

.admin-category-description-field small {
  color: var(--muted);
  line-height: 1.45;
}

[data-category-description-count] {
  color: var(--primary);
  font-weight: 900;
}

[data-category-description-count].is-over-limit {
  color: var(--red);
}

.admin-subcategory-card .pill {
  color: #4f46ff;
  border: 1px solid rgba(99, 91, 255, 0.28);
  background: #f1efff;
  font-weight: 950;
}

.admin-subcategory-card .pill.red {
  color: #a32929;
  border-color: rgba(239, 68, 68, 0.3);
  background: #fff0f0;
}

.admin-category-manager .mini-btn,
.admin-category-manager .primary-btn,
.admin-category-manager .secondary-btn {
  border-color: rgba(106, 75, 255, 0.32);
  box-shadow:
    0 2px 0 rgba(57, 42, 150, 0.22),
    0 10px 20px rgba(77, 61, 160, 0.1);
}

.admin-category-manager .mini-btn:hover,
.admin-category-manager .primary-btn:hover,
.admin-category-manager .secondary-btn:hover {
  border-color: rgba(99, 91, 255, 0.62);
  box-shadow:
    0 4px 0 rgba(57, 42, 150, 0.24),
    0 16px 28px rgba(77, 61, 160, 0.18);
  transform: translateY(-3px);
}

.admin-category-manager .mini-btn:active,
.admin-category-manager .primary-btn:active,
.admin-category-manager .secondary-btn:active {
  box-shadow:
    0 1px 0 rgba(57, 42, 150, 0.2),
    0 7px 14px rgba(77, 61, 160, 0.13);
  transform: translateY(1px);
}

.admin-subcategory-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.admin-subcategory-title .category-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.admin-subcategory-title .category-icon-emoji {
  font-size: 1.35rem;
}

.admin-subcategory-title [data-icon] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #635bff;
}

.admin-subcategory-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.admin-subcategory-title small {
  display: block;
  margin-top: 3px;
  color: #6f7787;
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-category-empty {
  text-align: center;
}

.route-error-card {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 28px auto;
  padding: 28px;
  border: 1px solid #dfe5ff;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(99, 91, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: 0 24px 70px rgba(37, 48, 96, 0.13);
}

.route-error-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.route-error-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.route-error-card small {
  padding: 10px 12px;
  border: 1px solid #edf0ff;
  border-radius: 12px;
  color: #626b85;
  background: #fbfcff;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.category-search-control {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: min(420px, 100%);
}

.category-search-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.category-search-label [data-icon] {
  position: static;
  width: 18px;
  height: 18px;
  color: #111827;
}

.category-search-control span {
  color: #5f6675;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.category-search-control input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px 0 20px;
  border: 1px solid #dfe4ff;
  border-radius: 14px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(242, 247, 255, 0.98), rgba(249, 246, 255, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  outline: none;
  font-weight: 800;
}

.category-search-control input:focus {
  border-color: rgba(99, 91, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.12);
}

.category-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 7px);
  z-index: 45;
  display: grid;
  gap: 5px;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #dfe4ff;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 22px 44px rgba(31, 42, 99, 0.18);
}

.category-suggestions[hidden] {
  display: none;
}

.category-suggestions button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  color: var(--navy);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.category-suggestions button:hover {
  background: #f1f4ff;
}

:root[data-theme="dark"] .category-suggestions {
  color: #f8fafc;
  border-color: #30394a;
  background: #111722;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
}

:root[data-theme="dark"] .category-suggestions button {
  color: #f8fafc;
  border: 1px solid transparent;
  background: #171d29;
}

:root[data-theme="dark"] .category-suggestions button:hover,
:root[data-theme="dark"] .category-suggestions button:focus-visible {
  color: #ffffff;
  border-color: rgba(138, 118, 255, 0.76);
  background: linear-gradient(135deg, #2a2344 0%, #1b263a 100%);
  outline: none;
}

:root[data-theme="dark"] .category-suggestions strong {
  color: inherit;
}

:root[data-theme="dark"] .category-suggestions small,
:root[data-theme="dark"] .category-suggestion-empty {
  color: #c4ccda;
}

:root[data-theme="dark"] .category-suggestions button > [data-icon] {
  color: #c4b5fd;
}

.category-suggestions button > [data-icon] {
  position: static;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #5b52ff;
}

.category-suggestions button span {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: inherit;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
}

.category-suggestions strong {
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.2;
}

.category-suggestions small,
.category-suggestion-empty {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

:root[data-theme="dark"] .category-suggestions button strong {
  color: #f8fafc;
}

:root[data-theme="dark"] .category-suggestions button small {
  color: #c4ccda;
}

.category-suggestion-empty {
  padding: 10px;
}

.category-search-count {
  color: #595fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.category-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed #ccd5ff;
  border-radius: 14px;
  color: var(--muted);
  background: #f8faff;
  font-weight: 800;
}

.service-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 10px;
  width: min(780px, 100%);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(17, 17, 17, 0.2);
}

.service-search label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.service-search span {
  color: #707782;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-search input {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--surface-soft);
  outline: none;
}

.home-services {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: min(780px, 100%);
}

.home-service {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 12px 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.12);
}

.home-service [data-icon] {
  width: 24px;
  height: 24px;
  color: var(--green);
}

.home-service span {
  font-weight: 900;
  font-size: 0.84rem;
}

.welcome-page {
  padding: 34px 0 68px;
}

.uc-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 120px);
}

.uc-hero-copy {
  display: grid;
  gap: 22px;
}

.uc-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.uc-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.eyebrow.light {
  color: var(--badge-text);
  border-color: var(--line);
  background: var(--badge-bg);
}

.uc-search-card {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(230px, 0.9fr) auto;
  gap: 10px;
  width: min(940px, 100%);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(17, 17, 17, 0.1);
}

.uc-search-card label,
.uc-search-card .uc-search-field {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px 12px 42px;
  border-radius: 14px;
  background: var(--surface-soft);
  overflow: visible;
}

.uc-search-card .uc-location-field {
  padding-left: 14px;
}

.uc-search-card label [data-icon],
.uc-search-card .uc-search-field > [data-icon] {
  position: absolute;
  left: 13px;
  top: 34px;
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.uc-search-card .uc-location-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.uc-search-card .uc-location-label [data-icon] {
  position: static;
  width: 18px;
  height: 18px;
  color: var(--ink);
}

.uc-search-card span,
.uc-trust-row span,
.uc-banner > span {
  color: #707782;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.uc-search-card input,
.uc-search-card select {
  width: 100%;
  min-height: 34px;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: none;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.25;
}

.uc-search-card select {
  appearance: none;
  cursor: pointer;
  padding: 2px 30px 2px 0;
  border-radius: 10px;
  color: #151822;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0)),
    transparent;
}

.uc-search-card label:has(select)::after,
.uc-search-card .uc-search-field:has(select)::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 21px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.uc-search-card select option {
  color: #151822;
  background: #ffffff;
  font-weight: 700;
}

.uc-service-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 0;
  color: #141822;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.uc-service-select strong {
  min-width: 0;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc-search-card .uc-service-select [data-icon] {
  position: static;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #6a7180;
}

.uc-service-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  display: grid;
  max-height: 330px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid #dde3ff;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 22px 44px rgba(31, 42, 99, 0.18);
}

.uc-service-menu .category-search-control {
  min-width: 0;
  margin-bottom: 8px;
}

.uc-service-menu .category-search-control input {
  min-height: 42px;
}

.uc-service-menu-group {
  display: grid;
  gap: 4px;
  padding: 5px;
}

.uc-service-menu-group > span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 8px 4px;
  color: #007663;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.uc-service-menu-group > span [data-icon] {
  position: static;
  width: 15px;
  height: 15px;
  color: currentColor;
}

.uc-service-menu button {
  width: 100%;
  padding: 11px 12px;
  color: #171b2a;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.uc-service-menu button:hover,
.uc-service-menu button.is-selected {
  color: #3041d6;
  background: #f1f4ff;
}

.uc-search-card small {
  min-height: 14px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.uc-search-card small.is-warn {
  color: #b3572f;
}

.uc-search-card small.is-ok {
  color: var(--green);
}

.uc-search-card .primary-btn {
  min-height: 64px;
  align-self: stretch;
}

.uc-trust-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(860px, 100%);
  padding: 12px;
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 91, 255, 0.14), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f7f8ff);
  box-shadow: 0 22px 58px rgba(31, 42, 99, 0.11);
}

.uc-trust-metric {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 118px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.uc-trust-metric > span {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #635bff, #3284ff);
  box-shadow: 0 12px 26px rgba(99, 91, 255, 0.28);
}

.uc-trust-metric [data-icon] {
  width: 21px;
  height: 21px;
}

.uc-trust-metric div {
  display: grid;
  gap: 3px;
}

.uc-trust-metric strong {
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1;
}

.uc-trust-metric small {
  color: #3b4362;
  font-weight: 950;
}

.uc-trust-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.uc-trust-actions .primary-btn,
.uc-trust-actions .secondary-btn {
  min-height: 48px;
  flex: 1 1 180px;
}

.uc-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.uc-trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  text-transform: none;
  letter-spacing: 0;
}

.uc-trust-row strong {
  color: var(--navy);
}

.uc-hero-visual {
  position: relative;
  min-height: 590px;
}

.uc-photo-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #e9edf5;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.18);
  isolation: isolate;
}

.welcome-hero-image-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 900ms ease, transform 10500ms cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  will-change: opacity, transform;
}

.welcome-hero-image-layer.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1.065);
}

.uc-section {
  padding: clamp(34px, 5vw, 72px) 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-title h2,
.uc-split h2,
.uc-provider-cta h2 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.uc-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-slider-section {
  display: grid;
  gap: 18px;
}

.category-browser {
  display: grid;
  gap: 16px;
}

.category-browser > .category-search-control {
  width: min(520px, 100%);
}

.category-group-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e4e8fb;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.06);
}

.category-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-group-head > span {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 15px;
  color: #4e47ff;
  background: #eef2ff;
}

.category-group-head [data-icon] {
  width: 22px;
  height: 22px;
}

.category-group-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.category-group-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.category-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1.5in, 1.5in));
  gap: 14px;
  justify-content: start;
  align-items: stretch;
}

.category-icon-box {
  width: 1.5in;
  height: 1.5in;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 12px 10px;
  border: 1px solid #e3e8f4;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92)),
    #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.category-icon-badge {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: var(--category-color, var(--green));
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.82), transparent 56%),
    var(--category-bg, #eef2ff);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 10px 24px var(--category-halo, rgba(99, 91, 255, 0.16));
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.category-icon-emoji {
  display: block;
  color: inherit;
  font-size: 1.65rem;
  line-height: 1;
  filter: saturate(1.04);
}

.category-icon-box [data-icon] {
  width: 30px;
  height: 30px;
  color: var(--green);
}

.category-icon-box strong {
  max-width: calc(100% - 10px);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
  display: -webkit-box;
  min-height: 2.05em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-icon-box:hover,
.category-icon-box:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(99, 91, 255, 0.32);
  background:
    linear-gradient(180deg, #ffffff, #f8fbff),
    #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.13);
}

.category-icon-box:hover .category-icon-badge,
.category-icon-box:focus-visible .category-icon-badge {
  transform: scale(1.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.82),
    0 14px 30px var(--category-halo, rgba(99, 91, 255, 0.2));
}

.category-icon-box:focus-visible {
  outline: 3px solid rgba(99, 91, 255, 0.22);
  outline-offset: 3px;
}

.uc-service-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 14px 35px rgba(17, 17, 17, 0.05);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.uc-service-card:hover,
.uc-job-card:hover,
.uc-provider-card:hover,
.uc-proof-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 91, 255, 0.28);
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.1);
}

.uc-service-card [data-icon],
.uc-proof-card [data-icon] {
  width: 26px;
  height: 26px;
  color: var(--green);
}

.uc-service-card strong {
  color: var(--navy);
  font-size: 1.04rem;
}

.uc-service-card span,
.uc-proof-card span,
.uc-provider-card p,
.uc-job-card p,
.uc-provider-cta p,
.uc-split p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.uc-service-card small {
  width: fit-content;
  margin-top: auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-strong);
  background: #f0efff;
  font-weight: 900;
}

.uc-spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.uc-banner {
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(242, 243, 245, 0.82)),
    radial-gradient(circle at 78% 22%, rgba(99, 91, 255, 0.22), transparent 14rem);
  box-shadow: var(--shadow-soft);
}

.uc-banner.dark {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.62)),
    url("./assets/pronearme-hero.png") center / cover no-repeat;
}

.uc-banner.dark h3,
.uc-banner.dark p,
.uc-banner.dark span {
  color: #ffffff;
}

.uc-banner h3,
.uc-job-card h3,
.uc-provider-card h3 {
  margin: 0;
  color: var(--navy);
}

.uc-banner h3 {
  max-width: 520px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.uc-banner p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.uc-job-strip,
.uc-provider-grid,
.uc-proof-grid {
  display: grid;
  gap: 14px;
}

.uc-job-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uc-job-card,
.uc-provider-card,
.uc-proof-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(17, 17, 17, 0.05);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.uc-job-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.uc-split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: center;
}

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

.uc-proof-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 18px;
}

.uc-provider-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uc-featured-provider-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 2in));
  grid-auto-rows: 2in;
  gap: 12px;
  justify-content: start;
  overflow-x: auto;
  padding: 4px 2px 14px;
}

.uc-featured-provider-card,
.uc-featured-provider-empty {
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 91, 255, 0.12), transparent 13rem),
    #ffffff;
  box-shadow: 0 18px 45px rgba(31, 42, 99, 0.08);
}

.uc-featured-provider-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  width: 2in;
  height: 2in;
  min-height: 2in;
  padding: 0 10px 10px;
  overflow: hidden;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.uc-featured-provider-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.36);
  box-shadow: 0 26px 58px rgba(31, 42, 99, 0.14);
}

.uc-provider-ribbon {
  width: calc(100% + 20px);
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #24325c;
  background: linear-gradient(135deg, #f4f7ff, #f1efff);
  font-size: 0.6rem;
  font-weight: 950;
}

.uc-provider-ribbon [data-icon] {
  width: 12px;
  height: 12px;
  color: #176f50;
}

.uc-provider-photo {
  width: 43px;
  height: 43px;
  display: inline-grid;
  place-items: center;
  margin-top: 4px;
  overflow: hidden;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #635bff, #32c7a4);
  box-shadow: 0 10px 20px rgba(31, 42, 99, 0.16);
  font-size: 1rem;
  font-weight: 950;
}

.uc-provider-photo-action {
  padding: 0;
  cursor: pointer;
  appearance: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.uc-provider-photo-action:hover,
.uc-provider-photo-action:focus-visible {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 26px rgba(31, 42, 99, 0.24);
  outline: 3px solid rgba(99, 91, 255, 0.22);
  outline-offset: 2px;
}

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

.uc-featured-provider-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.08;
  display: -webkit-box;
  min-height: 1.95em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.uc-provider-score {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: #172036;
  font-size: 0.64rem;
  font-weight: 850;
}

.uc-provider-score span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.uc-provider-score [data-icon] {
  width: 13px;
  height: 13px;
  color: #006c5b;
}

.uc-provider-skills {
  width: 100%;
  display: grid;
  margin-top: 1px;
}

.uc-provider-skill-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid #00816d;
  border-radius: 8px;
  padding: 0 7px;
  color: #007663;
  background: #ffffff;
  font-size: 0.64rem;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
  user-select: text;
}

.uc-featured-provider-card > .ghost-btn {
  margin-top: auto;
  color: #007663;
  min-height: 20px;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 950;
}

.uc-featured-provider-categories {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.uc-featured-provider-categories .provider-category-trigger {
  width: 100%;
  justify-content: center;
}

.uc-featured-provider-categories .provider-category-pill.is-primary {
  justify-content: center;
}

.uc-featured-provider-categories .provider-category-popover {
  top: auto;
  bottom: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 150px;
  overflow-y: auto;
  transform: translateY(6px) scale(0.98);
  transform-origin: bottom center;
}

.uc-featured-provider-categories .provider-category-popover::before {
  display: none;
}

.uc-featured-provider-categories:hover .provider-category-popover,
.uc-featured-provider-categories .provider-category-trigger:focus-visible + .provider-category-popover,
.uc-featured-provider-categories.is-expanded .provider-category-popover {
  transform: translateY(0) scale(1);
}

.uc-featured-provider-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
}

.uc-featured-provider-empty [data-icon] {
  width: 34px;
  height: 34px;
  color: #635bff;
}

.uc-featured-provider-empty strong {
  color: var(--navy);
  font-size: 1.2rem;
}

.uc-featured-provider-empty span {
  color: var(--muted);
}

:root[data-theme="dark"] .uc-provider-ribbon {
  color: #f5f7fa;
  background: linear-gradient(135deg, rgba(109, 74, 255, 0.32), rgba(0, 151, 157, 0.18));
}

:root[data-theme="dark"] .uc-provider-ribbon [data-icon],
:root[data-theme="dark"] .uc-provider-score [data-icon] {
  color: #7ed957;
}

:root[data-theme="dark"] .uc-provider-score {
  color: #f5f7fa;
}

:root[data-theme="dark"] .uc-provider-skill-label {
  color: #a7f3d0;
  border-color: rgba(50, 199, 164, 0.52);
  background: rgba(0, 151, 157, 0.12);
}

@media (max-width: 640px) {
  .uc-featured-provider-grid {
    grid-template-columns: none;
    grid-template-rows: 2in;
    grid-auto-flow: column;
    grid-auto-columns: 2in;
    grid-auto-rows: 2in;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .uc-featured-provider-card {
    scroll-snap-align: start;
  }

  .uc-featured-provider-empty {
    width: min(86vw, 360px);
  }
}

.compact-provider-head {
  align-items: end;
}

.compact-provider-head > div:first-child {
  max-width: 100%;
  min-width: 0;
}

.compact-provider-head p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.provider-profile-preview-panel {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 2vw, 22px);
}

.provider-job-context-select {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(135deg, #f9f8ff, #ffffff);
  box-shadow: 0 12px 28px rgba(31, 42, 99, 0.07);
}

.provider-job-context-select > span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.provider-job-context-select select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--navy);
  background: var(--surface);
  font: inherit;
  font-weight: 750;
}

.provider-matching-empty {
  width: min(100%, 760px);
  min-height: 320px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 58px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 91, 255, 0.13), transparent 17rem),
    linear-gradient(145deg, #ffffff, #f7f5ff);
}

.provider-matching-empty-icon {
  width: 68px;
  height: 68px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(99, 91, 255, 0.22);
  border-radius: 18px;
  color: #5d4ff3;
  background: #f0edff;
  box-shadow: 0 16px 32px rgba(99, 91, 255, 0.14);
}

.provider-matching-empty-icon [data-icon] {
  width: 30px;
  height: 30px;
}

.provider-matching-empty h1 {
  max-width: 560px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 5vw, 2.65rem);
  line-height: 1.06;
}

.provider-matching-empty p {
  max-width: 560px;
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.65;
}

.provider-no-match-state {
  justify-items: center;
  text-align: center;
}

.provider-no-match-state .inline-actions {
  justify-content: center;
  margin-top: 6px;
}

:root[data-theme="dark"] .provider-job-context-select,
:root[data-theme="dark"] .provider-matching-empty {
  border-color: rgba(185, 133, 245, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(109, 74, 255, 0.2), transparent 17rem),
    linear-gradient(145deg, #171a21, #11141a);
}

:root[data-theme="dark"] .provider-matching-empty-icon {
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, 0.3);
  background: rgba(109, 74, 255, 0.2);
}

@media (max-width: 640px) {
  .provider-matching-empty {
    min-height: 280px;
    padding: 28px 18px;
  }

  .provider-matching-empty .primary-btn,
  .provider-no-match-state .secondary-btn,
  .provider-no-match-state .ghost-btn {
    width: 100%;
  }

  .provider-no-match-state .inline-actions {
    width: 100%;
  }
}

.provider-profile-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 3in), 3in));
  gap: 16px;
  justify-content: start;
}

.provider-profile-preview-card {
  position: relative;
  width: min(3in, 100%);
  aspect-ratio: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  overflow: visible;
  padding: 0 14px 14px;
  border: 1px solid rgba(99, 91, 255, 0.22);
  border-radius: 20px;
  color: #11162f;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 91, 255, 0.12), transparent 12rem),
    linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: 0 18px 42px rgba(31, 42, 99, 0.1);
  text-align: center;
  cursor: default;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.provider-profile-preview-card:hover,
.provider-profile-preview-card:focus-within {
  z-index: 20;
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.46);
  box-shadow: 0 26px 58px rgba(31, 42, 99, 0.17);
}

.provider-profile-preview-ribbon {
  width: calc(100% + 28px);
  min-height: 31px;
  display: grid;
  place-items: center;
  color: #24325c;
  background: linear-gradient(135deg, #f4f7ff, #f1efff);
  border-radius: 19px 19px 0 0;
  font-size: 0.76rem;
  font-weight: 950;
}

.provider-profile-preview-photo {
  width: 66px;
  height: 66px;
  display: inline-grid;
  place-items: center;
  margin-top: 7px;
  overflow: hidden;
  border: 3px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #635bff, #32c7a4);
  box-shadow: 0 12px 24px rgba(31, 42, 99, 0.17);
}

.provider-profile-preview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-profile-preview-photo strong {
  font-size: 1.1rem;
  font-weight: 950;
}

.provider-profile-preview-name {
  max-width: 100%;
  min-height: 1.2em;
  overflow: hidden;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-profile-preview-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #172036;
  font-size: 0.78rem;
  font-weight: 850;
}

.provider-profile-preview-score [data-icon] {
  width: 14px;
  height: 14px;
  color: #007663;
}

.provider-profile-preview-score [data-lucide="star"],
.seeker-provider-tile [data-lucide="star"] {
  color: #f5a400;
  fill: rgba(245, 164, 0, 0.16);
}

.provider-profile-preview-divider {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: #24325c;
  font-size: 0.72rem;
  font-weight: 950;
}

.provider-profile-preview-divider em {
  height: 1px;
  background: #d8def5;
}

.provider-profile-preview-skill {
  max-width: 100%;
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid #00816d;
  border-radius: 9px;
  color: #007663;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-profile-preview-action {
  min-height: 28px;
  padding: 0;
  border: 0;
  margin-top: auto;
  color: #4f46ff;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
}

.provider-profile-preview-action:hover,
.provider-profile-preview-action:focus-visible {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.provider-card-view-profile-btn {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  flex: 1 0 100%;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  color: #172036;
  background: #f8fafc;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.provider-card-view-profile-btn svg {
  width: 18px;
  height: 18px;
}

.provider-card-view-profile-btn:hover,
.provider-card-view-profile-btn:focus-visible {
  border-color: #7c3aed;
  background: #f3f0ff;
  box-shadow: 0 11px 25px rgba(79, 70, 229, 0.16);
  transform: translateY(-1px);
}

.provider-card-view-profile-btn:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.24);
  outline-offset: 2px;
}

:root[data-theme="dark"] .provider-profile-preview-score {
  color: #d8dee9;
}

:root[data-theme="dark"] .provider-profile-preview-score [data-icon] {
  color: #5eead4;
}

:root[data-theme="dark"] .provider-profile-preview-score [data-lucide="star"] {
  color: #fbbf24;
}

:root[data-theme="dark"] .provider-profile-preview-divider {
  color: #cbd5e1;
}

:root[data-theme="dark"] .provider-profile-preview-divider em {
  background: rgba(226, 232, 240, 0.48);
}

:root[data-theme="dark"] .provider-profile-preview-action {
  color: #a5b4fc;
}

:root[data-theme="dark"] .provider-profile-preview-action:hover,
:root[data-theme="dark"] .provider-profile-preview-action:focus-visible {
  color: #c7d2fe;
}

:root[data-theme="dark"] .provider-card-view-profile-btn {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.3);
  background: #1a202a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .provider-card-view-profile-btn:hover,
:root[data-theme="dark"] .provider-card-view-profile-btn:focus-visible {
  color: #ffffff;
  border-color: rgba(196, 181, 253, 0.7);
  background: #242038;
  box-shadow: 0 12px 28px rgba(76, 29, 149, 0.28);
}

.provider-category-disclosure {
  position: relative;
  z-index: 3;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.provider-category-disclosure:hover,
.provider-category-disclosure:focus-within,
.provider-category-disclosure.is-expanded {
  z-index: 40;
}

.provider-category-trigger {
  min-width: 0;
  max-width: 100%;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.provider-category-trigger.is-static {
  cursor: default;
}

.provider-category-pill,
.provider-category-more {
  min-width: 0;
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
}

.provider-category-pill {
  border: 1px solid #0f9f8f;
  color: #047857;
  background: #ecfdf5;
}

.provider-category-trigger .provider-category-pill.is-primary {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-category-more {
  flex: 0 0 auto;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  background: #eff6ff;
  white-space: nowrap;
}

.provider-category-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 50;
  width: min(270px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid #d8c4ff;
  border-radius: 14px;
  color: #111827;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 48px rgba(31, 42, 99, 0.2);
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px) scale(0.98);
  transform-origin: top center;
  transition:
    transform 200ms ease,
    visibility 0s linear 200ms;
}

.provider-category-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 1px solid #d8c4ff;
  border-left: 1px solid #d8c4ff;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.provider-category-popover > strong {
  position: relative;
  display: block;
  margin-bottom: 9px;
  color: #24325c;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
}

.provider-category-pills {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.provider-category-pills-static {
  justify-content: flex-start;
  margin-top: 10px;
}

.provider-category-disclosure:hover .provider-category-popover,
.provider-category-trigger:focus-visible + .provider-category-popover,
.provider-category-disclosure.is-expanded .provider-category-popover {
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition-delay: 0s;
}

.provider-profile-preview-categories,
.seeker-provider-tile-categories,
.provider-mini-card-categories {
  width: 100%;
}

.seeker-provider-tile-categories,
.provider-mini-card-categories {
  justify-self: start;
  justify-content: flex-start;
}

.seeker-provider-tile-categories .provider-category-trigger,
.provider-mini-card-categories .provider-category-trigger {
  justify-content: flex-start;
}

.seeker-provider-tile-categories .provider-category-popover {
  left: 0;
  right: auto;
  width: min(290px, 100%);
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
}

.seeker-provider-tile-categories .provider-category-popover::before {
  left: 28px;
}

.seeker-provider-tile-categories:hover .provider-category-popover,
.seeker-provider-tile-categories .provider-category-trigger:focus-visible + .provider-category-popover,
.seeker-provider-tile-categories.is-expanded .provider-category-popover {
  transform: translateY(0) scale(1);
}

/* Keep the Welcome-card disclosure inside its own card instead of centering
   it against the viewport-oriented default popover geometry. */
.uc-featured-provider-categories .provider-category-popover {
  top: auto;
  right: 0;
  bottom: calc(100% + 8px);
  left: 0;
  width: auto;
  max-height: 150px;
  overflow-y: auto;
  transform: translateY(6px) scale(0.98);
  transform-origin: bottom center;
}

.uc-featured-provider-categories:hover .provider-category-popover,
.uc-featured-provider-categories .provider-category-trigger:focus-visible + .provider-category-popover,
.uc-featured-provider-categories.is-expanded .provider-category-popover {
  transform: translateY(0) scale(1);
}

.provider-mini-card {
  position: relative;
}

.seeker-provider-matches-panel {
  margin-top: 18px;
}

.seeker-provider-matches-panel .section-title {
  align-items: flex-start;
  flex-wrap: wrap;
}

.seeker-provider-matches-panel .section-title > div {
  flex: 1 1 420px;
  max-width: 100%;
}

.seeker-provider-matches-panel .section-title h2 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 3.25vw, 2.65rem);
  line-height: 1.06;
  overflow-wrap: normal;
  text-wrap: balance;
}

.seeker-provider-matches-panel .section-title > .pill {
  flex: 0 0 auto;
  margin-top: 4px;
}

.seeker-provider-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
  align-items: stretch;
}

.seeker-provider-matches-panel .seeker-provider-tile {
  width: 100%;
  min-height: 360px;
  aspect-ratio: auto;
  grid-template-rows: auto auto auto auto minmax(2.9em, 1fr) auto;
  justify-items: stretch;
  align-content: start;
  gap: 12px;
  padding: 18px;
  text-align: left;
  cursor: default;
}

.seeker-provider-matches-panel .seeker-provider-tile-head {
  justify-content: flex-start;
}

.seeker-provider-matches-panel .seeker-provider-tile-media {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  padding: 0;
  border: 3px solid #ffffff;
  cursor: pointer;
}

.seeker-provider-matches-panel .seeker-provider-tile-title strong {
  font-size: 1.08rem;
}

.seeker-provider-matches-panel .seeker-provider-tile-meta,
.seeker-provider-matches-panel .seeker-provider-tile-location,
.seeker-provider-matches-panel .seeker-provider-tile-bio {
  justify-self: stretch;
}

.seeker-provider-matches-panel .seeker-provider-tile-categories {
  justify-self: stretch;
}

.seeker-provider-matches-panel .seeker-provider-tile-actions {
  grid-template-columns: 1fr;
  width: 100%;
}

.seeker-provider-matches-panel .seeker-provider-tile-actions > * {
  grid-column: 1;
}

@media (max-width: 760px) {
  .seeker-provider-matches-panel .section-title > div {
    flex-basis: 100%;
  }

  .seeker-provider-matches-panel .section-title h2 {
    max-width: none;
    font-size: clamp(1.7rem, 9vw, 2.25rem);
  }

  .seeker-provider-matches-panel .section-title > .pill {
    margin-top: 0;
  }

  .seeker-provider-matches-panel .seeker-provider-tile {
    min-height: 0;
  }
}

.seeker-provider-tile {
  position: relative;
  width: min(3in, 100%);
  aspect-ratio: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(99, 91, 255, 0.22);
  border-radius: 18px;
  color: #16213f;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 91, 255, 0.11), transparent 10rem),
    #ffffff;
  box-shadow: 0 16px 36px rgba(31, 42, 99, 0.09);
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.seeker-provider-tile:hover,
.seeker-provider-tile:focus-within {
  z-index: 20;
  transform: translateY(-3px);
  border-color: rgba(99, 91, 255, 0.5);
  box-shadow: 0 22px 48px rgba(31, 42, 99, 0.15);
}

.provider-profile-preview-card:has(.provider-category-disclosure.is-expanded),
.seeker-provider-tile:has(.provider-category-disclosure.is-expanded),
.provider-mini-card:has(.provider-category-disclosure.is-expanded),
.provider-profile-preview-card:has(.provider-category-trigger:focus-visible),
.seeker-provider-tile:has(.provider-category-trigger:focus-visible),
.provider-mini-card:has(.provider-category-trigger:focus-visible) {
  z-index: 35;
  transform: none;
}

.seeker-provider-tile-media {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #635bff, #31c9a4);
  box-shadow: 0 10px 22px rgba(31, 42, 99, 0.16);
}

.seeker-provider-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seeker-provider-tile > strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seeker-provider-tile small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #26345d;
  font-size: 0.76rem;
  font-weight: 880;
}

.seeker-provider-tile small [data-icon] {
  width: 14px;
  height: 14px;
}

.seeker-provider-tile > span:not(.seeker-provider-tile-media) {
  max-width: 100%;
  min-height: 28px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid #00816d;
  border-radius: 9px;
  color: #007663;
  font-size: 0.76rem;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seeker-provider-tile em {
  color: #4f46ff;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
}

.seeker-job-detail-stack {
  display: grid;
  gap: 18px;
}

.seeker-interested-provider-panel .section-title {
  align-items: flex-start;
  gap: 14px;
}

.seeker-interested-provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin-top: 16px;
}

.seeker-interested-provider-grid .seeker-provider-tile {
  width: 100%;
  min-height: 292px;
  aspect-ratio: auto;
  justify-items: stretch;
  align-content: stretch;
  gap: 12px;
  padding: 16px;
  text-align: left;
  cursor: default;
}

.seeker-provider-tile-head,
.seeker-provider-tile-meta,
.seeker-provider-tile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seeker-provider-tile-head {
  justify-content: space-between;
}

.seeker-provider-tile-title {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 7px;
  justify-items: start;
}

.seeker-provider-tile-title strong {
  max-width: 100%;
  overflow: hidden;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seeker-interested-provider-grid .seeker-provider-tile-media {
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.seeker-provider-tile-meta {
  flex-wrap: wrap;
  color: #26345d;
  font-size: 0.78rem;
  font-weight: 850;
}

.seeker-provider-tile-meta span,
.seeker-provider-tile-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.seeker-provider-tile-meta svg,
.seeker-provider-tile-location svg {
  width: 15px;
  height: 15px;
}

.seeker-provider-tile-skill {
  justify-self: start;
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #00816d;
  border-radius: 9px;
  color: #007663;
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seeker-provider-tile-location,
.seeker-provider-tile-bio {
  margin: 0;
  color: #63708a;
  font-size: 0.82rem;
  line-height: 1.45;
}

.seeker-provider-tile-bio {
  display: -webkit-box;
  min-height: 2.9em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.seeker-provider-tile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: end;
  gap: 10px;
  margin-top: auto;
}

.seeker-provider-tile-actions .primary-btn,
.seeker-provider-tile-actions .secondary-btn,
.seeker-provider-tile-actions .whatsapp-contact-btn {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.84rem;
  justify-content: center;
  text-align: center;
}

.seeker-provider-tile-actions .completed-review-action,
.seeker-provider-tile-actions .whatsapp-contact-btn:nth-child(2):last-child {
  grid-column: auto;
}

.uc-provider-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px;
}

.uc-provider-card strong,
.uc-provider-card button {
  grid-column: 1 / -1;
}

.uc-provider-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 15%, rgba(99, 91, 255, 0.16), transparent 18rem),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

/* These Welcome cards keep pale surfaces in dark mode, so they need fixed dark copy. */
:root[data-theme="dark"] .welcome-page .uc-banner:not(.dark) > span {
  color: #475569;
}

:root[data-theme="dark"] .welcome-page .uc-banner:not(.dark) h3,
:root[data-theme="dark"] .welcome-page .uc-provider-cta h2 {
  color: #111827;
}

:root[data-theme="dark"] .welcome-page .uc-banner:not(.dark) p,
:root[data-theme="dark"] .welcome-page .uc-provider-cta p {
  color: #475569;
}

:root[data-theme="dark"] .welcome-page .uc-provider-cta .eyebrow.light {
  color: #a62d25;
}

.uc-city-marquee {
  --city-marquee-gap: clamp(40px, 5vw, 88px);
  --city-marquee-duration: 34s;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
}

.uc-city-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: uc-city-marquee-scroll var(--city-marquee-duration) linear infinite;
}

.uc-city-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--city-marquee-gap);
  padding-right: var(--city-marquee-gap);
}

.uc-city-name {
  appearance: none;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  color: #253044;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease;
}

.uc-city-name:hover {
  color: var(--primary);
}

.uc-city-name:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 6px;
}

@keyframes uc-city-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

:root[data-theme="dark"] .uc-city-name {
  color: #c9d0dc;
}

:root[data-theme="dark"] .uc-city-name:hover {
  color: #ff7868;
}

@media (prefers-reduced-motion: reduce) {
  .uc-city-marquee {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .uc-city-track {
    animation: none;
  }

  .uc-city-group[aria-hidden="true"] {
    display: none;
  }
}

.welcome-footer {
  margin: 34px 0 0;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px 28px 0 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 0%, rgba(50, 199, 164, 0.24), transparent 22rem),
    radial-gradient(circle at 86% 12%, rgba(118, 129, 255, 0.28), transparent 20rem),
    linear-gradient(135deg, #091827 0%, #10263f 58%, #121936 100%);
  box-shadow: 0 -18px 60px rgba(15, 30, 52, 0.16);
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand .brand-mark {
  width: 58px;
  height: 58px;
  background: #ffffff;
  color: #0d2138;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.footer-brand h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
}

.footer-brand p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.65fr 0.65fr 1.2fr 1.5fr;
  gap: 24px;
  padding: 28px 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  text-decoration: none;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-cities > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-city {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  cursor: pointer;
}

.footer-city:hover {
  color: #071827;
  background: #ffffff;
}

.footer-socials,
.app-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-socials :is(a, button) {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.footer-socials :is(a, button):hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer-download-title {
  margin-top: 14px !important;
}

.app-downloads {
  align-items: center;
  gap: 8px;
}

.app-downloads .store-badge-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  transition: transform 160ms ease, filter 160ms ease;
}

.app-downloads .store-badge-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.app-downloads .store-badge-link:focus-visible {
  outline: 3px solid rgba(255, 116, 94, 0.68);
  outline-offset: 4px;
  border-radius: 9px;
}

.store-badge-coming-soon {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.store-badge-image {
  display: block;
  max-width: none;
  object-fit: contain;
}

.store-badge-image-apple {
  width: 144px;
  height: auto;
}

.store-badge-image-google {
  width: 174px;
  height: auto;
}

@media (min-width: 761px) and (max-width: 820px) {
  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 14px;
  }

  .site-header .top-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .site-header .header-actions {
    min-width: 0;
    justify-content: flex-end;
  }
}

@media (max-width: 380px) {
  body[data-console="admin"] .site-header .header-actions > .secondary-btn {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-bottom a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.36);
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.about-page {
  padding: 34px 0 78px;
  background:
    radial-gradient(circle at 12% 0%, rgba(99, 91, 255, 0.13), transparent 18rem),
    radial-gradient(circle at 100% 20%, rgba(15, 140, 111, 0.1), transparent 18rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 120px);
}

.about-hero-copy {
  display: grid;
  gap: 18px;
}

.about-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.about-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-image-stack {
  position: relative;
  min-height: 580px;
}

.about-image-main {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.18);
}

.about-floating-card {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: min(340px, calc(100% - 40px));
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 45px rgba(17, 17, 17, 0.18);
  backdrop-filter: blur(16px);
}

.about-floating-card span {
  color: #5b52ff;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.about-floating-card strong {
  color: var(--navy);
  line-height: 1.35;
}

.about-section {
  padding: clamp(34px, 5vw, 72px) 0;
}

.about-value-grid,
.innovation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-value-card,
.innovation-card {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 22px;
  border: 1px solid #e2e8ff;
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 0%, rgba(99, 91, 255, 0.13), transparent 11rem),
    #ffffff;
  box-shadow: 0 18px 45px rgba(31, 42, 99, 0.08);
}

.about-value-card [data-icon],
.innovation-card [data-icon] {
  width: 34px;
  height: 34px;
  color: #5b52ff;
}

.about-value-card h3,
.innovation-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.18rem;
}

.about-value-card p,
.innovation-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-split,
.founder-note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

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

.about-photo-grid img,
.founder-note img {
  width: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.12);
}

.about-photo-grid img:nth-child(1),
.about-photo-grid img:nth-child(4) {
  transform: translateY(20px);
}

.about-split h2,
.economy-band h2,
.founder-note h2 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.about-split p,
.economy-band p,
.founder-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.about-check-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.about-check-list span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #e5eaff;
  border-radius: 14px;
  color: #4f5b73;
  background: #ffffff;
  font-weight: 800;
  line-height: 1.45;
}

.about-check-list [data-icon] {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--green);
}

.economy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 5vw, 46px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 10%, rgba(15, 140, 111, 0.2), transparent 16rem),
    linear-gradient(135deg, #111827, #172033);
  box-shadow: 0 30px 70px rgba(17, 17, 17, 0.18);
}

.economy-band .eyebrow,
.economy-band h2,
.economy-band p {
  color: #ffffff;
}

.economy-band p {
  color: rgba(255, 255, 255, 0.82);
}

.economy-stats {
  display: grid;
  gap: 10px;
}

.economy-stats article {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
}

.economy-stats strong {
  color: #ffffff;
  font-size: 1rem;
}

.economy-stats span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

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

.innovation-card {
  min-height: 250px;
}

.founder-note {
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid #e2e8ff;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 62px rgba(31, 42, 99, 0.1);
}

.founder-note img {
  min-height: 360px;
}

.legal-page {
  padding: 42px 0 72px;
  background:
    radial-gradient(circle at 12% 0%, rgba(99, 91, 255, 0.12), transparent 16rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 46%);
}

.legal-hero {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin-bottom: 22px;
}

.legal-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.96;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.legal-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 880px;
  padding: 15px;
  border: 1px solid #dfe6ff;
  border-radius: 16px;
  color: #43506b;
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(31, 42, 99, 0.08);
  line-height: 1.55;
}

.legal-notice [data-icon] {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #5b52ff;
}

.legal-document {
  display: grid;
  gap: 14px;
  max-width: 980px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid #e2e7ff;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 65px rgba(31, 42, 99, 0.1);
}

.legal-section {
  padding: 16px;
  border: 1px solid #eef1ff;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.96));
}

.legal-section h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.legal-section p,
.legal-document > p {
  margin: 0;
  color: #4f5b73;
  line-height: 1.7;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-business-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #dfe6ff;
  border-radius: 18px;
  color: #43506b;
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(31, 42, 99, 0.08);
}

.legal-business-card strong {
  color: var(--navy);
}

.legal-business-card a {
  color: #4d46d8;
  font-weight: 850;
}

.post-job-shell {
  display: grid;
  gap: 18px;
}

.post-job-pro-shell {
  gap: 22px;
}

.post-job-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid #dfe6ff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 12%, rgba(99, 91, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 88% 14%, rgba(33, 150, 243, 0.14), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f5f8ff 46%, #fbf7ff);
  box-shadow: 0 26px 70px rgba(31, 42, 99, 0.12);
}

.post-job-hero h1 {
  max-width: 820px;
  margin: 10px 0 10px;
  color: #111827;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.post-job-hero p {
  max-width: 780px;
  margin: 0;
  color: #5d6785;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.65;
}

.post-job-hero-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 320px;
  padding: 14px 16px;
  border: 1px solid rgba(99, 91, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(31, 42, 99, 0.1);
  backdrop-filter: blur(14px);
}

.post-job-hero-card strong {
  color: #17223f;
  font-size: 0.86rem;
}

.post-job-hero-card span {
  color: #5d6785;
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.post-job-hero-card i {
  width: 15px;
  height: 15px;
  color: #635bff;
}

.post-job-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 20px;
  align-items: start;
}

.post-job-banner {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #dfe4ff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 15%, rgba(123, 156, 255, 0.26), transparent 16rem),
    radial-gradient(circle at 82% 20%, rgba(180, 148, 255, 0.2), transparent 14rem),
    linear-gradient(180deg, #f5f8ff 0%, #f9f6ff 100%);
  box-shadow: 0 14px 34px rgba(72, 84, 160, 0.1);
}

.post-job-banner h1 {
  margin: 10px 0 8px;
  color: #1d244f;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.post-job-banner p {
  margin: 0;
  max-width: 760px;
  color: #53608b;
}

.post-job-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-job-templates .mini-btn {
  border-radius: 999px;
  color: #39458f;
  background: #ffffff;
  border: 1px solid #d8defa;
  box-shadow: 0 8px 18px rgba(85, 104, 194, 0.12);
}

.post-job-location-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -4px;
}

.post-job-location-tools.full,
.post-job-location-field.full {
  grid-column: 1 / -1;
}

.post-job-location-tools .mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #334194;
  border: 1px solid #d9dffd;
  box-shadow: 0 8px 18px rgba(85, 104, 194, 0.1);
}

.post-job-location-hint {
  display: inline-flex;
  align-items: center;
  color: #5f6aa2;
  font-size: 0.86rem;
  font-weight: 700;
}

.post-job-location-hint.is-warn {
  color: #b3572f;
}

.post-job-location-hint.is-ok {
  color: #1f7c66;
}

.post-job-location-field input {
  min-height: 58px;
  border-radius: 999px;
  border: 1px solid #2a9b8a;
  padding-inline: 20px;
  font-size: 1.1rem;
  color: #17223f;
  box-shadow: 0 8px 20px rgba(49, 88, 180, 0.1);
}

.post-job-location-field input:focus {
  border-color: #2a9b8a;
  box-shadow:
    0 0 0 4px rgba(42, 155, 138, 0.16),
    0 10px 24px rgba(49, 88, 180, 0.14);
}

.post-job-location-field,
.uc-location-field,
.signup-location-field {
  position: relative;
  overflow: visible;
}

.post-job-form-section:has(.post-job-location-field) {
  position: relative;
  overflow: visible;
  z-index: 20;
}

.address-suggestion-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 100000;
  display: grid;
  overflow: hidden;
  border: 1px solid #cdd7ff;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 22px 42px rgba(35, 49, 120, 0.18);
}

.address-suggestion-list[hidden] {
  display: none;
}

.address-suggestion-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #edf1ff;
  background: #ffffff;
  color: #18213f;
  text-align: left;
  cursor: pointer;
}

.address-suggestion-item:last-child {
  border-bottom: 0;
}

.address-suggestion-item:hover,
.address-suggestion-item:focus {
  background: #f3f6ff;
  outline: none;
}

.address-suggestion-item i {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: #6273ff;
}

.address-suggestion-item span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.address-suggestion-item strong,
.address-suggestion-item small {
  overflow: hidden;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-suggestion-item strong {
  font-size: 0.96rem;
  font-weight: 900;
}

.address-suggestion-item small {
  color: #667085;
  font-size: 0.86rem;
  font-weight: 700;
}

.pac-container {
  display: none !important;
  z-index: 99999 !important;
  min-width: min(620px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px);
  border-radius: 16px;
  border: 1px solid #dbe2ff;
  box-shadow: 0 22px 40px rgba(38, 51, 118, 0.2);
  margin-top: 8px;
  font-family: inherit;
  overflow: hidden;
}

.pac-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  min-height: auto;
  padding: 14px 18px;
  color: #18213f;
  font-size: 0.98rem;
  line-height: 1.35;
  white-space: normal;
}

.pac-icon {
  margin: 3px 0 0;
}

.pac-item-query,
.pac-matched {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
}

.pac-item span:not(.pac-icon) {
  white-space: normal;
}

.pac-item-query {
  display: inline;
  margin-right: 4px;
}

.pac-item > span:last-child {
  color: #18213f;
}

.pac-item:hover,
.pac-item-selected {
  background: #f2f6ff;
}

.post-job-form-panel {
  border-color: #dde3ff;
  background:
    linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
  box-shadow: 0 20px 45px rgba(57, 69, 143, 0.08);
}

.post-job-pro-form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: 28px;
}

.post-job-form-section {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid #e4e9ff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.06), transparent 14rem),
    #ffffff;
}

.post-job-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.post-job-section-head > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #635bff, #2196f3);
  box-shadow: 0 12px 24px rgba(99, 91, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 1000;
}

.post-job-section-head h2 {
  margin: 0;
  color: #17223f;
  font-size: 1.18rem;
}

.post-job-section-head p {
  margin: 5px 0 0;
  color: #68728d;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.45;
}

.post-job-form-panel .field label,
.post-job-form-panel .field span {
  color: #223068;
}

.post-job-form-panel .field > span {
  color: #17223f;
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.post-job-form-panel .field input,
.post-job-form-panel .field select,
.post-job-form-panel .field textarea {
  border-color: #d9e0ff;
  background: #ffffff;
  border-radius: 16px;
  min-height: 50px;
}

.post-job-form-panel .field input:focus,
.post-job-form-panel .field select:focus,
.post-job-form-panel .field textarea:focus {
  border-color: #6f7eff;
  box-shadow: 0 0 0 4px rgba(111, 126, 255, 0.16);
}

.post-job-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.post-job-helper {
  color: #5d6394;
  font-size: 0.88rem;
  font-weight: 700;
}

.post-job-form-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--error-border);
  border-radius: 18px;
  color: var(--error-text);
  background: var(--error-bg);
}

.post-job-form-alert[hidden] {
  display: none;
}

.post-job-form-alert[data-tone="info"] {
  color: var(--info-text);
  border-color: var(--info-border);
  background: var(--info-bg);
}

.post-job-form-alert[data-tone="success"] {
  color: var(--success-text);
  border-color: var(--success-border);
  background: var(--success-bg);
}

.post-job-form-alert i {
  width: 22px;
  height: 22px;
}

.post-job-form-alert strong,
.post-job-form-alert small {
  display: block;
}

.post-job-form-alert strong {
  font-weight: 1000;
}

.post-job-form-alert small {
  margin-top: 4px;
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.45;
}

.post-job-pro-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.post-job-pro-shell .post-job-hero {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(31, 42, 99, 0.08);
}

.post-job-pro-shell .post-job-hero h1 {
  max-width: 620px;
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
}

.post-job-pro-shell .post-job-hero p {
  max-width: 680px;
  font-size: 0.96rem;
}

.post-job-pro-shell .post-job-workspace {
  display: block;
}

.post-job-pro-shell .post-job-pro-form {
  gap: 0;
  padding: 0;
  overflow: visible;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(31, 42, 99, 0.09);
}

.post-job-pro-shell .post-job-form-section {
  gap: 14px;
  padding: 22px 24px;
  border: 0;
  border-bottom: 1px solid #edf1ff;
  border-radius: 0;
  background: #ffffff;
}

.post-job-pro-shell .post-job-form-section:last-of-type {
  border-bottom: 0;
}

.post-job-pro-shell .post-job-section-head {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.post-job-pro-shell .post-job-section-head > span {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  box-shadow: none;
}

.post-job-pro-shell .post-job-section-head h2 {
  font-size: 1.08rem;
}

.post-job-pro-shell .post-job-section-head p {
  max-width: 620px;
  font-size: 0.86rem;
}

.post-job-pro-shell .post-job-form-section .form-grid {
  align-items: start;
}

.post-job-pro-shell .post-job-main-fields {
  grid-template-columns: 1fr;
}

.post-job-pro-shell .field {
  align-content: start;
}

.post-job-pro-shell .post-job-form-panel .field input,
.post-job-pro-shell .post-job-form-panel .field select {
  min-height: 46px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.post-job-pro-shell .post-job-form-panel .field textarea {
  min-height: 76px;
  border-radius: 12px;
}

.post-job-pro-shell .post-job-main-fields textarea[name="description"] {
  min-height: 72px;
  overflow: hidden;
  resize: vertical;
}

.post-job-photo-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.post-job-photo-buttons label {
  position: relative;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid #cfd8ff;
  border-radius: 999px;
  color: #27326d;
  background: linear-gradient(135deg, #ffffff, #f2f5ff);
  box-shadow: 0 12px 26px rgba(31, 42, 99, 0.08);
  font-weight: 950;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.post-job-photo-buttons label:hover {
  border-color: rgba(99, 91, 255, 0.52);
  box-shadow: 0 16px 32px rgba(76, 91, 180, 0.14);
  transform: translateY(-1px);
}

.post-job-photo-buttons [data-icon] {
  width: 18px;
  height: 18px;
  color: #635bff;
}

.post-job-photo-buttons input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.post-job-photo-previews {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d9e0f2;
  border-radius: 18px;
  background: #f8faff;
}

.post-job-photo-previews[hidden] {
  display: none;
}

.post-job-photo-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.post-job-photo-preview-head strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.post-job-photo-preview-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.post-job-photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 144px);
  gap: 12px;
}

.post-job-photo-preview-tile {
  width: 144px;
  height: 144px;
  overflow: hidden;
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 16px;
  background: #e9edf8;
  box-shadow: 0 10px 24px rgba(31, 42, 99, 0.12);
}

.post-job-photo-preview-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-job-pro-shell .post-job-location-field input {
  min-height: 50px;
  border-color: #d9e0ff;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: none;
}

.post-job-pro-shell .category-select-shell {
  gap: 7px;
}

.post-job-pro-shell .category-select-shell .category-search-control input,
.post-job-pro-shell .category-select-shell select {
  min-height: 42px;
  border-radius: 12px;
  box-shadow: none;
}

.post-job-pro-shell .category-search-count {
  margin-top: 0;
  font-size: 0.76rem;
}

.post-job-pro-shell .post-job-actions {
  margin: 0;
  padding: 20px 24px 24px;
  border-top: 1px solid #edf1ff;
  background: #fbfcff;
}

.nearby-category-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e1e8ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #fbf9ff);
}

.nearby-category-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.nearby-category-head h2 {
  margin: 8px 0 6px;
  color: #17223f;
  font-size: 1.12rem;
}

.nearby-category-head p {
  max-width: 620px;
  margin: 0;
  color: #64708f;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.45;
}

.nearby-radius-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid #dfe6ff;
  border-radius: 999px;
  padding: 0 12px;
  color: #4f46e5;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}

.nearby-radius-pill i {
  width: 16px;
  height: 16px;
}

.nearby-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.nearby-category-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid #dfe6ff;
  border-radius: 16px;
  text-align: left;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 42, 99, 0.06);
}

.nearby-category-card:hover {
  border-color: rgba(99, 91, 255, 0.5);
  box-shadow: 0 14px 30px rgba(31, 42, 99, 0.1);
}

.nearby-category-card i {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  color: #4f46e5;
}

.nearby-category-card span {
  min-width: 0;
  color: #17223f;
  font-size: 0.92rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.nearby-category-card strong {
  color: #6b7590;
  font-size: 0.78rem;
  font-weight: 850;
}

.nearby-category-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 13px 14px;
  border: 1px dashed #cfd8ff;
  border-radius: 16px;
  color: #64708f;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 820;
}

.nearby-category-empty i {
  width: 20px;
  height: 20px;
  color: #4f46e5;
}

.provider-setup-dashboard {
  display: grid;
  gap: 22px;
}

.provider-setup-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) auto;
  align-items: center;
  gap: 16px;
}

.provider-setup-topbar h1 {
  margin: 0 0 6px;
  color: #1b2245;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.provider-setup-topbar p {
  margin: 0;
  color: #76809b;
  font-weight: 700;
}

.provider-setup-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #edf0ff;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(31, 42, 99, 0.06);
}

.provider-setup-search [data-icon] {
  color: #99a2bd;
}

.provider-setup-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #1e2747;
  font-weight: 800;
}

.provider-setup-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #6d5cff, #1c6bff);
  box-shadow: 0 14px 30px rgba(82, 78, 255, 0.26);
  font-weight: 900;
}

.provider-setup-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.provider-profile-card {
  width: min(100%, 940px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #e5eaff;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(31, 42, 99, 0.09);
}

.provider-profile-cover {
  min-height: 118px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 224, 134, 0.6), transparent 18rem),
    linear-gradient(90deg, #cbe5ff 0%, #f3f0ff 52%, #fff7d6 100%);
}

.provider-profile-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: -42px;
  padding: 0 clamp(18px, 3vw, 30px) 24px;
}

.provider-photo-control {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
}

.provider-photo-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.provider-photo-control .avatar.large {
  width: 92px;
  height: 92px;
  border: 5px solid #ffffff;
  box-shadow: 0 16px 34px rgba(31, 42, 99, 0.16);
}

.provider-photo-control b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #dfe5ff;
  border-radius: 999px;
  color: #4b55ff;
  background: #ffffff;
  font-size: 0.78rem;
  box-shadow: 0 10px 22px rgba(31, 42, 99, 0.08);
}

.provider-profile-identity h2 {
  margin: 0 0 6px;
  color: #171d37;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.provider-profile-identity p {
  margin: 0;
  color: #78829e;
  font-weight: 700;
}

.provider-profile-form {
  display: grid;
  gap: 18px;
  padding: 0 clamp(18px, 3vw, 30px) clamp(20px, 3vw, 30px);
}

.provider-form-section,
.provider-upload-section {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #dce4ff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 0%, rgba(99, 91, 255, 0.12), transparent 16rem),
    radial-gradient(circle at 0% 100%, rgba(35, 102, 209, 0.08), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.provider-form-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(118, 102, 255, 0.1), transparent 14rem),
    #fbfcff;
}

.provider-form-section .section-title {
  display: block;
  margin-bottom: 2px;
}

.provider-form-section .section-title h2 {
  max-width: 720px;
  font-size: clamp(2.2rem, 5vw, 3.55rem);
  line-height: 0.98;
}

.provider-form-section .section-title p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #65708f;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.55;
}

.provider-profile-card .form-grid {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 0;
}

.provider-profile-card .field {
  gap: 9px;
}

.provider-profile-card .field > span {
  color: #19213f;
  font-size: 0.94rem;
  font-weight: 900;
}

.provider-profile-card .provider-about-field > label {
  color: #19213f;
  font-size: 0.94rem;
  font-weight: 900;
}

.provider-profile-card .field input,
.provider-profile-card .field select,
.provider-profile-card .field textarea {
  min-height: 56px;
  border-color: #dbe3ff;
  border-radius: 16px;
  padding: 13px 16px;
  color: #17213d;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(31, 42, 99, 0.04);
  font-weight: 760;
}

.provider-profile-card .field input:focus,
.provider-profile-card .field select:focus,
.provider-profile-card .field textarea:focus {
  border-color: #635bff;
  box-shadow:
    0 0 0 4px rgba(99, 91, 255, 0.12),
    0 14px 28px rgba(31, 42, 99, 0.08);
}

.provider-profile-card .field textarea {
  min-height: 142px;
  line-height: 1.55;
}

.provider-about-field {
  padding: 16px;
  border: 1px solid #dbe3ff;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
}

.provider-profile-card .provider-about-field textarea {
  min-height: 176px;
  resize: vertical;
}

.provider-about-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.provider-about-tools small {
  max-width: 570px;
  color: #6e7896;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.provider-about-generate {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border-color: rgba(99, 91, 255, 0.28);
  color: #4038d7;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.1), rgba(35, 146, 177, 0.1));
  box-shadow: none;
}

.provider-about-generate:hover,
.provider-about-generate:focus-visible {
  border-color: rgba(99, 91, 255, 0.55);
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.16), rgba(35, 146, 177, 0.16));
}

.provider-about-generate [data-icon] {
  width: 18px;
  height: 18px;
}

@media (max-width: 680px) {
  .provider-about-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .provider-about-generate {
    width: 100%;
  }
}

.provider-profile-card .category-select-shell {
  gap: 10px;
}

.provider-profile-card .category-select-shell .category-search-control input,
.provider-profile-card .category-select-shell select {
  min-height: 56px;
  border-radius: 16px;
}

.provider-profile-card .category-search-count {
  color: #5f55ff;
  font-weight: 950;
}

.provider-upload-section.full {
  grid-column: 1 / -1;
}

.provider-profile-actions {
  justify-content: flex-start;
}

.ios-date-picker {
  align-self: start;
}

.booking-date-picker {
  align-self: start;
}

.booking-date-source {
  display: none;
}

.booking-date-card {
  display: grid;
  gap: 9px;
  min-height: 2in;
  padding: 12px;
  border: 1px solid #dbe4ff;
  border-radius: 16px;
  background:
    radial-gradient(circle at 15% 0%, rgba(99, 91, 255, 0.16), transparent 14rem),
    linear-gradient(135deg, #f8fbff, #f2f5ff);
  box-shadow: 0 14px 30px rgba(57, 69, 143, 0.08);
}

.booking-date-row,
.booking-time-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.booking-date-card label {
  display: grid;
  gap: 7px;
}

.booking-date-card small {
  color: #66708f;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking-date-card select {
  min-height: 40px;
  border: 1px solid rgba(114, 137, 218, 0.38);
  border-radius: 12px;
  padding: 0 34px 0 12px;
  color: #f8fbff;
  background:
    linear-gradient(135deg, #25396f, #314a96);
  box-shadow: 0 14px 28px rgba(31, 49, 102, 0.18);
  font-size: 0.9rem;
  font-weight: 950;
}

.booking-date-card select:focus {
  border-color: #7d8cff;
  box-shadow:
    0 0 0 4px rgba(99, 91, 255, 0.18),
    0 14px 28px rgba(31, 49, 102, 0.18);
}

.booking-date-card option {
  color: #111827;
  background: #ffffff;
}

.booking-date-card [data-booking-date-summary] {
  color: #24325c;
  font-size: 0.94rem;
  font-weight: 950;
}

.ios-date-source {
  display: none;
}

.ios-date-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #d9e0ff;
  border-radius: 12px;
  color: #15203d;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 42, 99, 0.05);
  cursor: default;
}

.ios-date-display strong {
  font-size: 1rem;
  font-weight: 900;
}

.ios-date-display [data-icon] {
  color: #4f5fff;
}

.ios-calendar-card {
  display: grid;
  gap: 12px;
  max-width: 440px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #e2e8ff;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(31, 42, 99, 0.09);
}

.ios-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #151b31;
}

.ios-calendar-head strong {
  font-size: 1.2rem;
}

.ios-calendar-head span {
  color: #8c94aa;
  font-size: 0.8rem;
  font-weight: 900;
}

.ios-weekdays,
.ios-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}

.ios-weekdays b {
  color: #b1b6c3;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.ios-days {
  gap: 6px 2px;
}

.ios-days button,
.ios-days span {
  display: grid;
  place-items: center;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  color: #111827;
  background: transparent;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
}

.ios-days span {
  cursor: default;
}

.ios-days button.is-selected {
  color: #157cff;
  background: #dcecff;
}

.ios-days button:hover {
  background: #eef5ff;
}

.ios-time-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.ios-time-row strong {
  margin-right: auto;
  color: #111827;
  font-size: 1.1rem;
}

.ios-time-row span,
.ios-time-row input,
.ios-time-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: #111827;
  background: #f0f2f6;
  font-size: 1.05rem;
  font-weight: 900;
}

.ios-time-row input {
  width: 110px;
}

.ios-time-row button {
  background: #ffffff;
  box-shadow: 0 0 0 1px #e8ebf2;
  cursor: pointer;
}

.ios-time-row button.is-selected {
  color: #157cff;
  background: #e8f2ff;
  box-shadow: 0 0 0 1px #bfdcff;
}

.portfolio-console-hero {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(107, 92, 255, 0.34), transparent 19rem),
    radial-gradient(circle at 92% 12%, rgba(41, 136, 255, 0.26), transparent 18rem),
    linear-gradient(135deg, #ffffff 0%, #f5f7ff 48%, #eef8ff 100%);
  box-shadow: 0 28px 80px rgba(31, 42, 99, 0.12);
}

.portfolio-console-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -32% 48%;
  height: 220px;
  border-radius: 999px;
  background: rgba(99, 91, 255, 0.14);
  filter: blur(42px);
  pointer-events: none;
}

.portfolio-console-hero > * {
  position: relative;
  z-index: 1;
}

.portfolio-console-hero h1 {
  max-width: 780px;
  margin: 12px 0 10px;
  color: #11162f;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.portfolio-console-hero p {
  max-width: 760px;
  margin: 0;
  color: #53617f;
  font-size: 1.05rem;
  font-weight: 780;
  line-height: 1.55;
}

.portfolio-console-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.portfolio-console-stats .stat-card {
  min-height: 118px;
  border-color: #d8c4ff;
  background:
    linear-gradient(135deg, #f7f2ff 0%, #ffffff 55%, #f1e7ff 100%);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 32px rgba(109, 74, 255, 0.1);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.portfolio-console-stats .stat-card:hover {
  border-color: #b985f5;
  box-shadow: 0 18px 38px rgba(109, 74, 255, 0.14);
  transform: translateY(-2px);
}

.portfolio-console-stats .stat-card span {
  color: #5f6b7a;
  font-weight: 950;
}

.portfolio-console-stats .stat-card strong {
  color: #111827;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.portfolio-console-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.provider-project-studio {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 0%, rgba(99, 91, 255, 0.14), transparent 14rem),
    radial-gradient(circle at 0% 100%, rgba(15, 140, 111, 0.1), transparent 13rem),
    #ffffff;
}

.provider-project-studio,
.provider-portfolio-links-panel,
.provider-project-management,
.portfolio-growth-card {
  border-color: rgba(99, 91, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(31, 42, 99, 0.1);
}

.provider-project-studio.is-collapsed {
  box-shadow: 0 12px 28px rgba(31, 42, 99, 0.07);
}

.provider-project-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(99, 91, 255, 0.12), transparent 13rem),
    #ffffff;
}

.provider-project-summary-card h2 {
  margin: 8px 0 6px;
  color: var(--navy);
}

.provider-dashboard-jobs-card {
  margin-top: 16px;
}

.add-project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0;
  border-color: rgba(99, 91, 255, 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(99, 91, 255, 0.14), transparent 14rem),
    linear-gradient(135deg, #ffffff, #f5f8ff);
  box-shadow: 0 20px 52px rgba(31, 42, 99, 0.1);
}

.add-project-cta h2 {
  margin: 8px 0 6px;
  color: #11162f;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1;
}

.provider-project-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.provider-project-studio.is-standalone .provider-project-toggle {
  cursor: default;
}

.provider-project-toggle h2 {
  margin: 7px 0 4px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.provider-project-toggle p {
  margin: 0;
  color: #5a6684;
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.4;
}

.provider-project-toggle-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid #dfe4ff;
  border-radius: 999px;
  color: #4f46ff;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 42, 99, 0.08);
}

.provider-project-toggle-meta strong {
  font-size: 0.88rem;
  white-space: nowrap;
}

.provider-project-toggle-meta [data-icon] {
  width: 17px;
  height: 17px;
  transition: transform 160ms ease;
}

.provider-project-studio.is-open .provider-project-toggle-meta [data-icon] {
  transform: rotate(180deg);
}

.provider-project-body {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}

.compact-actions {
  justify-content: flex-end;
}

.provider-project-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e1e7ff;
  border-radius: 22px;
  background:
    radial-gradient(circle at 98% 0%, rgba(99, 91, 255, 0.08), transparent 13rem),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(31, 42, 99, 0.08);
}

.provider-project-form .form-grid,
.provider-portfolio-links-panel .form-grid,
.provider-project-studio .form-grid {
  grid-template-columns: 1fr;
}

.provider-project-form .field > span,
.provider-project-form .upload-box strong {
  color: #121833;
  font-size: 0.92rem;
  font-weight: 950;
}

.provider-project-form input,
.provider-project-form select,
.provider-project-form textarea {
  font-weight: 780;
}

.provider-portfolio-links-panel {
  margin-bottom: 18px;
}

.provider-portfolio-links-panel h2,
.provider-project-management h2,
.portfolio-growth-card h2 {
  margin: 8px 0 6px;
  color: #11162f;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.portfolio-links-form .upload-box {
  grid-column: 1 / -1;
}

.portfolio-growth-card {
  display: grid;
  align-content: start;
  gap: 14px;
  background:
    radial-gradient(circle at 15% 0%, rgba(99, 91, 255, 0.12), transparent 14rem),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.portfolio-growth-card .clean-list {
  margin-top: 4px;
}

.project-media-drop {
  position: relative;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 132px;
  padding: 18px;
  border: 1px dashed rgba(99, 91, 255, 0.42);
  border-radius: 18px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(241, 247, 255, 0.94), rgba(248, 244, 255, 0.94));
  text-align: center;
  cursor: pointer;
}

.project-media-drop [data-icon] {
  width: 34px;
  height: 34px;
  color: #5b52ff;
}

.project-media-drop strong {
  font-size: 1.05rem;
}

.project-media-drop span,
.project-media-drop em {
  max-width: 640px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.project-media-drop em {
  color: #595fff;
  font-style: normal;
  font-weight: 800;
}

.project-media-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.project-photo-permission-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(10px);
  animation: permissionFade 160ms ease both;
}

.project-photo-permission-modal {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(145, 159, 255, 0.34);
  border-radius: 26px;
  color: var(--navy);
  background:
    radial-gradient(circle at top left, rgba(99, 91, 255, 0.12), transparent 13rem),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 30px 80px rgba(22, 31, 68, 0.28);
  animation: permissionScale 180ms ease both;
  outline: none;
}

.project-photo-permission-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #6a5cff, #16a7c7);
  box-shadow: 0 16px 34px rgba(81, 92, 255, 0.26);
}

.project-photo-permission-icon [data-icon] {
  width: 28px;
  height: 28px;
}

.project-photo-permission-copy {
  display: grid;
  gap: 8px;
}

.project-photo-permission-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.project-photo-permission-copy p,
.project-photo-permission-copy small {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.project-photo-permission-copy small {
  font-weight: 700;
}

.project-photo-permission-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

@keyframes permissionFade {
  from {
    opacity: 0;
  }
}

@keyframes permissionScale {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

.upload-section-head h2 {
  margin: 10px 0 6px;
  color: #18224d;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.upload-section-head p {
  margin: 0;
  color: #61708f;
}

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

.upload-box {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 164px;
  padding: 18px;
  border: 1px dashed #bdc9f7;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.upload-box:hover {
  border-color: #6574ff;
  box-shadow: 0 16px 32px rgba(63, 76, 156, 0.13);
  transform: translateY(-1px);
}

.upload-box [data-icon] {
  width: 24px;
  height: 24px;
  color: #4052d6;
}

.upload-box strong {
  color: #17223f;
  font-size: 1rem;
}

.upload-box span {
  color: #64708f;
  font-size: 0.9rem;
  line-height: 1.45;
}

.upload-box input {
  width: 100%;
  margin-top: 4px;
  color: #34405f;
  font-size: 0.82rem;
}

.upload-box em {
  color: #4052d6;
  font-style: normal;
  font-weight: 900;
  font-size: 0.82rem;
}

.payment-card {
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid #dce4ff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 8%, rgba(49, 201, 164, 0.12), transparent 16rem),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.payment-card h2 {
  margin: 12px 0 8px;
  color: #16213f;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.billing-page-head {
  align-items: center;
}

.billing-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 16px;
  align-items: start;
}

.billing-current-card,
.billing-checkout-card,
.billing-security-card {
  grid-column: 1 / -1;
}

.billing-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.billing-card-head p {
  max-width: 680px;
  margin: 0;
  color: #64708f;
  font-weight: 750;
  line-height: 1.45;
}

.billing-status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.billing-status-grid div {
  display: grid;
  align-content: start;
  min-height: 96px;
}

.billing-status-grid span {
  text-align: left;
}

.billing-actions {
  margin-top: 18px;
  flex-wrap: nowrap;
}

.billing-actions button {
  flex: 1 1 0;
  min-width: 0;
}

.billing-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--surface-soft);
  margin-bottom: 20px;
}

.billing-status-banner > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.billing-status-banner i {
  width: 18px;
  height: 18px;
  flex: none;
}

.billing-simple-stack {
  display: grid;
  gap: 18px;
}

.billing-method-list,
.billing-invoice-list {
  display: grid;
  gap: 10px;
}

.billing-method-row,
.billing-invoice-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dfe7ff;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.94));
}

.billing-method-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #4f46ff;
  background: linear-gradient(135deg, #eef3ff, #f4efff);
}

.billing-method-icon [data-icon],
.billing-method-icon [data-lucide],
.billing-option-grid [data-icon],
.billing-option-grid [data-lucide],
.billing-security-card > [data-icon],
.billing-security-card > [data-lucide] {
  width: 22px;
  height: 22px;
}

.billing-method-row strong,
.billing-invoice-row strong {
  display: block;
  color: #17213f;
  font-weight: 950;
}

.billing-method-row span,
.billing-method-row small,
.billing-invoice-row span {
  display: block;
  margin-top: 3px;
  color: #63708a;
  font-size: 0.82rem;
  font-weight: 800;
}

.billing-method-actions {
  display: flex;
  justify-content: flex-end;
}

.billing-empty-state {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px dashed #cfd9ff;
  border-radius: 16px;
  color: #64708f;
  background: #f8fbff;
}

.billing-empty-state strong {
  color: #17213f;
}

.billing-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.billing-option-grid article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  align-content: start;
  padding: 16px;
  border: 1px solid #dfe7ff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.08), transparent 7rem),
    #ffffff;
}

.billing-option-grid i {
  color: #4f46ff;
}

.billing-option-grid strong {
  color: #17213f;
  font-weight: 950;
}

.billing-option-grid span {
  color: #64708f;
  font-size: 0.85rem;
  font-weight: 780;
  line-height: 1.45;
}

.billing-invoice-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.billing-invoice-row b {
  color: #17213f;
  font-weight: 950;
  white-space: nowrap;
}

.billing-security-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background:
    radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.14), transparent 14rem),
    linear-gradient(135deg, #ffffff, #f7fbff);
}

.billing-security-card > i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #047857;
  background: #e8fff6;
}

.billing-security-card h2 {
  margin: 6px 0;
  font-size: 1.25rem;
}

.billing-security-card p {
  margin: 0;
  color: #64708f;
  font-weight: 780;
}

.checkout-status-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checkout-status-panel div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #dce4ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff, #f4f0ff);
}

.checkout-status-panel strong {
  color: #16213f;
  font-weight: 950;
}

.checkout-status-panel span {
  color: #58627d;
  font-weight: 850;
  text-align: right;
  overflow-wrap: anywhere;
}

.stripe-card-preview {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #cfd9ff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 4%, rgba(99, 91, 255, 0.14), transparent 9rem),
    linear-gradient(180deg, #ffffff, #f7f9ff);
  box-shadow: 0 18px 38px rgba(42, 56, 130, 0.1);
}

.stripe-card-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stripe-card-preview-head span,
.stripe-card-preview-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #17213f;
  font-weight: 950;
}

.stripe-card-preview-head i {
  width: 19px;
  height: 19px;
  color: #635bff;
}

.stripe-card-preview-head strong {
  padding: 8px 12px;
  border-radius: 999px;
  color: #4052d6;
  background: #eef3ff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stripe-card-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(90px, 0.7fr));
  gap: 10px;
}

.stripe-card-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.stripe-card-fields span {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stripe-card-fields div {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #dce4ff;
  border-radius: 14px;
  color: #1f2a44;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.stripe-card-preview p {
  margin: 0;
  color: #5f6b86;
  font-size: 0.9rem;
  line-height: 1.5;
}

.stripe-embedded-checkout {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #dce4ff;
  border-radius: 18px;
  background: #ffffff;
}

.stripe-loading-card {
  display: grid;
  gap: 8px;
  min-height: 220px;
  place-content: center;
  padding: 26px;
  color: #1f2a44;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 91, 255, 0.12), transparent 12rem),
    linear-gradient(180deg, #ffffff, #f7f9ff);
}

.stripe-loading-card strong {
  color: #17213f;
  font-size: 1rem;
  font-weight: 950;
}

.stripe-loading-card span {
  color: #5f6b86;
  line-height: 1.45;
}

.stripe-loading-card.is-error {
  border: 1px solid #ffb8b8;
  color: #8f1d1d;
  background: #fff3f3;
}

.stripe-loading-card.is-error strong,
.stripe-loading-card.is-error span {
  color: #8f1d1d;
}

.payment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #10263f, #1f3d7a);
}

.payment-summary span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.payment-summary strong {
  font-size: 1.35rem;
}

.payment-inline-message {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--info-border);
  color: var(--info-text);
  background: var(--info-bg);
  box-shadow: 0 14px 32px rgba(56, 88, 180, 0.08);
}

.payment-inline-message[hidden] {
  display: none;
}

.auth-route-loading {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px);
  border-color: #cfd9ff;
  background:
    radial-gradient(circle at 92% 0%, rgba(99, 91, 255, 0.12), transparent 13rem),
    linear-gradient(135deg, #ffffff, #f6f8ff);
  text-align: left;
}

.auth-route-loading h1 {
  margin: 12px 0 8px;
}

.auth-route-loading p {
  max-width: 520px;
  color: #5f6b86;
  font-weight: 750;
}

.payment-inline-message strong {
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.payment-inline-message strong svg {
  width: 18px;
  height: 18px;
}

.payment-inline-message span {
  color: inherit;
  line-height: 1.45;
}

.payment-inline-message.is-error {
  border-color: var(--error-border);
  color: var(--error-text);
  background: var(--error-bg);
}

.payment-inline-message.is-error span {
  color: inherit;
}

.payment-inline-message.is-success {
  border-color: var(--success-border);
  color: var(--success-text);
  background: var(--success-bg);
}

.payment-inline-message.is-success span {
  color: inherit;
}

.subscription-sync-notice {
  margin: 0 0 18px;
}

.notification-admin-grid {
  align-items: start;
}

.notification-composer-panel {
  background:
    radial-gradient(circle at 95% 0%, rgba(99, 91, 255, 0.12), transparent 12rem),
    #ffffff;
}

.notification-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.notification-page-head {
  align-items: center;
}

.notification-head-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, #f8f7ff 0%, #ffffff 58%, #eef5ff 100%);
  box-shadow: 0 12px 28px rgba(31, 42, 99, 0.08);
}

.notification-unread-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.notification-unread-summary > span:last-child {
  display: grid;
  gap: 2px;
}

.notification-unread-summary-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #5147ec;
  background: #eceaff;
}

.notification-unread-summary-icon [data-icon] {
  width: 19px;
  height: 19px;
}

.notification-unread-summary strong {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1.1;
}

.notification-unread-summary small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.notification-mark-all-btn {
  min-height: 44px;
  gap: 8px;
  white-space: nowrap;
}

.notification-mark-all-btn [data-icon] {
  width: 18px;
  height: 18px;
}

.notification-mark-all-btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.notification-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #dfe6ff;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(31, 42, 99, 0.08);
}

.notification-card.is-unread {
  border-color: rgba(99, 91, 255, 0.38);
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.1), transparent 10rem),
    #ffffff;
}

.notification-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #4f46ff;
  background: linear-gradient(135deg, #eef3ff, #e8fbf4);
}

.notification-card h3 {
  margin: 0;
  color: #11162f;
  font-size: 1.05rem;
  font-weight: 950;
}

.notification-card p {
  margin: 8px 0;
  color: #53607b;
  font-weight: 750;
  line-height: 1.45;
}

.notification-card small {
  color: #747d93;
  font-weight: 850;
}

:root[data-theme="dark"] .notification-head-actions {
  border-color: rgba(185, 133, 245, 0.3);
  background: linear-gradient(135deg, rgba(109, 74, 255, 0.17), rgba(23, 26, 33, 0.96));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .notification-unread-summary-icon {
  color: #d3c8ff;
  background: rgba(109, 74, 255, 0.22);
}

@media (max-width: 720px) {
  .notification-page-head {
    align-items: stretch;
  }

  .notification-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .notification-mark-all-btn {
    width: auto;
  }
}

@media (max-width: 480px) {
  .notification-head-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .notification-mark-all-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  button,
  .primary-btn,
  .secondary-btn,
  .ghost-btn,
  .danger-btn,
  .icon-btn,
  .mini-btn,
  .whatsapp-contact-btn,
  .auth-create-account,
  .auth-store-button {
    transition-duration: 0.01ms !important;
  }

  button:hover,
  .primary-btn:hover,
  .secondary-btn:hover,
  .ghost-btn:hover,
  .danger-btn:hover,
  .icon-btn:hover,
  .mini-btn:hover,
  .whatsapp-contact-btn:hover,
  .auth-create-account:hover,
  .auth-store-button:hover {
    transform: none !important;
  }
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(560px, 100%);
}

.role-card,
.service-card,
.stat-card,
.plan-card,
.profile-card,
.provider-mini-card,
.job-card,
.auth-card,
.panel,
.table-wrap,
.chat-shell,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero .role-card {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.role-card {
  display: grid;
  gap: 11px;
  padding: 18px;
  text-align: left;
}

.role-card.is-selected {
  outline: 3px solid rgba(15, 140, 111, 0.24);
  border-color: var(--green);
}

.role-card strong {
  font-size: 1.02rem;
}

.role-card p {
  margin: 0;
  color: inherit;
  font-size: 0.94rem;
  line-height: 1.5;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.22);
}

.metric-strip div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.13);
}

.metric-strip strong {
  display: block;
  font-size: 1.35rem;
}

.metric-strip span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.page-head h1,
.page-head h2,
.auth-card h1,
.panel h2 {
  margin: 0;
  color: var(--navy);
}

.page-head p,
.auth-card p,
.panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.layout > div {
  min-width: 0;
}

.sidebar,
.mobile-tabs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 6px;
  padding: 10px;
}

.sidebar-title {
  padding: 12px 11px 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar a,
.mobile-tabs a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--muted);
  font-weight: 900;
}

.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #635bff, #2f80ed);
  font-size: 0.72rem;
  font-weight: 950;
}

.sidebar a.is-active,
.mobile-tabs a.is-active {
  color: var(--navy);
  background: var(--surface-soft);
}

.mobile-tabs {
  position: sticky;
  top: 74px;
  z-index: 15;
  display: none;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 16px;
  overflow-x: auto;
  padding: 8px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 18px;
}

.admin-stat-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 7px;
  width: 100%;
  min-height: 112px;
  text-align: left;
  border-color: #dfe6ff;
  background:
    radial-gradient(circle at 95% 8%, rgba(99, 91, 255, 0.13), transparent 7rem),
    linear-gradient(145deg, #ffffff, #f8fbff);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.admin-stat-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 10px auto;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c6dff, #55b8ff);
  opacity: 0;
  transition: opacity 160ms ease;
}

.admin-stat-card [data-icon] {
  width: 22px;
  height: 22px;
  color: #635bff;
}

.admin-stat-card:hover,
.admin-stat-card.is-active {
  border-color: rgba(99, 91, 255, 0.5);
  box-shadow: 0 22px 52px rgba(76, 91, 180, 0.16);
  transform: translateY(-2px);
}

.admin-stat-card.is-active {
  background:
    radial-gradient(circle at 90% 0%, rgba(83, 176, 255, 0.22), transparent 8rem),
    linear-gradient(145deg, #f6f7ff, #ffffff);
}

.admin-stat-card.is-active::after {
  opacity: 1;
}

.admin-dashboard-stat-grid .admin-stat-card {
  gap: 3px;
  min-height: 58px;
  padding: 8px 10px;
  background:
    radial-gradient(circle at 95% 8%, rgba(99, 91, 255, 0.1), transparent 5rem),
    linear-gradient(145deg, #ffffff, #f8fbff);
}

.admin-dashboard-stat-grid .admin-stat-card::after {
  inset: auto 10px 7px auto;
  width: 24px;
  height: 2px;
}

.admin-dashboard-stat-grid .admin-stat-card [data-icon] {
  width: 14px;
  height: 14px;
}

.admin-dashboard-stat-grid .admin-stat-card:hover,
.admin-dashboard-stat-grid .admin-stat-card.is-active {
  box-shadow: 0 12px 28px rgba(76, 91, 180, 0.12);
  transform: translateY(-1px);
}

.admin-dashboard-stat-grid .admin-stat-card.is-active {
  background:
    radial-gradient(circle at 90% 0%, rgba(83, 176, 255, 0.16), transparent 6rem),
    linear-gradient(145deg, #f6f7ff, #ffffff);
}

.admin-dashboard-stat-grid .admin-stat-card span {
  font-size: 0.62rem;
  line-height: 1.15;
}

.admin-dashboard-stat-grid .admin-stat-card strong {
  margin-top: 1px;
  font-size: 0.98rem;
}

.admin-dashboard-stat-grid .admin-stat-card small {
  margin-top: 1px;
  font-size: 0.61rem;
  line-height: 1.15;
}

.stat-card.interactive {
  width: 100%;
  border: 1px solid #d8c4ff;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #f7f2ff 0%, #ffffff 55%, #f1e7ff 100%);
  box-shadow: 0 14px 32px rgba(109, 74, 255, 0.1);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.stat-card.interactive:hover,
.stat-card.interactive.is-active {
  border-color: #b985f5;
  box-shadow: 0 18px 38px rgba(109, 74, 255, 0.14);
  transform: translateY(-2px);
}

.stat-card.interactive.is-active {
  background:
    radial-gradient(circle at 90% 10%, rgba(185, 133, 245, 0.18), transparent 8rem),
    linear-gradient(135deg, #eee4ff 0%, #ffffff 55%, #f7f2ff 100%);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1;
}

.stat-card small {
  display: block;
  margin-top: 9px;
  color: var(--green);
  font-weight: 900;
}

.stat-card.interactive small,
.portfolio-console-stats .stat-card small {
  color: #6d4aff;
}

.admin-dashboard-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid #dfe6ff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 5% 0%, rgba(99, 91, 255, 0.12), transparent 14rem),
    radial-gradient(circle at 100% 10%, rgba(78, 181, 255, 0.12), transparent 13rem),
    #ffffff;
  box-shadow: 0 24px 70px rgba(40, 51, 105, 0.11);
}

.admin-dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-dashboard-panel-head h2 {
  margin: 9px 0 6px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.admin-dashboard-panel-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.admin-dashboard-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-dashboard-insights div {
  padding: 14px;
  border: 1px solid #e5eaff;
  border-radius: 16px;
  background: rgba(248, 250, 255, 0.9);
}

.admin-dashboard-insights strong {
  display: block;
  color: #1f2a50;
  font-size: 1.45rem;
  line-height: 1;
}

.admin-dashboard-insights span {
  display: block;
  margin-top: 6px;
  color: #68718a;
  font-weight: 850;
  font-size: 0.83rem;
}

.admin-dashboard-records {
  display: grid;
  gap: 10px;
}

.admin-dashboard-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e6ebfb;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
}

.admin-dashboard-record h3 {
  margin: 0;
  color: #141827;
  font-size: 1rem;
}

.admin-dashboard-record p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 0.9rem;
}

.admin-dashboard-empty,
.admin-dashboard-latest {
  padding: 18px;
  border: 1px dashed #cbd6ff;
  border-radius: 18px;
  background: rgba(247, 250, 255, 0.76);
}

.admin-dashboard-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.admin-dashboard-empty [data-icon] {
  width: 32px;
  height: 32px;
  color: #635bff;
}

.admin-dashboard-empty strong,
.admin-dashboard-latest h3 {
  margin: 0;
  color: #172033;
}

.admin-dashboard-empty p,
.admin-dashboard-latest p {
  margin: 0;
  color: var(--muted);
}

.admin-dashboard-latest {
  display: grid;
  width: min(100%, 720px);
  justify-self: start;
  gap: 6px;
  padding: 14px 16px;
}

.admin-dashboard-latest .admin-detail-grid {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 8px;
  margin-top: 6px;
}

.admin-dashboard-latest .admin-detail-grid div {
  padding: 9px 10px;
}

.admin-sync-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
  padding: 15px;
  border: 1px solid var(--info-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 91, 255, 0.11), transparent 10rem),
    var(--info-bg);
  color: var(--info-text);
}

.admin-sync-banner [data-icon] {
  width: 24px;
  height: 24px;
  color: #635bff;
}

.admin-sync-banner strong,
.admin-sync-banner span {
  display: block;
}

.admin-sync-banner strong {
  color: inherit;
}

.admin-sync-banner span {
  margin-top: 3px;
  color: inherit;
}

.admin-sync-banner code {
  font-weight: 900;
  color: #4f46ff;
}

.admin-sync-banner .secondary-btn {
  width: fit-content;
  margin-top: 10px;
  padding: 10px 14px;
}

.admin-sync-banner.is-warning {
  color: var(--warning-text);
  border-color: var(--warning-border);
  background: var(--warning-bg);
}

.admin-sync-banner.is-warning [data-icon] {
  color: #b7791f;
}

.admin-sync-banner.is-success {
  color: var(--success-text);
  border-color: var(--success-border);
  background: var(--success-bg);
}

.admin-sync-banner.is-success [data-icon] {
  color: #078463;
}

.admin-table-empty {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 22px;
  text-align: center;
  color: #667085;
}

.admin-table-empty strong {
  color: #172033;
}

.admin-document-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-document-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(111, 97, 255, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 91, 255, 0.1), transparent 15rem),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(41, 52, 106, 0.08);
}

.admin-document-toolbar .field {
  margin: 0;
}

.admin-document-library {
  display: grid;
  gap: 14px;
}

.admin-document-profile {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dfe6ff;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 91, 255, 0.1), transparent 15rem),
    linear-gradient(145deg, #ffffff, #f9fbff);
  box-shadow: 0 18px 50px rgba(41, 52, 106, 0.09);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-document-profile:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 91, 255, 0.44);
  box-shadow: 0 24px 62px rgba(41, 52, 106, 0.13);
}

.admin-document-profile.is-focused {
  border-color: rgba(99, 91, 255, 0.62);
  box-shadow: 0 28px 80px rgba(79, 70, 229, 0.16);
}

.admin-document-profile-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: clamp(16px, 2.4vw, 22px);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-document-profile-head h2 {
  margin: 8px 0 5px;
  color: var(--navy);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.admin-document-profile-head p,
.admin-document-profile-head small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.admin-document-profile-head small {
  margin-top: 7px;
  color: #44506a;
}

.admin-document-counts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: min(100%, 520px);
}

.admin-document-counts span:not(.admin-doc-status-badge) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(99, 91, 255, 0.14);
  border-radius: 999px;
  color: #43507b;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 850;
}

.admin-document-counts [data-icon],
.admin-document-counts [data-lucide] {
  color: #635bff;
  transition: transform 0.18s ease;
}

.admin-document-profile.is-open .admin-document-counts [data-icon],
.admin-document-profile.is-open .admin-document-counts [data-lucide] {
  transform: rotate(180deg);
}

.admin-doc-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #765400;
  background: #fff3c4;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.admin-doc-status-badge.approved,
.admin-doc-status-badge.verified {
  color: #087147;
  background: #dffbea;
}

.admin-doc-status-badge.rejected {
  color: #b42318;
  background: #fee4e2;
}

.admin-doc-status-badge.needs_info {
  color: #734c00;
  background: #fff0d4;
}

.admin-document-accordion-body {
  display: grid;
  gap: 14px;
  padding: 0 clamp(16px, 2.4vw, 22px) clamp(16px, 2.4vw, 22px);
}

.admin-document-provider-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(99, 91, 255, 0.12);
  border-radius: 16px;
  background: rgba(245, 247, 255, 0.86);
}

.admin-document-provider-details span {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #667085;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.admin-document-provider-details strong {
  color: #172033;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-document-files {
  display: grid;
  gap: 10px;
}

.admin-document-file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 13px;
  border: 1px solid #edf1ff;
  border-radius: 16px;
  background: #fbfcff;
}

.admin-document-file-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #4f46ff;
  background: #eef2ff;
}

.admin-document-file-icon [data-icon],
.admin-document-file-icon [data-lucide] {
  color: #4f46ff;
}

.admin-document-file-copy {
  min-width: 0;
}

.admin-document-file strong,
.admin-document-file span,
.admin-document-file em {
  display: block;
}

.admin-document-file-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-document-file strong {
  color: #172033;
}

.admin-document-file span {
  margin-top: 3px;
  color: #667085;
  font-size: 0.83rem;
}

.admin-document-file em {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #7b86a3;
  font-size: 0.75rem;
  font-style: normal;
}

.admin-document-file-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 360px;
}

.admin-document-missing {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px dashed #ccd6ff;
  border-radius: 14px;
  color: #667085;
  background: #f8faff;
}

.admin-document-missing strong {
  color: #172033;
}

.dashboard-detail-panel {
  margin: 16px 0;
}

.dashboard-message-list {
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.chat-profile-list {
  display: grid;
  align-content: start;
}

.chat-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.chat-profile:hover {
  background: #f5f8ff;
}

.chat-profile-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.chat-profile-copy strong,
.chat-profile-copy small,
.chat-profile-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-profile-copy strong {
  color: var(--navy);
  font-weight: 950;
}

.chat-profile-copy small,
.chat-profile-copy em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.chat-profile-meta {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.chat-profile-meta b {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: #ffffff;
  background: #1769ff;
  font-size: 0.75rem;
  font-weight: 950;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
  margin-top: 16px;
}

.provider-job-detail-grid {
  grid-template-columns: minmax(0, 1fr);
}

.provider-job-detail-main {
  width: min(980px, 100%);
}

.provider-work-status-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(99, 91, 255, 0.1), transparent 16rem),
    var(--surface);
}

.provider-work-status-panel h3,
.provider-work-status-panel p {
  margin: 0;
}

.provider-work-status-panel .inline-actions {
  justify-content: flex-end;
}

.panel {
  padding: 20px;
}

.panel + .panel {
  margin-top: 16px;
}

.service-grid,
.jobs-grid,
.provider-grid,
.form-grid,
.category-grid,
.two-grid,
.three-grid {
  display: grid;
  gap: 14px;
}

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

.three-grid,
.service-grid,
.provider-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.provider-jobs-page {
  display: grid;
  gap: 14px;
}

.provider-jobs-head {
  align-items: center;
  margin-bottom: 0;
  padding: 0 2px;
}

.provider-jobs-head h1 {
  line-height: 1.05;
}

.provider-job-city-filter {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  padding: 15px;
  border: 1px solid #dfe6ff;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.1), transparent 14rem),
    #ffffff;
  box-shadow: 0 16px 36px rgba(31, 42, 99, 0.07);
}

.provider-jobs-city-filter {
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr) auto;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(31, 42, 99, 0.055);
}

.provider-job-city-filter strong,
.provider-job-city-filter small {
  display: block;
}

.provider-job-city-filter strong {
  color: #18213f;
  font-weight: 950;
}

.provider-job-city-filter small {
  margin-top: 3px;
  color: #68728d;
  font-size: 0.82rem;
  font-weight: 760;
}

.provider-job-empty {
  display: grid;
  gap: 8px;
  align-content: center;
}

.provider-job-empty strong {
  color: #18213f;
}

.provider-job-empty span {
  color: #68728d;
  font-weight: 760;
}

.provider-jobs-filter-chips {
  margin: 0;
}

.provider-jobs-filter-chips .chip {
  min-height: 32px;
  padding: 0 11px;
}

.provider-jobs-grid {
  gap: 16px;
}

.provider-jobs-grid .job-card {
  display: grid;
  align-content: start;
  gap: 11px;
  min-height: 100%;
  padding: 18px 20px;
}

.provider-jobs-grid .job-card > * {
  margin-top: 0;
  margin-bottom: 0;
}

.service-card,
.job-card,
.provider-mini-card,
.profile-card,
.pricing-card {
  padding: 17px;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.job-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.job-meta-pill {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  color: var(--text);
  background: var(--surface-soft);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 70%, transparent);
}

.job-meta-pill.date-time {
  min-width: 198px;
  justify-content: center;
}

.job-meta-pill.budget {
  width: fit-content;
  min-width: 128px;
  justify-content: center;
}

.job-meta-label {
  flex: 0 0 auto;
  font-weight: 900;
  color: var(--text);
}

.job-meta-value {
  min-width: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.25;
  white-space: nowrap;
}

.job-action-stack {
  gap: 10px;
  align-items: stretch;
}

.job-action-stack > .job-action-btn,
.job-action-stack > .whatsapp-contact-empty {
  flex: 1 1 185px;
}

.job-action-btn,
.job-action-stack .whatsapp-contact-empty {
  min-height: 44px;
  border-radius: 14px;
  padding-inline: 15px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.job-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.job-action-btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.08);
}

.job-action-btn[disabled],
.job-action-btn.is-disabled,
.job-action-stack .whatsapp-contact-empty {
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

.job-action-success,
.job-action-success[disabled],
.job-action-success.is-disabled {
  color: #047857;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.13);
}

.job-action-purple,
.job-action-purple[disabled],
.job-action-purple.is-disabled,
.job-action-stack .whatsapp-contact-empty {
  color: #5b4bdb;
  border: 1px solid #d8ccff;
  background: #f3f0ff;
  box-shadow: 0 8px 18px rgba(99, 91, 255, 0.11);
}

.job-action-blue,
.job-action-blue[disabled],
.job-action-blue.is-disabled {
  color: #2563eb;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.11);
}

.admin-legal-editor,
.admin-cities-editor {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dfe6ff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.1), transparent 12rem),
    #ffffff;
  box-shadow: 0 16px 36px rgba(31, 42, 99, 0.08);
}

.admin-legal-editor.full,
.admin-cities-editor.full {
  grid-column: 1 / -1;
}

.admin-legal-editor .card-top,
.admin-cities-editor .card-top {
  align-items: flex-start;
  gap: 18px;
}

.admin-legal-editor .card-top > div,
.admin-cities-editor .card-top > div {
  min-width: 0;
}

.admin-legal-editor .field,
.admin-cities-editor .field {
  margin: 0;
}

.admin-legal-editor h2,
.admin-cities-editor h2 {
  margin: 8px 0 6px;
  color: var(--navy);
}

.admin-cities-editor textarea {
  min-height: 180px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.admin-legal-editor textarea {
  min-height: clamp(320px, 42vh, 520px);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 680px) {
  .admin-legal-editor,
  .admin-cities-editor {
    padding: 16px;
  }

  .admin-legal-editor .card-top,
  .admin-cities-editor .card-top {
    align-items: stretch;
  }

  .admin-legal-editor .card-top .secondary-btn {
    width: 100%;
  }
}

.legal-inline-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.legal-inline-note a {
  color: #5b52ff;
  font-weight: 950;
}

.signup-legal-panel {
  margin-top: 18px;
}

.signup-legal-acceptance {
  border-color: rgba(255, 90, 69, 0.3);
  background: rgba(255, 245, 242, 0.9);
}

.signup-legal-acceptance a {
  color: #5046e5;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.signup-legal-acceptance:focus-within {
  outline: 3px solid rgba(91, 82, 255, 0.34);
  outline-offset: 3px;
}

.signup-security-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dfe6ff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 91, 255, 0.1), transparent 12rem),
    linear-gradient(135deg, rgba(243, 248, 255, 0.96), rgba(250, 247, 255, 0.96));
}

.signup-security-panel h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.signup-security-panel p {
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.check-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(99, 91, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #635bff;
}

.check-row strong,
.check-row small {
  display: block;
}

.check-row strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.check-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

:root[data-theme="dark"] .signup-security-panel {
  border-color: rgba(196, 181, 253, 0.26);
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 131, 255, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(23, 26, 33, 0.98), rgba(28, 30, 43, 0.98));
}

:root[data-theme="dark"] .signup-security-panel h2,
:root[data-theme="dark"] .signup-security-panel p,
:root[data-theme="dark"] .check-row strong {
  color: var(--text);
}

:root[data-theme="dark"] .check-row {
  border-color: rgba(196, 181, 253, 0.2);
  background: rgba(15, 17, 21, 0.72);
}

:root[data-theme="dark"] .signup-legal-acceptance {
  border-color: rgba(255, 122, 87, 0.32);
  background: rgba(255, 90, 69, 0.08);
}

:root[data-theme="dark"] .signup-legal-acceptance a {
  color: #c4b5fd;
}

.card-top h3,
.job-card h3,
.provider-mini-card h3,
.profile-card h3,
.pricing-card h3 {
  margin: 0;
  color: var(--navy);
}

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

.small {
  font-size: 0.88rem;
  line-height: 1.55;
}

.pill {
  color: var(--badge-text);
  background: var(--badge-bg);
  text-transform: none;
  letter-spacing: 0;
}

.pill.gold {
  color: var(--warning-text);
  background: var(--warning-bg);
}

.pill.blue {
  color: var(--info-text);
  background: var(--info-bg);
}

.pill.green {
  color: var(--success-text);
  background: var(--success-bg);
}

.pill.red {
  color: var(--error-text);
  background: var(--error-bg);
}

.pill.dark {
  color: #ffffff;
  background: var(--navy);
}

.hired-status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--success-border);
  border-radius: 999px;
  color: var(--success-text);
  background: var(--success-bg);
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(22, 101, 52, 0.12);
}

.hired-status-badge.is-compact {
  min-height: 25px;
  padding: 0 9px;
  font-size: 0.7rem;
}

.hired-status-badge.is-completed {
  color: #075985;
  border-color: #bae6fd;
  background: #e0f2fe;
  box-shadow: 0 10px 22px rgba(14, 116, 144, 0.12);
}

.hired-status-badge [data-icon],
.hired-status-badge [data-lucide] {
  width: 14px;
  height: 14px;
}

.provider-mini-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.provider-mini-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border-radius: 50%;
  color: #ffffff;
  background: #0f1115;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

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

.hired-action-btn:disabled {
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a, #15803d);
  opacity: 1;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.18);
}

.hired-action-btn.job-action-success:disabled {
  color: #047857;
  border-color: #a7f3d0;
  background: #ecfdf5;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--surface);
  font-weight: 900;
}

.chip.is-active {
  color: #ffffff;
  border-color: var(--green);
  background: var(--green);
}

.progress {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #e1eaf0;
}

.progress span {
  display: block;
  width: var(--value, 70%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #37b48d);
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 74px);
  padding: 34px 0;
}

.signup-shell {
  align-items: stretch;
  padding: clamp(18px, 3vw, 38px);
  background:
    radial-gradient(circle at 12% 10%, rgba(99, 91, 255, 0.12), transparent 20rem),
    radial-gradient(circle at 90% 18%, rgba(33, 150, 243, 0.12), transparent 22rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 58%, #f8f8ff 100%);
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(18px, 3vw, 30px);
  width: min(1180px, 100%);
  align-items: stretch;
}

.signup-story-panel,
.signup-card-modern {
  min-height: 100%;
  border: 1px solid rgba(195, 205, 233, 0.9);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(31, 42, 99, 0.14);
}

.signup-story-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  color: #ffffff;
  background:
    linear-gradient(160deg, rgba(17, 24, 75, 0.86), rgba(79, 70, 229, 0.78)),
    url("./assets/pronearme-hero.png") center / cover;
}

.signup-story-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.22), transparent 13rem),
    linear-gradient(180deg, rgba(13, 18, 55, 0.2), rgba(13, 18, 55, 0.82));
  pointer-events: none;
}

.signup-story-panel > * {
  position: relative;
  z-index: 1;
}

.signup-brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 1000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.signup-story-panel h1 {
  max-width: 520px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.25rem, 4.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.signup-story-panel p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
  line-height: 1.6;
}

.signup-story-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.signup-story-card i {
  width: 28px;
  height: 28px;
}

.signup-story-card strong,
.signup-story-card span {
  display: block;
}

.signup-story-card strong {
  color: #ffffff;
  font-size: 1rem;
}

.signup-story-card span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.signup-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.signup-proof-grid span {
  min-height: 80px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  line-height: 1.35;
}

.signup-proof-grid strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}

.auth-card {
  width: min(100% - 32px, 820px);
  padding: clamp(22px, 4vw, 34px);
}

.signup-card-modern {
  width: 100%;
  padding: clamp(20px, 3.2vw, 34px);
  background:
    radial-gradient(circle at 90% 0%, rgba(99, 91, 255, 0.08), transparent 16rem),
    rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.signup-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.signup-card-head h1 {
  margin-top: 12px;
}

.signup-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.signup-role-option {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 152px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(31, 42, 99, 0.07);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.signup-role-option:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 91, 255, 0.46);
  box-shadow: 0 20px 42px rgba(31, 42, 99, 0.11);
}

.signup-role-option input {
  position: absolute;
  inset: 14px 14px auto auto;
  width: 18px;
  height: 18px;
  accent-color: #635bff;
}

.signup-role-option span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: var(--badge-text);
  background: var(--badge-bg);
}

.signup-role-option strong {
  color: var(--navy);
  font-size: 1rem;
}

.signup-role-option small {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.45;
}

.signup-role-option:has(input:checked) {
  color: #ffffff;
  border-color: rgba(99, 91, 255, 0.7);
  background: linear-gradient(135deg, #635bff, #4f46e5 46%, #2196f3);
  box-shadow: 0 22px 52px rgba(79, 70, 229, 0.24);
}

.signup-role-option:has(input:checked) span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.signup-role-option:has(input:checked) strong,
.signup-role-option:has(input:checked) small {
  color: #ffffff;
}

.signup-form-grid {
  margin-top: 18px;
  overflow: visible;
}

.signup-form-grid > .field {
  align-content: start;
  grid-auto-rows: max-content;
}

.signup-card-modern {
  overflow: visible;
}

.signup-location-field {
  z-index: 8;
}

.signup-location-hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.signup-location-hint.is-warn {
  color: #b45309;
}

.signup-location-hint.is-ok {
  color: #047857;
}

.signup-alternative-auth {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, var(--surface-soft) 12%);
}

.signup-alternative-auth-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.signup-alternative-auth-head strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.signup-alternative-auth-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-align: right;
}

.signup-alternative-auth .auth-email-divider {
  margin-top: 2px;
}

@media (max-width: 640px) {
  .signup-alternative-auth {
    padding: 14px;
  }

  .signup-alternative-auth-head {
    display: grid;
    gap: 4px;
  }

  .signup-alternative-auth-head span {
    text-align: left;
  }
}

.signup-submit-btn {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border-radius: 18px;
  font-size: 1rem;
  box-shadow: 0 18px 38px rgba(99, 91, 255, 0.24);
}

.signup-existing-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 4px;
}

.signup-existing-account-actions[hidden] {
  display: none;
}

.account-recovery-shell {
  min-height: calc(100vh - 82px);
  padding: 52px 24px;
  background:
    radial-gradient(circle at 10% 12%, rgba(109, 74, 255, 0.15), transparent 32%),
    radial-gradient(circle at 90% 86%, rgba(0, 151, 157, 0.12), transparent 30%),
    var(--bg);
}

.account-recovery-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.account-recovery-summary,
.account-recovery-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(36, 42, 74, 0.12);
}

.account-recovery-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background: linear-gradient(145deg, #25245f 0%, #4f46e5 58%, #148aa0 100%);
}

.account-recovery-summary h1 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.account-recovery-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.account-recovery-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
}

.account-recovery-icon i {
  width: 26px;
  height: 26px;
}

.account-recovery-identity {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(15, 17, 21, 0.2);
  overflow-wrap: anywhere;
}

.account-recovery-role-fieldset {
  min-width: 0;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.account-recovery-role-fieldset legend {
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 800;
}

.account-recovery-fields {
  margin-top: 18px;
}

.account-recovery-fields input[readonly] {
  color: var(--muted);
  background: var(--soft);
  cursor: default;
}

.account-recovery-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 12px;
  margin-top: 18px;
}

.account-recovery-actions .signup-submit-btn {
  margin-top: 0;
}

:root[data-theme="dark"] .account-recovery-summary,
:root[data-theme="dark"] .account-recovery-card {
  border-color: rgba(196, 181, 253, 0.26);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

@media (max-width: 820px) {
  .account-recovery-shell {
    padding: 24px 14px;
  }

  .account-recovery-layout {
    grid-template-columns: 1fr;
  }

  .account-recovery-summary {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .account-recovery-actions {
    grid-template-columns: 1fr;
  }
}

.login-layout {
  grid-template-columns: minmax(0, 520px);
  max-width: 680px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.login-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b122f;
}

.login-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 900ms ease, transform 10500ms cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  will-change: opacity, transform;
}

.login-bg-layer.is-active {
  opacity: 1;
  transform: scale(1.055);
}

.login-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(9, 20, 48, 0.62), rgba(27, 31, 72, 0.34));
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .login-bg-layer,
  .welcome-hero-image-layer {
    transition: none;
    transform: none;
  }

  .login-bg-layer.is-active,
  .welcome-hero-image-layer.is-active {
    transform: none;
  }
}

.login-story-panel {
  background:
    linear-gradient(160deg, rgba(10, 20, 62, 0.9), rgba(33, 150, 243, 0.62)),
    url("./assets/categories/plumbing.png") center / cover;
}

.login-card-modern {
  align-self: center;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: none !important;
}

.login-card-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.login-card-head h1 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.02;
}

.login-card-head p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.login-card-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #635bff, #2196f3);
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.24);
  font-size: 1.15rem;
  font-weight: 950;
}

.login-submit-btn {
  margin-top: 6px;
}

.login-create-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.auth-create-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #4f46e5;
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 55%, #eef2ff 100%);
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.14);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.auth-create-account:hover {
  transform: translateY(-2px);
  border-color: #a5b4fc;
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.2);
}

.auth-create-account:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.12);
}

.auth-create-account:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.25);
  outline-offset: 3px;
}

.login-role-grid {
  margin-top: 22px;
}

.login-form-grid {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.login-security-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--info-border);
  border-radius: 16px;
  color: var(--info-text);
  background: var(--info-bg);
}

.login-security-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 850;
}

.login-security-strip i {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.auth-form-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--error-border);
  border-radius: 18px;
  color: var(--error-text);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.62), transparent 12rem),
    var(--error-bg);
  box-shadow: 0 14px 34px rgba(127, 29, 29, 0.08);
}

.auth-form-alert[hidden] {
  display: none;
}

.auth-form-alert[data-tone="info"] {
  color: var(--info-text);
  border-color: var(--info-border);
  background: var(--info-bg);
  box-shadow: 0 14px 34px rgba(36, 59, 122, 0.08);
}

.auth-form-alert[data-tone="success"] {
  color: var(--success-text);
  border-color: var(--success-border);
  background: var(--success-bg);
  box-shadow: 0 14px 34px rgba(7, 95, 73, 0.08);
}

.auth-form-alert i {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

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

.auth-form-alert strong {
  font-size: 0.95rem;
  font-weight: 1000;
}

.auth-form-alert small {
  margin-top: 4px;
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.45;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  color: var(--navy);
  font-weight: 900;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 140, 111, 0.12);
}

.password-field {
  position: relative;
  width: 100%;
}

.password-field input {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--button-border) 68%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 42%, var(--button-border));
  background: rgba(99, 91, 255, 0.09);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--button-focus);
  outline-offset: 1px;
}

.password-toggle:active {
  transform: translateY(-50%) scale(0.96);
}

.password-toggle i {
  width: 18px;
  height: 18px;
}

:root[data-theme="dark"] .password-toggle {
  color: var(--muted);
}

:root[data-theme="dark"] .password-toggle:hover,
:root[data-theme="dark"] .password-toggle:focus-visible {
  color: #c4b5fd;
  background: rgba(196, 181, 253, 0.14);
}

.category-select-shell {
  display: grid;
  gap: 8px;
}

.category-select-shell .category-search-control {
  min-width: 0;
}

.category-select-shell .category-search-control span {
  display: none;
}

.category-select-shell .category-search-control .category-suggestions span {
  display: grid;
}

.category-select-shell .category-search-control .category-suggestions small {
  display: block;
}

.category-select-shell .category-search-control input {
  min-height: 42px;
  border-radius: 12px;
  background: #f8faff;
}

.category-select-shell select {
  min-height: 48px;
  border-color: #dfe4ff;
  border-radius: 12px;
  color: var(--navy);
  background: #ffffff;
  font-weight: 800;
}

.category-selected-description {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.category-selected-description[hidden] {
  display: none;
}

.category-select-shell optgroup {
  color: #007663;
  font-weight: 950;
}

.category-select-shell option {
  color: #151822;
  font-weight: 700;
}

.provider-category-picker {
  position: relative;
  display: grid;
  gap: 10px;
}

.provider-category-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 32px;
}

.provider-category-selected span,
.provider-category-selected em {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.78rem;
  font-weight: 900;
}

.provider-category-selected span {
  color: #3f36db;
  border: 1px solid rgba(99, 91, 255, 0.18);
  background: #f3f5ff;
}

.provider-category-selected em {
  color: #7a839c;
  border: 1px dashed #ccd5f2;
  background: #ffffff;
  font-style: normal;
}

.provider-category-search-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  border: 1px solid #dbe3ff;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 42, 99, 0.04);
  overflow: hidden;
}

.provider-category-search-row > [data-icon] {
  margin-left: 16px;
  color: #1a2444;
}

.provider-category-search-row input {
  min-height: 56px;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: #17213d;
  background: transparent;
  font-weight: 820;
}

.provider-profile-card .provider-category-search-row input,
.provider-profile-card .provider-category-search-row input:focus {
  min-height: 56px;
  border: 0;
  border-radius: 0;
  padding: 0 12px;
  background: transparent;
  box-shadow: none;
}

.provider-category-toggle {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #3f36db;
  background: transparent;
  border-left: 1px solid #edf1ff;
}

.provider-category-toggle [data-icon] {
  transition: transform 160ms ease;
}

.provider-category-toggle[aria-expanded="true"] [data-icon] {
  transform: rotate(180deg);
}

.provider-category-toggle:hover {
  background: #f4f6ff;
}

.provider-category-menu {
  display: grid;
  gap: 14px;
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  border: 1px solid #dbe3ff;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(31, 42, 99, 0.12);
}

.provider-category-menu[hidden] {
  display: none !important;
}

.provider-category-group[hidden],
.provider-category-option[hidden],
.provider-category-menu .category-empty[hidden] {
  display: none !important;
}

.provider-category-group {
  display: grid;
  gap: 9px;
}

.provider-category-group > strong {
  color: #56617d;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.provider-category-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #e1e7ff;
  border-radius: 14px;
  color: #18213f;
  background: #fbfcff;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
}

.provider-category-option:hover,
.provider-category-option.is-selected {
  border-color: rgba(99, 91, 255, 0.48);
  background: #f1f3ff;
}

.provider-category-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #635bff;
}

.provider-profile-card .provider-category-option input,
.provider-profile-card .provider-category-option input:focus {
  width: 17px;
  height: 17px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}

.provider-category-count {
  color: #5f55ff;
  font-weight: 950;
}

.provider-service-city-field {
  position: relative;
  overflow: visible;
  z-index: 8;
}

.provider-service-city-picker {
  position: relative;
  display: grid;
  gap: 10px;
  overflow: visible;
}

.provider-city-search-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 58px;
  border: 1px solid #dbe3ff;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 42, 99, 0.04);
  overflow: hidden;
}

.provider-city-search-control [data-icon] {
  margin-left: 16px;
  color: #4f46e5;
}

.provider-profile-card .provider-city-search-control input,
.provider-profile-card .provider-city-search-control input:focus {
  min-height: 56px;
  border: 0;
  border-radius: 0;
  padding: 0 14px;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.provider-city-suggestions {
  position: absolute;
  z-index: 30;
  top: 68px;
  right: 0;
  left: 0;
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding: 10px;
  border: 1px solid #dbe3ff;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 58px rgba(31, 42, 99, 0.16);
}

.provider-city-suggestions[hidden] {
  display: none !important;
}

.provider-city-suggestion {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #eef2ff;
  border-radius: 15px;
  color: #17213d;
  background: #fbfcff;
  text-align: left;
}

.provider-city-suggestion:hover,
.provider-city-suggestion:focus-visible {
  border-color: rgba(99, 91, 255, 0.5);
  background: #f3f5ff;
  transform: translateY(-1px);
}

.provider-city-suggestion [data-icon] {
  color: #4f46e5;
}

.provider-city-suggestion strong,
.provider-city-suggestion small {
  display: block;
}

.provider-city-suggestion strong {
  font-weight: 950;
}

.provider-city-suggestion small {
  margin-top: 2px;
  color: #67728e;
  font-size: 0.78rem;
  font-weight: 780;
}

.provider-city-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 34px;
}

.provider-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 9px 0 12px;
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 999px;
  color: #3f36db;
  background: #f3f5ff;
  font-size: 0.8rem;
  font-weight: 950;
}

.provider-city-chip button {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #ffffff;
  background: #5f55ff;
  font-size: 0.78rem;
  line-height: 1;
}

.provider-city-chip-list.is-readonly .provider-city-chip {
  padding-right: 12px;
}

.provider-city-empty {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px dashed #c7d0ec;
  border-radius: 999px;
  color: #78829e;
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 850;
}

.provider-city-warning {
  color: #6b5b00;
  font-weight: 850;
}

.provider-city-status {
  min-height: 18px;
  color: #78829e;
  font-weight: 820;
}

.provider-city-status.is-ok {
  color: #047857;
}

.provider-city-status.is-warn {
  color: #b42318;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 24px;
}

.step {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.step::before {
  content: "";
  height: 6px;
  border-radius: 999px;
  background: #dbe5ec;
}

.step.is-active {
  color: var(--green-strong);
}

.step.is-active::before {
  background: var(--green);
}

.subscription-overview-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: stretch;
}

.subscription-current-card,
.subscription-preview-card,
.subscription-plans-panel,
.admin-subscription-board {
  position: relative;
  overflow: hidden;
  border-color: #dce3ff;
  background:
    radial-gradient(circle at 12% 8%, rgba(99, 91, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 100% 0%, rgba(57, 126, 255, 0.14), transparent 16rem),
    linear-gradient(135deg, #ffffff, #f7f9ff);
}

.subscription-current-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(55, 63, 126, 0.16);
}

.subscription-current-card h2,
.subscription-preview-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.subscription-preview-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(55, 63, 126, 0.12);
}

.subscription-preview-card .lock-card {
  border-color: rgba(99, 91, 255, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.subscription-page-head {
  align-items: center;
}

.subscription-status-overview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(99, 91, 255, 0.14), transparent 16rem),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.subscription-status-overview.is-success {
  border-color: var(--success-border);
  background:
    radial-gradient(circle at 8% 0%, rgba(34, 197, 94, 0.14), transparent 16rem),
    var(--success-bg);
}

.subscription-status-overview.is-warning {
  border-color: var(--warning-border);
  background:
    radial-gradient(circle at 8% 0%, rgba(245, 158, 11, 0.16), transparent 16rem),
    var(--warning-bg);
}

.subscription-status-overview.is-error {
  border-color: var(--error-border);
  background:
    radial-gradient(circle at 8% 0%, rgba(239, 68, 68, 0.14), transparent 16rem),
    var(--error-bg);
}

.subscription-status-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--primary);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.subscription-status-icon svg {
  width: 24px;
  height: 24px;
}

.subscription-status-overview h2 {
  margin: 8px 0 4px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.subscription-status-overview p,
.subscription-status-plan span {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.subscription-status-plan {
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.subscription-main-stack {
  display: grid;
  gap: 18px;
}

.subscription-plan-card,
.subscription-feature-card,
.subscription-support-card {
  background:
    radial-gradient(circle at 10% 0%, rgba(99, 91, 255, 0.1), transparent 16rem),
    var(--surface);
}

.subscription-price-line {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 10px 0 18px;
}

.subscription-price-line strong {
  color: var(--primary);
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.subscription-price-line span {
  color: var(--muted);
  font-weight: 900;
}

.subscription-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.subscription-detail-grid div {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.subscription-detail-grid strong {
  color: var(--text);
  font-size: 0.83rem;
}

.subscription-detail-grid span {
  color: var(--muted);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.subscription-actions {
  flex-wrap: wrap;
  margin-top: 18px;
}

.admin-stripe-records-panel {
  margin-top: 16px;
}

.admin-stripe-records-panel td:nth-child(4) {
  max-width: 300px;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
}

.subscription-actions button {
  flex: 1 1 180px;
}

.subscription-feature-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subscription-feature-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
  background: var(--surface-soft);
  font-weight: 850;
}

.subscription-feature-grid svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--primary);
}

.subscription-card-actions {
  margin-top: 16px;
}

.subscription-card-actions button {
  width: 100%;
}

.subscription-support-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
}

.subscription-support-card > svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.subscription-plans-panel {
  padding: clamp(18px, 3vw, 28px);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(55, 63, 126, 0.12);
}

.premium-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(199, 207, 255, 0.74);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(99, 91, 255, 0.12), transparent 18rem),
    linear-gradient(135deg, #eef4ff, #f5f1ff);
  box-shadow: 0 24px 70px rgba(55, 63, 126, 0.13);
}

.premium-plan-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(170px, 1fr) auto;
  align-content: stretch;
  gap: 16px;
  min-height: 520px;
  padding: clamp(22px, 3vw, 34px);
  color: #20264a;
  border: 1px solid rgba(145, 162, 255, 0.34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.9), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(235, 241, 255, 0.96));
  box-shadow: 0 18px 48px rgba(61, 74, 135, 0.12);
}

.premium-plan-card.is-featured {
  z-index: 1;
  transform: translateY(-10px);
  border-color: rgba(99, 91, 255, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(188, 198, 255, 0.5), transparent 16rem),
    linear-gradient(145deg, #ffffff, #ecefff);
  box-shadow: 0 30px 80px rgba(99, 91, 255, 0.2);
}

.premium-plan-card.is-paused {
  opacity: 0.76;
  filter: saturate(0.75);
}

.premium-plan-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 28px;
}

.premium-plan-topline small {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #4f46ff;
  background: rgba(99, 91, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.premium-plan-card .pill {
  color: #4f46ff;
  border-color: rgba(99, 91, 255, 0.2);
  background: rgba(99, 91, 255, 0.1);
}

.premium-plan-card .pill.red {
  color: #ffdde2;
  border-color: rgba(255, 145, 165, 0.34);
  background: rgba(255, 97, 124, 0.16);
}

.premium-plan-card h2,
.premium-plan-card h3 {
  margin: 0;
  color: #111111;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.premium-plan-card p {
  margin: 0;
  color: #596279;
  line-height: 1.6;
}

.premium-plan-card .price {
  margin: 2px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(99, 91, 255, 0.14);
}

.premium-plan-card .price strong {
  color: #342ee5;
  font-size: clamp(2.15rem, 4.5vw, 3.3rem);
}

.premium-plan-card .price span {
  color: #596279;
  font-weight: 850;
}

.premium-feature-shell {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 10px;
}

.premium-plan-card .feature-list {
  align-self: start;
  gap: 12px;
  margin: 0;
}

.premium-plan-card .feature-list li {
  color: #273052;
  font-size: 0.94rem;
  font-weight: 850;
}

.premium-plan-card .feature-list li::before {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0 20%, transparent 21%),
    linear-gradient(135deg, #9be7ff, #6f7cff);
  box-shadow: 0 0 0 4px rgba(111, 124, 255, 0.1);
}

.plan-more-btn {
  justify-self: start;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  color: #4f46ff;
  border: 1px solid rgba(99, 91, 255, 0.18);
  background: rgba(99, 91, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 950;
}

.premium-plan-card .primary-btn,
.premium-plan-card .secondary-btn {
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
}

.premium-plan-card .primary-btn {
  background: linear-gradient(135deg, #625bff, #8a6fff);
  box-shadow: 0 18px 36px rgba(99, 91, 255, 0.34);
}

.premium-plan-card .secondary-btn {
  color: #3e38d1;
  border-color: rgba(99, 91, 255, 0.2);
  background: rgba(99, 91, 255, 0.08);
}

.admin-plan-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #087157;
  background: #e7f7f1;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-plan-status.is-paused {
  color: #9f2d27;
  background: #ffe9e7;
}

.admin-subscription-board {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #dce3ff;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(55, 63, 126, 0.12);
}

.admin-plan-grid {
  margin-top: 0;
}

.admin-premium-plan-card {
  gap: 14px;
  min-height: 640px;
}

.stripe-plan-setup {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(79, 70, 229, 0.42);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(226, 235, 255, 0.98), rgba(236, 230, 255, 0.98));
}

.stripe-plan-setup.is-ready {
  border-color: rgba(8, 113, 87, 0.42);
  background: linear-gradient(135deg, rgba(218, 250, 239, 0.98), rgba(232, 242, 255, 0.98));
}

.stripe-plan-setup strong {
  color: #151a33;
  font-size: 0.95rem;
  font-weight: 950;
}

.stripe-plan-setup small {
  color: #33405f;
  font-weight: 850;
}

.stripe-plan-setup .field {
  gap: 6px;
}

.stripe-plan-setup .field span {
  color: #27314f;
}

.stripe-plan-setup .field input {
  border-color: rgba(79, 70, 229, 0.32);
  color: #151a33;
  background: #ffffff;
}

.admin-premium-plan-card .field span {
  color: #5f6675;
}

.admin-premium-plan-card .field input,
.admin-premium-plan-card .field textarea {
  color: #111111;
  border-color: rgba(99, 91, 255, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.admin-premium-plan-card .field input:focus,
.admin-premium-plan-card .field textarea:focus {
  border-color: rgba(151, 169, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(131, 146, 255, 0.18);
}

.admin-premium-plan-card .field textarea {
  min-height: 154px;
}

.admin-premium-plan-card .muted {
  color: #596279;
}

.subscription-tools-panel {
  border-color: #dce3ff;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #f8faff);
}

.plan-card.featured {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-color: rgba(15, 140, 111, 0.38);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0;
}

.price strong {
  color: var(--navy);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1;
}

.feature-list,
.clean-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.feature-list li,
.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-list li::before,
.clean-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--green);
}

.lock-card,
.warning-card,
.empty-card {
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.warning-card {
  color: var(--warning-text);
  border-color: var(--warning-border);
  background: var(--warning-bg);
}

.warning-card :is(p, span, small, strong, .muted) {
  color: inherit;
}

.map-card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.54)),
    repeating-linear-gradient(0deg, #dce6ee 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, #dce6ee 0 1px, transparent 1px 34px);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 18px;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 999px;
  color: #ffffff;
  background: var(--navy);
  font-weight: 900;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.avatar.large {
  width: 84px;
  height: 84px;
  font-size: 1.5rem;
}

.profile-hero-avatar {
  border: 4px solid #ffffff;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.14);
}

.profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.provider-public-profile-card .profile-hero {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.provider-public-profile-card .profile-hero > div:not(.provider-public-profile-actions) {
  min-width: 0;
}

.provider-public-profile-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), max-content));
  justify-content: start;
  align-items: stretch;
  width: 100%;
}

.provider-public-profile-actions > * {
  max-width: 100%;
  min-height: 48px;
  white-space: normal;
}

.provider-contact-locked {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.88rem;
  font-weight: 850;
}

.provider-contact-locked svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 760px) {
  .provider-public-profile-card .profile-hero {
    justify-items: start;
  }

  .provider-public-profile-actions {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
  }

  .provider-public-profile-actions > * {
    width: 100%;
  }
}

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

.gallery div {
  min-height: 120px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 37, 63, 0.18), rgba(15, 140, 111, 0.26)),
    var(--surface-soft);
}

.job-photo-gallery {
  width: min(190px, 100%);
  margin-top: 16px;
}

.job-photo-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.job-image-thumb-button {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  cursor: zoom-in;
}

.job-image-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, opacity 160ms ease;
}

.job-image-thumb-button:hover .job-image-thumb,
.job-image-thumb-button:focus-visible .job-image-thumb {
  transform: scale(1.025);
}

.job-image-thumb-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 70%, #ffffff);
  outline-offset: -3px;
}

.job-image-carousel-control,
.job-image-lightbox-close,
.job-image-lightbox-control {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.job-image-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  min-height: 34px;
  transform: translateY(-50%);
}

.job-image-carousel-control.is-prev {
  left: 8px;
}

.job-image-carousel-control.is-next {
  right: 8px;
}

.job-image-carousel-control [data-icon],
.job-image-lightbox-close [data-icon],
.job-image-lightbox-control [data-icon] {
  width: 18px;
  height: 18px;
}

.job-image-counter,
.job-image-lightbox-counter {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  font-size: 0.72rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.job-image-counter {
  right: 9px;
  bottom: 9px;
}

body.job-image-lightbox-open {
  overflow: hidden;
}

.job-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 28px);
  background: rgba(2, 6, 23, 0.84);
  backdrop-filter: blur(8px);
  animation: job-image-lightbox-fade 160ms ease both;
}

.job-image-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 86vh;
  display: grid;
  place-items: center;
  border-radius: 20px;
  animation: job-image-lightbox-scale 180ms ease both;
}

.job-image-lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #0b0f17;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.job-image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 42px;
  height: 42px;
  min-height: 42px;
}

.job-image-lightbox-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  min-height: 46px;
  transform: translateY(-50%);
}

.job-image-lightbox-control.is-prev {
  left: 12px;
}

.job-image-lightbox-control.is-next {
  right: 12px;
}

.job-image-lightbox-counter {
  right: 14px;
  bottom: 14px;
}

.job-image-carousel-control:hover,
.job-image-carousel-control:focus-visible,
.job-image-lightbox-close:hover,
.job-image-lightbox-close:focus-visible,
.job-image-lightbox-control:hover,
.job-image-lightbox-control:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(30, 41, 59, 0.96);
}

@keyframes job-image-lightbox-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes job-image-lightbox-scale {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 520px) {
  .job-photo-gallery {
    width: min(190px, 62vw);
  }

  .job-image-lightbox {
    padding: 12px;
  }

  .job-image-lightbox-content,
  .job-image-lightbox-img {
    max-width: calc(100vw - 24px);
  }

  .job-image-lightbox-img {
    max-height: 76vh;
  }

  .job-image-lightbox-control {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .job-image-lightbox-control.is-prev {
    left: 8px;
  }

  .job-image-lightbox-control.is-next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-image-thumb,
  .job-image-lightbox,
  .job-image-lightbox-content {
    animation: none;
    transition: none;
  }
}

.job-photo-status {
  margin-top: 16px;
}

.portfolio-profile-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

.portfolio-profile-head h2 {
  margin: 0;
}

.provider-project-gallery {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.provider-project-gallery.is-compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.provider-project-gallery.is-tile-grid {
  grid-template-columns: repeat(auto-fill, minmax(144px, 144px));
  align-items: start;
}

.provider-project-tile {
  position: relative;
  width: 144px;
  min-height: 144px;
  border: 1px solid rgba(99, 91, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.92), transparent 48%),
    linear-gradient(135deg, #f8faff, #efeaff);
  box-shadow: 0 16px 34px rgba(31, 42, 99, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.provider-project-tile:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(99, 91, 255, 0.46);
  box-shadow: 0 22px 48px rgba(31, 42, 99, 0.18);
}

.provider-project-tile > button:first-child {
  width: 100%;
  min-height: 144px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #11162f;
  text-align: left;
  cursor: pointer;
}

.provider-project-tile-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #e4e9ff, #d9f6ef);
}

.provider-project-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-project-tile strong {
  overflow: hidden;
  color: #11162f;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.provider-project-tile small {
  color: #5b52ff;
  font-size: 0.72rem;
  font-weight: 900;
}

.danger-mini {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 5px 8px;
  border-color: #ffd2d2;
  color: #9a1c1c;
  background: #fff3f3;
}

.provider-project-card {
  overflow: hidden;
  display: grid;
  border: 1px solid rgba(99, 91, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.08), transparent 12rem),
    #ffffff;
  box-shadow: 0 22px 58px rgba(31, 42, 99, 0.12);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.provider-project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 91, 255, 0.34);
  box-shadow: 0 28px 70px rgba(31, 42, 99, 0.16);
}

.provider-project-media {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 9px;
  min-height: 190px;
  padding: 10px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.85), transparent 42%),
    linear-gradient(135deg, rgba(231, 236, 255, 0.95), rgba(232, 248, 255, 0.95));
}

.provider-project-media.media-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.provider-project-media.media-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-media-tile {
  display: grid;
  place-items: center;
  min-height: 158px;
  overflow: hidden;
  border-radius: 16px;
  color: #4e47ff;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.9), transparent 45%),
    linear-gradient(135deg, #dfe6ff, #c8f0e4);
}

.project-media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media-tile.is-youtube {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
  min-height: 178px;
  background: #f6f8ff;
}

.project-media-tile iframe,
.provider-profile-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.project-media-tile a {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #4f46ff;
  text-decoration: none;
  font-weight: 900;
}

.project-media-tile [data-icon] {
  width: 34px;
  height: 34px;
}

.provider-project-copy {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.provider-project-card.is-public .provider-project-copy {
  gap: 14px;
  padding: clamp(16px, 3vw, 22px);
}

.provider-project-card.is-public .project-media-tile {
  min-width: 0;
  min-height: 0;
  height: clamp(180px, 22vw, 260px);
}

.provider-project-card.is-public .provider-project-media.media-count-1 .project-media-tile {
  height: clamp(220px, 30vw, 360px);
}

.provider-project-card.is-public .project-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.provider-project-card.is-public .project-meta-row span {
  min-width: 0;
  min-height: 42px;
  justify-content: center;
  text-align: center;
}

.provider-project-copy h3 {
  margin: 0;
  color: #11162f;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 950;
  line-height: 1.08;
}

.provider-project-copy p {
  margin: 0;
  color: #596581;
  font-weight: 720;
  line-height: 1.55;
}

.project-manage-actions {
  justify-content: flex-end;
  padding-top: 4px;
}

.project-meta-row,
.project-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-meta-row span,
.project-file-list small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid #e3e8ff;
  border-radius: 999px;
  color: #546079;
  background: #fbfcff;
  font-size: 0.78rem;
  font-weight: 850;
}

.project-meta-row [data-icon] {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.provider-project-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 24px;
  border: 1px dashed #cfd8ff;
  border-radius: 18px;
  color: var(--muted);
  background: #f8faff;
  text-align: center;
}

.provider-project-empty [data-icon] {
  width: 32px;
  height: 32px;
  color: #5b52ff;
}

.provider-project-empty strong {
  color: var(--navy);
}

.project-live-preview {
  border: 1px solid #d9e1ff;
  border-radius: 20px;
  background: linear-gradient(135deg, #fbfdff, #f5f1ff);
  overflow: hidden;
}

.project-preview-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.project-preview-card h3 {
  margin: 6px 0 4px;
  color: #11162f;
  font-size: 1.2rem;
  font-weight: 950;
}

.project-preview-card p {
  margin: 0;
  color: #596581;
  font-weight: 750;
}

.project-preview-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.project-preview-media span {
  display: grid;
  place-items: center;
  min-height: 96px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #e5ebff, #ddf7ef);
}

.project-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-preview-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #eef3ff;
}

.project-preview-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #d8e0ff;
  border-radius: 14px;
  background: #fbfdff;
  color: #263452;
  font-size: 0.9rem;
  font-weight: 850;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #635bff;
}

.provider-profile-video {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.provider-profile-video iframe {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(31, 42, 99, 0.1);
}

.provider-social-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.provider-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #e0e6ff;
  border-radius: 14px;
  color: #18224d;
  background:
    linear-gradient(135deg, #ffffff, #f7f9ff);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(31, 42, 99, 0.06);
}

.provider-social-link:hover {
  border-color: #8a92ff;
  color: #4f46ff;
}

.pn-chat-app {
  display: grid;
  gap: 18px;
}

.pn-chat-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.pn-chat-page-head h1 {
  margin: 7px 0 0;
}

.pn-chat-unread-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d8e5ff;
  border-radius: 999px;
  color: #516078;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(36, 69, 118, 0.08);
}

.pn-chat-unread-pill.has-unread {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #1769ff, #17b8a6);
}

.pn-chat-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.65fr);
  gap: 18px;
  align-items: start;
}

.pn-chat-inbox,
.pn-chat-conversation {
  overflow: hidden;
  border: 1px solid #dbe7ff;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(27, 45, 96, 0.1);
}

.pn-chat-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid #e7edff;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.pn-chat-search [data-icon] {
  color: #1769ff;
}

.pn-chat-search input {
  min-height: 44px;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  padding: 0 14px;
  color: #13213d;
  background: #f8fbff;
  font-weight: 800;
}

.pn-chat-list {
  display: grid;
  align-content: start;
  max-height: 690px;
  overflow-y: auto;
}

.pn-chat-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 96px;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid #edf2ff;
  color: inherit;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pn-chat-card:hover,
.pn-chat-card.is-active {
  background: linear-gradient(135deg, #f7fbff, #eef7ff);
}

.pn-chat-card:hover {
  transform: translateY(-1px);
  box-shadow: inset 4px 0 0 rgba(23, 105, 255, 0.28);
}

.pn-chat-card.is-active {
  box-shadow: inset 4px 0 0 #17b8a6;
}

.pn-chat-card-main,
.pn-chat-card-meta,
.pn-chat-message-stack,
.pn-chat-head-copy {
  min-width: 0;
}

.pn-chat-card-main {
  display: grid;
  gap: 10px;
  align-content: center;
}

.pn-chat-card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.pn-chat-card-row strong {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #101828;
  font-size: 1.05rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pn-chat-card-row .hired-status-badge {
  flex: 0 0 auto;
}

.pn-chat-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.pn-chat-card-row small,
.pn-chat-preview,
.pn-chat-job-link {
  overflow: hidden;
  color: #657188;
  font-size: 0.8rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pn-chat-job-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f766e;
  font-size: 0.92rem;
  font-weight: 950;
}

.pn-chat-job-link [data-icon],
.pn-chat-job-link [data-lucide] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.pn-chat-card-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.pn-chat-card-meta b {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #635bff, #1769ff);
  box-shadow: 0 10px 22px rgba(99, 91, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 950;
}

.pn-role-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #155e75;
  background: #e6fbff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.pn-chat-avatar {
  --pn-chat-avatar-size: 54px;
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 var(--pn-chat-avatar-size);
  width: var(--pn-chat-avatar-size);
  height: var(--pn-chat-avatar-size);
  min-width: var(--pn-chat-avatar-size);
  min-height: var(--pn-chat-avatar-size);
  max-width: var(--pn-chat-avatar-size);
  max-height: var(--pn-chat-avatar-size);
  aspect-ratio: 1 / 1;
  overflow: visible;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #1769ff, #17b8a6);
  box-shadow: 0 12px 26px rgba(23, 105, 255, 0.18);
}

.pn-chat-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.pn-chat-avatar strong {
  color: #ffffff;
  font-weight: 950;
}

.pn-chat-avatar em {
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 13px;
  height: 13px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #98a2b3;
}

.pn-chat-avatar.is-online em {
  background: #16a34a;
}

.pn-chat-card-avatar {
  --pn-chat-avatar-size: 64px;
}

.pn-chat-head-avatar {
  --pn-chat-avatar-size: 56px;
}

.profile-avatar-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar-title h2,
.profile-avatar-title p {
  margin: 0;
}

.pn-chat-message-avatar {
  --pn-chat-avatar-size: 36px;
  font-size: 0.72rem;
}

.pn-chat-conversation-head {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2ff;
  background: #ffffff;
}

.pn-chat-back {
  display: none;
}

.pn-chat-head-copy {
  display: grid;
  gap: 4px;
}

.pn-chat-head-copy strong {
  overflow: hidden;
  color: #101828;
  font-size: 1.08rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pn-chat-head-copy span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 900;
}

.pn-chat-head-copy small {
  overflow: hidden;
  color: #667085;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pn-chat-head-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pn-chat-job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px;
  padding: 14px;
  border: 1px solid #dbe7ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #f0fffb);
  box-shadow: 0 16px 34px rgba(17, 105, 125, 0.08);
}

.pn-chat-job-card h2 {
  margin: 4px 0 4px;
  color: #101828;
  font-size: 1rem;
  font-weight: 950;
}

.pn-chat-job-card p {
  margin: 0;
  color: #667085;
  font-size: 0.86rem;
  font-weight: 800;
}

.pn-chat-job-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.pn-status-chip {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.pn-status-chip.is-open {
  color: var(--success-text);
  background: var(--success-bg);
}

.pn-status-chip.is-assigned {
  color: var(--info-text);
  background: var(--info-bg);
}

.pn-status-chip.is-completed {
  color: var(--badge-text);
  background: var(--badge-bg);
}

.pn-status-chip.is-closed {
  color: var(--warning-text);
  background: var(--warning-bg);
}

.pn-chat-safety-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  color: var(--success-text);
  background: var(--success-bg);
  border-top: 1px solid var(--success-border);
  border-bottom: 1px solid var(--success-border);
  font-size: 0.84rem;
  font-weight: 900;
}

.pn-chat-safety-note.is-paused {
  color: var(--warning-text);
  background: var(--warning-bg);
  border-color: var(--warning-border);
}

.pn-chat-message-list {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 420px;
  max-height: 54vh;
  overflow-y: auto;
  padding: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(23, 105, 255, 0.08), transparent 32%),
    #f7f9fc;
}

.pn-chat-message-row {
  display: flex;
  gap: 9px;
  align-items: flex-end;
}

.pn-chat-message-row.is-mine {
  justify-content: flex-end;
}

.pn-chat-message-stack {
  display: grid;
  gap: 4px;
  max-width: min(72%, 460px);
}

.pn-chat-message-row.is-mine .pn-chat-message-stack {
  justify-items: end;
}

.pn-chat-bubble {
  padding: 11px 14px;
  border: 1px solid #e5edff;
  border-radius: 20px 20px 20px 6px;
  color: #101828;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(24, 45, 91, 0.08);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.45;
}

.pn-chat-message-row.is-mine .pn-chat-bubble {
  border-color: transparent;
  border-radius: 20px 20px 6px 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #1769ff, #17b8a6);
  box-shadow: 0 14px 28px rgba(23, 105, 255, 0.22);
}

.pn-chat-message-row.is-blocked .pn-chat-bubble {
  border-color: var(--error-border);
  color: var(--error-text);
  background: var(--error-bg);
}

.pn-chat-message-stack small {
  color: #76839a;
  font-size: 0.72rem;
  font-weight: 900;
}

.pn-chat-warning-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 14px;
  padding: 14px;
  border: 1px solid var(--error-border);
  border-radius: 18px;
  color: var(--error-text);
  background: var(--error-bg);
}

.pn-chat-warning-card strong {
  display: block;
  font-weight: 950;
}

.pn-chat-warning-card p {
  margin: 3px 0 0;
  color: inherit;
  font-weight: 800;
}

.pn-chat-attachment-panel {
  margin: 14px;
  padding: 14px;
  border: 1px solid #dbe7ff;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(27, 45, 96, 0.08);
}

.pn-chat-attachment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pn-chat-attachment-head strong {
  color: #101828;
  font-weight: 950;
}

.pn-chat-attachment-head span {
  color: #667085;
  font-size: 0.8rem;
  font-weight: 800;
}

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

.pn-chat-attachment-grid button {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 12px;
  border: 1px solid #dbe7ff;
  border-radius: 16px;
  color: #13213d;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  text-align: left;
}

.pn-chat-attachment-grid button:hover,
.pn-chat-attachment-grid button.is-selected {
  border-color: #17b8a6;
  box-shadow: 0 14px 30px rgba(23, 184, 166, 0.12);
  transform: translateY(-1px);
}

.pn-chat-attachment-grid small {
  color: #667085;
  font-weight: 750;
}

.pn-chat-composer {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-top: 1px solid #edf2ff;
  background: #ffffff;
}

.pn-chat-composer input {
  min-height: 48px;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  padding: 0 16px;
  color: #101828;
  background: #f8fbff;
  font-weight: 800;
}

.pn-chat-send-btn {
  display: inline-grid;
  place-items: center;
  min-width: 84px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #1769ff, #17b8a6);
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(23, 105, 255, 0.2);
}

.pn-chat-composer button:disabled,
.pn-chat-composer input:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.pn-chat-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(15, 23, 42, 0.24);
}

.pn-chat-options-sheet {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 8px;
  width: min(430px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid #dbe7ff;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 90px rgba(10, 29, 61, 0.22);
  transform: translateX(-50%);
}

.pn-chat-sheet-handle {
  justify-self: center;
  width: 46px;
  height: 4px;
  margin: 2px 0 4px;
  border-radius: 999px;
  background: #ccd7ef;
}

.pn-chat-options-sheet button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 12px;
  color: #13213d;
  background: #f8fbff;
  font-weight: 950;
}

.pn-chat-options-sheet button:hover {
  background: #eef7ff;
}

.pn-chat-options-sheet button.danger,
.pn-chat-warning-card .danger {
  color: #b42318;
  background: #fff1f2;
}

.pn-chat-empty-screen,
.pn-chat-list-empty,
.pn-chat-conversation-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 42px 22px;
  text-align: center;
}

.pn-chat-empty-screen {
  min-height: 480px;
  border: 1px solid #dbe7ff;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f4fbff);
  box-shadow: 0 24px 64px rgba(27, 45, 96, 0.1);
}

.pn-chat-empty-illustration {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 32px;
  color: #1769ff;
  background: linear-gradient(135deg, #eaf2ff, #e7fffb);
}

.pn-chat-empty-illustration [data-icon] {
  width: 42px;
  height: 42px;
}

.pn-chat-empty-screen h2 {
  margin: 6px 0 0;
  color: #101828;
}

.pn-chat-empty-screen p,
.pn-chat-list-empty span,
.pn-chat-conversation-empty span {
  margin: 0;
  color: #667085;
  font-weight: 800;
}

.rating-row {
  display: flex;
  gap: 6px;
  margin: 10px 0 16px;
}

.star {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #f1d28b;
  border-radius: var(--radius);
  color: #a76a00;
  background: #fff6df;
  font-weight: 900;
}

.review-row {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dfe6ff;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 35px rgba(41, 61, 122, 0.08);
}

.review-row + .review-row {
  margin-top: 12px;
}

.review-row strong {
  color: #13192f;
  font-weight: 900;
}

.review-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.provider-review-history {
  overflow: hidden;
}

.provider-review-history-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.provider-review-history .review-row {
  align-content: start;
  min-width: 0;
  min-height: 132px;
  margin: 0;
  padding: 20px;
}

.provider-review-history .review-row + .review-row {
  margin-top: 0;
}

.provider-review-history .review-row strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  line-height: 1.35;
}

.provider-review-history .review-row strong [data-icon] {
  width: 18px;
  height: 18px;
  color: #d97706;
  fill: rgba(245, 158, 11, 0.15);
}

.provider-review-history .review-row p {
  overflow-wrap: anywhere;
  line-height: 1.55;
}

:root[data-theme="dark"] .provider-review-history .review-row {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 75, 62, 0.08), transparent 12rem),
    linear-gradient(145deg, #191e27 0%, #12171e 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .provider-review-history .review-row strong {
  color: #f8fafc;
}

:root[data-theme="dark"] .provider-review-history .review-row strong [data-icon] {
  color: #fbbf24;
  fill: rgba(251, 191, 36, 0.16);
}

:root[data-theme="dark"] .provider-review-history .review-row p {
  color: #c4ccd8;
}

@media (max-width: 900px) {
  .provider-review-history-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .provider-review-history .review-row {
    min-height: 0;
    padding: 16px;
  }
}

/* Welcome Star Providers: show services in a spacious wrapping disclosure. */
.welcome-page .uc-featured-provider-card {
  overflow: visible;
}

.welcome-page .uc-featured-provider-card:has(.provider-category-disclosure:hover),
.welcome-page .uc-featured-provider-card:has(.provider-category-disclosure:focus-within),
.welcome-page .uc-featured-provider-card:has(.provider-category-disclosure.is-expanded) {
  z-index: 80;
  transform: none;
}

.welcome-page .uc-featured-provider-categories .provider-category-popover {
  top: calc(100% + 10px);
  right: auto;
  bottom: auto;
  left: 0;
  width: min(520px, calc(100vw - 48px));
  max-height: none;
  padding: 18px 20px 20px;
  overflow: visible;
  border-radius: 18px;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
}

.welcome-page .uc-featured-provider-card:nth-child(n + 4) .uc-featured-provider-categories .provider-category-popover {
  right: 0;
  left: auto;
  transform-origin: top right;
}

.welcome-page .uc-featured-provider-categories:hover .provider-category-popover,
.welcome-page .uc-featured-provider-categories .provider-category-trigger:focus-visible + .provider-category-popover,
.welcome-page .uc-featured-provider-categories.is-expanded .provider-category-popover {
  transform: translateY(0) scale(1);
}

.welcome-page .uc-featured-provider-categories .provider-category-popover > strong {
  margin-bottom: 14px;
  font-size: 0.82rem;
}

.welcome-page .uc-featured-provider-categories .provider-category-popover .provider-category-pills {
  gap: 10px;
}

.welcome-page .uc-featured-provider-categories .provider-category-popover .provider-category-pill {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.84rem;
  line-height: 1.2;
  white-space: normal;
}

@media (max-width: 1100px) {
  .welcome-page .uc-featured-provider-categories .provider-category-popover,
  .welcome-page .uc-featured-provider-card:nth-child(n + 4) .uc-featured-provider-categories .provider-category-popover {
    position: fixed;
    inset: 50dvh 16px auto 16px;
    z-index: 140;
    width: auto;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    transform: translateY(calc(-50% + 12px)) scale(0.98);
    transform-origin: center;
  }

  .welcome-page .uc-featured-provider-categories .provider-category-popover::-webkit-scrollbar {
    display: none;
  }

  .welcome-page .uc-featured-provider-categories:hover .provider-category-popover,
  .welcome-page .uc-featured-provider-categories .provider-category-trigger:focus-visible + .provider-category-popover,
  .welcome-page .uc-featured-provider-categories.is-expanded .provider-category-popover {
    transform: translateY(-50%) scale(1);
  }
}

.seeker-review-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.seeker-profile-page .review-row {
  gap: 10px;
  min-width: 0;
  padding: 20px;
}

.seeker-profile-page .review-row small {
  color: #667085;
  font-weight: 700;
  line-height: 1.45;
}

.seeker-profile-page .review-row > .secondary-btn {
  justify-self: start;
  width: auto;
  min-width: 132px;
  min-height: 42px;
  margin-top: 4px;
  padding: 9px 18px;
}

:root[data-theme="dark"] .seeker-profile-page .review-row {
  border-color: #303846;
  background: linear-gradient(145deg, #191e27 0%, #12171e 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .seeker-profile-page .review-row strong {
  color: #f7f8fb;
}

:root[data-theme="dark"] .seeker-profile-page .review-row p {
  color: #cbd2dc;
}

:root[data-theme="dark"] .seeker-profile-page .review-row small {
  color: #98a3b3;
}

:root[data-theme="dark"] .seeker-profile-page .review-row > .secondary-btn {
  border-color: #3a4658;
  color: #f7f8fb;
  background: #202631;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .seeker-profile-page .review-row > .secondary-btn:hover {
  border-color: #ff6559;
  background: #282e39;
}

@media (max-width: 760px) {
  .seeker-review-list {
    grid-template-columns: 1fr;
  }

  .seeker-profile-page .review-row {
    padding: 16px;
  }

  .seeker-profile-page .review-row > .secondary-btn {
    width: 100%;
  }
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 74px);
}

.admin-sidebar {
  position: sticky;
  top: 74px;
  align-self: start;
  height: calc(100vh - 74px);
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #0f2036;
  padding: 16px;
  color: #ffffff;
}

.admin-sidebar .sidebar-title {
  color: rgba(255, 255, 255, 0.58);
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: var(--radius);
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.admin-sidebar a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.admin-sidebar .nav-badge {
  background: rgba(255, 255, 255, 0.2);
}

.admin-main {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

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

.sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-toggle:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.admin-shell.is-sidebar-collapsed {
  grid-template-columns: 66px minmax(0, 1fr);
}

.admin-shell.is-sidebar-collapsed .admin-sidebar {
  padding: 16px 10px;
}

.admin-shell.is-sidebar-collapsed .admin-sidebar .sidebar-title {
  display: none;
}

.admin-shell.is-sidebar-collapsed .sidebar-head {
  justify-content: center;
}

.admin-shell.is-sidebar-collapsed .admin-sidebar a {
  justify-content: center;
  gap: 0;
  padding: 0;
  font-size: 0;
}

.admin-shell.is-sidebar-collapsed .admin-sidebar .nav-badge {
  display: none;
}

.seeker-jobs-groups {
  display: grid;
  gap: 14px;
}

.seeker-jobs-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.seeker-jobs-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  user-select: none;
}

.seeker-jobs-group > summary::-webkit-details-marker {
  display: none;
}

.seeker-jobs-group-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seeker-jobs-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.seeker-jobs-group[open] > summary .seeker-jobs-chevron {
  transform: rotate(90deg);
}

.seeker-jobs-count {
  min-width: 26px;
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.seeker-jobs-group-body {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.seeker-jobs-empty {
  padding: 4px 0 2px;
}

.admin-auth-card {
  display: grid;
  gap: 16px;
  max-width: 620px;
  margin: 6vh auto 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #dfe6ff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.14), transparent 13rem),
    radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.1), transparent 12rem),
    #ffffff;
  box-shadow: 0 24px 70px rgba(15, 32, 54, 0.12);
}

.admin-auth-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
}

.admin-auth-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.admin-auth-card code {
  color: #4f46ff;
  font-weight: 900;
}

.admin-login-form {
  display: grid;
  gap: 14px;
}

.admin-login-field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-forgot-password-link {
  padding: 0;
  border: 0;
  color: var(--primary);
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.admin-forgot-password-link:hover,
.admin-forgot-password-link:focus-visible {
  color: var(--primary-hover);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.admin-forgot-password-link:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-mfa-card {
  max-width: 720px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.admin-shell.admin-auth-shell {
  display: block;
  min-height: calc(100vh - 74px);
  background:
    radial-gradient(circle at 50% 14%, rgba(37, 99, 235, 0.08), transparent 34rem),
    linear-gradient(180deg, #f8fafc 0%, #f4f7fb 100%);
}

body:has(.admin-mfa-challenge-card) > .site-header {
  display: none;
}

body:has(.admin-mfa-challenge-card) .admin-shell.admin-auth-shell,
body:has(.admin-mfa-challenge-card) .admin-auth-shell .admin-main {
  min-height: 100vh;
}

.admin-auth-shell .admin-main {
  display: grid;
  min-height: calc(100vh - 74px);
  max-width: none;
  place-items: center;
  margin: 0;
  padding: clamp(24px, 5vw, 64px);
}

.admin-auth-card.admin-mfa-challenge-card {
  width: min(100%, 820px);
  max-width: 820px;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-color: #dbe4f0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 72px rgba(15, 23, 42, 0.13);
}

.admin-mfa-challenge-body {
  display: grid;
  justify-items: center;
  gap: 26px;
  width: 100%;
  padding: clamp(34px, 6vw, 58px) clamp(24px, 7vw, 72px) 30px;
  text-align: center;
}

.admin-mfa-challenge-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 650px;
}

.admin-mfa-challenge-heading h1 {
  color: #0f2747;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.admin-mfa-challenge-heading p {
  max-width: 610px;
  color: #64748b;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  font-weight: 600;
  line-height: 1.55;
}

.admin-mfa-challenge-card .admin-mfa-icon {
  width: 76px;
  height: 76px;
  border: 1px solid #dbeafe;
  border-radius: 50%;
  color: #2563eb;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

.admin-mfa-challenge-card .admin-mfa-icon [data-icon] {
  width: 38px;
  height: 38px;
  stroke-width: 2.2;
}

.admin-mfa-info-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 560px);
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #e5edf8;
  border-radius: 12px;
  color: #475569;
  background: #f3f7fd;
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-mfa-info-pill [data-icon] {
  width: 19px;
  height: 19px;
  flex: none;
  color: #2563eb;
}

.admin-mfa-code-form {
  display: grid;
  justify-items: center;
  gap: 24px;
  width: 100%;
}

.admin-mfa-code-form .auth-form-alert {
  width: min(100%, 620px);
  text-align: left;
}

.admin-mfa-code-fieldset {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-mfa-digit-grid {
  display: grid;
  grid-template-columns: repeat(6, 70px);
  justify-content: center;
  gap: 16px;
}

.admin-mfa-digit-input {
  width: 70px;
  height: 72px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  outline: none;
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
  font-family: inherit;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  caret-color: #2563eb;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-mfa-digit-input:hover {
  border-color: #94a3b8;
}

.admin-mfa-digit-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), 0 10px 22px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.admin-mfa-digit-input:disabled {
  cursor: wait;
  opacity: 0.82;
}

.admin-mfa-verification-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 620px);
  min-height: 76px;
  padding: 15px 20px;
  border: 1px solid #e3eaf5;
  border-radius: 14px;
  color: #475569;
  background: #f4f7fc;
  text-align: left;
}

.admin-mfa-verification-panel.is-verifying {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.admin-mfa-verification-panel span {
  display: grid;
  gap: 3px;
}

.admin-mfa-verification-panel strong {
  color: #172b4d;
  font-size: 0.98rem;
  font-weight: 800;
}

.admin-mfa-verification-panel small {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-mfa-loading-status {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  visibility: hidden;
}

.admin-mfa-loading-status.is-active {
  visibility: visible;
}

.admin-mfa-loading-icon {
  width: 30px;
  height: 30px;
  color: #2563eb;
  animation: admin-mfa-spin 0.9s linear infinite;
  animation-play-state: paused;
}

.admin-mfa-loading-status.is-active .admin-mfa-loading-icon {
  animation-play-state: running;
}

@keyframes admin-mfa-spin {
  to { transform: rotate(360deg); }
}

.admin-mfa-trust-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 22px clamp(24px, 7vw, 72px);
  border-top: 1px solid #e5e7eb;
  color: #475569;
  background: #fbfcfe;
  text-align: left;
}

.admin-mfa-trust-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #475569;
  background: #f1f5f9;
}

.admin-mfa-trust-icon [data-icon] {
  width: 22px;
  height: 22px;
}

.admin-mfa-trust-footer > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.admin-mfa-trust-footer strong {
  color: #172b4d;
  font-size: 0.94rem;
  font-weight: 800;
}

.admin-mfa-trust-footer small {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 600;
}

.admin-mfa-back-link {
  padding: 8px 0;
  border: 0;
  color: #2563eb;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-mfa-back-link:hover,
.admin-mfa-back-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:root[data-theme="dark"] .admin-shell.admin-auth-shell {
  background:
    radial-gradient(circle at 50% 14%, rgba(96, 165, 250, 0.1), transparent 34rem),
    #0b0d10;
}

:root[data-theme="dark"] .admin-auth-card.admin-mfa-challenge-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #12161d;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.46);
}

:root[data-theme="dark"] .admin-mfa-challenge-heading h1,
:root[data-theme="dark"] .admin-mfa-verification-panel strong,
:root[data-theme="dark"] .admin-mfa-trust-footer strong {
  color: #f8fafc;
}

:root[data-theme="dark"] .admin-mfa-challenge-heading p,
:root[data-theme="dark"] .admin-mfa-verification-panel small,
:root[data-theme="dark"] .admin-mfa-trust-footer small {
  color: #a6adba;
}

:root[data-theme="dark"] .admin-mfa-challenge-card .admin-mfa-icon {
  border-color: rgba(96, 165, 250, 0.3);
  color: #60a5fa;
  background: #0f172a;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.2);
}

:root[data-theme="dark"] .admin-mfa-info-pill {
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.75);
}

:root[data-theme="dark"] .admin-mfa-info-pill [data-icon] {
  color: #60a5fa;
}

:root[data-theme="dark"] .admin-mfa-digit-input {
  border-color: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  background: #0f172a;
  caret-color: #ff6a3d;
  box-shadow: none;
}

:root[data-theme="dark"] .admin-mfa-digit-input:focus {
  border-color: #ff6a3d;
  box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.14), 0 12px 26px rgba(0, 0, 0, 0.32);
}

:root[data-theme="dark"] .admin-mfa-verification-panel {
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.7);
}

:root[data-theme="dark"] .admin-mfa-verification-panel.is-verifying {
  border-color: rgba(96, 165, 250, 0.32);
  background: rgba(30, 64, 175, 0.16);
}

:root[data-theme="dark"] .admin-mfa-trust-footer {
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  background: #0f1319;
}

:root[data-theme="dark"] .admin-mfa-trust-icon {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.07);
}

:root[data-theme="dark"] .admin-mfa-back-link {
  color: #ff8b6e;
}

@media (prefers-reduced-motion: reduce) {
  .admin-mfa-loading-icon {
    animation-duration: 1.8s;
  }

  .admin-mfa-digit-input {
    transition: none;
  }
}

@media (max-width: 620px) {
  .admin-auth-shell .admin-main {
    align-items: start;
    padding: 18px 14px 30px;
  }

  .admin-mfa-challenge-body {
    gap: 22px;
    padding: 30px 18px 24px;
  }

  .admin-mfa-digit-grid {
    grid-template-columns: repeat(6, minmax(0, 56px));
    gap: 9px;
  }

  .admin-mfa-digit-input {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    font-size: 1.65rem;
  }

  .admin-mfa-trust-footer {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 20px 18px;
  }

  .admin-mfa-back-link {
    grid-column: 2;
    justify-self: start;
    padding-top: 2px;
  }
}

@media (max-width: 390px) {
  .admin-mfa-digit-grid {
    grid-template-columns: repeat(3, 64px);
    gap: 10px 14px;
  }

  .admin-mfa-digit-input {
    height: 62px;
  }

  .admin-mfa-info-pill {
    align-items: flex-start;
    text-align: left;
  }
}

.admin-mfa-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #635bff, #11a7a2);
  box-shadow: 0 16px 34px rgba(99, 91, 255, 0.28);
}

.admin-mfa-icon [data-icon] {
  width: 28px;
  height: 28px;
}

.admin-mfa-factor-card,
.admin-mfa-debug-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #dfe6ff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.1), transparent 9rem),
    #f8fbff;
}

.admin-mfa-factor-card strong,
.admin-mfa-debug-panel strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 1000;
}

.admin-mfa-factor-card span,
.admin-mfa-debug-panel p {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 760;
}

.admin-mfa-settings-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-mfa-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.admin-mfa-debug-panel {
  display: grid;
  justify-content: stretch;
  border-color: rgba(217, 119, 6, 0.34);
  background: #fff8e8;
}

.admin-mfa-debug-panel.is-enabled {
  border-color: rgba(194, 65, 59, 0.34);
  background: #fff1ef;
}

.admin-mfa-recaptcha {
  min-height: 1px;
}

.admin-totp-setup {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(99, 91, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(99, 91, 255, 0.07), rgba(17, 167, 162, 0.06));
}

.admin-totp-qr-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(240px, 1fr);
  gap: 22px;
  align-items: center;
}

.admin-totp-qr-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(99, 91, 255, 0.22);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.admin-totp-qr-image {
  display: block;
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 10px;
}

.admin-totp-qr-card figcaption {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
}

.admin-totp-manual {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.admin-totp-manual summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.admin-totp-manual[open] summary {
  margin-bottom: 12px;
}

.admin-totp-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.admin-totp-secret-field {
  min-width: 0;
}

.admin-auth-card .admin-totp-secret {
  display: block;
  width: 100%;
  padding: 14px;
  overflow-wrap: anywhere;
  border: 1px dashed rgba(99, 91, 255, 0.38);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: #312e81;
  font-family: Consolas, "Courier New", monospace;
  font-size: 1rem;
  letter-spacing: 0.08em;
  user-select: all;
}

:root[data-theme="dark"] .admin-totp-setup {
  border-color: rgba(196, 181, 253, 0.25);
  background: linear-gradient(145deg, rgba(99, 91, 255, 0.14), rgba(17, 167, 162, 0.08));
}

:root[data-theme="dark"] .admin-totp-manual {
  background: rgba(9, 12, 20, 0.58);
}

@media (max-width: 720px) {
  .admin-totp-qr-layout {
    grid-template-columns: 1fr;
  }

  .admin-totp-qr-card {
    width: min(100%, 320px);
    justify-self: center;
  }
}

:root[data-theme="dark"] .admin-totp-steps {
  color: var(--ink);
}

:root[data-theme="dark"] .admin-auth-card .admin-totp-secret {
  border-color: rgba(196, 181, 253, 0.34);
  background: rgba(9, 12, 20, 0.78);
  color: #ddd6fe;
}

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

.admin-dashboard-stat-grid {
  gap: 8px;
  margin-top: 6px;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.admin-stats-page {
  display: grid;
  gap: 18px;
}

.admin-stats-head {
  align-items: center;
  padding: 22px;
  border: 1px solid #dbe4ff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(99, 91, 255, 0.14), transparent 17rem),
    radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.1), transparent 17rem),
    #ffffff;
  box-shadow: 0 18px 44px rgba(31, 42, 99, 0.08);
}

.admin-stats-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-stats-kpis .stat-card {
  min-height: 122px;
  border-color: #dfe6ff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.94)),
    #ffffff;
  box-shadow: 0 16px 36px rgba(31, 42, 99, 0.07);
}

.admin-stats-chart-grid {
  align-items: stretch;
}

.analytics-card {
  --chart-navy: #004b7a;
  --chart-teal: #00979d;
  --chart-green: #7ed957;
  --chart-extra: #2f80a6;
  --chart-series: var(--chart-navy);
  --chart-gridline: #e5e7eb;
  --chart-axis-text: #666c75;
  --chart-legend-text: #151515;
  --chart-tooltip-bg: #111827;
  --chart-tooltip-text: #ffffff;
  --chart-plot-bg: transparent;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  min-height: 318px;
  padding: 22px;
  border: 1px solid #dbe4ff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 91, 255, 0.12), transparent 15rem),
    radial-gradient(circle at 0% 100%, rgba(20, 184, 166, 0.09), transparent 15rem),
    linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: 0 24px 58px rgba(31, 42, 99, 0.09);
}

.analytics-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(180deg, transparent, rgba(99, 91, 255, 0.03));
}

.analytics-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 88px 22px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(99, 91, 255, 0.24), transparent);
}

.analytics-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.analytics-head .eyebrow {
  padding: 5px 10px;
  font-size: 0.68rem;
}

.analytics-head h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.15;
}

.analytics-trend {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  white-space: nowrap;
}

.analytics-trend.is-up {
  color: #007663;
  background: #e6faf3;
}

.analytics-trend.is-down {
  color: #b3375a;
  background: #fff0f4;
}

.analytics-summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  gap: 10px;
}

.analytics-summary strong {
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.analytics-summary small {
  margin-bottom: 5px;
  color: var(--muted);
  font-weight: 900;
  font-size: 0.78rem;
}

.analytics-chart-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 10px 0 2px;
  border: 0;
  border-radius: 18px;
  background: var(--chart-plot-bg);
  box-shadow: none;
}

.analytics-chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--chart-legend-text);
  font-size: 0.76rem;
  font-weight: 900;
}

.analytics-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--chart-series);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--chart-series) 18%, transparent);
}

.analytics-plot {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.chart-y-axis {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  align-items: start;
  justify-items: end;
  min-height: 158px;
  padding: 0 0 24px;
  color: var(--chart-axis-text);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
}

.chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--chart-points, 8), minmax(0, 1fr));
  align-items: end;
  column-gap: clamp(4px, 1vw, 12px);
  min-width: 0;
  height: 158px;
  padding: 0 2px 24px 0;
  border-bottom: 1px solid var(--chart-gridline);
  background:
    linear-gradient(to bottom, var(--chart-gridline) 1px, transparent 1px) 0 0 / 100% 25%,
    var(--chart-plot-bg);
}

.chart::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 1px;
  background: var(--chart-gridline);
  pointer-events: none;
}

.bar-wrap {
  position: relative;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: end;
  z-index: 1;
}

.bar-track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
}

.bar {
  position: relative;
  display: block;
  width: min(34px, 100%);
  margin-inline: auto;
  align-self: end;
  border-radius: 13px 13px 4px 4px;
  background: var(--chart-series);
  box-shadow:
    0 13px 26px color-mix(in srgb, var(--chart-series) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: chartBarGrow 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.bar-wrap.is-zero .bar {
  height: 0 !important;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  animation: none;
}

.bar em {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%);
  display: none;
  padding: 6px 9px;
  border-radius: 10px;
  color: var(--chart-tooltip-text);
  background: var(--chart-tooltip-bg);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.18);
}

.bar-wrap:hover .bar {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow:
    0 16px 30px color-mix(in srgb, var(--chart-series) 24%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.bar-wrap:hover .bar em {
  display: inline-flex;
}

.bar-wrap.is-peak .bar {
  filter: saturate(1.08);
}

.bar-wrap.is-low .bar {
  opacity: 0.82;
}

.bar-wrap small {
  color: var(--chart-axis-text);
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
}

@keyframes chartBarGrow {
  from {
    clip-path: inset(100% 0 0 0 round 13px 13px 4px 4px);
    opacity: 0.35;
  }
  to {
    clip-path: inset(0 0 0 0 round 13px 13px 4px 4px);
    opacity: 1;
  }
}

.analytics-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.analytics-foot span {
  padding: 7px 10px;
  border: 1px solid #e4e8ff;
  border-radius: 999px;
  color: var(--muted);
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 850;
}

.analytics-foot strong {
  color: var(--navy);
}

.analytics-insight {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e5eaff;
  border-radius: 14px;
  color: #465067;
  background:
    linear-gradient(135deg, rgba(243, 248, 255, 0.92), rgba(249, 246, 255, 0.92));
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.analytics-revenue .bar {
  background: var(--chart-series);
}

.analytics-users .bar {
  background: var(--chart-series);
}

.analytics-jobs .bar {
  background: var(--chart-series);
}

.analytics-subscriptions .bar {
  background: var(--chart-series);
}

.analytics-revenue {
  --chart-series: var(--chart-navy);
}

.analytics-users {
  --chart-series: var(--chart-teal);
}

.analytics-jobs {
  --chart-series: var(--chart-green);
}

.analytics-subscriptions {
  --chart-series: var(--chart-extra);
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.06);
}

.admin-table-search {
  max-width: 520px;
  margin: 16px 0;
}

.admin-action-result {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  background:
    radial-gradient(circle at 8% 10%, rgba(99, 91, 255, 0.1), transparent 12rem),
    #ffffff;
}

.admin-action-result h2 {
  margin: 0;
  color: #17223f;
  font-size: 1.1rem;
}

.admin-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-inline-form select {
  min-height: 36px;
  max-width: 260px;
  border: 1px solid #dfe5f4;
  border-radius: 10px;
  padding: 0 10px;
  background: #ffffff;
  font-weight: 800;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.admin-detail-grid div {
  display: grid;
  gap: 4px;
  padding: 11px;
  border: 1px solid #e2e8ff;
  border-radius: 12px;
  background: #fbfcff;
}

.admin-detail-grid strong {
  color: #64708f;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-detail-grid span {
  color: #17223f;
  font-weight: 850;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: #6d7480;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: #fbfbfc;
}

th:first-child {
  border-top-left-radius: 12px;
}

th:last-child {
  border-top-right-radius: 12px;
}

th:last-child,
td:last-child {
  min-width: 310px;
}

td {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
}

tbody tr {
  transition: background-color 160ms ease;
}

tbody tr:hover {
  background: #fbfbff;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.table-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid #edf0f5;
  border-radius: 14px;
  background: #f8f9fb;
}

.mini-btn {
  min-height: 34px;
  border-radius: 10px;
  padding: 0 12px;
  color: #23262f;
  border: 1px solid var(--button-border);
  background: #ffffff;
  box-shadow: var(--button-shadow);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.mini-btn:hover {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--button-border));
  transform: translateY(-2px);
  box-shadow: var(--button-shadow-hover);
}

.mini-btn:active {
  transform: translateY(0);
  box-shadow: var(--button-shadow-active);
}

.mini-btn[data-admin-action="Review report"],
.mini-btn[data-admin-action="View profile"],
.mini-btn[data-admin-action="View job"],
.mini-btn[data-admin-action="Documents"],
.mini-btn[data-admin-action="Open case"] {
  color: #ffffff;
  border-color: rgba(79, 70, 229, 0.58);
  background: linear-gradient(135deg, #635bff, #3155dc);
}

.mini-btn[data-admin-action="Warn"],
.mini-btn[data-admin-action="Request docs"],
.mini-btn[data-admin-action="Edit"],
.mini-btn[data-admin-action="Edit category"] {
  color: #7a5200;
  border-color: #fde68a;
  background: #fff3d4;
}

.mini-btn[data-admin-action="Restrict"],
.mini-btn[data-admin-action="Suspend"],
.mini-btn[data-admin-action="Block"],
.mini-btn[data-admin-action="Remove"],
.mini-btn[data-admin-action="Remove fake"],
.mini-btn[data-admin-action="Delete fake account"],
.mini-btn[data-admin-action="Mark suspicious"] {
  color: #9f2d27;
  border-color: #fecaca;
  background: #ffe9e7;
}

.mini-btn[data-admin-action="Approve"],
.mini-btn[data-admin-action="Verify badge"],
.mini-btn[data-admin-action="Resolve"],
.mini-btn[data-admin-action="Activate/deactivate"] {
  color: #087157;
  border-color: #a7f3d0;
  background: #e7f7f1;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 16, 32, 0.44);
  backdrop-filter: blur(10px);
}

.credential-modal {
  position: relative;
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid #dbe2ff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 12%, rgba(116, 139, 255, 0.14), transparent 13rem),
    #ffffff;
  box-shadow: 0 28px 80px rgba(9, 16, 32, 0.28);
}

.credential-modal h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1;
}

.review-prompt-backdrop {
  overflow: hidden;
}

.review-prompt-modal {
  width: min(620px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.review-prompt-modal form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.review-prompt-modal .inline-actions {
  margin-top: 2px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.admin-confirm-backdrop {
  z-index: 120;
}

.admin-confirm-modal {
  width: min(560px, 100%);
  border-color: rgba(239, 68, 68, 0.26);
  background:
    radial-gradient(circle at 16% 10%, rgba(239, 68, 68, 0.1), transparent 13rem),
    radial-gradient(circle at 90% 0%, rgba(99, 91, 255, 0.1), transparent 14rem),
    #ffffff;
}

.admin-confirm-modal form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.hire-confirm-modal {
  width: min(560px, 100%);
  display: grid;
  gap: 14px;
  border-color: rgba(99, 91, 255, 0.24);
  background:
    radial-gradient(circle at 12% 0%, rgba(99, 91, 255, 0.14), transparent 13rem),
    radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.12), transparent 15rem),
    #ffffff;
}

.hire-confirm-modal h2,
.hire-confirm-modal p {
  margin: 0;
}

.hire-confirm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #4f46e5;
  background: #eef2ff;
}

.hire-confirm-icon [data-icon],
.hire-confirm-icon [data-lucide] {
  width: 22px;
  height: 22px;
}

.hire-confirm-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dfe6ff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.hire-confirm-summary div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

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

.hire-confirm-actions {
  justify-content: flex-end;
}

.provider-completion-modal,
.seeker-review-provider-modal {
  display: grid;
  gap: 14px;
}

.provider-completion-modal h2,
.provider-completion-modal p,
.seeker-review-provider-modal h2,
.seeker-review-provider-modal p {
  margin: 0;
}

.provider-completion-summary {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}

.provider-completion-summary strong,
.provider-completion-summary span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.auth-inline-message {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--error-border);
  border-radius: 14px;
  color: var(--error-text);
  background: var(--error-bg);
}

.auth-inline-message[data-tone="info"],
.auth-inline-message.is-info {
  color: var(--info-text);
  border-color: var(--info-border);
  background: var(--info-bg);
}

.auth-inline-message[data-tone="success"],
.auth-inline-message.is-success {
  color: var(--success-text);
  border-color: var(--success-border);
  background: var(--success-bg);
}

.auth-inline-message strong {
  font-weight: 950;
}

.pending-post-job-auth-note {
  margin: 14px 0;
}

.post-job-intent-note {
  margin-bottom: 18px;
}

.auth-mini-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-review-section {
  margin-top: 16px;
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 1000;
  width: min(460px, calc(100vw - 32px));
  min-height: 64px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 24px 64px rgba(13, 25, 48, 0.28);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

:root[data-theme="dark"] .toast {
  color: #f8fafc;
  background: #1a202a;
  border-color: rgba(255, 106, 61, 0.65);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 75, 62, 0.08);
}

@media (max-width: 560px) {
  .toast {
    width: calc(100vw - 28px);
    min-height: 58px;
    padding: 14px 16px;
  }
}

[data-icon] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.onboarding-shell {
  display: grid;
  gap: 18px;
}

.onboarding-hero-card,
.verification-panel,
.seeker-completion-form,
.provider-trial-card,
.admin-trial-settings-panel {
  border: 1px solid rgba(109, 92, 255, 0.2);
  box-shadow: 0 18px 50px rgba(35, 43, 88, 0.08);
}

.onboarding-hero-card {
  border-radius: 28px;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(48, 148, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff, #f5f3ff 48%, #eef7ff);
}

.onboarding-hero-card h1 {
  max-width: 760px;
  margin: 10px 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.onboarding-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.onboarding-progress span {
  border: 1px solid rgba(109, 92, 255, 0.18);
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.onboarding-progress .is-active,
.onboarding-progress .is-complete {
  background: linear-gradient(135deg, rgba(109, 92, 255, 0.12), rgba(29, 174, 255, 0.12));
  color: var(--primary);
}

.verification-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.verification-method-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid rgba(109, 92, 255, 0.14);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(145deg, #fff, #f8fbff);
}

.verification-method-card > i {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.verification-method-card b {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff4d8;
  color: #8a6100;
}

.verification-method-card.is-complete b {
  background: #dcfce7;
  color: #067647;
}

.verification-sms-form {
  display: grid;
  gap: 10px;
}

.onboarding-actions {
  margin-top: 18px;
}

.provider-trial-card {
  margin-bottom: 18px;
  background:
    radial-gradient(circle at top left, rgba(109, 92, 255, 0.18), transparent 38%),
    linear-gradient(135deg, #fff, #f4f7ff);
}

.trial-meter,
.trial-admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.trial-meter span,
.trial-admin-metrics .stat-card {
  border: 1px solid rgba(109, 92, 255, 0.14);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}

.provider-access-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
  border: 1px solid var(--info-border);
  border-radius: 22px;
  padding: 16px;
  color: var(--info-text);
  background: var(--info-bg);
}

.provider-access-banner > i {
  width: 34px;
  height: 34px;
  color: currentColor;
}

.provider-access-banner.is-active {
  color: var(--success-text);
  background: var(--success-bg);
  border-color: var(--success-border);
}

.provider-access-banner.is-trial {
  color: var(--info-text);
  background: var(--info-bg);
  border-color: var(--info-border);
}

.provider-access-banner.is-locked {
  color: var(--warning-text);
  background: var(--warning-bg);
  border-color: var(--warning-border);
}

.provider-access-banner strong,
.provider-access-banner span {
  color: inherit;
}

.trial-settings-form {
  display: grid;
  gap: 14px;
}

.admin-trial-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.admin-trial-list article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(109, 92, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

:root[data-theme="dark"] body {
  color: var(--ink);
}

:root[data-theme="dark"] .splash {
  background: var(--bg);
}

:root[data-theme="dark"] .site-header {
  border-color: rgba(42, 47, 58, 0.96);
  background: rgba(15, 17, 21, 0.9);
}

:root[data-theme="dark"] .top-nav,
:root[data-theme="dark"] .sidebar,
:root[data-theme="dark"] .mobile-tabs,
:root[data-theme="dark"] .header-account-chip,
:root[data-theme="dark"] .secondary-btn,
:root[data-theme="dark"] .icon-btn,
:root[data-theme="dark"] .pn-chat-unread-pill {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .top-nav a.is-active {
  color: var(--ink);
  background: var(--surface-soft);
}

:root[data-theme="dark"] .header-account-chip {
  background: linear-gradient(135deg, var(--surface), var(--surface-soft));
}

:root[data-theme="dark"] .ghost-btn {
  color: var(--ink);
  border-color: rgba(196, 181, 253, 0.28);
  background: rgba(30, 41, 59, 0.56);
  box-shadow: var(--button-shadow);
}

:root[data-theme="dark"] .secondary-btn {
  color: #bfdbfe;
  border-color: rgba(147, 197, 253, 0.3);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(23, 26, 33, 0.92));
  box-shadow: var(--button-shadow);
}

:root[data-theme="dark"] .secondary-btn:hover,
:root[data-theme="dark"] .ghost-btn:hover {
  color: #dbeafe;
  border-color: rgba(147, 197, 253, 0.52);
  background: rgba(37, 49, 68, 0.96);
  box-shadow: var(--button-shadow-hover);
}

:root[data-theme="dark"] .danger-btn {
  color: #ffffff;
  border-color: rgba(248, 113, 113, 0.6);
  background: linear-gradient(135deg, #dc3b3b, #b91c1c);
}

:root[data-theme="dark"] .secondary-btn.danger,
:root[data-theme="dark"] .secondary-btn.danger-soft {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.3);
}

:root[data-theme="dark"] .whatsapp-contact-btn:not(.completed-whatsapp-action) {
  color: #ffffff;
  border-color: #22c55e;
  background: linear-gradient(135deg, #1fae50, #15803d);
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.24);
}

:root[data-theme="dark"] .job-meta-pill {
  border-color: #384150;
  background: #202531;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .job-action-success,
:root[data-theme="dark"] .job-action-success[disabled],
:root[data-theme="dark"] .job-action-success.is-disabled,
:root[data-theme="dark"] .hired-action-btn.job-action-success:disabled {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.38);
  background: rgba(20, 83, 45, 0.42);
}

:root[data-theme="dark"] .job-action-purple,
:root[data-theme="dark"] .job-action-purple[disabled],
:root[data-theme="dark"] .job-action-purple.is-disabled,
:root[data-theme="dark"] .job-action-stack .whatsapp-contact-empty {
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, 0.38);
  background: rgba(76, 29, 149, 0.36);
}

:root[data-theme="dark"] .job-action-blue,
:root[data-theme="dark"] .job-action-blue[disabled],
:root[data-theme="dark"] .job-action-blue.is-disabled {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.38);
  background: rgba(30, 64, 175, 0.32);
}

:root[data-theme="dark"] .completed-job-actions .completed-view-action {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.42);
  background: rgba(30, 64, 175, 0.32);
}

:root[data-theme="dark"] .completed-job-actions .completed-whatsapp-action {
  color: #000000;
  border-color: #25d366;
  background: #25d366;
}

:root[data-theme="dark"] .completed-job-actions .completed-archive-action {
  color: #ffffff;
  border-color: rgba(248, 113, 113, 0.58);
  background: #dc4038;
}

:root[data-theme="dark"] .completed-job-actions .whatsapp-contact-empty {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface-soft);
}

:root[data-theme="dark"] .auth-create-account {
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, 0.35);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.18));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .auth-create-account:hover {
  border-color: rgba(196, 181, 253, 0.58);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
}

:root[data-theme="dark"] .login-card-head h1 {
  color: var(--ink);
}

:root[data-theme="dark"] .login-card-logo {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .login-shell {
  background: #050816;
}

:root[data-theme="dark"] .login-shell::before {
  background:
    radial-gradient(circle at 18% 10%, rgba(196, 181, 253, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(15, 17, 21, 0.1), rgba(15, 17, 21, 0.5));
}

:root[data-theme="dark"] .login-card-modern {
  background: rgba(23, 26, 33, 0.9);
  backdrop-filter: none !important;
}

:root[data-theme="dark"] .brand small,
:root[data-theme="dark"] .top-nav a,
:root[data-theme="dark"] .sidebar-title,
:root[data-theme="dark"] .sidebar a,
:root[data-theme="dark"] .mobile-tabs a {
  color: var(--muted);
}

:root[data-theme="dark"] .brand strong,
:root[data-theme="dark"] .page-head h1,
:root[data-theme="dark"] .page-head h2,
:root[data-theme="dark"] .auth-card h1,
:root[data-theme="dark"] .panel h2,
:root[data-theme="dark"] .card-top h3,
:root[data-theme="dark"] .job-card h3,
:root[data-theme="dark"] .provider-mini-card h3,
:root[data-theme="dark"] .profile-card h3,
:root[data-theme="dark"] .pricing-card h3,
:root[data-theme="dark"] .signup-card-head h1,
:root[data-theme="dark"] .admin-auth-card h1,
:root[data-theme="dark"] .analytics-head h2,
:root[data-theme="dark"] .analytics-summary strong,
:root[data-theme="dark"] .pn-chat-card-row strong,
:root[data-theme="dark"] .pn-chat-head-copy strong,
:root[data-theme="dark"] .pn-chat-job-card h2,
:root[data-theme="dark"] .route-error-card h1,
:root[data-theme="dark"] .legal-hero h1,
:root[data-theme="dark"] .legal-section h2,
:root[data-theme="dark"] .admin-category-group-head h2,
:root[data-theme="dark"] .admin-subcategory-title h3,
:root[data-theme="dark"] .admin-detail-grid span,
:root[data-theme="dark"] .admin-mfa-factor-card strong,
:root[data-theme="dark"] .admin-mfa-debug-panel strong {
  color: var(--ink);
}

:root[data-theme="dark"] .page-head p,
:root[data-theme="dark"] .auth-card p,
:root[data-theme="dark"] .panel p,
:root[data-theme="dark"] .admin-auth-card p,
:root[data-theme="dark"] .route-error-card p,
:root[data-theme="dark"] .legal-hero p,
:root[data-theme="dark"] .legal-section p,
:root[data-theme="dark"] .legal-document > p,
:root[data-theme="dark"] .pn-chat-card-row small,
:root[data-theme="dark"] .pn-chat-preview,
:root[data-theme="dark"] .pn-chat-message-stack small,
:root[data-theme="dark"] .pn-chat-empty-screen p,
:root[data-theme="dark"] .pn-chat-list-empty span,
:root[data-theme="dark"] .pn-chat-conversation-empty span,
:root[data-theme="dark"] .admin-category-group-head p,
:root[data-theme="dark"] .admin-subcategory-title small,
:root[data-theme="dark"] .admin-detail-grid strong,
:root[data-theme="dark"] .admin-mfa-factor-card span,
:root[data-theme="dark"] .admin-mfa-debug-panel p {
  color: var(--muted);
}

:root[data-theme="dark"] .seeker-interested-provider-grid .seeker-provider-tile {
  color: var(--ink);
  border-color: var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 131, 255, 0.16), transparent 10rem),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .seeker-provider-tile-title strong {
  color: var(--ink);
}

:root[data-theme="dark"] .seeker-provider-tile-meta,
:root[data-theme="dark"] .seeker-provider-tile-location,
:root[data-theme="dark"] .seeker-provider-tile-bio {
  color: var(--muted);
}

:root[data-theme="dark"] .seeker-provider-tile-skill {
  color: #8debd9;
  border-color: rgba(141, 235, 217, 0.45);
  background: rgba(0, 151, 157, 0.12);
}

:root[data-theme="dark"] .provider-category-pill {
  color: #99f6e4;
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(20, 184, 166, 0.14);
}

:root[data-theme="dark"] .provider-category-more {
  color: #bfdbfe;
  border-color: rgba(147, 197, 253, 0.35);
  background: rgba(37, 99, 235, 0.16);
}

:root[data-theme="dark"] .provider-category-popover {
  color: var(--ink);
  border-color: rgba(196, 181, 253, 0.34);
  background: rgba(23, 26, 33, 0.98);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42);
}

:root[data-theme="dark"] .provider-category-popover::before {
  border-color: rgba(196, 181, 253, 0.34);
}

:root[data-theme="dark"] .provider-category-popover > strong {
  color: #e9e5ff;
}

:root[data-theme="dark"] :is(
    .role-card,
    .service-card,
    .stat-card,
    .plan-card,
    .profile-card,
    .provider-mini-card,
    .job-card,
    .auth-card,
    .panel,
    .table-wrap,
    .chat-shell,
    .pricing-card,
    .route-error-card,
    .legal-document,
    .admin-auth-card,
    .admin-mfa-factor-card,
    .admin-mfa-settings-panel,
    .admin-mfa-debug-panel,
    .analytics-card,
    .admin-dashboard-panel,
    .admin-dashboard-insights div,
    .admin-dashboard-record,
    .admin-document-toolbar,
    .admin-document-profile,
    .admin-document-provider-details,
    .admin-document-file,
    .admin-document-counts span:not(.admin-doc-status-badge),
    .admin-document-file-icon,
    .admin-category-toolbar,
    .admin-category-group,
    .admin-main-category-form,
    .admin-subcategory-add,
    .admin-category-visual-editor,
    .admin-subcategory-card,
    .category-search-control,
    .category-suggestions,
    .category-group-panel,
    .category-icon-box,
    .uc-search-card,
    .uc-service-card,
    .uc-job-card,
    .uc-provider-card,
    .uc-proof-card,
    .uc-featured-provider-card,
    .provider-profile-preview-card,
    .provider-profile-card,
    .provider-project-card,
    .provider-project-summary-card,
    .provider-portfolio-links-panel,
    .project-media-drop,
    .project-photo-permission-modal,
    .provider-job-city-filter,
    .portfolio-growth-card,
    .payment-card,
    .stripe-card-preview,
    .stripe-loading-card,
    .subscription-current-card,
    .subscription-preview-card,
    .subscription-plans-panel,
    .admin-subscription-board,
    .premium-plan-card,
    .lock-card,
    .empty-card,
    .warning-card,
    .map-card,
    .booking-date-card,
    .ios-calendar-card,
    .nearby-category-panel,
    .notification-card,
    .verification-panel,
    .verification-method-card,
    .onboarding-hero-card,
    .provider-trial-card,
    .admin-trial-settings-panel
  ) {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .admin-document-profile-head h2,
:root[data-theme="dark"] .admin-document-file strong,
:root[data-theme="dark"] .admin-document-provider-details strong,
:root[data-theme="dark"] .admin-document-missing strong {
  color: var(--ink);
}

:root[data-theme="dark"] .admin-document-profile-head p,
:root[data-theme="dark"] .admin-document-profile-head small,
:root[data-theme="dark"] .admin-document-file span,
:root[data-theme="dark"] .admin-document-file em,
:root[data-theme="dark"] .admin-document-provider-details span,
:root[data-theme="dark"] .admin-document-missing {
  color: var(--muted);
}

:root[data-theme="dark"] .admin-doc-status-badge {
  color: #ffd46d;
  background: rgba(255, 179, 0, 0.14);
}

:root[data-theme="dark"] .admin-doc-status-badge.approved,
:root[data-theme="dark"] .admin-doc-status-badge.verified {
  color: #78f0b4;
  background: rgba(7, 132, 99, 0.16);
}

:root[data-theme="dark"] .admin-doc-status-badge.rejected {
  color: #ffb4ad;
  background: rgba(244, 63, 94, 0.18);
}

:root[data-theme="dark"] .admin-doc-status-badge.needs_info {
  color: #ffd46d;
  background: rgba(251, 176, 59, 0.17);
}

:root[data-theme="dark"] .provider-job-city-filter strong {
  color: var(--ink);
}

:root[data-theme="dark"] .project-photo-permission-copy h2,
:root[data-theme="dark"] .project-media-drop strong {
  color: var(--ink);
}

:root[data-theme="dark"] .provider-job-city-filter small,
:root[data-theme="dark"] .provider-job-empty strong {
  color: var(--text);
}

:root[data-theme="dark"] .provider-job-empty span,
:root[data-theme="dark"] .project-photo-permission-copy p,
:root[data-theme="dark"] .project-photo-permission-copy small,
:root[data-theme="dark"] .project-media-drop span {
  color: var(--muted);
}

:root[data-theme="dark"] .provider-city-empty {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface-soft);
}

:root[data-theme="dark"] .warning-card {
  color: var(--warning-text);
  border-color: var(--warning-border);
  background: var(--warning-bg);
}

:root[data-theme="dark"] :is(
    .signup-card-modern,
    .post-job-form-panel,
    .provider-category-menu,
    .provider-city-suggestions,
    .admin-action-result,
    .admin-detail-grid div,
    .credential-modal,
    .admin-confirm-modal,
    .pn-chat-inbox,
    .pn-chat-conversation,
    .pn-chat-search,
    .pn-chat-card,
    .pn-chat-job-card,
    .pn-chat-attachment-panel,
    .pn-chat-options-sheet,
    .pn-chat-composer
  ) {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

:root[data-theme="dark"] :is(
    input,
    select,
    textarea,
    .field input,
    .field select,
    .field textarea,
    .uc-search-card input,
    .uc-search-card select,
    .category-search-control input,
    .service-search input,
    .provider-category-search-row input,
    .provider-project-form input,
    .provider-project-form select,
    .provider-project-form textarea,
    .stripe-card-fields div,
    .admin-inline-form select,
    .admin-subcategory-add input,
    .admin-subcategory-add select,
    .admin-premium-plan-card .field input,
    .admin-premium-plan-card .field textarea,
    .pn-chat-search input,
    .pn-chat-composer input
  ) {
  color: var(--input-text);
  border-color: var(--line-strong);
  background: var(--input-bg);
}

:root[data-theme="dark"] :is(input, textarea)::placeholder {
  color: var(--placeholder-text);
}

:root[data-theme="dark"] :is(select option, .category-select-shell option) {
  color: var(--ink);
  background: var(--input-bg);
}

:root[data-theme="dark"] .category-select-shell optgroup {
  color: #9dd9ff;
  background: var(--input-bg);
}

:root[data-theme="dark"] .pn-chat-card:hover,
:root[data-theme="dark"] .pn-chat-card.is-active,
:root[data-theme="dark"] tbody tr:hover {
  background: color-mix(in srgb, var(--surface-soft) 84%, var(--green) 8%);
}

:root[data-theme="dark"] .pn-chat-message-list {
  background:
    radial-gradient(circle at 8% 0%, rgba(139, 131, 255, 0.12), transparent 32%),
    #111827;
}

:root[data-theme="dark"] .pn-chat-bubble {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .pn-chat-message-row.is-mine .pn-chat-bubble {
  color: #ffffff;
  background: linear-gradient(135deg, #6f67ff, #0ea5a0);
}

:root[data-theme="dark"] .pn-chat-warning-card,
:root[data-theme="dark"] .auth-inline-message {
  color: var(--error-text);
  border-color: var(--error-border);
  background: var(--error-bg);
}

:root[data-theme="dark"] .auth-inline-message[data-tone="info"],
:root[data-theme="dark"] .auth-inline-message.is-info {
  color: var(--info-text);
  border-color: var(--info-border);
  background: var(--info-bg);
}

:root[data-theme="dark"] .auth-inline-message[data-tone="success"],
:root[data-theme="dark"] .auth-inline-message.is-success {
  color: var(--success-text);
  border-color: var(--success-border);
  background: var(--success-bg);
}

:root[data-theme="dark"] .pn-chat-warning-card p {
  color: inherit;
}

:root[data-theme="dark"] .pn-role-badge {
  color: #a5f3fc;
  background: rgba(8, 145, 178, 0.2);
}

:root[data-theme="dark"] .hired-status-badge,
:root[data-theme="dark"] .pill.green {
  color: var(--success-text);
  border-color: var(--success-border);
  background: var(--success-bg);
}

:root[data-theme="dark"] .hired-status-badge.is-completed {
  color: #bae6fd;
  border-color: rgba(56, 189, 248, 0.38);
  background: rgba(14, 116, 144, 0.22);
}

:root[data-theme="dark"] .pill,
:root[data-theme="dark"] .eyebrow.light {
  color: var(--badge-text);
  border-color: var(--line);
  background: var(--badge-bg);
}

:root[data-theme="dark"] .table-wrap {
  background: var(--surface);
}

:root[data-theme="dark"] :is(
    .billing-method-row,
    .billing-invoice-row,
    .billing-empty-state,
    .billing-option-grid article
  ) {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface-soft);
}

:root[data-theme="dark"] :is(
    .billing-card-head p,
    .billing-method-row span,
    .billing-method-row small,
    .billing-invoice-row span,
    .billing-option-grid span,
    .billing-security-card p
  ) {
  color: var(--muted);
}

:root[data-theme="dark"] :is(
    .billing-method-row strong,
    .billing-invoice-row strong,
    .billing-invoice-row b,
    .billing-empty-state strong,
    .billing-option-grid strong,
    .billing-security-card h2
  ) {
  color: var(--ink);
}

:root[data-theme="dark"] .billing-method-icon,
:root[data-theme="dark"] .billing-security-card > i {
  background: rgba(139, 131, 255, 0.16);
}

:root[data-theme="dark"] .stat-card.interactive,
:root[data-theme="dark"] .portfolio-console-stats .stat-card {
  color: #f5f7fa;
  border-color: rgba(185, 133, 245, 0.35);
  background:
    radial-gradient(circle at 92% 8%, rgba(185, 133, 245, 0.14), transparent 8rem),
    linear-gradient(135deg, rgba(109, 74, 255, 0.18), rgba(23, 26, 33, 0.95));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .stat-card.interactive:hover,
:root[data-theme="dark"] .stat-card.interactive.is-active,
:root[data-theme="dark"] .portfolio-console-stats .stat-card:hover {
  border-color: rgba(196, 181, 253, 0.62);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .stat-card.interactive.is-active {
  background:
    radial-gradient(circle at 92% 8%, rgba(196, 181, 253, 0.18), transparent 8rem),
    linear-gradient(135deg, rgba(109, 74, 255, 0.26), rgba(23, 26, 33, 0.98));
}

:root[data-theme="dark"] .stat-card.interactive span,
:root[data-theme="dark"] .portfolio-console-stats .stat-card span {
  color: #a1a7b3;
}

:root[data-theme="dark"] .stat-card.interactive strong,
:root[data-theme="dark"] .portfolio-console-stats .stat-card strong {
  color: #f5f7fa;
}

:root[data-theme="dark"] .stat-card.interactive small,
:root[data-theme="dark"] .portfolio-console-stats .stat-card small {
  color: #c4b5fd;
}

:root[data-theme="dark"] .portfolio-console-hero .portfolio-console-stats > .stat-card {
  border-color: rgba(185, 133, 245, 0.35);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 8%, rgba(185, 133, 245, 0.14), transparent 8rem),
    linear-gradient(135deg, rgba(109, 74, 255, 0.18), rgba(23, 26, 33, 0.95));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .portfolio-console-hero .portfolio-console-stats > .stat-card:hover {
  border-color: rgba(196, 181, 253, 0.62);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .admin-stats-head,
:root[data-theme="dark"] .admin-stats-kpis .stat-card,
:root[data-theme="dark"] .analytics-card {
  --chart-gridline: #2a2f3a;
  --chart-axis-text: #a1a7b3;
  --chart-legend-text: #f5f7fa;
  --chart-tooltip-bg: #f5f7fa;
  --chart-tooltip-text: #0f1115;
  --chart-plot-bg: transparent;
  border-color: var(--line);
  background:
    radial-gradient(circle at 10% 0%, rgba(139, 131, 255, 0.16), transparent 17rem),
    radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.1), transparent 17rem),
    var(--surface);
}

:root[data-theme="dark"] .analytics-head h2,
:root[data-theme="dark"] .analytics-summary strong,
:root[data-theme="dark"] .analytics-foot strong {
  color: var(--ink);
}

:root[data-theme="dark"] .analytics-chart-shell {
  border-color: transparent;
  background: var(--chart-plot-bg);
}

:root[data-theme="dark"] .analytics-foot span,
:root[data-theme="dark"] .analytics-insight {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface-soft);
}

:root[data-theme="dark"] th {
  color: var(--muted);
  background: #111827;
}

:root[data-theme="dark"] td {
  color: var(--ink);
}

:root[data-theme="dark"] .mini-btn {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface-soft);
}

:root[data-theme="dark"] .admin-sidebar {
  border-color: var(--line);
  background: #0b1220;
}

:root[data-theme="dark"] .modal-backdrop {
  background: rgba(0, 0, 0, 0.66);
}

:root[data-theme="dark"] .hire-confirm-modal {
  border-color: rgba(139, 131, 255, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 131, 255, 0.14), transparent 13rem),
    radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.1), transparent 15rem),
    var(--surface);
}

:root[data-theme="dark"] .hire-confirm-icon {
  color: #c4b5fd;
  background: rgba(139, 131, 255, 0.16);
}

:root[data-theme="dark"] .hire-confirm-summary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .welcome-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(139, 131, 255, 0.18), transparent 24rem),
    #0b1220;
}

:root[data-theme="dark"] .footer-city,
:root[data-theme="dark"] .footer-socials :is(a, button),
:root[data-theme="dark"] .download-badge {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 1060px) {
  .dashboard-grid,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .billing-dashboard-grid,
  .billing-status-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-panel-head,
  .admin-dashboard-record,
  .admin-document-profile-head,
  .admin-document-file {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-panel-head {
    display: grid;
  }

  .admin-dashboard-insights,
  .admin-document-summary,
  .admin-document-toolbar,
  .admin-document-provider-details {
    grid-template-columns: 1fr;
  }

  .admin-document-profile-head {
    display: grid;
  }

  .admin-document-counts,
  .admin-document-file-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .portfolio-console-grid {
    grid-template-columns: 1fr;
  }

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

  .content-grid,
  .chart-grid,
  .signup-layout,
  .post-job-hero,
  .post-job-workspace,
  .jobs-grid,
  .three-grid,
  .service-grid,
  .provider-grid,
  .uc-hero,
  .about-hero,
  .about-split,
  .founder-note,
  .economy-band,
  .uc-spotlight-grid,
  .uc-split,
  .pn-chat-layout {
    grid-template-columns: 1fr;
  }

  .provider-setup-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .provider-setup-search {
    grid-column: 1 / -1;
  }

  .uc-hero {
    min-height: auto;
  }

  .about-hero {
    min-height: auto;
  }

  .uc-hero-visual {
    min-height: 460px;
  }

  .about-image-stack,
  .about-image-main {
    min-height: 460px;
  }

  .uc-service-grid,
  .uc-job-strip,
  .about-value-grid,
  .innovation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .upload-grid {
    grid-template-columns: 1fr;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .mobile-tabs {
    display: flex;
  }

  .pn-chat-list {
    max-height: 380px;
  }

  .pn-chat-message-list {
    max-height: 56vh;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: flex;
    overflow-x: auto;
    gap: 7px;
  }

  .admin-sidebar .sidebar-title {
    display: none;
  }

  .admin-sidebar a {
    white-space: nowrap;
  }

  .signup-story-panel {
    min-height: 460px;
  }

  .post-job-hero {
    align-items: start;
  }

  .post-job-hero-card {
    min-width: 0;
    width: 100%;
    flex-wrap: wrap;
  }

}

@media (max-width: 640px) {
  .provider-category-popover {
    position: fixed;
    inset: 50dvh 12px auto 12px;
    z-index: 120;
    width: auto;
    max-height: min(240px, 42vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(31, 42, 99, 0.28);
    transform: translateY(calc(-50% + 14px)) scale(0.98);
    transform-origin: center;
  }

  .provider-category-popover::before {
    display: none;
  }

  .provider-category-disclosure:hover .provider-category-popover,
  .provider-category-trigger:focus-visible + .provider-category-popover,
  .provider-category-disclosure.is-expanded .provider-category-popover {
    transform: translateY(-50%) scale(1);
  }

  .seeker-provider-tile-categories .provider-category-popover {
    position: fixed;
    inset: 50dvh 12px auto 12px;
    width: auto;
    max-height: min(240px, 42vh);
    transform: translateY(calc(-50% + 14px)) scale(0.98);
    transform-origin: center;
  }

  .seeker-provider-tile-categories:hover .provider-category-popover,
  .seeker-provider-tile-categories .provider-category-trigger:focus-visible + .provider-category-popover,
  .seeker-provider-tile-categories.is-expanded .provider-category-popover {
    transform: translateY(-50%) scale(1);
  }

  .provider-category-pill,
  .provider-category-more {
    min-height: 31px;
    font-size: 0.7rem;
  }

  .subscription-status-overview,
  .subscription-support-card {
    grid-template-columns: 1fr;
  }

  .subscription-status-plan {
    min-width: 0;
  }

  .subscription-detail-grid,
  .subscription-feature-grid {
    grid-template-columns: 1fr;
  }

  .subscription-price-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .completed-job-actions {
    gap: 10px;
  }

  .provider-work-status-panel {
    grid-template-columns: 1fr;
  }

  .provider-work-status-panel .inline-actions {
    justify-content: stretch;
  }

  .project-photo-permission-backdrop,
  .hire-confirm-backdrop,
  .review-prompt-backdrop {
    align-items: end;
    place-items: end center;
    padding:
      max(8px, env(safe-area-inset-top))
      8px
      max(8px, env(safe-area-inset-bottom));
  }

  .project-photo-permission-modal,
  .hire-confirm-modal,
  .review-prompt-modal {
    width: 100%;
    max-height: calc(100dvh - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 24px 24px 18px 18px;
  }

  .review-prompt-modal {
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
    scroll-padding-bottom: 132px;
  }

  .review-prompt-modal .two-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-prompt-modal .inline-actions {
    position: sticky;
    bottom: calc(-16px - env(safe-area-inset-bottom));
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 2px -16px 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: 0 -14px 30px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(14px);
  }

  .review-prompt-modal .inline-actions .primary-btn,
  .review-prompt-modal .inline-actions .secondary-btn {
    width: 100%;
  }

  .project-photo-permission-actions,
  .hire-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-photo-permission-actions .primary-btn,
  .project-photo-permission-actions .secondary-btn,
  .hire-confirm-actions .primary-btn,
  .hire-confirm-actions .secondary-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .completed-job-actions {
    grid-template-columns: 1fr;
  }
}

/* Admin user command center */
.admin-users-page {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
}

.admin-users-head {
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-users-head > div:first-child {
  max-width: 760px;
}

.admin-users-head h1 {
  margin-top: 8px;
}

.admin-users-toolbar {
  max-width: 720px;
  justify-content: flex-end;
}

.admin-users-toolbar button {
  min-height: 42px;
}

.admin-user-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.admin-user-stat {
  position: relative;
  min-width: 0;
  min-height: 126px;
  overflow: hidden;
  padding: 18px 18px 16px 72px;
  border: 1px solid #d8c4ff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 133, 245, 0.18), transparent 10rem),
    linear-gradient(135deg, #f7f2ff 0%, #ffffff 58%, #f1e7ff 100%);
  box-shadow: 0 14px 32px rgba(109, 74, 255, 0.09);
}

.admin-user-stat-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(109, 74, 255, 0.2);
  border-radius: 12px;
  color: #5b4bea;
  background: rgba(255, 255, 255, 0.86);
}

.admin-user-stat-icon [data-icon] {
  width: 20px;
  height: 20px;
}

.admin-user-stat > span:not(.admin-user-stat-icon),
.admin-user-stat small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.admin-user-stat > span:not(.admin-user-stat-icon) {
  font-size: 0.82rem;
}

.admin-user-stat strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1;
}

.admin-user-stat small {
  font-size: 0.76rem;
}

.admin-user-stat.is-danger {
  border-color: var(--error-border);
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 68, 68, 0.12), transparent 10rem),
    linear-gradient(135deg, var(--error-bg), var(--surface));
}

.admin-user-stat.is-danger .admin-user-stat-icon {
  color: var(--error-text);
  border-color: var(--error-border);
  background: var(--error-bg);
}

.admin-user-search {
  max-width: none;
  margin: 18px 0;
}

.admin-user-search-control {
  position: relative;
  display: block;
  min-width: 0;
}

.admin-user-search-control [data-icon] {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.admin-user-search-control input {
  width: 100%;
  padding-left: 48px;
}

.admin-user-list {
  display: grid;
  gap: 14px;
}

.admin-user-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) minmax(210px, 0.72fr) minmax(420px, 0.95fr);
  gap: 20px;
  align-items: center;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 91, 255, 0.07), transparent 14rem),
    var(--surface);
  box-shadow: 0 12px 30px rgba(31, 42, 80, 0.07);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-user-card:hover {
  border-color: color-mix(in srgb, var(--primary) 38%, var(--border));
  box-shadow: 0 18px 38px rgba(31, 42, 80, 0.11);
  transform: translateY(-1px);
}

.admin-user-card[hidden] {
  display: none !important;
}

.admin-user-summary,
.admin-user-copy,
.admin-user-state {
  min-width: 0;
}

.admin-user-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.admin-user-avatar {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(99, 91, 255, 0.22);
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(145deg, #635bff, #2186df);
  box-shadow: 0 9px 20px rgba(79, 70, 229, 0.2);
  font-weight: 900;
}

.admin-user-role {
  display: block;
  color: #635bff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-user-name {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 4px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-user-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-user-contact span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 5px;
}

.admin-user-contact span:first-child {
  overflow-wrap: anywhere;
}

.admin-user-contact [data-icon] {
  width: 14px;
  height: 14px;
  flex: none;
}

.admin-user-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
  max-width: 560px;
  margin-top: 13px;
}

.admin-user-category-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 29px;
  overflow: hidden;
  padding: 5px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-category-pill.is-more {
  color: #6d4aff;
  border-color: #d8c4ff;
  background: #f4ecff;
}

.admin-user-services-empty {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.admin-user-performance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-user-performance strong {
  color: var(--ink);
}

.admin-user-state {
  display: grid;
  align-content: center;
  gap: 12px;
}

.admin-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-user-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 31px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.25;
  white-space: normal;
}

.admin-user-status-badge.is-success {
  color: var(--success-text);
  border-color: var(--success-border);
  background: var(--success-bg);
}

.admin-user-status-badge.is-warning {
  color: var(--warning-text);
  border-color: var(--warning-border);
  background: var(--warning-bg);
}

.admin-user-status-badge.is-danger {
  color: var(--error-text);
  border-color: var(--error-border);
  background: var(--error-bg);
}

.admin-user-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.admin-user-dates div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}

.admin-user-dates dt,
.admin-user-dates dd {
  margin: 0;
}

.admin-user-dates dt {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-user-dates dd {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-user-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
}

.admin-user-actions .mini-btn {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 12px;
  line-height: 1.2;
}

.admin-user-actions .mini-btn[data-admin-action="Grant admin"] {
  color: #087157;
  border-color: #a7f3d0;
  background: #e7f7f1;
}

.admin-user-actions .mini-btn[data-admin-action="Revoke admin"] {
  color: #7a5200;
  border-color: #fde68a;
  background: #fff3d4;
}

.admin-user-actions .mini-btn[data-admin-action="Reset password"] {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.admin-user-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 20px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
}

.admin-user-empty [data-icon] {
  width: 34px;
  height: 34px;
  color: var(--primary);
}

.admin-user-empty strong {
  color: var(--ink);
}

:root[data-theme="dark"] .admin-user-stat,
:root[data-theme="dark"] .admin-user-card,
:root[data-theme="dark"] .admin-user-empty {
  border-color: var(--border);
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 131, 255, 0.16), transparent 14rem),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .admin-user-stat-icon {
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, 0.28);
  background: rgba(139, 131, 255, 0.14);
}

:root[data-theme="dark"] .admin-user-role {
  color: #c4b5fd;
}

:root[data-theme="dark"] .admin-user-category-pill {
  color: #bfdbfe;
  border-color: rgba(147, 197, 253, 0.35);
  background: rgba(37, 99, 235, 0.16);
}

:root[data-theme="dark"] .admin-user-category-pill.is-more {
  color: #ddd6fe;
  border-color: rgba(196, 181, 253, 0.34);
  background: rgba(124, 58, 237, 0.16);
}

:root[data-theme="dark"] .admin-user-actions .mini-btn[data-admin-action="View profile"] {
  color: #ffffff;
  border-color: rgba(139, 131, 255, 0.55);
  background: linear-gradient(135deg, #7c73ff, #4169e1);
}

:root[data-theme="dark"] .admin-user-actions .mini-btn[data-admin-action="Grant admin"] {
  color: #bbf7d0;
  border-color: #14532d;
  background: #06281f;
}

:root[data-theme="dark"] .admin-user-actions .mini-btn[data-admin-action="Revoke admin"] {
  color: #fde68a;
  border-color: #a16207;
  background: #2b2207;
}

:root[data-theme="dark"] .admin-user-actions .mini-btn[data-admin-action="Block"],
:root[data-theme="dark"] .admin-user-actions .mini-btn[data-admin-action="Suspend"] {
  color: #fecaca;
  border-color: #991b1b;
  background: #2a1111;
}

:root[data-theme="dark"] .admin-user-actions .mini-btn[data-admin-action="Reset password"] {
  color: #bfdbfe;
  border-color: #1d4ed8;
  background: #0f243d;
}

@media (max-width: 1320px) {
  .admin-user-card {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.55fr);
  }

  .admin-user-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .admin-user-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-user-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .admin-user-actions {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-user-dates {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .admin-users-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
  }

  .admin-users-toolbar button {
    width: 100%;
  }

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

  .admin-user-stat {
    min-height: 112px;
  }

  .admin-user-card {
    gap: 16px;
    padding: 16px;
  }

  .admin-user-dates,
  .admin-user-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-user-category-pills {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .theme-toggle {
    min-height: 38px;
    padding-right: 5px;
  }

  .theme-toggle-label {
    display: none;
  }

  .theme-toggle-track {
    width: 52px;
    height: 30px;
  }

  :root[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(20px);
  }

  .header-actions .ghost-btn {
    display: none;
  }

  .header-account-chip {
    max-width: 178px;
    padding-right: 10px;
  }

  .header-account-copy small {
    display: none;
  }

  .header-logout-btn {
    min-height: 38px;
    padding-inline: 12px;
  }

  .hero-stage,
  .hero-copy {
    min-height: 610px;
  }

  .hero-stage {
    background:
      linear-gradient(180deg, rgba(9, 25, 43, 0.82), rgba(9, 25, 43, 0.42)),
      url("./assets/pronearme-hero.png") center / cover no-repeat;
  }

  .role-grid,
  .signup-role-grid,
  .signup-proof-grid,
  .service-search,
  .uc-search-card,
  .uc-trust-panel,
  .uc-service-grid,
  .uc-job-strip,
  .uc-provider-grid,
  .uc-proof-grid,
  .about-value-grid,
  .innovation-grid,
  .about-photo-grid,
  .economy-stats,
  .footer-grid,
  .category-icon-grid,
  .two-grid,
  .form-grid,
  .metric-strip,
  .stepper,
  .gallery,
  .dashboard-grid,
  .admin-stats-kpis,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats-head {
    padding: 16px;
  }

  .admin-stats-head .inline-actions {
    width: 100%;
  }

  .admin-stats-head .inline-actions button {
    flex: 1 1 160px;
  }

  .analytics-card {
    min-height: 280px;
    padding: 16px;
    border-radius: 20px;
  }

  .analytics-chart-shell {
    padding: 10px 0 6px;
  }

  .analytics-plot {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
  }

  .chart-y-axis {
    min-height: 124px;
    padding-bottom: 22px;
  }

  .chart {
    height: 124px;
    column-gap: 4px;
    padding-bottom: 22px;
  }

  .chart::after {
    bottom: 22px;
  }

  .bar {
    width: min(28px, 100%);
  }

  .category-icon-grid {
    grid-template-columns: repeat(auto-fit, minmax(132px, 144px));
  }

  .signup-shell {
    padding: 14px;
  }

  .signup-layout {
    gap: 14px;
  }

  .login-layout {
    max-width: 100%;
  }

  .signup-story-panel,
  .signup-card-modern {
    border-radius: 22px;
  }

  .signup-story-panel {
    min-height: auto;
  }

  .signup-story-panel h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .signup-card-head {
    display: grid;
  }

  .signup-card-head .ghost-btn {
    width: 100%;
  }

  .signup-role-option {
    min-height: auto;
  }

  .post-job-hero {
    border-radius: 22px;
    padding: 20px;
  }

  .post-job-hero h1 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .post-job-hero-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .post-job-hero-card i {
    display: none;
  }

  .post-job-pro-form,
  .post-job-form-section {
    border-radius: 20px;
  }

  .post-job-section-head {
    grid-template-columns: 1fr;
  }

  .post-job-section-head > span {
    width: 34px;
    height: 34px;
  }

  .nearby-category-head {
    display: grid;
  }

  .nearby-category-grid {
    grid-template-columns: 1fr;
  }

  .provider-job-city-filter {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .provider-jobs-city-filter .secondary-btn {
    width: 100%;
  }

  .portfolio-console-hero {
    border-radius: 22px;
    padding: 20px;
  }

  .portfolio-console-hero h1 {
    font-size: clamp(2.2rem, 14vw, 3.4rem);
  }

  .portfolio-console-stats {
    grid-template-columns: 1fr;
  }

  .provider-category-option-grid {
    grid-template-columns: 1fr;
  }

  .provider-project-media {
    grid-template-columns: 1fr;
  }

  .provider-project-card.is-public {
    border-radius: 20px;
  }

  .provider-project-card.is-public .provider-project-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: 0;
    padding: 8px;
  }

  .provider-project-card.is-public .provider-project-media.media-count-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .provider-project-card.is-public .provider-project-media.media-count-3 .project-media-tile:first-child {
    grid-column: 1 / -1;
  }

  .provider-project-card.is-public .project-media-tile {
    min-height: 0;
    height: 120px;
    aspect-ratio: auto;
    border-radius: 14px;
  }

  .provider-project-card.is-public .provider-project-media.media-count-1 .project-media-tile,
  .provider-project-card.is-public .provider-project-media.media-count-3 .project-media-tile:first-child {
    min-height: 0;
    height: 190px;
    aspect-ratio: auto;
  }

  .provider-project-card.is-public .provider-project-copy {
    gap: 12px;
    padding: 16px;
  }

  .provider-project-card.is-public .card-top {
    align-items: center;
    text-align: center;
  }

  .provider-project-card.is-public .card-top .pill {
    align-self: center;
  }

  .provider-project-card.is-public .project-meta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-project-card.is-public .project-meta-row span:last-child {
    grid-column: 1 / -1;
  }

  .project-media-tile.is-youtube {
    grid-column: auto;
  }

  .provider-project-summary-card {
    align-items: stretch;
    flex-direction: column;
  }

  .add-project-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .add-project-cta .primary-btn {
    width: 100%;
  }

  .provider-project-summary-card .primary-btn {
    width: 100%;
  }

  .login-security-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .login-security-strip .ghost-btn {
    width: 100%;
  }

  .login-create-row,
  .login-create-row .auth-create-account {
    width: 100%;
  }

  .payment-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .billing-card-head {
    display: grid;
  }

  .billing-method-row,
  .billing-invoice-row {
    grid-template-columns: 1fr;
  }

  .billing-method-actions {
    justify-content: flex-start;
  }

  .billing-option-grid {
    grid-template-columns: 1fr;
  }

  .admin-mfa-status-grid {
    grid-template-columns: 1fr;
  }

  .admin-mfa-factor-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .stripe-card-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .stripe-card-fields {
    grid-template-columns: 1fr;
  }

  .subscription-overview-grid {
    grid-template-columns: 1fr;
  }

  .premium-plan-grid {
    gap: 12px;
    padding: 12px;
  }

  .premium-plan-card,
  .premium-plan-card.is-featured {
    min-height: auto;
    transform: none;
  }

  .home-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .welcome-page {
    padding-top: 22px;
  }

  .uc-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .about-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .uc-search-card .primary-btn {
    min-height: 48px;
  }

  .uc-hero-visual {
    min-height: 390px;
  }

  .about-image-stack,
  .about-image-main {
    min-height: 390px;
  }

  .about-photo-grid img:nth-child(1),
  .about-photo-grid img:nth-child(4) {
    transform: none;
  }

  .economy-band,
  .founder-note {
    border-radius: 22px;
  }

  .uc-photo-card {
    border-radius: 20px;
  }

  .welcome-footer {
    border-radius: 22px 22px 0 0;
  }

  .footer-brand {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .provider-setup-topbar,
  .provider-profile-identity {
    grid-template-columns: 1fr;
  }

  .provider-setup-avatar {
    display: none;
  }

  .provider-profile-identity {
    align-items: start;
    margin-top: -36px;
  }

  .provider-profile-identity .secondary-btn,
  .provider-profile-actions .primary-btn,
  .provider-profile-actions .secondary-btn {
    width: 100%;
  }

  .ios-calendar-card {
    max-width: none;
    padding: 14px;
  }

  .ios-days button,
  .ios-days span {
    min-height: 32px;
    font-size: 0.94rem;
  }

  .ios-time-row {
    flex-wrap: wrap;
  }

  .booking-date-row,
  .booking-time-row {
    grid-template-columns: 1fr;
  }

  .section-title,
  .uc-provider-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .post-job-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .post-job-actions .primary-btn,
  .post-job-actions .secondary-btn {
    width: 100%;
  }

  .post-job-location-tools {
    flex-direction: column;
  }

  .post-job-location-tools .mini-btn {
    width: 100%;
    justify-content: center;
  }

  .post-job-location-hint {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .category-icon-grid {
    justify-content: center;
  }

  .admin-subcategory-add,
  .admin-category-visual-editor {
    grid-template-columns: 1fr;
  }

  .admin-subcategory-card.is-editing .admin-category-visual-editor {
    grid-template-columns: 1fr;
  }

  .admin-subcategory-card.is-editing .admin-category-form > .inline-actions {
    justify-content: stretch;
  }

  .admin-subcategory-card.is-editing .admin-category-form > .inline-actions .mini-btn {
    flex: 1 1 150px;
  }

  .category-icon-box {
    width: min(1.5in, 42vw);
    height: min(1.5in, 42vw);
  }

  .page-head,
  .profile-hero,
  .card-top {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-hero {
    grid-template-columns: 1fr;
  }

  .mobile-tabs {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    top: auto;
    z-index: 60;
    justify-content: space-between;
    border-radius: 22px;
    margin: 0;
    padding: 7px;
    overflow-x: visible;
  }

  .mobile-tabs a {
    position: relative;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 54px;
    padding: 5px 3px;
    font-size: 0.68rem;
    text-align: center;
  }

  .mobile-tabs a [data-icon] {
    width: 20px;
    height: 20px;
  }

  .nav-badge {
    position: absolute;
    top: 4px;
    right: 14px;
    margin-left: 0;
  }

  .section {
    padding-bottom: 96px;
  }

  .pn-chat-page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .pn-chat-conversation-head {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    padding: 12px;
  }

  .pn-chat-back {
    display: inline-grid;
  }

  .pn-chat-head-tools {
    gap: 5px;
  }

  .pn-chat-job-card,
  .pn-chat-warning-card {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .pn-chat-job-card {
    flex-direction: column;
  }

  .pn-chat-job-actions {
    justify-content: flex-start;
  }

  .pn-chat-message-list {
    min-height: 360px;
    max-height: none;
    padding: 14px;
  }

  .pn-chat-message-stack {
    max-width: 82vw;
  }

  .pn-chat-attachment-grid {
    grid-template-columns: 1fr;
  }

  .pn-chat-composer {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 7px;
    padding: 10px;
  }

  .pn-chat-send-btn {
    min-width: 62px;
    padding: 0 12px;
  }
}

@media (max-width: 760px) {
  .onboarding-hero-card {
    border-radius: 22px;
    padding: 22px;
  }

  .provider-access-banner {
    grid-template-columns: auto 1fr;
  }

  .provider-access-banner .compact {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-trial-list article {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared layout balance pass */
.workspace-main {
  width: 100%;
  min-width: 0;
}

.page-head,
.section-title,
.card-top {
  align-items: center;
}

.page-head > div,
.section-title > div,
.card-top > div {
  min-width: 0;
}

.page-head h1,
.page-head h2,
.section-title h2,
.card-top h2,
.card-top h3 {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-head > .primary-btn,
.page-head > .secondary-btn,
.section-title > .primary-btn,
.section-title > .secondary-btn,
.card-top > .primary-btn,
.card-top > .secondary-btn {
  flex: 0 0 auto;
}

.layout {
  grid-template-columns: 226px minmax(0, 1fr);
  gap: 24px;
}

.sidebar {
  padding: 9px;
}

.dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.dashboard-grid .stat-card,
.portfolio-console-stats .stat-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: start;
  min-height: 136px;
}

.workspace-main > .dashboard-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-grid .stat-card strong,
.portfolio-console-stats .stat-card strong {
  align-self: center;
  overflow-wrap: anywhere;
  font-size: clamp(1.4rem, 2.15vw, 1.72rem);
  line-height: 1.05;
}

.provider-project-summary-card,
.add-project-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.provider-job-empty {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  width: 100%;
  min-height: 148px;
  padding: 24px;
}

.provider-job-empty .primary-btn {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-width: 210px;
}

.dashboard-detail-panel .section-title h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.06;
}

.dashboard-detail-panel > .jobs-grid > .empty-card:only-child {
  grid-column: 1 / -1;
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.uc-hero {
  min-height: min(760px, calc(100vh - 106px));
  padding-block: 14px;
}

.uc-hero-copy {
  gap: 18px;
}

.uc-hero h1 {
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  line-height: 0.96;
}

.uc-hero-visual {
  min-height: min(560px, calc(100vh - 170px));
}

.admin-shell {
  grid-template-columns: 240px minmax(0, 1fr);
}

.admin-main {
  width: 100%;
  max-width: 1640px;
  margin-inline: auto;
}

:root[data-theme="dark"] .uc-trust-panel,
:root[data-theme="dark"] .uc-trust-metric,
:root[data-theme="dark"] .uc-trust-row span {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .uc-trust-metric strong,
:root[data-theme="dark"] .uc-trust-row strong {
  color: var(--ink);
}

:root[data-theme="dark"] .uc-trust-metric small,
:root[data-theme="dark"] .uc-trust-row span {
  color: var(--muted);
}

@media (max-width: 1180px) and (min-width: 1061px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-main > .dashboard-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1060px) and (min-width: 761px) {
  .layout,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .uc-hero {
    min-height: auto;
  }

  .jobs-grid,
  .three-grid,
  .service-grid,
  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-job-empty {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .workspace-main > .dashboard-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Admin dashboard: keep user records compact, readable, and balanced. */
.admin-route-admin-dashboard .admin-dashboard-record {
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 520px);
  grid-template-areas:
    "record-copy record-status"
    "record-copy record-actions";
  align-items: center;
  column-gap: 24px;
  row-gap: 12px;
  padding: 18px 20px;
}

.admin-route-admin-dashboard .admin-dashboard-record > div:first-child {
  grid-area: record-copy;
  min-width: 0;
}

.admin-route-admin-dashboard .admin-dashboard-record > .pill {
  grid-area: record-status;
  justify-self: end;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.admin-route-admin-dashboard .admin-dashboard-record > .table-actions {
  grid-area: record-actions;
  justify-self: end;
  justify-content: flex-end;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-route-admin-dashboard .admin-dashboard-record .mini-btn {
  min-height: 38px;
  padding-inline: 14px;
}

:root[data-theme="dark"] .admin-route-admin-dashboard .admin-dashboard-panel-head h2,
:root[data-theme="dark"] .admin-route-admin-dashboard .admin-dashboard-insights strong,
:root[data-theme="dark"] .admin-route-admin-dashboard .admin-dashboard-record h3 {
  color: #f8fafc;
}

:root[data-theme="dark"] .admin-route-admin-dashboard .admin-dashboard-panel-head p,
:root[data-theme="dark"] .admin-route-admin-dashboard .admin-dashboard-insights span,
:root[data-theme="dark"] .admin-route-admin-dashboard .admin-dashboard-record p {
  color: #aeb6c4;
}

:root[data-theme="dark"] .admin-route-admin-dashboard .admin-dashboard-record > .table-actions {
  border: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-theme="dark"] .admin-route-admin-dashboard .mini-btn[data-admin-action="View profile"],
:root[data-theme="dark"] .admin-route-admin-dashboard .mini-btn[data-admin-action="Documents"] {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.28);
  background: #252b35;
}

:root[data-theme="dark"] .admin-route-admin-dashboard .mini-btn[data-admin-action="Request docs"] {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.32);
  background: rgba(161, 98, 7, 0.2);
}

:root[data-theme="dark"] .admin-route-admin-dashboard .mini-btn[data-admin-action="Suspend"] {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.34);
  background: rgba(153, 27, 27, 0.2);
}

@media (max-width: 1060px) {
  .admin-route-admin-dashboard .admin-dashboard-record {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "record-copy"
      "record-status"
      "record-actions";
  }

  .admin-route-admin-dashboard .admin-dashboard-record > .pill,
  .admin-route-admin-dashboard .admin-dashboard-record > .table-actions {
    justify-self: start;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .admin-route-admin-dashboard .admin-dashboard-record {
    padding: 16px;
  }

  .admin-route-admin-dashboard .admin-dashboard-record > .table-actions,
  .admin-route-admin-dashboard .admin-dashboard-record .mini-btn {
    width: 100%;
  }
}

/* Provider projects: keep every portfolio surface inside the dark theme. */
:root[data-theme="dark"] .portfolio-console-hero {
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.24);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 75, 62, 0.16), transparent 20rem),
    radial-gradient(circle at 94% 10%, rgba(255, 122, 47, 0.09), transparent 18rem),
    linear-gradient(145deg, #171c24 0%, #0f1319 100%);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

:root[data-theme="dark"] .portfolio-console-hero::after {
  background: rgba(255, 75, 62, 0.08);
}

:root[data-theme="dark"] .portfolio-console-hero h1,
:root[data-theme="dark"] :is(
    .provider-portfolio-links-panel,
    .provider-project-management,
    .portfolio-growth-card,
    .add-project-cta
  ) h2,
:root[data-theme="dark"] .provider-project-toggle h2,
:root[data-theme="dark"] .project-preview-card h3 {
  color: var(--text);
}

:root[data-theme="dark"] .portfolio-console-hero p,
:root[data-theme="dark"] .provider-project-toggle p,
:root[data-theme="dark"] .project-preview-card p,
:root[data-theme="dark"] :is(
    .provider-portfolio-links-panel,
    .provider-project-management,
    .portfolio-growth-card,
    .add-project-cta
  ) .muted {
  color: #aeb6c4;
}

:root[data-theme="dark"] .portfolio-console-hero .portfolio-console-stats > .stat-card {
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.28);
  background:
    radial-gradient(circle at 94% 8%, rgba(255, 75, 62, 0.14), transparent 9rem),
    linear-gradient(145deg, #1a2029 0%, #141820 100%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

:root[data-theme="dark"] .portfolio-console-hero .portfolio-console-stats > .stat-card:hover {
  border-color: rgba(255, 106, 61, 0.58);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(255, 75, 62, 0.08);
}

:root[data-theme="dark"] .portfolio-console-stats .stat-card span {
  color: #cbd5e1;
}

:root[data-theme="dark"] .portfolio-console-stats .stat-card strong {
  color: #ffffff;
}

:root[data-theme="dark"] .portfolio-console-stats .stat-card small {
  color: #ff9b87;
}

:root[data-theme="dark"] :is(
    .provider-project-studio,
    .provider-portfolio-links-panel,
    .provider-project-management,
    .portfolio-growth-card,
    .add-project-cta
  ) {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 75, 62, 0.08), transparent 16rem),
    linear-gradient(145deg, #151922 0%, #11151c 100%);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] .provider-project-form {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 98% 0%, rgba(255, 75, 62, 0.07), transparent 14rem),
    #171c24;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  color-scheme: dark;
}

:root[data-theme="dark"] .provider-project-form .field > span,
:root[data-theme="dark"] .provider-project-form .upload-box strong {
  color: #f8fafc;
}

:root[data-theme="dark"] .provider-project-form :is(input, select, textarea) {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.14);
  background: #0f1319;
}

:root[data-theme="dark"] .provider-project-form :is(input, textarea)::placeholder {
  color: #8f99a9;
  opacity: 1;
}

:root[data-theme="dark"] .provider-project-form :is(input, select, textarea):focus {
  border-color: rgba(255, 106, 61, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 75, 62, 0.13),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .provider-portfolio-links-panel .upload-box {
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.32);
  background: #11161d;
}

:root[data-theme="dark"] .provider-portfolio-links-panel .upload-box:hover {
  border-color: rgba(255, 106, 61, 0.64);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

:root[data-theme="dark"] .provider-portfolio-links-panel .upload-box [data-icon],
:root[data-theme="dark"] .provider-portfolio-links-panel .upload-box em {
  color: #ff9b87;
}

:root[data-theme="dark"] .provider-portfolio-links-panel .upload-box span,
:root[data-theme="dark"] .provider-portfolio-links-panel .upload-box input {
  color: #aeb6c4;
}

:root[data-theme="dark"] .project-media-drop {
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.36);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 75, 62, 0.1), transparent 12rem),
    #0f1319;
}

:root[data-theme="dark"] .project-media-drop [data-icon],
:root[data-theme="dark"] .project-media-drop em {
  color: #ff9b87;
}

:root[data-theme="dark"] .project-live-preview {
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.24);
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 75, 62, 0.08), transparent 13rem),
    #11161d;
}

:root[data-theme="dark"] .project-preview-media span {
  color: #ff9b87;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 75, 62, 0.13), transparent 8rem),
    #1a2029;
}

:root[data-theme="dark"] .project-preview-video {
  background: #0b0f14;
}

:root[data-theme="dark"] .provider-project-empty {
  color: #aeb6c4;
  border-color: rgba(255, 255, 255, 0.1);
  background: #11161d;
}

:root[data-theme="dark"] .provider-project-empty strong {
  color: var(--text);
}

/* Welcome page: compact, consistent rhythm between major content sections. */
.welcome-page .uc-section {
  padding-block: clamp(26px, 2.4vw, 36px);
}

/* Welcome page: balanced Star Provider cards without a native scroll bar. */
.welcome-page .uc-featured-provider-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  overflow: visible;
  padding: 8px 2px 14px;
}

.welcome-page .uc-featured-provider-card {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 284px;
  grid-template-rows: auto auto auto auto minmax(38px, 1fr);
  align-content: stretch;
  gap: 9px;
  padding: 0 14px 14px;
}

.welcome-page .uc-provider-ribbon {
  width: calc(100% + 28px);
  min-height: 32px;
  padding: 5px 8px;
  font-size: 0.7rem;
  line-height: 1.15;
}

.welcome-page .uc-provider-ribbon [data-icon] {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.welcome-page .uc-provider-photo {
  width: 52px;
  height: 52px;
  margin-top: 2px;
}

.welcome-page .uc-featured-provider-card h3 {
  min-height: 1.2em;
  font-size: 0.96rem;
  -webkit-line-clamp: 1;
}

.welcome-page .uc-provider-score {
  gap: 5px;
  font-size: 0.7rem;
}

.welcome-page .uc-provider-score [data-icon] {
  width: 15px;
  height: 15px;
}

.welcome-page .uc-provider-skill-label {
  min-height: 30px;
  font-size: 0.7rem;
}

.welcome-page .uc-featured-provider-categories {
  min-width: 0;
  max-width: 100%;
  align-self: end;
  justify-self: stretch;
}

.welcome-page .uc-featured-provider-categories .provider-category-trigger {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  overflow: hidden;
}

.welcome-page .uc-featured-provider-categories .provider-category-trigger.is-static {
  grid-template-columns: minmax(0, 1fr);
}

.welcome-page .uc-featured-provider-categories .provider-category-pill.is-primary {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.welcome-page .uc-featured-provider-categories .provider-category-more {
  max-width: 100%;
}

.welcome-page .uc-featured-provider-card > .ghost-btn {
  align-self: end;
  width: 100%;
  min-height: 34px;
  margin-top: 0;
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 9px;
  padding: 6px 10px;
  background: rgba(99, 91, 255, 0.06);
  font-size: 0.72rem;
}

.welcome-page .uc-featured-provider-card > .ghost-btn:hover {
  border-color: rgba(99, 91, 255, 0.4);
  background: rgba(99, 91, 255, 0.11);
}

:root[data-theme="dark"] .welcome-page .uc-featured-provider-card > .ghost-btn {
  color: #a7f3d0;
  border-color: rgba(50, 199, 164, 0.35);
  background: rgba(0, 151, 157, 0.1);
}

:root[data-theme="dark"] .welcome-page .uc-featured-provider-card > .ghost-btn:hover {
  color: #d1fae5;
  border-color: rgba(50, 199, 164, 0.6);
  background: rgba(0, 151, 157, 0.18);
}

:root[data-theme="dark"] .welcome-page .uc-featured-provider-empty {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, #171c24 0%, #11151b 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .welcome-page .uc-featured-provider-empty strong {
  color: #f8fafc;
}

:root[data-theme="dark"] .welcome-page .uc-featured-provider-empty [data-icon] {
  color: #ff7a5f;
}

@media (max-width: 1100px) {
  .welcome-page .uc-featured-provider-grid {
    grid-template-columns: none;
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    grid-auto-columns: clamp(206px, 31vw, 240px);
    grid-auto-rows: 1fr;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .welcome-page .uc-featured-provider-grid::-webkit-scrollbar {
    display: none;
  }

  .welcome-page .uc-featured-provider-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .welcome-page .uc-featured-provider-grid {
    grid-template-rows: 1fr;
    grid-auto-columns: min(78vw, 250px);
    grid-auto-rows: 1fr;
    padding-inline: 2px 14px;
    scroll-padding-inline: 2px;
  }

  .welcome-page .uc-featured-provider-card {
    min-height: 278px;
  }
}

@media (max-width: 760px) {
  .layout,
  .admin-shell,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .workspace-main > .dashboard-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 64px;
    gap: 8px 10px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small,
  .header-account-copy {
    display: none;
  }

  .header-actions {
    min-width: 0;
    justify-content: flex-end;
    gap: 6px;
  }

  .header-account-chip {
    min-height: 40px;
    max-width: none;
    padding: 3px;
  }

  .header-account-avatar {
    width: 34px;
    height: 34px;
  }

  .header-logout-btn {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .site-header:has(.header-account-chip) .top-nav {
    display: none;
  }

  .site-header:not(:has(.header-account-chip)) .top-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: stretch;
  }

  .site-header:not(:has(.header-account-chip)) .top-nav a {
    flex: 1 1 0;
    justify-content: center;
    min-height: 34px;
    padding-inline: 8px;
  }

  .page-head,
  .section-title,
  .card-top {
    gap: 12px;
  }

  .page-head > .primary-btn,
  .page-head > .secondary-btn,
  .section-title > .primary-btn,
  .section-title > .secondary-btn,
  .card-top > .primary-btn,
  .card-top > .secondary-btn {
    width: 100%;
  }

  .provider-project-summary-card,
  .add-project-cta,
  .provider-job-empty {
    grid-template-columns: 1fr;
  }

  .provider-job-empty .primary-btn {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
    width: 100%;
  }

  .uc-hero {
    min-height: auto;
    padding-block: 8px 24px;
  }

  .uc-hero-visual {
    min-height: 340px;
  }

  .uc-trust-panel {
    gap: 8px;
    padding: 8px;
  }

  .uc-trust-metric {
    min-height: 88px;
    padding: 12px;
  }

  .welcome-page {
    padding-top: 14px;
  }
}

@media (min-width: 420px) and (max-width: 760px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-main > .dashboard-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Premium login card based on the selected light/dark reference. */
.login-shell {
  --auth-card-bg: rgba(255, 255, 255, 0.9);
  --auth-card-border: rgba(219, 234, 254, 0.95);
  --auth-text: #111827;
  --auth-muted: #64748b;
  --auth-input-bg: rgba(255, 255, 255, 0.94);
  --auth-input-border: #dbe3ef;
  --auth-focus: #14b8a6;
  --auth-glow: rgba(20, 184, 166, 0.2);
  min-height: calc(100dvh - 74px);
  padding: clamp(18px, 3vw, 34px);
}

.login-shell::before {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.34), transparent 22rem),
    linear-gradient(180deg, rgba(239, 246, 255, 0.16), rgba(238, 242, 255, 0.42));
}

.login-layout {
  width: min(660px, 100%);
  max-width: 660px;
  place-items: center;
}

.login-card-modern {
  width: 100%;
  max-width: 640px;
  align-self: center;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--auth-card-border);
  border-radius: 28px;
  color: var(--auth-text);
  background: var(--auth-card-bg);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(20px) saturate(135%) !important;
}

.login-card-head {
  gap: 7px;
}

.login-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3px;
  text-align: left;
}

.login-brand-lockup > div:last-child {
  display: grid;
  gap: 1px;
}

.login-brand-lockup strong {
  color: var(--auth-text);
  font-size: 1.05rem;
  font-weight: 950;
}

.login-brand-lockup span {
  color: var(--auth-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.login-card-logo {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(135deg, #635bff 0%, #3b82f6 55%, #14b8a6 100%);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.25);
}

.login-welcome-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 999px;
  color: #4f46e5;
  background: rgba(245, 243, 255, 0.88);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-card-head h1 {
  margin: 3px 0 0;
  color: var(--auth-text);
  font-size: clamp(2.2rem, 4.3vw, 3.15rem);
  line-height: 0.98;
  text-wrap: balance;
}

.login-card-head p {
  max-width: 430px;
  color: var(--auth-muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.auth-app-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2px;
}

.auth-provider-mark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 950;
}

.auth-provider-google {
  color: #ffffff;
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
}

.phone-login-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--auth-input-border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--auth-input-bg) 88%, #eef2ff 12%);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.1);
}

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

.phone-login-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.phone-login-heading > span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6, #4f46e5);
}

.phone-login-heading > span svg {
  width: 19px;
  height: 19px;
}

.phone-login-heading > div {
  display: grid;
  gap: 2px;
}

.phone-login-heading strong {
  color: var(--auth-text);
  font-size: 0.9rem;
}

.phone-login-heading small {
  color: var(--auth-muted);
  font-size: 0.73rem;
  line-height: 1.35;
}

.phone-login-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.phone-login-action {
  min-width: 130px;
  min-height: 54px;
  border-radius: 15px;
  white-space: nowrap;
}

.auth-store-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--auth-card-border);
  border-radius: 15px;
  color: var(--auth-text);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 9px 22px rgba(59, 130, 246, 0.1);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.auth-store-button:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 13px 28px rgba(59, 130, 246, 0.16);
}

.auth-store-button:active {
  transform: translateY(0);
}

.auth-store-button:focus-visible {
  outline: 3px solid var(--auth-glow);
  outline-offset: 2px;
}

.auth-store-button svg {
  width: 20px;
  height: 20px;
  color: #4f46e5;
}

.auth-email-divider {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--auth-muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-email-divider::before,
.auth-email-divider::after {
  content: "";
  height: 1px;
  background: var(--auth-input-border);
}

.login-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.login-field {
  min-width: 0;
  gap: 8px;
}

.login-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--auth-text);
  font-size: 0.86rem;
  font-weight: 850;
}

.login-password-label label {
  color: inherit;
}

.login-forgot-link {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, var(--button-border) 74%, transparent);
  border-radius: 999px;
  color: #4f46e5;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: 0 5px 12px rgba(79, 70, 229, 0.08);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
}

.login-forgot-link:hover,
.login-forgot-link:focus-visible {
  color: #2563eb;
  border-color: #a5b4fc;
  background: #eef2ff;
  box-shadow: 0 9px 18px rgba(79, 70, 229, 0.14);
  transform: translateY(-1px);
}

.login-forgot-link:focus-visible {
  outline: 2px solid var(--button-focus);
  outline-offset: 2px;
}

.login-input-shell {
  position: relative;
  display: block;
  width: 100%;
}

.login-input-shell > svg:first-child {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 2;
  width: 18px;
  height: 18px;
  color: var(--auth-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.login-input-shell input {
  width: 100%;
  min-height: 54px;
  padding: 12px 46px;
  border: 1px solid var(--auth-input-border);
  border-radius: 15px;
  color: var(--auth-text);
  background: var(--auth-input-bg);
  outline: none;
  font: inherit;
  font-size: 0.9rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.login-input-shell input::placeholder {
  color: color-mix(in srgb, var(--auth-muted) 82%, transparent);
}

.login-input-shell input:focus {
  border-color: var(--auth-focus);
  box-shadow: 0 0 0 4px var(--auth-glow);
}

.login-input-shell .password-toggle {
  right: 8px;
}

.login-security-strip {
  min-height: 56px;
  margin-top: 0;
  padding: 11px 14px;
  border-color: rgba(59, 130, 246, 0.22);
  color: #1e3a8a;
  background: rgba(239, 246, 255, 0.82);
}

.login-security-strip > span {
  max-width: 280px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.login-session-note {
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
}

.login-submit-btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
  border: 1px solid rgba(79, 70, 229, 0.58);
  border-radius: 17px;
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 50%, #7c3aed 100%);
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.28);
  font-size: 1rem;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.login-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(59, 130, 246, 0.34);
  filter: saturate(1.06);
}

.login-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.login-submit-btn:focus-visible {
  outline: 3px solid var(--auth-glow);
  outline-offset: 3px;
}

.login-submit-btn svg {
  width: 18px;
  height: 18px;
}

.login-create-row {
  margin-top: 1px;
  color: var(--auth-muted);
}

:root[data-theme="dark"] .login-shell {
  --auth-card-bg: rgba(15, 23, 42, 0.88);
  --auth-card-border: rgba(255, 255, 255, 0.12);
  --auth-text: #f8fafc;
  --auth-muted: #94a3b8;
  --auth-input-bg: rgba(15, 23, 42, 0.72);
  --auth-input-border: rgba(148, 163, 184, 0.25);
  --auth-focus: #2dd4bf;
  --auth-glow: rgba(45, 212, 191, 0.22);
}

:root[data-theme="dark"] .login-shell::before {
  background:
    radial-gradient(circle at 16% 12%, rgba(45, 212, 191, 0.1), transparent 22rem),
    radial-gradient(circle at 88% 82%, rgba(124, 58, 237, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.62));
}

:root[data-theme="dark"] .login-card-modern {
  color: var(--auth-text);
  border-color: var(--auth-card-border);
  background: var(--auth-card-bg);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px) saturate(125%) !important;
}

:root[data-theme="dark"] .login-brand-lockup strong,
:root[data-theme="dark"] .login-card-head h1,
:root[data-theme="dark"] .login-field-label {
  color: var(--auth-text);
}

:root[data-theme="dark"] .login-brand-lockup span,
:root[data-theme="dark"] .login-card-head p,
:root[data-theme="dark"] .auth-email-divider,
:root[data-theme="dark"] .login-create-row {
  color: var(--auth-muted);
}

:root[data-theme="dark"] .login-welcome-kicker {
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, 0.25);
  background: rgba(76, 29, 149, 0.24);
}

:root[data-theme="dark"] .auth-store-button {
  color: var(--auth-text);
  border-color: var(--auth-card-border);
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .phone-login-panel {
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .auth-store-button svg {
  color: #c4b5fd;
}

:root[data-theme="dark"] .auth-email-divider::before,
:root[data-theme="dark"] .auth-email-divider::after {
  background: var(--auth-input-border);
}

:root[data-theme="dark"] .login-input-shell input {
  color: var(--auth-text);
  border-color: var(--auth-input-border);
  background: var(--auth-input-bg);
}

:root[data-theme="dark"] .login-forgot-link {
  color: #c4b5fd;
}

:root[data-theme="dark"] .login-security-strip {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.26);
  background: rgba(30, 64, 175, 0.18);
}

@media (max-width: 760px) {
  .login-shell {
    min-height: calc(100dvh - 64px);
    padding: 16px 12px 28px;
  }

  .login-card-modern {
    gap: 13px;
    padding: 20px;
    border-radius: 22px;
  }

  .login-form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .phone-login-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .phone-login-action {
    width: 100%;
  }

  .login-card-head h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }
}

@media (max-width: 520px) {
  .auth-app-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .auth-store-button {
    min-height: 46px;
  }

  .login-security-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-security-strip > span {
    max-width: none;
  }

  .login-session-note {
    justify-content: flex-start;
    text-align: left;
  }

  .login-create-row,
  .login-create-row .auth-create-account {
    width: 100%;
  }
}

/* Mobile workspace navigation and seeker profile balance */
.mobile-nav-menu {
  display: none;
}

.mobile-nav-menu > summary {
  list-style: none;
}

.mobile-nav-menu > summary::-webkit-details-marker {
  display: none;
}

@media (max-width: 1060px) {
  .mobile-nav-menu {
    display: block;
    margin-bottom: 16px;
  }

  .mobile-nav-menu > summary {
    display: none;
  }
}

@media (max-width: 760px) {
  .mobile-nav-menu {
    position: sticky;
    top: 76px;
    z-index: 55;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  }

  .mobile-nav-menu > summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 9px 12px;
    color: var(--navy);
    cursor: pointer;
  }

  .mobile-nav-menu-label,
  .mobile-nav-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 0.82rem;
    font-weight: 900;
  }

  .mobile-nav-menu-label {
    margin-right: auto;
  }

  .mobile-nav-current {
    padding: 6px 9px;
    border-radius: 999px;
    color: #5546e8;
    background: #f0edff;
  }

  .mobile-nav-menu-label [data-icon],
  .mobile-nav-chevron {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .mobile-nav-chevron {
    transition: transform 160ms ease;
  }

  .mobile-nav-menu[open] .mobile-nav-chevron {
    transform: rotate(180deg);
  }

  .mobile-nav-menu .mobile-tabs {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: auto;
    margin: 0;
    padding: 0 9px 9px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-nav-menu:not([open]) .mobile-tabs {
    display: none;
  }

  .mobile-nav-menu .mobile-tabs a {
    position: relative;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    min-height: 44px;
    padding: 7px 10px;
    font-size: 0.76rem;
    text-align: left;
  }

  .mobile-nav-menu .mobile-tabs a [data-icon] {
    width: 18px;
    height: 18px;
  }

  .mobile-nav-menu .nav-badge {
    position: static;
    margin-left: auto;
  }

  .mobile-nav-menu .mobile-nav-summary-badge {
    margin-left: 0;
  }

  .section {
    padding-bottom: 42px;
  }

  .seeker-profile-page .page-head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .seeker-profile-page .page-head h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .seeker-profile-page .page-head p {
    margin-top: 5px;
    overflow-wrap: anywhere;
    font-size: 0.92rem;
  }

  .seeker-profile-page .page-head > .pill {
    align-self: flex-start;
  }

  .seeker-profile-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    overflow: visible;
  }

  .seeker-profile-tabs .chip {
    width: 100%;
    min-height: 46px;
    padding: 8px 10px;
    justify-content: center;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }

  .seeker-profile-page > .panel {
    margin-top: 16px !important;
    padding: 16px;
    border-radius: 16px;
  }

  .seeker-profile-page .section-title h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
    line-height: 1.05;
  }

  .seeker-profile-page .jobs-grid {
    gap: 12px;
  }

  .seeker-profile-page .seeker-completed-job-card {
    width: 100%;
    max-width: none;
    padding: 16px;
  }

  .seeker-profile-page .completed-job-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seeker-profile-page .completed-job-actions > .primary-btn,
  .seeker-profile-page .completed-job-actions > .secondary-btn,
  .seeker-profile-page .completed-job-actions > .danger-btn,
  .seeker-profile-page .completed-job-actions > .whatsapp-contact-btn,
  .seeker-profile-page .completed-job-actions > .whatsapp-contact-empty {
    min-height: 50px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }
}

:root[data-theme="dark"] .mobile-nav-menu {
  border-color: var(--line);
  background: rgba(23, 26, 33, 0.97);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .mobile-nav-menu > summary {
  color: var(--text);
}

:root[data-theme="dark"] .mobile-nav-current {
  color: #c4b5fd;
  background: rgba(109, 74, 255, 0.2);
}

/* Unified premium charcoal palette. Dark theme only; layout remains unchanged. */
:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 88% -8%, rgba(255, 75, 62, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--page-start) 0%, var(--bg) 46%, var(--page-end) 100%);
}

:root[data-theme="dark"] .site-header {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 15, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] :is(
    .top-nav,
    .sidebar,
    .admin-sidebar,
    .mobile-tabs,
    .mobile-nav-menu,
    .header-account-chip,
    .theme-toggle,
    .pn-chat-unread-pill
  ) {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background: #10141a;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] :is(
    .top-nav a.is-active,
    .sidebar a.is-active,
    .admin-sidebar a.is-active,
    .mobile-tabs a.is-active,
    .mobile-nav-current
  ) {
  color: #ffffff;
  border-color: rgba(255, 75, 62, 0.32);
  background: linear-gradient(135deg, rgba(255, 75, 62, 0.28), rgba(255, 122, 47, 0.16));
  box-shadow:
    0 10px 24px rgba(255, 75, 62, 0.12),
    inset 3px 0 0 #ff4b3e;
}

:root[data-theme="dark"] :is(
    .top-nav a:hover,
    .sidebar a:hover,
    .admin-sidebar a:hover,
    .mobile-tabs a:hover
  ) {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.055);
}

:root[data-theme="dark"] :is(.brand-mark, .header-account-avatar, .provider-setup-avatar) {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4b3e, #ff7a2f);
  box-shadow: 0 10px 24px rgba(255, 75, 62, 0.24);
}

:root[data-theme="dark"] .theme-toggle-track {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #1d232d, #0f1319);
}

:root[data-theme="dark"] .theme-toggle-thumb {
  background: linear-gradient(135deg, #ff4b3e, #ff7a2f);
  box-shadow: 0 5px 16px rgba(255, 75, 62, 0.34);
}

:root[data-theme="dark"] .theme-toggle:hover,
:root[data-theme="dark"] .theme-toggle:focus-visible {
  border-color: rgba(255, 106, 61, 0.42);
  box-shadow: 0 12px 28px rgba(255, 75, 62, 0.14);
}

:root[data-theme="dark"] :is(
    .role-card,
    .service-card,
    .plan-card,
    .profile-card,
    .auth-card,
    .panel,
    .table-wrap,
    .chat-shell,
    .pricing-card,
    .route-error-card,
    .legal-document,
    .admin-auth-card,
    .admin-mfa-factor-card,
    .admin-mfa-settings-panel,
    .admin-mfa-debug-panel,
    .admin-dashboard-panel,
    .admin-document-toolbar,
    .admin-document-profile,
    .admin-category-toolbar,
    .admin-category-group,
    .admin-main-category-form,
    .admin-subcategory-add,
    .admin-category-visual-editor,
    .provider-profile-card,
    .provider-portfolio-links-panel,
    .payment-card,
    .subscription-current-card,
    .subscription-preview-card,
    .subscription-plans-panel,
    .admin-subscription-board,
    .verification-panel,
    .onboarding-hero-card,
    .uc-search-card,
    .uc-trust-panel,
    .admin-stats-head
  ) {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, #151922 0%, #12161d 100%);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] :is(
    .stat-card,
    .provider-mini-card,
    .job-card,
    .provider-profile-preview-card,
    .seeker-provider-tile,
    .provider-project-card,
    .provider-project-summary-card,
    .project-media-drop,
    .provider-job-city-filter,
    .portfolio-growth-card,
    .stripe-card-preview,
    .stripe-loading-card,
    .premium-plan-card,
    .lock-card,
    .empty-card,
    .map-card,
    .booking-date-card,
    .ios-calendar-card,
    .nearby-category-panel,
    .notification-card,
    .verification-method-card,
    .admin-user-card,
    .admin-user-stat,
    .admin-user-empty,
    .admin-subcategory-card,
    .admin-dashboard-record,
    .admin-dashboard-insights div,
    .admin-document-file,
    .admin-document-provider-details,
    .uc-service-card,
    .uc-job-card,
    .uc-provider-card,
    .uc-proof-card,
    .uc-featured-provider-card,
    .uc-trust-metric,
    .metric-strip div,
    .billing-method-row,
    .billing-invoice-row,
    .billing-empty-state,
    .billing-option-grid article
  ) {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.09);
  background: #171c24;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

:root[data-theme="dark"] :is(
    .job-card:hover,
    .provider-mini-card:hover,
    .provider-profile-preview-card:hover,
    .seeker-provider-tile:hover,
    .provider-project-card:hover,
    .notification-card:hover,
    .admin-subcategory-card:hover,
    .admin-user-card:hover
  ) {
  border-color: rgba(255, 106, 61, 0.36);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.4),
    0 0 22px rgba(255, 75, 62, 0.07);
}

:root[data-theme="dark"] :is(
    .primary-btn,
    .login-submit-btn,
    .notification-mark-all-btn
  ) {
  color: #ffffff;
  border-color: rgba(255, 122, 47, 0.58);
  background: linear-gradient(135deg, #ff4b3e 0%, #ff6a3d 58%, #ff7a2f 100%);
  box-shadow:
    0 14px 30px rgba(255, 75, 62, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

:root[data-theme="dark"] :is(
    .primary-btn:hover,
    .login-submit-btn:hover:not(:disabled),
    .notification-mark-all-btn:hover:not(:disabled)
  ) {
  color: #ffffff;
  border-color: rgba(255, 154, 92, 0.74);
  background: linear-gradient(135deg, #ff5b45 0%, #ff7a2f 100%);
  box-shadow:
    0 18px 38px rgba(255, 75, 62, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

:root[data-theme="dark"] :is(.secondary-btn, .ghost-btn, .icon-btn, .mini-btn) {
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #1d232d 0%, #171c24 100%);
  box-shadow: var(--button-shadow);
}

:root[data-theme="dark"] :is(.secondary-btn:hover, .ghost-btn:hover, .icon-btn:hover, .mini-btn:hover) {
  color: #ffffff;
  border-color: rgba(255, 106, 61, 0.38);
  background: #222934;
  box-shadow: var(--button-shadow-hover);
}

:root[data-theme="dark"] :is(.admin-cities-editor, .admin-legal-editor) {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 75, 62, 0.09), transparent 19rem),
    linear-gradient(145deg, #171c24 0%, #12161d 100%);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] :is(.admin-cities-editor, .admin-legal-editor) h2,
:root[data-theme="dark"] :is(.admin-cities-editor, .admin-legal-editor) .field > span {
  color: #f8fafc;
}

:root[data-theme="dark"] :is(.admin-cities-editor, .admin-legal-editor) :is(p, .muted, small) {
  color: #aeb8c7;
}

:root[data-theme="dark"] :is(.admin-cities-editor, .admin-legal-editor) :is(input, textarea, select) {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.14);
  background: #0d1117;
  caret-color: #ff6a3d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] :is(.admin-cities-editor, .admin-legal-editor) :is(input, textarea, select)::placeholder {
  color: #7f8a9b;
}

:root[data-theme="dark"] :is(.admin-cities-editor, .admin-legal-editor) :is(input, textarea, select):focus {
  border-color: rgba(255, 106, 61, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 75, 62, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] .admin-cities-editor .pill {
  color: #ffb4aa;
  border-color: rgba(255, 106, 61, 0.3);
  background: rgba(255, 75, 62, 0.12);
}

:root[data-theme="dark"] .admin-legal-editor .secondary-btn {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.14);
  background: #1b212b;
}

:root[data-theme="dark"] .auth-create-account {
  color: #ff9b8f;
  border-color: rgba(255, 106, 61, 0.36);
  background: linear-gradient(135deg, rgba(255, 75, 62, 0.18), rgba(255, 122, 47, 0.11));
  box-shadow: 0 12px 28px rgba(255, 75, 62, 0.12);
}

:root[data-theme="dark"] .auth-create-account:hover {
  color: #ffffff;
  border-color: rgba(255, 122, 47, 0.58);
  background: linear-gradient(135deg, rgba(255, 75, 62, 0.26), rgba(255, 122, 47, 0.17));
  box-shadow: 0 16px 34px rgba(255, 75, 62, 0.18);
}

:root[data-theme="dark"] :is(
    input,
    select,
    textarea,
    .field input,
    .field select,
    .field textarea,
    .login-input-shell input,
    .stripe-card-fields div,
    .pn-chat-search input,
    .pn-chat-composer input
  ) {
  color: var(--text);
  caret-color: #ff6a3d;
  border-color: rgba(255, 255, 255, 0.13);
  background: #0f1319;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

:root[data-theme="dark"] :is(
    input,
    select,
    textarea,
    .field input,
    .field select,
    .field textarea,
    .login-input-shell input
  ):focus {
  border-color: rgba(255, 106, 61, 0.72);
  outline-color: rgba(255, 106, 61, 0.34);
  box-shadow:
    0 0 0 3px rgba(255, 75, 62, 0.13),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] :is(input[type="checkbox"], input[type="radio"]) {
  accent-color: #ff4b3e;
}

:root[data-theme="dark"] :is(button, a, [role="button"]):focus-visible {
  outline-color: rgba(255, 106, 61, 0.42);
}

:root[data-theme="dark"] :is(.pill, .eyebrow.light, .pn-role-badge, .admin-user-role) {
  color: #ff9b8f;
  border-color: rgba(255, 106, 61, 0.28);
  background: rgba(255, 75, 62, 0.13);
}

:root[data-theme="dark"] :is(.provider-category-pill, .admin-user-category-pill, .job-meta-pill) {
  color: #ffd0c7;
  border-color: rgba(255, 106, 61, 0.25);
  background: rgba(255, 75, 62, 0.1);
}

:root[data-theme="dark"] :is(.provider-category-more, .admin-user-category-pill.is-more) {
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
}

:root[data-theme="dark"] :is(.pill.green, .hired-status-badge, .job-action-success) {
  color: var(--success-text);
  border-color: var(--success-border);
  background: var(--success-bg);
}

:root[data-theme="dark"] :is(.warning-card, .pill.warning, .status-warning) {
  color: var(--warning-text);
  border-color: var(--warning-border);
  background: var(--warning-bg);
}

:root[data-theme="dark"] :is(.error-card, .pill.red, .auth-inline-message[data-tone="error"]) {
  color: var(--error-text);
  border-color: var(--error-border);
  background: var(--error-bg);
}

:root[data-theme="dark"] :is(.stat-card.interactive, .portfolio-console-stats .stat-card) {
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.26);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 75, 62, 0.15), transparent 8rem),
    linear-gradient(135deg, #1a1d25, #14181f);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] :is(
    .stat-card.interactive:hover,
    .stat-card.interactive.is-active,
    .portfolio-console-stats .stat-card:hover
  ) {
  border-color: rgba(255, 106, 61, 0.54);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(255, 75, 62, 0.08);
}

:root[data-theme="dark"] .stat-card.interactive.is-active {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 75, 62, 0.22), transparent 8rem),
    linear-gradient(135deg, #231b1d, #151922);
}

:root[data-theme="dark"] :is(
    .stat-card.interactive small,
    .portfolio-console-stats .stat-card small,
    .admin-stat-card small
  ) {
  color: #ff9b8f;
}

:root[data-theme="dark"] :is(.admin-stat-card:hover, .admin-stat-card.is-active) {
  border-color: rgba(255, 106, 61, 0.48);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 75, 62, 0.16), transparent 8rem),
    #171c24;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

:root[data-theme="dark"] :is(.admin-stats-kpis .stat-card, .analytics-card) {
  --chart-navy: #ff4b3e;
  --chart-teal: #ff7a2f;
  --chart-green: #f6c85f;
  --chart-extra: #60a5fa;
  --chart-gridline: rgba(255, 255, 255, 0.09);
  --chart-axis-text: #a6adba;
  --chart-legend-text: #f8fafc;
  --chart-tooltip-bg: #f8fafc;
  --chart-tooltip-text: #0b0d10;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 75, 62, 0.13), transparent 16rem),
    linear-gradient(145deg, #151922, #12161d);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.38);
}

:root[data-theme="dark"] :is(th, .analytics-insight, .analytics-foot span) {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.08);
  background: #11151b;
}

:root[data-theme="dark"] .login-shell {
  --auth-card-bg: rgba(18, 22, 29, 0.93);
  --auth-card-border: rgba(255, 255, 255, 0.11);
  --auth-text: #f8fafc;
  --auth-muted: #a6adba;
  --auth-input-bg: rgba(15, 19, 25, 0.92);
  --auth-input-border: rgba(255, 255, 255, 0.13);
  --auth-focus: #ff6a3d;
  --auth-glow: rgba(255, 75, 62, 0.2);
  background: #080a0e;
}

:root[data-theme="dark"] .login-shell::before {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 75, 62, 0.11), transparent 22rem),
    radial-gradient(circle at 88% 84%, rgba(255, 122, 47, 0.09), transparent 24rem),
    linear-gradient(180deg, rgba(8, 10, 14, 0.18), rgba(8, 10, 14, 0.68));
}

:root[data-theme="dark"] .login-card-modern {
  color: var(--auth-text);
  border-color: var(--auth-card-border);
  background: var(--auth-card-bg);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.5);
}

:root[data-theme="dark"] :is(
    .login-welcome-kicker,
    .login-forgot-link,
    .auth-store-button svg,
    .password-toggle:hover,
    .password-toggle:focus-visible
  ) {
  color: #ff9b8f;
}

:root[data-theme="dark"] .login-welcome-kicker {
  border-color: rgba(255, 106, 61, 0.26);
  background: rgba(255, 75, 62, 0.13);
}

:root[data-theme="dark"] .login-security-strip {
  color: #ffd0c7;
  border-color: rgba(255, 106, 61, 0.24);
  background: rgba(255, 75, 62, 0.09);
}

:root[data-theme="dark"] .hire-confirm-modal {
  border-color: rgba(255, 106, 61, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 75, 62, 0.14), transparent 13rem),
    linear-gradient(145deg, #171c24, #12161d);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.52);
}

:root[data-theme="dark"] .hire-confirm-icon {
  color: #ff9b8f;
  background: rgba(255, 75, 62, 0.14);
}

:root[data-theme="dark"] .modal-backdrop {
  background: rgba(2, 4, 7, 0.76);
}

:root[data-theme="dark"] .pn-chat-message-list {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 75, 62, 0.08), transparent 32%),
    #0f1319;
}

:root[data-theme="dark"] .pn-chat-message-row.is-mine .pn-chat-bubble {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4b3e, #ff7a2f);
}

:root[data-theme="dark"] .welcome-page .category-icon-box {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(21, 25, 34, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

@media (hover: hover) and (pointer: fine) {
  :root[data-theme="dark"] .welcome-page .category-icon-box:hover {
    border-color: rgba(255, 139, 82, 0.34);
    background: rgba(31, 28, 29, 0.88);
    box-shadow:
      0 0 30px rgba(255, 106, 61, 0.16),
      0 20px 42px rgba(0, 0, 0, 0.38);
  }
}

:root[data-theme="dark"] .welcome-footer {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 75, 62, 0.12), transparent 24rem),
    #090b0f;
}

:root[data-theme="dark"] :is(.footer-city, .footer-socials a, .footer-socials button, .download-badge) {
  color: #dce1e8;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
}

:root[data-theme="dark"] .admin-user-stat-icon {
  color: #ff9b8f;
  border-color: rgba(255, 106, 61, 0.28);
  background: rgba(255, 75, 62, 0.12);
}

:root[data-theme="dark"] :is(.uc-trust-metric > span, .login-card-logo) {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #ff4b3e, #ff7a2f);
  box-shadow: 0 12px 26px rgba(255, 75, 62, 0.24);
}

:root[data-theme="dark"] .signup-shell {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 75, 62, 0.08), transparent 20rem),
    radial-gradient(circle at 90% 18%, rgba(255, 122, 47, 0.06), transparent 22rem),
    linear-gradient(180deg, #080a0e 0%, #0b0d10 58%, #0b0d10 100%);
}

:root[data-theme="dark"] .signup-story-panel {
  border-color: rgba(255, 106, 61, 0.2);
  background:
    linear-gradient(160deg, rgba(8, 10, 14, 0.74), rgba(61, 19, 17, 0.76)),
    url("./assets/pronearme-hero.png") center / cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

:root[data-theme="dark"] .signup-story-panel::before {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 106, 61, 0.16), transparent 13rem),
    linear-gradient(180deg, rgba(8, 10, 14, 0.08), rgba(8, 10, 14, 0.82));
}

:root[data-theme="dark"] .signup-card-modern {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 75, 62, 0.1), transparent 16rem),
    rgba(18, 22, 29, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

:root[data-theme="dark"] .signup-role-option:hover {
  border-color: rgba(255, 106, 61, 0.42);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4);
}

:root[data-theme="dark"] .signup-role-option:has(input:checked) {
  color: #ffffff;
  border-color: rgba(255, 122, 47, 0.62);
  background: linear-gradient(135deg, #ff4b3e, #ff6a3d 54%, #ff7a2f);
  box-shadow: 0 22px 52px rgba(255, 75, 62, 0.2);
}

:root[data-theme="dark"] .admin-user-actions .mini-btn[data-admin-action="View profile"] {
  color: #ffffff;
  border-color: rgba(255, 122, 47, 0.55);
  background: linear-gradient(135deg, #ff4b3e, #ff7a2f);
}

/* Provider profile: keep the charcoal theme readable and visually cohesive. */
:root[data-theme="dark"] .provider-setup-topbar h1 {
  color: #f8fafc;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .provider-setup-topbar p {
  color: #aeb6c4;
}

:root[data-theme="dark"] .provider-setup-search {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #171c24 0%, #11151b 100%);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .provider-setup-search [data-icon] {
  color: #ff8b75;
}

:root[data-theme="dark"] .provider-setup-search input {
  color: #f8fafc;
  border: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-theme="dark"] .provider-setup-search input::placeholder {
  color: #9fa8b7;
  opacity: 1;
}

:root[data-theme="dark"] .provider-setup-search:focus-within {
  border-color: rgba(255, 106, 61, 0.68);
  box-shadow:
    0 0 0 4px rgba(255, 75, 62, 0.12),
    0 18px 42px rgba(0, 0, 0, 0.4);
}

:root[data-theme="dark"] .provider-profile-card {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.11);
  background: linear-gradient(145deg, #171c24 0%, #11151b 100%);
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.46);
}

:root[data-theme="dark"] .provider-profile-cover {
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 122, 47, 0.36), transparent 18rem),
    radial-gradient(circle at 18% 100%, rgba(255, 75, 62, 0.2), transparent 17rem),
    linear-gradient(110deg, #24171b 0%, #4b211f 54%, #1b1b22 100%);
}

:root[data-theme="dark"] .provider-photo-control .avatar.large {
  color: #ffffff;
  border-color: #171c24;
  background: linear-gradient(135deg, #ff4b3e, #ff7a2f);
  box-shadow:
    0 0 0 1px rgba(255, 106, 61, 0.4),
    0 18px 38px rgba(0, 0, 0, 0.42);
}

:root[data-theme="dark"] .provider-photo-control b {
  color: #ffc0b4;
  border-color: rgba(255, 106, 61, 0.34);
  background: #171c24;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .provider-profile-identity h2 {
  color: #f8fafc;
}

:root[data-theme="dark"] .provider-profile-identity p {
  color: #b5bdca;
}

:root[data-theme="dark"] :is(.provider-form-section, .provider-upload-section) {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 94% 0%, rgba(255, 75, 62, 0.11), transparent 16rem),
    linear-gradient(145deg, #151a22 0%, #11151b 100%);
}

:root[data-theme="dark"] :is(
    .provider-form-section .section-title h2,
    .provider-upload-section h2,
    .provider-profile-card .field > span,
    .provider-profile-card .provider-about-field > label
  ) {
  color: #f8fafc;
}

:root[data-theme="dark"] .provider-about-field {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(7, 10, 14, 0.34);
}

:root[data-theme="dark"] .provider-about-tools small {
  color: #aeb6c4;
}

:root[data-theme="dark"] .provider-about-generate {
  color: #ffd1c8;
  border-color: rgba(255, 106, 61, 0.32);
  background: linear-gradient(135deg, rgba(255, 75, 62, 0.14), rgba(255, 122, 47, 0.09));
}

:root[data-theme="dark"] .provider-about-generate:hover,
:root[data-theme="dark"] .provider-about-generate:focus-visible {
  border-color: rgba(255, 106, 61, 0.58);
  background: linear-gradient(135deg, rgba(255, 75, 62, 0.22), rgba(255, 122, 47, 0.16));
}

:root[data-theme="dark"] :is(
    .provider-form-section .section-title p,
    .provider-upload-section p
  ) {
  color: #aeb6c4;
}

/* Provider documents: cohesive cards and file controls in both themes. */
.provider-upload-section .upload-grid > .upload-box:nth-last-child(1):nth-child(odd) {
  grid-column: 1 / -1;
}

.provider-upload-section .upload-box {
  align-content: start;
  min-height: 190px;
  border-style: solid;
}

.provider-upload-section .upload-box input[type="file"] {
  min-height: 46px;
  margin-top: auto;
  padding: 5px;
  overflow: hidden;
  border: 1px solid #d7def0;
  border-radius: 12px;
  color: #53617f;
  background: #f8faff;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.provider-upload-section .upload-box input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 10px;
  padding: 0 14px;
  border: 1px solid #cbd5ff;
  border-radius: 9px;
  color: #3344b7;
  background: #eef2ff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.provider-upload-section .upload-box em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(64, 82, 214, 0.08);
}

:root[data-theme="dark"] .provider-upload-section .upload-box {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 75, 62, 0.08), transparent 12rem),
    linear-gradient(145deg, #191e27 0%, #141920 100%);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] .provider-upload-section .upload-box:hover,
:root[data-theme="dark"] .provider-upload-section .upload-box:focus-within {
  border-color: rgba(255, 106, 61, 0.5);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.36),
    0 0 20px rgba(255, 75, 62, 0.06);
}

:root[data-theme="dark"] .provider-upload-section .upload-box [data-icon] {
  color: #ff8b75;
}

:root[data-theme="dark"] .provider-upload-section .upload-box strong {
  color: #f8fafc;
}

:root[data-theme="dark"] .provider-upload-section .upload-box span {
  color: #aeb6c4;
}

:root[data-theme="dark"] .provider-upload-section .upload-box input[type="file"] {
  color: #aeb6c4;
  border-color: rgba(255, 255, 255, 0.12);
  background: #0f1319;
  color-scheme: dark;
}

:root[data-theme="dark"] .provider-upload-section .upload-box input[type="file"]::file-selector-button {
  color: #ffd1c8;
  border-color: rgba(255, 106, 61, 0.34);
  background: rgba(255, 75, 62, 0.14);
}

:root[data-theme="dark"] .provider-upload-section .upload-box input[type="file"]::file-selector-button:hover {
  color: #ffffff;
  border-color: rgba(255, 106, 61, 0.58);
  background: rgba(255, 75, 62, 0.24);
}

:root[data-theme="dark"] .provider-upload-section .upload-box em {
  color: #ffad9e;
  background: rgba(255, 75, 62, 0.11);
}

@media (max-width: 760px) {
  .provider-upload-section .upload-grid > .upload-box:nth-last-child(1):nth-child(odd) {
    grid-column: auto;
  }

  .provider-upload-section .upload-box {
    min-height: 176px;
  }
}

:root[data-theme="dark"] :is(
    .provider-profile-card .field input,
    .provider-profile-card .field select,
    .provider-profile-card .field textarea
  ) {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
  background: #0f1319;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] :is(
    .provider-profile-card .field input,
    .provider-profile-card .field textarea
  )::placeholder {
  color: #838d9d;
  opacity: 1;
}

:root[data-theme="dark"] :is(
    .provider-profile-card .field input,
    .provider-profile-card .field select,
    .provider-profile-card .field textarea
  ):focus {
  border-color: #ff6a3d;
  box-shadow:
    0 0 0 4px rgba(255, 75, 62, 0.12),
    0 14px 30px rgba(0, 0, 0, 0.3);
}

/* Provider category picker: keep every dark-mode layer on the same palette. */
:root[data-theme="dark"] .provider-category-selected span {
  color: #ffd1c8;
  border-color: rgba(255, 106, 61, 0.38);
  background: rgba(255, 75, 62, 0.14);
}

:root[data-theme="dark"] .provider-category-selected em {
  color: #aeb6c4;
  border-color: rgba(255, 255, 255, 0.16);
  background: #11151b;
}

:root[data-theme="dark"] .provider-category-search-row {
  border-color: rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, #171c24 0%, #0f1319 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .provider-category-search-row:focus-within {
  border-color: rgba(255, 106, 61, 0.68);
  box-shadow:
    0 0 0 4px rgba(255, 75, 62, 0.11),
    0 16px 36px rgba(0, 0, 0, 0.36);
}

:root[data-theme="dark"] .provider-category-search-row > [data-icon] {
  color: #ff8b75;
}

:root[data-theme="dark"] .provider-profile-card .provider-category-search-row input,
:root[data-theme="dark"] .provider-profile-card .provider-category-search-row input:focus {
  color: #f8fafc;
  background: transparent;
}

:root[data-theme="dark"] .provider-category-search-row input::placeholder {
  color: #8f99a9;
  opacity: 1;
}

:root[data-theme="dark"] .provider-category-toggle {
  color: #ff8b75;
  border-left-color: rgba(255, 255, 255, 0.11);
  background: #171c24;
}

:root[data-theme="dark"] .provider-category-toggle:hover {
  color: #ffffff;
  background: rgba(255, 75, 62, 0.2);
}

:root[data-theme="dark"] .provider-category-menu {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, #151a22 0%, #0f1319 100%);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42);
  scrollbar-color: #667080 #0f1319;
}

:root[data-theme="dark"] .provider-category-group > strong {
  color: #ff9b87;
}

:root[data-theme="dark"] .provider-category-option {
  color: #e7ebf2;
  border-color: rgba(255, 255, 255, 0.11);
  background: #191e27;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .provider-category-option:hover {
  color: #ffffff;
  border-color: rgba(255, 106, 61, 0.5);
  background: #222832;
}

:root[data-theme="dark"] .provider-category-option.is-selected {
  color: #ffffff;
  border-color: rgba(255, 106, 61, 0.72);
  background: linear-gradient(135deg, rgba(255, 75, 62, 0.3), rgba(255, 122, 47, 0.18));
  box-shadow:
    inset 3px 0 0 #ff5b43,
    0 10px 22px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .provider-category-option input {
  accent-color: #ff5b43;
  color-scheme: dark;
}

:root[data-theme="dark"] .provider-category-count {
  color: #ff9b87;
}

/* Admin subscriptions: preserve contrast across every plan-editor layer. */
:root[data-theme="dark"] .admin-premium-plan-card {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 75, 62, 0.1), transparent 18rem),
    linear-gradient(145deg, #171c24 0%, #11151b 100%);
}

:root[data-theme="dark"] .admin-premium-plan-card :is(h2, h3) {
  color: #f8fafc;
}

:root[data-theme="dark"] .admin-premium-plan-card .price {
  border-top-color: rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .admin-premium-plan-card .price strong {
  color: #ff7057;
  text-shadow: 0 12px 28px rgba(255, 75, 62, 0.18);
}

:root[data-theme="dark"] .admin-premium-plan-card .price span,
:root[data-theme="dark"] .admin-premium-plan-card .muted,
:root[data-theme="dark"] .admin-premium-plan-card .field > span {
  color: #aeb6c4;
}

:root[data-theme="dark"] .admin-premium-plan-card .premium-feature-list li {
  color: #e9edf4;
}

:root[data-theme="dark"] .admin-premium-plan-card .premium-feature-list li::before {
  box-shadow: 0 0 0 4px rgba(255, 75, 62, 0.08);
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0 20%, transparent 21%),
    linear-gradient(135deg, #ff4b3e, #ff7a2f);
}

:root[data-theme="dark"] .admin-premium-plan-card .plan-more-btn {
  color: #ffc0b4;
  border-color: rgba(255, 106, 61, 0.35);
  background: rgba(255, 75, 62, 0.12);
}

:root[data-theme="dark"] .admin-premium-plan-card .plan-more-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 106, 61, 0.62);
  background: rgba(255, 75, 62, 0.2);
}

:root[data-theme="dark"] .admin-premium-plan-card .stripe-plan-setup,
:root[data-theme="dark"] .admin-premium-plan-card .stripe-plan-setup.is-ready {
  border-color: rgba(67, 214, 164, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(8, 86, 70, 0.28), rgba(20, 28, 38, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .admin-premium-plan-card .stripe-plan-setup > strong {
  color: #72f0bd;
}

:root[data-theme="dark"] .admin-premium-plan-card .stripe-plan-setup :is(.field > span, small) {
  color: #c5cedb;
}

:root[data-theme="dark"] .admin-premium-plan-card .stripe-plan-setup .field input {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.13);
  background: #0d1117;
}

:root[data-theme="dark"] .admin-premium-plan-card :is(.field input, .field textarea):focus {
  border-color: rgba(255, 106, 61, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 75, 62, 0.12);
}

/* Keep the complete post-job workflow on one consistent dark surface. */
:root[data-theme="dark"] .post-job-pro-shell .post-job-hero {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 75, 62, 0.13), transparent 18rem),
    radial-gradient(circle at 90% 0%, rgba(255, 122, 47, 0.08), transparent 18rem),
    linear-gradient(145deg, #171c24 0%, #12161d 100%);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-hero h1 {
  color: #f8fafc;
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-hero p {
  color: #b6c0cf;
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-pro-form,
:root[data-theme="dark"] .post-job-pro-shell .post-job-form-section,
:root[data-theme="dark"] .post-job-pro-shell .post-job-actions {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.09);
  background: #141920;
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-pro-form {
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-form-section:nth-of-type(even) {
  background: #151a22;
}

:root[data-theme="dark"] .post-job-pro-shell :is(
    .post-job-section-head h2,
    .field > span,
    .field > label,
    .booking-date-picker > span
  ) {
  color: #f4f7fb;
}

:root[data-theme="dark"] .post-job-pro-shell :is(
    .post-job-section-head p,
    .post-job-helper,
    .category-search-count
  ) {
  color: #aeb8c7;
}

:root[data-theme="dark"] .post-job-pro-shell :is(
    .post-job-form-panel .field input,
    .post-job-form-panel .field select,
    .post-job-form-panel .field textarea,
    .post-job-location-field input,
    .category-search-control input
  ) {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.13);
  background: #0d1117;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] .post-job-pro-shell :is(input, textarea)::placeholder {
  color: #8390a3;
  opacity: 1;
}

:root[data-theme="dark"] .post-job-pro-shell :is(
    .post-job-form-panel .field input,
    .post-job-form-panel .field select,
    .post-job-form-panel .field textarea,
    .post-job-location-field input,
    .category-search-control input
  ):focus {
  border-color: rgba(255, 106, 61, 0.72);
  box-shadow:
    0 0 0 3px rgba(255, 75, 62, 0.13),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .post-job-pro-shell .booking-date-card {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 75, 62, 0.1), transparent 16rem),
    linear-gradient(145deg, #191e27 0%, #10141a 100%);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] .post-job-pro-shell .booking-date-card small {
  color: #94a3b8;
}

:root[data-theme="dark"] .post-job-pro-shell .booking-date-card select {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.14);
  background: #11161d;
  box-shadow: none;
}

:root[data-theme="dark"] .post-job-pro-shell .booking-date-card option {
  color: #f8fafc;
  background: #11161d;
}

:root[data-theme="dark"] .post-job-pro-shell .booking-date-card [data-booking-date-summary] {
  color: #ff9b8f;
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-photo-buttons label {
  color: #eef2f7;
  border-color: rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, #1d232d 0%, #171c24 100%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-photo-buttons label:hover {
  color: #ffffff;
  border-color: rgba(255, 106, 61, 0.46);
  background: #222934;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.36),
    0 0 18px rgba(255, 75, 62, 0.07);
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-photo-buttons [data-icon] {
  color: #ff8c78;
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-photo-previews {
  border-color: rgba(255, 255, 255, 0.12);
  background: #171c24;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-photo-preview-head strong {
  color: #f8fafc;
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-photo-preview-head span {
  color: #aeb8c7;
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-photo-preview-tile {
  border-color: rgba(255, 140, 120, 0.32);
  background: #11161d;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-location-tools .mini-btn {
  color: #f2f5f9;
  border-color: rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, #1d232d 0%, #171c24 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .post-job-pro-shell .post-job-actions {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

/* Reviews moderation: keep four actions compact, balanced, and legible. */
.admin-review-section th:last-child,
.admin-review-section td:last-child {
  width: 390px;
  min-width: 390px;
}

.admin-review-section .table-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(42px, auto);
  width: min(100%, 410px);
  gap: 8px;
  padding: 8px;
  border: 1px solid #dfe4ee;
  border-radius: 14px;
  background: #f5f7fa;
  box-shadow: none;
  box-sizing: border-box;
}

.admin-review-section .table-actions .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  height: 100%;
  padding: 8px 10px;
  border-radius: 11px;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  box-shadow: none;
}

.admin-review-section .mini-btn[data-admin-action="View"],
.admin-review-section .mini-btn[data-admin-action="View seeker review"] {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.admin-review-section .mini-btn[data-admin-action="Remove fake"],
.admin-review-section .mini-btn[data-admin-action="Remove seeker review"] {
  color: #9f2d27;
  border-color: #fecaca;
  background: #ffe9e7;
}

.admin-review-section .mini-btn[data-admin-action="Resolve"],
.admin-review-section .mini-btn[data-admin-action="Keep hidden"] {
  color: #087157;
  border-color: #a7f3d0;
  background: #e7f7f1;
}

.admin-review-section .mini-btn[data-admin-action="Warn"],
.admin-review-section .mini-btn[data-admin-action="Mark reported"] {
  color: #7a5200;
  border-color: #fde68a;
  background: #fff3d4;
}

:root[data-theme="dark"] .admin-review-section .table-actions {
  border-color: rgba(255, 255, 255, 0.1);
  background: #11161e;
}

:root[data-theme="dark"] .admin-review-section .mini-btn[data-admin-action="View"],
:root[data-theme="dark"] .admin-review-section .mini-btn[data-admin-action="View seeker review"] {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(37, 99, 235, 0.18);
}

:root[data-theme="dark"] .admin-review-section .mini-btn[data-admin-action="Remove fake"],
:root[data-theme="dark"] .admin-review-section .mini-btn[data-admin-action="Remove seeker review"] {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(153, 27, 27, 0.2);
}

:root[data-theme="dark"] .admin-review-section .mini-btn[data-admin-action="Resolve"],
:root[data-theme="dark"] .admin-review-section .mini-btn[data-admin-action="Keep hidden"] {
  color: #bbf7d0;
  border-color: rgba(74, 222, 128, 0.34);
  background: rgba(21, 128, 61, 0.2);
}

:root[data-theme="dark"] .admin-review-section .mini-btn[data-admin-action="Warn"],
:root[data-theme="dark"] .admin-review-section .mini-btn[data-admin-action="Mark reported"] {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.34);
  background: rgba(161, 98, 7, 0.2);
}

@media (max-width: 720px) {
  .admin-review-section th:last-child,
  .admin-review-section td:last-child {
    width: 330px;
    min-width: 330px;
  }

  .admin-review-section .table-actions {
    width: 100%;
  }
}

/* Service Seeker management: present the four account actions as one balanced unit. */
.admin-route-admin-seekers th:last-child,
.admin-route-admin-seekers td:last-child {
  width: 390px;
  min-width: 390px;
}

.admin-route-admin-seekers .table-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(42px, auto);
  width: min(100%, 410px);
  gap: 8px;
  padding: 8px;
  border: 1px solid #dfe4ee;
  border-radius: 14px;
  background: #f5f7fa;
  box-shadow: none;
  box-sizing: border-box;
}

.admin-route-admin-seekers .table-actions .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  height: 100%;
  padding: 8px 10px;
  border-radius: 11px;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  box-shadow: none;
}

.admin-route-admin-seekers .mini-btn[data-admin-action="View profile"] {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.admin-route-admin-seekers .mini-btn[data-admin-action="Jobs"] {
  color: #5b21b6;
  border-color: #ddd6fe;
  background: #f5f3ff;
}

.admin-route-admin-seekers .mini-btn[data-admin-action="Suspend"] {
  color: #7a5200;
  border-color: #fde68a;
  background: #fff3d4;
}

.admin-route-admin-seekers .mini-btn[data-admin-action="Remove fake jobs"] {
  color: #9f2d27;
  border-color: #fecaca;
  background: #ffe9e7;
}

:root[data-theme="dark"] .admin-route-admin-seekers .table-actions {
  border-color: rgba(255, 255, 255, 0.1);
  background: #11161e;
}

:root[data-theme="dark"] .admin-route-admin-seekers .mini-btn[data-admin-action="View profile"] {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(37, 99, 235, 0.18);
}

:root[data-theme="dark"] .admin-route-admin-seekers .mini-btn[data-admin-action="Jobs"] {
  color: #ddd6fe;
  border-color: rgba(167, 139, 250, 0.38);
  background: rgba(109, 40, 217, 0.2);
}

:root[data-theme="dark"] .admin-route-admin-seekers .mini-btn[data-admin-action="Suspend"] {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.34);
  background: rgba(161, 98, 7, 0.2);
}

:root[data-theme="dark"] .admin-route-admin-seekers .mini-btn[data-admin-action="Remove fake jobs"] {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(153, 27, 27, 0.2);
}

@media (max-width: 720px) {
  .admin-route-admin-seekers th:last-child,
  .admin-route-admin-seekers td:last-child {
    width: 330px;
    min-width: 330px;
  }

  .admin-route-admin-seekers .table-actions {
    width: 100%;
  }
}

@media (max-width: 1060px) and (min-width: 761px) {
  .provider-setup-topbar > div:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .provider-setup-topbar .provider-setup-avatar {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .provider-setup-topbar .provider-setup-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
