/* app.css — MedStaj dizayn sistemi (v2).
 *
 * İstinad: AMBOSS, Doctolib, Cal.com, Linear — tibbi məhsullarda etibar
 * yaradan kobalt mavi, bir əsas rəng, geniş boşluq, nazik xətlər, sabit
 * header, çoxsütunlu footer.
 *
 * Qaydalar:
 *   • Rəng, ölçü, kölgə yalnız tokenlərdən (:root). Komponent bir dəfə
 *     təyin olunur, hər yerdə eyni görünür.
 *   • 4/8 px ölçü şəbəkəsi; konteyner 1200 px (tətbiq 1240 px).
 *   • Şrift — Inter, saytın ÖZ serverindən (Google Fonts yox: istifadəçinin
 *     IP-si Google-a getməsin — DSGVO). Azərbaycan hərfləri latin-ext-dədir.
 */

@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2-variations"), url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2-variations"), url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* səthlər */
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f9fafc;
  --surface-3: #f1f4f9;
  --ink: #0b1736;
  --ink-2: #35405a;
  --muted: #66728a;
  --faint: #9aa3b5;
  --line: #e3e8f0;
  --line-2: #edf1f6;

  /* marka — kobalt mavi */
  --brand: #2451e6;
  --brand-600: #1e44c9;
  --brand-700: #1a3aa8;
  --brand-50: #eef3ff;
  --brand-100: #dce6ff;
  --brand-200: #bccdff;
  --brand-ink: #ffffff;
  --navy: #0b1736;
  --navy-2: #13244d;
  --accent: #f5a524;

  /* vəziyyət */
  --ok: #0f9d58;   --ok-50: #ebf8f1;   --ok-100: #cdeedb;
  --warn: #b7650a; --warn-50: #fff7eb; --warn-100: #fde4bf;
  --bad: #d93a3f;  --bad-50: #fff1f1;  --bad-100: #fbd3d4;
  --info: #2451e6; --info-50: #eef3ff; --info-100: #dce6ff;
  --gold: #a96800; --gold-50: #fff6e5; --gold-100: #fde6b5;
  --violet: #6b46e0; --violet-50: #f3efff;

  --r-xs: 8px;
  --r-sm: 10px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(11, 23, 54, .05);
  --shadow: 0 1px 2px rgba(11, 23, 54, .04), 0 4px 16px -8px rgba(11, 23, 54, .10);
  --shadow-md: 0 2px 6px rgba(11, 23, 54, .05), 0 12px 32px -12px rgba(11, 23, 54, .16);
  --shadow-lg: 0 24px 64px -20px rgba(11, 23, 54, .28);
  --ring: 0 0 0 3px rgba(36, 81, 230, .20);

  --sidebar: 256px;
  --appbar: 64px;
  --topbar: 60px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080d1a;
    --surface: #0f1627;
    --surface-2: #0c1322;
    --surface-3: #162036;
    --ink: #e9eef8;
    --ink-2: #c3cbdb;
    --muted: #8b96ac;
    --faint: #626e86;
    --line: #1f2a42;
    --line-2: #18223a;
    --brand: #6b8cff;
    --brand-600: #5b7cf5;
    --brand-700: #9db3ff;
    --brand-50: rgba(107, 140, 255, .12);
    --brand-100: rgba(107, 140, 255, .22);
    --brand-200: rgba(107, 140, 255, .36);
    --brand-ink: #071029;
    --navy: #050a16;
    --navy-2: #0c1530;
    --ok: #4ade80;   --ok-50: rgba(74, 222, 128, .10);   --ok-100: rgba(74, 222, 128, .2);
    --warn: #fbbf24; --warn-50: rgba(251, 191, 36, .10); --warn-100: rgba(251, 191, 36, .2);
    --bad: #f87171;  --bad-50: rgba(248, 113, 113, .10); --bad-100: rgba(248, 113, 113, .2);
    --info: #8ea8ff; --info-50: rgba(142, 168, 255, .10); --info-100: rgba(142, 168, 255, .2);
    --gold: #fbbf24; --gold-50: rgba(251, 191, 36, .10); --gold-100: rgba(251, 191, 36, .2);
    --violet: #b79bff; --violet-50: rgba(183, 155, 255, .12);
    --shadow-xs: none;
    --shadow: 0 1px 0 rgba(255, 255, 255, .02), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, .7);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .85);
    --ring: 0 0 0 3px rgba(107, 140, 255, .30);
    color-scheme: dark;
  }
}

/* ── əsas ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 14.5px/1.55 var(--font);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.02em; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand-100); }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 16px; height: 16px; }
svg.i.lg { width: 22px; height: 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }

/* ── marka ────────────────────────────────────────────────────────────── */
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; overflow: hidden;
  background: linear-gradient(135deg, #2f6bff 0%, #4f4cf2 55%, #7b3ff0 100%);
  box-shadow: 0 6px 14px -6px rgba(79, 76, 242, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.brand-logo img { width: 100%; height: 100%; display: block; }
.brand-logo svg { width: 27px; height: 27px; }
.brand-name, .brand-sub { display: block; }
.brand-name { font-weight: 750; letter-spacing: -.02em; font-size: 16.5px; line-height: 1.1; }
.brand-sub { font-size: 11.5px; color: var(--muted); font-weight: 550; letter-spacing: .01em; }

/* ── tətbiq qabığı ─────────────────────────────────────────────────────── */
.app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px;
  background: var(--surface); border-right: 1px solid var(--line); padding: 16px 14px 14px; overflow-y: auto; overflow-x: hidden;
}
.sidebar > .brand { padding: 6px 8px 14px; }
.side-cta { margin: 2px 4px 10px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: 11px; font-weight: 650; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; padding: 14px 10px 6px; }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: var(--r-sm);
  color: var(--ink-2); font-weight: 550; font-size: 14px; cursor: pointer; border: 0; background: none; text-align: left; width: 100%;
  transition: background .12s, color .12s;
}
.nav-item svg { color: var(--faint); transition: color .12s; }
.nav-item:hover { background: var(--surface-3); color: var(--ink); text-decoration: none; }
.nav-item:hover svg { color: var(--ink-2); }
.nav-item.on { background: var(--brand-50); color: var(--brand-700); font-weight: 650; }
.nav-item.on svg { color: var(--brand); }
.nav-item.on::before { content: ""; position: absolute; left: -14px; pointer-events: none; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.nav-item .count {
  margin-left: auto; font-size: 11.5px; font-weight: 650; min-width: 22px; text-align: center;
  padding: 1px 7px; border-radius: 99px; background: var(--surface-3); color: var(--muted);
}
.nav-item.on .count { background: var(--brand-100); color: var(--brand-700); }
.nav-item .count.hot { background: var(--warn-100); color: var(--warn); }

.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.plan-card { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 10px; background: var(--surface-2); }
.plan-card .plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.plan-card .plan-name { font-weight: 700; font-size: 13px; }
.plan-card .plan-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); padding: 2px 0; }
.plan-card .plan-row b { color: var(--ink); font-weight: 650; }
.side-link { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 6px 10px; border-radius: 8px; text-decoration: none; }
.side-link:hover { color: var(--ink); background: var(--surface-3); text-decoration: none; }
.user-row { display: flex; align-items: center; gap: 10px; padding: 6px 4px; }
.user-row .email { font-size: 12.5px; color: var(--ink-2); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50)); color: var(--brand-700);
  font-weight: 700; font-size: 13px; text-transform: uppercase; text-decoration: none; border: 1px solid var(--brand-100);
}
.avatar:hover { text-decoration: none; }

.main { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }

/* masaüstü üst zolaq */
.appbar {
  position: sticky; top: 0; z-index: 20; height: var(--appbar); display: flex; align-items: center; gap: 14px;
  padding: 0 32px; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); min-width: 0; }
.crumbs b { color: var(--ink); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs svg { color: var(--faint); }
.appbar .ab-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; white-space: nowrap;
}
.pill:hover { border-color: var(--brand-200); color: var(--ink); text-decoration: none; }
.pill svg { color: var(--brand); }
.pill .dotx { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.pill .dotx.on { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-100); }

