@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,500,0,0");
@import url("https://fonts.googleapis.com/css2?family=Allerta+Stencil&display=swap");

:root {
  --bg: #f4f2ed;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --accent: #79b800;
  --accent-strong: #5b8f00;
  --highlight: #f7c64b;
  --danger: #e25555;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  background: radial-gradient(circle at top, #fef6d3 0%, #f4f2ed 35%, #e9f2f1 100%);
  color: var(--ink);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

.provider-theme {
  --accent: #111111;
  --accent-strong: #000000;
  background: radial-gradient(circle at top, #f1f1f1 0%, #e9e9e9 35%, #dedede 100%);
}

.provider-theme .primary-button {
  background: var(--accent);
  color: #ffffff;
}

.provider-theme .meta-pill {
  background: rgba(15, 23, 42, 0.1);
  color: var(--ink);
}

.provider-theme .action-button.save {
  background: rgba(15, 23, 42, 0.1);
  color: var(--ink);
}

.provider-theme .auth-status.success {
  background: rgba(15, 23, 42, 0.1);
  color: var(--ink);
}

.provider-theme .rating-row .bar span {
  background: var(--accent);
}

.provider-theme .stat-trend.up {
  color: var(--ink);
}

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

.app,
.landing {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 18px 32px;
  min-height: 100vh;
}

.app-header,
.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.brand-tm {
  position: absolute;
  right: -14px;
  top: 2px;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

.brand-wordmark {
  display: inline-block;
  width: 124px;
  height: 34px;
  background: url("./assets/plugfeedlogo-rmbg.png") center / contain no-repeat;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
}

.brand-wordmark .plug {
  display: none;
}

.brand-wordmark .feed {
  display: none;
}

.brand-empty {
  width: 64px;
  height: 64px;
  display: inline-block;
}

.brand-logo {
  width: auto;
  height: 56px;
  max-width: 220px;
  object-fit: contain;
}

.screen .brand-logo {
  width: 64px;
  height: 64px;
}

.landing-page .brand-logo,
.auth-page .brand-logo,
.auth-choice-page .brand-logo {
  width: auto;
  height: 56px;
  max-width: 220px;
}
.ghost-button {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: transparent;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ghost-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
}

.ghost-button.compact {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.role-switch-button {
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  white-space: nowrap;
}

.role-switch-button .material-symbols-rounded {
  font-size: 1.05rem;
}

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

.screen {
  max-width: 620px;
  margin: 0 auto;
  padding: 24px 18px 96px;
  min-height: 100vh;
  display: grid;
  gap: 24px;
}

.screen > * {
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.topbar > * {
  min-width: 0;
}

.compact-topbar {
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 0;
}

.topbar-kicker {
  margin-left: 0;
  text-align: left;
}

.compact-topbar .role-switch-button {
  margin-left: 8px;
}

.compact-topbar .topbar-kicker {
  margin: 0;
  padding: 0;
}

.compact-topbar .header-actions {
  margin-left: auto;
}

.community-activity-btn {
  position: relative;
  min-width: 36px;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 0;
}

.community-activity-btn .material-symbols-rounded {
  font-size: 1.15rem;
}

.community-activity-btn .nav-badge {
  position: absolute;
  top: -5px;
  right: -5px;
}

.minimal-kicker .brand-link {
  display: none;
}

.topbar-title {
  flex: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.topbar-headline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar h1 {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  line-height: 1.2;
}

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

.profile-inline-head h3 {
  margin: 0;
}

.profile-inline-head .muted {
  margin: 2px 0 0;
}

.inline-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
}
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--muted);
}

.input-field {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  min-width: 0;
}

.proposal-fields .check-list label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  column-gap: 8px;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.proposal-fields .check-list label input[type="checkbox"] {
  margin-top: 2px;
  flex: 0 0 auto;
}

.proposal-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.auth-page .landing {
  max-width: 520px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.82);
  padding: 22px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.auth-card.auth-simple {
  max-width: 420px;
  margin: 0 auto;
}

.auth-shell {
  display: grid;
  gap: 20px;
}

.auth-aside {
  display: none;
}

.auth-mock {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-row strong {
  display: block;
  font-size: 1.2rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  gap: 10px;
}

.auth-tabs .tab {
  flex: 1;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.auth-tabs .tab.active {
  background: var(--ink);
  color: white;
}

.auth-status {
  font-size: 0.85rem;
  padding: 8px 10px;
  border-radius: 10px;
}

.auth-status.success {
  background: rgba(121, 184, 0, 0.15);
  color: var(--accent-strong);
}

.auth-status.error {
  background: rgba(226, 85, 85, 0.12);
  color: #b91c1c;
}

.auth-status.info {
  background: rgba(15, 23, 42, 0.08);
  color: var(--muted);
}

.auth-actions {
  display: flex;
  gap: 10px;
}

.signup-type {
  display: grid;
  gap: 8px;
}

.signup-options {
  display: grid;
  gap: 8px;
}

.signup-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink);
}

.password-field {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.password-field input {
  width: 100%;
  padding-right: 44px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
}

.toggle-password svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.toggle-password .slash {
  display: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.toggle-password.is-hidden .slash {
  display: block;
}

.hidden {
  display: none !important;
}

.primary-button {
  border: none;
  background: var(--accent);
  color: white;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.primary-button:hover {
  transform: translateY(-1px);
}

.danger-button {
  border: none;
  background: var(--danger);
  color: white;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 20px rgba(226, 85, 85, 0.18);
}

.danger-button:hover {
  transform: translateY(-1px);
}

.danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
  transform: none;
}

.auth-link-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-page .screen {
  max-width: 1100px;
}

.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
}

.stat-card h2 {
  margin: 0;
  font-size: 1.6rem;
}

.stat-trend {
  font-size: 0.75rem;
  color: var(--muted);
}

.stat-trend.up {
  color: var(--accent-strong);
}

.dashboard-panels {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.panel {
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.fb-edit-shell {
  display: grid;
  gap: 14px;
}

.fb-edit-header {
  padding: 0;
  overflow: hidden;
}

.fb-cover {
  height: 180px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.6)), #1f2937;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
}

.fb-cover .ghost-button {
  background: rgba(255, 255, 255, 0.86);
}

.fb-avatar-wrap {
  display: grid;
  justify-items: center;
  margin-top: -48px;
  gap: 8px;
}

.fb-avatar-lg {
  width: 104px;
  height: 104px;
  border-radius: 999px;
}

.fb-header-meta {
  text-align: center;
  padding: 0 16px 14px;
}

.fb-header-meta h2 {
  margin: 0;
}

.edit-form-single {
  display: grid;
  gap: 14px;
}

.edit-savebar {
  position: static;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
  z-index: 5;
  display: grid;
  gap: 8px;
}

.edit-savebar .primary-button {
  width: 100%;
}

.profile-readiness-card {
  gap: 10px;
}

.completion-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.completion-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #79b800, #9ed13b);
  transition: width 0.2s ease;
}

.missing-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  display: grid;
  gap: 4px;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-actions .primary-button,
.status-actions .ghost-button {
  flex: 1 1 150px;
}

.badge.badge-success {
  background: #79b800;
  color: #fff;
}

.badge.badge-muted {
  background: rgba(15, 23, 42, 0.14);
  color: var(--ink);
}

.social-links-grid {
  display: grid;
  gap: 10px;
}

.social-input span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
}

.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.8rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  flex-wrap: wrap;
}

.panel-header h3 {
  margin: 0;
  font-size: 1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.rating-panel {
  gap: 16px;
}

.rating-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rating-score h2 {
  margin: 0;
  font-size: 2rem;
}

.rating-stars {
  font-size: 1.2rem;
  color: var(--highlight);
}

.rating-bars {
  display: grid;
  gap: 8px;
}

.rating-row {
  display: grid;
  grid-template-columns: 16px 1fr 38px;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.rating-row .bar {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.rating-row .bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.upload-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.upload-field {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  min-width: 0;
}

.upload-field input[type="file"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.upload-field input[type="file"]::file-selector-button {
  margin-right: 10px;
}

.upload-field small,
.upload-field .muted {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tag-picker-wrap {
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(15, 23, 42, 0.04);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.tag-chip.active {
  border-color: rgba(121, 184, 0, 0.6);
  background: rgba(121, 184, 0, 0.2);
  color: #355200;
}

.banner-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.22);
  background: var(--swatch, #0f172a);
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.color-swatch.selected {
  border-color: #79b800;
  box-shadow: 0 0 0 2px rgba(121, 184, 0, 0.25);
}

.preview-card {
  display: grid;
}

.preview-card .card {
  position: relative;
  height: 320px;
  box-shadow: none;
}

.preview-card-mobile .card {
  height: min(62vh, 420px);
}

.preview-card .card > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.preview-card .card-content {
  position: absolute;
}

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

.gallery-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.08);
}

.gallery-card button {
  border-radius: 0;
  justify-content: center;
}

.property-photo-card img.is-hidden-photo {
  filter: blur(12px) brightness(0.8);
}

.property-photo-card {
  position: relative;
}

.property-photo-visibility {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.account-card {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  justify-items: start;
}

.profile-avatar-lg {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

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

.settings-group {
  display: grid;
  gap: 12px;
}

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

.settings-item {
  border: none;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
  overflow-wrap: anywhere;
}

.settings-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.14);
}

.settings-item.danger {
  background: rgba(226, 85, 85, 0.12);
  color: var(--danger);
}

.settings-nav-item.danger {
  color: var(--danger);
}

.danger-zone-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(226, 85, 85, 0.22);
  border-radius: 20px;
  background: rgba(226, 85, 85, 0.08);
}

.danger-zone-card strong {
  color: var(--danger);
}

.settings-shell {
  display: grid;
  gap: 14px;
}

.settings-side-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.settings-nav-item {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.settings-nav-item.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.settings-sections {
  display: grid;
  gap: 12px;
}

.settings-section {
  display: none;
}

.settings-section.active {
  display: grid;
}

.topbar.minimal {
  justify-content: space-between;
}

.icon-row {
  display: flex;
  gap: 8px;
}

.icon-button {
  border: none;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.icon-button img {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.client-hero {
  position: relative;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 18px 16px 8px;
}

.client-hero-bg {
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 160px;
  border-radius: 24px;
  background: #e9eeef;
  z-index: -1;
}

.client-edit-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  margin-top: 8px;
  padding-top: 12px;
  padding-bottom: 14px;
}

.client-edit-preview .client-hero-bg {
  top: 0;
  z-index: 0;
}

.client-edit-preview .client-avatar-wrap,
.client-edit-preview .client-info {
  position: relative;
  z-index: 1;
}


.client-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: visible;
  border: 4px solid white;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  background: white;
}

.client-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-edit {
  position: absolute;
  right: -6px;
  bottom: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: var(--ink);
}

.client-info h2 {
  margin: 0;
}

.list-cards .settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pill {
  background: rgba(15, 23, 42, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.pill.link {
  color: var(--accent-strong);
}

.verified-badge {
  background: rgba(121, 184, 0, 0.2);
  color: #426400;
  border: 1px solid rgba(121, 184, 0, 0.35);
}

.client-public-card {
  display: grid;
  gap: 10px;
}

.mini-client {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-client.large {
  align-items: flex-start;
}

.mini-client img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  background: #e9eeef;
}

.mini-client.large img {
  width: 56px;
  height: 56px;
}

.mini-client h4 {
  margin: 0;
}

.mini-client .muted {
  margin: 2px 0 0;
}

.edit-panel {
  padding: 20px;
}

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

.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: white;
}

.phone-input input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
}

.phone-input .flag {
  font-size: 1.1rem;
}

.client-profile-edit .modal-form input,
.client-profile-edit .modal-form select {
  background: white;
}

.settings-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  font-size: 0.9rem;
}

.auth-link {
  text-align: center;
}

.auth-foot {
  text-align: center;
}

.auth-choice {
  display: grid;
  gap: 14px;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.choice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.choice-card.recommended {
  border: 1px solid rgba(121, 184, 0, 0.45);
  box-shadow: 0 16px 34px rgba(121, 184, 0, 0.2);
}

.intent-choice-panel h1 {
  font-size: clamp(2.1rem, 10vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.intent-choice-grid {
  margin-top: 8px;
}

.intent-card {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  min-height: 118px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.intent-card h3,
.intent-card p {
  margin: 0;
}

.intent-card h3 {
  font-size: 1.12rem;
}

.intent-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(121, 184, 0, 0.13);
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 900;
}

.plug-intent .intent-icon {
  background: rgba(15, 23, 42, 0.08);
  color: #111;
}

.jobs-page .job-list,
.jobs-page .job-feed {
  display: grid;
  gap: 12px;
  align-content: start;
}

.job-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  flex-wrap: wrap;
}

.job-link-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.job-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
}

.job-link-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.job-thumb {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.job-card-body {
  flex: 1;
  min-width: 0;
}

.job-link {
  font-size: 0.8rem;
  color: var(--accent-strong);
}

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

.job-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 220px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.08);
}

.gallery-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  display: block;
}

@media (min-width: 768px) {
  .job-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .job-gallery img {
    max-height: 260px;
  }

  .gallery-photo-frame,
  .gallery-card img {
    max-height: 260px;
  }
}

.job-notes {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.job-notes li {
  margin: 0;
}

.profile-trust-card {
  align-items: flex-start;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 2px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.status-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 8px;
}

.status-step {
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-step.active {
  background: rgba(121, 184, 0, 0.2);
  border-color: rgba(121, 184, 0, 0.5);
  color: #4f7700;
  font-weight: 600;
}

@media (max-width: 767px) {
  .status-timeline {
    gap: 6px;
    margin-top: 2px;
  }

  .status-step {
    font-size: 0.66rem;
    padding: 5px 6px;
  }

  .proposal-inbox-card .job-thumb {
    width: 72px;
    height: 72px;
  }

  .proposal-inbox-card .job-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
  }
}

.overview-item {
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 4px;
}

.overview-item strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.overview-helper {
  margin: 0;
  font-size: 0.82rem;
}

.scope-box {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
  display: grid;
  gap: 6px;
}

.scope-box h4 {
  margin: 0;
}

.scope-box p {
  margin: 0;
}

.hire-detail-box {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.hire-detail-box h4,
.hire-detail-box h5 {
  margin: 0;
  color: var(--ink);
}

.hire-detail-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.42fr) 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.86rem;
}

.hire-detail-row span {
  color: var(--muted);
}

.hire-detail-row strong {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

#proposal-summary-panel {
  width: 100%;
  margin: 0;
}

.proposal-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.proposal-summary-head h4 {
  margin: 0;
}

.proposal-summary-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

#proposal-summary-copy {
  display: grid;
  gap: 6px;
}

#proposal-summary-copy p {
  margin: 0;
}
.job-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.job-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
  min-width: 0;
}

