@font-face { font-family:'Vazirmatn'; font-style:normal; font-display:swap; font-weight:500; src:url('/asset/font/vazirmatn-arabic-500-normal.woff2?v=b58020cc') format('woff2'); unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
    @font-face { font-family:'Vazirmatn'; font-style:normal; font-display:swap; font-weight:600; src:url('/asset/font/vazirmatn-arabic-600-normal.woff2') format('woff2'); unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
    @font-face { font-family:'Vazirmatn'; font-style:normal; font-display:swap; font-weight:700; src:url('/asset/font/vazirmatn-arabic-700-normal.woff2') format('woff2'); unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
    @font-face { font-family:'Vazirmatn'; font-style:normal; font-display:swap; font-weight:500; src:url('/asset/font/vazirmatn-latin-500-normal.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:'Vazirmatn'; font-style:normal; font-display:swap; font-weight:600; src:url('/asset/font/vazirmatn-latin-600-normal.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:'Vazirmatn'; font-style:normal; font-display:swap; font-weight:700; src:url('/asset/font/vazirmatn-latin-700-normal.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:'Vazirmatn Fallback'; src:local('Arial'); ascent-override:100%; descent-override:35%; line-gap-override:0%; size-adjust:102%; }

    :root {
      --navy:       #1A365D;
      --navy-deep:  #0F2440;
      --soft:       #374151;
      --muted:      #6B7280;
      --white:      #FFFFFF;
      --cream:      #F9F8F4;
      --line:       #E5E7EB;
      --line-soft:  #F3F4F6;
      --font-fa: 'Vazirmatn', 'Vazirmatn Fallback', sans-serif;
      --font-en: 'Vazirmatn', 'Vazirmatn Fallback', sans-serif;
      --measure: 720px;
      --measure-wide: 1100px;   /* header/nav chrome is wider than the 720 reading column — matches _nav_unify_header.css + content-page headers (2026-07-23) */
      --gutter: 24px;
      --radius-card: 10px;
      --shadow-soft: 0 1px 2px rgba(17,24,39,0.04), 0 4px 12px rgba(17,24,39,0.04);
      --shadow-hover: 0 8px 24px rgba(17,24,39,0.06);
      /* ── Swiss RULE-SET 1 — modular type scale (ratio ~1.20, Persian-mobile body = 16). */
      /*    F-SWISS-TYPE-1 · brand.md §Swiss. Additive foundation: new/retrofit work reads   */
      /*    --fs-*; no half-px, no rem/em for type. Gradual migration is WARN-linted (Wave 4). */
      --fs-caption: 11px;   /* timestamps, badges, eyebrow + tab-bar labels */
      --fs-meta:    13px;   /* quiet chrome: metadata, TOC, footnotes, breadcrumbs, secondary UI */
      --fs-body:    16px;   /* Persian reading body — prose, question text, options, reveals, figure notes */
      --fs-lead:    19px;   /* lead paragraph, card title, section intro */
      --fs-h3:      23px;   /* sub-headings, prominent card titles */
      --fs-h2:      28px;   /* section headings */
      --fs-h1:      34px;   /* page title (mobile) */
      --fs-display: 40px;   /* hero display (home/lander); ≥768 clamp(40px,5vw,56px) is the only sanctioned scale-up */
      /* ── Swiss RULE-SET 2 — 4px spacing unit (F-SWISS-SPACE-1) + 2b line-height (F-SWISS-LH-1). */
      --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;  --sp-6: 24px;
      --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
      --lh-display: 1.15; --lh-heading: 1.35; --lh-ui: 1.4; --lh-lead: 1.7; --lh-body: 1.85; /* Persian body floor 1.8 */
      /* ── Swiss RULE-SET 3 — fixed breakpoints {600,768,1024} + 4-value radius (F-SWISS-GRID-1 / -RADIUS-1). */
      --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px; --r-0: 0;   /* --radius-card (10px) kept above as legacy alias of --r-md */
      --bp-phablet: 600px; --bp-tablet: 768px; --bp-desktop: 1024px;
    }
    @media (min-width: 768px) { :root { --gutter: 32px; } }

    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--font-fa);
      font-weight: 500;
      font-size: 16px;
      line-height: 1.7;
      color: var(--soft);
      background: var(--white);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    h1, h2, h3, h4 { text-wrap: balance; margin: 0; color: var(--navy); }
    p, li { text-wrap: pretty; margin: 0; }
    a { color: inherit; text-decoration: none; }
    img, svg { display: block; max-width: 100%; }
    :focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
    a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

    /* Skip link */
    .skip-link {
      position: absolute; top: 12px; inset-inline-start: 12px; z-index: 100;
      padding: 8px 16px; background: var(--navy); color: var(--white);
      font-weight: 600; font-size: 13px; border-radius: 8px;
      transform: translateY(-200%); transition: transform 200ms ease-out;
    }
    .skip-link:focus { transform: translateY(0); }

    /* ── Header ── nav-unify 2026-07 · RTL like the page (§15.1 LTR exception retired).
       Brand = trail root at inline-start (visual right); «مشاوره» = last-in-DOM = leftmost
       pill; desktop trail + mobile crumb rail replace .header__back / .hc-* abbreviations. */
    .header{
      position:sticky; top:0; z-index:50;
      background:rgba(255,255,255,0.92);
      backdrop-filter:saturate(180%) blur(10px);
      -webkit-backdrop-filter:saturate(180%) blur(10px);
      border-bottom:1px solid var(--line);
      padding-top:env(safe-area-inset-top,0px);
      transition:transform 250ms ease-out;
    }
    .header.is-hidden{ transform:translateY(-100%); }
    .header__inner{
      display:flex; justify-content:space-between; align-items:center; gap:24px;
      max-width:var(--measure-wide); margin:0 auto;
      min-height:56px; padding:0 var(--gutter);
    }
    .header__start{ display:flex; align-items:center; gap:10px; min-width:0; }
    .header__brand{ display:flex; align-items:center; gap:8px; flex:0 0 auto; color:var(--navy); }
    .header__sigil{ width:22px; height:22px; flex:0 0 22px; color:var(--navy); }
    .header__wordmark{ font-family:var(--font-fa); font-weight:700; color:var(--navy); font-size:14px; letter-spacing:0; }
    .header__trail{ display:none; align-items:center; gap:10px; min-width:0; }
    .header__crumb{
      font-family:var(--font-fa); font-weight:600; font-size:13px;
      color:var(--muted); padding:6px 0; white-space:nowrap;
      transition:color 200ms;
    }
    @media(hover:hover){ .header__crumb:hover{ color:var(--navy); } }
    .header__sep{ color:#6B7280; font-size:13px; flex:0 0 auto; }         /* always ‹ */
    .header__current{
      font-family:var(--font-fa); font-weight:700; font-size:13px;
      color:var(--soft);
      white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0;
    }
    @media(min-width:769px){
      .header__inner{ min-height:60px; }
      .header__trail{ display:flex; }
    }
    .header__nav{ display:flex; align-items:center; gap:14px; flex:0 0 auto; }
    .header__pill{
      position:relative; display:inline-flex; align-items:center;
      font-family:var(--font-fa); font-weight:700; font-size:13px; color:var(--navy);
      padding:6px 14px; border:1px solid var(--line); border-radius:999px;
      transition:border-color 200ms, background 200ms;
    }
    .header__pill::after{ content:""; position:absolute; inset:-7px 0; }   /* ≥44px hit (M5) */
    @media(hover:hover){ .header__pill:hover{ border-color:var(--navy); background:var(--line-soft); } }
    .header__link{
      font-family:var(--font-fa); font-weight:600; font-size:13px;
      color:var(--muted); padding:6px 4px; transition:color 200ms;
    }
    @media(hover:hover){ .header__link:hover{ color:var(--navy); } }
    @media(max-width:600px){
      .header__pill--desk, .header__link--desk{ display:none; }
      .header__nav{ gap:10px; }
      .header__pill{ padding:8px 14px; }
    }
    .header__rail{ display:none; }
    @media(max-width:768px){
      .header__rail{
        display:flex; align-items:center; gap:8px;
        min-height:44px; padding:0 var(--gutter);
        border-top:1px solid var(--line-soft);
        overflow-x:auto; white-space:nowrap;
        scrollbar-width:none;
      }
      .header__rail::-webkit-scrollbar{ display:none; }
      .header__rail-back{
        display:inline-flex; align-items:center; gap:6px;
        font-family:var(--font-fa); font-weight:700; font-size:12.5px;
        color:var(--navy); padding:12px 0; flex:0 0 auto;
      }
      .header__rail-arrow{ font-size:15px; }                                /* → up the hierarchy */
      .header__rail-sep{ color:#E5E7EB; font-size:12px; flex:0 0 auto; }
      .header__rail-crumb{
        font-family:var(--font-fa); font-weight:600; font-size:12.5px;
        color:var(--muted); padding:12px 0; flex:0 0 auto;
      }
      .header__rail-current{
        font-family:var(--font-fa); font-weight:600; font-size:12.5px;
        color:var(--muted); flex:0 0 auto;
      }
    }
    .header__trail bdi, .header__rail bdi{
      direction:ltr; unicode-bidi:isolate; font-family:var(--font-en,inherit);
    }

    /* ── Hero ── */
    .hero {
      background: var(--navy);
      padding: 60px var(--gutter) 56px;
    }
    .hero__inner { max-width: var(--measure); margin: 0 auto; }
    .hero__eyebrow {
      font-family: var(--font-en);
      font-weight: 600; font-size: 11px; letter-spacing: 0.18em;
      text-transform: uppercase; color: rgba(255,255,255,0.55);
      margin: 0 0 16px;
    }
    .hero__title {
      font-weight: 700; font-size: 28px; line-height: 1.3;
      color: #ffffff; margin: 0 0 12px;
    }
    @media (min-width: 768px) { .hero__title { font-size: 34px; line-height: 1.25; } }
    .hero__sub {
      font-size: 16px; line-height: 1.8;
      color: rgba(255,255,255,0.66); margin: 0 0 28px; max-width: 540px;
    }

    /* Progress bar — number-forward (Round 3): a stacked column, the number leads, the bar recedes. */
    .hero__progress { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin: 0; }
    .hero__progress-label {
      font-size: 13px; line-height: 1.15; color: rgba(255,255,255,0.62); margin: 0;
    }
    .hero__bar-track {
      display: block; width: 100%; max-width: 320px;
      height: 4px; background: rgba(255,255,255,0.16); border-radius: 999px;
    }
    .hero__bar-fill {
      display: block; height: 4px; background: #ffffff; border-radius: 999px;
      width: 0%; transition: width 600ms ease-out;
    }

    /* ── Consult bridge (shown only after 2+ engaged drills) ── */
    .consult-bridge {
      display: none;
      padding: 24px var(--gutter);
      background: var(--cream);
      border-bottom: 1px solid var(--line);
    }
    .consult-bridge.is-visible { display: block; }
    .consult-bridge__inner { max-width: var(--measure); margin: 0 auto; }
    .consult-bridge__card {
      display: block;
      padding: 24px 24px;
      background: var(--white);
      border: 1px solid var(--line);
      border-inline-start: 2px solid var(--navy);
      border-radius: var(--radius-card);
      transition: border-color 200ms, box-shadow 200ms;
    }
    @media (hover: hover) {
      .consult-bridge__card:hover {
        border-color: var(--navy);
        box-shadow: var(--shadow-hover);
      }
    }
    .consult-bridge__eyebrow {
      font-family: var(--font-en);
      font-weight: 600; font-size: 11px; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--muted); margin: 0 0 8px;
    }
    .consult-bridge__body {
      font-size: 16px; line-height: 1.75; color: var(--soft);
    }
    .consult-bridge__body a {
      color: var(--navy); font-weight: 700;
      border-bottom: 1px solid var(--line); padding-bottom: 1px;
      transition: border-color 200ms;
    }
    @media (hover: hover) { .consult-bridge__body a:hover { border-bottom-color: var(--navy); } }

    /* ── Reflex profile (skill-twin lite) — the quiet cross-drill leak read.
          Summon-not-trap: no score, no percent, no badge; renders only with data. ── */
    .reflex { padding: 34px var(--gutter) 10px; background: var(--white); }
    .reflex--hub { padding-top: 12px; }
    .reflex__inner {
      max-width: var(--measure); margin: 0 auto;
      padding: 24px 24px;
      background: var(--cream);
      border: 1px solid var(--line);
      border-radius: var(--radius-card);
    }
    .reflex__eyebrow {
      font-family: var(--font-en);
      font-weight: 600; font-size: 11px; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--muted); margin: 0 0 8px;
    }
    .reflex__title { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 16px; }
    .reflex__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
    .reflex__row {
      display: flex; align-items: baseline; gap: 12px;
      font-size: 13px; line-height: 1.8; color: var(--soft);
      border-bottom: 1px solid var(--line-soft); padding-bottom: 8px;
    }
    .reflex__row:last-child { border-bottom: 0; padding-bottom: 0; }
    .reflex__glyph { flex: 0 0 auto; font-weight: 700; color: var(--soft); }
    .reflex__row.is-held .reflex__glyph { color: var(--navy); }
    .reflex__name { font-weight: 600; color: var(--navy); }
    .reflex__row.is-held .reflex__name { color: var(--soft); }
    .reflex__verdict { color: var(--muted); }
    .reflex__watch { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 16px 0 0; }

    /* ── Drill grid ── */
    .drills {
      padding: 40px var(--gutter) 96px;
    }
    .drills__inner { max-width: var(--measure); margin: 0 auto; }
    .tier { margin: 0 0 48px; }
    .tier__header {
      display: flex; align-items: baseline; gap: 12px;
      margin: 0 0 16px; padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
    }
    .tier__name {
      font-family: var(--font-fa); font-weight: 700; font-size: 16px;
      color: var(--navy);
    }
    .tier__range {
      font-family: var(--font-en); font-weight: 500; font-size: 13px;
      color: var(--muted);
    }
    .drill-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }
    @media (min-width: 600px) { .drill-grid { grid-template-columns: 1fr 1fr; } }

    /* Individual drill card */
    .drill-card {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 16px;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius-card);
      transition: border-color 200ms, box-shadow 200ms;
      cursor: pointer;
    }
    .drill-card--done { border-inline-start: 3px solid var(--navy); }
    /* deactivated drill — built but not yet launched; non-clickable, no 404 (mirrors lesson--soon) */
    .drill-card--soon {
      opacity: 0.42;
      pointer-events: none;
      cursor: default;
    }
    @media (hover: hover) {
      .drill-card:not(.drill-card--soon):hover {
        border-color: var(--navy);
        box-shadow: var(--shadow-soft);
      }
    }
    .drill-card__dot {
      flex-shrink: 0;
      width: 10px; height: 10px; border-radius: 50%;
      background: var(--line);
      transition: background 300ms;
    }
    .drill-card--done .drill-card__dot { background: var(--navy); }
    .drill-card--started .drill-card__dot {
      background: transparent;
      border: 2px solid var(--navy);
    }
    .drill-card__body { flex: 1; min-width: 0; }
    .drill-card__code {
      font-family: var(--font-en); font-weight: 600; font-size: 11px;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
    }
    .drill-card__title {
      font-family: var(--font-fa); font-weight: 600; font-size: 13px;
      line-height: 1.4; color: var(--navy); margin-top: 2px;
    }
    .drill-card__arrow {
      flex-shrink: 0;
      font-size: 16px; color: var(--muted);
      transition: transform 200ms, color 200ms;
    }
    @media (hover: hover) {
      .drill-card:hover .drill-card__arrow { transform: translateX(-4px); color: var(--navy); }
    }

    /* ── Footer ── */
    .footer {
      border-top: 1px solid var(--line);
      padding: 32px var(--gutter) 40px;
      text-align: center;
    }
    .footer__inner { max-width: var(--measure); margin: 0 auto; }
    .footer__wordmark {
      font-family: var(--font-fa); font-weight: 700; font-size: 16px;
      color: var(--navy); letter-spacing: 0; margin: 0 0 8px;
    }
    .footer__nav {
      display: flex; justify-content: center; gap: 16px;
      font-size: 13px; color: var(--muted); flex-wrap: wrap;
      margin: 0 0 12px; list-style: none; padding: 0;
    }
    .footer__nav a { color: var(--muted); transition: color 200ms; }
    @media (hover: hover) { .footer__nav a:hover { color: var(--navy); } }
    .footer__consult { font-size: 13px; color: var(--soft); margin: 0 0 12px; }
    .footer__consult a {
      color: var(--navy); font-weight: 600;
      border-bottom: 1px solid var(--line); transition: border-color 200ms;
    }
    @media (hover: hover) { .footer__consult a:hover { border-bottom-color: var(--navy); } }
    .footer__copy {
      font-family: var(--font-en); font-size: 13px; color: var(--muted);
    }

    @media (hover: none) {
      .drill-card:hover { border-color: var(--line); box-shadow: none; }
      .header__pill:hover { border-color: var(--line); background: var(--white); }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition-duration: 0ms !important; }
      .hero__bar-fill { transition: none; }
    }
    @media print { .header, .hero, .footer { display: none; } }

    /* ── Account control (in hero) ── */
    .acct {
      display: flex; align-items: center; justify-content: flex-end;
      gap: 12px; margin: 0 0 20px; min-height: 22px;
      font-size: 13px; color: rgba(255,255,255,0.7);
    }
    .acct__email { font-family: var(--font-en); color: rgba(255,255,255,0.85); }
    .acct__btn {
      font-family: var(--font-fa); font-weight: 600; font-size: 13px;
      color: #ffffff; background: none; border: 0; padding: 0; cursor: pointer;
      border-bottom: 1px solid rgba(255,255,255,0.4); transition: border-color 200ms;
    }
    @media (hover: hover) { .acct__btn:hover { border-bottom-color: #ffffff; } }
    .acct__sep { color: rgba(255,255,255,0.3); }

    /* ── Auth modal ── */
    .auth-overlay {
      position: fixed; inset: 0; z-index: 200;
      background: rgba(15,36,64,0.55);
      display: flex; align-items: center; justify-content: center;
      /* fixed overlay = the one surface that meets the notch/home-bar — pad by the safe area */
      padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
               max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    }
    .auth-card {
      width: 100%; max-width: 380px;
      background: var(--white); border-radius: 14px;
      padding: 28px 28px 28px; box-shadow: var(--shadow-hover);
      max-height: 92vh; overflow-y: auto;
    }
    .auth-card__title { font-weight: 700; font-size: 19px; color: var(--navy); margin: 0 0 8px; }
    .auth-card__lede { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0 0 20px; }
    .auth-tabs { display: flex; gap: 8px; margin: 0 0 20px; background: var(--line-soft); border-radius: 10px; padding: 4px; }
    .auth-tab {
      flex: 1; font-family: var(--font-fa); font-weight: 600; font-size: 13px;
      padding: 8px; min-height: 44px; border: 0; border-radius: 7px; background: none; color: var(--muted); cursor: pointer;
      transition: background 200ms, color 200ms;
    }
    .auth-tab--on { background: var(--white); color: var(--navy); box-shadow: var(--shadow-soft); }
    .auth-field { margin: 0 0 12px; }
    .auth-field label { display: block; font-size: 13px; font-weight: 600; color: var(--soft); margin: 0 0 8px; }
    .auth-input {
      width: 100%; font-family: var(--font-en); font-size: 16px; /* ≥16px — iOS zooms the page on focus below that */
      padding: 12px 12px; border: 1px solid var(--line); border-radius: 9px;
      background: var(--cream); color: var(--navy); transition: border-color 200ms;
    }
    .auth-input:focus { outline: none; border-color: var(--navy); background: var(--white); }
    .auth-hint { font-size: 11px; color: var(--muted); margin: 8px 2px 0; }
    /* marketing opt-in — a quiet offer, not a focal point (Glass): muted, body weight */
    .auth-checkbox {
      display: flex; align-items: flex-start; gap: 8px;
      margin: 4px 2px 16px; cursor: pointer;
      font-size: 13px; line-height: 1.7; color: var(--muted); font-weight: 500;
    }
    .auth-checkbox input { width: 16px; height: 16px; margin-top: 3px; flex: 0 0 16px; accent-color: var(--navy); cursor: pointer; }
    .auth-checkbox__opt { color: var(--muted); opacity: 0.7; }
    .auth-btn {
      width: 100%; font-family: var(--font-fa); font-weight: 700; font-size: 16px;
      padding: 12px; margin: 8px 0 0; border: 0; border-radius: 9px;
      background: var(--navy); color: #ffffff; cursor: pointer; transition: background 200ms;
    }
    .auth-btn:disabled { opacity: 0.6; cursor: default; }
    @media (hover: hover) { .auth-btn:not(:disabled):hover { background: var(--navy-deep); } }
    .auth-err {
      font-size: 13px; color: var(--soft); background: var(--line-soft);
      border-inline-start: 2px solid var(--soft); border-radius: 6px;
      padding: 8px 12px; margin: 0 0 12px;
    }
    .auth-note {
      font-size: 13px; line-height: 1.7; color: var(--muted);
      background: var(--cream); border-radius: 8px; padding: 12px 12px; margin: 16px 0 0;
    }
    .auth-close {
      display: block; width: 100%; text-align: center; margin: 16px 0 0;
      font-size: 13px; color: var(--muted); background: none; border: 0; cursor: pointer;
    }
    @media (hover: hover) { .auth-close:hover { color: var(--navy); } }
    .auth-close:disabled { opacity: 0.5; cursor: default; }

    /* visible login CTA (logged-out) */
    .acct__hint { font-size: 13px; color: rgba(255,255,255,0.6); }
    @media (max-width: 600px) { .acct__hint { display: none; } }
    .acct__login {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--font-fa); font-weight: 600; font-size: 13px;
      color: var(--navy); background: #ffffff;
      border: 1px solid #ffffff; border-radius: 999px;
      padding: 8px 20px; cursor: pointer;
      transition: background 200ms, color 200ms, transform 150ms;
    }
    .acct__login-ic { font-size: 13px; line-height: 1; }
    @media (hover: hover) { .acct__login:hover { background: var(--cream); transform: translateY(-1px); } }
    .acct__login:active { transform: translateY(0); }

    /* login progress bar (indeterminate) + button spinner + success flash */
    .auth-progress { height: 4px; background: var(--line-soft); border-radius: 999px; overflow: hidden; margin: 0 0 16px; }
    .auth-progress__bar { height: 100%; width: 40%; background: var(--navy); border-radius: 999px; animation: auth-slide 1.05s ease-in-out infinite; }
    .auth-progress__bar--full { width: 100%; animation: none; }
    @keyframes auth-slide { 0% { transform: translateX(-130%); } 100% { transform: translateX(360%); } }
    .auth-btn__spin {
      display: inline-block; width: 14px; height: 14px; margin-inline-end: 8px; vertical-align: -2px;
      border: 2px solid rgba(255,255,255,0.4); border-top-color: #ffffff; border-radius: 50%;
      animation: auth-spin 0.7s linear infinite;
    }
    @keyframes auth-spin { to { transform: rotate(360deg); } }
    .auth-card--center { text-align: center; padding-top: 36px; padding-bottom: 32px; }
    .auth-success__check {
      width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
      background: var(--navy); color: #ffffff; font-size: 28px; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      animation: auth-pop 360ms cubic-bezier(0.34,1.56,0.64,1);
    }
    @keyframes auth-pop { 0% { transform: scale(0.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
    .auth-success__msg { font-weight: 700; font-size: 16px; color: var(--navy); margin: 0 0 8px; }
    .auth-success__sub { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
    @media (prefers-reduced-motion: reduce) {
      .auth-progress__bar, .auth-btn__spin, .auth-success__check { animation: none; }
    }
  
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}

/* ── Continue where you left off ── */
.resume { padding: 24px var(--gutter) 0; }
.resume__inner { max-width: var(--measure); margin: 0 auto; }
.resume__card { display: block; background: var(--white); border: 1px solid var(--line); border-inline-start: 3px solid var(--navy); border-radius: var(--radius-card); padding: 16px 20px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
@media (hover: hover) { .resume__card:hover { box-shadow: var(--shadow-soft, 0 4px 14px rgba(17,24,39,.06)); } }
.resume__eyebrow { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.resume__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resume__title { font-size: 16px; font-weight: 700; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resume__arrow { color: var(--navy); flex-shrink: 0; }

/* ── Skill hub (category chooser) ── */
.skills { padding: 40px var(--gutter) 96px; }
.skills__inner { max-width: var(--measure); margin: 0 auto; }
.skills__title { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.skills__note { font-size: 13px; color: var(--muted); margin: 0 0 28px; }
.skill-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .skill-grid { grid-template-columns: 1fr 1fr; } }
.skill-card {
  display: block; padding: 24px 24px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: border-color 200ms, box-shadow 200ms, transform 150ms;
}
.skill-card--active { border-inline-start: 3px solid var(--navy); }
/* category not yet launched — visible but greyed & inert until its first drill goes live */
.skill-card--soon { opacity: 0.42; pointer-events: none; cursor: default; }
@media (hover: hover) { .skill-card:not(.skill-card--soon):hover { border-color: var(--navy); box-shadow: var(--shadow-soft); transform: translateY(-2px); } }
.skill-card__en { font-family: var(--font-en); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.skill-card__fa { font-weight: 700; font-size: 19px; color: var(--navy); margin: 0 0 20px; }
.skill-card__meta { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.skill-card__count { font-size: 13px; color: var(--soft); }
.skill-card__count strong { color: var(--navy); font-weight: 700; }
.skill-card__arrow { font-size: 19px; color: var(--muted); transition: transform 200ms, color 200ms; }
@media (hover: hover) { .skill-card:hover .skill-card__arrow { transform: translateX(-4px); color: var(--navy); } }
.skill-card__track { height: 4px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.skill-card__fill { height: 4px; background: var(--navy); border-radius: 999px; width: 0%; transition: width 600ms ease-out; }

/* forgot-password link (login mode) */
.auth-forgot {
  display: block; width: 100%; text-align: center; margin: 12px 0 0;
  font-size: 13px; color: var(--navy); background: none; border: 0; cursor: pointer;
}
@media (hover: hover) { .auth-forgot:hover { text-decoration: underline; } }
.auth-forgot:disabled { opacity: 0.5; cursor: default; }

/* ── My bookings (consult sessions, shown on the hub when logged in) ── */
.mybk { padding: 4px var(--gutter) 80px; margin-top: -64px; }
.mybk__inner { max-width: var(--measure); margin: 0 auto; }
.mybk__title { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.mybk__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mybk__row {
  direction: rtl;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 16px; background: var(--white);
  border: 1px solid var(--line); border-inline-start: 3px solid var(--line);
  border-radius: var(--radius-card);
}
.mybk__row.is-paid { border-inline-start-color: var(--navy); }
.mybk__row.is-pending { border-inline-start-color: var(--muted); }
.mybk__badge {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; background: var(--cream); color: var(--navy);
}
.mybk__when { flex: 1; min-width: 170px; font-weight: 600; font-size: 13px; color: var(--navy); unicode-bidi: plaintext; }
.mybk__meta { font-size: 13px; color: var(--muted); unicode-bidi: plaintext; }
.mybk__pay {
  font-size: 13px; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid var(--line); transition: border-color 200ms;
}
@media (hover: hover) { .mybk__pay:hover { border-bottom-color: var(--navy); } }

/* ── Account / profile page (/account/) ── */
.acct__email { text-decoration: none; }
@media (hover: hover) { a.acct__email:hover { text-decoration: underline; } }
.acc-gate { padding: 80px var(--gutter) 96px; text-align: center; }
.acc-gate__inner { max-width: 420px; margin: 0 auto; }
.acc-gate__title { font-size: 23px; font-weight: 700; color: var(--navy); margin: 8px 0 8px; }
.acc-gate__lede { font-size: 16px; color: var(--muted); margin: 0 0 24px; }
.acc-gate__btn { max-width: 280px; margin: 0 auto; }
.acc-head { background: var(--navy); padding: 44px var(--gutter) 36px; }
.acc-head__inner { max-width: var(--measure); margin: 0 auto; }
.acc-head__eyebrow { font-family: var(--font-en); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 16px; }
.acc-head__email { font-size: 23px; font-weight: 700; color: #ffffff; margin: 0 0 12px; word-break: break-all; }
.acc-head__badge { display: inline-block; font-size: 13px; color: rgba(255,255,255,0.7); margin: 0 0 20px; }
.acc-head__badge.is-ok { color: rgba(255,255,255,0.85); }
.acc-head__verify { font-size: 13px; color: rgba(255,255,255,0.7); margin: -12px 0 20px; line-height: 1.7; }
.acc-head__resend { font-family: var(--font-fa); font-weight: 600; font-size: 13px; color: #ffffff; background: none; border: 0; padding: 0; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.4); }
@media (hover: hover) { .acc-head__resend:hover { border-bottom-color: #ffffff; } }
.acc-head__logout { display: block; font-family: var(--font-fa); font-weight: 600; font-size: 13px; color: #ffffff; background: none; border: 0; padding: 0; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.4); }
@media (hover: hover) { .acc-head__logout:hover { border-bottom-color: #ffffff; } }
.acc-body { padding: 44px var(--gutter) 96px; }
.acc-body__inner { max-width: var(--measure); margin: 0 auto; }
.acc-sec__title { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 16px; }
.acc-empty { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.acc-empty a, .acc-foot a { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--line); }
.acc-foot { font-size: 13px; color: var(--muted); margin: 24px 0 0; line-height: 1.8; }

/* ──────────────────────  PRIVATE-CLASS ENROLL WIZARD (/ielts-private-class/)  ────────────────────── */
.enroll { max-width: 560px; margin: 0 auto; padding: 8px 0 16px; }
.enroll__bar { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.enroll__dot { flex: 1; font-size: 11px; color: var(--muted); text-align: center; padding-top: 12px; border-top: 2px solid var(--line); transition: color .2s, border-color .2s; }
.enroll__dot.is-on { color: var(--navy); border-top-color: var(--navy); font-weight: 700; }
.enroll__dot.is-done { color: var(--navy); border-top-color: var(--navy); }
.enroll__q { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 20px; line-height: 1.5; }
.enroll__hint { font-size: 13px; color: var(--muted); margin: -8px 0 20px; line-height: 1.7; }
.enroll__opts { display: grid; gap: 12px; }
.enroll__opts--dates { grid-template-columns: repeat(2, 1fr); }
.enroll__opt { display: block; width: 100%; text-align: right; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px 20px; cursor: pointer; font-family: var(--font-fa); transition: border-color .15s, box-shadow .15s; }
@media (hover: hover) { .enroll__opt:hover { border-color: var(--navy); box-shadow: var(--shadow-soft); } }
.enroll__opt--date { text-align: center; padding: 16px; }
.enroll__opt-t { display: block; font-size: 16px; font-weight: 700; color: var(--navy); }
.enroll__opt-d { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.enroll__back { margin-top: 20px; background: none; border: 0; padding: 0; font-family: var(--font-fa); font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
@media (hover: hover) { .enroll__back:hover { color: var(--navy); } }
.enroll__back:disabled { opacity: .5; cursor: default; }
.enroll__empty { font-size: 13px; color: var(--muted); }
.enroll__summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.enroll__chip { font-size: 13px; font-weight: 600; color: var(--navy); background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.enroll__dates { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px 20px; margin: 0 0 16px; }
.enroll__dline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font-size: 13px; }
.enroll__dline + .enroll__dline { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.enroll__dline span { color: var(--muted); font-size: 13px; }
.enroll__dline strong { color: var(--navy); font-weight: 700; }
.enroll__sched { list-style: none; padding: 0; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.enroll__sess { display: flex; align-items: center; gap: 12px; padding: 8px 16px; font-size: 13px; }
.enroll__sess + .enroll__sess { border-top: 1px solid var(--line-soft); }
.enroll__sess-n { flex: 0 0 24px; height: 24px; line-height: 24px; text-align: center; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--cream); border-radius: 6px; }
.enroll__sess-w { color: var(--soft); }
/* official-holiday row in the enroll preview — muted, un-numbered marker */
.enroll__sess--off .enroll__sess-w { color: var(--muted); }
.enroll__sess-n--off { color: var(--muted); background: var(--line-soft); font-weight: 700; }
.enroll__note { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0 0 20px; }
.enroll__plans { display: grid; gap: 12px; margin: 20px 0; }
.enroll__plan { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px 16px; cursor: pointer; }
.enroll__plan.is-on { border-color: var(--navy); background: var(--cream); }
.enroll__plan input { accent-color: var(--navy); }
.enroll__plan-t { font-weight: 700; color: var(--navy); font-size: 16px; }
.enroll__plan-p { font-weight: 700; color: var(--navy); font-size: 13px; }
.enroll__plan-d { grid-column: 2 / -1; font-size: 13px; color: var(--muted); margin-top: 2px; }
.enroll--gate, .enroll--done { text-align: center; padding: 40px 0; }
.enroll__eyebrow { font-size: 13px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.enroll__gatelede { font-size: 16px; color: var(--soft); margin: 0 0 24px; line-height: 1.7; }
.enroll__donewhen { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.enroll__donemeta { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.enroll__donebtn { display: inline-block; text-decoration: none; }

/* ──────────────────────  PRIVATE-CLASS DASHBOARD PANEL (/account/)  ────────────────────── */
.acc-class { margin: 0 0 36px; }
.cls-card { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.cls-head { background: var(--cream); padding: 20px 20px; border-bottom: 1px solid var(--line); }
.cls-head__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.cls-head__meta { font-size: 13px; color: var(--muted); margin: 0; }
.cls-dates { display: flex; gap: 12px; padding: 16px 20px; flex-wrap: wrap; }
.cls-date { flex: 1; min-width: 150px; }
.cls-date span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.cls-date strong { font-size: 13px; color: var(--navy); font-weight: 700; }
.cls-pay { padding: 0 20px 16px; font-size: 13px; color: var(--soft); line-height: 1.8; }
.cls-pay a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--line); }
.cls-tokens { padding: 0 20px 16px; font-size: 13px; color: var(--muted); }
.cls-sessions { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cls-sess { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 20px; font-size: 13px; border-inline-start: 2px solid transparent; }
.cls-sess + .cls-sess { border-top: 1px solid var(--line-soft); }
.cls-sess__badge { font-size: 13px; }
.cls-sess.is-absent { color: var(--muted); }
.cls-sess.is-absent .cls-sess__w { text-decoration: line-through; }
.cls-sess__w { color: var(--soft); }
.cls-sess__mk { font-size: 11px; color: var(--muted); margin-inline-start: 6px; }
.cls-sess__abs { font-family: var(--font-fa); font-weight: 600; font-size: 13px; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 6px; padding: 4px 12px; cursor: pointer; }
@media (hover: hover) { .cls-sess__abs:hover:not(:disabled) { color: var(--navy); border-color: var(--navy); } }
.cls-sess__abs:disabled { opacity: .4; cursor: default; }
/* ── card v2 (2026-06-26): next-session anchor · state tones · burn-confirm · a11y · mobile ── */
.cls-next { display: flex; align-items: baseline; gap: 12px; padding: 2px 20px 16px; }
.cls-next__lbl { font-size: 13px; font-weight: 500; color: var(--muted); }
.cls-next__when { font-size: 19px; font-weight: 700; color: var(--navy); }
.cls-sess.is-next { border-inline-start-color: var(--navy); }
.cls-sess.is-next .cls-sess__w { font-weight: 700; color: var(--navy); }
.cls-sess.is-past { opacity: .55; }
.cls-sess__badge { font-weight: 700; }
.cls-sess__badge.is-ok { color: var(--navy); }
.cls-sess__badge.is-miss { color: var(--soft); }
.cls-sess__badge.is-soon { color: var(--muted); }
/* official-holiday row — quiet reference (Glass): recedes so the navy session rows stay focal */
.cls-sess.is-holiday { color: var(--muted); }
.cls-sess.is-holiday .cls-sess__w { color: var(--muted); }
.cls-sess__badge.is-off { color: var(--muted); font-weight: 700; }
.cls-sess__mk--off { font-size: 11px; color: var(--muted); background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; margin-inline-start: 8px; }
.cls-sess__tag { font-size: 11px; color: var(--muted); margin-inline-start: 6px; }
.cls-tokens { color: var(--soft); }
.cls-tokens.is-spent { color: var(--navy); font-weight: 600; }
.cls-tokens__ref { font-weight: 500; color: var(--muted); margin-inline-start: 4px; }
.cls-head__meta, .cls-tokens, .cls-date strong, .cls-pay { font-variant-numeric: tabular-nums; }
.cls-confirm { padding: 12px 20px 16px; border-top: 1px solid var(--line-soft); background: var(--cream); }
.cls-confirm__q { font-size: 13px; line-height: 1.85; color: var(--soft); margin: 0 0 12px; }
.cls-confirm__q strong { font-weight: 700; color: var(--navy); }
.cls-confirm__row { display: flex; gap: 8px; flex-wrap: wrap; }
.cls-sess__abs--yes { color: var(--navy); border-color: var(--navy); }
.cls-sess__abs--no { color: var(--muted); }
/* Quieter affordance on a PAST session — it files a note to Farhad rather than an
   automatic absence, so it must not read as loud as the real thing. */
.cls-sess__abs--quiet { border-style: dashed; }
/* The absence panel now lives INSIDE the session list, as a row directly under its own
   session — so the answer appears where the question was asked. It used to be a
   bottom-of-card block students never scrolled to on a phone. Success vs burn is carried
   by the glyph and the sentence, never by hue (the palette has no red/green by design). */
.cls-panel { display: block; padding: 12px 20px 16px; background: var(--cream); border-top: 1px solid var(--line-soft); border-inline-start: 2px solid var(--navy); }
.cls-panel__q { font-size: 13px; line-height: 1.85; color: var(--soft); margin: 0 0 12px; }
.cls-panel__q strong { font-weight: 700; color: var(--navy); }
.cls-panel__row { display: flex; gap: 8px; flex-wrap: wrap; }
.cls-panel__ok { font-size: 13px; line-height: 1.85; color: var(--soft); margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.cls-panel__ok strong { font-weight: 700; color: var(--navy); }
.cls-panel__glyph { color: var(--navy); font-weight: 700; }
.cls-burnnote { padding: 0 20px 16px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .cls-sess { grid-template-columns: auto 1fr; row-gap: 8px; align-items: start; } .cls-sess__abs { grid-column: 2; justify-self: start; } .cls-panel { grid-column: 1 / -1; } }
@media (max-width: 600px) { .cls-dates { flex-direction: column; gap: 4px; } .cls-date { min-width: 0; } }
.acc-free { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px 20px; margin: 0 0 24px; font-size: 13px; color: var(--soft); line-height: 1.8; }
.acc-free a { color: var(--navy); font-weight: 700; }
.acc-up { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px 20px; margin: 0 0 24px; }
.acc-up__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.acc-up__lede { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.acc-up__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.acc-up__file { font-size: 13px; color: var(--soft); }
.acc-up__list { list-style: none; padding: 0; margin: 16px 0 0; }
.acc-up__item { padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.acc-up__item a { color: var(--navy); font-weight: 600; }
.acc-up__fb { display: block; color: var(--navy); font-size: 13px; margin-top: 4px; background: var(--cream); border-radius: 6px; padding: 12px 12px; direction: ltr; text-align: left; line-height: 1.7; }
.acc-up__fb div, .acc-up__fb p { margin: 0 0 8px; }
.acc-up__fb div:last-child, .acc-up__fb p:last-child { margin-bottom: 0; }
.acc-up__fb div:empty { min-height: 8px; }
/* .acc-up__item a.acc-up__fb-file (0,2,1) — must out-specify .acc-up__item a (0,1,1, line above),
   which otherwise forces the text to var(--navy) on a var(--navy) fill = invisible (2026-07-24 fix). */
.acc-up__item a.acc-up__fb-file { display: inline-block; margin-top: 12px; font-size: 13px; /* F-SWISS-TYPE-3 (2026-07-22): was 0.8125rem — px-exact at 16px root (=--fs-meta); px-only scale. */ color: #ffffff; background: var(--navy); font-weight: 600; text-decoration: none; padding: 8px 16px; border-radius: 8px; }
@media (hover: hover) { .acc-up__fb-file:hover { background: var(--navy-deep); } }
.acc-up__name { color: var(--navy); font-weight: 600; }

/* ──────────────────────  WRITING FEEDBACK (paid, /account/)  ────────────────────── */
.acc-fb { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 24px; margin: 0 0 28px; }
.acc-fb__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 4px; }
.acc-fb__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; }
.acc-fb__bal { font-size: 13px; color: var(--soft); margin: 0; font-variant-numeric: tabular-nums; }
.acc-fb__bal strong { color: var(--navy); font-weight: 700; }
.acc-fb__bal.is-zero { color: var(--muted); }
.acc-fb__cred { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.acc-fb__meter { width: 92px; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.acc-fb__meter i { display: block; height: 100%; background: var(--navy); border-radius: 3px; transition: width .25s ease; }
.acc-fb__cred.is-zero .acc-fb__bal strong { color: var(--muted); }
.acc-fb__cred.is-zero .acc-fb__meter i { background: var(--muted); }
.acc-fb__lede { font-size: 13px; color: var(--muted); margin: 8px 0 16px; line-height: 1.8; }
.acc-fb__note { font-size: 13px; color: var(--navy); font-weight: 600; background: var(--cream); border-radius: 6px; padding: 8px 12px; margin: 0 0 12px; }
.acc-fb__tabs { display: flex; gap: 4px; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.acc-fb__tab { font-family: var(--font-fa); font-weight: 600; font-size: 13px; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 8px 12px; cursor: pointer; transition: color .15s, border-color .15s; }
.acc-fb__tab.is-on { color: var(--navy); border-bottom-color: var(--navy); }
@media (hover: hover) { .acc-fb__tab:hover:not(.is-on) { color: var(--soft); } }
.acc-fb__ta { width: 100%; min-height: 180px; resize: vertical; font-family: var(--font-fa); font-size: 13px; line-height: 1.9; color: var(--soft); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; box-sizing: border-box; }
.acc-fb__ta:focus { outline: none; border-color: var(--navy); background: var(--white); }
.acc-fb__brow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.acc-fb__wc { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.acc-fb__msg { font-size: 13px; color: var(--navy); margin: 12px 0 0; }
.acc-fb__buy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.acc-fb__pack { display: flex; flex-direction: column; gap: 3px; }
.acc-fb__pack-n { font-size: 16px; font-weight: 700; color: var(--navy); }
.acc-fb__pack-p { font-size: 13px; font-weight: 600; color: var(--soft); font-variant-numeric: tabular-nums; }

/* advanced writing editor (contenteditable + toolbar) */
.acc-ed { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--cream); }
.acc-ed:focus-within { border-color: var(--navy); background: var(--white); }
.acc-ed__bar { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); background: transparent; }
.acc-ed__b { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-fa); min-width: 38px; height: 38px; padding: 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 6px; cursor: pointer; line-height: 1; transition: color .15s, background .15s; }
@media (hover: hover) { .acc-ed__b:hover { background: var(--line-soft); color: var(--navy); } }
.acc-ed__b:active { background: var(--line-soft); }
.acc-ed__sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }
.acc-ed__area { min-height: 180px; max-height: 460px; overflow-y: auto; padding: 12px 16px; font-family: var(--font-fa); font-size: 13px; line-height: 1.9; color: var(--soft); background: transparent; outline: none; text-align: left; }
.acc-ed__area:empty::before { content: attr(data-ph); color: var(--muted); pointer-events: none; }
.acc-ed__area ul, .acc-ed__area ol { padding-inline-start: 22px; margin: 8px 0; }
.acc-ed__area p { margin: 0 0 8px; }
.acc-fb__cap { font-size: 13px; color: var(--navy); font-weight: 600; background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; margin: 8px 0 0; }
.acc-fb__wc.is-over { color: var(--navy); font-weight: 700; }
.acc-fb__more { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.acc-fb__morebtn { font-family: var(--font-fa); font-size: 13px; font-weight: 600; color: var(--navy); background: none; border: 0; cursor: pointer; padding: 0; }
.acc-fb__packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
@media (min-width: 600px) { .acc-fb__packs { grid-template-columns: repeat(4, 1fr); } }
.acc-fb__pk { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 12px; }
.acc-fb__pk.is-best { border-color: var(--navy); }
.acc-fb__pk-tag { position: absolute; top: -9px; inset-inline-end: 10px; font-size: 11px; font-weight: 700; color: var(--white); background: var(--navy); border-radius: 999px; padding: 2px 8px; }
.acc-fb__pk-n { font-size: 13px; font-weight: 700; color: var(--navy); }
.acc-fb__pk-p { font-size: 13px; font-weight: 600; color: var(--soft); font-variant-numeric: tabular-nums; }
.acc-fb__pk-btn { width: 100%; margin-top: 8px; padding: 8px 12px; }

/* ──────────────────────  RENEWAL / ADVANCE PAYMENT (/account/)  ────────────────────── */
.acc-renew { margin: 0 0 36px; }
.acc-renew__card { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.acc-renew__head { background: var(--cream); padding: 20px 20px; border-bottom: 1px solid var(--line); }
.acc-renew__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.acc-renew__meta { font-size: 13px; color: var(--soft); margin: 0; line-height: 1.8; font-variant-numeric: tabular-nums; }
.acc-renew__body { padding: 16px 20px 20px; }
.acc-renew__note { font-size: 13px; color: var(--navy); font-weight: 600; background: var(--cream); border-radius: 6px; padding: 8px 12px; margin: 0 0 16px; }
.acc-renew__plans { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .acc-renew__plans { grid-template-columns: 1fr 1fr; } }
.acc-renew__plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 16px; }
.acc-renew__plan.is-early, .acc-renew__plan--bundle { border-color: var(--navy); }
.acc-renew__plan-name { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acc-renew__tag { font-size: 11px; font-weight: 700; color: var(--white); background: var(--navy); border-radius: 999px; padding: 2px 8px; }
.acc-renew__plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.acc-renew__plan-price strong { font-size: 16px; font-weight: 700; color: var(--navy); }
.acc-renew__was { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.acc-renew__badge { font-size: 11px; font-weight: 700; color: var(--white); background: var(--navy); border-radius: 999px; padding: 2px 8px; align-self: flex-start; }
.acc-renew__perk { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.7; font-variant-numeric: tabular-nums; }
.acc-renew__btn { width: 100%; margin-top: 8px; padding: 8px 12px; }
/* secondary button: the non-recommended plan recedes to an outline so one primary leads (Round 3) */
.acc-renew__plan:not(.acc-renew__plan--bundle):not(.is-early) .acc-renew__btn { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
@media (hover: hover) { .acc-renew__plan:not(.acc-renew__plan--bundle):not(.is-early) .acc-renew__btn:hover { background: var(--cream); border-color: var(--navy); } }
.acc-renew__skip { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; font-size: 13px; color: var(--soft); line-height: 1.75; cursor: pointer; }
.acc-renew__skip input { margin-top: 3px; accent-color: var(--navy); flex: none; }
.acc-renew__preview { font-size: 13px; color: var(--muted); margin: 12px 0 0; line-height: 1.7; font-variant-numeric: tabular-nums; }
.acc-renew__preview strong { color: var(--navy); font-weight: 700; }

/* ──────────────────────  COURSE UNITS (/account/)  ────────────────────── */
.acc-course { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 24px; margin: 0 0 28px; }
.acc-course__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.acc-course__empty { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }
.acc-course__grp { margin: 0 0 16px; }
.acc-course__grp:last-child { margin-bottom: 0; }
.acc-course__grp-t { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.acc-course__unit { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px; margin: 0 0 12px; transition: border-color .18s, background .18s; }
.acc-course__unit:last-child { margin-bottom: 0; }
.acc-course__unit:hover { border-color: var(--muted); background: var(--cream); }
.acc-course__u-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acc-course__u-title { font-size: 16px; font-weight: 700; color: var(--navy); }
.acc-course__u-blurb { font-size: 13px; color: var(--muted); line-height: 1.7; }
.acc-course__u-go { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.acc-course__u-st { font-size: 11px; font-weight: 600; color: var(--muted); }
/* «مسیر» — the Continue Door (the one focal point) + honest-progress bar */
.acc-course__door { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k go" "t go" "b go"; gap: 2px 16px; text-decoration: none; color: #ffffff; background: var(--navy); border: 1px solid var(--navy); border-radius: 14px; padding: 16px 20px; margin: 0 0 20px; transition: background .18s; }
.acc-course__door:hover { background: var(--navy-deep); }
.acc-course__door-k { grid-area: k; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .02em; }
.acc-course__door-t { grid-area: t; font-size: 16px; font-weight: 700; color: #ffffff; line-height: 1.4; }
.acc-course__door-b { grid-area: b; font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.7; margin-top: 2px; }
.acc-course__door-go { grid-area: go; align-self: center; font-size: 23px; font-weight: 700; color: #ffffff; }
.acc-course__alldone { font-size: 13px; color: var(--muted); line-height: 1.85; margin: 0 0 16px; }
.acc-course__prog { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin: 8px 0 20px; }
.acc-course__prog-lab { font-size: 13px; font-weight: 600; color: var(--soft); line-height: 1.15; }
.acc-course__prog-bar { width: 100%; height: 4px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.acc-course__prog-fill { display: block; height: 100%; background: var(--navy); border-radius: 3px; transition: width .6s cubic-bezier(.22,.61,.36,1); }
.acc-course__lesson { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 0 0 16px; background: var(--white); }
.acc-course__lesson-head { margin: 0 0 12px; }
.acc-course__lesson-t { display: block; font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.acc-course__lesson-blurb { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.7; }
.acc-course__strands { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-course__strand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--cream); transition: border-color .18s; }
.acc-course__strand:hover { border-color: var(--muted); }
.acc-course__strand-n { font-size: inherit; font-weight: inherit; color: inherit; }
.acc-course__strand-st { font-size: 11px; font-weight: 600; color: var(--muted); }
.acc-course__steps-meta { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 8px; }
/* Lesson roadmap — step rail (LearnDash-style contents list) */
.acc-roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acc-roadmap__row { border: 1px solid var(--line); border-radius: 10px; background: var(--cream); }
.acc-roadmap__link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; text-decoration: none; color: inherit; }
.acc-roadmap__row:not(.is-locked):not(.is-hidden):not(.is-soon) .acc-roadmap__link:hover { background: var(--white); }
.acc-roadmap__row.is-locked,
.acc-roadmap__row.is-hidden,
.acc-roadmap__row.is-soon { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; opacity: 0.55; }
.acc-roadmap__row.is-passed { border-color: var(--navy); }
.acc-roadmap__row.is-prog { border-color: var(--muted); }
.acc-roadmap__row.is-active { border-color: var(--navy); background: var(--white); }
.acc-roadmap__n { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--white); font-variant-numeric: tabular-nums; }
.acc-roadmap__row.is-passed .acc-roadmap__n { border-color: var(--navy); }
.acc-roadmap__label { font-size: 13px; font-weight: 700; color: var(--navy); }
.acc-roadmap__st { font-size: 11px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.acc-roadmap__row.is-passed .acc-roadmap__st { color: var(--navy); }

/* ── «تغییر» — the settled-reflex list (used to break, now holds). Honest-progress:
      real state, calm voice, no celebration; hidden when there is no change yet. ── */
.acc-change { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 16px 0 0; background: var(--cream); }
.acc-change__t { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 4px; }
.acc-change__lead { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.acc-change__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acc-change__row { display: flex; align-items: baseline; gap: 8px; font-size: 13px; line-height: 1.8; }
.acc-change__glyph { flex: 0 0 auto; font-weight: 700; color: var(--navy); }
.acc-change__name { font-weight: 600; color: var(--soft); }
.acc-change__note { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 12px 0 0; }

/* ──────────────────────  EBOOK DOWNLOADS (/account/)  ────────────────────── */
.acc-dl { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 24px; margin: 0 0 28px; }
.acc-dl__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.acc-dl__lede { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.acc-dl__list { list-style: none; padding: 0; margin: 0; }
.acc-dl__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.acc-dl__item:first-child { border-top: 0; }
.acc-dl__name { font-size: 13px; font-weight: 600; color: var(--navy); }
.acc-dl__btn { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--navy); }
@media (hover: hover) { .acc-dl__btn:hover { color: var(--navy-deep); } }

/* ──────────────────  FILES FROM FARHAD (educational materials, /account/)  ────────────────── */
.acc-mat { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 24px; margin: 0 0 28px; }
.acc-mat__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.acc-mat__lede { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.acc-mat__list { list-style: none; padding: 0; margin: 0; }
.acc-mat__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.acc-mat__item:first-child { border-top: 0; }
.acc-mat__name { font-size: 13px; font-weight: 600; color: var(--navy); }
.acc-mat__btn { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: #ffffff; background: var(--navy); text-decoration: none; padding: 8px 16px; border-radius: 8px; }
@media (hover: hover) { .acc-mat__btn:hover { background: var(--navy-deep); } }

/* ──────────────────  MOCK add-on (/account/) — one card per test, تراز/milestone framing  ────────────────── */
.acc-mock { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 24px; margin: 0 0 28px; }
.acc-mock__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.acc-mock__lede { font-size: 13px; color: var(--muted); margin: 0 0 16px; line-height: 1.8; }
.acc-mock__card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 0 0 16px; background: var(--white); }
.acc-mock__card:last-child { margin-bottom: 0; }
.acc-mock__card-t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.4; }
.acc-mock__card-sub { font-size: 13px; color: var(--muted); margin: 4px 0 16px; line-height: 1.7; }
/* the one focal point — start the full four-skill run */
.acc-mock__go { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; font-size: 16px; color: #ffffff; background: var(--navy); border: 1px solid var(--navy); border-radius: 12px; padding: 12px 20px; min-height: 46px; transition: background .18s; }
@media (hover: hover) { .acc-mock__go:hover { background: var(--navy-deep); } }
.acc-mock__secs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.acc-mock__secs-lab { font-size: 11px; font-weight: 600; color: var(--muted); }
.acc-mock__sec { display: inline-flex; align-items: center; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--cream); transition: border-color .18s; }
@media (hover: hover) { .acc-mock__sec:hover { border-color: var(--muted); } }
.acc-mock__karnameh { font-size: 13px; color: var(--muted); margin: 16px 0 0; line-height: 1.8; }
.acc-mock__karnameh b { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.acc-mock__empty { font-size: 13px; color: var(--muted); margin: 16px 0 0; line-height: 1.8; }

/* ──────────────────  PRACTICE room door (/account/) — compact, secondary to the mock  ────────────────── */
.acc-practice { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 24px; margin: 0 0 28px; }
.acc-practice__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.acc-practice__lede { font-size: 13px; color: var(--muted); margin: 0 0 16px; line-height: 1.8; }
.acc-practice__cont { display: block; font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); margin: 0 0 12px; }
@media (hover: hover) { .acc-practice__cont:hover { border-color: var(--muted); } }
.acc-practice__door { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; }
@media (hover: hover) { .acc-practice__door:hover { color: var(--navy-deep); } }

/* ────────────────  THE DOORS ROW (mission IA fix, 2026-07-24) — quiet reference, findable  ──────────────── */
.acc-doors { margin: 0 0 28px; }
.acc-doors--organ { margin: 24px 0 0; }
.acc-doors__t { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.acc-doors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 600px) { .acc-doors__grid { grid-template-columns: repeat(4, 1fr); } }
.acc-doors__door { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; background: var(--white); }
@media (hover: hover) { .acc-doors__door:hover { background: var(--cream); border-color: var(--muted); } }
.acc-doors__lab { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.acc-doors__go { font-size: 15px; color: var(--muted); flex: none; }

/* ────────────────  «جزوه‌های من» — the ONE library (merges files + downloads)  ──────────────── */
.acc-lib { margin: 0 0 28px; }
.acc-lib__t { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.acc-lib__lede { font-size: 13px; color: var(--muted); margin: 0 0 16px; line-height: 1.8; }
.acc-lib__grp { margin: 0 0 18px; }
.acc-lib__grp-t { font-size: 13px; font-weight: 600; color: var(--soft); margin: 0 0 8px; }
.acc-lib__list { list-style: none; margin: 0; padding: 0; }
.acc-lib__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.acc-lib__name { font-size: 13px; color: var(--soft); }
.acc-lib__btn { flex: none; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; }
@media (hover: hover) { .acc-lib__btn:hover { color: var(--navy-deep); } }
.acc-lib__get { flex: none; font-size: 13px; font-weight: 600; color: var(--navy); background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 12px; min-height: 36px; cursor: pointer; }
@media (hover: hover) { .acc-lib__get:hover { border-color: var(--muted); } }
.acc-lib__get[disabled] { color: var(--muted); cursor: default; }

/* feedback thread — tone+glyph status column (first-person copy lives in app.js) */
.acc-up__st { display: inline-block; width: 14px; color: var(--muted); font-weight: 700; }
.acc-up__item--new .acc-up__st { color: var(--navy); }
.acc-up__open { color: var(--navy); font-weight: 600; text-decoration: none; }
.acc-up__wait { color: var(--soft); }

/* ──────────────────────  BUYABLE COURSES SHELL (/courses/)  ────────────────────── */
.course-hero { background: var(--navy); padding: 48px var(--gutter) 40px; }
.course-hero__inner { max-width: var(--measure); margin: 0 auto; }
.course-hero__eyebrow { font-family: var(--font-en); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 16px; }
.course-hero__title { font-size: 28px; font-weight: 700; color: #ffffff; margin: 0 0 16px; line-height: 1.4; }
.course-hero__sub { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.85; margin: 0; max-width: 560px; }
.course-grid { padding: 36px var(--gutter) 96px; }
.course-grid__inner { max-width: var(--measure); margin: 0 auto; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .course-grid__inner { grid-template-columns: 1fr 1fr; } .course-note { grid-column: 1 / -1; } }
.course-card { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.course-card__title { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.course-card__tag { font-size: 13px; color: var(--muted); margin: 0 0 20px; line-height: 1.7; }
.course-card__plans { list-style: none; padding: 0; margin: 0 0 16px; }
.course-plan { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.course-plan:first-child { border-top: 0; }
.course-plan__label { font-size: 13px; font-weight: 600; color: var(--soft); }
.course-plan__price { font-size: 13px; font-weight: 700; color: var(--navy); display: flex; flex-direction: column; align-items: flex-end; }
.course-plan__note { font-size: 11px; font-weight: 600; color: var(--muted); }
.course-plan__buy { font-family: var(--font-fa); font-weight: 700; font-size: 13px; color: #ffffff; background: var(--navy); border: 0; border-radius: 8px; padding: 8px 16px; min-height: 44px; cursor: pointer; transition: background .15s; } /* 44px floor — THE buy button (D3 2026-07-07) */
@media (hover: hover) { .course-plan__buy:hover:not(:disabled) { background: var(--navy-deep); } }
.course-plan__buy:disabled { opacity: .5; cursor: default; }
.course-card__trial { width: 100%; font-family: var(--font-fa); font-weight: 600; font-size: 13px; color: var(--navy); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 12px; cursor: pointer; margin-top: 8px; transition: border-color .15s; }
@media (hover: hover) { .course-card__trial:hover:not(:disabled) { border-color: var(--navy); } }
.course-card__trial:disabled { opacity: .5; cursor: default; }
/* trialFocal (2026-07-12): free-first funnel — the intro pass is the ONE focal tier, monthlies
   demote to a quiet "commit longer" row (mirrors the offer copy; glass-critic focal fix). */
.course-card__intro { width: 100%; display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-fa); font-weight: 700; font-size: 16px; color: #ffffff; background: var(--navy); border: 0;
  border-radius: 10px; padding: 16px 16px; min-height: 56px; cursor: pointer; transition: background .15s; margin: 0 0 16px; }
@media (hover: hover) { .course-card__intro:hover:not(:disabled) { background: var(--navy-deep); } }
.course-card__intro:disabled { opacity: .5; cursor: default; }
.course-card__intro-price { font-weight: 700; }
.course-card__intro-go { font-size: 13px; font-weight: 600; opacity: .85; }
.course-card__more { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.course-card__plans--quiet .course-plan__buy { color: var(--navy); background: var(--cream); border: 1px solid var(--line); font-weight: 600; }
@media (hover: hover) { .course-card__plans--quiet .course-plan__buy:hover:not(:disabled) { background: var(--white); border-color: var(--navy); } }
.course-card__plans--quiet .course-plan__price { color: var(--soft); }
.course-note { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 8px 0 0; text-align: center; }

/* Branded first-paint loading state — shown inside #app-root until the React island mounts and replaces it. */
.app-loading { max-width: 680px; margin: 0 auto; padding: 96px 24px 120px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.app-loading__sigil { width: 44px; height: 44px; color: var(--navy); }
.app-loading__msg { font-family: var(--font-fa); font-weight: 600; font-size: 16px; color: var(--muted); margin: 24px 0 20px; }
.app-loading__bar { width: 180px; height: 3px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.app-loading__bar i { display: block; height: 100%; width: 40%; background: var(--navy); border-radius: 999px; animation: app-load 1.1s ease-in-out infinite; }
@keyframes app-load { 0% { transform: translateX(-130%); } 100% { transform: translateX(360%); } }
@media (prefers-reduced-motion: reduce) { .app-loading__bar i { animation: none; width: 100%; } }

/* ─────────────────────────  ADMIN DASHBOARD (/practice/admin/)  ─────────────────────────
   Internal Farhad-only monitor. Palette-only, no new hue: status is glyph + navy/soft, not color. */
.adm { padding: 8px 0 96px; }
.adm__inner { max-width: 940px; margin: 0 auto; padding: 0 var(--gutter); }
.adm-strip { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 24px 0 8px; }
.adm-stat { flex: 1 1 140px; display: flex; flex-direction: column; gap: 2px; padding: 16px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.adm-stat strong { font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.adm-stat span { font-size: 13px; color: var(--muted); }
.adm-refresh { flex: 0 0 auto; align-self: center; font-family: var(--font-fa); font-weight: 600; font-size: 13px; color: var(--navy); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; cursor: pointer; transition: border-color .15s; }
@media (hover: hover) { .adm-refresh:hover:not(:disabled) { border-color: var(--navy); } }
.adm-refresh:disabled { opacity: .5; cursor: default; }
.adm-h { font-size: 16px; font-weight: 700; color: var(--navy); margin: 36px 0 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.adm-h__n { font-size: 13px; font-weight: 500; color: var(--muted); }
.adm-empty { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.adm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

/* roster */
.adm-row { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.adm-row__head { width: 100%; text-align: inherit; font-family: var(--font-fa); background: none; border: 0; cursor: pointer; display: grid; grid-template-columns: 1.4fr 1.1fr 1.3fr 1.2fr 1fr auto; gap: 8px 16px; align-items: center; padding: 16px 16px; }
.adm-row__head.is-open { border-bottom: 1px solid var(--line-soft); }
@media (hover: hover) { .adm-row__head:hover { background: var(--cream); } }
.adm-row__name { font-size: 13px; font-weight: 700; color: var(--navy); display: flex; flex-direction: column; gap: 2px; }
.adm-row__sub { font-size: 11px; font-weight: 500; color: var(--muted); }
.adm-row__tags, .adm-row__att, .adm-row__pay, .adm-row__next { font-size: 13px; color: var(--soft); }
.adm-row__next { color: var(--muted); }
.adm-row__caret { color: var(--muted); font-size: 13px; }
.adm-tl { list-style: none; margin: 0; padding: 8px 12px 12px; display: grid; gap: 4px; background: var(--cream); }
.adm-tl__row { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 12px; background: var(--white); border: 1px solid var(--line-soft); border-radius: 8px; }
.adm-tl__seq { font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.adm-tl__when { font-size: 13px; color: var(--soft); }
.adm-tl__mk { display: inline-block; margin-inline-start: 6px; font-size: 11px; font-weight: 700; color: var(--navy); background: var(--line-soft); border-radius: 999px; padding: 1px 8px; }
.adm-tl__st { font-size: 11px; font-weight: 700; }
.adm-tl__st--attended { color: var(--navy); }
.adm-tl__st--absent { color: var(--soft); }
.adm-tl__st--scheduled { color: var(--muted); }
.adm-tl__acts { display: flex; gap: 4px; }
.adm-att { width: 28px; height: 28px; font-family: var(--font-fa); font-weight: 700; font-size: 13px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 7px; cursor: pointer; transition: all .12s; }
.adm-att.is-on { color: #ffffff; background: var(--navy); border-color: var(--navy); }
@media (hover: hover) { .adm-att:hover:not(:disabled):not(.is-on) { border-color: var(--navy); color: var(--navy); } }
.adm-att:disabled { opacity: .5; cursor: default; }

/* writing queue */
.adm-q { background: var(--white); border: 1px solid var(--line); border-inline-start: 3px solid var(--line); border-radius: var(--radius-card); padding: 16px 16px; }
.adm-q.is-wait { border-inline-start-color: var(--navy); }
.adm-q__head { display: grid; grid-template-columns: auto 1.6fr 1fr auto; gap: 12px 16px; align-items: center; }
.adm-q__badge { font-size: 16px; color: var(--navy); }
.adm-q__title { font-size: 13px; font-weight: 700; color: var(--navy); display: flex; flex-direction: column; gap: 2px; }
.adm-q__sub { font-size: 11px; font-weight: 500; color: var(--muted); }
.adm-q__st { font-size: 13px; color: var(--soft); }
.adm-q__acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.adm-q__btn { font-family: var(--font-fa); font-weight: 600; font-size: 13px; color: var(--navy); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; transition: border-color .15s; }
.adm-q__btn.is-primary { color: #ffffff; background: var(--navy); border-color: var(--navy); }
@media (hover: hover) { .adm-q__btn:hover { border-color: var(--navy); } .adm-q__btn.is-primary:hover { background: var(--navy-deep); } }
.adm-q__body { margin-top: 12px; padding: 12px 16px; background: var(--cream); border: 1px solid var(--line-soft); border-radius: 8px; }
.adm-q__bodyhtml { font-size: 13px; line-height: 1.85; color: var(--soft); }
.adm-q__file { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--navy); }
.adm-q__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.adm-q__fb { margin-top: 16px; }
.adm-q__fbmsg { margin: 8px 0 0; font-size: 13px; color: var(--navy); }
.adm-q__fbrow { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.adm-q__hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.adm-q__hint code, .adm-mat__hint code { font-family: ui-monospace, monospace; font-size: 11px; background: var(--cream); padding: 1px 4px; border-radius: 4px; color: var(--soft); }
.adm-q__fbfilerow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.adm-q__fbfilelbl { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; }
.adm-q__fbfilelbl input[type=file] { font-family: var(--font-fa); font-size: 16px; color: var(--soft); max-width: 220px; } /* ≥16px — iOS zoom-on-focus */
.adm-q__fbfile { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; }

/* Materials panel (admin) — upload a file once, grant to one / all */
.adm-mat { padding: 20px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); margin: 0 0 28px; }
.adm-mat__up { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 12px; }
.adm-mat__title { flex: 1 1 240px; min-width: 0; margin: 0; }
.adm-mat__file { font-family: var(--font-fa); font-size: 13px; color: var(--soft); }
.adm-mat__hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.adm-mat__grant { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.adm-mat__lastt { font-size: 13px; font-weight: 700; color: var(--navy); flex: 1 1 100%; }
.adm-mat__sel { font-family: var(--font-fa); font-size: 13px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; max-width: 240px; }

/* flat rows (course access / progress / practice / ledger) */
.adm-flat { display: grid; grid-template-columns: 1.4fr 1.4fr auto auto; gap: 8px 16px; align-items: center; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.adm-flat__a { font-size: 13px; font-weight: 600; color: var(--navy); }
.adm-flat__b { font-size: 13px; color: var(--soft); }
.adm-flat__c { font-size: 13px; font-weight: 700; color: var(--navy); }
.adm-flat__d { font-size: 13px; color: var(--muted); }

/* course-telemetry leak map (the student-progress report — settled vs. stuck reflexes) */
.adm-leaks { padding: 4px 16px 16px; }
.adm-leaklist { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.adm-leak { display: grid; grid-template-columns: 20px 1.4fr 1.1fr auto; gap: 12px; align-items: center; padding: 8px 12px; background: var(--white); border: 1px solid var(--line-soft); border-radius: 9px; }
.adm-leak.is-set { border-color: var(--navy); }
.adm-leak.is-stuck { border-color: var(--soft); background: var(--cream); }
.adm-leak__badge { width: 20px; text-align: center; font-weight: 700; color: var(--muted); }
.adm-leak.is-set .adm-leak__badge { color: var(--navy); }
.adm-leak.is-stuck .adm-leak__badge { color: var(--soft); }
.adm-leak__name { font-size: 13px; font-weight: 600; color: var(--navy); }
.adm-leak__nums { font-size: 13px; color: var(--muted); }
.adm-leak__st { font-size: 13px; font-weight: 700; color: var(--muted); text-align: end; }
.adm-leak.is-set .adm-leak__st { color: var(--navy); }
.adm-tlx { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.adm-tlx__row { display: grid; grid-template-columns: 30px 18px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; background: var(--white); border: 1px solid var(--line-soft); border-radius: 7px; font-size: 13px; }
.adm-tlx__row.is-miss { border-inline-start: 3px solid var(--soft); }
.adm-tlx__seq { color: var(--muted); font-weight: 700; font-size: 11px; }
.adm-tlx__g { text-align: center; font-weight: 700; color: var(--navy); }
.adm-tlx__row.is-miss .adm-tlx__g { color: var(--soft); }
.adm-tlx__leak { color: var(--navy); font-weight: 600; }
.adm-tlx__chose { color: var(--muted); font-weight: 600; }
.adm-tlx__ctx { color: var(--muted); font-size: 11px; text-align: end; }

@media (max-width: 768px) {
  .adm-row__head, .adm-q__head, .adm-flat { grid-template-columns: 1fr 1fr; }
  .adm-row__caret { display: none; }
  .adm-q__acts { grid-column: 1 / -1; justify-content: flex-start; }
  .adm-tl__row { grid-template-columns: 22px 1fr auto; }
  .adm-tl__acts { grid-column: 1 / -1; justify-content: flex-end; }
  .adm-leak { grid-template-columns: 20px 1fr auto; }
  .adm-leak__nums { grid-column: 2 / -1; }
  .adm-tlx__row { grid-template-columns: 26px 16px 1fr; }
  .adm-tlx__ctx { grid-column: 1 / -1; text-align: start; }
}

/* ════════════════════  DASHBOARD A1 + A3 (Round 3) — focal hero / continue-spine / number-forward progress  ════════════════════ */
/* A3 — demoted identity strip: a quiet reference line, like a page number (Glass). */
.acc-id { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 0 0 20px; margin-bottom: 36px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.acc-id__email { direction: ltr; color: var(--soft); font-weight: 600; }
.acc-id__badge.is-ok { color: var(--navy); }
.acc-id__logout { margin-inline-start: auto; background: none; border: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (hover: hover) { .acc-id__logout:hover { color: var(--navy); } }
.acc-id__resend { background: none; border: 0; font: inherit; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
/* ── PROFILE (Part D, 2026-07-28) ─────────────────────────────────────────────────────────
   The name becomes the felt thing and the email demotes to quiet reference (Glass #3) — before
   this, the raw email WAS the identity, which reads as a receipt rather than a room.
   Palette-closed: navy + cream + line only, no new hue, no gradient, no shadow (#3/#4/#7). */
.acc-id__face { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.acc-id__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-id__mono { color: var(--cream); font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.acc-id__name { color: var(--navy); font-weight: 700; font-size: 15px; }
/* the door is a quiet text link, never a badge or a call to action — nothing should pull the eye
   here; the sole navy anchor on this surface stays .acc-next */
.acc-pf__door { display: inline-block; margin: -20px 0 32px; background: none; border: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: 8px 0; min-height: 44px; }
@media (hover: hover) { .acc-pf__door:hover { color: var(--navy); } }
.acc-pf { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; margin: -8px 0 36px; }
.acc-pf__lead { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0 0 20px; max-width: 52ch; }
.acc-pf__row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
.acc-pf__lab { font-size: 13px; color: var(--soft); font-weight: 600; }
.acc-pf__opt { color: var(--muted); font-weight: 500; }
.acc-pf__in { font: inherit; font-size: 14px; color: var(--navy); background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; min-height: 44px; width: 100%; }
.acc-pf__in:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.acc-pf__act { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.acc-pf__close { background: none; border: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; min-height: 44px; }
@media (hover: hover) { .acc-pf__close:hover { color: var(--navy); } }
.acc-pf__msg { font-size: 13px; color: var(--soft); }
@media (max-width: 560px) {
  .acc-pf__row { grid-template-columns: 1fr; gap: 6px; }
  .acc-pf { padding: 20px 16px; }
}
/* A1 — THE next step. The one navy anchor / sole focal point on the surface. */
.acc-next { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "eye go" "title go" "meta go"; align-items: center; column-gap: 24px; background: var(--navy); color: #ffffff; border-radius: var(--radius-card); padding: 32px 32px 36px; margin-bottom: 48px; text-decoration: none; transition: background .18s; }
@media (hover: hover) { .acc-next:hover { background: var(--navy-deep); } .acc-next:hover .acc-next__go { transform: translateX(-5px); } }
.acc-next__eyebrow { grid-area: eye; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.acc-next__title { grid-area: title; font-size: 23px; font-weight: 700; line-height: 1.5; color: #ffffff; max-width: 30ch; }
.acc-next__meta { grid-area: meta; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.68); font-variant-numeric: tabular-nums; }
.acc-next__go { grid-area: go; align-self: center; font-size: 28px; line-height: 1; color: rgba(255,255,255,.85); transition: transform .18s; }
/* Progress as achievement — the number is the hero of its line; the bar is secondary. */
/* F-SWISS-TYPE-3 APPLIED (Swiss pilot 2026-07-22): 2.6em (=41.6px) → 40px (--fs-display). The ~4% delta on this hero display numeral is THE marked device-verify item — confirm on a real 360px phone before deploy. line-height:.85 (the LH-1 "0.85 hack") left as-is: not gate-measured, device-sensitive, rides the batch. */
.acc-course__prog-n, .hero__progress-n { font-size: 40px; font-weight: 700; line-height: .85; font-variant-numeric: tabular-nums; }
.acc-course__prog-n { color: var(--navy); }
.hero__progress-n { color: #ffffff; }
/* Continue-spine inside the hero (practice + reading): the one action, calm. */
.hub-next { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding: 16px 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; text-decoration: none; transition: background .18s, border-color .18s; }
@media (hover: hover) { .hub-next:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.34); } .hub-next:hover .hub-next__go { transform: translateX(-4px); } }
.hub-next__lbl { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); }
.hub-next__t { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.5; color: #ffffff; font-variant-numeric: tabular-nums; }
.hub-next__go { flex: 0 0 auto; font-size: 23px; line-height: 1; color: rgba(255,255,255,.85); transition: transform .18s; }
.hub-doors { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.hub-next--primary { margin-top: 0; }
.hub-sampler {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t go" "s go";
  gap: 2px 16px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line);
  border-inline-start: 3px solid var(--navy); border-radius: var(--radius-card); text-decoration: none;
  transition: border-color .18s, background .18s;
}
.hub-sampler--solo { margin-top: 32px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.hub-sampler--solo .hub-sampler__t { color: #ffffff; }
.hub-sampler--solo .hub-sampler__sub { color: rgba(255,255,255,.68); }
@media (hover: hover) {
  .hub-sampler:hover { border-color: var(--navy); background: var(--cream); }
  .hub-sampler--solo:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.34); }
}
.hub-sampler__t { grid-area: t; font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.hub-sampler__sub { grid-area: s; font-size: 13px; color: var(--muted); line-height: 1.65; }
.hub-sampler__go { grid-area: go; align-self: center; font-size: 19px; font-weight: 700; color: var(--navy); }
.hub-sampler--solo .hub-sampler__go { color: rgba(255,255,255,.85); }

/* ── B5 (2026-07-06) — account refinement: course-return note · cross-sell · skeleton · agree · small screens ── */
.acc-note--top { margin: 0 0 16px; }
.acc-xsell {
  position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 16px; padding-inline-end: 42px; margin: 0 0 28px;
}
.acc-xsell__line { margin: 0 0 4px; font-size: 13px; line-height: 1.8; color: var(--soft); }
.acc-xsell__link { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
@media (hover: hover) { .acc-xsell__link:hover { border-bottom-color: var(--navy); } }
.acc-xsell__x {
  position: absolute; top: 6px; inset-inline-end: 6px;
  background: none; border: 0; cursor: pointer;
  font-size: 19px; line-height: 1; color: var(--muted); padding: 8px 12px;
}
.acc-skel { margin: 0 0 48px; }
.acc-skel__bar { height: 15px; border-radius: 8px; background: var(--cream); border: 1px solid var(--line-soft); margin: 0 0 12px; }
.acc-skel__bar--card { height: 104px; border-radius: 14px; margin-bottom: 16px; }
.acc-fb__agree { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; font-size: 13px; color: var(--soft); line-height: 1.75; cursor: pointer; }
.acc-fb__agree input { margin-top: 3px; accent-color: var(--navy); flex: none; }
.acc-fb__agree a { color: var(--navy); font-weight: 600; }
@media (max-width: 600px) {
  .acc-id { gap: 8px 12px; }
  .acc-id__email { word-break: break-all; }
  .acc-id__logout { margin-inline-start: 0; }
}

/* ══ ENTITLEMENT WAVE (2026-07-08) — course hub: the path, not the list (/practice/course/, CourseHubApp) ══
   One felt thing: این‌جایی — ادامه بده. REUSE, not reinvention: the focal current-lesson card
   renders as .acc-next (the established sole-navy-anchor), the renewal bridge-card as
   .hub-sampler, the loading state as .acc-skel__bar. Below = only the net-new pieces:
   quiet entitlement strip · 4-chapter journey spine · one-open accordion · قوانین دوره.
   Locked rows use the --soon idiom (opacity .42, pointer-events none — .skill-card--soon
   precedent): no lock icon, no «به‌زودی», just a low-opacity unlock fact. */
.chub { max-width: var(--measure); margin: 0 auto; padding: 44px var(--gutter) 90px; }
.chub__h { font-size: 23px; font-weight: 700; color: var(--navy); margin: 0 0 8px; line-height: 1.6; }
/* entitlement strip — page-number register (quiet chrome a paying student is owed; never red, never a countdown) */
.hub-ent { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0 0 36px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hub-ent p { margin: 0; }
/* thin days-arc (2026-07-09) — honest quiet proportion beside the days line; static, navy on
   --line, no animation, no color shift at low values (never a countdown aesthetic) */
.ent-arc { vertical-align: -4px; margin-inline-end: 8px; }
/* focal-early (≤3d): the renewal card holds the focal slot, studying stays one tap away —
   this quiet secondary sits directly under it (access lasts → continue never disappears) */
.hub-cont2 { display: block; margin: -32px 0 44px; padding: 8px 2px; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--soft); text-decoration: none; }
@media (hover: hover) { .hub-cont2:hover { color: var(--navy); } }
/* renewal quiet line (≤14d) — one shade darker than the strip so it reads exactly once */
.hub-renew__line { margin: -24px 0 36px; font-size: 13px; color: var(--soft); }
/* journey spine */
.hub-spine { margin: 0 0 56px; }
/* one quiet line orienting the student to the drip — reads once, above the spine (Farhad 2026-07-10) */
.hub-drip-note { margin: 4px 0 20px; font-size: 13px; color: var(--soft); line-height: 1.7; }
.hub-ch { margin: 32px 0 8px; display: flex; align-items: baseline; gap: 12px; }
.hub-ch:first-child { margin-top: 0; }
.hub-ch__t { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.hub-ch__ln { flex: 1; height: 1px; background: var(--line-soft); }
.hub-lesson { width: 100%; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; column-gap: 12px; min-height: 48px; padding: 4px 12px; margin: 0; border: 0; background: none; font: inherit; text-align: start; border-radius: 8px; cursor: pointer; }
@media (hover: hover) { .hub-lesson:hover { background: var(--cream); } }
.hub-lesson__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hub-lesson__t { font-size: 16px; font-weight: 600; color: var(--soft); line-height: 1.6; }
.hub-lesson__note { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hub-lesson__check { color: var(--muted); font-size: 13px; }
.hub-lesson__earned { display: inline-flex; align-items: center; gap: 8px; }
.hub-lesson.is-done .hub-lesson__t { color: var(--muted); font-weight: 500; }
.hub-lesson.is-current .hub-lesson__t { color: var(--navy); font-weight: 700; }
.hub-lesson__here { display: inline-block; margin-inline-start: 8px; font-size: 11px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.hub-lesson__here::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); margin-inline-end: 5px; vertical-align: 1px; }
/* F-CHUB-4: non-focal in-progress lessons get a QUIETER marker (muted, no accent dot) so the
   navy «این‌جایی» stays the ONE focal pull — Glass one-focal-point (2026-07-21). */
.hub-lesson__inprog { display: inline-block; margin-inline-start: 8px; font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; }
/* unbuilt «soon» rows (rendered as <div>, empty note) stay a faint whisper — no promise */
div.hub-lesson.is-locked { opacity: .42; pointer-events: none; cursor: default; }
/* drip/gate-locked lessons (rendered as <button>): title stays quiet, but the «کِی باز می‌شه»
   fact must READ — no opacity dimming on the reason (Farhad 2026-07-10) */
button.hub-lesson.is-locked { pointer-events: none; cursor: default; }
button.hub-lesson.is-locked .hub-lesson__n,
button.hub-lesson.is-locked .hub-lesson__t { color: var(--muted); font-weight: 500; }
button.hub-lesson.is-locked .hub-lesson__note { color: var(--soft); }
/* accordion — CSS grid-rows technique (no JS measuring); ONE lesson open at a time (app state) */
.hub-parts { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.hub-parts.is-open { grid-template-rows: 1fr; }
.hub-parts > div { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .hub-parts { transition: none; } }
.hub-part { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; min-height: 44px; padding: 3px 12px; margin-inline-start: 32px; border-radius: 8px; text-decoration: none; }
@media (hover: hover) { a.hub-part:hover { background: var(--cream); } }
.hub-part__t { font-size: 13px; font-weight: 500; color: var(--soft); line-height: 1.6; }
.hub-part__s { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hub-part.is-done .hub-part__t { color: var(--muted); }
.hub-part.is-current .hub-part__t { color: var(--navy); font-weight: 700; }
/* locked parts: quiet title, readable «opens in N days» reason (no opacity — Farhad 2026-07-10) */
.hub-part.is-locked { pointer-events: none; }
.hub-part.is-locked .hub-part__t { color: var(--muted); }
.hub-part.is-locked .hub-part__s { color: var(--soft); }

/* ── THE LESSON RING — station rail (2026-07-24). Tone + glyph, NO hue, NO animation. The rail is
   quiet furniture; the ONE bold «next» label is the felt thing. Collapsed-row fraction «۳ از ۵». */
.hub-lesson__ring { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ring { margin: 6px 0 12px; margin-inline-start: 32px; }
.ring__rail { display: flex; align-items: flex-start; }
.ring__st { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0; background: none; border: 0; font: inherit; text-align: center; cursor: default; }
button.ring__st { min-height: 44px; cursor: pointer; }
.ring__dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-sizing: border-box; }
.ring__lab { font-size: 11px; color: var(--muted); line-height: 1.3; white-space: nowrap; }
.ring__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* done — filled navy, label recedes (done goes quiet) */
.ring__st.is-done .ring__dot { background: var(--navy); }
.ring__st.is-done .ring__lab { color: var(--muted); }
/* open — muted outline */
.ring__st.is-open .ring__dot { border: 1.5px solid var(--muted); }
.ring__st.is-open .ring__lab { color: var(--soft); }
/* next — the single focal: navy ring + navy centre (◉), bold navy label */
.ring__st.is-next .ring__dot { border: 2px solid var(--navy); }
.ring__st.is-next .ring__dot::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--navy); }
.ring__st.is-next .ring__lab { color: var(--navy); font-weight: 600; }
/* notyet — faint outline, still a button (its job is explaining the key) */
.ring__st.is-notyet { opacity: .55; }
.ring__st.is-notyet .ring__dot { border: 1px solid var(--muted); }
.ring__st.is-notyet .ring__lab { color: var(--muted); }
/* door — an open/done station is a real link (A-1, 2026-07-28). Same dot, same label, same
   weight: the ONLY change is that it is now tappable, thumb-sized, and says so on hover.
   Glass — the affordance is the tap target, never new decoration. */
a.ring__st.is-door { min-height: 44px; cursor: pointer; text-decoration: none; }
@media (hover: hover) { button.ring__st:hover .ring__lab, a.ring__st.is-door:hover .ring__lab { color: var(--navy); } }
a.ring__st.is-door:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: var(--r-sm); }
.ring__why { margin: 8px 0 2px; padding: 8px 12px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 13px; color: var(--soft); line-height: 1.7; }
/* closed ring — one calm acknowledgment, not an event (no confetti) */
.ring__closed { margin: 6px 0 12px; margin-inline-start: 32px; font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.6; }
@media (max-width: 600px) { .ring, .ring__closed { margin-inline-start: 26px; } }
/* the organ-page cross-organ Continue strip (ring-cont.js) — quiet reference, not a focal */
.organ-cont { display: block; padding: 8px 2px; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--soft); text-decoration: none; }
@media (hover: hover) { .organ-cont:hover { color: var(--navy); } }

/* قوانین دوره — collapsed quiet facts (JS-toggled .is-open, admin-roster precedent) */
.hub-rules { margin: 0 0 40px; border-top: 1px solid var(--line); padding-top: 16px; }
.hub-rules__btn { background: none; border: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--soft); cursor: pointer; padding: 8px 0; min-height: 44px; }
.hub-rules__body { display: none; font-size: 13px; color: var(--soft); line-height: 2; }
.hub-rules.is-open .hub-rules__body { display: block; }
.hub-rules__body p { margin: 0 0 12px; }
@media (max-width: 600px) {
  .chub { padding-top: 32px; }
  .hub-ent { gap: 4px 20px; }
  .hub-lesson { column-gap: 12px; }
  .hub-part { margin-inline-start: 26px; }
}
/* cadence add-on selector on /courses/ (dormant until COURSES.cadence.enabled — ENTITLEMENT WAVE) */
.course-cad { margin: 16px 0 4px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.course-cad__t { margin: 0 0 8px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.course-cad__opt { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; color: var(--soft); cursor: pointer; min-height: 28px; }
.course-cad__opt input { accent-color: var(--navy); flex: none; }
.course-cad__sum { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--navy); }

/* ── Tutor door (COLD FOLD v1) — quiet video-tutorial card under the skill-hub hero ── */
.tutor-door { padding: 16px var(--gutter) 0; background: var(--white); }
.tutor-door__inner { max-width: var(--measure); margin: 0 auto; }
.tutor-door__card {
  background: var(--white); border: 1px solid var(--line);
  border-inline-start: 2px solid var(--navy); border-radius: var(--radius-card);
  padding: 16px 18px; font-size: 14px; line-height: 1.9; color: var(--soft);
}
.tutor-door__card a {
  color: var(--navy); font-weight: 700;
  border-bottom: 1px solid var(--line); padding-bottom: 1px; text-decoration: none;
}
@media (hover: hover) { .tutor-door__card a:hover { border-bottom-color: var(--navy); } }

/* ── «برنامه‌ی من» — the teaching-day board (admin only, 2026-07-25) ──────────────────────
   Palette-only: the 8 closed values, no new hue (non-negotiable #3/#4). The now-marker is
   TONE + WEIGHT, never a badge, counter or streak — a visible retention mechanism is exactly
   what the summon-not-trap rule forbids, and this surface is Farhad's own workbench. */
.adm-board { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px 18px 14px; }
.adm-board__day { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.adm-board__sub { font-size: 12px; font-weight: 600; color: var(--muted); margin: 22px 0 8px; padding-top: 14px; border-top: 1px solid var(--line-soft); }

.adm-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.adm-slot { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 10px 12px; background: var(--cream); border-radius: 8px; }
.adm-slot__time { font-size: 15px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.adm-slot__who { font-size: 14px; color: var(--soft); flex: 1 1 auto; }
.adm-slot__kind { font-size: 11px; color: var(--muted); margin-inline-start: 6px; }
.adm-slot__state { font-size: 12px; color: var(--muted); }
.adm-slot.is-now { background: var(--navy); }
.adm-slot.is-now .adm-slot__time, .adm-slot.is-now .adm-slot__who { color: var(--white); }
.adm-slot.is-now .adm-slot__state { color: var(--cream); font-weight: 600; }
.adm-slot.is-next .adm-slot__state { color: var(--navy); font-weight: 600; }
.adm-slot.is-done { opacity: 0.42; }
.adm-slot.is-absent .adm-slot__state { color: var(--soft); }

.adm-week { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.adm-day { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 7px 10px; border-radius: 6px; }
.adm-day.is-today { background: var(--line-soft); }
.adm-day__label { font-size: 13px; color: var(--soft); min-width: 9.5em; }
.adm-day.is-today .adm-day__label { font-weight: 700; color: var(--navy); }
.adm-day__none { font-size: 12px; color: var(--muted); }
.adm-day.is-holiday .adm-day__label, .adm-day.is-holiday .adm-day__none { opacity: 0.5; }
.adm-day__items { display: flex; flex-wrap: wrap; gap: 12px; }
.adm-day__item { font-size: 13px; color: var(--soft); }
.adm-day__item b { color: var(--navy); font-variant-numeric: tabular-nums; margin-inline-end: 3px; }

.adm-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.adm-term { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-radius: 6px; }
.adm-term:nth-child(odd) { background: var(--line-soft); }
.adm-term__who { font-size: 14px; font-weight: 600; color: var(--navy); min-width: 8em; }
.adm-term__win { font-size: 12.5px; color: var(--soft); flex: 1 1 auto; }
.adm-term__n { font-size: 12px; color: var(--muted); }
.adm-term__stop { font: inherit; font-size: 12px; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 6px; padding: 4px 12px; min-height: 32px; cursor: pointer; }
.adm-term__stop:hover:not(:disabled) { color: var(--navy); border-color: var(--navy); }
.adm-term__stop:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 560px) {
  .adm-board { padding: 14px 12px 12px; }
  .adm-day__label { min-width: 100%; }
  .adm-term__who { min-width: 100%; }
}
