/* Workity Web Dashboard — professional layout (not mobile app clone) */

.wa-dashboard {
  display: grid;
  grid-template-columns: 208px 1fr;
  gap: 0;
  min-height: calc(100vh - 72px);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  background: var(--bg);
}

.wa-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.25rem 0;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}

.wa-sidebar-user {
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.wa-sidebar-user strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand-navy);
}

.wa-sidebar-user span {
  font-size: 0.8rem;
  color: var(--muted);
}

.wa-nav-group {
  padding: 0.5rem 0.75rem;
}

.wa-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.5rem 0.75rem 0.35rem;
}

.wa-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: none;
  background: none;
  border-radius: 10px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.wa-nav-item:focus-visible {
  outline: 2px solid var(--brand-tagline);
  outline-offset: 2px;
}

.wa-nav-item:hover {
  background: color-mix(in srgb, var(--brand-tagline) 8%, var(--surface));
  text-decoration: none;
  color: var(--text);
}

.wa-nav-item.active {
  background: color-mix(in srgb, var(--brand-orange) 12%, var(--surface));
  color: var(--brand-navy);
  font-weight: 600;
}

.wa-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.75;
}

.wa-nav-item.active svg {
  opacity: 1;
  color: var(--brand-orange);
}

.wa-nav-highlight {
  margin: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-blue) 8%, var(--surface)), color-mix(in srgb, var(--brand-orange) 6%, var(--surface)));
  border: 1px solid var(--border);
}

.wa-nav-highlight p {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.wa-main {
  padding: 1.5rem 1.75rem 3rem;
  min-width: 0;
}

.wa-page-hero {
  margin-bottom: 1.5rem;
}

.wa-breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.wa-page-hero h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

.wa-page-lead {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}

.wa-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.wa-card-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 50%, var(--surface));
}

.wa-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.wa-card-body {
  padding: 1.25rem;
}

.wa-card-foot {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 40%, var(--surface));
}

.wa-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wa-list-item {
  display: block;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.wa-list-item:hover {
  border-color: color-mix(in srgb, var(--brand-tagline) 40%, var(--border));
  box-shadow: 0 4px 16px rgba(23, 36, 71, 0.06);
  text-decoration: none;
}

.wa-list-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.wa-list-meta {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
}

.wa-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--muted);
}