.proposal-inbox-list {
  display: grid;
  gap: 10px;
}

.proposal-inbox-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.proposal-inbox-meta {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
}

.proposal-status-pill {
  text-transform: none;
}

.proposal-status-pill.status-pending {
  background: rgba(247, 198, 75, 0.28);
  color: #6d5200;
}

.proposal-status-pill.status-accepted {
  background: rgba(121, 184, 0, 0.2);
  color: #4f7700;
}

.proposal-status-pill.status-requested {
  background: rgba(79, 70, 229, 0.14);
  color: #3730a3;
}

.proposal-status-pill.status-completed,
.proposal-status-pill.status-closed {
  background: rgba(15, 23, 42, 0.12);
  color: #334155;
}

.review-actions {
  justify-items: stretch;
  grid-template-columns: 1fr;
}

.review-actions .ghost-button,
.review-actions .primary-button {
  width: 100%;
}

.job-group-title {
  margin: 4px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.job-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nested-job-list {
  margin-top: 4px;
}

.job-card-closed {
  opacity: 0.72;
  filter: grayscale(0.28);
}

.proposal-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  position: relative;
}

.proposal-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
}

.proposal-body {
  display: grid;
  gap: 4px;
  min-width: 0;
  /* Reserve space for the top-right overflow menu button */
  padding-right: 56px;
}