/* istifadəçi menyusu */
.umenu { position: relative; }
.umenu-btn {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 4px; border-radius: 99px;
  border: 1px solid transparent; background: none; cursor: pointer; color: var(--ink-2);
}
.umenu-btn:hover, .umenu.open .umenu-btn { background: var(--surface); border-color: var(--line); }
.umenu-btn .email { font-size: 13px; font-weight: 600; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.umenu-pop {
  position: absolute; right: 0; top: calc(100% + 8px); width: 260px; padding: 6px; z-index: 40; display: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.umenu.open .umenu-pop { display: block; animation: pop .14s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.umenu-head { padding: 10px 12px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.umenu-head b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; }
.umenu-head span { font-size: 12px; color: var(--muted); }
.umenu-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 550; color: var(--ink-2); cursor: pointer; text-decoration: none; text-align: left;
}
.umenu-item:hover { background: var(--surface-3); color: var(--ink); text-decoration: none; }
.umenu-item svg { color: var(--faint); }
.umenu-item.danger { color: var(--bad); }
.umenu-item.danger svg { color: var(--bad); }
.umenu-sep { height: 1px; background: var(--line-2); margin: 6px 4px; }

.topbar { display: none; }
.page { width: 100%; max-width: 1240px; margin: 0 auto; padding: 32px 32px 40px; flex: 1; }
.bottomnav { display: none; }

/* tətbiq footeri */
.appfoot {
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 18px 32px 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted);
}
.appfoot a { color: var(--muted); }
.appfoot a:hover { color: var(--ink); }
.appfoot .sp { flex: 1; }

/* ── səhifə başlığı ─────────────────────────────────────────────────────── */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: 28px; font-weight: 720; letter-spacing: -.025em; line-height: 1.18; }
.page-head .sub { color: var(--muted); margin-top: 6px; font-size: 14.5px; max-width: 720px; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.eyebrow { font-size: 12px; font-weight: 650; color: var(--brand); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 8px; }

/* ── düymələr ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  height: 40px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 620; font-size: 14px; cursor: pointer; letter-spacing: -.005em;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
  background: var(--brand); color: var(--brand-ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(11, 23, 54, .12), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn:hover { background: var(--brand-600); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn.secondary:hover { background: var(--surface-3); border-color: var(--brand-200); }
.btn.ghost { background: transparent; color: var(--ink-2); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-3); color: var(--ink); }
.btn.soft { background: var(--brand-50); color: var(--brand-700); box-shadow: none; }
.btn.soft:hover { background: var(--brand-100); }
.btn.danger { background: var(--bad); color: #fff; }
.btn.danger:hover { filter: brightness(.95); }
.btn.danger-soft { background: var(--bad-50); color: var(--bad); box-shadow: none; }
.btn.white { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.btn.white:hover { background: #eef2ff; }
.btn.glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.btn.glass:hover { background: rgba(255, 255, 255, .14); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: var(--r-xs); gap: 6px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: var(--r); }
.btn.xl { height: 54px; padding: 0 26px; font-size: 16px; border-radius: var(--r); }
.btn.block { width: 100%; }
.icon-btn {
  width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: var(--r-xs);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; flex: none;
  transition: background .12s, color .12s, border-color .12s;
}
.icon-btn:hover { background: var(--surface-3); color: var(--ink); }
.icon-btn.on { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }

/* ── kart ───────────────────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.card-pad { padding: 22px 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line-2); }
.card-head h2, .card-head h3 { font-size: 15.5px; font-weight: 680; letter-spacing: -.015em; display: flex; align-items: center; gap: 9px; }
.card-head h3 > svg, .card-head h2 > svg { color: var(--brand); }
.card-head .meta { font-size: 12.5px; color: var(--muted); }
.card-body { padding: 18px 22px; }
.section-title { scroll-margin-top: calc(var(--topbar, 64px) + 16px); font-size: 12px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 30px 0 12px; display: flex; align-items: center; gap: 8px; }
.section-title .n { color: var(--faint); font-weight: 600; }

/* ── şəbəkələr ──────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.auto { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid.auto-sm { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.dash { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; }
.split > aside { position: sticky; top: calc(var(--appbar) + 20px); display: flex; flex-direction: column; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spacer { flex: 1; }

/* ── nişanlar ───────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px;
  font-size: 11.5px; font-weight: 620; white-space: nowrap; background: var(--surface-3); color: var(--ink-2);
}
.badge.brand { background: var(--brand-50); color: var(--brand-700); }
.badge.ok { background: var(--ok-50); color: var(--ok); }
.badge.warn { background: var(--warn-50); color: var(--warn); }
.badge.bad { background: var(--bad-50); color: var(--bad); }
.badge.info { background: var(--info-50); color: var(--info); }
.badge.gold { background: var(--gold-50); color: var(--gold); }
.badge.violet { background: var(--violet-50); color: var(--violet); }
.badge.outline { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--ok); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-100); }

/* ── formlar ────────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 620; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.field .hint { font-size: 12px; color: var(--muted); }
.field .w { font-size: 10.5px; font-weight: 700; color: var(--warn); background: var(--warn-50); padding: 1px 6px; border-radius: 99px; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm);
  padding: 10px 12px; font-size: 14.5px; transition: border-color .15s, box-shadow .15s; min-height: 42px;
  box-shadow: var(--shadow-xs);
}
.input:hover, .select:hover, .textarea:hover { border-color: #cfd7e4; }
.textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.search-xl { display: flex; gap: 10px; }
.search-xl .input-wrap { position: relative; flex: 1; }
.search-xl .input-wrap svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search-xl .input { height: 52px; padding-left: 46px; font-size: 16px; border-radius: var(--r); }
.search-xl .btn { height: 52px; padding: 0 24px; border-radius: var(--r); }
.filter { position: relative; flex: 1; min-width: 200px; max-width: 380px; }
.filter svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.filter .input { padding-left: 38px; height: 40px; min-height: 40px; }

/* ── çiplər, seqment ────────────────────────────────────────────────────── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 560; font-size: 13px; cursor: pointer;
  transition: border-color .12s, color .12s, background .12s;
}
.chip svg { color: var(--faint); }
.chip:hover { border-color: var(--brand-200); color: var(--brand-700); }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip.on svg { color: inherit; }
.chip .n { font-size: 11.5px; opacity: .7; }
.seg { display: inline-flex; padding: 3px; background: var(--surface-3); border: 1px solid var(--line-2); border-radius: var(--r-sm); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 23, 54, .10); }

/* ── xəbərdarlıqlar ─────────────────────────────────────────────────────── */
.alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: var(--r);
  font-size: 13.5px; line-height: 1.55; border: 1px solid transparent; background: var(--surface-3); color: var(--ink-2);
}
.alert svg { margin-top: 1px; }
.alert b { color: var(--ink); }
.alert.info { background: var(--info-50); border-color: var(--info-100); }
.alert.info svg { color: var(--info); }
.alert.warn { background: var(--warn-50); border-color: var(--warn-100); }
.verify-bar { margin: 14px 28px 0; align-items: center; flex-wrap: wrap; }
.verify-bar span { flex: 1 1 260px; }
@media (max-width: 760px) { .verify-bar { margin: 10px 16px 0; } }
.alert.warn svg { color: var(--warn); }
.alert.bad { background: var(--bad-50); border-color: var(--bad-100); }
.alert.bad svg { color: var(--bad); }
.alert.ok { background: var(--ok-50); border-color: var(--ok-100); }
.alert.ok svg { color: var(--ok); }
.alert.brand { background: var(--brand-50); border-color: var(--brand-100); }
.alert.brand svg { color: var(--brand); }
.alert .alert-body { flex: 1; min-width: 0; }
.alert .alert-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.stack-alerts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

/* ── statistika ─────────────────────────────────────────────────────────── */
.stat { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.stat .stat-top { display: flex; align-items: center; justify-content: space-between; color: var(--faint); }
.stat .stat-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.stat .stat-ico.brand { background: var(--brand-50); color: var(--brand); }
.stat .stat-ico.info { background: var(--info-50); color: var(--info); }
.stat .stat-ico.gold { background: var(--gold-50); color: var(--gold); }
.stat .stat-ico.warn { background: var(--warn-50); color: var(--warn); }
.stat .stat-num { font-size: 30px; font-weight: 720; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .stat-label { font-size: 13px; color: var(--muted); font-weight: 550; }

.ring { --p: 0; width: 84px; height: 84px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--surface-3) 0); }
.ring::after { content: attr(data-label); width: 66px; height: 66px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 720; font-size: 18px; letter-spacing: -.02em; }
.ring.sm { width: 46px; height: 46px; }
.ring.sm::after { width: 36px; height: 36px; font-size: 11.5px; }
.bar { height: 7px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #5b7fff); transition: width .3s; }

/* ── siyahı kartları ────────────────────────────────────────────────────── */
.tile {
  display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: left; width: 100%;
  transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; box-shadow: var(--shadow-xs);
}
.tile:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile.muted { opacity: .72; }
.tile.disabled { cursor: default; opacity: .6; }
.tile.disabled:hover { transform: none; border-color: var(--line); box-shadow: none; }
.tile-top { display: flex; align-items: flex-start; gap: 12px; }
.tile-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--brand-50); color: var(--brand); }
.tile-ico.gray { background: var(--surface-3); color: var(--muted); }
.tile-ico.violet { background: var(--violet-50); color: var(--violet); }
.tile-ico.ok { background: var(--ok-50); color: var(--ok); }
.tile-title { font-weight: 650; font-size: 14.5px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.tile-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.tile-aka { font-size: 12px; color: var(--brand); font-weight: 550; margin-top: 2px; overflow-wrap: anywhere; }
.tile-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.tile-go { margin-left: auto; color: var(--faint); display: flex; transition: transform .15s, color .15s; }
.tile:hover .tile-go { color: var(--brand); transform: translateX(2px); }

/* ── addım göstəricisi ──────────────────────────────────────────────────── */
.stepper { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.step {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); color: var(--faint); font-weight: 600; font-size: 13px; max-width: 260px;
}
.step .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-size: 12px; flex: none; }
.step span.t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step.done { color: var(--ink-2); cursor: pointer; }
.step.done .n { background: var(--brand-50); color: var(--brand); }
.step.done:hover { border-color: var(--brand-200); }
.step.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 16px -8px rgba(36, 81, 230, .6); }
.step.on .n { background: rgba(255, 255, 255, .22); color: inherit; }
.step-sep { color: var(--faint); display: flex; }

