/* ==========================================================================
   صفحه‌ها
   ========================================================================== */

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

.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}

.mini-title {
  font-size: var(--fs-md);
  font-weight: 800;
  margin: var(--s6) 0 var(--s3);
}

.h-scroll {
  display: flex;
  gap: var(--s3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scroll-padding-inline: var(--gutter);
  padding-bottom: 2px;
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

.h-scroll > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ---------- خوش‌آمد ---------- */
.view-welcome {
  padding-bottom: 0 !important;
}

.welcome {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: calc(var(--safe-top) + var(--s3)) 0 calc(var(--safe-bottom) + var(--s4));
  background:
    radial-gradient(120% 60% at 80% 0%, var(--accent-softer), transparent 60%),
    var(--bg);
  max-width: 560px;
  margin-inline: auto;
}

.welcome-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 0 var(--gutter);
  height: 48px;
  flex-shrink: 0;
}

.welcome-top .mark {
  width: 34px;
  height: 34px;
}

.welcome-top strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.welcome-skip {
  margin-inline-start: auto;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-3);
  padding: var(--s2);
}

.welcome-slides {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.welcome-slides::-webkit-scrollbar {
  display: none;
}

.welcome-slide {
  flex: 0 0 100%;
  min-height: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  padding: var(--s3) var(--s6) var(--s2);
}

/* ناحیه‌ی عکس‌ها فقط فضای باقی‌مانده را می‌گیرد؛ عکس‌ها با ارتفاع همین ناحیه اندازه می‌شوند
   تا روی گوشی‌های کوتاه هم روی متن و نوار بالا نیفتند */
.welcome-art {
  position: relative;
  flex: 1;
  min-height: 0;
  max-height: 380px;
  margin: var(--s2) 0 var(--s5);
}

.welcome-photo {
  position: absolute;
  height: 72%;
  max-width: 48%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: var(--surface-2);
}

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

.welcome-photo.p0 {
  right: 6%;
  top: 4%;
  transform: rotate(5deg);
  z-index: 1;
}

.welcome-photo.p1 {
  left: 6%;
  top: 0;
  transform: rotate(-6deg);
}

.welcome-photo.p2 {
  left: 50%;
  bottom: 0;
  height: 68%;
  transform: translateX(-50%) rotate(-1deg);
  z-index: 2;
}

.welcome-slide h1 {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: var(--s3);
}

.welcome-slide p {
  color: var(--text-2);
  font-size: var(--fs-md);
}

.welcome-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: var(--s4) 0;
}

.welcome-dots span {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: var(--surface-3);
  transition: width var(--t) var(--ease), background-color var(--t) ease;
}

.welcome-dots span.on {
  width: 22px;
  background: var(--text);
}

.welcome-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: 0 var(--gutter);
  flex-shrink: 0;
}

/* گوشی‌های کوتاه: فشرده‌تر */
@media (max-height: 720px) {
  .welcome-slide h1 {
    font-size: 1.35rem;
    margin-bottom: var(--s2);
  }

  .welcome-slide p {
    font-size: var(--fs-sm);
  }

  .welcome-dots {
    padding: var(--s2) 0;
  }

  .welcome-actions .btn-lg {
    min-height: 50px;
  }

  .welcome-actions .btn-ghost {
    min-height: 40px;
  }
}

/* ---------- کشف ---------- */
.explore-hero {
  padding: var(--s3) 0 var(--s4);
}

.explore-hero h1 {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: var(--s4);
  max-width: 560px;
}

.explore-hero h1 span {
  color: var(--accent-text);
}

.searchbar {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  padding-inline: var(--s4) 6px;
  gap: var(--s2);
  max-width: 640px;
  transition: box-shadow var(--t-fast) ease;
}

.searchbar:focus-within {
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-softer);
}

.searchbar > svg {
  width: 22px;
  height: 22px;
  color: var(--text-3);
  flex-shrink: 0;
}

.searchbar-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: none;
  border: 0;
  outline: none;
  font-weight: 600;
}

.searchbar-input::placeholder {
  color: var(--text-3);
  font-weight: 500;
}