.proposal-title {
  margin: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.proposal-meta {
  margin: 0;
  font-size: 0.94rem;
}

.proposal-actions {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.proposal-menu-wrap {
  position: relative;
}

.proposal-card-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
}

.proposal-more-btn {
  min-width: 40px;
  padding: 8px 10px;
  line-height: 1;
  font-size: 1.2rem;
}

.proposal-overflow-menu {
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 6px);
  z-index: 6;
  min-width: 170px;
  max-width: min(220px, calc(100vw - 56px));
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.proposal-overflow-menu.align-left {
  left: 0;
  right: auto;
}

.proposal-menu-item {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.proposal-menu-item:hover {
  border-color: rgba(15, 23, 42, 0.3);
}

.proposal-status {
  text-transform: capitalize;
}

.proposal-status.status-pending {
  background: rgba(100, 116, 139, 0.16);
  color: #5f6d87;
}

.proposal-status.status-accepted {
  background: rgba(121, 184, 0, 0.2);
  color: #4f7700;
}

.proposal-status.status-closed {
  background: rgba(100, 116, 139, 0.16);
  color: #5f6d87;
}

.proposal-status.status-requested {
  background: rgba(79, 70, 229, 0.14);
  color: #3730a3;
}

.proposal-status.status-declined {
  background: rgba(226, 85, 85, 0.14);
  color: #9f1239;
}

/* Provider job feed: keep client info readable and avoid squeezed text on mobile */
@media (max-width: 900px) {
  .jobs-page.provider-theme .job-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 10px;
    align-items: start;
  }

  .jobs-page.provider-theme .job-thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .jobs-page.provider-theme .job-card-body {
    grid-column: 2;
    grid-row: 1;
  }

  .jobs-page.provider-theme .job-actions {
    grid-column: 2;
    grid-row: 2;
    justify-items: start;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
  }

  .jobs-page.provider-theme .mini-client {
    align-items: flex-start;
  }

  .jobs-page.provider-theme #request-list .job-card,
  .jobs-page.provider-theme #request-closed .job-card {
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 8px;
    padding: 12px;
  }

  .jobs-page.provider-theme #request-list .job-card .job-actions,
  .jobs-page.provider-theme #request-closed .job-card .job-actions {
    justify-items: start;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .jobs-page.provider-theme #request-list .mini-client > div,
  .jobs-page.provider-theme #request-closed .mini-client > div {
    min-width: 0;
  }

  .jobs-page.provider-theme #request-list .job-thumb,
  .jobs-page.provider-theme #request-closed .job-thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .jobs-page.provider-theme #request-list .job-card-body,
  .jobs-page.provider-theme #request-closed .job-card-body {
    grid-column: 2;
    grid-row: 1;
  }

  .jobs-page.provider-theme #request-list .job-card .job-actions,
  .jobs-page.provider-theme #request-closed .job-card .job-actions {
    grid-column: 2;
    grid-row: 2;
  }

  .proposal-overflow-menu {
    right: 0;
    left: auto;
  }
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 8px;
  display: flex;
  gap: 10px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(12px);
  z-index: 20;
}

