@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #060a10;
  --panel: rgba(14, 21, 30, .68);
  --card: rgba(255, 255, 255, .034);
  --line: rgba(255, 255, 255, .095);
  --ink: #eaf1f5;
  --muted: #8fa0b0;
  --mint: #34e0b8;
  --cyan: #35c8f5;
  --glow: rgba(52, 224, 184, .32);
  --danger: #ff7a7a;
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  overflow-x: hidden;
}

::selection { background: rgba(52, 224, 184, .28); }

.wrap { max-width: 940px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

/* پس‌زمینه */
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .62;
  pointer-events: none;
}
.orb {
  position: fixed;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .30;
  z-index: 0;
  pointer-events: none;
  animation: float 22s ease-in-out infinite;
}
.orb-a { background: #0f8f77; top: -240px; right: -160px; }
.orb-b { background: #0b5f9e; bottom: -300px; left: -200px; animation-delay: -9s; opacity: .24; }
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* سربرگ */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 10, 16, .62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.mark {
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  box-shadow: none;
}
.mark img {
  display: block;
  width: 38px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(52, 224, 184, .28));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.5; }
.brand-text strong { font-size: 15.5px; font-weight: 700; letter-spacing: -.2px; }
.brand-text small { color: var(--muted); font-size: 11.5px; }
.top-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #b9c8d4;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  border-radius: 999px;
  padding: 6px 13px;
  white-space: nowrap;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(52, 224, 184, .16);
  animation: pulse 2.4s ease-in-out infinite;
}
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-link {
  font-size: 12px;
  color: #c9fff2;
  text-decoration: none;
  border: 1px solid rgba(52, 224, 184, .28);
  background: rgba(15, 143, 119, .14);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.top-link:hover { background: rgba(15, 143, 119, .26); border-color: rgba(52, 224, 184, .5); }

/* قهرمان */
.hero {
  text-align: center;
  padding: 78px 0 46px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .2px;
  color: #a9f3e2;
  background: rgba(52, 224, 184, .08);
  border: 1px solid rgba(52, 224, 184, .22);
  border-radius: 999px;
  padding: 6px 15px;
  margin-bottom: 22px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.9vw, 34px);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
.grad { color: var(--mint); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad {
    background: linear-gradient(95deg, var(--mint), var(--cyan) 72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.lead {
  max-width: 620px;
  margin: 0 auto 26px;
  color: #a7b6c3;
  font-size: clamp(13.5px, 1.7vw, 16px);
  line-height: 2;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 30px;
}
.pill {
  font-size: 12.5px;
  color: #c3d0da;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  border-radius: 999px;
  padding: 7px 15px;
}

/* پنل فرم */
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .06) inset,
    0 30px 80px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
  overflow: hidden;
  margin-bottom: 40px;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), var(--cyan), transparent);
  background-size: 220% 100%;
  opacity: .6;
  animation: shimmer 7s linear infinite;
}