.searchbar-input::-webkit-search-cancel-button {
  display: none;
}

.searchbar-filter {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  flex-shrink: 0;
}

.searchbar-filter svg {
  width: 20px;
  height: 20px;
}

.searchbar-filter .dot-badge {
  top: -2px;
  left: -2px;
}

.cat-strip {
  gap: var(--s5);
  padding-top: var(--s2);
  padding-bottom: var(--s1);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: calc(var(--topbar-h) + var(--safe-top));
  z-index: 40;
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
}

.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--s2) 2px var(--s3);
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--t-fast) ease;
}

.cat svg {
  width: 24px;
  height: 24px;
}

.cat.is-on {
  color: var(--text);
}

.cat.is-on::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: var(--s5) 0 var(--s3);
}

/* کارت بزرگ عکاس */
.ph-card {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  min-width: 0;
}

.ph-card-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}

.ph-slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ph-slides::-webkit-scrollbar {
  display: none;
}

.ph-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
}

.ph-dots {
  position: absolute;
  bottom: 10px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.ph-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: transform var(--t) var(--ease), background-color var(--t) ease;
}

.ph-dots span.on {
  background: #fff;
  transform: scale(1.25);
}

.ph-avail {
  position: absolute;
  top: 12px;
  right: 12px;
}

.ph-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-inline: 2px;
}

.ph-card-head {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.ph-card-id {
  flex: 1;
  min-width: 0;
}

.ph-card-id h3 {
  font-size: var(--fs-md);
  font-weight: 800;
}

.ph-card-id p {
  font-size: var(--fs-sm);
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-card-meta {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-sm);
  color: var(--text-2);
  min-width: 0;
}

.ph-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-card-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}

.ph-card-price {
  font-size: var(--fs-sm);
  color: var(--text-3);
}

.ph-card-price b {
  color: var(--text);
}

/* کارت کوچک عکاس */
.ph-mini {
  width: 168px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-1);
}

.ph-mini-media {
  aspect-ratio: 3 / 4;
}

.ph-mini-media .badge {
  position: absolute;
  top: 8px;
  right: 8px;
}

.ph-mini-body {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 10px;
}

.ph-mini-body strong {
  display: block;
  font-size: var(--fs-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-mini-body span {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* کاشی نمونه‌کار */
.work-tile {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  text-align: start;
  break-inside: avoid;
  margin-bottom: var(--s2);
  transition: transform var(--t-fast) var(--ease);
}

.work-tile:active {
  transform: scale(0.98);
}

.work-tile .media {
  display: block;
}

.work-tile.v-p .media { aspect-ratio: 3 / 4; }
.work-tile.v-l .media { aspect-ratio: 3 / 2; }
.work-tile.v-s .media { aspect-ratio: 1; }

.work-tile-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 10px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  color: #fff;
}

.work-tile-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-tile-by {
  font-size: 11px;
  opacity: 0.8;
}

.works-strip .work-tile {
  width: 150px;
  margin-bottom: 0;
}

.works-strip .work-tile .media {
  aspect-ratio: 3 / 4;
}

.masonry {
  columns: 2;
  column-gap: var(--s2);
}

@media (min-width: 768px) {
  .masonry {
    columns: 3;
    column-gap: var(--s3);
  }

  .work-tile {
    margin-bottom: var(--s3);
  }
}

@media (min-width: 1280px) {
  .masonry {
    columns: 4;
  }
}

@media (hover: hover) {
  .work-tile .media img,
  .ph-slide img {
    transition: transform 600ms var(--ease);
  }

  .work-tile:hover .media img,
  .ph-card-media:hover .ph-slide img {
    transform: scale(1.04);
  }
}

/* بنرهای تبلیغ داخلی */
.promo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, var(--accent-soft), transparent 60%),
    var(--surface-1);
}

.promo div {
  flex: 1;
  min-width: 0;
}

.promo strong {
  display: block;
  font-size: var(--fs-md);
}

.promo span {
  font-size: var(--fs-sm);
  color: var(--text-3);
}

.promo .btn span,
.promo .btn {
  color: inherit;
}