/* ── kontakt sətirləri ──────────────────────────────────────────────────── */
.clist { display: flex; flex-direction: column; }
.contact { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-top: 1px solid var(--line-2); min-width: 0; transition: background .12s; }
.clist .contact:first-child { border-top: 0; }
.contact:hover { background: var(--surface-2); }
.contact .who { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 12.5px; }
.who.r5 { background: var(--gold-50); color: var(--gold); }
.who.r4 { background: var(--brand-50); color: var(--brand); }
.who.r3 { background: var(--violet-50); color: var(--violet); }
.who.r2 { background: var(--surface-3); color: var(--muted); }
.who.r1 { background: var(--surface-3); color: var(--faint); }
.contact .cbody { flex: 1; min-width: 0; }
.contact .addr { font-weight: 620; font-size: 14px; overflow-wrap: anywhere; color: var(--ink); }
.contact .cmeta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.contact .cmeta a { color: var(--muted); }
.contact .cmeta a:hover { color: var(--brand); }
.contact .cacts { display: flex; gap: 6px; align-items: center; flex: none; }
.contact.sent .addr { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
.contact.low { opacity: .75; }
.group-head { display: flex; align-items: center; gap: 8px; padding: 11px 20px; font-size: 11.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: var(--surface-2); border-top: 1px solid var(--line-2); }
.group-head:first-child { border-top: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.group-head.good { color: var(--brand-700); }
details.kebab > summary { list-style: none; cursor: pointer; }
details.kebab > summary::-webkit-details-marker { display: none; }
details.more > summary .chev { transition: transform .2s; margin-left: auto; }
details.more[open] > summary .chev { transform: rotate(180deg); }

/* ── şöbə məlumatı ──────────────────────────────────────────────────────── */
.kv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 12px; font-size: 13.5px; }
.kv dt { color: var(--muted); font-weight: 550; }
.kv dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.mono { font-family: var(--mono); font-size: 12.5px; background: var(--surface-3); padding: 2px 7px; border-radius: 6px; }
.quote { font-size: 13px; color: var(--ink-2); background: var(--surface-2); border-left: 3px solid var(--brand); padding: 9px 13px; border-radius: 0 8px 8px 0; }

/* ── məktub ─────────────────────────────────────────────────────────────── */
.letter-out { margin-top: 14px; }
.letter-subject { font-weight: 650; font-size: 13.5px; margin-bottom: 8px; }
.letter-body { width: 100%; min-height: 300px; font-family: var(--font); font-size: 14px; line-height: 1.65; }
.pv { font-family: var(--mono); font-size: 12px; white-space: pre-wrap; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; max-height: 260px; overflow: auto; color: var(--ink-2); }
.tier-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier {
  display: flex; flex-direction: column; gap: 4px; padding: 13px 14px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s;
}
.tier:hover { border-color: var(--brand-200); box-shadow: var(--shadow); }
.tier .tn { font-weight: 680; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.tier .td { font-size: 12px; color: var(--muted); }
.tier .tc { font-size: 12px; font-weight: 650; color: var(--brand-700); }
.tier.primary { background: linear-gradient(135deg, #3b6bff, #1e44c9); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -10px rgba(36, 81, 230, .7); }
.tier.primary .td, .tier.primary .tc { color: inherit; opacity: .88; }
.tier:disabled { opacity: .5; cursor: not-allowed; }

/* ── izləmə ─────────────────────────────────────────────────────────────── */
.titem { display: flex; gap: 14px; padding: 15px 20px; border-top: 1px solid var(--line-2); align-items: flex-start; }
.clist .titem:first-child { border-top: 0; }
.titem .tbar { width: 4px; align-self: stretch; border-radius: 4px; flex: none; }
.tbar.followup { background: var(--warn); }
.tbar.stale { background: var(--faint); }
.tbar.waiting { background: var(--info); }
.tbar.positive { background: var(--ok); }
.tbar.negative { background: var(--bad); }
.tbar.noreply { background: var(--line); }
.titem .tbody { flex: 1; min-width: 0; }
.titem .tacts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ── profil ─────────────────────────────────────────────────────────────── */
.profile-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.profile-nav { position: sticky; top: calc(var(--appbar) + 20px); padding: 8px; }
.pnav-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); font-weight: 550; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.pnav-item svg { color: var(--faint); }
.pnav-item:hover { background: var(--surface-3); text-decoration: none; }
.pnav-item .pp { margin-left: auto; font-size: 11.5px; font-weight: 650; color: var(--muted); }
.pnav-item .pp.full { color: var(--ok); }
.pnav-head { padding: 8px 10px 6px !important; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.doc {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s;
}
.doc:hover { border-color: var(--brand-200); }
.doc input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.doc.on { background: var(--brand-50); border-color: var(--brand-100); }
.doc b { font-size: 13.5px; display: block; font-weight: 620; }
.doc span { font-size: 12px; color: var(--muted); }
.savebar {
  position: sticky; bottom: 16px; z-index: 5; margin-top: 18px; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px 12px 18px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}

/* İctimai sayt (ana səhifə, giriş) — public/site.css. Burada yalnız tətbiqin
   içində də işlənənlər: konteyner və paket kartları (Hesab səhifəsi). */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══ v3: paketlər, gizli kontaktlar, süni intellekt, hərəkət ══════════════ */

/* səhifə keçidi — görünüş dəyişəndə yumşaq açılma */
.page > * { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.page > *:nth-child(2) { animation-delay: .04s; } .page > *:nth-child(3) { animation-delay: .08s; } .page > *:nth-child(4) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.grid > .tile, .grid > .card { animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; }
.grid > :nth-child(2) { animation-delay: .03s; } .grid > :nth-child(3) { animation-delay: .06s; } .grid > :nth-child(4) { animation-delay: .09s; }
.grid > :nth-child(5) { animation-delay: .12s; } .grid > :nth-child(6) { animation-delay: .15s; } .grid > :nth-child(n+7) { animation-delay: .18s; }
.tile { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tile:hover { transform: translateY(-2px); }

/* sol paneldəki paket kartı */
.plan-card { position: relative; overflow: hidden; }
.plan-card.on { background: linear-gradient(160deg, var(--brand-50), var(--surface) 70%); border-color: var(--brand-100); }
.plan-big { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 6px; }
.plan-big b { font-size: 30px; font-weight: 780; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.plan-big span { font-size: 12.5px; color: var(--muted); }
.plan-row.warn b { color: var(--warn); }

/* panel / hesab: paket kartı */
.plan-panel { position: relative; overflow: hidden; }
.plan-panel.on::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #3b6bff, #8b5cf6, #22d3ee); }
.plan-title { font-size: 22px; font-weight: 760; letter-spacing: -.03em; margin-top: 4px; }
.plan-meter { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface-3); }
.plan-meter b { font-size: 38px; font-weight: 790; letter-spacing: -.05em; line-height: 1; background: linear-gradient(135deg, #2451e6, #7c4dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-meter span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.plan-meter small { color: var(--muted); font-size: 12px; }
.plan-feats { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.plan-feats li { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--faint); }
.plan-feats li.on { color: var(--ink-2); }
.plan-feats li svg { flex: none; }
.plan-feats li.on svg { color: var(--ok); }
.acc-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.acc-top > * { min-width: 0; }
.ref-card { background: radial-gradient(500px 220px at 100% 0%, var(--brand-50), transparent 70%), var(--surface); }
.ref-card .grad, .page .grad { background: linear-gradient(110deg, #2451e6, #7c4dff 60%, #0ea5c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ref-link { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: var(--r); border: 1px dashed var(--brand-200); background: var(--surface-2); }
.ref-link .mono { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }

/* hesab səhifəsində paket kartları (açıq fon) */
.prices.in-app { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.prices.in-app .price { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-xs); transition: transform .2s, box-shadow .2s, border-color .2s; }
.prices.in-app .price:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prices.in-app .price.pop { border-color: transparent; box-shadow: 0 0 0 1.5px #5b6cf6, 0 24px 60px -30px rgba(59, 92, 246, .7); background: linear-gradient(180deg, var(--brand-50), var(--surface) 55%); }
.prices.in-app .price.current { box-shadow: 0 0 0 1.5px var(--ok), var(--shadow); }
.prices.in-app .ptag { position: absolute; top: 16px; right: 16px; height: 24px; padding: 0 10px; border-radius: 99px; background: linear-gradient(110deg, #3b6bff, #8b5cf6); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.prices.in-app .ptag.cur { background: var(--ok); }
.prices.in-app .price h3 { font-size: 18px; font-weight: 720; }
.prices.in-app .pdesc { font-size: 13px; color: var(--muted); }
.prices.in-app .amt { display: flex; align-items: baseline; gap: 4px; line-height: 1; }
.prices.in-app .amt .num { font-size: 44px; font-weight: 790; letter-spacing: -.05em; }
.prices.in-app .amt small { font-size: 22px; color: var(--muted); font-weight: 650; }
.prices.in-app .amt s { font-size: 15px; color: var(--faint); margin-right: 6px; }
.prices.in-app .per { font-size: 12.5px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.prices.in-app ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.prices.in-app li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.prices.in-app li svg { color: var(--ok); margin-top: 2px; flex: none; }
.prices.in-app li.off { color: var(--faint); }
.prices.in-app li.off svg { color: var(--faint); }
.prices.in-app .btn { margin-top: auto; }
.prices.in-app .addon { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-radius: var(--r-lg); border: 1px dashed var(--line); background: var(--surface-2); flex-wrap: wrap; }
.prices.in-app .addon > div:first-child { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.prices.in-app .addon > div:first-child svg { color: var(--brand); }
.prices.in-app .addon span { color: var(--muted); font-size: 13px; }
.prices.in-app .addon .amt.sm .num { font-size: 24px; font-weight: 780; letter-spacing: -.03em; }
.prices.in-app .addon .amt.sm small { font-size: 13px; color: var(--muted); margin-left: 2px; }

/* gizli kontakt */
.contact.locked .addr .masked, .masked { font-family: var(--mono); letter-spacing: .02em; color: var(--ink-2); }
.lockic { color: var(--faint); margin-left: 6px; vertical-align: -2px; }
.contact.locked .who { filter: saturate(.85); }
.contact .addr { display: flex; align-items: center; min-width: 0; }

/* süni intellekt kartı */
.ai-card .card-head h3 svg { color: #7c4dff; }
.ai-cta { position: relative; overflow: hidden; isolation: isolate; width: 100%; text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-lg); border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #2451e6 0%, #5b4bf0 55%, #7c3aed 100%); box-shadow: 0 16px 40px -18px rgba(76, 70, 240, .9); transition: transform .18s, box-shadow .18s, filter .18s; font: inherit; }
.ai-cta:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 22px 50px -18px rgba(76, 70, 240, 1); }
.ai-cta:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.ai-cta .ai-glow { position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, .35) 80%, transparent 90%); animation: aispin 4s linear infinite; }
@keyframes aispin { to { transform: rotate(360deg); } }
.ai-cta::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: calc(var(--r-lg) - 1.5px); background: linear-gradient(135deg, #2451e6 0%, #5b4bf0 55%, #7c3aed 100%); }
.ai-cta .tn { font-size: 15.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ai-cta .td { font-size: 13px; color: rgba(255, 255, 255, .82); }
.ai-cta .tc { font-size: 11.5px; color: rgba(255, 255, 255, .65); margin-top: 4px; }
.ai-progress { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 22px 6px 8px; text-align: center; }
.ai-orb { width: 54px; height: 54px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 30% 30%, #9db7ff, #5b4bf0 45%, #2451e6 70%); box-shadow: 0 0 40px rgba(91, 75, 240, .55); animation: orb 2.2s ease-in-out infinite; }
.ai-orb::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(91, 75, 240, .35); animation: pulse2 2.2s ease-out infinite; }
@keyframes orb { 50% { transform: scale(1.08); filter: hue-rotate(25deg); } }
@keyframes pulse2 { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.ai-steps { display: grid; gap: 8px; width: 100%; max-width: 320px; text-align: left; }
.ai-step { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--faint); transition: color .3s; }
.ai-step svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; flex: none; transition: all .3s; }
.ai-step.on { color: var(--ink); font-weight: 600; }
.ai-step.on svg { border-color: var(--brand); animation: blinkb 1s ease-in-out infinite; }
.ai-step.done { color: var(--ink-2); }
.ai-step.done svg { background: var(--ok); border-color: var(--ok); color: #fff; }
@keyframes blinkb { 50% { box-shadow: 0 0 0 4px var(--brand-100); } }
.letter-body.typing { caret-color: transparent; }

/* sənəd generatoru (profil) */
.doc-gen { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.doc-btn { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: border-color .18s, transform .18s, box-shadow .18s; }
.doc-btn:hover { border-color: var(--brand-200); transform: translateY(-2px); box-shadow: var(--shadow); }
.doc-btn .di { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--brand-50), var(--violet-50)); color: #5b4bf0; }
.doc-btn b { display: block; font-size: 14px; }
.doc-btn small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.doc-btn > svg:last-child { margin-left: auto; color: var(--faint); flex: none; }
.doc-btn.locked { opacity: .75; }
@media (max-width: 1100px) { .doc-gen { grid-template-columns: 1fr; } }

/* parlayan düymə (tətbiqin içində də) */
.btn.glow { color: #fff; border: 0; background: linear-gradient(135deg, #2451e6 0%, #5b4bf0 60%, #7c3aed 100%); box-shadow: 0 10px 28px -12px rgba(76, 70, 240, .85); }
.btn.glow:hover { filter: brightness(1.07); }

/* skelet yükləmə */
.loading .spinner { border-top-color: #5b4bf0; }

/* bayram effekti — ilk göndərmədə */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; opacity: .95; animation: fall var(--t, 1.6s) cubic-bezier(.25, .6, .4, 1) forwards; }
@keyframes fall { to { transform: translate(var(--x, 0), 105vh) rotate(var(--r, 540deg)); opacity: 0; } }

/* ── boş hal, yükləmə ───────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 52px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-state .ei { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 6px; }
.empty-state h3 { font-size: 16.5px; font-weight: 680; }
.empty-state p { color: var(--muted); max-width: 440px; font-size: 14px; }
.loading { display: flex; align-items: center; gap: 14px; padding: 22px; color: var(--ink-2); font-weight: 550; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--brand-100); border-top-color: var(--brand); animation: spin .8s linear infinite; flex: none; }
.loading .ltxt { display: flex; flex-direction: column; gap: 2px; }
.loading .ltxt small { color: var(--muted); font-weight: 450; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { border-radius: var(--r); background: linear-gradient(90deg, var(--surface-3), var(--line-2), var(--surface-3)); background-size: 200% 100%; animation: sh 1.2s infinite; height: 86px; }
@keyframes sh { to { background-position: -200% 0; } }

/* ── bildiriş, pəncərə ──────────────────────────────────────────────────── */
.toasts { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-radius: var(--r); font-weight: 550; font-size: 13.5px;
  background: var(--navy); color: #eef2ff; box-shadow: var(--shadow-lg); pointer-events: auto; animation: tin .2s ease-out; max-width: 400px;
  border: 1px solid rgba(255, 255, 255, .08);
}
.toast svg { color: #7ee0b0; }
.toast.bad { background: var(--bad); color: #fff; }
.toast.bad svg { color: #fff; }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }
dialog.modal {
  border: 1px solid var(--line); padding: 0; border-radius: var(--r-xl); background: var(--surface); color: var(--ink);
  width: min(480px, calc(100vw - 32px)); box-shadow: var(--shadow-lg);
}
dialog.modal[open] { animation: pop .16s ease-out; }
dialog.modal::backdrop { background: rgba(6, 12, 28, .5); backdrop-filter: blur(3px); }
.modal-head { padding: 20px 16px 6px 24px; font-weight: 700; font-size: 17px; letter-spacing: -.015em; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-x { width: 32px; height: 32px; border-color: transparent; box-shadow: none; }
.modal-body { padding: 6px 24px 6px; color: var(--ink-2); font-size: 14px; display: flex; flex-direction: column; gap: 12px; }
.modal-foot { padding: 18px 24px 22px; display: flex; flex-direction: row-reverse; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
.modal-err { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r); background: var(--bad-50); border: 1px solid var(--bad-100); color: var(--bad); font-weight: 600; font-size: 13px; }
.modal-err[hidden] { display: none; }
.modal-err > svg { margin-top: 2px; }
.modal-err a { color: inherit; text-decoration: underline; }
dialog.modal.wide { width: min(800px, calc(100vw - 32px)); }
dialog.modal.wide .modal-body { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); overflow: auto; }
.spinner.xs { width: 14px; height: 14px; border-width: 2px; border-color: rgba(255, 255, 255, .35); border-top-color: currentColor; }
.btn.secondary .spinner.xs, .btn.ghost .spinner.xs { border-color: var(--line); border-top-color: currentColor; }

/* ── göndərmə pəncərəsi ─────────────────────────────────────────────────── */
.compose { display: flex; flex-direction: column; gap: 14px; }
.cmp-meta { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.cmp-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; min-height: 44px; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line-2); }
.cmp-k { width: 58px; flex: none; font-size: 12.5px; font-weight: 620; color: var(--muted); }
.cmp-v { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink); overflow-wrap: anywhere; }
.cmp-v .select { width: 100%; }
.cmp-ph { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cmp-ph:empty { display: none; }
.compose .letter-body { min-height: 280px; }
.files { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.file { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 5px 6px 5px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-size: 12.5px; font-weight: 600; }
.file .fn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.file-x { width: 24px; height: 24px; border: 0; border-radius: 7px; display: grid; place-items: center; background: none; color: var(--muted); cursor: pointer; }
.file-x:hover { background: var(--surface-3); color: var(--bad); }
.filepick { cursor: pointer; }
.facts { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.facts li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.facts li > svg { margin-top: 1px; color: var(--brand); }
.gmail-card .row { flex-wrap: wrap; }
.ok-t { color: var(--ok); }
.gsteps { margin: 4px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.gmock { display: flex; gap: 12px; align-items: center; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-xs); font-size: 13.5px; }
.gmock small { color: var(--muted); }
.gbox { width: 22px; height: 22px; border-radius: 4px; background: #1a73e8; color: #fff; display: grid; place-items: center; flex: none; }
.gbox svg { stroke: #fff; }

/* ── köməkçilər ─────────────────────────────────────────────────────────── */
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.tiny { font-size: 11.5px; }
.bold { font-weight: 650; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.link { color: var(--brand); font-weight: 600; cursor: pointer; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }
.divider { height: 1px; background: var(--line-2); margin: 14px 0; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar h2 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin-right: auto; }
.howto { counter-reset: s; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.howto .hs { padding: 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); }
.howto .hs b { display: block; font-size: 14px; margin: 10px 0 4px; font-weight: 650; }
.howto .hs span { font-size: 12.5px; color: var(--muted); }
.howto .hs::before { counter-increment: s; content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 12.5px; }
.iline { display: flex; gap: 8px; align-items: flex-start; }
.iline > svg { margin-top: 2px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.table-wrap { overflow-x: auto; }

/* ── uyğunlaşma ─────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .split { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .split > aside { position: static; }
  .dash { grid-template-columns: 1fr; }
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 6px; }
  .profile-nav .pnav-item { white-space: nowrap; }
  .profile-nav .pnav-head { display: none; }
  .prices.in-app { grid-template-columns: 1fr; max-width: 560px; }
  .acc-top { grid-template-columns: 1fr; }
}

/* mobil: qabıq dəyişir */
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .sidebar, .appbar { display: none; }
  .topbar {
    display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20; height: var(--topbar);
    padding: 0 16px; padding-top: env(safe-area-inset-top); background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line);
  }
  .topbar .brand-sub { display: none; }
  .topbar .tb-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
  .page { padding: 20px 16px 24px; }
  .appfoot { padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); }
  .bottomnav {
    display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line);
  }
  .bn-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; cursor: pointer; border-radius: var(--r-sm); position: relative; text-decoration: none; }
  .bn-item:hover { text-decoration: none; }
  .bn-item svg { width: 22px; height: 22px; }
  .bn-item.on { color: var(--brand); }
  .bn-item .dot { position: absolute; top: 4px; right: calc(50% - 18px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--warn); color: #fff; font-size: 10px; display: grid; place-items: center; }
  .page-head h1 { font-size: 23px; }
  .toasts { left: 16px; right: 16px; bottom: auto; top: calc(var(--topbar) + 10px + env(safe-area-inset-top)); }
  .toast { max-width: none; }
}

@media (max-width: 640px) {
  .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid.auto, .grid.auto-sm { grid-template-columns: 1fr; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .howto { grid-template-columns: 1fr; }
  .search-xl { flex-direction: column; }
  .search-xl .btn { width: 100%; }
  .stat { padding: 14px; }
  .stat .stat-num { font-size: 24px; }
  .card-pad { padding: 18px; }
  .card-head { padding: 14px 16px; }
  .card-body { padding: 14px 16px; }
  .contact { padding: 12px 14px; gap: 12px; flex-wrap: wrap; }
  .contact .cacts { width: 100%; padding-left: 50px; }
  .titem { padding: 13px 14px; flex-wrap: wrap; }
  .titem .tacts { width: 100%; justify-content: flex-start; padding-left: 18px; }
  .tier-btns { grid-template-columns: 1fr; }
  .stepper { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .stepper::-webkit-scrollbar { display: none; }
  .step, .step-sep { flex: none; }
  .card-head .meta { display: none; }
  .page-head .actions .btn { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .filter { max-width: none; }
  .step { max-width: 170px; }
  .kv { grid-template-columns: 82px minmax(0, 1fr); }
  .savebar { bottom: calc(80px + env(safe-area-inset-bottom)); }
  dialog.modal.wide { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; border: 0; }
  dialog.modal.wide form { display: flex; flex-direction: column; height: 100%; }
  dialog.modal.wide .modal-body { flex: 1; max-height: none; padding-bottom: 12px; }
  dialog.modal.wide .modal-foot { padding-bottom: calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); }
  dialog.modal.wide .modal-foot .btn { flex: 1 1 auto; }
  .compose .letter-body { min-height: 240px; }
  .facts { grid-template-columns: 1fr; }
  .file .fn { max-width: 160px; }
  .admin-table thead { display: none; }
  .admin-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
  .admin-table td { display: block; border: 0; padding: 4px 14px; }
  .admin-table .acts { justify-content: flex-start; }
  .wrap { padding: 0 18px; }
}

/* hərəkəti azaltmaq istəyənlər üçün */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── başlanğıc ekranı (index.html, JS yüklənənə qədər) ─────────────────── */
.boot { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 20px; text-align: center;
  background: radial-gradient(700px 400px at 50% 0%, rgba(59, 107, 255, .25), transparent 60%), #050816; color: #c9d3f0; }
.boot .boot-logo { width: 56px; height: 56px; border-radius: 15px; background: none; box-shadow: 0 12px 28px -12px rgba(36, 81, 230, .6); }
.boot h1 { font-size: 15px; font-weight: 650; color: #fff; margin-top: 8px; }
.boot p { max-width: 560px; font-size: 13px; color: #8f9bbd; line-height: 1.6; }
.boot nav { font-size: 12.5px; color: #5f6b8e; }
.boot nav a { color: #9db7ff; }

/* ── KOPYALAMA BAĞLIDIR (sahibin qərarı, 2026-10-11) ────────────────────
   Mətn seçilmir, telefonda uzun basma menyusu açılmır. Yalnız yazı sahələri
   istisnadır — tələbə öz məktubunu yazıb redaktə etməlidir. */
.app, .site, dialog.modal { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.app input, .app textarea, .app select, .app [contenteditable],
.site input, .site textarea, dialog.modal input, dialog.modal textarea, dialog.modal select {
  -webkit-user-select: text; user-select: text; -webkit-touch-callout: default;
}

/* ── şablonlar, mövzular, göndərmə yolları (2026-10-11) ───────────────── */
.subj-row { display: flex; gap: 8px; align-items: center; }
.subj-row .input { flex: 1; min-width: 0; }
.subj-row .subj-pick { width: 170px; flex: none; }
.send-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.way { padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; }
.way.rec { border-color: var(--brand-200); background: linear-gradient(160deg, var(--brand-50), var(--surface) 70%); }
.way-h { display: flex; align-items: center; gap: 8px; }
.way p { margin: 0; }
.way .btn { margin-top: auto; }
.smtp-help .gsteps li { margin-bottom: 6px; }
.tpl-card { position: relative; overflow: hidden; }
.tpl-preview { white-space: pre-wrap; font-size: 13px; line-height: 1.6; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; max-height: 220px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.subj-list { display: grid; gap: 6px; }
.subj-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13.5px; }
.subj-item span:first-child { flex: 1; min-width: 0; }
.tokens { display: flex; flex-wrap: wrap; gap: 8px; }
.tok { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; background: var(--brand-50); color: var(--ink-2); font-size: 12.5px; }
.tok b { color: var(--brand); }
.lf-sec { margin-bottom: 14px; }
.lf-sec > b { display: block; font-size: 13px; margin-bottom: 8px; }
.lf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.lf { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 13px; cursor: pointer; }
.lf input { accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.lf.empty { opacity: .65; }
.lf small { color: var(--faint); }
.plan-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.plan-meters .plan-meter { margin-top: 0; }
.plan-big b.sep { margin-left: 10px; }
@media (max-width: 640px) {
  .subj-row { flex-wrap: wrap; }
  .subj-row .subj-pick { width: 100%; }
  .plan-meters { grid-template-columns: 1fr; }
}

/* ── CV dizayneri ── */
.cv-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cv-thumb { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cv-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cv-thumb.on { border-color: var(--ac, var(--brand)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac, var(--brand)) 22%, transparent); }
.cv-mini { position: relative; display: block; width: 100%; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cv-mini iframe { position: absolute; left: 0; top: 0; width: 794px; height: 1123px; border: 0; transform-origin: 0 0; pointer-events: none; transform: scale(var(--k, .2)); }
.cv-tn { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 14px; }
.cv-tn .badge { font-size: 10.5px; }
.cv-thumb small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.cv-work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; margin-top: 24px; align-items: start; }
.cv-edit { padding: 18px; }
.cv-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cv-sec { padding: 16px 0; border-top: 1px solid var(--line); }
.cv-sec h4 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; margin-bottom: 12px; }
.cv-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cv-entry { padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2, #f8fafc); margin-bottom: 10px; }
.cv-entry-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.cv-entry-head b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-entry-head span { display: flex; gap: 2px; }
.cv-lang { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.cv-lang .field { margin-bottom: 8px; }
.cv-lang .icon-btn { margin-bottom: 10px; }
.cv-photo { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.cv-ph { width: 76px; height: 96px; border-radius: 10px; overflow: hidden; flex: none; background: var(--surface-2, #f1f5f9); display: grid; place-items: center; color: var(--faint, #94a3b8); border: 1px solid var(--line); }
.cv-ph img { width: 100%; height: 100%; object-fit: cover; }
.cv-ph svg { width: 34px; height: 34px; }
.cv-prev { position: sticky; top: 84px; }
.cv-prev-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
.cv-paper { position: relative; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(15, 23, 42, .45); }
.cv-paper iframe { position: absolute; left: 0; top: 0; width: 794px; height: 1123px; border: 0; transform-origin: 0 0; }
.cv-file.ok { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.cv-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2, #f8fafc); }
.cv-attach.none { background: none; border-style: dashed; }
.cv-attach .cmp-k { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cv-opt { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; cursor: pointer; }
.cv-opt small { color: var(--muted); }
@media (max-width: 1100px) {
  .cv-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-work { grid-template-columns: 1fr; }
  .cv-prev { position: static; }
}
@media (max-width: 640px) {
  .cv-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cv-2 { grid-template-columns: 1fr; }
  .cv-thumb small { display: none; }
}

/* istifadəçi menyusunda dil seçimi */
.umenu-langs { display: flex; align-items: center; gap: 4px; padding: 6px 10px; color: var(--muted); }
.umenu-langs svg { margin-right: 4px; }
.umenu-langs button { flex: 1; height: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-2, var(--ink)); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.umenu-langs button.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ── admin paneli ── */
.adm-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.adm-stat b { display: block; font-size: 24px; font-weight: 760; letter-spacing: -.02em; margin: 4px 0 2px; }
.adm-stat b small { font-size: 13px; color: var(--muted); font-weight: 600; }
.adm-sales { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.adm-tools { display: flex; gap: 8px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.adm-tools .input { width: 260px; height: 36px; }
.adm-tools .select { height: 36px; width: auto; }
.admin-table tr.blocked td { opacity: .6; }
.adm-note { color: var(--ink-2, var(--ink)); margin-top: 3px; }
.adm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.adm-kv { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2, #f8fafc); }
.adm-kv span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.adm-kv b { font-size: 13.5px; font-weight: 600; word-break: break-word; }
.adm-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adm-row .select { width: auto; max-width: 100%; }
.adm-pk .input { min-width: 70px; height: 34px; }
@media (max-width: 1100px) { .adm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .adm-grid { grid-template-columns: 1fr; } .adm-tools .input { width: 100%; } }

/* bölmə keçidi: kartlar ardıcıl, yumşaq görünür */
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }
#view.enter .page-head, #view.enter > .card, #view.enter > .grid > *, #view.enter .stack > .card, #view.enter .section-title,
#view.enter .cv-gallery > *, #view.enter .prices > * { animation: viewIn .38s cubic-bezier(.2, .7, .2, 1) both; }
#view.enter .grid > *:nth-child(2), #view.enter .cv-gallery > *:nth-child(2), #view.enter .prices > *:nth-child(2) { animation-delay: .05s; }
#view.enter .grid > *:nth-child(3), #view.enter .cv-gallery > *:nth-child(3), #view.enter .prices > *:nth-child(3) { animation-delay: .1s; }
#view.enter .grid > *:nth-child(n+4), #view.enter .cv-gallery > *:nth-child(n+4) { animation-delay: .14s; }
@media (prefers-reduced-motion: reduce) { #view.enter * { animation: none !important; } }
.cv-file .small { overflow-wrap: anywhere; }
@media (max-width: 760px) { #cvFiles .grid { grid-template-columns: 1fr; } }

/* cavabı başa düş */
.rp-res { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2, #f8fafc); }
.rp-sum { margin-top: 10px; line-height: 1.6; }
.rp-h { margin-top: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rp-list { margin-top: 6px; display: grid; gap: 4px; }
.rp-list li { display: flex; gap: 8px; align-items: flex-start; }
.rp-list li .i { color: var(--ok); margin-top: 3px; flex: none; }

/* ── 2026-10-15: limitsiz paketlər, zəmanət, cavab izləmə, tətbiq parolu ── */
.prices.in-app { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prices.in-app .addon { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: var(--r-lg); border: 1px dashed var(--line); background: var(--surface); }
.prices.in-app .addon > div:first-child { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); flex-wrap: wrap; }
.prices.in-app .addon > div:first-child svg { color: var(--brand); }
.prices.in-app .addon .amt.sm .num { font-size: 24px; font-weight: 780; letter-spacing: -.03em; }
.prices.in-app li small, .site .price li small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.site .price li small { color: var(--s-faint); }
.prices.in-app .price.deepcard { background: linear-gradient(180deg, var(--brand-50), var(--surface) 45%); }
/* Dərin araşdırma: sayt → internet → məktub; yavaş işıq zolağı (göz yormur) */
.deep-note { position: relative; overflow: hidden; border-radius: 14px; padding: 12px 14px; border: 1px solid rgba(91, 108, 246, .28); background: rgba(91, 108, 246, .07); }
.deep-note p { font-size: 12.5px; line-height: 1.5; margin: 8px 0 0; color: var(--ink-2); }
.site .deep-note p { color: var(--s-ink-2); }
.dn-flow { display: flex; align-items: center; gap: 6px; }
.dn-flow span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(91, 108, 246, .14); color: #7c8cff; }
.dn-flow span.dn-out { background: linear-gradient(135deg, #3b6bff, #8b5cf6); color: #fff; }
.dn-flow i { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(124, 140, 255, .15), rgba(124, 140, 255, .9), rgba(124, 140, 255, .15)); background-size: 200% 100%; animation: dnflow 2.6s linear infinite; }
.deep-note::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .16) 50%, transparent 70%); transform: translateX(-100%); animation: dnshine 6s ease-in-out infinite; pointer-events: none; }
@keyframes dnflow { to { background-position: -200% 0; } }
@keyframes dnshine { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.deep-up { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); padding: 10px 12px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.deep-up > svg { color: var(--brand); margin-top: 2px; flex: none; }

.plan-big.unl b { font-size: 34px; background: linear-gradient(135deg, #2451e6, #7c4dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-meter.unl b { font-size: 42px; }

/* Nəticə zəmanəti */
.guar-card { position: relative; overflow: hidden; }
.guar-card.ready { box-shadow: 0 0 0 1.5px var(--ok), var(--shadow-md); }
.guar-seal { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0f9d58, #22c55e); box-shadow: 0 10px 24px -12px rgba(15, 157, 88, .9); }
.guar-card.ready .guar-seal { animation: sealpulse 2.4s ease-in-out infinite; }
@keyframes sealpulse { 50% { transform: scale(1.06); box-shadow: 0 12px 30px -10px rgba(15, 157, 88, 1); } }
.guar-bar { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.guar-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #2451e6, #7c4dff); transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.guar-card.ready .guar-bar i { background: linear-gradient(90deg, #0f9d58, #22c55e); }

/* Göndərmə və cavab izləmə kartları */
.send-grid { align-items: stretch; }
.send-grid .facts { grid-template-columns: 1fr; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mini-steps li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.mini-steps li b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--brand-50); color: var(--brand); flex: none; }
.tile-ico.ok { background: var(--ok-50); color: var(--ok); }
.tile-ico.pulse, .live-dot { position: relative; }
.tile-ico.pulse::after, .live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 14px; border: 2px solid var(--brand); opacity: 0; animation: ring 2.8s ease-out infinite; }
.live-dot::after { border-color: var(--ok); }
@keyframes ring { 0% { opacity: .55; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }
.rw-card.off { opacity: .8; }
.rw-tip { border: 1px solid var(--brand-100); background: linear-gradient(135deg, var(--brand-50), var(--surface) 70%); }

/* Tətbiq parolu pəncərəsi: Google səhifəsinin sxemi (canlı yazılır) */
.gmock2 { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 12px; background: var(--surface); }
.gm-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 12px; color: var(--muted); background: var(--surface-3); border-bottom: 1px solid var(--line); }
.gm-body { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 10px; align-items: center; padding: 14px; }
.gm-l { font-size: 12px; color: var(--muted); }
.gm-in { height: 34px; border: 1.5px solid var(--brand); border-radius: 8px; display: flex; align-items: center; padding: 0 10px; font-size: 13.5px; }
.gm-typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: gmtype 6s steps(7) infinite; }
.gm-in i { width: 1.5px; height: 16px; background: var(--brand); margin-left: 1px; animation: blinkc 1s step-end infinite; }
.gm-btn { height: 34px; padding: 0 14px; border-radius: 8px; display: grid; place-items: center; background: #1a73e8; color: #fff; font-size: 13px; font-weight: 600; animation: gmpress 6s infinite; }
.gm-code { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: center; padding: 10px; border-radius: 10px; background: #fef7e0; animation: gmcode 6s infinite; }
.gm-code span { font-family: ui-monospace, Menlo, monospace; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: #202124; }
@keyframes gmtype { 0% { width: 0; } 25%, 100% { width: 7ch; } }
@keyframes blinkc { 50% { opacity: 0; } }
@keyframes gmpress { 0%, 30% { transform: none; } 34% { transform: scale(.94); } 38%, 100% { transform: none; } }
@keyframes gmcode { 0%, 38% { opacity: 0; transform: translateY(4px); } 46%, 100% { opacity: 1; transform: none; } }
details.prov { border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; background: var(--surface); }
details.prov > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 650; font-size: 14px; }
details.prov > summary::-webkit-details-marker { display: none; }
details.prov > summary > svg:last-child { margin-left: auto; transition: transform .2s; color: var(--muted); }
details.prov[open] > summary > svg:last-child { transform: rotate(180deg); }
details.prov .gsteps, details.prov > p { margin: 0 14px 12px; }
.safe-box { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ok-50); border: 1px solid var(--ok-100); font-size: 13px; }
.safe-box b { display: flex; align-items: center; gap: 6px; color: var(--ok); }
.safe-box ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; color: var(--ink-2); }
.smtp-help .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; color: var(--ink-2); }
.smtp-help .consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--brand); }

/* İzləmə: xülasə və avtomatik tanınmış cavab */
.track-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.track-sum .ts { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); animation: viewIn .4s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d); }
.track-sum .ts svg { color: var(--brand); }
.track-sum .ts b { font-size: 20px; font-weight: 780; letter-spacing: -.03em; }
.track-sum .ts span { font-size: 12.5px; color: var(--muted); }
.reply-chip { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--line-2); max-width: 640px; }
.reply-chip > .badge { justify-self: start; }
.reply-chip.new { border-color: var(--ok-100); background: var(--ok-50); animation: replyin .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes replyin { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.titem.replied .tbar { box-shadow: 0 0 0 3px rgba(15, 157, 88, .12); }

/* Ümumi yumşaq hərəkət: kartlar, siyahılar, düymələr */
#view.enter .clist > * { animation: viewIn .35s cubic-bezier(.2, .7, .2, 1) both; }
#view.enter .clist > *:nth-child(2) { animation-delay: .03s; }
#view.enter .clist > *:nth-child(3) { animation-delay: .06s; }
#view.enter .clist > *:nth-child(4) { animation-delay: .09s; }
#view.enter .clist > *:nth-child(n+5) { animation-delay: .12s; }
#view.enter .acc-top > *, #view.enter .send-grid > * { animation: viewIn .38s cubic-bezier(.2, .7, .2, 1) both; }
#view.enter .acc-top > *:nth-child(2), #view.enter .send-grid > *:nth-child(2) { animation-delay: .06s; }
.card.stat { transition: transform .2s, box-shadow .2s; }
.card.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active:not(:disabled) { transform: scale(.98); }
.plan-panel.on { position: relative; overflow: hidden; }
.plan-panel.on::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(124, 77, 255, .07) 50%, transparent 65%); transform: translateX(-100%); animation: dnshine 9s ease-in-out infinite; pointer-events: none; }
.bn-item.on svg { animation: bnpop .3s cubic-bezier(.2, .7, .2, 1); }
@keyframes bnpop { 50% { transform: translateY(-2px) scale(1.08); } }
@media (max-width: 760px) { .prices.in-app { grid-template-columns: 1fr; } .track-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gm-body { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .dn-flow i, .deep-note::after, .guar-seal, .tile-ico.pulse::after, .live-dot::after, .gm-typed, .gm-in i, .gm-btn, .gm-code,
  .reply-chip.new, .plan-panel.on::after, .bn-item.on svg, .track-sum .ts { animation: none !important; }
  .gm-typed { width: auto; } .gm-code { opacity: 1; } .guar-bar i { transition: none; }
}

/* 2 paket: orta enlikdə də yan-yana, mobil telefonda alt-alta */
@media (max-width: 1100px) { .prices.in-app { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .prices.in-app { grid-template-columns: 1fr; } }
/* admin: dar ekranda axtarış sətri kartdan çıxmasın */
@media (max-width: 640px) { .adm-tools { margin-left: 0; width: 100%; min-width: 0; } .adm-tools .select { max-width: 100%; } .card-head:has(.adm-tools) { flex-wrap: wrap; } }

/* ── Məktubun yoxlanması (göndərmə pəncərəsi) ── */
.lcheck { margin-top: 10px; }
.lc-box { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.lc-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 13.5px; }
.lc-box > summary::-webkit-details-marker { display: none; }
.lc-box > summary > svg:first-child { flex: none; }
.lc-box > summary > svg:last-child { margin-left: 4px; color: var(--muted); transition: transform .2s; }
.lc-box[open] > summary > svg:last-child { transform: rotate(180deg); }
.lc-box.ok > summary > svg:first-child { color: var(--ok); }
.lc-box.warn > summary > svg:first-child { color: var(--warn); }
.lc-box.bad > summary > svg:first-child { color: #d93025; }
.lc-score { margin-left: auto; font-weight: 700; font-size: 12.5px; color: var(--ink-2); }
.lc-bar { width: 70px; height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.lc-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f59e0b, #22c55e); transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.lc-box ul { list-style: none; margin: 0; padding: 4px 12px 12px; display: grid; gap: 6px; border-top: 1px solid var(--line-2); }
.lc-box li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); padding-top: 6px; }
.lc-box li > svg { flex: none; margin-top: 1px; }
.lc-box li.ok > svg { color: var(--ok); }
.lc-box li.warn > svg { color: var(--warn); }
.lc-box li.bad { color: #b3261e; }
.lc-box li.bad > svg { color: #d93025; }

/* ── Zəng skripti ── */
.callscript { display: grid; gap: 14px; }
.cs-sec { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--surface); }
.cs-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 8px; }
.cs-line, .cs-q { padding: 6px 0; border-top: 1px dashed var(--line-2); }
.cs-line:first-of-type, .cs-q:first-of-type { border-top: 0; }
.cs-row { display: flex; align-items: flex-start; gap: 6px; }
.cs-de { flex: 1; font-size: 14.5px; line-height: 1.5; color: var(--ink); font-weight: 560; }
.cs-qq .cs-de { color: var(--muted); font-weight: 500; font-style: italic; }
.cs-row > svg { margin-top: 4px; color: var(--brand); flex: none; }
.cs-tr { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.cs-tips { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); font-size: 13px; }
.cs-tips > svg { color: var(--brand); margin-top: 2px; flex: none; }
.cs-tips ul { margin: 0; padding-left: 16px; display: grid; gap: 4px; color: var(--ink-2); }
.icon-btn.xs { width: 28px; height: 28px; flex: none; }
.icon-btn.xs:active svg { transform: scale(.9); }

/* Ölkəyə görə qiymət (Paddle) və "gününə görə ən sərfəli" nişanı */
.prices.in-app .amt .num.lp { font-size: 36px; }
.prices.in-app .amt em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 8px; }
.prices.in-app .per .pbest { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 750; color: #065f46; background: #d1fae5; }

/* Premium alətləri (2026-10-15): panel kartı, klinikaya cavab, müsahibəyə məşq, yol xəritəsi */
.coach-list { display: grid; gap: 8px; }
.coach-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; font: inherit; }
.coach-item:hover { background: var(--brand-50); border-color: var(--brand); }
.coach-item > .i:first-child { color: var(--brand); flex: none; }
.coach-item span { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.coach-item small { color: var(--muted); font-size: 12.5px; }
.cr-intents { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.cr-int { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); }
.cr-int:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.cr-int input { margin-top: 3px; accent-color: var(--brand); }
.cr-int span { display: flex; flex-direction: column; gap: 2px; }
.cr-int small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.cr-pre { white-space: pre-wrap; border: 1px solid var(--line); background: var(--surface-2, var(--surface)); border-radius: 12px; padding: 12px 14px; margin-top: 12px; font-size: 14px; line-height: 1.55; max-height: 320px; overflow: auto; }
.iv-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--surface); }
.iv-q { font-size: 17px; font-weight: 700; }
.iv-a { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.iv-tip { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13px; color: var(--ink-2); background: var(--brand-50); border-radius: 10px; padding: 8px 10px; }
.iv-tip .i { color: var(--gold, #d97706); flex: none; margin-top: 2px; }
.rm-g { margin-top: 14px; }
.rm-i { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-2, var(--line)); }
.rm-i:last-child { border-bottom: 0; }
.rm-chk { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--surface); color: var(--faint, #94a3b8); display: grid; place-items: center; cursor: pointer; }
.rm-i.on .rm-chk { background: var(--ok, #16a34a); border-color: var(--ok, #16a34a); color: #fff; }
.rm-i.on .rm-t b { text-decoration: line-through; color: var(--muted); }
.rm-t { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; min-width: 0; }
.rm-t .btn.xs { padding: 4px 10px; font-size: 12px; }

/* Profil şəkli və "əvvəlcə profili doldur" kartı */
.pf-photo { display: flex; gap: 16px; align-items: center; }
.pf-ph { flex: none; width: 96px; height: 120px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; color: var(--faint); }
.pf-ph img { width: 100%; height: 100%; object-fit: cover; }
.pf-ph .i { width: 34px; height: 34px; }
.pf-photo-txt { min-width: 0; flex: 1; }
.onboard { border: 1.5px solid var(--brand); background: linear-gradient(135deg, var(--brand-50), var(--surface)); }
.onboard-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.onboard-txt { flex: 1; min-width: 200px; }
.csrc { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
@media (max-width: 520px) {
  .pf-photo { align-items: flex-start; }
  .pf-ph { width: 76px; height: 96px; }
  .onboard-row .btn { width: 100%; justify-content: center; }
}

/* ── "⋯" menyusu (izləmə sətri) ── */
details.kebab { position: relative; }
details.more > summary { list-style: none; cursor: pointer; }
details.more > summary::-webkit-details-marker { display: none; }
details.kebab[open] > summary { background: var(--surface-3); }
.more-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; min-width: 210px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-md, 0 12px 32px -12px rgba(15, 23, 42, .35)); display: flex; flex-direction: column; }
.more-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 550; text-align: left; cursor: pointer; }
.more-item:hover { background: var(--surface-3); }
.more-item .i { color: var(--muted); flex: none; }
.more-item.danger, .more-item.danger .i { color: var(--bad, #dc2626); }

/* ── MOBİL (2026-10-15): telefonda səliqəli, peşəkar görünüş ── */
@media (max-width: 760px) {
  /* Məlumat kartları tək sütun (mətn sıxılmasın, düymələr kəsilməsin); statistika 2 sütun */
  .grid.cols-2, .grid.cols-3, .send-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* "nowrap" sıralar (ikon + mətn + düymə) telefonda sarınsın, düymə tam enli */
  .rw-tip > .row, .gmail-tip > .row { flex-wrap: wrap !important; }
  .rw-tip > .row > div:not(.tile-ico), .gmail-tip > .row > div:not(.tile-ico) { flex: 1 1 calc(100% - 64px) !important; min-width: 0; }
  .rw-tip > .row > .btn, .gmail-tip > .row > .btn { flex: 1 1 100%; justify-content: center; }
  .btn { max-width: 100%; }
  .btn.block { white-space: normal; text-align: center; line-height: 1.25; min-height: 44px; height: auto; padding-top: 10px; padding-bottom: 10px; }
  /* Başlıq */
  .page-head { gap: 12px; }
  .page-head .actions { width: 100%; }
  .page-head .actions .btn { flex: 1 1 auto; justify-content: center; }
  /* İzləmə sətri */
  .titem .tacts { padding-left: 0; gap: 8px; align-items: center; }
  .titem .tacts > .btn { flex: 1 1 0; justify-content: center; min-width: 0; }
  .titem .addr { word-break: break-all; }
  .seg { display: flex; width: 100%; max-width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: none; }
  /* Panel */
  .howto-card { display: none; }
  .stat .stat-label { font-size: 12.5px; line-height: 1.3; }
  /* Hesab: əlavə vaxt kartının nişanı */
  .guar-seal { display: none; }
  .plan-title { font-size: 20px; }
  /* Profil: böyük dairə başlıqda kiçik olsun, saxlama paneli yığcam */
  .page-head .ring { width: 64px; height: 64px; }
  .page-head .ring::after { width: 50px; height: 50px; font-size: 14px; }
  .savebar { padding: 10px 12px; gap: 10px; }
  .savebar .bar { display: none; }
  .savebar .btn { height: 40px; padding: 0 16px; }
  /* Şablonlar və uzun mətnlər */
  .tpl-body, .quote { word-break: break-word; }
  .contact .addr { word-break: break-all; }
  .contact .cmeta { flex-wrap: wrap; row-gap: 6px; }
  /* Pəncərə düymələri bərabər */
  .modal-foot { gap: 8px; }
  .modal-foot .btn { min-width: 0; }
}
@media (max-width: 380px) {
  .page { padding-left: 12px; padding-right: 12px; }
  .stepper { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .bn-item { font-size: 10px; }
  .titem .tacts > .btn { font-size: 12.5px; padding: 0 8px; }
}

/* Açılış ekranı: yalnız loqo + fırlanan işarə; mətn axtarış botları üçün qalır, görünmür */
.boot .boot-seo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ── HƏRƏKƏT QATI (2026-10-15): yüngül, yalnız transform/opacity — sürəti azaltmır ── */
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
.ring { animation: ringfill 1.1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ringfill { from { --p: 0; } }
/* siyahılar: elementlər növbə ilə görünür (səhifə açılanda) */
#view.enter .clist > * { animation: viewIn .34s cubic-bezier(.2, .7, .2, 1) both; }
#view.enter .clist > *:nth-child(2) { animation-delay: .04s; } #view.enter .clist > *:nth-child(3) { animation-delay: .08s; }
#view.enter .clist > *:nth-child(4) { animation-delay: .12s; } #view.enter .clist > *:nth-child(5) { animation-delay: .16s; }
#view.enter .clist > *:nth-child(n+6) { animation-delay: .2s; }
/* düymələr: basanda yay kimi */
.btn, .icon-btn, .coach-item, .chip, .bn-item { transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), background-color .15s, box-shadow .2s, color .15s; }
.btn:active:not(:disabled), .icon-btn:active, .chip:active, .coach-item:active { transform: scale(.96); }
@media (pointer: fine) { .coach-item:hover { transform: translateX(3px); } .cr-int:hover { border-color: var(--brand); } }
/* ⋯ menyusu və seçimlər */
details.kebab[open] .more-pop { animation: pop .16s ease-out; transform-origin: top right; }
.cr-int { transition: border-color .15s, background-color .15s, transform .15s; }
.cr-int:has(input:checked) { transform: scale(1.01); }
.rm-chk { transition: background-color .2s, border-color .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.rm-i.on .rm-chk { transform: scale(1.08); }
.iv-card { animation: viewIn .3s cubic-bezier(.2, .7, .2, 1); }
/* alt menyu: aktiv səhifənin arxasında yumşaq işıq */
.bn-item::before { content: ''; position: absolute; inset: 2px 14%; border-radius: 12px; background: var(--brand-50); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s cubic-bezier(.3, 1.4, .5, 1); z-index: -1; }
.bn-item.on::before { opacity: 1; transform: none; }
.bn-item { isolation: isolate; }
/* telefonda pəncərələr aşağıdan sürüşüb açılır */
@media (max-width: 640px) { dialog.modal.wide[open] { animation: sheetup .3s cubic-bezier(.2, .8, .2, 1); } }
@keyframes sheetup { from { transform: translateY(40px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  .ring, #view.enter .clist > *, details.kebab[open] .more-pop, .iv-card, dialog.modal.wide[open] { animation: none !important; }
  .btn, .icon-btn, .coach-item, .chip, .bn-item, .rm-chk, .cr-int { transition: none !important; }
}