.bottom-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  min-width: 72px;
  text-align: center;
  position: relative;
}

.bottom-nav a.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.2);
}

.nav-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e25555;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  .dashboard-panels {
    grid-template-columns: 1fr;
  }

  .job-card-body {
    min-width: 0;
  }

  .topbar-title {
    min-width: 0;
  }

  .community-screen .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .community-screen .topbar-kicker {
    margin-left: auto;
    white-space: nowrap;
  }

  .community-screen .brand-wordmark {
    font-size: 1rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bottom-nav {
    left: 10px;
    right: 10px;
    transform: none;
    width: auto;
    gap: 4px;
    padding: 6px;
  }

  .bottom-nav a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 8px 4px;
    font-size: 0;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bottom-nav a::before {
    content: "radio_button_checked";
    font-family: "Material Symbols Rounded";
    font-weight: normal;
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "liga";
  }

  .bottom-nav a[href*="dashboard"]::before {
    content: "dashboard";
  }

  .bottom-nav a[href*="discover"]::before,
  .bottom-nav a[href*="provider-jobs"]::before {
    content: "explore";
  }

  .bottom-nav a[href*="client-jobs"]::before,
  .bottom-nav a[href*="provider-requests"]::before {
    content: "assignment";
  }

  .bottom-nav a[href*="messages"]::before {
    content: "chat_bubble";
    font-size: 1.35rem;
    font-variation-settings: "wght" 700, "opsz" 24;
  }

  .bottom-nav a[href*="community"]::before {
    content: "forum";
  }

  .bottom-nav a[href*="profile"]::before {
    content: "account_circle";
  }

  .bottom-nav a[href*="saved"]::before {
    content: "favorite";
  }

  .jobs-page .topbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .jobs-page .topbar-title {
    min-width: 0;
  }

  .jobs-page .topbar > .ghost-button {
    display: none;
  }

  .jobs-page .topbar > .always-show-back {
    display: inline-flex;
  }

  .jobs-page .panel {
    padding: 16px;
  }

  .jobs-page .job-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
  }

  .jobs-page .job-actions .primary-button,
  .jobs-page .job-actions .ghost-button,
  .jobs-page .job-actions .pill {
    max-width: 100%;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .settings-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
  }

  .settings-side-nav {
    flex-direction: column;
    position: sticky;
    top: 98px;
    overflow: visible;
  }

  .settings-nav-item {
    border-radius: 14px;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .review-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.landing {
  display: grid;
  gap: 32px;
}

.landing-entry {
  min-height: 100vh;
  align-content: start;
}

.landing-entry-header {
  align-items: center;
}

.beta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(121, 184, 0, 0.12);
  color: #4d8000;
  font-size: 0.78rem;
  font-weight: 800;
}

.landing-entry-hero {
  display: grid;
  gap: 28px;
  align-items: center;
}

.landing-entry-copy h1 {
  margin: 10px 0;
  font-size: clamp(2.7rem, 14vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.landing-entry-copy .hero-sub {
  max-width: 560px;
  font-size: 1rem;
}

.landing-entry-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.landing-main-cta {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.02rem;
  border-radius: 18px;
}

.landing-entry-note {
  margin-top: 14px;
}

.landing-static-preview {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  min-height: 480px;
  background: #111;
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.22);
  isolation: isolate;
}

.landing-static-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.08) 38%, rgba(15, 23, 42, 0.78));
  z-index: 1;
}

.landing-static-preview img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

.preview-phone-bar {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 120px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  z-index: 2;
}

.landing-preview-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.landing-preview-content h2,
.landing-preview-content p {
  margin: 0;
}

.landing-preview-content h2 {
  font-size: 1.4rem;
}

.preview-label {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.preview-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-chips span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(121, 184, 0, 0.13);
  color: #4d8000;
  font-size: 0.78rem;
  font-weight: 800;
}

.landing-steps article {
  position: relative;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.hero {
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--muted);
}

.hero h1 {
  margin: 10px 0;
  font-size: clamp(2.2rem, 6vw, 3rem);
}