.promo-biz {
  background:
    radial-gradient(120% 140% at 100% 0%, var(--biz-soft), transparent 60%),
    var(--surface-1);
}

.promo-biz .btn {
  color: #0B1220;
}

[data-theme="light"] .promo-biz .btn {
  color: #fff;
}

/* کارت نصب اپ */
.install-card {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3);
  padding-inline-start: var(--s4);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--line);
}

.install-card .mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.install-card-text {
  flex: 1;
  min-width: 0;
}

.install-card-text strong {
  display: block;
  font-size: var(--fs-sm);
}

.install-card-text span {
  font-size: 12px;
  color: var(--text-3);
}

.install-card .icon-btn {
  width: 36px;
  height: 36px;
  color: var(--text-3);
}

.install-hero {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
}

.install-hero .mark {
  width: 56px;
  height: 56px;
}

.install-hero strong {
  display: block;
  font-size: var(--fs-lg);
}

.install-hero .muted {
  font-size: var(--fs-sm);
}

.install-steps li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
}

.install-steps li svg {
  display: inline-block;
  vertical-align: middle;
}

.step-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  font-weight: 800;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

/* ---------- پروفایل عکاس ---------- */
.profile-cover {
  height: calc(260px + var(--safe-top));
  margin-bottom: -52px;
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 35%, transparent 55%, var(--bg));
}

.profile-page {
  position: relative;
}

.profile-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.profile-avatar {
  padding: 4px;
  border-radius: 50%;
  background: var(--bg);
  margin-bottom: var(--s2);
}

.profile-head h1 {
  font-size: var(--fs-xl);
  font-weight: 900;
}

.profile-role {
  color: var(--text-2);
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-sm);
  color: var(--text-2);
  margin-top: 4px;
}

.profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.profile-avail {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s3);
  padding: 8px 14px;
  border-radius: var(--r-full);
  background: var(--surface-1);
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.profile-avail b {
  color: var(--text);
}

.profile-avail.is-on b {
  color: var(--ok);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: var(--s5) 0 var(--s4);
  padding: var(--s3) 0;
  border-radius: var(--r-lg);
  background: var(--surface-1);
}

.profile-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-stats div + div {
  border-inline-start: 1px solid var(--line);
}

.profile-stats strong {
  font-size: var(--fs-lg);
  font-weight: 900;
}

.profile-stats span {
  font-size: 12px;
  color: var(--text-3);
}

.profile-panel {
  padding-top: var(--s4);
}

.profile-bio {
  color: var(--text-2);
  line-height: 2;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-inline: calc(var(--gutter) * -1);
}

.ig-cell {
  aspect-ratio: 1;
  display: block;
}

@media (min-width: 768px) {
  .ig-grid {
    margin-inline: 0;
    gap: var(--s2);
  }

  .ig-cell {
    border-radius: var(--r-md);
  }
}

.locked-contact {
  display: flex;
  align-items: center;
  gap: var(--s3);
  width: 100%;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  text-align: start;
  box-shadow: inset 0 0 0 1px var(--line);
}

.locked-contact > svg {
  width: 18px;
  height: 18px;
  color: var(--text-3);
}

.days-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.day-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  border-radius: var(--r-md);
  font-size: 12px;
}

.day-cell strong {
  font-size: var(--fs-md);
}

.day-cell.free {
  background: var(--ok-soft);
  color: var(--ok);
}

.day-cell.busy {
  background: var(--surface-1);
  color: var(--text-disabled);
  text-decoration: line-through;
}

@media (min-width: 1024px) {
  .profile-cover {
    height: 340px;
    margin-bottom: -60px;
  }

  .profile-page {
    max-width: 880px;
  }
}

/* ---------- دروازه‌ی ورود ---------- */
.gate {
  text-align: center;
  padding-top: var(--s2);
}

.gate-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--s4);
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--biz-soft);
  color: var(--biz);
}

.gate-icon svg {
  width: 30px;
  height: 30px;
}

.gate h2 {
  font-size: var(--fs-lg);
  margin-bottom: var(--s2);
}

.gate p {
  color: var(--text-2);
  font-size: var(--fs-sm);
  margin-bottom: var(--s4);
}