.wa-badge-open { background: #dcfce7; color: #166534; }
.wa-badge-inProgress { background: #ffedd5; color: #c2410c; }
.wa-badge-completed { background: #dbeafe; color: #1d4ed8; }

.wa-chip {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.wa-chip-gold { background: #fef3c7; color: #92400e; }
.wa-chip-verified { background: #dcfce7; color: #166534; }
.wa-chip-pending { background: #fef9c3; color: #854d0e; }
.wa-chip-muted { background: #f1f5f9; color: var(--muted); }

.wa-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.wa-profile-card-inner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.wa-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--brand-orange) 50%, white);
  flex-shrink: 0;
  cursor: pointer;
}

.wa-avatar-lg {
  width: 112px;
  height: 112px;
}

.wa-profile-company {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
}

.wa-profile-person {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.wa-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0;
}

.wa-rating-line {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.wa-profile-bio {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.wa-profile-bio h4 {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.wa-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.wa-tag {
  padding: 0.3rem 0.65rem;
  background: color-mix(in srgb, var(--brand-blue) 8%, var(--surface));
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}

.wa-profile-meta {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.wa-vbadge {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.wa-vbadge-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}

.wa-vbadge strong {
  display: block;
  margin-bottom: 0.25rem;
}

.wa-vbadge p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.9;
}

.wa-vbadge-verified {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #86efac;
  color: #14532d;
}

.wa-vbadge-pending {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d;
  color: #78350f;
}

.wa-vbadge-none {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.wa-accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 1rem;
  overflow: hidden;
}

.wa-accordion summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wa-accordion summary::after {
  content: "▾";
  font-size: 0.85rem;
  color: var(--muted);
  transition: transform 0.15s;
}

.wa-accordion[open] summary::after {
  transform: rotate(180deg);
}

.wa-accordion-title {
  font-weight: 700;
  color: var(--brand-navy);
}

.wa-accordion-meta {
  font-size: 0.82rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--brand-orange) 12%, var(--surface));
  color: var(--brand-navy);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

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

.wa-accordion-count {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
}

.wa-accordion-body {
  padding: 0 1.15rem 1rem;
  border-top: 1px solid var(--border);
}

.wa-review-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.wa-review-item:last-child { border-bottom: none; }

.wa-review-stars {
  margin-bottom: 0.35rem;
}

.wa-review-stars .wi-stars {
  gap: 3px;
}

.wa-review-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.wa-review-item-head time {
  font-size: 0.78rem;
  color: var(--muted);
}

.wa-reviews-empty {
  padding: 0.5rem 0;
}

.wa-price {
  color: #16a34a;
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
}

.wa-job-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.wa-job-item-top h3 {
  margin: 0;
  flex: 1;
}

.wa-job-item:hover {
  border-color: color-mix(in srgb, #16a34a 30%, var(--border));
}

.wa-bid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.wa-bid-card.accepted {
  border-color: #86efac;
  background: color-mix(in srgb, #dcfce7 50%, var(--surface));
}

.wa-bid-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.wa-badge-bid {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-theme-picker-lg {
  max-width: 320px;
}

.nav-theme-picker-lg button {
  flex: 1;
  padding: 0.65rem 0.5rem;
}

.wa-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.wa-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-blue) 10%, transparent);
  color: var(--brand-blue);
}

.wa-empty-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.wa-empty-state h3 {
  margin: 0 0 0.5rem;
}

.wa-empty-state p {
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 1rem;
}

.wa-map {
  height: 380px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  z-index: 1;
}

.wa-map-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.wa-map-controls label {
  grid-column: 1 / -1;
  font-size: 0.88rem;
}

.wa-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.wa-pin-dot {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--brand-orange);
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wa-pin-dot-premium {
  background: linear-gradient(135deg, #fbbf24, #c9a227);
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.45);
}

.wa-pin-premium { border: none; }

.wa-chat-layout {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  min-height: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.wa-chat-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: color-mix(in srgb, var(--bg) 40%, var(--surface));
}

.wa-chat-header img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.wa-chat-thread {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: color-mix(in srgb, var(--bg) 60%, var(--surface));
}

.wa-msg {
  max-width: 75%;
  padding: 0.7rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.wa-msg.mine {
  align-self: flex-end;
  background: var(--brand-navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.wa-msg.theirs {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.wa-msg time {
  display: block;
  font-size: 0.68rem;
  opacity: 0.65;
  margin-top: 0.35rem;
}

.wa-msg img {
  max-width: 220px;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  margin-bottom: 0.35rem;
}

.wa-chat-compose {
  display: flex;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.wa-chat-compose input[type="text"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font: inherit;
}

.wa-chat-list-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.wa-chat-list-item img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.wa-chat-list-body { flex: 1; min-width: 0; }

.wa-chat-preview {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 0.85rem;
}

.wa-unread {
  background: var(--brand-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.wa-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.wa-gallery-thumb {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

.wa-gallery-thumb img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
  transition: transform 0.15s;
}

.wa-gallery-thumb:hover img { transform: scale(1.03); }

.wa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.wa-lightbox[hidden] { display: none !important; }

.wa-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.wa-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.wa-form { display: flex; flex-direction: column; gap: 1.1rem; }

.wa-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--brand-navy);
}

.wa-field input,
.wa-field select,
.wa-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: var(--surface);
}

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

.wa-field-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.wa-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.wa-back:hover { color: var(--brand-tagline); }

.wa-error { color: #dc2626; font-size: 0.9rem; }
.wa-loading { text-align: center; padding: 3rem; color: var(--muted); }
.wa-muted { color: var(--muted); font-size: 0.9rem; }

.wa-settings-grid {
  display: grid;
  gap: 0.65rem;
}

.wa-settings-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: border-color 0.15s;
}

.wa-settings-link:hover {
  border-color: var(--brand-tagline);
  text-decoration: none;
}

.nav-btn-outline {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.nav-btn-outline:hover {
  border-color: var(--brand-tagline) !important;
  color: var(--brand-navy) !important;
}

.wa-tabbar { display: none !important; }

@media (max-width: 900px) {
  .wa-dashboard {
    grid-template-columns: 1fr;
  }
  .wa-sidebar {
    position: relative;
    top: 0;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
  }
  .wa-nav-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.5rem;
  }
  .wa-nav-label,
  .wa-nav-highlight,
  .wa-sidebar-user { display: none; }
  .wa-nav-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  .wa-main { padding: 1rem; }
}

.wa-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--brand-navy);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.wa-map-hint {
  margin: 0.5rem 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.65rem 0.85rem;
  background: color-mix(in srgb, var(--brand-blue) 5%, var(--surface));
  border-radius: 10px;
  border: 1px solid var(--border);
}

.wa-map-hint[hidden] {
  display: none;
}

.wa-provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.wa-provider-card {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.wa-provider-card:hover {
  border-color: color-mix(in srgb, var(--brand-tagline) 45%, var(--border));
  box-shadow: 0 6px 20px rgba(23, 36, 71, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}

.wa-provider-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid color-mix(in srgb, var(--brand-orange) 35%, white);
}

.wa-provider-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.wa-provider-sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.wa-provider-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  align-items: center;
}

.wa-provider-dist {
  font-weight: 600;
  color: var(--brand-blue);
}

.wa-provider-dist-muted {
  color: var(--muted);
  font-weight: 500;
}

.wa-verified-success {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #86efac;
  color: #14532d;
}

.wa-verified-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.wa-verified-success h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.wa-verified-success p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.92rem;
}

.wa-pending-box {
  padding: 0.5rem 0;
}

.wa-settings-danger {
  border-color: #fecaca !important;
  color: #b91c1c !important;
  background: #fef2f2 !important;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font: inherit;
}

.wa-settings-danger:hover {
  background: #fee2e2 !important;
}

.wa-chat-list-item h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wa-onboarding {
  max-width: 520px;
  margin: 0 auto;
}

.wa-role-pick {
  display: grid;
  gap: 0.75rem;
}

.wa-role-pick button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font: inherit;
  color: inherit;
}

.wa-role-pick button strong {
  font-size: 1rem;
  color: var(--brand-navy);
}

.wa-role-pick button span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.wa-role-pick button.selected,
.wa-role-pick button:hover {
  border-color: var(--brand-blue);
  background: color-mix(in srgb, var(--brand-blue) 6%, var(--surface));
}

.wa-onboard-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.wa-onboard-actions .btn {
  flex: 1;
}

.wa-onboarding-done {
  text-align: center;
}

.wa-vi-check {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/14px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/14px no-repeat;
}

.wa-vi-clock {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2'/%3E%3Cpolyline points='12 6 12 12 16 14' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2'/%3E%3Cpolyline points='12 6 12 12 16 14' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat;
}

.wa-vi-circle {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat;
}

.wa-verified-icon.wa-vi-check {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #16a34a;
}

.wa-saved-mark {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  background: #f59e0b;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  vertical-align: middle;
}

.wa-loc-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.wa-chip-inline {
  font-size: 0.65rem;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.wa-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.wa-rating-empty .wa-rating-muted {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.wa-reviews-summary {
  list-style: none;
}

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

.wa-accordion-chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  margin-left: auto;
}

.wa-reviews-accordion[open] .wa-accordion-chevron {
  transform: rotate(45deg);
}

.wa-reviews-accordion summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.wa-review-item[data-hidden="1"] {
  display: none;
}

.wa-reviews-more {
  margin-top: 0.75rem;
  width: 100%;
}

.wa-danger-zone {
  margin-top: 1.5rem;
  border-color: #fecaca;
}

.wa-danger-title {
  margin: 0 0 0.5rem;
  color: #b91c1c;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
  border: none;
}

.btn-danger:hover {
  background: #b91c1c;
}

.wa-dialog {
  border: none;
  border-radius: 14px;
  padding: 0;
  max-width: 28rem;
  width: calc(100% - 2rem);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.wa-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.wa-dialog-inner {
  padding: 1.25rem 1.35rem;
}

.wa-dialog-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.wa-dialog-actions .btn {
  flex: 1;
}

.wa-settings-admin {
  border-color: color-mix(in srgb, var(--brand-blue) 30%, var(--border));
  background: color-mix(in srgb, var(--brand-blue) 5%, var(--surface));
}

.wa-admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wa-admin-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
}

.wa-admin-tab.active {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}

.wa-admin-item {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: var(--surface);
}

.wa-admin-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.wa-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
