/* Shared header, footer and auth styling for every page of the site.
   Theme is one decision for the whole site: `data-theme` on <html> is always
   present (site.js writes it before first paint), so a page never has to guess.
   The tokens are namespaced with --site-* so a page can keep its own palette
   underneath — the workbench stays a workbench, the blog stays a blog. */
:root, :root[data-theme="light"] {
  --site-bg:#FFFFFF;
  --site-ink:#172033;
  --site-ink-2:#64748B;
  --site-border:#E2E8F0;
  --site-brand:#2563EB;
  --site-brand-ink:#FFFFFF;
  --site-soft:#F1F5F9;
  --site-footer:#F8FBFC;
  --site-footer-ink:#526B79;
}
:root[data-theme="dark"] {
  --site-bg:#0E1718;
  --site-ink:#E6F1F2;
  --site-ink-2:#93A7A9;
  --site-border:#253031;
  --site-brand:#29E3E3;
  --site-brand-ink:#04201F;
  --site-soft:#141F20;
  --site-footer:#070B12;
  --site-footer-ink:#8B95A5;
}

/* The chrome sits on top of pages with their own link and text rules (the
   workbench underlines every anchor), so it restates the basics itself. */
.site-head, .site-foot {
  font-family:'Vazirmatn','IRANSans',Tahoma,sans-serif;
  direction:rtl; text-align:right; box-sizing:border-box;
}
:root[lang="en"] .site-head, :root[lang="en"] .site-foot { direction:ltr; text-align:left; }
.site-head *, .site-foot * { box-sizing:border-box; }
.site-head a, .site-foot a { text-decoration:none; }
.site-head a:hover, .site-foot a:hover { text-decoration:none; }
.site-account-menu{position:relative}
.site-account-menu summary{list-style:none;cursor:pointer}
.site-account-menu summary::-webkit-details-marker{display:none}
.site-account-panel{position:absolute;inset-inline-end:0;top:calc(100% + 9px);width:210px;padding:7px;background:var(--site-bg);border:1px solid var(--site-border);border-radius:14px;box-shadow:0 18px 45px rgba(15,23,42,.15);display:grid;z-index:90}
.site-account-panel a,.site-account-panel button{display:block;border:0;background:transparent;color:var(--site-ink);font:700 13px/1.8 'Vazirmatn','IRANSans',Tahoma,sans-serif;text-align:start;padding:9px 11px;border-radius:9px;cursor:pointer}
.site-account-panel a:hover,.site-account-panel button:hover{background:var(--site-soft);color:var(--site-brand)}

.site-head {
  position:sticky; top:0; z-index:60; background:var(--site-bg);
  border-bottom:1px solid var(--site-border);
}
.site-trial {
  width:100%; padding:6px 16px; text-align:center;
  color:var(--site-brand); background:color-mix(in srgb, var(--site-brand) 14%, var(--site-bg));
  border-bottom:1px solid color-mix(in srgb, var(--site-brand) 22%, transparent);
  font-size:12px; font-weight:800;
}
.site-head .row {
  display:flex; align-items:center; gap:24px; height:64px;
  max-width:1200px; margin:0 auto; padding:0 24px;
}
@media (max-width:640px) { .site-head .row { height:56px; padding:0 16px; gap:12px; } }
.site-logo { display:flex; align-items:center; gap:8px; font-weight:800; font-size:18px; color:var(--site-ink); flex:none; }
.site-logo img { height:24px; }
.site-nav { display:flex; gap:20px; }
.site-nav a { font-size:14.5px; color:var(--site-ink-2); position:relative; padding:4px 2px; white-space:nowrap; transition:color .16s; }
.site-nav a:hover { color:var(--site-ink); }
.site-nav a[aria-current="page"] { color:var(--site-brand); font-weight:700; }
.site-nav a[aria-current="page"]::after {
  content:''; position:absolute; inset:auto 0 -2px 0; height:2px;
  background:var(--site-brand); border-radius:2px;
}
.site-head .sp { flex:1; }
.site-tools { display:flex; align-items:center; gap:8px; flex:none; }

/* The two switches and the login button share one shape. */
.site-icon {
  width:38px; height:38px; border-radius:10px; flex:none; padding:0;
  border:1px solid var(--site-border); background:transparent; cursor:pointer;
  display:flex; align-items:center; justify-content:center; color:var(--site-ink);
}
.site-icon:hover { border-color:var(--site-brand); color:var(--site-brand); }
.site-icon svg { width:18px; height:18px; }
.site-icon.wide { width:auto; gap:6px; padding:0 11px; font-size:13px; font-weight:700; }
.site-cta {
  height:38px; padding:0 18px; border-radius:10px; border:none; cursor:pointer;
  background:var(--site-brand); color:var(--site-brand-ink);
  font-size:14px; font-weight:700; font-family:inherit;
  display:flex; align-items:center;
}
.site-cta:hover { filter:brightness(.94); }
.site-signup {
  min-height:38px; padding:0 14px; border-radius:10px;
  border:1px solid var(--site-border); background:transparent;
  color:var(--site-ink); cursor:pointer;
  font-size:12px; font-weight:700; display:flex; align-items:center; white-space:nowrap;
  font-family:inherit;
}
.site-signup:hover { border-color:var(--site-brand); color:var(--site-brand); }
.site-burger { display:none; }
/* A long account name must not push the header wider than the page. */
.site-head .row .site-cta { max-width:220px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; display:block; line-height:38px; }
@media (max-width:1180px) {
  /* Only the button in the top row goes away; the drawer keeps its own. */
  .site-nav, .site-head .row .site-cta, .site-head .row .site-signup { display:none; }
  .site-burger { display:flex; }
}

