@font-face{font-family:"Vazirmatn";src:url(/fonts/Vazirmatn.woff2) format("woff2");font-weight:100 900;font-display:swap}
html,body,button,input,textarea,select,.ui-host,.ui-host *{font-family:"Vazirmatn",Tahoma,sans-serif}
.wordmark{font-family:"Inter","Vazirmatn",Arial,sans-serif !important}
input,textarea{letter-spacing:0;word-spacing:normal}
:root {
  --brand-primary: #1D63E0;
  --brand-primary-light: #0EA5F9;
  --brand-navy: #14213D;
  --bg-app: #EAF3FB;
  --surface: #FFFFFF;
  --text-primary: #14213D;
  --text-secondary: #5B6B85;
  --text-muted: #8B98AD;
  --success: #0F8F72;
  --success-bg: #E3F6F0;
  --danger: #FD4956;
  --danger-bg: #FDE7E9;
  --border: #E3EAF3;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-full: 999px;
  --shadow-card: 0 8px 24px rgba(20, 33, 61, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  height: 100%;
}

.app {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg-app);
  position: relative;
  overflow: clip;
}

.screen {
  display: none;
  min-height: 100vh;
  padding: 28px 24px;
  position: relative;
  flex-direction: column;
  animation: fadeIn .28s ease;
}
.screen.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- اینترو ---------- */
.skip-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 10px;
}

.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 6px 13px;
  box-shadow: 0 2px 8px rgba(20, 33, 61, 0.05);
}

.intro-art {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.logo-mark svg { display: block; }

/* ---------- حلقه‌ی تصویری اینترو ---------- */
.art-halo {
  position: relative;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(29, 99, 224, 0.14), rgba(29, 99, 224, 0.03) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-halo .logo-mark {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-dot {
  position: absolute;
  border-radius: 50%;
}
.art-dot-a { width: 16px; height: 16px; top: 4px; right: 10px; background: var(--brand-primary-light); opacity: .55; }
.art-dot-b { width: 10px; height: 10px; bottom: 14px; left: 2px; background: var(--brand-primary); opacity: .3; }
.art-dot-c { width: 8px; height: 8px; top: 26px; left: 12px; background: var(--success); opacity: .4; }

.form-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.art-halo-small {
  width: 72px;
  height: 72px;
  margin-bottom: 0;
}
.art-halo-small .logo-mark.small {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- تصویر سه‌گرهی اینترو ۳ ---------- */
.path-illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.path-labels {
  display: flex;
  justify-content: space-between;
  width: 272px;
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
}
.path-labels span { flex: 1; }
.path-label-mid { font-weight: 700; color: var(--brand-primary); }

.brand-tagline {
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-align: center;
}
.brand-tagline.small { margin-bottom: 0; }

.path-nodes {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.intro-title {
  margin: 28px 0 12px;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
}
.intro-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.9;
  margin: 0;
}
.intro-emphasis {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-primary);
  text-align: center;
  line-height: 1.8;
  margin: 14px 0 0;
}
.intro-footnote {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.8;
  margin: 14px 0 0;
}

.intro-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.dots { display: flex; gap: 6px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #C6D6EE;
}
.dot.active {
  width: 20px;
  border-radius: 4px;
  background: var(--brand-primary);
}

.next-fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}


/* ---------- دکمه‌ها ---------- */
.btn {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .15s ease, transform .1s ease;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-primary); color: #fff; box-shadow: 0 8px 20px rgba(29, 99, 224, 0.28); }
.btn-primary:hover:not(:disabled) { background: #1751BD; }
.btn-ghost { background: transparent; color: var(--text-secondary); margin-top: 8px; }

.link-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  cursor: pointer;
  padding: 6px 2px;
}
.change-phone-link {
  display: block;
  margin: 14px auto 0;
  text-align: center;
}

.spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- فرم‌ها (استارت / ورود) ---------- */
.back-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.form-wrap {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-wrap.center { align-items: center; text-align: center; margin-top: 140px; }

.logo-mark.small { margin-bottom: 0; }

.form-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
}
.form-title.error-title { color: var(--danger); }
.form-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 28px;
}
.form-footnote {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
  margin: 14px 0 0;
}

.field-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.text-input {
  font-family: inherit;
  font-size: 16px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  margin-bottom: 6px;
  outline: none;
  transition: border-color .15s ease;
}
.text-input:focus { border-color: var(--brand-primary); }

/* ---------- فیلد شماره موبایل با پیش‌شماره‌ی ثابت +۹۸ ---------- */
.phone-field {
  display: flex;
  align-items: center;
  direction: ltr;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  margin-bottom: 6px;
  padding: 0 4px;
  box-shadow: 0 2px 10px rgba(20, 33, 61, 0.04);
  transition: border-color .15s ease;
}
.phone-field:focus-within { border-color: var(--brand-primary); }
.phone-prefix {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 15px 10px 15px 6px;
  white-space: nowrap;
}
.phone-divider {
  width: 1px;
  align-self: stretch;
  margin: 10px 2px;
  background: var(--border);
}
.phone-number-input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 16px;
  padding: 15px 10px;
  border: none;
  background: transparent;
  outline: none;
  direction: ltr;
  text-align: left;
}

.field-error {
  color: var(--danger);
  font-size: 13px;
  margin: 4px 0 18px;
  min-height: 18px;
}
.field-error.visible { display: block; min-height: 0; margin: 10px 0 20px; }

/* ---------- OTP ---------- */
.otp-boxes {
  display: flex;
  gap: 12px;
  direction: ltr;
  margin: 10px 0 6px;
}
.otp-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(20, 33, 61, 0.04);
  outline: none;
}
.otp-box:focus { border-color: var(--brand-primary); }
.otp-boxes.shake { animation: shake .4s ease; }
.otp-boxes.error .otp-box,
.otp-boxes.shake .otp-box { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}

.dev-otp-hint {
  background: var(--success-bg);
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 0 0 14px;
  text-align: center;
}

.resend-line {
  margin: 4px 0 22px;
  font-size: 13px;
  color: var(--text-secondary);
  min-height: 18px;
}
#resend-btn { font-size: 13px; padding: 0; }