/* نوار مراحل */
.stepper {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex-wrap: wrap;
}
.stepper li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px 7px 9px;
  transition: all .25s ease;
}
.stepper li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  font-size: 11.5px;
}
.stepper li.is-active {
  color: #c9fff2;
  border-color: rgba(52, 224, 184, .45);
  background: rgba(52, 224, 184, .10);
  box-shadow: 0 0 26px rgba(52, 224, 184, .12);
}
.stepper li.is-active span {
  background: linear-gradient(180deg, var(--mint), #23c2a2);
  color: #04120f;
  font-weight: 700;
}
.stepper li.is-done {
  color: #9fe8d8;
  border-color: rgba(52, 224, 184, .26);
  background: rgba(52, 224, 184, .055);
}
.stepper li.is-done span {
  background: linear-gradient(180deg, var(--mint), #23c2a2);
  color: #04120f;
  font-weight: 700;
  font-size: 0;
}
.stepper li.is-done span::after {
  content: "✓";
  font-size: 12px;
  line-height: 1;
}

/* سر گام */
.step-head h2 {
  font-size: clamp(19px, 2.4vw, 24px);
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -.4px;
}
.step-head p { margin: 0 0 22px; font-size: 13.5px; }
.sub { font-size: 15px; margin: 4px 0 14px; font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

/* خانواده‌ها */
.families { display: flex; flex-direction: column; gap: 10px; }
.family {
  border: 1px solid rgba(52, 224, 184, .16);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .02);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.family:hover { border-color: rgba(52, 224, 184, .32); }
.family.is-open {
  border-color: rgba(52, 224, 184, .32);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
}
.family-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  border: 0;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
  color: inherit;
  background: linear-gradient(180deg, rgba(15, 143, 119, .30), rgba(15, 143, 119, .12));
  transition: background .2s ease;
}
.family-head:hover {
  background: linear-gradient(180deg, rgba(15, 143, 119, .40), rgba(15, 143, 119, .18));
}
.family.is-open .family-head {
  background: linear-gradient(180deg, rgba(15, 143, 119, .36), rgba(15, 143, 119, .15));
}
.family-title { display: flex; flex-direction: column; line-height: 1.6; }
.family-title strong {
  font-size: 14.5px;
  font-weight: 600;
}
.family-title small { color: var(--muted); font-size: 11.8px; }
.family-side { display: flex; align-items: center; gap: 10px; }
.badge {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: var(--muted);
  font-size: 11.5px;
  padding: 0 6px;
}
.badge.on {
  background: linear-gradient(180deg, var(--mint), #23c2a2);
  color: #04120f;
  font-weight: 700;
  animation: pop .26s ease;
}
.chev { color: var(--muted); transition: transform .26s ease; font-size: 11px; }
.family.is-open .chev { transform: rotate(180deg); }

.family-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .34s cubic-bezier(.4, 0, .2, 1);
}
.family.is-open .family-body { grid-template-rows: 1fr; }
.items-outer { overflow: hidden; min-height: 0; }
.items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px 12px 14px;
}
.family.is-open .item { animation: itemIn .36s cubic-bezier(.4, 0, .2, 1) backwards; }
.family.is-open .item:nth-child(1) { animation-delay: .03s; }
.family.is-open .item:nth-child(2) { animation-delay: .06s; }
.family.is-open .item:nth-child(3) { animation-delay: .09s; }
.family.is-open .item:nth-child(4) { animation-delay: .12s; }
.family.is-open .item:nth-child(5) { animation-delay: .15s; }
.family.is-open .item:nth-child(6) { animation-delay: .18s; }
.family.is-open .item:nth-child(7) { animation-delay: .21s; }
.family.is-open .item:nth-child(8) { animation-delay: .24s; }
.family.is-open .item:nth-child(9) { animation-delay: .27s; }
.family.is-open .item:nth-child(10) { animation-delay: .30s; }

.item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, .022);
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
}
.item:hover {
  border-color: rgba(52, 224, 184, .34);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.item input {
  margin: 6px 0 0;
  accent-color: var(--mint);
  width: 16px;
  height: 16px;
  flex: none;
}
.item-text { display: flex; flex-direction: column; line-height: 1.6; }
.item-text strong { font-size: 13.5px; font-weight: 600; }
.item-text small { color: var(--muted); font-size: 11.3px; }
.item.is-on {
  border-color: rgba(52, 224, 184, .62);
  background: linear-gradient(180deg, rgba(52, 224, 184, .16), rgba(52, 224, 184, .05));
  box-shadow: inset 0 0 0 1px rgba(52, 224, 184, .35), 0 8px 26px rgba(52, 224, 184, .10);
}

/* انتخاب اصلی */
.pick-main {
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed rgba(52, 224, 184, .35);
  border-radius: 15px;
  background: rgba(52, 224, 184, .04);
}
.pick-main h3 { font-size: 14.5px; margin: 0 0 2px; font-weight: 600; }
.pick-main p { margin: 0 0 12px; font-size: 12.3px; }

/* چیپ‌ها */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: inherit;
  font-size: 12.8px;
  color: #d5ece7;
  background: rgba(15, 143, 119, .14);
  border: 1px solid rgba(52, 224, 184, .20);
  border-radius: 999px;
  padding: 7px 15px;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s, transform .12s, box-shadow .15s;
}
.chip:hover {
  border-color: rgba(52, 224, 184, .45);
  background: rgba(15, 143, 119, .24);
  color: #eafff9;
}
.chip:active { transform: scale(.96); }
.chip.is-on {
  background: linear-gradient(180deg, var(--mint), #23c2a2);
  border-color: transparent;
  color: #04120f;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(52, 224, 184, .22);
}

/* فیلدها */
.field { margin-bottom: 18px; }
.field > label {
  display: block;
  position: relative;
  font-size: 12.8px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-inline-start: 12px;
  color: #e2eef3;
}
.field > label::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--mint), var(--cyan));
  opacity: .85;
}
.field label em { color: var(--mint); font-style: normal; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* پرسش‌های تخصصی */
.pro {
  margin: 8px 0 4px;
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  padding: 0;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.pro:hover { border-color: rgba(255, 255, 255, .22); }
.pro[open] { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .03); }
.pro summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(180deg, rgba(15, 143, 119, .30), rgba(15, 143, 119, .12));
  transition: background .25s ease;
}
.pro[open] summary {
  background: rgba(255, 255, 255, .035);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.pro summary::-webkit-details-marker { display: none; }
.pro summary::after {
  content: "▾";
  color: var(--muted);
  font-size: 11px;
  transition: transform .25s ease;
}
.pro[open] summary::after { transform: rotate(180deg); }
.pro-title { font-size: 13.4px; font-weight: 600; }
.pro-title em { color: var(--muted); font-style: normal; font-weight: 400; font-size: 11.3px; margin-inline-start: 4px; }
.pro-hint { font-size: 11.5px; color: var(--muted); margin-inline-start: auto; }
.pro-body { padding: 6px 16px 14px; }

input[type="text"], input[type="tel"], input[type="email"], textarea, select {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: rgba(15, 143, 119, .08);
  border: 1px solid rgba(52, 224, 184, .16);
  border-radius: 12px;
  padding: 11px 13px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
input::placeholder, textarea::placeholder { color: #6d7d8c; }
textarea { resize: vertical; min-height: 122px; line-height: 1.9; }
select {
  appearance: none;
  -webkit-appearance: none;
  padding-left: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2334e0b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
}
select option { background: #0b1219; color: var(--ink); }
input:focus, textarea:focus, select:focus {
  outline: 0;
  border-color: rgba(52, 224, 184, .6);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 3px rgba(52, 224, 184, .13), 0 0 30px rgba(52, 224, 184, .07);
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 12px;
}

.err { color: var(--danger); font-size: 12.3px; }

/* دکمه‌ها */
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}
.actions .hint { font-size: 12.3px; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  padding: 11px 26px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, opacity .16s;
  text-decoration: none;
}
.btn.primary {
  background: linear-gradient(180deg, var(--mint), #22bfa0);
  color: #04120f;
  box-shadow: 0 10px 26px rgba(52, 224, 184, .20);
}
.btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(52, 224, 184, .30);
}
.btn.primary:disabled { opacity: .6; cursor: default; }
.btn.ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line);
  color: #d5e2ea;
}
.btn.ghost:hover { border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.btn.big { padding: 14px 34px; font-size: 15px; border-radius: 14px; }

/* بازبینی */
.review { display: flex; flex-direction: column; gap: 14px; }
.rev-block {
  border: 1px solid rgba(52, 224, 184, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .02);
  overflow: hidden;
}
.rev-head {
  padding: 15px 16px;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(15, 143, 119, .30), rgba(15, 143, 119, .12));
  border-bottom: 1px solid rgba(52, 224, 184, .12);
}
.rev-body { padding: 4px 16px; }
.rev-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .07);
  font-size: 13.3px;
}
.rev-row:last-child { border-bottom: 0; }
.rev-k { color: var(--muted); font-size: 12.3px; }
.rev-v { white-space: pre-wrap; word-break: break-word; }