.gate-points {
  text-align: start;
  margin-bottom: var(--s5);
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.gate-points li {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 4px 0;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.gate-points svg {
  width: 18px;
  height: 18px;
  color: var(--ok);
  flex-shrink: 0;
}

/* ---------- نمایش تمام‌صفحه ---------- */
.viewer {
  --fade: 1;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(5, 5, 6, calc(0.97 * var(--fade)));
  color: #fff;
  opacity: 0;
  transition: opacity var(--t) ease;
  outline: none;
}

.viewer.is-open {
  opacity: 1;
}

.viewer.is-leaving {
  opacity: 0;
}

.viewer-top {
  position: absolute;
  z-index: 2;
  top: 0;
  inset-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 8px) 8px 8px;
}

.viewer-count {
  font-size: var(--fs-sm);
  font-weight: 700;
  opacity: 0.85;
}

.viewer-track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  transition: transform 200ms ease;
}

.viewer-track::-webkit-scrollbar {
  display: none;
}

.viewer-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  display: grid;
  place-items: center;
  padding: 64px 0 180px;
}

.viewer-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.viewer-info {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 48px var(--gutter) calc(var(--safe-bottom) + 20px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  max-width: 720px;
  margin-inline: auto;
}

.viewer-info h2 {
  font-size: var(--fs-lg);
  margin: 8px 0 4px;
}

.viewer-info p {
  font-size: var(--fs-sm);
  opacity: 0.8;
}

.viewer-author {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s4);
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.viewer-author > span:not(.avatar) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.viewer-author > span:not(.avatar) span {
  font-size: 12px;
  opacity: 0.75;
}

.viewer-author svg {
  width: 18px;
  height: 18px;
}

.viewer-nav {
  display: none;
}

@media (hover: hover) and (min-width: 768px) {
  .viewer-nav {
    position: absolute;
    z-index: 2;
    top: 45%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .viewer-nav svg {
    width: 24px;
    height: 24px;
  }

  .viewer-nav.prev {
    right: 20px;
  }

  .viewer-nav.next {
    left: 20px;
  }
}

/* ---------- انتخاب نقش ---------- */
.role-cards {
  display: grid;
  gap: var(--s3);
}

@media (min-width: 768px) {
  .role-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.role-card {
  --tone: var(--accent);
  --tone-soft: var(--accent-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--s5);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--tone-soft), transparent 60%),
    var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--line);
}

.role-biz {
  --tone: var(--biz);
  --tone-soft: var(--biz-soft);
}

.role-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tone-soft);
  color: var(--tone);
  margin-bottom: var(--s2);
}

.role-icon svg {
  width: 26px;
  height: 26px;
}

.role-kicker {
  font-size: 12px;
  font-weight: 800;
  color: var(--tone);
}

.role-card strong {
  font-size: var(--fs-lg);
  font-weight: 900;
}

.role-card ul {
  margin: var(--s2) 0 var(--s3);
}

.role-card li {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-sm);
  color: var(--text-2);
  padding: 3px 0;
}

.role-card li svg {
  width: 16px;
  height: 16px;
  color: var(--tone);
}

.role-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  color: var(--tone);
}

.role-go svg {
  width: 18px;
  height: 18px;
}

/* ---------- کارت پروژه ---------- */
.pr-card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s4);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}

.pr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pr-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-3);
}

.pr-title {
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.55;
}

.pr-biz {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.pr-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.pr-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pr-facts svg {
  color: var(--text-3);
}

.pr-foot {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 12px;
  padding-top: var(--s2);
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.pr-foot > :first-child {
  margin-inline-end: auto;
}

/* ==========================================================================
   ورود / ثبت‌نام
   ========================================================================== */
.view-auth {
  padding-bottom: 0 !important;
}

.auth {
  min-height: 100dvh;
  max-width: 480px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) calc(var(--safe-bottom) + var(--s5));
}

.auth-pro .auth {
  background: radial-gradient(90% 40% at 90% 0%, var(--accent-softer), transparent 70%);
}

.auth-biz .auth {
  background: radial-gradient(90% 40% at 90% 0%, var(--biz-soft), transparent 70%);
}

.auth-top {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: calc(var(--topbar-h) + var(--safe-top));
  padding-top: var(--safe-top);
  margin-inline: calc(var(--s2) * -1);
}

.auth-progress {
  flex: 1;
}

.auth-biz .progress > span {
  background: var(--biz);
}

.auth-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.auth-stage.in-fwd {
  animation: stepIn var(--t-slow) var(--ease) both;
}

.auth-stage.in-back {
  animation: stepBack var(--t-slow) var(--ease) both;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(-20px); }
}