.site-mobile { display:none; background:var(--site-bg); border-top:1px solid var(--site-border); }
.site-mobile.open { display:block; }
.site-mobile a {
  display:block; padding:13px 24px; line-height:1.7; color:var(--site-ink);
  border-bottom:1px solid var(--site-border); font-size:15px;
}
.site-mobile a[aria-current="page"] { color:var(--site-brand); font-weight:700; }
.site-mobile .site-cta { margin:14px 24px 18px; width:calc(100% - 48px); justify-content:center; }
.site-mobile .site-signup { margin:0 24px 18px; width:calc(100% - 48px); justify-content:center; text-align:center; }

/* ---------------- footer ---------------- */
.site-foot {
  background:var(--site-footer); color:var(--site-footer-ink); padding:52px 0 26px;
  line-height:2;
}
.site-foot .inner { max-width:1200px; margin:0 auto; padding:0 24px; }
@media (max-width:640px) { .site-foot .inner { padding:0 16px; } }
.site-foot .cols { display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:32px; }
@media (max-width:860px) { .site-foot .cols { grid-template-columns:1fr; gap:24px; } }
.site-foot h4 { color:var(--site-ink); font-size:14px; margin:0 0 12px; }
.site-foot a, .site-foot p { font-size:13.5px; color:var(--site-footer-ink); }
.site-foot .cols a { display:block; }
.site-foot a:hover { color:var(--site-brand); }
.site-foot .brand { display:flex; align-items:center; gap:8px; color:var(--site-ink); font-weight:800; font-size:17px; margin-bottom:10px; }
.site-foot .brand img { height:22px; }
.site-foot .site-enamad {
  display:inline-flex; width:125px; height:136px; border-radius:12px; margin-top:16px;
  background:url('/assets/assets/home-page/enamad-official.png') center/contain no-repeat;
}
.site-foot .site-enamad img { width:125px; height:136px; object-fit:contain; cursor:pointer; }
.site-about { margin-top:30px; font-size:13px; max-width:900px; }
/* The disclaimer is plain text; only its label carries the warning colour. */
.site-disclaimer { margin-top:12px; font-size:12.5px; line-height:2.05; max-width:900px; }
.site-disclaimer b { color:#F0A0A6; font-weight:700; }
.site-copy {
  margin-top:28px; padding-top:18px; border-top:1px solid var(--site-border);
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:12.5px;
}

/* ---------------- auth page ---------------- */
.auth-wrap {
  max-width:1060px; margin:0 auto; padding:56px 24px 80px;
  display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:stretch;
}
@media (max-width:860px) { .auth-wrap { grid-template-columns:1fr; padding:32px 16px 56px; } }
.auth-card {
  background:var(--site-bg); border:1px solid var(--site-border);
  border-radius:18px; padding:28px;
}
.auth-card.glow {
  border-color:color-mix(in srgb, var(--site-brand) 45%, var(--site-border));
  background:linear-gradient(160deg,
    color-mix(in srgb, var(--site-brand) 9%, var(--site-bg)), var(--site-bg));
  text-align:center;
}
@media (max-width:860px) { .auth-card.glow { display:none; } }
/* The form card is centred: mark, heading and field labels all sit on the
   same middle line. Only the inputs keep their own direction. */
.auth-card { text-align:center; }
.auth-logo { display:flex; align-items:center; justify-content:center; gap:9px;
  font-weight:800; font-size:20px; color:var(--site-ink); margin-bottom:26px; }
.auth-logo img { height:26px; }
.auth-card h1 { font-size:27px; font-weight:800; margin:0 0 24px; color:var(--site-ink); }
.auth-card h1:not(:last-child) { margin-bottom:8px; }
.auth-card .sub { color:var(--site-ink-2); font-size:14.5px; margin:0 0 24px; }
.auth-card form { text-align:center; }
/* The mode swap is a fade-and-slide, like the AnimatedSwitcher in Dart. */
.auth-swap { animation:authIn .28s cubic-bezier(.22,.9,.3,1); }
@keyframes authIn { from { opacity:0; transform:translateX(6px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { .auth-swap { animation:none; } }

.auth-field { margin-bottom:14px; }
.auth-field label { display:block; font-size:13px; color:var(--site-ink-2); margin-bottom:6px; text-align:center; }
.auth-input { position:relative; display:flex; align-items:center; }
.auth-input svg { position:absolute; inset-inline-start:13px; width:18px; height:18px; color:var(--site-ink-2); pointer-events:none; }
.auth-input input {
  width:100%; height:52px; padding-inline:42px 14px; border-radius:12px;
  border:1px solid var(--site-border); background:var(--site-soft); color:var(--site-ink);
  font-family:inherit; font-size:15px;
}
.auth-input input:focus { outline:none; border-color:var(--site-brand); }
.auth-input input.ltr { direction:ltr; text-align:start; letter-spacing:.04em; }
.auth-error { color:#E5484D; font-size:13.5px; margin:0 0 4px; min-height:20px; }
.auth-submit {
  width:100%; height:52px; border:none; border-radius:12px; cursor:pointer;
  background:linear-gradient(120deg, var(--site-brand), color-mix(in srgb, var(--site-brand) 55%, #7C5CFF));
  color:var(--site-brand-ink); font-family:inherit; font-size:15.5px; font-weight:800;
  display:flex; align-items:center; justify-content:center; gap:10px;
}
.auth-submit:hover { filter:brightness(1.06); }
.auth-submit[disabled] { cursor:default; filter:none; opacity:.75; }
.auth-spin {
  width:18px; height:18px; border-radius:50%; border:2px solid currentColor;
  border-top-color:transparent; animation:authSpin .8s linear infinite;
}
@keyframes authSpin { to { transform:rotate(360deg); } }
.auth-modes { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:16px; }
.auth-modes button {
  background:none; border:none; cursor:pointer; font-family:inherit; font-size:13.5px;
  color:var(--site-brand); padding:7px 10px; border-radius:8px;
}
.auth-modes button:hover { background:var(--site-soft); }
.auth-note { margin-top:14px; font-size:12.5px; color:var(--site-ink-2); text-align:center; }
/* The mark leads the panel, so it is deliberately larger than the one on the
   form card next to it. */
.auth-brand { display:flex; justify-content:center; }
.auth-brand img { height:130px; width:auto; }
@media (max-width:1000px) { .auth-brand img { height:104px; } }
.auth-card.glow h2 { font-size:26px; font-weight:900; margin:26px 0 10px; color:var(--site-ink); }
.auth-card.glow p { color:var(--site-ink-2); line-height:1.9; font-size:14px; margin:0; }
.auth-crowd { font-size:17px !important; font-weight:700; color:var(--site-brand) !important; }
.auth-spark { margin-top:24px; width:100%; height:56px; }

/* ---------------- page information ----------------
   Plain text in each page's own HTML: what the page is, how its numbers are
   made, a few questions and the risk note, readable before (and without)
   JavaScript. It sits under the page's app, above the footer. Persian
   always: the section carries its own lang and dir, so the EN toggle (which
   flips the chrome only) leaves it as it is. The methodology and risk pages
   are made of the same pieces (.site-doc). */
.site-info {
  font-family:'Vazirmatn','IRANSans',Tahoma,sans-serif; direction:rtl; text-align:right;
  background:var(--site-bg); color:var(--site-ink); border-top:1px solid var(--site-border);
  line-height:2; -webkit-font-smoothing:antialiased;
}
.site-info *, .site-info *::before, .site-info *::after { box-sizing:border-box; }
/* The whole page's width (the owner, 27 October 2026: «اینارو اندازه کل صفحه بکن، در هر صفحه‌ای که وجود داره»):
   no 1200 px frame and no 860 px text column any more, only the page gutter. */
.site-info .inner { max-width:none; margin:0; padding:40px 24px 44px; }
@media (max-width:640px) { .site-info .inner { padding:28px 16px 32px; } }
.site-info .site-info-body { max-width:none; }
.site-info .site-eyebrow { display:block; margin:0 0 4px; color:var(--site-brand); font-size:13px; font-weight:700; }
.site-info h1 { margin:0 0 12px; color:var(--site-ink); font-size:24px; line-height:1.65; font-weight:800; }
.site-info h2 { margin:30px 0 12px; color:var(--site-ink); font-size:18px; line-height:1.7; font-weight:800; }
.site-info h3 { margin:20px 0 6px; color:var(--site-ink); font-size:15.5px; line-height:1.8; font-weight:800; }
@media (max-width:640px) { .site-info h1 { font-size:20px; } .site-info h2 { font-size:17px; } }
.site-info p, .site-info li, .site-info dd { margin:0 0 12px; color:var(--site-ink-2); font-size:15px; line-height:2.05; }
.site-info ul, .site-info ol { margin:0 0 14px; padding-inline-start:22px; }
.site-info li { margin-bottom:6px; }
.site-info b, .site-info strong { color:var(--site-ink); }
.site-info a { color:var(--site-brand); text-decoration:underline; text-underline-offset:3px; }
.site-info a:hover { text-decoration-thickness:2px; }
.site-info a:focus-visible, .site-info summary:focus-visible {
  outline:2px solid var(--site-brand); outline-offset:2px; border-radius:6px;
}
.site-info .site-latin { direction:ltr; unicode-bidi:isolate; }
/* A link to a heading here (methodology.html#copytrade, …) lands below the
   sticky header (65 px, 57 on phones), not under it. */
.site-info [id] { scroll-margin-top:80px; }
.site-info .site-info-links { display:flex; flex-wrap:wrap; gap:6px 20px; margin:2px 0 0; font-size:14px; font-weight:700; }
.site-info .site-info-links a { text-decoration:none; }
.site-info .site-info-links a:hover { text-decoration:underline; }
.site-info details {
  margin:0 0 10px; border:1px solid var(--site-border); border-radius:12px; background:var(--site-soft);
}
.site-info summary {
  position:relative; display:block; cursor:pointer; list-style:none;
  padding:12px 16px; padding-inline-start:42px;
  color:var(--site-ink); font-size:15px; font-weight:700; line-height:1.8;
}
.site-info summary::-webkit-details-marker { display:none; }
.site-info summary::before {
  content:'+'; position:absolute; inset-inline-start:14px; top:12px; width:18px; text-align:center;
  color:var(--site-brand); font-size:18px; font-weight:700; line-height:1.5;
}
.site-info details[open] > summary::before { content:'−'; }
.site-info details > p { margin:0; padding:0 16px 14px; }
.site-info .site-risk {
  margin:26px 0 0; padding:14px 16px; border-radius:12px;
  border:1px solid color-mix(in srgb, #D97706 40%, var(--site-border)); border-inline-start:4px solid #D97706;
  background:color-mix(in srgb, #D97706 7%, var(--site-bg));
}
.site-info .site-risk p { margin:0 0 6px; color:var(--site-ink); font-size:14px; }
.site-info .site-risk p:last-child { margin-bottom:0; }
.site-info .site-risk b { color:#B45309; }
:root[data-theme="dark"] .site-info .site-risk b { color:#F5B85A; }
.site-info .site-updated { margin:0 0 18px; color:var(--site-ink-2); font-size:13px; }
.site-info dl { margin:0 0 16px; border:1px solid var(--site-border); border-radius:12px; overflow:hidden; }
.site-info dl > div { padding:12px 16px; border-top:1px solid var(--site-border); }
.site-info dl > div:first-child { border-top:0; }
.site-info dt { margin:0 0 2px; color:var(--site-ink); font-size:14.5px; font-weight:800; }
.site-info dd { margin:0; font-size:14.5px; }
/* A whole page of it (methodology.html, risk.html): the page's own ground. */
body.site-doc { margin:0; background:var(--site-bg); color:var(--site-ink); }
body.site-doc .site-info { border-top:0; }
body.site-doc .site-info .inner { padding-top:32px; }
/* Until a tab's app has drawn itself (its container still empty), it keeps
   the first screen, so the page information under it does not show at the
   top for a moment and then jump down. Scripting only: without JavaScript
   the information is what the page has to show. */
@media (scripting: enabled) {
  .ct-page:empty, .g-page > .g-content:empty { min-height:calc(100vh - 64px); }
}
@media (scripting: enabled) and (max-width:640px) {
  .ct-page:empty, .g-page > .g-content:empty { min-height:calc(100vh - 56px); }
}

/* ---------------- «سایر خدمات» (svcnav-20261107-1) ----------------
   A native <details> in the top row (its panel floats under it, so the header keeps its height: map-tour.js measures
   it) and in the phone menu (a row whose links open under it). It works without JavaScript (the baked crawler line uses
   the same markup); site.js siteWireMore() closes the top-row one on a press outside, Escape or a chosen link and opens
   it on hover with a mouse. */
.site-nav { align-items:center; }
.site-more { position:relative; }
.site-more > summary {
  list-style:none; cursor:pointer; -webkit-user-select:none; user-select:none;
  display:flex; align-items:center; gap:6px;
}
.site-more > summary::-webkit-details-marker { display:none; }
.site-more > summary::marker { content:''; }
.site-more > summary::after {
  content:''; flex:none; width:6px; height:6px; margin-top:-3px;
  border:solid currentColor; border-width:0 1.6px 1.6px 0; transform:rotate(45deg);
  transition:transform .16s, margin .16s;
}
.site-more[open] > summary::after { transform:rotate(-135deg); margin-top:3px; }
@media (prefers-reduced-motion:reduce) { .site-more > summary::after { transition:none; } }
.site-more > summary:focus-visible, .site-more-panel a:focus-visible {
  outline:2px solid var(--site-brand); outline-offset:2px; border-radius:6px;
}
/* the top row: the title reads as one of the links */
.site-nav .site-more > summary {
  position:relative; padding:4px 2px; font-size:14.5px; color:var(--site-ink-2); white-space:nowrap; transition:color .16s;
}
.site-nav .site-more > summary:hover, .site-nav .site-more[open] > summary { color:var(--site-ink); }
.site-nav .site-more > summary.is-current { color:var(--site-brand); font-weight:700; }
.site-nav .site-more > summary.is-current::before {
  content:''; position:absolute; inset:auto 0 -2px 0; height:2px; background:var(--site-brand); border-radius:2px;
}
.site-nav .site-more-panel {
  position:absolute; top:calc(100% + 12px); inset-inline-start:-12px; z-index:70;
  min-width:230px; padding:6px; display:grid; gap:2px;
  background:var(--site-bg); border:1px solid var(--site-border); border-radius:12px;
  box-shadow:0 14px 34px -14px rgba(15,23,42,.30), 0 2px 6px rgba(15,23,42,.06);
}
:root[data-theme="dark"] .site-nav .site-more-panel { box-shadow:0 16px 36px -12px rgba(0,0,0,.7); }
/* the 12 px between the title and the panel belong to the panel: a mouse crossing them stays in the group */
.site-nav .site-more-panel::before { content:''; position:absolute; inset:-13px 0 auto 0; height:13px; }
.site-nav .site-more-panel a {
  display:block; padding:10px 12px; border-radius:8px; font-size:14px; line-height:1.6; color:var(--site-ink);
}
.site-nav .site-more-panel a:hover { color:var(--site-ink); background:var(--site-soft); }
.site-nav .site-more-panel a[aria-current="page"] { color:var(--site-brand); font-weight:700; background:var(--site-soft); }
.site-nav .site-more-panel a[aria-current="page"]::after { content:none; }
/* while it is open the header sits above the page's own layers (the map's reach z-index 1000) */
.site-head.more-open { z-index:1001; }
/* a signed-in visitor's name chip (up to 220 px) gives way with its ellipsis before the top row overflows: the group
   makes the row about 47 px wider, and production's row already overflowed by 11 px with the longest names */
@media (min-width:1181px) {
  .site-head .row .site-tools { flex:0 1 auto; min-width:0; }
  .site-head .row .site-cta { flex:0 1 auto; min-width:72px; }
}
/* the phone menu: a row like the others; its links indented under it */
.site-mobile .site-more { border-bottom:1px solid var(--site-border); }
.site-mobile .site-more > summary {
  justify-content:space-between; padding:13px 24px; line-height:1.7; font-size:15px; color:var(--site-ink);
}
.site-mobile .site-more > summary.is-current { color:var(--site-brand); font-weight:700; }
.site-mobile .site-more-panel { background:var(--site-soft); border-top:1px solid var(--site-border); }
.site-mobile .site-more-panel a { padding-inline-start:40px; font-size:14.5px; }
.site-mobile .site-more-panel a:last-child { border-bottom:0; }
/* the footer's fifth column «سایر خدمات» (one column under 861 px, as before) */
@media (min-width:861px) { .site-foot .cols { grid-template-columns:1.5fr 1fr 1fr 1.15fr 1.2fr; gap:28px; } }

/* ---------------- the homepage's header on every page (headerall-20261114-1) ----------------
   The owner, 14 Nov 2026: «هدر هوم پیج باید در همه صفحات تکرار بشه». site.js draws the homepage's header
   (index.html #site-header) and drawer (#cfx-drawer) with the same markup; these are home.css's own rules for them
   (home.6dde43ba.css, its #cfx-home scope → .cfx-hh / .cfx-hh-drw), its tokens and its font file, plus the homepage's
   inline mobile-header-v1 and cfx-more rules. Not the homepage's: the header stays sticky (these pages' tool bars and
   pop-ups measure header.site-head), the theme/language switches (.hh-tools from 1260 px, .drw-tools below), the trial
   line, and a dark variant (the homepage is light only). --site-head-h is its height for the pages' full-screen parts. */
@font-face{font-family:'CfxHome';font-style:normal;font-weight:100 900;font-display:swap;src:url(/home/fonts/vazirmatn.b738330e.woff2) format('woff2');unicode-range:U+0020-007E,U+00A0-00FF,U+0600-06FF,U+200C-200F,U+2010-2027,U+2030-205E,U+2066-2069,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+2248,U+2260,U+2264-2265,U+25CC,U+FFFD}
@font-face{font-family:'CfxHome Fallback';src:local('Tahoma'),local('Arial');size-adjust:92.93%;ascent-override:110.83%;descent-override:58.11%;line-gap-override:0%}
:root{--site-head-h:84px}
@media (max-width:520px){:root{--site-head-h:68px}}
.cfx-hh,.cfx-hh-drw{--primary:#1769FF;--turq:#19C9C3;--grad:linear-gradient(270deg,#1769FF 0%,#22C7C7 100%);--hh-page:#FFFFFF;--tint:#EEF4FF;--border:#E4ECF7;--text:#0B1B3A;--primary-text:#1665F6;--navy:#071A3D;--r-inner:14px;--sh-raised:0 1px 2px rgba(11,27,58,.04),0 20px 44px -26px rgba(23,105,255,.34);
  --hh-bar:rgba(255,255,255,.78);--hh-line:rgba(228,236,247,.9);--hh-link:#33415C;--hh-card:#fff;--hh-brand-fx:var(--primary);
  font-family:"CfxHome","CfxHome Fallback",Tahoma,sans-serif;font-size:17px;line-height:1.85;color:var(--text);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;direction:rtl;text-align:right}
:root[data-theme="dark"] .cfx-hh,:root[data-theme="dark"] .cfx-hh-drw{--primary:#4D8DFF;--hh-page:#0E1718;--tint:rgba(41,227,227,.12);--border:#253031;--text:#E6F1F2;--primary-text:#29E3E3;
  --sh-raised:0 16px 36px -12px rgba(0,0,0,.7);--hh-bar:rgba(20,31,32,.78);--hh-line:#253031;--hh-link:#A9BCBE;--hh-card:#141F20;--hh-brand-fx:#29E3E3}
:root[lang="en"] .cfx-hh,:root[lang="en"] .cfx-hh-drw{direction:ltr;text-align:left}
.cfx-hh,.cfx-hh *,.cfx-hh-drw,.cfx-hh-drw *{box-sizing:border-box;margin:0;padding:0}
/* the homepage's pseudo-elements are content-box (a page may set border-box on every ::after: the market pages do) */
html body .cfx-hh *::before,html body .cfx-hh *::after,html body .cfx-hh-drw *::before,html body .cfx-hh-drw *::after{box-sizing:content-box}
.cfx-hh img,.cfx-hh-drw img{display:block;max-width:100%}
.cfx-hh a,.cfx-hh-drw a,.cfx-hh a:hover,.cfx-hh-drw a:hover{color:inherit;text-decoration:none}
.cfx-hh picture,.cfx-hh-drw picture{display:contents}
.cfx-hh picture>source,.cfx-hh-drw picture>source{display:none}
.cfx-hh a,.cfx-hh button,.cfx-hh summary,.cfx-hh-drw a,.cfx-hh-drw button,.cfx-hh-drw summary{-webkit-tap-highlight-color:transparent}
.cfx-hh button,.cfx-hh-drw button{font-family:inherit}
.cfx-hh :focus-visible,.cfx-hh-drw :focus-visible{outline:2px solid var(--primary);outline-offset:2px}
/* the bar (sticky here; the page's colour under the homepage's translucent white, so it reads the same on any page) */
header.site-head.cfx-hh{position:sticky;top:0;z-index:60;background:var(--hh-page);border-bottom:0}
header.site-head.cfx-hh.more-open{z-index:1001}
.cfx-hh .wrap{max-width:1248px;margin:0 auto;padding:0 24px;position:relative;z-index:2}
.cfx-hh .hdr-in{display:flex;align-items:center;gap:28px;height:84px;border-bottom:1px solid var(--hh-line)}
.cfx-hh .hdr-bar{background:var(--hh-bar);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.cfx-hh .brand,.cfx-hh-drw .brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px;color:var(--text);direction:ltr;position:relative;flex:none}
.cfx-hh .brand img,.cfx-hh-drw .brand img{width:64px;height:25px}
.cfx-hh .brand b,.cfx-hh-drw .brand b{font-weight:800;letter-spacing:-.01em}
.cfx-hh .brand b span,.cfx-hh-drw .brand b span{color:var(--hh-brand-fx)}
.cfx-hh .brand::after{content:"";position:absolute;left:0;right:0;top:50%;height:48px;transform:translateY(-50%)}
.cfx-hh .nav{display:flex;align-items:center;gap:4px;margin-inline-start:12px;flex:1}
.cfx-hh .nav a{position:relative;padding:8px 12px;border-radius:10px;font-size:15px;font-weight:600;color:var(--hh-link);display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.cfx-hh .nav a::after{content:"";position:absolute;left:0;right:0;top:50%;height:48px;transform:translateY(-50%)}
.cfx-hh .nav a[aria-current="page"]{color:var(--primary-text);background:var(--tint)}
.site-new-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:17px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;font-size:9px;font-weight:900;line-height:1;vertical-align:middle;box-shadow:0 2px 7px rgba(220,38,38,.22)}
.cfx-hh .btn,.cfx-hh-drw .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:54px;padding:0 26px;border-radius:14px;font-weight:700;font-size:16px;white-space:nowrap;border:1px solid transparent;font-family:inherit;line-height:1.85;cursor:pointer}
.cfx-hh .btn.pri,.cfx-hh-drw .btn.pri{background:var(--grad);color:#fff;box-shadow:0 14px 28px -12px rgba(23,105,255,.6)}
.cfx-hh .btn.sec,.cfx-hh-drw .btn.sec{background:var(--hh-card);color:var(--text);border-color:var(--border);box-shadow:0 8px 20px -14px rgba(11,27,58,.25)}
.cfx-hh .btn.sm{height:44px;padding:0 18px;font-size:15px;border-radius:12px}
.cfx-hh .hdr-act{display:flex;gap:10px;align-items:center}
.cfx-hh .hdr-act .btn{position:relative}
.cfx-hh .hdr-act .btn::after{content:"";position:absolute;left:0;right:0;top:50%;height:48px;transform:translateY(-50%)}
.cfx-hh .acct{max-width:180px}
.cfx-hh .acct-n,.cfx-hh-drw .acct-n{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cfx-hh #hdr-ct{display:none}
@media (min-width:1260px){.cfx-hh.hh-in #hdr-signup{display:none}}
.cfx-hh .burger{display:none;flex:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--border);background:var(--hh-card);place-items:center;cursor:pointer;padding:0}
.cfx-hh .burger i{display:block;width:18px;height:2px;background:var(--text);border-radius:2px;box-shadow:0 6px 0 var(--text),0 -6px 0 var(--text)}
/* the two switches (not on the homepage): from 1260 px, in the burger's look */
.cfx-hh .hh-tools{display:flex;gap:8px;align-items:center;flex:none}
.cfx-hh .hh-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid var(--border);background:var(--hh-card);color:var(--text);cursor:pointer;padding:0}
.cfx-hh .hh-ic svg{width:18px;height:18px}
.cfx-hh .hh-ic.hh-lang{display:flex;gap:5px;width:auto;padding:0 10px;font-size:13px;font-weight:700}
/* «سایر خدمات» (the homepage's cfx-more) */
.cfx-hh .nav-more{position:relative}
.cfx-hh .nav-more>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:10px;font-size:15px;font-weight:600;color:var(--hh-link);white-space:nowrap;-webkit-user-select:none;user-select:none}
.cfx-hh .nav-more>summary::-webkit-details-marker,.cfx-hh-drw .drw-more summary::-webkit-details-marker{display:none}
.cfx-hh .nav-more>summary::marker,.cfx-hh-drw .drw-more summary::marker{content:""}
.cfx-hh .nav-more>summary::after,.cfx-hh-drw .drw-more summary::after{content:"";flex:none;width:6px;height:6px;margin-top:-3px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);transition:transform .16s,margin .16s}
.cfx-hh .nav-more[open]>summary::after,.cfx-hh-drw .drw-more details[open]>summary::after{transform:rotate(-135deg);margin-top:3px}
.cfx-hh .nav-more[open]>summary,.cfx-hh .nav-more>summary.is-current{color:var(--primary-text);background:var(--tint)}
.cfx-hh .nav-more-panel{position:absolute;top:calc(100% + 10px);right:-6px;z-index:60;min-width:240px;padding:6px;display:grid;gap:2px;background:var(--hh-card);border:1px solid var(--border);border-radius:var(--r-inner);box-shadow:var(--sh-raised)}
:root[lang="en"] .cfx-hh .nav-more-panel{right:auto;left:-6px}
.cfx-hh .nav-more-panel::before{content:"";position:absolute;left:0;right:0;top:-11px;height:11px}
.cfx-hh .nav .nav-more-panel a{display:flex;padding:10px 12px;border-radius:10px;font-size:15px;font-weight:600;color:var(--hh-link)}
.cfx-hh .nav .nav-more-panel a::after{content:none}
.cfx-hh .nav .nav-more-panel a:hover,.cfx-hh .nav .nav-more-panel a[aria-current="page"]{color:var(--primary-text);background:var(--tint)}
@media (prefers-reduced-motion:reduce){.cfx-hh .nav-more>summary::after,.cfx-hh-drw .drw-more summary::after{transition:none}}
/* the drawer */
html.cfx-drw-open,html.cfx-drw-open body{overflow:hidden}
.cfx-hh-drw{position:fixed;inset:0;z-index:1002}
.cfx-hh-drw[hidden]{display:none}
.cfx-hh-drw .drw-back{position:absolute;inset:0;background:rgba(7,26,61,.45)}
.cfx-hh-drw .drw-panel{position:absolute;top:0;bottom:0;right:0;width:min(340px,88vw);background:var(--hh-card);box-shadow:-24px 0 60px -24px rgba(7,26,61,.55);padding:12px 16px 24px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:6px;outline:none}
:root[lang="en"] .cfx-hh-drw .drw-panel{right:auto;left:0}
.cfx-hh-drw .drw-head{display:flex;align-items:center;justify-content:space-between;min-height:56px;border-bottom:1px solid var(--border);padding-bottom:8px}
.cfx-hh-drw .drw-head .brand{min-height:44px}
.cfx-hh-drw .drw-head .brand img{width:52px;height:20px}
.cfx-hh-drw .drw-head .brand{font-size:19px}
.cfx-hh-drw .drw-x{width:44px;height:44px;border-radius:12px;border:1px solid var(--border);background:var(--hh-card);display:grid;place-items:center;cursor:pointer;color:var(--text);padding:0}
.cfx-hh-drw .drw-x svg{width:20px;height:20px}
.cfx-hh-drw .drw-list{list-style:none;display:grid;gap:2px;margin-top:6px}
.cfx-hh-drw .drw-list a{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border-radius:12px;font-size:16px;font-weight:700;color:var(--hh-link)}
.cfx-hh-drw .drw-list a[aria-current]{color:var(--primary-text);background:var(--tint)}
.cfx-hh-drw .drw-more summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:0 14px;border-radius:12px;font-size:16px;font-weight:700;color:var(--hh-link)}
.cfx-hh-drw .drw-more details[open]>summary{color:var(--primary-text)}
.cfx-hh-drw .drw-more ul{list-style:none;display:grid;gap:2px;margin:2px 0 4px}
.cfx-hh-drw .drw-more ul a{padding-inline-start:30px;font-size:15px;font-weight:600}
.cfx-hh-drw .drw-auth,.cfx-hh-drw .drw-tools{display:grid;gap:10px;margin-top:10px;padding-top:16px;border-top:1px solid var(--border)}
.cfx-hh-drw .drw-auth .btn,.cfx-hh-drw .drw-tools .btn{width:100%;height:48px;cursor:pointer}
.cfx-hh-drw .drw-tools{grid-template-columns:1fr 1fr}
.cfx-hh-drw .drw-tools .btn{font-size:15px;gap:8px;padding:0 12px}
.cfx-hh-drw .drw-tools svg,.cfx-hh-drw .drw-ic svg{width:18px;height:18px;display:block}
/* widths (home.css and the homepage's mobile-header-v1) */
@media (max-width:1259px){.cfx-hh .nav,.cfx-hh .hh-tools{display:none}.cfx-hh .burger{display:grid;margin-inline-start:auto}.cfx-hh .hdr-act .ghost-hide{display:none}}
@media (max-width:900px){.cfx-hh.hh-in #hdr-ct{display:inline-flex}.cfx-hh .hdr-act{flex:1 1 auto;justify-content:center}}
@media (max-width:520px){.cfx-hh .wrap{padding:0 16px}.cfx-hh .hdr-in{height:68px;gap:10px}.cfx-hh .brand{font-size:19px}.cfx-hh .brand img{width:52px;height:20px}.cfx-hh .hdr-act .btn{height:40px;padding:0 14px;font-size:14px}
  .cfx-hh .brand{flex-direction:column;align-items:center;gap:3px;font-size:11px;line-height:1}.cfx-hh .brand b{letter-spacing:.02em}.cfx-hh .hdr-act{gap:8px}.cfx-hh .hdr-act .btn{padding:0 13px}}
@media (max-width:359px){.cfx-hh .hdr-in{gap:8px}.cfx-hh .hdr-act .btn{padding:0 10px}}
@media (max-width:319px){.cfx-hh.hh-in #hdr-ct{display:none}}
/* the login page shows no «ورود / ثبت‌نام» of its own (login.css did so for the old header) */
body.lg-body .cfx-hh #hdr-login[href*="route=login"],body.lg-body .cfx-hh #hdr-signup[href*="route=signup"]{display:none}
/* the pages' own parts that reserved the old 64 px (56 px) header, restated with --site-head-h (their files unchanged) */
@media (scripting: enabled){html body .ct-page:empty,html body .g-page > .g-content:empty{min-height:calc(100vh - var(--site-head-h))}}
html body .site-info [id]{scroll-margin-top:calc(var(--site-head-h) + 16px)}
html body.compact .workbench.msc-below-on:not(.pseudo-fullscreen){height:calc(100vh - var(--site-head-h) + var(--msc-below-h, 0px));height:calc(100dvh - var(--site-head-h) + var(--msc-below-h, 0px))}
html body .lg{min-height:calc(100vh - var(--site-head-h));min-height:calc(100svh - var(--site-head-h))}
html body #pfMain{min-height:calc(100vh - var(--site-head-h))}
@supports (height:100svh){html body #pfMain{min-height:calc(100svh - var(--site-head-h))}}
html body .ctn-side{top:calc(var(--site-head-h) + 20px);max-height:calc(100vh - var(--site-head-h) - 40px)}
html body .cb{--cb-head:var(--site-head-h)}
html body #ctBarBox,html body .ct-pf-tabs,html body .mc-sources,html body .mc-guide-btn{scroll-margin-top:calc(var(--site-head-h) + 48px)}
/* the Edge trial line keeps its own padding under the reset above */
.cfx-hh .site-trial{padding:6px 16px;line-height:1.7}