/* پایان */
.done { text-align: center; padding: 34px 10px 20px; }
.tick {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(52, 224, 184, .22), rgba(52, 224, 184, .06));
  border: 1px solid rgba(52, 224, 184, .4);
  color: var(--mint);
  font-size: 28px;
  box-shadow: 0 0 40px rgba(52, 224, 184, .22);
}
.done h2 { margin: 0 0 6px; font-size: 21px; }
.code-box {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin: 20px 0 12px;
  padding: 12px 30px;
  border: 1px dashed rgba(52, 224, 184, .4);
  border-radius: 14px;
  background: rgba(52, 224, 184, .05);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}
.code-box:hover { background: rgba(52, 224, 184, .10); border-color: rgba(52, 224, 184, .65); }
.code-box:active { transform: scale(.98); }
.code-box span { font-size: 11.3px; color: var(--muted); }
.code-box strong { font-size: 19px; letter-spacing: 1.5px; color: var(--mint); }
.note-strong {
  max-width: 420px;
  margin: 0 auto 6px;
  font-size: 12.3px;
  line-height: 1.9;
  color: #ffd98a;
}

/* پانویس */
.bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 18px 0 44px;
  font-size: 12.3px;
  color: var(--muted);
}
.bottom p { margin: 0; }

/* پنل درخواست‌ها */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 14px;
}
.stat { display: flex; gap: 20px; font-size: 12.5px; color: var(--muted); }
.stat b { color: var(--ink); font-size: 16px; }
.list { display: flex; flex-direction: column; gap: 12px; }
.sub-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  overflow: hidden;
  transition: border-color .2s ease;
}
.sub-card:hover { border-color: rgba(255, 255, 255, .18); }
.sub-card.is-open { border-color: rgba(52, 224, 184, .3); }
.sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
}
.sub-head:hover { background: rgba(255, 255, 255, .025); }
.sub-meta { display: flex; flex-direction: column; gap: 2px; line-height: 1.6; }
.sub-meta strong { font-size: 13.8px; font-weight: 600; }
.sub-meta small { color: var(--muted); font-size: 11.8px; }
.sub-side {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.8px;
  color: #a9f3e2;
  border: 1px solid rgba(52, 224, 184, .25);
  background: rgba(52, 224, 184, .07);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}