@keyframes stepBack {
  from { opacity: 0; transform: translateX(20px); }
}

.auth-hero {
  padding: var(--s6) 0 var(--s6);
}

.auth-mark {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: var(--s5);
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-text);
  margin-bottom: var(--s2);
}

.auth-biz .auth-kicker {
  color: var(--biz);
}

.auth-hero h1,
.auth-step-head h1 {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: var(--s2);
}

.auth-hero p,
.auth-step-head p {
  color: var(--text-2);
}

.auth-step-head {
  padding: var(--s4) 0 var(--s5);
}

.auth-step-head .eyebrow {
  display: block;
  margin-bottom: var(--s2);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.auth-form .field + .field {
  margin-top: 0;
}

.auth-switch {
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-3);
  padding: var(--s3);
}

.auth-row {
  display: flex;
  justify-content: space-between;
}

.auth-row button:disabled {
  color: var(--text-3);
  cursor: default;
}

.demo-code {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--info-soft);
  color: var(--info);
  font-size: 13px;
}

.demo-code span {
  flex: 1;
}

.demo-code b {
  letter-spacing: 0.15em;
}

.shake {
  animation: shake 400ms ease;
}

@keyframes shake {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.auth-sticky {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding: var(--s4) 0 var(--s2);
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}

.city-grid .chip {
  flex: 1 0 28%;
  justify-content: center;
}

.auth-done {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--s3);
  padding-bottom: var(--s8);
}

.auth-done .btn {
  margin-top: var(--s2);
}

.auth-done .btn + .btn {
  margin-top: 0;
}

.done-check {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok-soft);
  color: var(--ok);
  animation: pop 500ms var(--ease-spring) both;
  margin-bottom: var(--s3);
}

.done-check svg {
  width: 40px;
  height: 40px;
  stroke-width: 2.4;
}

@keyframes pop {
  from { transform: scale(0.4); opacity: 0; }
}

.auth-done h1 {
  font-size: var(--fs-xl);
  font-weight: 900;
}

.auth-done p {
  color: var(--text-2);
  max-width: 320px;
}

.done-who {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--surface-1);
  font-weight: 700;
  font-size: var(--fs-sm);
}

/* ==========================================================================
   داشبورد عکاس
   ========================================================================== */
.dash-hello {
  padding: var(--s2) 0 var(--s4);
}

.dash-hello h1 {
  font-size: 1.75rem;
  font-weight: 900;
}

.avail-card {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  cursor: pointer;
  margin-bottom: var(--s3);
  transition: background-color var(--t) ease;
}

.avail-card.is-on {
  background: linear-gradient(135deg, var(--ok-soft), transparent 70%), var(--surface-1);
}

.avail-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-3);
  flex-shrink: 0;
}

.avail-card.is-on .avail-icon {
  background: var(--ok-soft);
  color: var(--ok);
}

.avail-icon svg {
  width: 22px;
  height: 22px;
}

.stats-grid {
  margin-bottom: var(--s3);
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.chart-card {
  margin-bottom: var(--s3);
}

.chart-bars {
  display: block;
  overflow: visible;
}

.chart-bars .bar-on {
  fill: var(--accent);
}

.chart-bars .bar-off {
  fill: var(--surface-3);
}

.chart-bars text {
  fill: var(--text-3);
  font-size: 10px;
  font-family: var(--font);
}

.complete-card {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.complete-card > svg {
  color: var(--text-3);
  flex-shrink: 0;
}

/* ==========================================================================
   جزئیات پروژه
   ========================================================================== */
.detail-title {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.5;
}

.biz-chip {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin: var(--s4) 0;
  padding: var(--s3);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
}

.facts > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s3) var(--s4);
  background: var(--surface-1);
}

.facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-3);
}

.facts span svg {
  width: 15px;
  height: 15px;
}

.facts strong {
  font-size: var(--fs-sm);
  font-weight: 800;
}

.facts em {
  font-style: normal;
  font-size: 12px;
  color: var(--warn);
  font-weight: 700;
}

.deliver {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  background: var(--surface-1);
  color: var(--text-2);
  font-size: var(--fs-sm);
}

.deliver svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--text-3);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s2);
}

.ref-cell {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  display: block;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 220px;
  padding: 4px;
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.stepper .icon-btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   پیام‌ها
   ========================================================================== */
.thread-list {
  display: flex;
  flex-direction: column;
  margin-inline: calc(var(--s2) * -1);
}

.thread {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s2);
  border-radius: var(--r-md);
  transition: background-color var(--t-fast) ease;
}

.thread:active {
  background: var(--surface-1);
}

@media (hover: hover) {
  .thread:hover {
    background: var(--surface-1);
  }
}

.thread-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
}

.thread:last-child .thread-body {
  border-bottom: 0;
}

.thread-top,
.thread-bottom {
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.thread-top strong {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-time {
  font-size: 12px;
  color: var(--text-3);
  flex-shrink: 0;
}

.thread-project {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--accent-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app[data-area="biz"] .thread-project {
  color: var(--biz);
}

.thread-preview {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-sm);
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread.is-unread .thread-preview {
  color: var(--text);
  font-weight: 600;
}

.count-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

.app[data-area="biz"] .count-badge {
  background: var(--biz);
  color: #0B1220;
}

.tick {
  color: var(--ok);
  display: inline-flex;
}

/* چت */
.view-chat {
  padding-bottom: calc(132px + var(--safe-bottom)) !important;
  min-height: 100dvh;
}

.chat-peer {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.chat-peer > span:not(.avatar) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.4;
}

.chat-peer strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-peer > span:not(.avatar) span {
  font-size: 12px;
  color: var(--text-3);
}

.chat-project {
  position: sticky;
  top: calc(var(--topbar-h) + var(--safe-top));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 10px var(--gutter);
  background: var(--surface-1);
  font-size: 13px;
  font-weight: 700;
}

.chat-project span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: var(--s4) var(--gutter);
  max-width: 820px;
  margin-inline: auto;
}

.day-sep {
  display: flex;
  justify-content: center;
  margin: var(--s4) 0 var(--s2);
}

.day-sep span {
  padding: 3px 12px;
  border-radius: var(--r-full);
  background: var(--surface-1);
  font-size: 12px;
  color: var(--text-3);
  font-weight: 600;
}

.sys-msg {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: var(--s2) 0;
  padding: 6px 12px;
  border-radius: var(--r-md);
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.bubble {
  max-width: min(78%, 460px);
  padding: 8px 12px 6px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  animation: bubbleIn 220ms var(--ease) both;
}

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

.bubble.in {
  align-self: flex-start;
  background: var(--surface-2);
  border-start-start-radius: 6px;
}

.bubble.out {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-start-end-radius: 6px;
}

.app[data-area="biz"] .bubble.out {
  background: var(--biz);
  color: #0B1220;
}

[data-theme="light"] .app[data-area="biz"] .bubble.out {
  color: #fff;
}

.bubble.tail {
  margin-bottom: var(--s2);
}

.bubble-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bubble-meta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}

.composer {
  position: fixed;
  z-index: 60;
  inset-inline: 0;
  bottom: 0;
  padding: var(--s2) var(--s3) calc(var(--s2) + var(--safe-bottom));
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  box-shadow: 0 -1px 0 var(--line);
}

@media (min-width: 1024px) {
  .composer {
    inset-inline-start: var(--rail-w);
  }
}

.quick {
  padding-bottom: var(--s2);
  margin-inline: calc(var(--s3) * -1);
  padding-inline: var(--s3);
}

.quick .chip {
  min-height: 32px;
  font-size: 13px;
}

.composer-row {
  display: flex;
  align-items: flex-end;
  gap: var(--s2);
  max-width: 820px;
  margin-inline: auto;
}

.composer-input {
  flex: 1;
  min-height: 46px;
  max-height: 140px;
  padding: 11px 16px;
  border-radius: 23px;
  border: 0;
  background: var(--surface-2);
  resize: none;
  line-height: 1.5;
  outline: none;
}

.composer-input:focus {
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.composer-send {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) ease;
}

.app[data-area="biz"] .composer-send {
  background: var(--biz);
  color: #0B1220;
}

.composer-send svg {
  width: 20px;
  height: 20px;
  transform: scaleX(-1);
}

.composer-send:disabled {
  opacity: 0.35;
}

.composer-send:active {
  transform: scale(0.9);
}

/* ==========================================================================
   تقویم
   ========================================================================== */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s2);
}