.success-mark {
  margin-bottom: 20px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(15, 143, 114, 0.14), rgba(15, 143, 114, 0.03) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- لوگوی اصلی لینکات (نشان «ردپای معرفی» + وردمارک) ---------- */
.brand-mark { display: block; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wordmark { font-family: "Inter", "Vazirmatn", Arial, sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-size: 46px; }
.wordmark.small { font-size: 26px; }
.wm-link { color: #13335C; }
.wm-at { color: #3B82F6; }

/* ---------- ناوبری اینترو: قبلی (کمرنگ) + بعدی (پهن)؛ در RTL جلو = چپ ---------- */
.intro-footer { flex-direction: column; align-items: stretch; gap: 18px; }
.intro-footer .dots { justify-content: center; }
.intro-nav { display: flex; align-items: center; gap: 10px; }
.intro-nav .btn-primary { flex: 1; width: auto; }
.prev-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: none; font-family: inherit; font-size: 14px;
  color: var(--text-secondary); opacity: .55; cursor: pointer;
  padding: 15px 14px; border-radius: var(--radius-full);
}
.prev-btn:disabled { opacity: .22; cursor: default; }
.prev-btn:hover:not(:disabled) { opacity: .9; }

/* ================= آنبوردینگ و خانه ================= */
.ob-screen { padding-top: 22px; }
.ob-steps { display: flex; gap: 6px; margin: 4px 0 22px; direction: rtl; }
.ob-steps i { flex: 1; height: 5px; border-radius: 9px; background: #D3E1F2; }
.ob-steps i.on { background: var(--brand-primary); }
.ob-title { font-size: 24px; line-height: 1.5; margin: 0 0 8px; font-weight: 800; }
.ob-sub { font-size: 14px; line-height: 1.9; color: var(--text-secondary); margin: 0 0 18px; }
.center-screen { align-items: center; text-align: center; }
.center-screen .ob-steps { align-self: stretch; }
.center-screen .ob-cta, .center-screen .ob-actions { align-self: stretch; }
.card { background: var(--surface); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tag { font-size: 11px; padding: 4px 10px; border-radius: var(--radius-full); background: #FFF7EC; color: #92400E; font-weight: 600; white-space: nowrap; }
.tag-blue { background: #E6F0FF; color: var(--brand-primary); }
.hint { font-size: 12.5px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.8; }
.card .field-label { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-full); background: #E6F0FF; color: var(--brand-primary); font-size: 13px; border: 0; }
.chip button { background: none; border: 0; color: inherit; font-size: 16px; line-height: 1; padding: 0; cursor: pointer; }
.chip-add { background: transparent; border: 1.5px dashed #9DBCEB; cursor: pointer; }
.chip-input { font-family: inherit; font-size: 13px; padding: 7px 12px; border-radius: var(--radius-full); border: 1.5px solid var(--brand-primary); outline: none; width: 130px; }
.ob-cta { margin-top: 18px; }
.ob-actions { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; width: 100%; }
.ob-actions .btn-ghost { margin-top: 6px; }
.ob-hero { display: flex; justify-content: center; margin: 14px 0 18px; }
.ob-hero-ico { width: 104px; height: 104px; border-radius: 50%; background: #DCEBFF; display: flex; align-items: center; justify-content: center; }
.ob-hero-ico.warn { background: #FFF1DB; }
.benefits { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-direction: column; gap: 12px; text-align: right; }
.benefits li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.8; background: var(--surface); padding: 12px; border-radius: var(--radius-md); }
.b-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: #E6F0FF; display: flex; align-items: center; justify-content: center; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--brand-primary); }
.ring-wrap { position: relative; width: 150px; height: 150px; margin: 24px 0 22px; }
#ring { transition: stroke-dashoffset .12s linear; }
.ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: var(--brand-primary); }
.counters { display: flex; gap: 10px; width: 100%; margin: 6px 0 10px; }
.counters > div { flex: 1; background: var(--surface); border-radius: var(--radius-md); padding: 12px 6px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-card); }
.counters b { font-size: 20px; color: var(--brand-primary); }
.counters b.ok { color: var(--success); }
.counters span { font-size: 11px; color: var(--text-secondary); line-height: 1.6; }
.note-card { width: 100%; background: var(--surface); border-radius: var(--radius-md); padding: 12px 14px; margin-top: 10px; text-align: right; display: flex; flex-direction: column; gap: 3px; border-right: 4px solid var(--brand-primary); }
.note-card b { font-size: 13.5px; } .note-card span { font-size: 12px; color: var(--text-secondary); }
.list-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.list-title { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; }
.people { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.sec { margin-bottom: 18px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.sec-head b em { font-style: normal; color: var(--text-muted); font-weight: 500; margin-right: 6px; }
.person { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: var(--radius-md); padding: 11px 12px; text-align: right; border: 1.5px solid transparent; }
.person.sel { border-color: #BFD5F7; }
.person .av, .avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #fff; border: 0; font-family: inherit; }
.person .pi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.person .pi b { font-size: 14px; } .person .pi span { font-size: 11.5px; color: var(--text-secondary); line-height: 1.6; }
.person input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--brand-primary); flex: none; }
.person .done-mark { color: var(--success); font-size: 12px; font-weight: 600; }
.btn-outline { background: transparent; color: var(--brand-primary); border: 1.5px solid #BFD5F7; }
.btn-small { padding: 8px 12px; font-size: 12px; border-radius: 12px; white-space: nowrap; box-shadow: none; }
.btn-block.btn-outline { margin-top: 10px; }

.home-screen { padding-bottom: 0; }
.home-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.home-brand { display: flex; align-items: center; gap: 8px; }
.home-icons { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(20,33,61,.06); }
.badge { position: absolute; top: -3px; left: -3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.avatar { background: var(--brand-primary); cursor: pointer; width: 38px; height: 38px; }
.home-hello { font-size: 22px; margin: 6px 0 2px; font-weight: 800; }
.home-sub { font-size: 13px; color: var(--text-secondary); margin: 0 0 14px; }
.search-bar { font-family: inherit; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 13px 14px; color: var(--text-muted); font-size: 13px; margin-bottom: 14px; cursor: pointer; text-align: right; }
.net-card { background: linear-gradient(135deg, #1D63E0, #0EA5F9); color: #fff; border-radius: var(--radius-lg); padding: 16px; margin-bottom: 18px; box-shadow: 0 10px 24px rgba(29,99,224,.28); }
.net-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.net-top em { font-style: normal; font-weight: 500; font-size: 11px; opacity: .85; }
.net-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; text-align: center; }
.net-grid b { display: block; font-size: 15px; }
.net-grid span { font-size: 10.5px; opacity: .85; }
.tabs { display: flex; gap: 6px; background: #D9E7F6; padding: 4px; border-radius: var(--radius-md); margin-bottom: 12px; }
.tab { flex: 1; font-family: inherit; border: 0; background: transparent; padding: 9px 4px; border-radius: 11px; font-size: 12.5px; color: var(--text-secondary); cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 6px; }
.tab.on { background: var(--surface); color: var(--brand-primary); font-weight: 700; box-shadow: 0 2px 8px rgba(20,33,61,.08); }
.tab-n { background: var(--brand-primary); color: #fff; border-radius: 9px; font-size: 10px; padding: 1px 6px; }
#home-list { display: flex; flex-direction: column; gap: 10px; }
.need-card { background: var(--surface); border-radius: var(--radius-md); padding: 13px; display: flex; flex-direction: column; gap: 10px; }
.need-card.unread { background: #F2F7FF; border-right: 4px solid var(--brand-primary); }
.need-top { display: flex; align-items: center; gap: 10px; }
.need-top .pi { flex: 1; display: flex; flex-direction: column; gap: 2px; text-align: right; }
.need-top b { font-size: 14px; } .need-top .pi span { font-size: 11.5px; color: var(--text-secondary); }
.need-title { font-size: 13.5px; font-weight: 700; text-align: right; }
.need-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--text-muted); }
.need-actions { display: flex; gap: 8px; }
.need-actions .btn { flex: 1; }
.empty-note { text-align: center; color: var(--text-muted); font-size: 13px; padding: 22px 0; }
#home-all { margin-top: 12px; }
.remind { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.remind-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: var(--radius-md); padding: 12px; }
.pct { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #E6F0FF; color: var(--brand-primary); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.remind-text { flex: 1; display: flex; flex-direction: column; gap: 2px; text-align: right; }
.remind-text b { font-size: 13.5px; } .remind-text span { font-size: 11.5px; color: var(--text-secondary); line-height: 1.7; }
.bottom-nav { position: sticky; bottom: 0; margin: 22px -24px 0; background: var(--surface); border-top: 1px solid var(--border); display: flex; justify-content: space-around; align-items: center; padding: 8px 6px 12px; z-index: 5; }
.nav-it { font-family: inherit; background: none; border: 0; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; cursor: pointer; flex: 1; }
.nav-it.on { color: var(--brand-primary); font-weight: 700; }
.nav-plus { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--brand-primary); display: flex; align-items: center; justify-content: center; margin-top: -24px; box-shadow: 0 8px 18px rgba(29,99,224,.4); cursor: pointer; }
.sys-dialog { position: fixed; inset: 0; background: rgba(10,20,40,.5); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 24px; }
.sys-dialog[hidden], .toast[hidden] { display: none; }
.sys-box { background: #F5F6F8; border-radius: 18px; max-width: 300px; width: 100%; text-align: center; overflow: hidden; }
.sys-box b { display: block; padding: 20px 18px 6px; font-size: 15px; line-height: 1.7; }
.sys-box p { margin: 0; padding: 0 18px 16px; font-size: 12px; color: var(--text-secondary); line-height: 1.8; }
.sys-btns { display: flex; border-top: 1px solid #DDE1E7; }
.sys-btns button { flex: 1; font-family: inherit; background: none; border: 0; padding: 14px; font-size: 14px; color: var(--brand-primary); cursor: pointer; }
.sys-btns button.ok { font-weight: 700; border-right: 1px solid #DDE1E7; }
.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: #14213D; color: #fff; padding: 10px 18px; border-radius: 22px; font-size: 13px; z-index: 60; max-width: 90%; }
[hidden]{display:none!important}
.lang-switch + .ob-steps{margin-top:34px}
.av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #fff; }
.lang-switch + .ob-title { margin-top: 34px; }
.net-grid b { white-space: nowrap; font-size: 14px; }

.name-row { display: flex; gap: 10px; }
.name-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chip-confirm { font-family: inherit; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--brand-primary); color: #fff; font-size: 16px; cursor: pointer; }
.chip-typing { display: inline-flex; align-items: center; gap: 6px; }
.intro-nav { display: grid; grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr); align-items: center; gap: 8px; }
.intro-nav .prev-btn { justify-self: start; }
.intro-nav .btn-primary { grid-column: 2; flex: none; width: auto; min-width: 200px; justify-content: center; text-align: center; }

.coach { background: #FFF7E0; border: 1px solid #F3D98B; color: #6B4E00; border-radius: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.9; margin-bottom: 8px; display: flex; gap: 10px; align-items: flex-start; position: relative; }
.coach::before { content: ""; position: absolute; top: -6px; right: 22px; width: 10px; height: 10px; background: #FFF7E0; border-top: 1px solid #F3D98B; border-left: 1px solid #F3D98B; transform: rotate(45deg); }
.coach span { flex: 1; }
.coach button { font-family: inherit; flex: none; border: 0; background: #D9A400; color: #fff; border-radius: 10px; padding: 5px 10px; font-size: 12px; cursor: pointer; }
.more-row { text-align: center; font-size: 12px; color: var(--text-secondary); padding: 6px 0 2px; }
.concepts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.concept { display: flex; gap: 12px; background: var(--surface); border-radius: var(--radius-md); padding: 12px; text-align: right; }
.concept .cn { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #E6F0FF; color: var(--brand-primary); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.concept div { display: flex; flex-direction: column; gap: 3px; }
.concept b { font-size: 14px; } .concept span:not(.cn) { font-size: 12.5px; color: var(--text-secondary); line-height: 1.9; }
.why-box { background: linear-gradient(135deg, #E6F0FF, #E3F6F0); border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: 16px; }
.why-box b { font-size: 14px; display: block; margin-bottom: 6px; }
.why-box ul { margin: 0 0 8px; padding: 0 18px 0 0; font-size: 12.5px; line-height: 2; color: var(--text-primary); }
.why-note { font-size: 11.5px; color: var(--text-secondary); line-height: 1.9; display: block; }
.tour-box { max-width: 320px; }
.tour-dots { display: flex; justify-content: center; gap: 6px; padding-bottom: 14px; }
.tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: #CBD5E3; } .tour-dots i.on { background: var(--brand-primary); }

.prof-card .bar { height: 8px; background: #DCE8F8; border-radius: 6px; overflow: hidden; margin: 6px 0; }
.prof-card .bar i { display: block; height: 100%; background: var(--brand-primary); border-radius: 6px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #F4F8FD; border-radius: 12px; padding: 8px 4px; text-align: center; }
.need-card.unread .stat-row { background: #fff; }
.stat-row b { display: block; font-size: 13px; color: var(--brand-primary); }
.stat-row span { font-size: 9.5px; color: var(--text-secondary); line-height: 1.5; }
.av.big { width: 56px; height: 56px; font-size: 22px; }
.need-card.accepted { background: #F0FAF6; border-right: 4px solid var(--success); }
.acc-top { display: flex; gap: 12px; align-items: center; text-align: right; }
.acc-t { display: flex; flex-direction: column; gap: 4px; }
.acc-t b { font-size: 14px; } .acc-t span { font-size: 12.5px; color: var(--text-secondary); line-height: 1.8; }
.acc-done { color: var(--success); font-size: 12.5px; font-weight: 700; }

.csv-up { margin-top: 10px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.csv-up .link-btn { font-size: 12.5px; }
#csv-info { font-size: 12px; color: var(--success); line-height: 1.8; }

.card.compact .text-input { font-size: 14px; padding: 9px 12px; margin-bottom: 4px; width: 100%; }
.card.compact .field-label { margin: 8px 0 4px; font-size: 12px; }
.card.compact textarea.text-input { resize: vertical; font-family: inherit; }
.in-wrap { position: relative; }
.in-wrap .text-input { padding-left: 36px; }
.mic { position: absolute; left: 6px; top: 50%; transform: translateY(-62%); border: 0; background: transparent; font-size: 15px; cursor: pointer; opacity: .65; padding: 4px; }
.mic.on { opacity: 1; animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: translateY(-62%) scale(1.25); } }
.tag-input { display: flex; gap: 6px; align-items: flex-start; }
.tag-input .text-input { flex: 1; }
.tag-plus { flex: none; width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--brand-primary); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.card.compact .chips { margin: 2px 0 4px; min-height: 4px; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.suggest button { font-family: inherit; font-size: 11.5px; border: 1px dashed #9DBCEB; background: transparent; color: var(--brand-primary); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.more-toggle { font-family: inherit; margin-top: 12px; background: #F2F7FF; border: 0; color: var(--brand-primary); border-radius: 12px; padding: 9px; font-size: 13px; cursor: pointer; }
.more-fields { display: flex; flex-direction: column; }

.dev-reset { position: fixed; bottom: 4px; left: 4px; z-index: 70; font-family: inherit; font-size: 10px; background: rgba(20,33,61,.55); color: #fff; border: 0; border-radius: 10px; padding: 3px 8px; cursor: pointer; opacity: .6; }

.sel-all { margin: 0; font-size: 13px; color: var(--brand-primary); font-weight: 600; cursor: pointer; }
.min-hint { font-size: 12px; color: var(--text-secondary); text-align: center; min-height: 18px; margin-bottom: 6px; }
.sec-sub { font-size: 12px; color: var(--text-secondary); margin: -4px 0 8px; line-height: 1.8; }

.tour-never { justify-content: center; margin: 0 0 12px; font-size: 12.5px; }
.sys-btns .one { border-right: 0 !important; }

.tour { position: fixed; inset: 0; z-index: 80; }
.tour[hidden] { display: none; }
.tour-hl { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(10,20,40,.62), 0 0 0 3px #fff inset; border: 3px solid #fff; transition: all .25s ease; pointer-events: none; }
.tour-bubble { position: fixed; left: 16px; right: 16px; max-width: 360px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 16px 16px 14px; text-align: center; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.tour-bubble b { display: block; font-size: 15px; margin-bottom: 4px; }
.tour-bubble p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.9; color: var(--text-secondary); }
.tour-arrow { position: absolute; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); }
.tour-btn { padding: 11px; font-size: 14px; }

/* ===== پروفایل و کارت ویزیت ===== */
.pf-head2 { padding: 8px 0 4px; } .pf-head2 h2 { margin: 0; font-size: 20px; color: var(--text); }
.seg { display: flex; background: #EEF2F8; border-radius: 12px; padding: 4px; margin: 10px 0 14px; }
.seg button { flex: 1; font-family: inherit; border: 0; background: none; padding: 9px 0; border-radius: 9px; font-size: 14px; color: var(--text-muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--brand-primary); font-weight: 700; box-shadow: 0 1px 4px rgba(19,51,92,.12); }
.pf-top { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; flex-wrap: wrap; }
.pf-top-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; } .pf-top-t b { font-size: 16px; } .pf-top-t span { font-size: 12px; color: var(--text-muted); }
.pf-pct { width: 100%; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); position: relative; }
.pf-pct span { order: 2; font-weight: 700; color: var(--brand-primary); } .pf-pct { background: linear-gradient(#E5ECF7,#E5ECF7) center/100% 6px no-repeat; height: 14px; } .pf-pct i { position: absolute; right: 0; top: 4px; height: 6px; border-radius: 6px; background: var(--brand-primary); }
.pf-pct span { position: absolute; left: 0; top: -16px; }
.pf-note { background: #FFF7EC; color: #92400E; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.8; margin-top: 10px; }
.pf-cnt { margin: 12px 0 8px; font-size: 13px; color: var(--text-muted); } .pf-cnt.full { color: #92400E; }
.pf-list, .pc-list { display: flex; flex-direction: column; gap: 8px; }
.pf-row { display: flex; gap: 8px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px; }
.pf-row.dragging, .pc-row.dragging { box-shadow: 0 8px 24px rgba(19,51,92,.25); background: #F4F8FF; position: relative; z-index: 3; }
.drag { flex: none; font-family: inherit; background: none; border: 0; color: #9AA7BD; cursor: grab; font-size: 18px; line-height: 1; padding: 6px 2px; touch-action: none; letter-spacing: -3px; }
.pf-body { flex: 1; min-width: 0; } .pf-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.pf-head label { font-size: 12.5px; color: var(--text-muted); } .pf-head em { font-style: normal; color: #D97706; font-size: 11px; margin-right: 4px; }
.pf-in { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; background: #fff; color: var(--text); resize: vertical; }
.pf-in:focus { outline: 2px solid #BFD3F8; border-color: var(--brand-primary); }
.pf-lab-in { font-family: inherit; font-size: 12.5px; border: 0; border-bottom: 1px dashed var(--border); background: none; color: var(--text-muted); width: 70%; }
.pf-ro { font-size: 14px; padding: 8px 2px; color: var(--text); }
.pf-hmsg { font-size: 12px; margin-top: 4px; min-height: 14px; } .pf-hmsg.ok { color: #0F8F72; } .pf-hmsg.bad { color: #C62828; }
.pf-del { flex: none; font-family: inherit; border: 0; background: #F1F4F9; color: #6B7A93; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; }
.pf-side { flex: none; padding-top: 18px; }
.pf-sw { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; font-size: 10.5px; color: var(--text-muted); }
.pf-sw input { position: absolute; opacity: 0; width: 0; height: 0; }
.pf-sw .sw { width: 36px; height: 20px; border-radius: 20px; background: #CBD5E4; position: relative; transition: background .15s; }
.pf-sw .sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.pf-sw input:checked + .sw { background: var(--brand-primary); } .pf-sw input:checked + .sw::after { transform: translateX(-16px); }
.pf-lockd { font-size: 10.5px; color: var(--brand-primary); font-weight: 700; text-align: center; display: block; max-width: 48px; line-height: 1.5; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pf-add { margin-top: 14px; background: var(--surface); border: 1px dashed var(--border); border-radius: 14px; padding: 12px; }
.pf-add-t { font-size: 13px; font-weight: 700; margin-bottom: 8px; } .pf-add-r { display: flex; flex-direction: column; gap: 8px; }
.pf-add-r input { font-family: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.pf-savebar { position: sticky; bottom: 70px; padding: 10px 0; background: linear-gradient(transparent, var(--bg, #fff) 40%); z-index: 4; margin-top: 12px; }
.pf-savebar .btn:disabled { opacity: .5; }
.vcard { background: linear-gradient(160deg, #13335C, #1D63E0); color: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 10px 30px rgba(19,51,92,.25); }
.vc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; } .vc-top b { display: block; font-size: 18px; } .vc-top span { font-size: 13px; opacity: .85; }
.vcard .av.big { border: 2px solid rgba(255,255,255,.7); }
.pc-row { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border-radius: 12px; padding: 8px 10px; }
.pc-row .drag { color: rgba(255,255,255,.7); } .pc-row .pf-del { background: rgba(255,255,255,.2); color: #fff; }
.pc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; } .pc-t small { font-size: 11px; opacity: .75; } .pc-t span { font-size: 14px; overflow-wrap: anywhere; }
.pc-empty { font-size: 13px; opacity: .85; line-height: 1.9; padding: 8px 2px; }
.vc-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; } .qr { background: #fff; border-radius: 14px; padding: 8px; line-height: 0; } .vc-url { font-size: 13px; opacity: .9; }
.vc-act { display: flex; gap: 10px; margin-top: 14px; } .vc-act .btn { flex: 1; }
.pf-hint { font-size: 12.5px; color: var(--text-muted); line-height: 1.9; text-align: center; margin: 10px 0; } .pf-hint.ok { color: #0F8F72; }
.pf-tags .tag-input { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 120px; }
.pf-tags .tag-input input { flex: 1; min-width: 0; font-family: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; background: #fff; }
.pf-tags .tag-plus { width: 34px; height: 34px; font-size: 20px; }
.pf-savebar .btn { width: 100%; }
.pc-row.dragging { background: rgba(255,255,255,.3); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
#pf-body { padding-bottom: 12px; }
[data-pub-req] { width: 100%; margin-top: 14px; }
.bottom-nav { margin-top: auto; }
.screen > .bottom-nav { margin-top: auto; }

/* ===== بازطراحی پروفایل: دسته‌بندی، کارت جدا ===== */
.pf-sec { margin-top: 18px; } .pf-sec h3, .cd-h { margin: 0 0 8px; font-size: 14px; color: var(--text-muted); font-weight: 700; }
.pf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.pf-two .pf-row { margin: 0; }
.pf-row.locked { padding: 10px 12px; margin-bottom: 8px; }
.pf-cardbtn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-family: inherit; text-align: right; border: 0; cursor: pointer; color: #fff; background: linear-gradient(160deg,#13335C,#1D63E0); border-radius: 16px; padding: 14px 16px; }
.pcb-t b { display: block; font-size: 15px; } .pcb-t small { font-size: 12px; opacity: .85; }
.pcb-n { background: rgba(255,255,255,.2); border-radius: 20px; padding: 4px 10px; font-size: 12.5px; white-space: nowrap; }
.handle-wrap { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; padding-left: 10px; }
.handle-wrap span { padding: 0 4px 0 10px; color: var(--brand-primary); font-weight: 700; }
.handle-wrap input { border: 0 !important; outline: 0 !important; flex: 1; min-width: 0; padding-left: 0; }
.handle-url { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; } .handle-url b { color: var(--brand-primary); font-weight: 700; }
.tag-fixed { display: flex; gap: 8px; align-items: center; } .tag-fixed input { flex: 1; min-width: 0; font-family: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; background: #fff; }
.tag-fixed .tag-plus { flex: none; width: 38px; height: 38px; font-size: 22px; }
.pf-tags { margin-top: 8px; } .pf-count { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }
.pf-add-r select { font-family: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; background: #fff; }
.pf-logout { width: 100%; margin: 22px 0 8px; font-family: inherit; font-size: 14px; color: #C62828; background: #fff; border: 1px solid #F3C9C9; border-radius: 12px; padding: 12px; cursor: pointer; }
.back-btn { font-family: inherit; border: 0; background: none; color: var(--brand-primary); font-size: 14px; cursor: pointer; padding: 4px 0; }
.cd-sec { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 6px 12px; margin-bottom: 10px; }
.cd-st { font-size: 12px; color: var(--text-muted); padding: 8px 0 2px; }
.cd-it { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid #EEF2F8; cursor: pointer; }
.cd-st + .cd-it { border-top: 0; }
.pc-t2 { display: flex; flex-direction: column; min-width: 0; } .pc-t2 small { font-size: 11px; color: var(--text-muted); } .pc-t2 span { font-size: 14px; overflow-wrap: anywhere; }
.cd-it .pf-sw { flex: none; }
.need-top .pi .mini { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font-size: 11px; color: var(--text-secondary); }
.need-top .pi .mini b { color: var(--brand-primary); font-weight: 700; }
.back-btn { display: block; white-space: nowrap; margin-bottom: 4px; }

/* ===== پروفایل من — مطابق UI نهایی (MyProfile / BusinessCardQR / ProfileShareSettings) ===== */
.pv-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 4px; } .pv-head h2 { margin: 0; font-size: 18px; color: #0B1E3B; }
.pv-hicons { display: flex; gap: 8px; } .pv-hic { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid #E3E8F0; color: #0B1E3B; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pv-card { background: #fff; border: 1px solid #E3E8F0; border-radius: 18px; padding: 16px; margin-bottom: 12px; }
.pv-center { text-align: center; display: block; }
.pv-av { border-radius: 50%; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(11,30,59,.12); }
.pv-name { font-size: 17px; font-weight: 800; color: #0B1E3B; } .pv-job { font-size: 12px; color: #8A96A8; margin-top: 3px; } .pv-job.faint { opacity: .8; }
.pv-loc { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 10.5px; color: #8A96A8; margin-top: 4px; }
.pv-handle { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #E3E8F0; background: #F7FAFF; color: #4B5768; font-family: inherit; font-size: 11px; font-weight: 700; cursor: pointer; } .pv-handle.static { cursor: default; }
.pv-two { display: flex; gap: 8px; margin-top: 14px; }
.pv-btn1, .pv-btn2 { flex: 1; height: 40px; border-radius: 12px; font-family: inherit; font-size: 12px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.pv-btn1 { background: #1D63E0; color: #fff; border: 0; } .pv-btn2 { background: #fff; color: #0B1E3B; border: 1.5px solid #E3E8F0; font-weight: 700; }
.pv-tiles { padding: 14px 12px; } .pv-ct { font-size: 11px; font-weight: 800; color: #0B1E3B; margin: 0 4px 10px; }
.pv-tilerow { display: flex; gap: 6px; } .pv-tile { flex: 1; min-width: 0; background: #F7FAFF; border: 1px solid #E3E8F0; border-radius: 14px; padding: 9px 4px; text-align: center; }
.pv-ti { color: #1D63E0; display: block; margin-bottom: 2px; } .pv-ti svg { display: inline-block; }
.pv-num { font-size: 14px; font-weight: 800; color: #0B1E3B; } .pv-tl { font-size: 9px; color: #0B1E3B; font-weight: 700; margin-top: 1px; } .pv-sub { font-size: 8.5px; color: #8A96A8; margin-top: 1px; }
.pv-pct { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 2px 4px; margin: 2px 0 14px; font-family: inherit; cursor: pointer; }
.pv-pt { font-size: 10.5px; font-weight: 700; color: #4B5768; white-space: nowrap; } .pv-pc { font-size: 10.5px; font-weight: 700; color: #1D63E0; white-space: nowrap; }
.pv-bar { flex: 1; height: 3px; border-radius: 999px; background: #EEF2F7; overflow: hidden; } .pv-bar i { display: block; height: 100%; border-radius: 999px; background: #1D63E0; }
.pv-cth { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; font-size: 12.5px; font-weight: 800; color: #0B1E3B; }
.pv-cnt { font-size: 9.5px; font-weight: 800; color: #7C3AED; background: #F3EEFC; padding: 2px 8px; border-radius: 999px; } .pv-soon { font-size: 9px; font-weight: 700; color: #8A96A8; background: #F1F3F6; padding: 2px 8px; border-radius: 999px; }
.pv-hint { font-size: 10px; color: #8A96A8; line-height: 1.7; margin-bottom: 4px; } .pv-hint.b { font-weight: 700; margin-bottom: 7px; }
.pv-note { font-size: 9.5px; color: #8A96A8; margin-top: 6px; line-height: 1.8; } .pv-empty { font-size: 11px; color: #8A96A8; line-height: 1.9; padding: 8px 2px; }
.pv-tagp { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid #E3E8F0; } .pv-tagp:first-of-type { border-top: 0; }
.pv-ptag { font-size: 11px; font-weight: 700; color: #7C3AED; background: #F3EEFC; padding: 5px 11px; border-radius: 999px; white-space: nowrap; } .pv-ptag.g { color: #0F8F72; background: #DFF5F1; }
.pv-by { flex: 1; min-width: 0; font-size: 9.5px; color: #8A96A8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-act { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #E3E8F0; background: #fff; color: #4B5768; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0; cursor: pointer; } .pv-act.ok { background: #DFF5F1; border-color: #DFF5F1; color: #0F8F72; }
.pv-acc-t { border-top: 1px solid #E3E8F0; margin-top: 4px; padding-top: 10px; } .pv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-accs { padding: 4px 14px; margin-bottom: 4px; }
.pv-acc { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 2px; border: 0; border-top: 1px solid #E3E8F0; background: none; font-family: inherit; cursor: pointer; color: #0B1E3B; } .pv-acc:first-child { border-top: 0; }
.pv-at { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; } .pv-ar { display: flex; align-items: center; gap: 8px; flex-shrink: 0; color: #8A96A8; }
.pv-secbody { padding: 0 2px 10px; } .pv-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px dashed #E3E8F0; }
.pv-rl { flex: 1; font-size: 11px; color: #8A96A8; } .pv-rv { font-size: 11.5px; font-weight: 700; color: #0B1E3B; max-width: 62%; text-align: start; word-break: break-word; }
.pv-add { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; margin-top: 8px; border-radius: 12px; border: 1.5px dashed #C9DAF5; background: #F4F8FE; color: #1D63E0; font-family: inherit; font-size: 11.5px; font-weight: 800; cursor: pointer; }
.pf-sub { margin: 4px 0 0; font-size: 11.5px; color: #8A96A8; }
.pe-top { display: flex; align-items: center; gap: 12px; margin: 6px 0 4px; } .pe-top .pv-av { margin: 0; } .pe-tt { display: flex; flex-direction: column; gap: 2px; } .pe-tt b { font-size: 16px; } .pe-tt span { font-size: 12px; color: #1D63E0; font-weight: 700; }
.pv-share-link { margin-top: 18px; text-align: center; } .pv-share-link .pv-btn2 { width: 100%; flex: none; }
/* کارت ویزیت و QR */
.qc-tabs { display: flex; gap: 4px; background: #EEF2F8; border-radius: 999px; padding: 3px; margin-bottom: 12px; } .qc-tabs button { flex: 1; height: 34px; border: 0; border-radius: 999px; background: none; font-family: inherit; font-size: 12px; font-weight: 700; color: #8A96A8; cursor: pointer; } .qc-tabs button.on { background: #fff; color: #0B1E3B; box-shadow: 0 1px 4px rgba(11,30,59,.1); }
.qc-qr { display: inline-block; margin: 14px 0 6px; padding: 8px; border: 1px solid #E3E8F0; border-radius: 16px; background: #fff; } .qc-qr svg { display: block; border-radius: 8px; }
.qc-url { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; background: #F7FAFF; border: 1px solid #E3E8F0; border-radius: 12px; padding: 8px 12px; font-size: 12px; font-weight: 700; color: #0B1E3B; } .qc-url button { display: flex; align-items: center; gap: 4px; border: 0; background: none; color: #1D63E0; font-family: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.qc-acts { display: flex; gap: 8px; margin-top: 14px; } .qc-acts .pv-btn1, .qc-acts .pv-btn2 { height: 42px; font-size: 11px; padding: 0 4px; }
.pv-scan { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 14px; border: 1.5px dashed #C9DAF5; background: #F4F8FE; color: #1D63E0; font-family: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; margin-top: 4px; }
/* تنظیمات اشتراک‌گذاری */
.pv-shs { padding: 6px 16px; } .sh-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid #E3E8F0; } .sh-row:first-child { border-top: 0; }
.sh-l { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: #0B1E3B; }
.sh-tg { display: flex; background: #F1F3F6; border-radius: 999px; padding: 2px; gap: 2px; flex-shrink: 0; } .sh-tg button { font-family: inherit; font-size: 9.5px; font-weight: 700; color: #8A96A8; padding: 6px 12px; border: 0; background: none; border-radius: 999px; cursor: pointer; } .sh-tg button.net.on { background: #1D63E0; color: #fff; } .sh-tg button.priv.on { background: #0B1E3B; color: #fff; }
.sh-info { background: #F7FAFF; border: 1px solid #E3E8F0; border-radius: 14px; padding: 12px 14px; font-size: 10.5px; color: #4B5768; line-height: 1.9; } .sh-info b { color: #0B1E3B; font-weight: 800; }
.pf-head2 .back-btn { position: static; width: auto; height: auto; border-radius: 0; background: none; border: 0; display: block; justify-content: flex-start; margin-bottom: 6px; }
.pe-accs .pf-row { border: 0; border-top: 1px dashed #E3E8F0; border-radius: 0; background: none; padding: 10px 0; margin: 0; box-shadow: none; }
.pe-accs .pf-two { margin: 0; } .pe-accs .pf-two .pf-row { border-top: 0; }
.pe-accs .pf-add { border-radius: 12px; margin: 8px 0 4px; }
/* ویرایش درجا کنار هر آیتم */
.pv-row .pv-rl { flex: 0 0 auto; min-width: 74px; }
.pv-row .pv-rv { flex: 1; } .pv-rv[dir="ltr"] { text-align: right; } .pv-rv.empty { color: #B4BECC; font-weight: 400; }
.pv-chips { flex: 1; display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.pv-pen { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid #E3E8F0; background: #fff; color: #4B5768; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.pv-pen-x { width: 28px; flex: none; }
.pv-row.editing { display: block; background: #F7FAFF; border-radius: 12px; padding: 10px; margin: 6px 0; border-top: 0; }
.pv-ed .pv-edh { margin-bottom: 6px; } .pv-edact { display: flex; gap: 8px; justify-content: flex-start; margin-top: 10px; align-items: center; }
.pv-btn1.sm, .pv-btn2.sm { flex: none; height: 34px; padding: 0 16px; font-size: 11.5px; }
.pv-del { margin-left: auto; border: 0; background: none; color: #C62828; font-family: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.pv-nohandle { margin-top: 10px; font-size: 11px; color: #92400E; background: #FFF7EC; border-radius: 10px; padding: 8px 10px; line-height: 1.8; }
.pv-btn1:disabled { opacity: .45; cursor: not-allowed; }
.pv-row.editing .tag-fixed { margin-top: 6px; }
[data-view="account"] .pf-in { width: 100%; } [data-view="account"] .field-label { display: block; margin-top: 14px; }

/* ===== اتصال صفحه‌های طراحی به داده (live-*.js) ===== */
.ui-host .lk-in { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font: inherit; color: #0B1E3B; padding: 0; flex: 1; }
.ui-host .lk-in::placeholder { color: #8A96A8; }
.ui-host .lk-ta { resize: vertical; min-height: 64px; line-height: 1.9; }
.ui-host .lk-sel { border-color: #1D63E0 !important; box-shadow: inset 0 0 0 1.5px #1D63E0 !important; }
.ui-host .lk-unsel { box-shadow: none !important; }
.ui-host .lk-on { background: #EAF1FD !important; border-color: #1D63E0 !important; color: #1D63E0 !important; }
.ui-host .lk-off { background: #FFFFFF !important; border-color: #E3E8F0 !important; color: #4B5768 !important; }
.ui-host .lk-dis { opacity: .45; pointer-events: none; }
.ui-host .lk-empty { font-size: 11.5px; color: #8A96A8; text-align: center; padding: 18px 8px; line-height: 1.9; }
.ui-host .lk-err { font-size: 10.5px; color: #C62828; margin-top: 6px; }
.lk-sheet-bg { position: fixed; inset: 0; background: rgba(11,30,59,.38); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.lk-sheet { width: 100%; max-width: 430px; max-height: 82vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 18px 20px calc(env(safe-area-inset-bottom, 0px) + 18px); font-family: "Vazirmatn", system-ui, sans-serif; color: #0B1E3B; box-sizing: border-box; }
.lk-sheet .rrow { display: flex; gap: 6px; margin: 0 0 6px; }
.lk-sheet .rchip { flex: 1; height: 36px; border-radius: 10px; border: 1px solid #E3E8F0; background: #fff; font: inherit; font-size: 12.5px; font-weight: 800; color: #0B1E3B; padding: 0; cursor: pointer; }
.lk-sheet .rchip.on { background: #EAF1FD; border-color: #1D63E0; color: #1D63E0; }
.lk-sheet h3 { margin: 0 0 12px; font-size: 15px; }
.lk-sheet .lk-opt { display: flex; align-items: center; gap: 10px; padding: 11px 4px; border-top: 1px solid #E3E8F0; cursor: pointer; font-size: 13px; }
.lk-sheet .lk-opt:first-of-type { border-top: 0; }
.lk-sheet .lk-row { display: flex; gap: 8px; margin-top: 14px; }
.lk-sheet input, .lk-sheet textarea, .lk-sheet select { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; border: 1px solid #E3E8F0; border-radius: 12px; padding: 10px 12px; margin-top: 6px; }
.lk-sheet .b1, .lk-sheet .b2 { flex: 1; height: 44px; border-radius: 12px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.lk-sheet .b1 { background: #1D63E0; color: #fff; border: 0; } .lk-sheet .b2 { background: #fff; color: #0B1E3B; border: 1.5px solid #E3E8F0; }
.lk-sheet .lk-check { width: 18px; height: 18px; accent-color: #1D63E0; }

/* ===== اصلاحات دور ۲ (۱۴۰۵/۰۷): تکمیل پروفایل، پیام روزانه، اشتراک‌گذاری، رمز ===== */
.ai-fill { display: flex; align-items: center; gap: 7px; width: 100%; justify-content: center; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #7C3AED; background: #F3EEFC; border: 1px dashed #C9B5F2; border-radius: 12px; padding: 9px 12px; margin: 0 0 12px; cursor: pointer; }
.ai-fill em { font-style: normal; font-size: 10px; font-weight: 800; background: #fff; color: #7C3AED; border-radius: 999px; padding: 2px 8px; }
.ob-photo-row { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid #E3E8F0; }
.ob-photo-row b { display: block; font-size: 13px; } .ob-photo-row span { font-size: 11px; color: var(--text-secondary); }
.ob-photo { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1.5px dashed #9DBCEB; background: #F2F7FF; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; overflow: hidden; }
.ob-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.name-sug { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #F7FAFF; border-radius: 12px; padding: 8px 10px; margin: 6px 0 2px; }
.name-sug .ns-t { width: 100%; font-size: 11px; color: var(--text-secondary); }
.name-sug .ns-b { font-family: inherit; font-size: 12px; font-weight: 700; color: #1D63E0; background: #fff; border: 1px solid #BFD5F7; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.name-sug .ns-b.on { background: #1D63E0; color: #fff; border-color: #1D63E0; }
.lim-label { display: flex; justify-content: space-between; align-items: center; } .lim-label em { font-style: normal; font-size: 11px; color: var(--text-muted); font-weight: 600; } .lim-label em.full { color: #D97706; }
.pick-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; font-family: inherit; font-size: 13px; color: var(--text-muted); background: #fff; border: 1px solid #E3E8F0; border-radius: 12px; padding: 11px 12px; cursor: pointer; text-align: right; }
.pick-btn.set { color: #0B1E3B; font-weight: 600; }
.day-tip { display: flex; align-items: flex-start; gap: 9px; background: #fff; border: 1px solid #E3E8F0; border-radius: 14px; padding: 10px 12px; margin: 2px 0 14px; }
.day-tip .dt-ic { flex: none; width: 28px; height: 28px; border-radius: 9px; background: #FDF0DE; color: #D97706; display: flex; align-items: center; justify-content: center; }
.day-tip p { flex: 1; margin: 0; font-size: 12.5px; line-height: 1.85; color: #0B1E3B; }
.day-tip .dt-go { flex: none; align-self: center; font-family: inherit; font-size: 11px; font-weight: 800; color: #1D63E0; background: #EAF1FC; border: 0; border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.home-head .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; } .home-head .avatar { overflow: hidden; padding: 0; }
.sh-row { cursor: pointer; } .sh-l > span { display: flex; flex-direction: column; gap: 2px; } .sh-l small { font-size: 10px; font-weight: 600; color: #8A96A8; }
.sh-chk { display: flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 11px; font-weight: 700; color: #1D63E0; }
.sh-chk input { width: 20px; height: 20px; accent-color: #1D63E0; margin: 0; }
.pw-wrap { position: relative; } .pw-wrap input { width: 100%; padding-left: 42px !important; box-sizing: border-box; }
.pw-eye { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: none; color: #8A96A8; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.pw-eye.on { color: #1D63E0; background: #EAF1FC; }
.lk-sheet .pw-wrap input { margin-top: 6px; } .lk-sheet .pw-eye { top: calc(50% + 3px); }
.pw-meter { font-size: 11px; color: #8A96A8; margin-top: 5px; } .pw-meter.ok { color: #0F8F72; }
.pv-photo { position: relative; display: block; margin: 0 auto 10px; border: 0; background: none; padding: 0; cursor: pointer; width: 80px; }
.pv-photo .pv-av { margin: 0; object-fit: cover; }
.pv-cam { position: absolute; bottom: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; background: #1D63E0; color: #fff; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.sec-act { width: 100%; margin-top: 8px; } .sec-act:disabled { opacity: .5; }
.lk-sheet button.lk-opt { width: 100%; background: none; border: 0; border-top: 1px solid #E3E8F0; font: inherit; font-size: 13px; color: #0B1E3B; text-align: right; }
.lk-sheet .lk-opt.lk-sel { color: #1D63E0; font-weight: 800; }
.lk-sheet .lk-radio { display: flex; gap: 10px; align-items: flex-start; padding: 11px 4px; border-top: 1px solid #E3E8F0; cursor: pointer; }
.lk-sheet .lk-radio input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #1D63E0; flex: none; }
.lk-sheet .lk-radio b { display: block; font-size: 13px; } .lk-sheet .lk-radio span { font-size: 11.5px; color: #4B5768; line-height: 1.8; }
.lk-sheet .lk-help { font-size: 11.5px; color: #4B5768; line-height: 1.9; margin: 0 0 8px; }
.lk-sheet .lk-warn { background: #FFF7E8; border: 1px solid #F5D9A8; color: #92400E; border-radius: 12px; padding: 10px 12px; font-size: 12px; line-height: 1.9; margin-top: 10px; }
.day-tip .dt-body { flex: 1; min-width: 0; } .day-tip .dt-h { display: block; font-size: 10.5px; font-weight: 800; color: #B45309; margin-bottom: 2px; } .day-tip .dt-body p { margin: 0; }
.sel-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; } .sel-wrap .sel-n { font-style: normal; font-size: 10.5px; color: var(--text-muted); }
form.search-bar { cursor: text; } form.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; color: var(--text-primary, #0B1E3B); }
form.search-bar input::-webkit-search-cancel-button { display: none; }
.fav-star{font-style:normal;color:#F59E0B;font-size:12px;margin-right:2px}

form.search-bar{position:relative}
.sb-filter{margin-right:auto;width:34px;height:34px;border:0;background:#F1F4FA;border-radius:10px;color:#4B5768;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer}
.sb-filter.on{background:#E8F0FD;color:#1D63E0}

.sb-x{width:22px;height:22px;border:0;border-radius:50%;background:#E3E8F0;color:#4B5768;font-size:15px;line-height:20px;padding:0;flex-shrink:0;cursor:pointer}
.sb-x[hidden]{display:none}
/* فونت یکسان جستجو (خانه و صفحه‌ی جستجو): ۱۳px، وزن ۵۰۰ */
form.search-bar input, .ui-host .lk-in.lksrch { font-size: 13px; font-weight: 500; }
form.search-bar input::placeholder, .ui-host .lk-in.lksrch::placeholder { font-size: 13px; font-weight: 500; color: #8A96A8; }

/* انتخاب تکی/چندتایی: فقط گزینه‌ی انتخاب‌شده رنگی است، بقیه خاموش */
.ui-host .opt.lk-sel { background: #EAF1FD !important; border-color: #1D63E0 !important; color: #1D63E0 !important; box-shadow: none !important; }
.ui-host .opt.lk-unsel { background: #fff !important; border-color: #E3E8F0 !important; color: #4B5768 !important; box-shadow: none !important; }
.ui-host .opt.lk-sel > span:first-child[style*="border-radius: 50%"] { border: 4px solid #1D63E0 !important; }
.ui-host .opt.lk-unsel > span:first-child[style*="border-radius: 50%"] { border: 2px solid #8A96A8 !important; }
.ui-host .opt.lk-sel > span:first-child[style*="border-radius: 5px"] { background: #1D63E0 !important; border-color: #1D63E0 !important; }
.ui-host .opt.lk-unsel > span:first-child[style*="border-radius: 5px"] { background: #fff !important; border-color: #C9D6EA !important; }
.ui-host .lk-datebox { position: relative; }
.ui-host .lk-datebox input[type=date] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ui-host .opt.lk-sel > span:first-child[style*="border-radius: 5px"] { display: flex; align-items: center; justify-content: center; }
.ui-host .opt.lk-sel > span:first-child[style*="border-radius: 5px"]::after { content: "✓"; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }

/* پروفایل من — دور اصلاح ۱۴۰۵/۰۷/۱۱ */
.pv-desc { font-size: 11.5px; line-height: 1.9; color: #4B5768; background: #F4F8FE; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; } .pv-desc span { color: #8A96A8; }
.pv-endo { margin-top: 10px; border-top: 1px solid #E3E8F0; padding-top: 10px; } .pv-endt { font-size: 12px; font-weight: 800; color: #0B1E3B; margin-bottom: 6px; }
.pv-endr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 5px 0; } .pv-endn { font-size: 10.5px; font-weight: 800; color: #0F8F72; } .pv-endby { font-size: 10px; color: #8A96A8; flex-basis: 100%; }
.pv-photodel { border: 0; background: transparent; color: #C62828; font-family: inherit; font-size: 11px; margin-top: 4px; cursor: pointer; }
.pv-otp { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; } .pv-otp .sm { align-self: flex-start; }
.qc-card { position: relative; } .qc-pen { position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #E3E8F0; background: #fff; color: #1D63E0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qc-rows { width: 100%; margin: 8px 0 4px; } .qc-row { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; padding: 5px 0; border-top: 1px solid #EEF1F5; } .qc-row span { color: #8A96A8; } .qc-row b { color: #0B1E3B; font-weight: 700; text-align: start; word-break: break-all; }
.qc-pick { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 12.5px; }
.more-btn { width: auto; min-width: 140px; margin: 4px auto; }

.intro-brand { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; z-index: 2; }
.intro-brand .wordmark.small { font-size: 22px; }
/* ===== بازطراحی اینترو/ورود مطابق طراحی (گرادیان برند، لوگوی وسط، چیپ زبان، موشن) ===== */
:root { --grad: linear-gradient(135deg, #1D63E0, #14B8B0); --ink: #0B1E3B; --body-c: #4B5768; --muted: #8A96A8; --line: #E3E8F0; }
.screen.intro, .screen.form-screen { background: linear-gradient(180deg, #fff 0%, #F3F8FD 55%, #E7F0FC 100%); padding: 22px 28px 30px; }
@keyframes lk-rtl-in { from { transform: translateX(-48px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lk-rtl-back { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }
.screen.slide-fwd { animation: lk-rtl-in .38s cubic-bezier(.2,.7,.2,1) both; }
.screen.slide-back { animation: lk-rtl-back .38s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .screen.slide-fwd, .screen.slide-back { animation: none; } }

.lk-top { display: flex; align-items: center; justify-content: space-between; margin: 0 -6px; }
.lk-top .skip-btn { position: static; padding: 0 16px; height: 40px; color: var(--muted); font-weight: 600; font-size: 14px; }
.lk-lang { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; }
.lk-body { display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.lk-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 6px; }
.lk-brand svg { display: block; }
.lk-wm { font-weight: 800; direction: ltr; letter-spacing: -.5px; line-height: 1.2; font-family: "Inter", "Vazirmatn", Arial, sans-serif; }
.lk-tag { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .4px; }
.lk-art { position: relative; width: 260px; margin: 22px auto 0; }
.lk-lines { position: absolute; inset: 0; }
.lk-center { position: absolute; width: 86px; height: 86px; border-radius: 50%; background: var(--grad); box-shadow: 0 10px 24px rgba(29,99,224,.28); padding: 3px; }
.lk-center img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.lk-av { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(15,35,65,.08); overflow: hidden; background: #fff; }
.lk-av.sm { width: 52px; height: 52px; }
.lk-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-nochat { position: absolute; left: 110px; top: 6px; width: 40px; height: 40px; }
.lk-pair-line { position: absolute; left: 80px; right: 80px; top: 107px; height: 3px; border-radius: 3px; background: var(--grad); }
.lk-pair-check { position: absolute; left: 118px; top: 96px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #14B8B0; display: flex; align-items: center; justify-content: center; }
.path3 { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 14px; }
.p3line { position: absolute; left: 36px; right: 36px; top: 48px; height: 3px; background: var(--grad); border-radius: 3px; opacity: .55; }
.pnode { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 80px; }
.pn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(15,35,65,.12); }
.pn-a { background: #1D63E0; } .pn-b { background: #fff; border-color: #1D63E0; } .pn-c { background: #14213D; }
.pl { font-size: 12px; color: var(--body-c); font-weight: 600; text-align: center; } .pl.mid { color: #1D63E0; font-weight: 700; }
.lk-bulb { position: absolute; left: 74px; top: 48px; width: 112px; height: 82px; border-radius: 22px 22px 22px 6px; background: #fff; box-shadow: 0 10px 24px rgba(15,35,65,.1); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.lk-tick { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #14B8B0; display: flex; align-items: center; justify-content: center; }
.screen.intro .intro-title { font-size: 23px; margin: 26px 0 8px; color: var(--ink); }
.screen.intro .intro-subtitle { font-size: 14.5px; color: var(--body-c); max-width: 310px; }
.screen.intro .intro-emphasis { color: var(--ink); }
.intro-title.t4 { font-size: 22px; line-height: 1.6; }
.intro-title.t4 span, .sub4 span { display: block; white-space: nowrap; }
.intro-footnote { font-size: 12px; color: var(--muted); }
.screen.intro .intro-footer { padding-top: 18px; gap: 18px; }
.screen.intro .dot { background: var(--line); width: 7px; height: 7px; }
.screen.intro .dot.active { width: 22px; border-radius: 999px; background: var(--grad); }

/* دکمه‌ی اصلی: گرادیان طراحی + حلقه‌ی دور دکمه (گرد، سفیدِ شیشه‌ای) */
.btn-primary, .btn-primary:hover:not(:disabled) { background: var(--grad); }
.btn-primary { box-shadow: 0 10px 22px rgba(29,99,224,.3), 0 0 0 5px rgba(29,99,224,.10); border-radius: 999px; }
.intro-nav .btn-primary { min-height: 56px; }

/* ورود */
.form-screen .form-wrap { margin-top: 56px; gap: 0; align-items: stretch; }
.form-screen .lk-brand { margin: 0 auto 22px; }
.form-title.c, .form-subtitle.c, .resend-line.c { text-align: center; }
.form-title.c { font-size: 21px; margin: 0 0 22px; color: var(--ink); }
.form-subtitle.c { margin: -10px 0 20px; }
.phone-prefix { display: flex; align-items: center; gap: 6px; background: none; border: 0; font-family: inherit; cursor: pointer; padding: 15px 12px; }
.phone-field { position: relative; }
.cc-menu { position: absolute; z-index: 20; margin-top: 4px; width: 100%; max-height: 260px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 30px rgba(15,35,65,.14); }
.cc-menu[hidden] { display: none; }
.form-wrap { position: relative; }
.cc-item { display: flex; justify-content: space-between; width: 100%; padding: 11px 16px; border: 0; background: none; font-family: inherit; font-size: 14px; cursor: pointer; }
.cc-item.on { background: #F2F7FF; } .cc-item:hover { background: #F6F9FE; }
.sms-line { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--body-c); font-size: 13px; margin: 6px 0 22px; }
.fe-fixed { min-height: 22px; margin: 12px 0 0 !important; text-align: center; line-height: 22px; }
.fe-fixed[hidden] { display: block !important; visibility: hidden; }
.otp-boxes { margin: 10px 0 0; }
.otp-box { aspect-ratio: auto; height: 64px; }
.dev-otp-hint[hidden] { display: none; }

/* ---- اینترو ۳: عکس واقعی در گره‌های مسیر ---- */
.pn { overflow: hidden; padding: 0; }
.pn img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.pn-a, .pn-b, .pn-c { background: #fff; }


/* ===== نوار بالای آنبوردینگ: بازگشت + لوگو + زبان — و وسط‌چین بودن متن‌ها ===== */
.ob-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px;direction:rtl;width:100%;flex:none}
.ob-top .lang-switch{position:static;right:auto;top:auto}
.ob-back{width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #E3EAF3;color:#14213D;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;font-family:inherit;text-decoration:none;flex:none}
.ob-top-sp{width:38px;height:38px;flex:none}
.ob-logo{display:flex;align-items:center;gap:7px}
.ob-wm{font-size:20px;font-weight:800;letter-spacing:-.4px;unicode-bidi:isolate}
.ob-top + .ob-steps{margin-top:0}
.ob-top + .ob-title{margin-top:6px}
.ob-screen .ob-title,.ob-screen .ob-sub,.ob-screen .list-title,.ob-screen .sec-sub,.ob-screen .why-note{text-align:center}
.ob-screen .concept{text-align:center;align-items:center}
.ob-screen .concept div{align-items:center}
.ob-screen .why-box{text-align:center}
.ob-screen .why-box ul{list-style:none;padding:0}
.ob-screen .counters{text-align:center}
.ob-screen .note-card{text-align:center;align-items:center;border-right:0;border-top:4px solid #1D63E0}
.ob-screen .sec-head{flex-wrap:wrap;gap:6px}
.benefits li.imp{border:1.5px solid #CFE0FB}
.imp-mark{flex:none;margin-inline-start:auto;width:24px;height:24px;border-radius:50%;background:#1D63E0;color:#fff;font-weight:800;font-size:15px;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(29,99,224,.3)}
.more-btn{background:none!important;border:0!important;box-shadow:none!important;color:#1D63E0!important;font-size:12.5px!important;font-weight:700!important;text-decoration:underline;padding:6px 10px!important}
.more-row{display:flex;justify-content:center}
.sec-act{margin-top:6px}

/* فلش یکدست دکمه‌های اصلی: متن، بعد فلش رو به چپ */
.btn-primary.ob-cta::after,.btn-primary[data-action="ob2-allow"]::after,.btn-primary[data-action="ob5-next"]::after,.btn-primary[data-action="ob6-add"]::after{content:"";display:inline-block;width:18px;height:18px;margin-inline-start:8px;vertical-align:-3px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat}

/* محرک‌های توجه برای کاربر تازه‌وارد (نقطه‌ی چشمک‌زن کنار بخش‌های مهم) */

/* «دیگر این صفحه را برای من نشان نده» آخر اینترو */
.intro-skip{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 10px;font-size:12.5px;color:#5B6B85;cursor:pointer;position:relative}
.intro-skip input{position:absolute;opacity:0;pointer-events:none}
.intro-skip .ck-box{width:18px;height:18px;border-radius:6px;border:1.8px solid #B9C7DB;background:#fff;display:inline-block;flex:none}
.intro-skip input:checked + .ck-box{background:#1D63E0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/80% no-repeat;border-color:#1D63E0}

/* ===== کارت ویزیت حرفه‌ای ===== */
.bc{position:relative;background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 18px 40px rgba(20,33,61,.14),0 2px 6px rgba(20,33,61,.05);border:1px solid #E6EDF7;margin:6px 0 14px}
.bc-hero{height:112px;background:linear-gradient(135deg,#1D63E0 0%,#14B8B0 100%);position:relative;display:flex;align-items:flex-start;justify-content:space-between;padding:14px 14px;direction:rtl}
.bc-hero::before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.12);top:-90px;left:-50px}
.bc-hero::after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.10);bottom:-70px;right:-20px}
.bc-brand{position:relative;z-index:1;color:#fff;font-weight:800;font-size:15px;letter-spacing:-.3px;margin:auto}
.bc-brand i{font-style:normal;color:#CFEFFF}
.bc-hero .qc-pen,.bc-hero .qc-sw{position:relative;z-index:2;top:auto;left:auto;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.4);color:#fff;backdrop-filter:blur(4px)}
.bc-hero .qc-sw{border-radius:999px;padding:0 10px;height:30px;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700}
.bc-hero .qc-sw-t{color:#fff}
.bc-body{padding:0 18px 20px;text-align:center;display:flex;flex-direction:column;align-items:center}
.bc-avw{position:relative;z-index:3;margin-top:-46px;padding:4px;background:#fff;border-radius:50%;box-shadow:0 6px 16px rgba(20,33,61,.18);display:flex}
.bc-avw .pv-av{margin:0}
.bc-name{font-size:20px;font-weight:800;color:#0B1E3B;margin-top:10px;letter-spacing:-.2px}
.bc-role{font-size:12.5px;color:#4B5768;margin-top:3px;font-weight:600}
.bc-handle{display:inline-block;margin-top:8px;padding:3px 12px;border-radius:999px;background:#EEF4FF;color:#1D63E0;font-size:11.5px;font-weight:700}
.bc-about{font-size:12px;line-height:1.9;color:#5B6B85;margin-top:12px;font-style:italic;max-width:290px}
.bc-grid{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;text-align:right}
.bc-t{display:flex;align-items:center;gap:9px;background:#F5F8FD;border:1px solid #E9EFF8;border-radius:14px;padding:9px 10px;min-width:0}
.bc-t.wide{grid-column:1/-1}
.bc-ti{flex:none;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(29,99,224,.14),rgba(20,184,176,.18));color:#1D63E0}
.bc-tx{display:flex;flex-direction:column;gap:1px;min-width:0}
.bc-tx span{font-size:9.5px;color:#8A96A8;font-weight:600}
.bc-tx b{font-size:12px;color:#0B1E3B;font-weight:700;overflow-wrap:anywhere;line-height:1.6}
.bc-qr{margin-top:18px;display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;padding-top:16px;border-top:1.5px dashed #DCE6F4}
.bc-qrbox{padding:10px;border-radius:18px;background:#fff;border:1px solid #E3EAF3;box-shadow:0 6px 16px rgba(20,33,61,.07)}
.bc-qrt{font-size:11px;color:#8A96A8}
.bc .qc-url{width:100%}
.bc.off{filter:grayscale(.5);opacity:.85}

[data-prof] .need-top{cursor:pointer}
.ui-host .lk-in:focus, .ui-host .lk-in:focus-visible { outline: 0 !important; box-shadow: none !important; }

/* نقطه‌ی توجه: دایره‌ی مرکزی کوچک + هاله‌ی بزرگ و پررنگ‌تر (بدون مانع شدن در دید و لمس) */
.nudge{position:relative;--nx:6px;--ny:6px}
.nudge::before,.nudge::after{content:"";position:absolute;top:var(--ny);inset-inline-end:var(--nx);border-radius:50%;pointer-events:none;z-index:3}
.nudge::before{width:7px;height:7px;margin:-3.5px;background:#F59E0B}
.nudge::after{width:26px;height:26px;margin:-13px;background:radial-gradient(circle,rgba(245,158,11,.55) 0%,rgba(245,158,11,.32) 55%,rgba(245,158,11,.12) 100%);animation:nudgeHalo 1.8s ease-out infinite}
.nav-plus.nudge{--nx:3px;--ny:3px}
.search-bar.nudge{--nx:auto;--ny:14px}
.search-bar.nudge::before,.search-bar.nudge::after{inset-inline-end:auto;inset-inline-start:14px}
@keyframes nudgeHalo{0%{transform:scale(.55);opacity:.95}70%{transform:scale(1.25);opacity:.45}100%{transform:scale(1.25);opacity:0}}
@media (prefers-reduced-motion:reduce){.nudge::after{animation:none}}

.pv-ok{display:block;margin:8px 0 0 auto;font-family:inherit;font-size:11px;font-weight:800;color:#1D63E0;background:#FFFFFF;border:1px solid #CFE0FB;border-radius:999px;padding:5px 14px;cursor:pointer;}

.pv-vf{font-size:9.5px;font-weight:800;color:#0F8F72;background:#DFF5F1;border-radius:999px;padding:2px 8px;margin-inline-start:6px;flex-shrink:0;}

.pf-count.top{margin:0 0 6px;}
.pf-tags.sm{gap:4px;margin-top:8px;}
.pf-tags.sm .chip{padding:3px 8px;font-size:11.5px;gap:4px;}
.pf-tags.sm .chip button{font-size:13px;}

.pv-vf{background:none;padding:0;display:inline-flex;}

.pv-vbtn{font-family:inherit;font-size:11px;font-weight:800;color:#1D63E0;background:#E6F0FF;border:0;border-radius:999px;padding:3px 10px;margin-inline-start:6px;flex-shrink:0;cursor:pointer;}

.qc-count{font-size:11.5px;font-weight:700;color:var(--text-muted);margin:8px 0 4px;}.qc-count.full{color:#B45309;}
.qc-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px;}
.qc-grid .qc-pick{padding:6px 0;font-size:12px;min-width:0;}

.pv-gear{position:absolute;top:12px;left:12px;width:36px;height:36px;border-radius:50%;background:#fff;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;color:var(--text);cursor:pointer;}

.qc-active{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:12px 14px;margin-bottom:12px;}
.qc-active.off{background:#FFF7E8;border-color:#F3D9A4;}
.qc-at{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}.qc-at b{font-size:13.5px;}.qc-at span{font-size:11.5px;color:var(--text-muted);line-height:1.7;}
.qc-tg{position:relative;width:46px;height:26px;flex:none;cursor:pointer;}.qc-tg input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer;z-index:2;}
.qc-tg i{position:absolute;inset:0;border-radius:999px;background:#CBD5E1;transition:.2s;}.qc-tg i:after{content:"";position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.25);}
.qc-tg input:checked+i{background:#0F8F72;}.qc-tg input:checked+i:after{right:23px;}
.pv-off{display:flex;align-items:center;gap:10px;background:#FFF7E8;border:1px solid #F3D9A4;border-radius:16px;padding:12px 14px;margin-bottom:12px;}
.pv-off div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}.pv-off b{font-size:13px;color:#92400E;}.pv-off span{font-size:11.5px;color:#92400E;line-height:1.7;}

.bc-qrbox{position:relative;overflow:hidden;}
.bc-qrbox.off svg{opacity:.35;}
.bc-wm{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900;color:rgba(180,35,24,.6);transform:rotate(-24deg);letter-spacing:1px;pointer-events:none;text-shadow:0 0 6px #fff;}

.toast.warn{background:#FFF4DB;color:#7A4A06;border:1px solid #F3D9A4;border-radius:14px;max-width:300px;width:max-content;text-align:center;line-height:1.9;font-weight:700;box-shadow:0 6px 18px rgba(120,70,0,.18);}

/* منوی پایین و دکمه‌ی «+»: همیشه بالای محتوای صفحه (هیچ بخشی از دکمه زیر متن‌ها نمی‌رود)؛ فقط z-index (بدون تغییر در جایگاه) */
.ui-host :has(> .navitem), .ui-host .bottom-nav { z-index: 40; }
.ui-host .navitem, .ui-host .nav-plus, .ui-host a[href="#/CreateMenu"] { z-index: 42; }

/* پنجره‌ی کارت ویزیت مخاطب: برچسب کوچک بالا، مقدار پایین */
.lk-sheet .lk-cr { padding: 10px 2px; border-top: 1px solid #E3E8F0; }
.lk-sheet .lk-cr:first-of-type { border-top: 0; }
.lk-sheet .lk-crl { font-size: 10.5px; color: #8A96A8; margin-bottom: 4px; }
.lk-sheet .lk-crv { text-align: right; font-size: 13px; font-weight: 700; color: #0B1E3B; line-height: 1.8; word-break: break-word; }
.lk-sheet .lk-crv.long { font-weight: 500; font-size: 12.5px; color: #4B5768; line-height: 2; }
.lk-sheet .lk-crv .lk-a { color: #1D63E0; text-decoration: none; font-weight: 700; font-family: inherit; }

/* ورود به «گسترش شبکه» از منوی + (بعد از آنبوردینگ): بدون نوار مرحله‌ها */
/* حداقل ۲۰ پیکسل فاصله بین آخرین بلوک و نوار پایین، حتی در صفحه‌های کوتاه (پیش‌تر margin-top:auto در ارتفاع کم صفر می‌شد و نوار می‌چسبید) */
.screen > :has(+ .bottom-nav) { margin-bottom: 20px; }
.home-screen .remind { margin-bottom: 20px; }


.lk-warn { display: flex; gap: 10px; align-items: flex-start; background: #FFF8E6; border: 1px solid #F5DDA0; border-radius: 14px; padding: 12px 12px; margin: 0 0 10px; }
.lk-warn-i { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #FDEBC0; color: #B45309; display: flex; align-items: center; justify-content: center; }
.lk-warn-t { font-size: 13.5px; font-weight: 800; color: #7A4A06; line-height: 1.7; }
.lk-warn-b { font-size: 12px; font-weight: 500; color: #8A5A12; line-height: 1.9; margin-top: 2px; }

.lk-undo { position: fixed; left: 50%; transform: translateX(-50%); bottom: 78px; z-index: 70; width: calc(100% - 28px); max-width: 400px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #0B1E3B; color: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 8px 24px rgba(11,30,59,.28); font-size: 12.5px; }
.lk-undo-b { display: flex; gap: 6px; flex-shrink: 0; }
.lk-undo button.lk-now { background: #fff; color: #0B1E3B; }
.lk-undo button { border: 0; background: #FFC857; color: #5A3A00; border-radius: 999px; padding: 7px 16px; font: inherit; font-weight: 800; cursor: pointer; }

/* ===== آنبوردینگ ۵ (وب): هر بخش یک کارت جدا با سربرگ رنگی و لیست اسکرول‌خور ===== */
#ob5-sections { display: flex; flex-direction: column; gap: 14px; text-align: right; }
#ob5-sections .sec { margin: 0; background: #fff; border: 1px solid var(--border, #E3EAF3); border-radius: 18px; padding: 14px 14px 12px; box-shadow: 0 6px 18px rgba(20,33,61,.06); --acc: #1D63E0; --acc-bg: #E6F0FF; }
#ob5-sections .sec-incoming { --acc: #0F8F72; --acc-bg: #E2F6F0; }
#ob5-sections .sec-can { --acc: #1D63E0; --acc-bg: #E6F0FF; }
#ob5-sections .sec-invite { --acc: #7A4FD6; --acc-bg: #EFE9FB; }
#ob5-sections .sec-head { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; flex-wrap: nowrap; }
#ob5-sections .sec-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--acc-bg); color: var(--acc); display: flex; align-items: center; justify-content: center; }
#ob5-sections .sec-ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#ob5-sections .sec-ttl b { font-size: 15px; color: var(--navy, #14213D); }
#ob5-sections .sec-ttl em { font-style: normal; font-size: 11.5px; color: var(--acc); font-weight: 700; }
#ob5-sections .sel-wrap { align-items: flex-end; }
#ob5-sections .sel-all { color: var(--acc); }
#ob5-sections .sec-sub { margin: 0 0 10px; text-align: right; font-size: 12px; line-height: 1.9; }
#ob5-sections .sec-list { max-height: 292px; overflow-y: auto; background: #F6F9FD; border-radius: 14px; padding: 6px; display: flex; flex-direction: column; gap: 4px; overscroll-behavior: contain; }
#ob5-sections .person { background: transparent; border: 0; border-radius: 11px; padding: 8px 8px; gap: 10px; opacity: .72; }
#ob5-sections .person.sel { background: #fff; opacity: 1; box-shadow: 0 1px 4px rgba(20,33,61,.07); }
#ob5-sections .person input[type=checkbox] { accent-color: var(--acc); }
#ob5-sections .person .av { width: 40px; height: 40px; }
#ob5-sections .av-img { overflow: hidden; padding: 0; background: #E3E8F0; }
#ob5-sections .av-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#ob5-sections .sec-act { margin-top: 10px; background: var(--acc-bg); color: var(--acc); border-color: transparent; font-weight: 700; }
#ob5-sections .is-done .sec-list { opacity: .85; }
#ob5-sections .done-mark { flex: none; font-size: 12px; }

/* ردیف‌های «راه‌های ارتباط با من» و بقیه‌ی بخش‌های پروفایل: یک ستون ثابت برای عمل (قلم یا تأیید)، بدون دایره‌های خالی */
.pv-row { min-height: 46px; }
.pv-row .pv-rv { text-align: start; }
.pv-row .pv-rv[dir="ltr"] { text-align: end; direction: ltr; unicode-bidi: plaintext; }
.pv-row .pv-rv.empty { font-size: 11px; color: #B4BECC; font-weight: 400; }
.pv-pen { width: 30px; height: 30px; border: 0; background: #F1F5FB; color: #5B6B85; transition: background .15s, color .15s; }
.pv-pen:hover { background: #E3EDFC; color: #1D63E0; }
.pv-row .pv-vf { flex: none; width: 30px; height: 30px; margin: 0; padding: 0; border-radius: 50%; background: #E2F6F0; display: inline-flex; align-items: center; justify-content: center; }

/* جای ثابت قلم/تیک: برچسب عرض ثابت، مقدار بقیه‌ی فضا را می‌گیرد، ستون عمل همیشه کنار چپ ردیف */
.pv-row:not(.editing) .pv-rl { flex: 0 0 104px; min-width: 0; }
.pv-row:not(.editing) .pv-rv, .pv-row:not(.editing) .pv-chips { flex: 1 1 0; min-width: 0; max-width: none; }
.pv-row:not(.editing) .pv-pen, .pv-row:not(.editing) .pv-vf { flex: 0 0 30px; margin-inline-start: auto; }
.pv-row:not(.editing) .pv-vbtn { flex: none; }
.nc-chips { display: flex; align-items: center; gap: 6px; }
.nc-kind { font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.nc-kind.need { background: #E6F0FF; color: #1D63E0; }
.nc-kind.opp { background: #E3F6EF; color: #0F8F72; }
.nc-kind.req { background: #F1E8FF; color: #6B2FD0; }
.nc-urg { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #FFF7EC; color: #92400E; }
.nc-time { margin-inline-start: auto; font-size: 11px; color: var(--text-muted); }
.nc2 .nc-title { font-size: 15px; font-weight: 800; text-align: right; line-height: 1.7; }
.nc-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.8; text-align: right; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-by { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-secondary); }
.nc-by .av-s { width: 26px; height: 26px; font-size: 12px; }
.nc-by b { color: var(--text); cursor: pointer; } .nc-by .av { cursor: pointer; }
.nc-meta { font-size: 11px; color: var(--text-muted); text-align: right; }
.nc-req .need-top .av, .nc-req .need-top b { cursor: pointer; }

/* داشبورد: کارت فشرده/کامل (انتخاب کاربر، در تنظیمات هم هست) */
.hc-bar{display:flex;align-items:center;gap:6px;margin:2px 2px 8px;font-size:11.5px;color:var(--text-secondary)}
.hc-bar button{border:1px solid var(--border);background:#fff;color:var(--text-secondary);border-radius:999px;padding:3px 12px;font:inherit;font-size:11.5px;cursor:pointer}
.hc-bar button.on{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff;font-weight:700}
#home-list{display:flex;flex-direction:column;gap:8px}
.nc2{gap:8px;padding:11px 13px}
.nc2 .nc-row{display:flex;align-items:center;gap:10px}
.nc2 .nc-main{flex:1;min-width:0;text-align:right}
.nc2 .nc-line{display:flex;align-items:center;gap:6px;min-width:0}
.nc2 .nc-title1{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.nc2 .nc-sub{font-size:11px;color:var(--text-muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nc2 .nc-name{color:var(--text-secondary);font-weight:700;cursor:pointer;text-decoration:none}
.nc2 .nc-name:hover{color:var(--brand-primary)}
.nc2 .hl-av{cursor:pointer;text-decoration:none;color:#fff}
.nc2 .av-s{width:32px;height:32px;font-size:13px}
.nc2 .nc-go{flex:none;padding:0 14px}
.nc2 .nc-btns{display:flex;gap:6px;flex:none}
.nc2 .nc-btns .btn{padding:0 12px}
.nc2 .nc-chips{display:flex;align-items:center;gap:6px}
.nc2 .nc-time{margin-right:auto;font-size:11px;color:var(--text-muted)}
.nc2 .nc-kind{flex:none;font-size:10px;font-weight:800;padding:2px 8px;border-radius:999px;white-space:nowrap}
.nc2 .nc-kind.need{background:#E6F0FF;color:#1D63E0}
.nc2 .nc-kind.opp{background:#E7F7EF;color:#0F8F72}
.nc2 .nc-kind.conn{background:#F1E9FD;color:#6D28D9}
.nc2 .nc-urg{flex:none;font-size:10px;font-weight:800;padding:2px 8px;border-radius:999px;background:#FFF1DD;color:#B45309}
.nc2 .nc-title{font-size:14.5px;font-weight:800;text-align:right;line-height:1.7}
.nc2 .nc-desc{font-size:12px;color:var(--text-secondary);line-height:1.9;text-align:right;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nc2 .nc-by{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--text-muted)}
.nc2 .nc-meta{font-size:11px;color:var(--text-muted);text-align:right}
.nc2.nc-conn{background:#F7F3FE;border-right:4px solid #8B5CF6}

/* داشبورد مینیمال */
.tabs{background:none;padding:0;border-radius:0;gap:22px;border-bottom:1px solid var(--border);margin-bottom:10px}
.tab{flex:none;background:none;border-radius:0;padding:9px 0;font-size:13.5px;color:var(--text-muted);position:relative;gap:5px}
.tab.on{background:none;box-shadow:none;color:var(--text);font-weight:700}
.tab.on::after{content:"";position:absolute;right:0;left:0;bottom:-1px;height:2px;background:var(--brand-primary);border-radius:2px}
.tab-n{background:none;color:var(--text-muted);padding:0;font-size:11px;font-weight:500}
.nc2.nc-conn{background:var(--surface);border-right:0}
.nc2 .nc-title1{display:block;font-size:13.5px;font-weight:700;color:var(--text);text-decoration:none;cursor:pointer}
.nc2 .nc-title1 .nc-urg{margin-inline-end:6px}
.nc2 .nc-chev{flex:none;color:#AEB8CB;display:flex;align-items:center;padding:6px 2px;cursor:pointer}
.nc2 .nc-chev:hover{color:var(--brand-primary)}
.nc2 .nc-desc{font-size:12px;color:var(--text-secondary);margin-top:4px}
.nc2 .nc-urg{display:inline-block;line-height:1.7;vertical-align:middle}

/* کارت آکاردئونی */
.nc-acc{cursor:pointer}
.nc2 .nc-chev{transition:transform .2s;pointer-events:none}
.nc-acc.open .nc-chev{transform:rotate(180deg)}
.nc-acc .nc-more{display:none;margin-top:10px;padding-top:10px;border-top:1px solid var(--border)}
.nc-acc.open .nc-more{display:block}
.nc-acc .nc-title1{cursor:pointer}
.nc-acc .nc-more .nc-desc{font-size:12.5px;color:var(--text-secondary);line-height:1.9;-webkit-line-clamp:unset;display:block}
.nc-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.nc-tag{font-size:11px;font-weight:600;background:#F1F5FB;color:var(--text);padding:3px 10px;border-radius:999px}
.nc-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.nc-detail{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:700;color:var(--brand-primary);text-decoration:none;cursor:pointer}
.nc-acc .nc-meta{font-size:11px;color:var(--text-muted)}
.net-top em{cursor:pointer;background:rgba(255,255,255,.55);padding:3px 10px;border-radius:999px;font-weight:700;opacity:1}
.nc-acc.open .nc2 .nc-title1,.nc-acc.open .nc-title1{white-space:normal}

/* ===== دستیار هوشمند (live-ai.js) ===== */
.lk-ai-fab { position: fixed; z-index: 45; bottom: 88px; inset-inline-end: max(12px, calc(50% - 203px)); width: 42px; height: 42px; opacity: .94; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #7C3AED 0%, #1D63E0 100%); box-shadow: 0 6px 18px rgba(80,60,200,.32); }
.lk-ai-fab:active { transform: scale(.94); }
.lk-ai-sheet { display: flex; flex-direction: column; height: min(82vh, 640px); }
.lk-ai-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.lk-ai-head h3 { margin: 0; }
.lk-ai-new { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: #1D63E0; cursor: pointer; padding: 4px 2px; }
.lk-ai-note { font-size: 10.5px; line-height: 1.8; color: #8A96A8; margin-bottom: 8px; }
.lk-ai-list { flex: 1; min-height: 120px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 2px 0 6px; }
.lk-ai-msg { max-width: 88%; border-radius: 16px; padding: 9px 12px; font-size: 13px; line-height: 1.95; word-break: break-word; }
.lk-ai-msg.u { align-self: flex-start; background: #1D63E0; color: #fff; border-end-start-radius: 4px; }
.lk-ai-msg.a { align-self: flex-end; background: #F2F5FA; color: #0B1E3B; border-end-end-radius: 4px; }
.lk-ai-msg.err { background: #FDECEC; color: #C62828; }
.lk-ai-txt { white-space: pre-wrap; }
.lk-ai-copy { display: block; margin-top: 4px; border: 0; background: none; padding: 0; font: inherit; font-size: 11px; font-weight: 700; color: #1D63E0; cursor: pointer; }
.lk-ai-sug { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 6px; }
.lk-ai-chip { border: 1px solid #D5E2F7; background: #F2F7FF; color: #1D63E0; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; text-align: start; }
.lk-ai-form { display: flex; align-items: flex-end; gap: 8px; padding-top: 4px; }
.lk-ai-form textarea { flex: 1; resize: none; margin: 0 !important; max-height: 96px; line-height: 1.8; }
.lk-ai-send { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: #1D63E0; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.lk-ai-send svg { transform: scaleX(-1); }
.lk-ai-send:disabled { opacity: .45; cursor: default; }
.lk-ai-typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.lk-ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: #8A96A8; animation: lk-ai-b 1s infinite ease-in-out; }
.lk-ai-typing span:nth-child(2) { animation-delay: .15s; } .lk-ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes lk-ai-b { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.lk-ai-acts { display: flex; gap: 14px; margin-top: 4px; }
.lk-ai-acts .lk-ai-copy { margin-top: 0; }
.lk-ai-mic { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #D5E2F7; background: #F2F7FF; color: #1D63E0; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.lk-ai-mic:disabled { opacity: .45; cursor: default; }
.lk-ai-form .lk-ai-rec { display: none; }
.lk-ai-form.rec > :not(.lk-ai-rec) { display: none; }
.lk-ai-form.rec .lk-ai-rec { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 44px; border-radius: 12px; background: #FDECEC; padding: 0 12px; }
.lk-ai-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #E53935; animation: lk-ai-pulse 1.1s infinite ease-in-out; }
.lk-ai-rect { flex: none; font-size: 13px; font-weight: 800; color: #C62828; min-width: 34px; direction: ltr; unicode-bidi: isolate; text-align: center; }
.lk-ai-rech { flex: 1; font-size: 11px; line-height: 1.7; color: #8A4B4B; }
.lk-ai-reca { flex: none; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: #8A96A8; cursor: pointer; padding: 6px 2px; }
.lk-ai-recs { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 0; background: #E53935; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
@keyframes lk-ai-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