.sub-body { display: none; padding: 0 16px 16px; border-top: 1px solid var(--line); }
.sub-card.is-open .sub-body { display: block; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; }

/* صندوق درخواست‌ها */
.inbox-main { padding-bottom: 60px; }
.inbox-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 16px;
}
.tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.tab {
  font-family: inherit;
  font-size: 12.5px;
  color: #b9c8d4;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  transition: all .16s ease;
}
.tab b { font-weight: 700; color: var(--mint); margin-inline-start: 4px; }
.tab:hover { border-color: rgba(52, 224, 184, .35); }
.tab.is-on {
  background: rgba(52, 224, 184, .12);
  border-color: rgba(52, 224, 184, .45);
  color: #d6fff4;
}
.inbox-tools { display: flex; gap: 8px; align-items: center; }
.inbox-tools input {
  width: 220px;
  font-size: 13px;
  padding: 9px 13px;
  border-radius: 999px;
}
.btn.small { padding: 7px 14px; font-size: 12.5px; border-radius: 10px; }

.lead {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
  padding: 14px 15px;
  margin-bottom: 12px;
  transition: border-color .2s ease, background .2s ease;
}
.lead.is-new {
  border-color: rgba(52, 224, 184, .32);
  background: linear-gradient(180deg, rgba(52, 224, 184, .07), rgba(255, 255, 255, .02));
}
.lead-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lead-who { display: flex; flex-direction: column; gap: 2px; }
.lead-who strong { font-size: 15px; font-weight: 700; }
.lead-sub { font-size: 12px; color: var(--muted); }
.pill {
  font-size: 11.5px;
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.st-new { color: #04241d; background: var(--mint); }
.st-called { color: #05202b; background: #5fd3f5; }
.st-quoted { color: #2a1a00; background: #f5c451; }
.st-won { color: #06251a; background: #5ce39b; }
.st-rejected { color: #d7dee5; background: rgba(255, 255, 255, .10); }
.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted);
}
.lead-time { color: #cfdae3; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lead-body { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .08); }
.lead-status { margin-top: 12px; }
.lead-status .rev-k { display: block; margin-bottom: 6px; }
.status-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.chip.small { font-size: 11.8px; padding: 5px 12px; }
.lead-note { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.lead-note textarea { min-height: 64px; font-size: 13px; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; }

/* پیگیری و گفت‌وگو */
.track-main { padding: 40px 0 60px; }
.track-panel { max-width: 430px; margin: 0 auto; }
.track-panel h1 { font-size: 20px; margin: 0 0 4px; font-weight: 700; }
.track-panel p { margin: 0 0 20px; font-size: 13px; }

body.chat-page {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-top {
  flex: none;
  position: relative;
  background: rgba(6, 10, 16, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.chat-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 11px;
  pointer-events: none;
}
.chat-brand img {
  width: 60px;
  height: auto;
  display: block;
}
.chat-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  text-align: right;
}
.chat-brand-text strong {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: #16110b;
}
.chat-brand-text small {
  font-size: 14px;
  font-weight: 500;
  color: #3a2a18;
}
.chat-top-in {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  width: 100%;
  height: 88px;
}
.chat-who {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 30%;
}
.chat-who strong { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-who .small { font-size: 11.5px; }
.chat-top .pill { margin-inline-start: auto; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 18px 8px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-empty {
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  padding: 30px;
}
.chat-empty strong { color: var(--ink); font-size: 15px; }

.msg-row { display: flex; }
.msg-row.is-mine { justify-content: flex-start; }
.msg-row.is-them { justify-content: flex-end; }
.msg {
  max-width: min(72%, 560px);
  border-radius: 16px;
  padding: 9px 13px 7px;
  font-size: 13.5px;
  line-height: 1.85;
  position: relative;
  word-break: break-word;
}
.is-mine .msg {
  background: linear-gradient(180deg, rgba(52, 224, 184, .92), rgba(35, 194, 162, .92));
  color: #04211b;
  border-end-start-radius: 6px;
}
.is-them .msg {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--ink);
  border-end-end-radius: 6px;
}
.msg-text { margin: 0; white-space: pre-wrap; }
.msg-time {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  opacity: .6;
  text-align: left;
}
.msg-img { display: block; max-width: 220px; border-radius: 10px; margin-top: 6px; }
.msg-file {
  display: inline-block;
  margin-top: 6px;
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(0, 0, 0, .18);
  color: inherit;
  text-decoration: none;
  font-size: 12.5px;
}

.composer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: rgba(6, 10, 16, .92);
  backdrop-filter: blur(12px);
}
.composer input[type="text"] {
  flex: 1;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13.5px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(52, 224, 184, .22);
  background: rgba(15, 143, 119, .12);
  color: var(--mint);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: rgba(15, 143, 119, .22); border-color: rgba(52, 224, 184, .4); }

/* پیام‌رسان پنل */
body.messenger {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ms-top {
  flex: none;
  background: rgba(6, 10, 16, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.ms-top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  max-width: 1120px;
  margin: 0 auto;
}
.ms-top-actions { display: flex; gap: 8px; }
.ms-wrap {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 330px 1fr;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  border-inline: 1px solid rgba(255, 255, 255, .06);
}
.ms-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-inline-end: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .015);
}
.ms-search { padding: 10px; }
.ms-search input {
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12.5px;
}
.ms-threads { flex: 1; overflow-y: auto; }
.thread {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  cursor: pointer;
  text-align: right;
  color: inherit;
  font-family: inherit;
  transition: background .15s;
}
.thread:hover { background: rgba(255, 255, 255, .04); }
.thread.is-on { background: rgba(15, 143, 119, .16); }
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex: none;
  background: linear-gradient(180deg, #159b86, #0c6f60);
}
.thread-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.thread-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.thread-top strong {
  font-size: 13.2px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thread-time { font-size: 10.5px; color: var(--muted); flex: none; }
.thread-bottom { display: flex; align-items: center; gap: 6px; }
.thread-snip {
  font-size: 11.3px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.thread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.ms-empty { text-align: center; color: var(--muted); padding: 40px 16px; font-size: 13px; }
.ms-chat { display: flex; flex-direction: column; min-height: 0; }
.ms-placeholder {
  margin: auto;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  padding: 30px;
}
.ms-placeholder strong { color: var(--ink); font-size: 15px; }
.ms-chat-inner { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ms-chat-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .02);
}
.ms-chat-who { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; flex: 1; }
.ms-chat-who strong { font-size: 13.5px; }
.ms-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ms-nomsg { color: var(--muted); text-align: center; margin: auto; font-size: 13px; }
.ms-back { display: none; }

@media (max-width: 860px) {
  .ms-wrap { grid-template-columns: 1fr; border-inline: 0; }
  .ms-chat { display: none; }
  body.is-chatting .ms-list { display: none; }
  body.is-chatting .ms-chat { display: flex; }
  .ms-back { display: grid; }
}

@media (max-width: 720px) {
  .chat-logo { display: none; }
  .chat-track { display: none; }
  .chat-brand { display: none; }
  .chat-top-in { height: 64px; padding: 0 12px; }
}

/* چت روشن مشتری */
.chat-avatar { background: linear-gradient(180deg, #17b39f, #0e9a88); }
body.chat-page.light {
  background:
    radial-gradient(900px 480px at 92% -10%, #d8f2ea, transparent 62%),
    radial-gradient(760px 520px at -8% 108%, #e3eef7, transparent 60%),
    #f5f9f8;
  color: #10231f;
}
body.chat-page.light .chat-top {
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(16, 60, 50, .09);
}
body.chat-page.light .chat-who strong { color: #0d2a24; }
body.chat-page.light .chat-who .small { color: #6b8a82; }
body.chat-page.light .is-them .msg {
  background: #ffffff;
  color: #17322b;
  border: 1px solid rgba(16, 60, 50, .08);
  box-shadow: 0 2px 10px rgba(16, 60, 50, .06);
}
body.chat-page.light .is-mine .msg {
  background: linear-gradient(180deg, #17b39f, #0e9a88);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(14, 154, 136, .25);
}
body.chat-page.light .msg-time { opacity: .55; }
body.chat-page.light .composer {
  background: rgba(255, 255, 255, .92);
  border-top: 1px solid rgba(16, 60, 50, .09);
}
body.chat-page.light .composer input[type="text"] {
  background: #fff;
  color: #10231f;
  border: 1px solid rgba(16, 60, 50, .14);
}
body.chat-page.light .icon-btn {
  background: #e6f5f1;
  border-color: rgba(14, 154, 136, .28);
  color: #0e9a88;
}
body.chat-page.light .chat-empty { color: #5b7a72; }
body.chat-page.light .chat-empty strong { color: #12332b; }
body.chat-page.light .top-link {
  color: #0d6b5d;
  border-color: rgba(14, 154, 136, .3);
  background: rgba(14, 154, 136, .08);
}

/* چت مشتری — تم ایتا */
body.chat-page.eitaa {
  background-color: #e9f4e6;
  background-image:
    url("assets/pattern.svg"),
    linear-gradient(160deg, #ecf7e7 0%, #e3f1ea 52%, #f2f7e2 100%);
  background-size: 260px 260px, 100% 100%;
  background-repeat: repeat, no-repeat;
  color: #16302a;
}
body.chat-page.eitaa .chat-top {
  background: linear-gradient(180deg, #ff8a2b, #f26a0c);
  border-bottom: 0;
  box-shadow: 0 6px 18px rgba(242, 106, 12, .25);
}
body.chat-page.eitaa .chat-top-in { gap: 9px; }
body.chat-page.eitaa .chat-who strong { color: #ffffff; }
body.chat-page.eitaa .chat-who .small { color: rgba(255, 255, 255, .88); }
body.chat-page.eitaa .chat-avatar {
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .5);
  color: #ffffff;
}
body.chat-page.eitaa .search-btn { color: #ffffff; }
body.chat-page.eitaa .top-link.danger {
  color: #ffffff;
  background: #d32f2f;
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  box-shadow: 0 8px 18px rgba(160, 25, 20, .28);
}
body.chat-page.eitaa .top-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .16);
}
body.chat-page.eitaa .search-btn {
  width: 44px;
  height: 44px;
  color: #ffffff;
}
body.chat-page.eitaa .search-btn svg { width: 23px; height: 23px; }
body.chat-page.eitaa .is-them .msg {
  background: #ffffff;
  color: #17322b;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(20, 50, 40, .10);
}
body.chat-page.eitaa .is-mine .msg {
  background: #d9f3e2;
  color: #123227;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(20, 50, 40, .10);
}
body.chat-page.eitaa .msg-time { opacity: .55; font-size: 10px; }
body.chat-page.eitaa .composer {
  background: #ffffff;
  border-top: 1px solid rgba(20, 60, 45, .08);
  gap: 6px;
}
body.chat-page.eitaa .composer input[type="text"] {
  background: #f3f7f4;
  border: 1px solid rgba(20, 60, 45, .1);
  color: #16302a;
}
body.chat-page.eitaa .icon-btn.ghost {
  background: transparent;
  border: 0;
  color: #5e7b72;
  width: 38px;
  height: 38px;
}
body.chat-page.eitaa .icon-btn.ghost:hover { background: rgba(20, 90, 70, .07); color: #0e9a88; }
.send-btn {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(180deg, #ff8a2b, #f26a0c);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(242, 106, 12, .28);
  transition: transform .12s ease, box-shadow .15s ease;
}
.send-btn:active { transform: scale(.94); }
.icon-btn.mic.is-rec {
  background: rgba(230, 60, 60, .12);
  color: #d93636;
  animation: pulse 1.1s ease-in-out infinite;
}
.chat-search {
  display: flex;
  align-items: center;
  width: 0;
  overflow: hidden;
  opacity: 0;
  margin-inline-start: auto;
  transition: width .3s cubic-bezier(.4, 0, .2, 1), opacity .22s ease, margin .3s ease;
}
.chat-search.is-open { width: 168px; opacity: 1; }
.chat-search input {
  width: 100%;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12.5px;
  border: 0;
  background: #fff;
  color: #16302a;
  outline: none;
}
.chat-day {
  display: flex;
  justify-content: center;
  margin: 10px 0 4px;
}
.chat-day span {
  background: rgba(255, 255, 255, .85);
  color: #4d6b62;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 11px;
  box-shadow: 0 1px 3px rgba(20, 50, 40, .08);
}
.msg-del {
  position: absolute;
  top: 2px;
  inset-inline-start: 4px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .06);
  color: #7b8f88;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s;
}
.msg:hover .msg-del { opacity: 1; }
.msg { position: relative; }
.msg-audio { display: block; width: 214px; margin-top: 4px; }
.composer-wrap { position: relative; flex: none; }
.emoji-panel {
  position: absolute;
  bottom: calc(100% + 8px);
  inset-inline-start: 8px;
  width: min(360px, calc(100vw - 24px));
  max-height: 44vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(20, 50, 40, .20);
  z-index: 40;
}
.emoji-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.emoji-panel[hidden] { display: none; }
.emoji-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(20, 60, 45, .08);
  flex: none;
  background: #fff;
}
.emoji-tab {
  border: 0;
  background: #f1f7f2;
  color: #4c6a61;
  font-family: inherit;
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.emoji-tab.is-on { background: #17b39f; color: #fff; }
.emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
}
.emoji {
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  border-radius: 8px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Vazirmatn", sans-serif;
}
.emoji:hover { background: #eef6f0; }
body.chat-page.eitaa .msg-row.is-mine .msg { border-end-start-radius: 5px; }
body.chat-page.eitaa .msg-row.is-them .msg { border-end-end-radius: 5px; }
body.chat-page.eitaa .chat-empty { color: #5b7a72; }
body.chat-page.eitaa .chat-empty strong { color: #12332b; }

/* صفحهٔ ورود مشتری — تم روشن */
body.eitaa-track {
  background-color: #e9f4e6;
  background-image:
    url("assets/pattern.svg"),
    linear-gradient(160deg, #ecf7e7 0%, #e3f1ea 52%, #f2f7e2 100%);
  background-size: 260px 260px, 100% 100%;
  background-repeat: repeat, no-repeat;
  color: #16302a;
}
body.eitaa-track .top.track-top {
  background: linear-gradient(180deg, #ff8a2b, #f26a0c);
  border-bottom: 0;
  box-shadow: 0 6px 18px rgba(242, 106, 12, .25);
}
body.eitaa-track .track-top .brand { text-decoration: none; }
body.eitaa-track .track-top .mark {
  background: transparent;
  border: 0;
  box-shadow: none;
  width: auto;
  height: auto;
}
body.eitaa-track .track-top .top-in {
  height: 88px;
  padding-top: 0;
  padding-bottom: 0;
}
body.eitaa-track .track-top .mark img {
  width: 60px;
  height: auto;
  filter: none;
}
body.eitaa-track .track-top .brand-text strong {
  color: #16110b;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.2px;
}
body.eitaa-track .track-top .brand-text small {
  color: #3a2a18;
  font-size: 14px;
  font-weight: 500;
}
body.eitaa-track .track-top .top-link {
  color: #ffffff;
  background: rgba(20, 20, 20, .22);
  border-color: rgba(255, 255, 255, .4);
}
body.eitaa-track .top {
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(20, 60, 45, .08);
}
body.eitaa-track .brand-text strong { color: #0e2a23; }
body.eitaa-track .brand-text small { color: #708c83; }
body.eitaa-track .top-note {
  color: #c75a12;
  border-color: rgba(255, 122, 26, .35);
  background: rgba(255, 122, 26, .09);
}
body.eitaa-track .panel {
  background: #ffffff;
  border: 1px solid rgba(20, 60, 45, .08);
  box-shadow: 0 18px 44px rgba(20, 60, 45, .10);
  backdrop-filter: none;
}
body.eitaa-track .panel::before { opacity: .9; background: linear-gradient(90deg, transparent, #ff8a2b, transparent); }
body.eitaa-track .track-panel h1 { color: #0e2a23; }
body.eitaa-track .muted { color: #6d8a81; }
body.eitaa-track .field > label { color: #234a3f; }
body.eitaa-track .field > label::before { background: linear-gradient(180deg, #ff8a2b, #f26a0c); }
body.eitaa-track input[type="text"],
body.eitaa-track input[type="tel"] {
  background: #f3f7f4;
  border: 1px solid rgba(20, 60, 45, .12);
  color: #16302a;
}
body.eitaa-track input::placeholder { color: #9db3ab; }
body.eitaa-track .btn.primary {
  background: linear-gradient(180deg, #ff8a2b, #f26a0c);
  color: #fff;
  box-shadow: 0 10px 24px rgba(242, 106, 12, .28);
}

/* پنل ادمین — تم روشن ایتا */
body.eitaa-admin {
  background-color: #e9f4e6;
  background-image:
    url("assets/pattern.svg"),
    linear-gradient(160deg, #ecf7e7 0%, #e3f1ea 52%, #f2f7e2 100%);
  background-size: 260px 260px, 100% 100%;
  background-repeat: repeat, no-repeat;
  color: #16302a;
}
.aa-top {
  flex: none;
  background: linear-gradient(180deg, #ff8a2b, #f26a0c);
  box-shadow: 0 6px 18px rgba(242, 106, 12, .25);
}
.aa-top-in {
  position: relative;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 18px;
}
.aa-brand { display: flex; align-items: center; gap: 11px; }
.aa-brand img { width: 60px; height: auto; display: block; }
.aa-brand-text { display: flex; flex-direction: column; line-height: 1.5; text-align: right; }
.aa-brand-text strong { font-size: 23px; font-weight: 700; letter-spacing: -.2px; color: #16110b; }
.aa-brand-text small { font-size: 14px; font-weight: 500; color: #3a2a18; }
.aa-actions { position: absolute; left: 18px; display: flex; gap: 8px; }
.aa-top .top-link { color: #fff; background: rgba(20, 20, 20, .2); border-color: rgba(255, 255, 255, .4); }
.aa-top .top-link.danger { background: #d32f2f; border-color: transparent; }

body.eitaa-admin .ms-wrap {
  border-inline: 0;
  max-width: none;
  margin: 0;
}
body.eitaa-admin .ms-placeholder { display: none; }
body.eitaa-admin .ms-list {
  background: #ffffff;
  border-inline-end: 1px solid rgba(20, 60, 45, .08);
}
body.eitaa-admin .ms-search input {
  background: #f3f7f4;
  border: 1px solid rgba(20, 60, 45, .1);
  color: #16302a;
}
body.eitaa-admin .thread {
  border-bottom: 1px solid rgba(20, 60, 45, .06);
  color: #16302a;
}
body.eitaa-admin .thread:hover { background: #f4f9f5; }
body.eitaa-admin .thread.is-on { background: #e4f4ee; }
body.eitaa-admin .thread-time,
body.eitaa-admin .thread-snip { color: #7b948b; }
body.eitaa-admin .ms-placeholder { color: #6d8a81; }
body.eitaa-admin .ms-placeholder strong { color: #12332b; }
body.eitaa-admin .ms-chat-head {
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 60, 45, .08);
}
body.eitaa-admin .ms-chat-who strong { color: #12332b; }
body.eitaa-admin .ms-chat-who .small { color: #6d8a81; }
body.eitaa-admin .ms-messages { background: transparent; }
body.eitaa-admin .is-them .msg {
  background: #ffffff;
  color: #17322b;
  box-shadow: 0 1px 3px rgba(20, 50, 40, .10);
  border-radius: 14px;
}
body.eitaa-admin .is-mine .msg {
  background: #d9f3e2;
  color: #123227;
  box-shadow: 0 1px 3px rgba(20, 50, 40, .10);
  border-radius: 14px;
}
body.eitaa-admin .msg-time { opacity: .55; }
body.eitaa-admin .composer {
  background: #ffffff;
  border-top: 1px solid rgba(20, 60, 45, .08);
}
body.eitaa-admin .composer input[type="text"] {
  background: #f3f7f4;
  border: 1px solid rgba(20, 60, 45, .1);
  color: #16302a;
}
body.eitaa-admin .icon-btn.ghost { background: transparent; border: 0; color: #5e7b72; width: 38px; height: 38px; }
body.eitaa-admin .icon-btn.ghost:hover { background: rgba(20, 90, 70, .07); color: #0e9a88; }
body.eitaa-admin .search-btn { color: #4c6a61; }
body.eitaa-admin .ms-nomsg { color: #6d8a81; }
body.eitaa-admin .chat-search input { border: 0; }

/* حرکت */
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, -34px, 0) scale(1.06); }
}
@keyframes shimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 220% 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@keyframes pop {
  0% { transform: scale(.72); }
  60% { transform: scale(1.14); }
  100% { transform: scale(1); }
}
@keyframes itemIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.step.is-in { animation: stepIn .34s cubic-bezier(.4, 0, .2, 1); }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .hero h1 { white-space: normal; font-size: 21px; }
  .items { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .rev-row { grid-template-columns: 1fr; gap: 2px; }
  .top-note { display: none; }
  .panel { padding: 20px 15px 22px; border-radius: 20px; }
  .hero { padding: 52px 0 34px; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .actions .btn { width: 100%; }
  .orb { width: 420px; height: 420px; filter: blur(90px); }
}