.cal-head strong {
  font-size: var(--fs-lg);
  font-weight: 900;
}

.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-week span {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-3);
  padding: 4px 0;
}

.cal-cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease);
}

.cal-cell:active {
  transform: scale(0.9);
}

.cal-cell.free {
  background: var(--ok-soft);
  color: var(--ok);
}

.cal-cell.busy {
  background: var(--surface-3);
  color: var(--text-3);
  text-decoration: line-through;
}

.cal-cell.past {
  background: transparent;
  color: var(--text-disabled);
  text-decoration: none;
  cursor: default;
}

.cal-cell.today {
  box-shadow: inset 0 0 0 2px var(--text);
}

.cal-legend {
  display: flex;
  justify-content: center;
  gap: var(--s4);
  margin-top: var(--s3);
  font-size: 12px;
  color: var(--text-3);
}

.cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cal-legend i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.lg-free { background: var(--ok-soft); box-shadow: inset 0 0 0 1px var(--ok); }
.lg-busy { background: var(--surface-3); }
.lg-today { box-shadow: inset 0 0 0 2px var(--text); }

@media (min-width: 768px) {
  .cal {
    max-width: 560px;
  }
}

/* ==========================================================================
   پروفایل من / ویرایش
   ========================================================================== */
.me-head {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s2) 0 var(--s4);
}

.me-id h1 {
  font-size: var(--fs-xl);
  font-weight: 900;
}

.me-id p {
  color: var(--text-2);
  font-size: var(--fs-sm);
}

.me-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
  margin-bottom: var(--s3);
}

.complete-mini {
  margin-bottom: var(--s2);
}

.me-grid {
  margin-inline: 0;
  gap: 4px;
}

.me-grid .ig-cell {
  border-radius: 10px;
  position: relative;
}

.add-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
}

.add-cell svg {
  width: 26px;
  height: 26px;
}

.cover-tag {
  position: absolute;
  top: 6px;
  right: 6px;
}

.work-sheet-head {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.work-sheet-head .media {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex-shrink: 0;
}

.work-sheet-head div {
  display: flex;
  flex-direction: column;
}

.avatar-edit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) 0;
}

.drop {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
  background: var(--surface-1);
  box-shadow: inset 0 0 0 2px var(--line-strong);
  overflow: hidden;
  cursor: pointer;
  margin-top: var(--s3);
}

.drop.has-image {
  box-shadow: none;
}

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

.drop-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-2);
  text-align: center;
  padding: var(--s4);
}

.drop-empty svg {
  width: 36px;
  height: 36px;
  color: var(--accent-text);
  margin-bottom: 4px;
}

.drop-empty span {
  font-size: 12px;
  color: var(--text-3);
}

.drop-change {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--r-full);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.samples {
  margin-top: var(--s3);
  border-radius: var(--r-md);
  background: var(--surface-1);
  padding: var(--s3) var(--s4);
}

.samples summary {
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-2);
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: var(--s3);
}

.sample-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  display: block;
}

/* ==========================================================================
   پنل کسب‌وکار
   ========================================================================== */
.view-wizard {
  padding-bottom: calc(96px + var(--safe-bottom)) !important;
}