.hero-sub {
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero-carousel {
  position: relative;
  height: 420px;
}

.profile-card {
  position: absolute;
  inset: 0;
  background: #f8f9fb;
  border-radius: 26px;
  padding: 0;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease, opacity 0.25s ease;
  overflow: hidden;
}

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

.profile-card-body {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 12px 10px;
  border-radius: 18px;
  background: rgba(248, 249, 251, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.profile-card-body h3 {
  margin: 6px 0 4px;
  font-size: 1rem;
}

.profile-card-body p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.profile-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.profile-stats button {
  margin-left: auto;
  padding: 6px 12px;
  font-size: 0.75rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.inline-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verified {
  color: #20b26b;
  font-size: 0.85rem;
}

.landing-grid {
  display: grid;
  gap: 16px;
}

.landing-grid article {
  background: rgba(255, 255, 255, 0.75);
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.landing-footer {
  text-align: center;
  color: var(--muted);
}

.page-footer {
  padding: 24px 18px 40px;
  text-align: center;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-links a {
  color: inherit;
  font-size: 0.85rem;
}

.footer-meta {
  margin: 4px 0;
  font-size: 0.85rem;
}

.layout {
  display: grid;
  gap: 18px;
}

.sidebar {
  display: grid;
  gap: 12px;
}

.filters {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filters-header h3 {
  margin: 0;
  font-size: 1rem;
}

.guest-swipe-counter {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(121, 184, 0, 0.14);
  color: #355300;
  font-size: 0.82rem;
  font-weight: 600;
}

.guest-swipe-counter.locked {
  background: rgba(185, 28, 28, 0.12);
  color: #8a1e1e;
}

.filter-row {
  display: grid;
  gap: 12px;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.filter-field input,
.filter-field select,
.modal-form input,
.modal-form select,
.modal-form textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-field input:focus,
.filter-field select:focus,
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: rgba(30, 122, 250, 0.5);
  box-shadow: 0 0 0 3px rgba(30, 122, 250, 0.15);
}

.services-select {
  min-height: 170px;
}

.filter-tags-select {
  min-height: 120px;
}

@media (max-width: 600px) {
  .filters {
    padding: 12px;
    gap: 10px;
  }

  .filters-header h3 {
    font-size: 0.92rem;
  }

  .filter-row {
    gap: 8px;
  }

  .filter-field {
    gap: 4px;
    font-size: 0.8rem;
  }

  .filter-field input,
  .filter-field select {
    padding: 9px 10px;
    font-size: 0.86rem;
  }
}

.community-screen {
  padding-bottom: 110px;
  overflow-x: hidden;
}

.community-composer {
  padding: 12px;
}

.community-flow-strip {
  padding: 10px 12px;
  border: 1px solid rgba(121, 184, 0, 0.25);
  background: rgba(121, 184, 0, 0.08);
}

.community-flow-strip p {
  margin: 0;
  font-size: 0.82rem;
  color: #3f5f00;
}

.community-composer-form {
  gap: 10px;
}

.community-compose-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.community-compose-head textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
  resize: vertical;
  font: inherit;
}

.community-compose-actions {
  display: grid;
  grid-template-columns: repeat(2, 44px) auto;
  gap: 8px;
  align-items: center;
  padding-top: 2px;
  justify-content: start;
}

.community-compose-actions .primary-button {
  min-width: 88px;
  border-radius: 12px;
  padding: 10px 16px;
}

.community-photo-preview {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.community-photo-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 10px;
}

.community-quick-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 0;
  color: #475569;
}

.community-quick-action .material-symbols-rounded {
  font-size: 1rem;
}

.community-quick-action:hover {
  background: rgba(15, 23, 42, 0.06);
}

.community-quick-action[data-composer-action="photo"] .material-symbols-rounded {
  color: #ec4899;
}

.community-quick-action[data-composer-action="feeling"] .material-symbols-rounded,
.community-quick-action[data-composer-action="tip"] .material-symbols-rounded {
  color: #f59e0b;
}

.community-quick-action[data-composer-action="project"] .material-symbols-rounded {
  color: #10b981;
}

.community-type-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.community-type-chip {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

.community-type-chip.active {
  background: rgba(121, 184, 0, 0.16);
  border-color: rgba(121, 184, 0, 0.36);
  color: #3f5f00;
}

.community-feed {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.community-range-filter {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  margin-top: 10px;
}

.community-range-hint {
  margin: 6px 2px 0;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .admin-console-page .screen {
    max-width: min(1200px, 96vw);
  }

  .admin-console-page .screen main,
  .admin-console-page main.screen {
    max-width: min(1200px, 96vw);
  }

  .admin-console-page .admin-panel {
    margin-bottom: 14px;
  }

  .admin-console-page .settings-list {
    max-height: 56vh;
    overflow: auto;
  }
}

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

.admin-kpi-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.admin-kpi-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.3rem;
}

.admin-columns {
  display: grid;
  gap: 12px;
}

.admin-panel h4 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

.admin-analytics-list {
  max-height: 360px;
  overflow: auto;
}

.admin-pipeline-grid {
  margin-top: 12px;
}

.admin-pipeline-list {
  max-height: 320px;
  overflow: auto;
}

.admin-pipeline-row {
  align-items: flex-start;
  gap: 10px;
}

.admin-pipeline-row code {
  word-break: break-all;
}

.admin-editor-group {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  background: #fff;
}

.admin-editor-group h4 {
  margin: 0 0 8px;
}

.admin-quick-actions {
  margin-bottom: 8px;
}

.support-console-page #support-chat-log {
  min-height: 180px;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  padding: 10px;
}

.support-console-page #support-chat-log p {
  margin: 0 0 8px;
}

.support-chat-input {
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 1024px) {
  .admin-columns {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

.community-empty-state {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 12px;
  padding: 14px 12px;
}

.community-empty-state h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.community-empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.community-post {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 12px;
  padding: 10px 10px 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.community-post.community-post-highlight {
  box-shadow: 0 0 0 2px rgba(121, 184, 0, 0.5), 0 18px 32px rgba(15, 23, 42, 0.08);
}

.activity-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.activity-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 6px;
  text-align: left;
  width: 100%;
  background: #fff;
}

.activity-item.unread {
  border-color: rgba(121, 184, 0, 0.45);
  background: rgba(121, 184, 0, 0.08);
}

.activity-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.activity-body {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
}

.activity-time {
  font-size: 0.75rem;
  color: var(--muted);
}

.community-post-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.community-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.community-author {
  min-width: 0;
}

.community-author-name,
.community-author-sub {
  margin: 0;
}

.community-author-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.community-author-sub {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.community-more-button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  padding: 0 2px;
  cursor: pointer;
}

.community-menu-wrap {
  position: relative;
}

.community-post-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 5;
  min-width: 148px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  padding: 4px;
  display: grid;
  gap: 2px;
}

.community-post-menu button {
  border: none;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-size: 0.82rem;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.community-post-menu button:hover {
  background: rgba(15, 23, 42, 0.06);
}

.community-post-menu button.danger {
  color: #b42318;
}

.community-post-type {
  margin: 8px 0 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4f5f78;
}

.community-post .community-body {
  margin: 0 0 2px;
  line-height: 1.45;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.community-post-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  display: block;
  margin: 8px 0;
}

.community-see-more {
  border: none;
  background: transparent;
  color: #4b6085;
  font-size: 0.82rem;
  padding: 0;
  margin-bottom: 8px;
  cursor: pointer;
}

.community-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.community-social-row {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.74rem;
  padding-top: 6px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.community-actions {
  margin-top: 5px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.community-cta-row {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.community-action-btn {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 7px 8px;
  font-size: 0.72rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.community-action-btn.active {
  background: rgba(121, 184, 0, 0.16);
  border-color: rgba(121, 184, 0, 0.36);
  color: #3f5f00;
}

.community-action-btn .material-symbols-rounded {
  font-size: 0.88rem;
}

.community-comments {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 10px;
}

.community-comment-list {
  display: grid;
  gap: 8px;
}

.community-comment-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
}

.community-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.community-comment-list p {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f5f7fb;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.community-pro-tip-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(121, 184, 0, 0.16);
  color: #3f5f00;
  font-size: 0.68rem;
  font-weight: 700;
  vertical-align: middle;
}

.community-comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.community-comment-form input {
  min-width: 0;
}

.community-plug-list {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: rgba(121, 184, 0, 0.06);
}

.community-plug-list p {
  margin: 0 0 6px;
}

.community-plug-list ul {
  margin: 0;
  padding-left: 18px;
  overflow-wrap: anywhere;
}

.community-plug-more {
  margin-top: 8px;
}

.community-plug-highlight {
  background: rgba(121, 184, 0, 0.15);
  border-radius: 8px;
  padding: 3px 6px;
}

.community-composer-hint {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (max-width: 420px) {
  .community-compose-actions {
    grid-template-columns: repeat(2, 40px) minmax(0, 1fr);
  }

  .community-action-btn {
    font-size: 0.69rem;
    padding: 7px 6px;
  }
}

.card-stage {
  position: relative;
  min-height: min(70vh, 520px);
  margin-top: 20px;
}

.card-stack {
  position: relative;
  height: min(70vh, 520px);
}

.card {
  position: absolute;
  inset: 0;
  background: #f8f9fb;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  touch-action: pan-y;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}

.card.card-desktop {
  position: static;
  inset: auto;
  touch-action: auto;
}

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

.card-photo-shell {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.08);
}

.card-photo-image {
  object-fit: contain;
  background: rgba(15, 23, 42, 0.08);
}

.card-photo-progress {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8px, 1fr));
  gap: 4px;
  z-index: 2;
}

.photo-dot {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.photo-dot.active {
  background: rgba(255, 255, 255, 0.95);
}

.card-photo-hit {
  position: absolute;
  top: 0;
  height: clamp(180px, 62%, 360px);
  width: 42%;
  border: none;
  background: transparent;
  z-index: 1;
  cursor: pointer;
}

.card-photo-hit.left {
  left: 0;
}

.card-photo-hit.right {
  right: 0;
}

.card-content {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  padding: 12px 12px 10px;
  display: grid;
  gap: 10px;
  border-radius: 18px;
  background: rgba(248, 249, 251, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.card-content.compact-card {
  display: grid;
  gap: 8px;
  border-radius: 18px;
  background: rgba(248, 249, 251, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.compact-title {
  margin: 2px 0 0;
  font-size: 1.02rem;
  line-height: 1.2;
}


.compact-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.compact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
}

.compact-stats span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-actions .ghost-button,
.compact-actions button {
  justify-content: center;
}

.card-content.full-profile {
  position: static;
  padding: 12px 6px 8px;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
}

.card-title {
  margin: 0;
  font-size: 1.1rem;
}

.card-meta {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.meta-pill {
  background: rgba(11, 138, 106, 0.1);
  color: var(--accent-strong);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.capacity-pill {
  background: rgba(100, 116, 139, 0.16);
  color: #5f6d87;
}

.rating {
  font-weight: 600;
  color: var(--ink);
}

.cta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.cta-row button,
.cta-row a {
  border: none;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.75rem;
  cursor: pointer;
  text-align: center;
}

.cta-row .primary-button {
  background: var(--accent);
  color: white;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.action-button {
  flex: 1;
  border: none;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
}

.action-button.pass {
  background: rgba(226, 85, 85, 0.12);
  color: var(--danger);
}

.action-button.save {
  background: rgba(11, 138, 106, 0.16);
  color: var(--accent-strong);
}

.empty-state {
  text-align: center;
  padding: 40px 12px;
  color: var(--muted);
}

.saved-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.saved-card {
  background: #f8f9fb;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.saved-card img {
  width: 100%;
  height: min(42vh, 240px);
  object-fit: cover;
  display: block;
}

.saved-page .saved-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  justify-items: center;
  max-width: 820px;
  margin: 18px auto 0;
}

.saved-page .saved-card {
  height: auto;
  width: 100%;
}

.saved-page .saved-card img {
  height: min(42vh, 240px);
  object-fit: cover;
  background: transparent;
  padding: 0;
}

.saved-card .card-content {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 12px 10px;
  border-radius: 18px;
  background: rgba(248, 249, 251, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(100%, 520px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.completion-modal-card {
  display: grid;
  gap: 14px;
}

.completion-modal-card .primary-button {
  width: 100%;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.destructive-modal-card {
  display: grid;
  gap: 14px;
}

.destructive-modal-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.destructive-modal-card input[type="text"] {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.tutorial-card {
  display: grid;
  gap: 12px;
}

.tutorial-card h3 {
  margin: 0;
}

.tutorial-shell {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  pointer-events: none;
}

.tutorial-dim {
  position: fixed;
  background: rgba(11, 18, 32, 0.68);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  pointer-events: auto;
}

.tutorial-focus-ring {
  position: fixed;
  border: 2px solid rgba(121, 184, 0, 0.95);
  border-radius: 16px;
  box-shadow: 0 0 0 6px rgba(121, 184, 0, 0.16);
  pointer-events: none;
  transition: all 0.16s ease;
  z-index: 2147483000;
}

.tutorial-target-highlight {
  position: relative;
  z-index: 2147482500;
}

.tutorial-popover {
  position: fixed;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.28);
  padding: 14px;
  pointer-events: auto;
  z-index: 2147483600;
}

.tutorial-popover.tutorial-popover-docked {
  width: auto;
  left: 12px;
  right: 12px;
  max-height: min(46vh, 360px);
}

.tutorial-popover.tutorial-popover-docked-bottom {
  top: auto;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.tutorial-popover.tutorial-popover-docked-top {
  top: calc(12px + env(safe-area-inset-top, 0px));
  bottom: auto;
}

.tutorial-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
  padding-bottom: 4px;
}

.tutorial-popover h3 {
  margin: 0 0 6px;
  line-height: 1.2;
}

.tutorial-progress {
  display: flex;
  gap: 6px;
  align-items: center;
}

.tutorial-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
}

.tutorial-dot.active {
  background: #79b800;
}

.tutorial-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.review-card {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  padding: 12px 0;
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
}

.review-card strong {
  display: block;
}

.review-card strong,
.review-card p,
.review-card div {
  overflow-wrap: anywhere;
}

.comments-panel {
  gap: 10px;
}

.comments-list {
  display: grid;
  gap: 6px;
}

.comments-section {
  margin-top: 10px;
}

.message-layout {
  display: grid;
  gap: 14px;
  align-content: start;
}

.messages-page .screen {
  gap: 18px;
  align-content: start;
}

.jobs-page .screen {
  align-content: start;
}

.messages-page .panel {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.message-thread-list {
  display: grid;
  gap: 0;
  max-height: 62vh;
  overflow: auto;
  align-content: start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
}

.message-thread-item {
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
  border-radius: 0;
  padding: 12px 14px;
  padding-right: 70px;
  text-align: left;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 3px;
  cursor: pointer;
  position: relative;
}

.message-thread-item.active {
  background: rgba(15, 23, 42, 0.04);
  box-shadow: none;
}

.message-thread-item p {
  margin: 0;
  grid-column: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-thread-item strong {
  font-size: 0.92rem;
  grid-column: 2;
}

.message-thread-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  grid-column: 1;
  grid-row: 1 / span 3;
  margin-top: 1px;
}

.message-thread-item .pill {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.message-thread-unread {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0 6px;
  background: #79b800;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.message-thread-kind {
  grid-column: 2;
  width: fit-content;
  margin: 0;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.message-thread-kind.job {
  background: rgba(121, 184, 0, 0.18);
  color: #4f7700;
}

.message-thread-kind.direct {
  background: rgba(15, 23, 42, 0.1);
  color: #334155;
}

.messages-page .panel-header h3 {
  min-width: 0;
}

.message-feed {
  min-height: 330px;
  max-height: 52vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #dfe3e9;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 14px 12px;
  padding-right: 2px;
}

.message-bubble {
  max-width: 76%;
  border-radius: 18px;
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: fit-content;
  position: relative;
}

.message-bubble p {
  margin: 0;
  overflow-wrap: anywhere;
}

.message-bubble span {
  font-size: 0.72rem;
  color: var(--muted);
}

.message-bubble.mine {
  margin-left: auto;
  background: rgba(121, 184, 0, 0.26);
  color: #183300;
  border: 1px solid rgba(121, 184, 0, 0.4);
  border-bottom-right-radius: 8px;
}

.message-bubble.mine::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 9px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-right: inherit;
  border-bottom: inherit;
  transform: rotate(-45deg);
  border-bottom-right-radius: 2px;
}

.provider-theme .message-bubble.mine {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.message-bubble.theirs {
  margin-right: auto;
  background: #f1f3f6;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-bottom-left-radius: 8px;
}

.message-bubble.theirs::after {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 9px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-left: inherit;
  border-bottom: inherit;
  transform: rotate(45deg);
  border-bottom-left-radius: 2px;
}

.message-bubble.mine span {
  color: inherit;
  opacity: 0.82;
}

.message-job-chip {
  width: fit-content;
  margin: 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.messages-page #message-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.messages-page #message-form .input-field {
  gap: 0;
}

.messages-page #message-form .input-field span {
  display: none;
}

.messages-page #message-input {
  resize: vertical;
  min-height: 54px;
  max-height: 120px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 13px 14px;
}

.messages-page #message-send {
  border-radius: 999px;
  padding: 11px 18px;
  align-self: end;
}

.messages-page #message-chat-panel.panel {
  border-radius: 0;
  padding: 0;
}

.messages-page #message-chat-panel .panel-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 10px;
}

.messages-page #message-chat-panel .panel-header h3 {
  text-align: center;
  font-size: 1.02rem;
}

.messages-page #message-back {
  justify-self: start;
}

@media (max-width: 767px) {
  .settings-page .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .settings-page .topbar .ghost-button {
    justify-self: end;
    padding: 8px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .settings-page .topbar h1 {
    font-size: clamp(1.15rem, 4.8vw, 1.4rem);
  }

  .messages-page .screen {
    padding: 16px 12px 92px;
  }

  .messages-page .topbar {
    margin-bottom: 4px;
  }

  .message-feed {
    min-height: 54vh;
    max-height: 54vh;
    border-radius: 12px;
  }

  .message-thread-list {
    max-height: 68vh;
    border-radius: 12px;
  }
}

.badge {
  background: var(--highlight);
  color: #1d1d1d;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.profile-banner-wrap {
  position: relative;
  margin-bottom: 44px;
}

.profile-banner {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
}

.profile-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
}

.profile-avatar {
  position: absolute;
  left: 50%;
  bottom: -55px;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f8f9fb;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
  background: #f8f9fb;
}

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

.profile-header {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  text-align: center;
}

.profile-title .meta-row {
  justify-content: center;
}

.profile-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.profile-meta-left {
  display: grid;
  gap: 6px;
}

.profile-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.rating-line .rating {
  color: var(--ink);
}

.pricing {
  background: rgba(15, 23, 42, 0.04);
  padding: 12px;
  border-radius: 12px;
}

.pricing h4 {
  margin: 0 0 6px;
}

.contact-block p {
  margin: 4px 0;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.cropper-card {
  display: grid;
  gap: 12px;
}

.cropper-tabs {
  display: flex;
  gap: 10px;
}

.cropper-tabs .tab {
  flex: 1;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.cropper-tabs .tab.active {
  background: var(--ink);
  color: white;
}

.cropper-body {
  display: grid;
  gap: 12px;
}

.cropper-card .cta-row {
  display: flex;
  justify-content: flex-end;
}

.cropper-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
  touch-action: none;
}

.cropper-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}

.cropper-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.cropper-guides span {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
}

.cropper-guides span:nth-child(1),
.cropper-guides span:nth-child(2) {
  top: 0;
  bottom: 0;
  width: 1px;
}

.cropper-guides span:nth-child(1) {
  left: 33.333%;
}

.cropper-guides span:nth-child(2) {
  left: 66.666%;
}

.cropper-guides span:nth-child(3),
.cropper-guides span:nth-child(4) {
  left: 0;
  right: 0;
  height: 1px;
}

.cropper-guides span:nth-child(3) {
  top: 33.333%;
}

.cropper-guides span:nth-child(4) {
  top: 66.666%;
}

.cropper-frame.hidden {
  display: none;
}

.cropper-avatar {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  max-width: 240px;
  margin: 0 auto;
}

.cropper-avatar img {
  border-radius: 0;
}

.cropper-zoom {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
}

.cropper-zoom input {
  width: 100%;
}

@media (min-width: 768px) {
  .message-layout {
    grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.25fr);
    align-items: start;
  }

  .message-thread-list {
    max-height: 62vh;
  }

  .message-feed {
    min-height: 380px;
    max-height: 62vh;
  }

  .app,
  .landing {
    max-width: 820px;
  }

  .landing-entry {
    max-width: 1120px;
  }

  .landing-entry-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }

  .landing-entry-actions {
    grid-template-columns: repeat(2, minmax(0, 210px));
  }

  .landing-static-preview {
    min-height: 560px;
  }

  .landing-static-preview img {
    min-height: 560px;
  }

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

  .hero {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .hero-carousel {
    height: 460px;
  }

  .filter-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-stage,
  .card-stack {
    height: min(70vh, 580px);
  }

  .card img {
    height: 320px;
  }

  .saved-page .saved-list {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

}

@media (min-width: 900px) {
  .auth-shell {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .auth-aside {
    display: block;
  }

  .bottom-nav {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 24px;
  }
}

@media (min-width: 960px) {
  .app {
    max-width: 1200px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 2.2fr);
    column-gap: 18px;
    align-items: start;
  }

  .app-header {
    grid-column: 1 / -1;
  }

  .layout {
    display: contents;
  }

  .filters .filter-row {
    grid-template-columns: 1fr;
  }

  .card-stage,
  .card-stack {
    position: static;
    height: auto;
    min-height: 0;
    margin-top: 0;
    grid-column: 2;
  }

  .card {
    padding: 12px;
    position: relative;
  }

  .card img {
    height: 320px;
    border-radius: 22px;
  }

  .card-content {
    position: static;
    padding: 12px 6px 8px;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
  }

  .card-content .cta-row button[data-action="profile"] {
    display: none;
  }

  .saved-card {
    padding: 12px;
  }

  .saved-card img {
    height: 200px;
    border-radius: 20px;
  }

  .saved-card .card-content {
    position: static;
    padding: 12px 6px 8px;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
  }

  .saved-card .card-content.compact-card {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 12px 10px;
    background: rgba(248, 249, 251, 0.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    border-radius: 18px;
  }

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

  .saved-page .saved-list {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }

  .sidebar {
    grid-column: 1;
    position: sticky;
    top: 20px;
    align-self: start;
  }

  .filters {
    margin-top: 0;
  }

  .actions {
    margin-top: 12px;
  }

  .profile-edit-page .screen {
    max-width: 980px;
  }

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

  .edit-savebar {
    position: sticky;
    bottom: 12px;
  }
}

#client-review-form-wrap:not(.hidden) {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100vw - 32px), 520px);
  max-height: min(86vh, 680px);
  overflow-y: auto;
  z-index: 12;
  margin: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

#client-review-form-wrap:not(.hidden)::before {
  content: "";
  position: fixed;
  inset: -100vh -100vw;
  z-index: -1;
  background: rgba(15, 23, 42, 0.5);
}

.pwa-install-hint {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 16px;
  background: rgba(255, 251, 245, 0.96);
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.18);
  backdrop-filter: blur(14px);
}

.pwa-install-hint strong,
.pwa-install-hint span {
  display: block;
}

.pwa-install-hint strong {
  color: var(--text);
  font-size: 0.92rem;
}

.pwa-install-hint span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.pwa-install-action,
.pwa-install-close {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.pwa-install-action {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
}

.pwa-install-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.08);
  color: var(--muted);
  font-weight: 700;
}

@media (min-width: 761px) {
  .pwa-install-hint {
    display: none;
  }
}

.intent-card small {
  color: var(--muted);
  display: block;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0.55rem;
}

.guided-path-card {
  background: linear-gradient(135deg, rgba(121, 184, 0, 0.14), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(121, 184, 0, 0.22);
  border-radius: 24px;
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1rem;
}

.guided-path-card strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.guided-path-card span {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 0.55rem;
}

.guided-path-card span::before {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 0.55rem;
  width: 0.55rem;
}

.guided-path-card.plug-path {
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.08), rgba(255, 255, 255, 0.95));
  border-color: rgba(17, 17, 17, 0.16);
}

.guided-path-card.plug-path span::before {
  background: #111111;
}