.wizard-progress {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: 0 var(--gutter) var(--s2);
  max-width: 560px;
  margin-inline: auto;
  font-size: 12px;
}

.wizard-progress .progress {
  flex: 1;
}

.wizard-progress .progress > span {
  background: var(--biz);
}

.invite-pill {
  display: flex;
  align-items: center;
  gap: var(--s2);
  max-width: 528px;
  margin: var(--s2) auto 0;
  margin-inline: max(var(--gutter), calc((100% - 528px) / 2));
  padding: 8px 12px;
  border-radius: var(--r-md);
  background: var(--biz-soft);
  font-size: 13px;
}

.wizard-body.in-fwd {
  animation: stepIn var(--t-slow) var(--ease) both;
}

.wizard-body.in-back {
  animation: stepBack var(--t-slow) var(--ease) both;
}

.wizard-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: var(--s4) 0 var(--s2);
}

.wizard-sub {
  color: var(--text-2);
  margin-bottom: var(--s5);
}

.wizard-body .wizard-title + .cat-grid {
  margin-top: var(--s5);
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s5);
  min-height: 112px;
  padding: var(--s4);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: start;
  font-weight: 800;
  transition: box-shadow var(--t-fast) ease, background-color var(--t-fast) ease, transform var(--t-fast) var(--ease);
}

.cat-tile svg {
  width: 28px;
  height: 28px;
  color: var(--text-2);
}

.cat-tile:active {
  transform: scale(0.97);
}

.cat-tile[aria-checked="true"] {
  box-shadow: inset 0 0 0 2px var(--biz);
  background: var(--biz-soft);
}

.cat-tile[aria-checked="true"] svg {
  color: var(--biz);
}

.view-wizard .option[aria-checked="true"] {
  box-shadow: inset 0 0 0 2px var(--biz);
  background: var(--biz-soft);
}

.view-wizard .option[aria-checked="true"] .option-check {
  background: var(--biz);
  color: #0B1220;
}

.view-wizard .option[aria-checked="true"] .option-icon {
  background: var(--biz-soft);
  color: var(--biz);
}

.review h2 {
  font-size: var(--fs-lg);
  margin: var(--s2) 0;
}

.review-edit {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s4);
}

.review-edit .chip {
  min-height: 32px;
  font-size: 13px;
}

.wizard-bar .btn {
  min-width: 200px;
}

/* پیشنهادها */
.live-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ok);
}

.live-hint .live-dot {
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
  50% { box-shadow: 0 0 0 6px transparent; }
}

.waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s2);
  padding: var(--s6) var(--s4);
}

.waiting p {
  font-size: 13px;
  max-width: 300px;
}

.waiting-anim {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--biz-soft);
  color: var(--biz);
  margin-bottom: var(--s2);
  animation: floatY 2.4s ease-in-out infinite;
}

.waiting-anim svg {
  width: 26px;
  height: 26px;
}

@keyframes floatY {
  50% { transform: translateY(-6px); }
}

.proposal {
  padding: var(--s4);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  animation: bubbleIn var(--t-slow) var(--ease) both;
}

.proposal.declined {
  opacity: 0.55;
}

.proposal.accepted {
  box-shadow: inset 0 0 0 2px var(--ok);
}

.proposal-head {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.proposal-price {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  margin: var(--s3) 0 var(--s2);
}

.proposal-price strong {
  font-size: var(--fs-lg);
  font-weight: 900;
}

.proposal-price span {
  font-size: 12px;
  color: var(--text-3);
}

.proposal-msg {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proposal-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: var(--s3);
}

.proposal-works .media {
  aspect-ratio: 1;
  border-radius: 8px;
}

.proposal-actions {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: var(--s2);
  margin-top: var(--s4);
}

.hired {
  margin-top: var(--s4);
  box-shadow: inset 0 0 0 1px var(--ok);
  background: linear-gradient(135deg, var(--ok-soft), transparent 60%), var(--surface-1);
}

.brand-card {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
}

.brand-card h2 {
  font-size: var(--fs-lg);
  font-weight: 900;
}

.avatar.square .avatar-img {
  border-radius: inherit;
}
