/* Talqeen's look, PM L-618 (2026-11-07 00:59, Muhammad: "make really modern, cool design ... I liked the previous design with the animation
   when i pressed recite. its just the boxes style I didnt like ... less is more"). Replaces the square boxed layer of L-603 (6 Nov).
   Light and crown: white paper, ink text, one crown gold. Fewer boxes: groups part by space and a hairline, controls sit on the page
   without outlines, fields are soft filled wells, the one main action on each screen is solid gold. Corners: 14px main buttons,
   12px fields and menus, 22px sheets; no pills, no glows. Recite keeps the turning ring and the beating mic, now in gold.
   Undo: backups/v-l618/rollback.sh. */
@font-face{font-family:'Alexandria';src:url('/taaj/alexandria-500-arabic.woff2') format('woff2');font-weight:500;font-display:swap;unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Alexandria';src:url('/taaj/alexandria-500-latin-ext.woff2') format('woff2');font-weight:500;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Alexandria';src:url('/taaj/alexandria-500-latin.woff2') format('woff2');font-weight:500;font-display:swap;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:'Alexandria';src:url('/taaj/alexandria-600-arabic.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Alexandria';src:url('/taaj/alexandria-600-latin-ext.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Alexandria';src:url('/taaj/alexandria-600-latin.woff2') format('woff2');font-weight:600;font-display:swap;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:'Alexandria';src:url('/taaj/alexandria-700-arabic.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Alexandria';src:url('/taaj/alexandria-700-latin-ext.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Alexandria';src:url('/taaj/alexandria-700-latin.woff2') format('woff2');font-weight:700;font-display:swap;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:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-400-arabic.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-400-latin-ext.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-400-latin.woff2') format('woff2');font-weight:400;font-display:swap;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:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-500-arabic.woff2') format('woff2');font-weight:500;font-display:swap;unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-500-latin-ext.woff2') format('woff2');font-weight:500;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-500-latin.woff2') format('woff2');font-weight:500;font-display:swap;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:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-600-arabic.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-600-latin-ext.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-600-latin.woff2') format('woff2');font-weight:600;font-display:swap;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:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-700-arabic.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-700-latin-ext.woff2') format('woff2');font-weight:700;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('/taaj/ibmplexsansarabic-700-latin.woff2') format('woff2');font-weight:700;font-display:swap;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}

/* ---------- Tokens ---------- */
:root{
  --gold:#F0B312;--gold-hi:#FFE27A;--gold-lo:#C68A06;
  --gold-metal:linear-gradient(180deg,#FFD84D 0%,#F4BE1E 46%,#E7A609 100%);
  --bg:#FFFFFF;--page:#FFFFFF;--surface:#FFFFFF;--card:#F4F4F6;--ink:#121216;--muted:#6B6E78;--line:#ECECEF;--edge:#D9D9DF;
  --accent:var(--gold);--accent-grad:var(--gold-metal);--fill:var(--gold);--accent-ink:#1C1300;--accent-text:#946600;--glow:transparent;
  --accent-tint:color-mix(in srgb,#F0B312 13%,transparent);--band:rgba(240,179,18,.13);--tq:#E0A00A;--tq-soft:color-mix(in srgb,#F0B312 18%,transparent);
  --shadow:none;--lift:none;--btn-shadow:none;--scrim:rgba(12,12,16,.36);--float:0 18px 40px -22px rgba(18,18,22,.42);
  --chrome:var(--page);--btn:transparent;--glass:var(--surface);--mark-off:#8A8D96;
  --timer-bg:transparent;--timer-ink:var(--ink);--peek-ring:transparent;--peek-edge:transparent;--peek-glow:transparent;
  --mic-grad:var(--gold-metal);--mic-busy:linear-gradient(110deg,#E7A609 0%,#F4BE1E 34%,#FFE27A 50%,#F4BE1E 66%,#E7A609 100%);--mic-glow:transparent;
  --fresh:#946600;--wordbox:rgba(240,179,18,.3);--rosette:#946600;--page-ink:#121216;
  --r-main:14px;--r-field:12px;--r-sheet:22px;
  --ui:'IBM Plex Sans Arabic',-apple-system,Roboto,'Segoe UI',sans-serif;--display:'Alexandria','IBM Plex Sans Arabic',sans-serif;
  font-family:var(--ui);background:var(--bg)
}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){
  --accent:var(--gold);--accent-grad:var(--gold-metal);--fill:var(--gold);--accent-ink:#1C1300;--glow:transparent;--shadow:none;--lift:none;--btn-shadow:none;--chrome:var(--page);--btn:transparent;--glass:var(--surface);--timer-bg:transparent;--timer-ink:var(--ink);--peek-ring:transparent;--peek-edge:transparent;--peek-glow:transparent;--mic-grad:var(--gold-metal);--mic-glow:transparent;
  --gold:#F7C21E;--gold-hi:#FFE27A;--gold-lo:#D99A06;
  --gold-metal:linear-gradient(180deg,#FFDF66 0%,#F7C21E 46%,#E6A80B 100%);
  --bg:#0B0B0E;--page:#0B0B0E;--surface:#151518;--card:#1C1C21;--ink:#F4F4F6;--muted:#9EA0A8;--line:#232329;--edge:#34343B;
  --accent-tint:color-mix(in srgb,#F7C21E 15%,transparent);--band:rgba(247,194,30,.14);--tq:#F7C21E;--tq-soft:color-mix(in srgb,#F7C21E 18%,transparent);
  --accent-text:#FFD54F;--scrim:rgba(0,0,0,.6);--float:0 18px 44px -18px rgba(0,0,0,.8);--mark-off:#8A8A90;
  --mic-busy:linear-gradient(110deg,#E6A80B 0%,#F7C21E 34%,#FFE27A 50%,#F7C21E 66%,#E6A80B 100%);
  --fresh:#FFD54F;--wordbox:rgba(247,194,30,.3);--rosette:#F7C21E;--page-ink:#F4F4F6
}}
:root[data-theme=dark]{
  --accent:var(--gold);--accent-grad:var(--gold-metal);--fill:var(--gold);--accent-ink:#1C1300;--glow:transparent;--shadow:none;--lift:none;--btn-shadow:none;--chrome:var(--page);--btn:transparent;--glass:var(--surface);--timer-bg:transparent;--timer-ink:var(--ink);--peek-ring:transparent;--peek-edge:transparent;--peek-glow:transparent;--mic-grad:var(--gold-metal);--mic-glow:transparent;
  --gold:#F7C21E;--gold-hi:#FFE27A;--gold-lo:#D99A06;
  --gold-metal:linear-gradient(180deg,#FFDF66 0%,#F7C21E 46%,#E6A80B 100%);
  --bg:#0B0B0E;--page:#0B0B0E;--surface:#151518;--card:#1C1C21;--ink:#F4F4F6;--muted:#9EA0A8;--line:#232329;--edge:#34343B;
  --accent-tint:color-mix(in srgb,#F7C21E 15%,transparent);--band:rgba(247,194,30,.14);--tq:#F7C21E;--tq-soft:color-mix(in srgb,#F7C21E 18%,transparent);
  --accent-text:#FFD54F;--scrim:rgba(0,0,0,.6);--float:0 18px 44px -18px rgba(0,0,0,.8);--mark-off:#8A8A90;
  --mic-busy:linear-gradient(110deg,#E6A80B 0%,#F7C21E 34%,#FFE27A 50%,#F7C21E 66%,#E6A80B 100%);
  --fresh:#FFD54F;--wordbox:rgba(247,194,30,.3);--rosette:#F7C21E;--page-ink:#F4F4F6
}
:root[data-theme=light]{
  --accent:var(--gold);--accent-grad:var(--gold-metal);--fill:var(--gold);--accent-ink:#1C1300;--glow:transparent;--shadow:none;--lift:none;--btn-shadow:none;--chrome:var(--page);--btn:transparent;--glass:var(--surface);--timer-bg:transparent;--timer-ink:var(--ink);--peek-ring:transparent;--peek-edge:transparent;--peek-glow:transparent;--mic-grad:var(--gold-metal);--mic-glow:transparent;
  --gold:#F0B312;--gold-hi:#FFE27A;--gold-lo:#C68A06;--gold-metal:linear-gradient(180deg,#FFD84D 0%,#F4BE1E 46%,#E7A609 100%);
  --bg:#FFFFFF;--page:#FFFFFF;--surface:#FFFFFF;--card:#F4F4F6;--ink:#121216;--muted:#6B6E78;--line:#ECECEF;--edge:#D9D9DF;
  --accent-text:#946600;--tq:#E0A00A;--fresh:#946600;--rosette:#946600;--page-ink:#121216
}

/* ---------- Type ---------- */
body,button,input,select,textarea{font-family:var(--ui)}
body{-webkit-font-smoothing:antialiased;font-synthesis:none}
h1,h2,.ob-h,.view h1,.view h2,.practice-screen .page-card strong,.lesson-screen #lesson-name,.sheet-head h2,.sheet-head h3,.pick-card .pc-n,.wordmark{font-family:var(--display);font-weight:600;letter-spacing:-.015em}
html[dir=rtl] :is(h1,h2,.ob-h,.practice-screen .page-card strong,.pick-card .pc-n,.taaj-auth h1){letter-spacing:0}
html:not([dir=rtl]) :is(h1,h2,.ob-h,.taaj-auth h1,.sheet-head h2,.sheet-head h3){word-spacing:-.06em}
.ob-h{font-size:30px;line-height:1.15}
.view h1{font-size:30px}
:is(.ob-go,.ob-start,.pick-card .pc-act,.practice-bar .fab,.primary,.secondary,.view .btn){font-weight:600;letter-spacing:0}
.pick-card .pc-what,.practice-screen .page-card .meta{font-variant-numeric:tabular-nums}

/* ---------- Shape: one family of soft corners (was 3px everywhere) ---------- */
.icon-btn,.round,.fab,.pill,.primary,.secondary,.notice,.page-card,.lesson-card,.card-face,.step-pill,.skip-intro,.ctl,.lesson-controls>.caption,.drill-panel,.stepper button,.speed-choices,.speed-choices button,.panel-jumps button,.practice-screen .page-card,.practice-bar .notice,.lesson-controls>.notice,.pick-learn,.resume-chip,.lesson-block,.lesson-block .block-ic,.lesson-block .block-go,.ask-dock,.ask-dock .item-ic,.ask-dock .btn,.ask-dock .field,.vkey,.micon,.mbox,.past-btn,.pop-menu button,.goto-find input,.mrow,.ask-sheet .btn,.revise-choice,.pick-revise,.practice-screen>.noise-tip,.practice-screen>.noise-tip .noise-ok,.top .round,.view .ask,.view .btn,.view .field,.view .item-ic,.tabs .tab-ic,.view .find .field,.view .mbar,.view .chip,.view .lrow>.play,.view .lrow>.mini,.view.done-page>.mark,.view .stat,.view .work-w span,.screen:has(>.view)>.notice,.view .work-k span,.tour-hole,.tour-band,.tour-chip,.tour-ic,.tour-card,.tour-skip,.tour-next,.ob-back,.ob-skip,.ob-card,.ob-row,.ob-place,.ob-ico,.ob-hear,.ob-link,.ob-alt,.ob-go,.ob-start,.ob-find,.ob-hint,.ob-dock .ob-start,.ob-chip,.ob-plan2,.ob-qbox,.ob-voice,.ob-vsel,.ob-voice .ob-hear,.ob-demo,.ob-dband,.ob-coach .ob-chg,.coach-ring,.coach-tip,.coach-skip,.beta-chip,.ob-pchoice,.lesson-controls.pace-bar .deck .fab,.lesson-controls.pace-bar .deck .ctl.again,.lesson-controls.pace-bar .deck .ctl.plus-one,.lbar .ctl,.pick-card .pc-sel,.pick-card .pick-revise,.pick-card .pick-learn,.lesson-card>.caption.top-cap,.ob-dock.ob-pick .ob-whole,.pick-card .pick-x,.pick-card .why,.pick-card .pc-edit,.pick-card .pc-act,.turn-b,.turn-tip,.practice-bar>.mic-card,.practice-bar>.mic-card .block-ic,.practice-bar>.mic-card .block-go,.ob-res .ob-rec,.lesson-screen .lesson-head,.lesson-screen .lesson-title,html.pick-drag .practice-bar .pick-card .pc-turn,.deck .ctl.ayah-back,.deck .ctl.ayah-next,.deck .ctl.again,.deck .ctl.plus-one,.step-row .ctl.help.pill,.ob-row .ob-n,.ob-place .ob-n{border-radius:var(--r-field)!important}
:is(.practice-bar .fab,.primary,.ob-go,.ob-start,.pick-learn,.pick-card .pick-learn,.pick-card .pick-revise,.view .btn,.tour-next,.lesson-block .block-go,.ob-dock .ob-start){border-radius:var(--r-main)!important}
.sheet,.practice-bar .pick-bar.pick-card{border-radius:var(--r-sheet) var(--r-sheet) 0 0!important}
#app{border-radius:0!important}
.ob-dock,.ob-dock.ob-pick{border-radius:var(--r-sheet) var(--r-sheet) 0 0!important}
.rec-timer,.ob-steps .ob-n,.ob-demo i{border-radius:999px!important}
.view .segs-bar i{border-radius:2px!important}

/* ---------- No outlines, no glows: edges come from space and tone ---------- */
:is(.primary,.ob-go,.ob-start,.practice-bar .fab,.pick-card .pc-act,.pick-learn,.pick-revise,.view .btn,.ask-dock .btn,.lesson-block .block-go,.tour-next,.resume-chip,.ob-card,.ob-row,.ob-place,.notice,.page-card,.lesson-card,.ask-dock,.view .card,.view .list,.view .hero,.view .ask,.revise-choice,.mrow,.round,.pill,.eye-group,.turn-b,.step-pill,.ctl,.lbar .ctl,.lesson-screen .lesson-head,.lesson-screen .lesson-title,.stepper button,.speed-choices,.panel-jumps button){box-shadow:none!important}
.round,.pill,.turn-b,.practice-bar .resume-chip,.step-pill,.lbar .ctl,.deck .ctl,.lesson-screen .lesson-head,.lesson-screen .lesson-title{background:transparent!important;border:0!important}

/* ---------- Main buttons: crown gold, highlight on top, deeper shade below; a soft press ---------- */
:is(.primary,.ob-go,.ob-start,.pick-learn,.pick-card .pick-learn,.view .btn.primary,.view .btn.gold,.tour-next,.lesson-block .block-go,.practice-bar>.mic-card .block-go,.view .lrow>.play.prime){background:var(--gold-metal)!important;color:var(--accent-ink)!important;border:0!important}
:is(.primary,.ob-go,.ob-start,.pick-learn,.pick-revise,.view .btn,.tour-next,.practice-bar .fab,.lesson-block .block-go,.ob-card,.ob-row,.ob-place,.revise-choice){transition:transform .22s cubic-bezier(.2,1.3,.4,1),background-color .2s,color .2s}
:is(.primary,.ob-go,.ob-start,.pick-learn,.pick-revise,.view .btn,.tour-next,.practice-bar .fab,.lesson-block .block-go,.ob-card,.ob-row,.ob-place,.revise-choice):active:not(:disabled){transform:scale(.97);filter:none}
.view .btn:not(.primary):not(.gold):not(.danger){background:var(--card);color:var(--ink)}
.view .btn.soft{background:var(--card)!important;color:var(--ink)!important}
.view .lrow>.play{background:var(--card);color:var(--ink)}

/* ---------- Recite: the one bold thing. Gold at rest; pressed, a gold sheen while it connects, then the bar turns to paper with a gold
   comet turning round its edge and the mic beating (the animation of the earlier look, which he liked) ---------- */
.practice-bar .fab{position:relative;isolation:isolate;overflow:hidden;color:var(--accent-ink)!important}
.practice-bar .fab:not([data-state=on]):not([data-state=connecting]){background:var(--gold-metal)!important}
.practice-bar .fab[data-state=connecting]{background:var(--mic-busy)!important;background-size:300% 100%!important;animation:look-sheen 1.2s linear infinite}
.practice-bar .fab[data-state=on]{overflow:visible;background:var(--surface)!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--tq) 45%,transparent)!important}
.practice-bar .fab[data-state=on]::before{content:'';position:absolute;pointer-events:none;inset:-2px;z-index:-1;border-radius:calc(var(--r-main) + 2px);padding:2.5px;
  background:conic-gradient(from var(--a,0deg),transparent 0 52%,color-mix(in srgb,var(--gold) 35%,transparent) 68%,var(--gold) 84%,var(--gold-hi) 93%,transparent 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:look-orbit 2.2s linear infinite}
.practice-bar .fab[data-state=on] svg{color:var(--tq);animation:look-beat 1.2s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.practice-bar .fab[data-state=on]::before,.practice-bar .fab[data-state=on] svg,.practice-bar .fab[data-state=connecting]{animation:none!important}}

/* ---------- Home (the mushaf page): bare top icons, bare tools at the foot, nothing boxed ---------- */
.practice-screen .lesson-top>:is([data-action=practice-prefs],[data-action=menu]){background:transparent!important;border:0!important;box-shadow:none!important;border-radius:var(--r-field)!important}
.practice-screen .practice-bar :is(.mistakes-pill,.book,.eye-group){border:0!important;background:transparent!important;box-shadow:none!important;border-radius:var(--r-field)!important}
.practice-screen .practice-bar .eye-group .peek{border:0!important}
.practice-screen .practice-bar .mistakes-pill{padding:0 10px!important;font-weight:600}
.practice-screen .practice-bar .mistakes-pill.has{background:var(--miss-fill)!important;color:#fff!important}
.practice-screen .practice-bar .eye-group.on{background:var(--accent-tint)!important}
.practice-screen .practice-bar .fab{margin-inline-start:10px}
.practice-bar,.practice-screen .practice-bar{background:var(--chrome)}
.turn-b{color:var(--muted)}
.practice-bar .resume-chip{color:var(--accent-text);font-weight:600}

/* ---------- The range box (From, To, Revise, Memorise): a sheet with soft wells, no inner boxes ---------- */
.practice-bar .pick-bar.pick-card,.practice-bar .pick-bar.pick-card.look-in,html.pick-drag .practice-bar .pick-bar.pick-card{background:var(--surface)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important;box-shadow:0 -1px 0 var(--line),var(--float)!important}
.practice-bar .pick-bar.pick-card::before{width:36px;height:4px;border-radius:2px!important;background:var(--edge)}
.pick-card .pc-sel{background-color:var(--card)!important;border:0!important;box-shadow:none!important}
.pick-card .pc-sel:focus{outline:0;box-shadow:inset 0 0 0 1.5px var(--gold)!important}
.pick-card .pc-l{background:none!important;padding-inline:0!important;color:var(--muted);font-weight:500}
.pick-card .pc-act{min-height:52px}
.pick-card .pick-revise{background:var(--card)!important;color:var(--ink)!important;border:0!important}
.pick-card .pick-x{background:transparent!important;border:0!important}
.pick-card .pc-n{font-size:20px}
.pick-card .pc-edit{background:transparent!important}

/* ---------- Sheets and menus ---------- */
.sheet{background:var(--surface)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important;box-shadow:0 -1px 0 var(--line),var(--float)!important}
.sheet::before{width:36px;height:4px;border-radius:2px;background:var(--edge)}
.sheet-scrim{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.pop-menu{border:1px solid var(--line)!important;background:var(--surface)!important;border-radius:14px!important;box-shadow:var(--float)!important;padding:6px}
.pop-menu button{border-radius:10px!important}
.drill-panel{border:1px solid var(--line)!important;background:var(--surface)!important;border-radius:16px!important;box-shadow:var(--float)!important}

/* ---------- Segments: words, the chosen one in ink with a gold rule under it ---------- */
.sheet .seg,.view .seg,.tabs3,.speed-choices{background:transparent!important;border:0!important;box-shadow:none!important}
.sheet .seg span,.view .seg span,.tabs3 button,.speed-choices button{background:transparent!important;border-radius:0!important;color:var(--muted);box-shadow:none!important}
.sheet .seg input:checked+span,.view .seg input:checked+span,.tabs3 button[aria-selected=true],.speed-choices button[aria-pressed=true],.speed-choices button.on{color:var(--ink)!important;font-weight:650;box-shadow:inset 0 -2.5px 0 var(--gold)!important;background:transparent!important}
.stepper button,.panel-jumps button{background:var(--card)!important;border:0!important}

/* ---------- Switches ---------- */
.switch{border-radius:999px!important;background:var(--edge)}
.switch::after{border-radius:50%!important;box-shadow:0 1px 2px rgba(0,0,0,.18)!important}
.switch:checked{background:var(--gold)!important}

/* ---------- Screens outside the page: Settings, Review, Surahs ---------- */
.view :is(.card,.list){background:transparent!important;border:0!important;border-radius:0!important}
.view .hero{background:transparent!important}
.view .item+.item,.view .srow+.srow{border-top:1px solid var(--line)}
.view .item-ic{background:transparent!important;color:var(--muted)}
.view .item,.view .srow,.view .group-head,.view .lrow{padding-inline:4px}
.view .field,.view .find .field,.goto-find input,.ask-dock .field{background:var(--card)!important;border:0!important;box-shadow:none!important}
.view .field:focus,.goto-find input:focus{outline:0;box-shadow:inset 0 0 0 1.5px var(--gold)!important}
.tabs .tab-ic{background:transparent!important;box-shadow:none!important}
.tabs .tab.on .tab-ic{background:transparent!important;color:var(--accent-text)!important}
.tabs .tab.on{color:var(--ink);font-weight:650}
.view .snum::before,.view .snum::after{border-color:color-mix(in srgb,var(--gold) 55%,transparent)}
.beta-chip{background:var(--accent-tint)!important;color:var(--accent-text)!important;border:0!important}

/* ---------- Setup and tour ---------- */
.ob{background:var(--bg)!important}
.ob-card,.ob-row,.ob-place,.ob-plan2,.ob-qbox,.ob-voice,.ob-demo,.revise-choice,.mrow{background:var(--card)!important;border:0!important;box-shadow:none!important}
.ob-card.on,.ob-row.on,.ob-place.on,.ob-card[aria-pressed=true],.ob-row[aria-pressed=true],.ob-card[aria-checked=true],.ob-row[aria-checked=true],.revise-choice.last{background:var(--accent-tint)!important;box-shadow:none!important}
.ob-ico{background:transparent!important;color:var(--accent-text)!important;box-shadow:none!important}
.ob-card.on .ob-check,.ob-card[aria-pressed=true] .ob-check{background:var(--gold)!important;color:var(--accent-ink)!important;border-color:var(--gold)!important}
.ob-check{border-radius:50%!important}
.ob-dots i.on{background:var(--gold)!important;box-shadow:none!important}
.ob-vsel,.ob-find{background:var(--card)!important;border:0!important;box-shadow:none!important}
.ob-dock{background:var(--surface)!important;box-shadow:0 -1px 0 var(--line)!important}
.coach-ring{box-shadow:0 0 0 2px var(--gold)!important}
.coach-tip,.tour-card{background:var(--ink)!important;color:var(--bg)!important;border:0!important;border-radius:16px!important;box-shadow:var(--float)!important}
.coach-skip,.tour-skip{background:transparent!important;color:var(--ink)!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:has(.practice-screen>.sheet-scrim) .coach-skip{opacity:0;pointer-events:none}

/* ---------- Notices and error cards (no mic, no internet): a soft well, red icon, gold Try again ---------- */
.practice-bar .notice,.lesson-controls>.notice,.screen:has(>.view)>.notice,.lesson-block,.practice-bar>.mic-card,.ask-dock{background:var(--card)!important;border:0!important;box-shadow:var(--float)!important;border-radius:16px!important}
:is(.lesson-block,.practice-bar>.mic-card) .block-ic{background:color-mix(in srgb,var(--miss) 12%,transparent)!important;color:var(--miss)!important;border-radius:12px!important}

/* ---------- The lesson screen ---------- */
.lesson-controls .fab,.lesson-controls.pace-bar .deck .fab{background:var(--gold-metal)!important;color:var(--accent-ink)!important;box-shadow:none!important;border-radius:16px!important}

/* ---------- Recording consent ---------- */
html .consent-box{border-radius:20px!important;box-shadow:var(--float)!important;border:0!important;background:var(--surface)}
html .consent button{border-radius:var(--r-main)}
html .consent button.yes{background:var(--gold-metal)!important;color:var(--accent-ink)!important;border:0}
html .consent button:not(.yes){background:var(--card);border:0;color:var(--ink)}
html .consent h2{font-family:var(--display);font-weight:600;letter-spacing:-.01em}

/* ---------- Sign up and sign in: no card, the mark on top, soft filled fields ---------- */
html .taaj-auth{background:var(--bg)}
html .taaj-auth .ta-box{gap:16px}
html .taaj-auth .ta-mark{display:flex;align-items:center;gap:10px;justify-content:flex-start;font-size:0;margin:0 0 22px}
html .taaj-auth .ta-mark::before{content:'';width:34px;height:34px;background:url('/taaj/mark.svg') center/contain no-repeat}
html .taaj-auth .ta-mark::after{content:'Talqeen';font-family:var(--display);font-size:19px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
html .taaj-auth .ta-mark span{display:none}
html[dir=rtl] .taaj-auth .ta-mark{direction:rtl}
html[dir=rtl] .taaj-auth .ta-mark::after{content:'تلقين'}
html .taaj-auth h1{text-align:start;font-size:30px;font-weight:600;line-height:1.15;letter-spacing:-.015em}
html .taaj-auth .ta-sub{text-align:start;font-size:16px;margin:-4px 0 8px;color:var(--muted)}
html .taaj-auth .ta-card{padding:0;border:0;border-radius:0;background:none;box-shadow:none;gap:14px}
html .taaj-auth input:not([type=checkbox]){height:52px;border-radius:var(--r-field);background:var(--card);border:0;box-shadow:none;padding:0 16px}
html .taaj-auth input:not([type=checkbox]):focus{outline:0;box-shadow:inset 0 0 0 1.5px var(--gold)}
html .taaj-auth input[type=checkbox]{accent-color:var(--gold-lo);border-radius:4px}
html .taaj-auth label{color:var(--ink);font-weight:500}
html .taaj-auth .ta-btn,html .taaj-auth .ta-go{height:54px;border-radius:var(--r-main);background:var(--gold-metal)!important;color:var(--accent-ink)!important;box-shadow:none;font-weight:600;border:0}
html .taaj-auth .ta-g,html .taaj-auth .ta-a{height:54px;border-radius:var(--r-main);box-shadow:none;background:var(--card);border:0;color:var(--ink)}
html .taaj-auth .ta-eye{border-radius:8px}
html .taaj-auth .ta-block{border-radius:16px;box-shadow:none;border:0;background:var(--card)}
html .taaj-auth .ta-ic{border-radius:12px}
html .taaj-auth .ta-switch,html .taaj-auth .ta-foot{justify-content:flex-start;text-align:start}
html .taaj-auth .ta-or{font-size:13px;color:var(--muted)}
html .taaj-auth .ta-link{color:var(--accent-text)}
/* ux1 (8 Nov): Privacy policy and Forgot password are easier to tap; the extra area is invisible and nothing moves */
html .taaj-auth .ta-foot a,html .taaj-auth .ta-forgot,.consent .consent-box>a{position:relative}
html .taaj-auth .ta-foot a::after,.consent .consent-box>a::after{content:'';position:absolute;inset:-11px -6px}
html .taaj-auth .ta-forgot::after{content:'';position:absolute;inset:-4px -6px -8px}
html .taaj-auth .taaj-ok-ask,html .taaj-ok-ask{border-radius:16px}
/* L-611 (tab 118): Already have an account? Sign in, at the top under the title, so it shows without scrolling */
html .taaj-auth .ta-switch{margin:0 0 16px;font-size:16px}
html .taaj-auth .ta-switch .ta-link{font-weight:600;padding:8px 2px;text-decoration:underline;text-underline-offset:3px}

/* ---------- The language screen before sign in (intro/intro.css): same paper, ink and gold ---------- */
html .taaj-intro{--ti-bg:var(--bg)!important;--ti-surface:var(--surface)!important;--ti-ink:var(--ink)!important;--ti-muted:var(--muted)!important;--ti-line:var(--line)!important;
  --ti-accent:var(--gold)!important;--ti-accent-text:var(--accent-text)!important;--ti-accent-ink:var(--accent-ink)!important;--ti-grad:var(--gold-metal)!important;
  --ti-lift:none!important;--ti-logo-glow:none!important;--ti-wash:transparent!important;--ti-display:var(--display)!important;--ti-ui:var(--ui)!important;background-image:none!important}
html .taaj-intro .ti-logo{content:url('/taaj/mark.svg');border-radius:0!important;box-shadow:none!important}
html .taaj-intro .ti-btn{border-radius:var(--r-main)!important;box-shadow:none!important;border:0!important;background:var(--card)!important;color:var(--ink)!important}
html .taaj-intro .ti-btn.is-main{background:var(--gold-metal)!important;color:var(--accent-ink)!important}
html .taaj-intro .ti-tag{text-transform:none!important;letter-spacing:0!important;font-size:15px!important}

/* ---------- The page's words ---------- */
html .mushaf .w.fresh{color:var(--fresh)!important;background:color-mix(in srgb,var(--gold) 16%,transparent)!important}

/* ---------- Focus: one clear ring ---------- */
:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}

/* ---------- The lesson's top line: the surah's name and the time left on the page itself, a thin gold progress line ---------- */
.lesson-top .page-card,.lesson-top .page-card .card-face{background:transparent!important;border:0!important;box-shadow:none!important}
.lesson-top #lesson-name{font-family:var(--display);font-weight:600;font-size:19px;letter-spacing:-.01em}
.lesson-top .time-left{color:var(--muted)}
.lesson-top .progress{background:var(--gold)!important}

/* PM L-634 (2026-11-07 10:29, Muhammad on the first screen: "Remove the geometric backgrounds. I need it to be super good calligraphy
   not this bad writing style"). No star, square or circle pattern anywhere: the first screen, setup and the lesson done page.
   The ayah is set in KFGQPC HAFS Uthmanic Script, the King Fahd Complex's Madinah mushaf script made for this Unicode Uthmani text.
   The font file is served exactly as published (its licence allows use and distribution, never changes, so it is not subset).
   Source: github.com/quran/quran.com-frontend-next public/fonts/quran/hafs/uthmanic_hafs/UthmanicHafs1Ver18.ttf, sha256 a0636e68... */
@font-face{font-family:TaajQuran;src:url('/fonts/UthmanicHafs1Ver18.ttf') format('truetype');font-display:block}
html .taaj-intro .ti-verse::before,html .taaj-intro .ti-verse::after,.ob::before,.view.done-page>.mark::before{content:none!important;display:none!important;animation:none!important}
html .taaj-intro .ti-ayah{font-family:TaajQuran,AmiriQuran,serif!important;font-size:clamp(31px,9.4vw,38px)!important;line-height:2!important;
  text-wrap:balance;letter-spacing:0;word-spacing:.02em;font-feature-settings:normal}
@media (max-height:700px){html .taaj-intro .ti-ayah{font-size:clamp(28px,8.4vw,33px)!important;line-height:1.85!important}}

/* PM L-667 (2026-11-08): the home row is Memorise (left, an arrow that shows it opens) and Recite (right), with the Mistakes count and
   the eye between; the page button is in the top bar. Memorise opens a small menu (Test me, Memorise) above it; the From/To box then
   shows a large prompt to tap the top ayah. Same corners, gold and hairlines as the rest of the look. */
.practice-screen .practice-bar .mem-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:50px;min-height:50px;padding:0 14px 0 16px;
  margin:0;border:0;border-radius:var(--r-main);background:var(--card);color:var(--ink);font:600 16px/1 var(--ui);white-space:nowrap;flex:0 0 auto;
  transition:transform .22s cubic-bezier(.2,.8,.2,1),background-color .2s}
.practice-screen .practice-bar .mem-btn svg{width:18px;height:18px;stroke-width:2.2;color:var(--accent-text);transition:transform .25s}
.practice-screen .practice-bar .mem-btn.open svg{transform:rotate(180deg)}
.practice-screen .practice-bar .mem-btn:active{transform:scale(.97)}
.practice-screen .practice-bar:has(.fab:not([data-state=idle])) .mem-btn,.practice-screen .practice-bar.picked .mem-btn{display:none}
.practice-screen .practice-bar .mistakes-pill:not(.has){display:none}
.practice-screen .practice-bar .mistakes-pill.has{min-width:44px;justify-content:center}
.practice-screen .practice-bar .fab{flex:1 1 auto;min-width:0}
.practice-screen .lesson-top .icon-btn.book svg{width:22px;height:22px}
.practice-bar .mem-scrim{position:fixed;inset:0;z-index:30;background:transparent}
.practice-bar .mem-menu{position:absolute;z-index:31;inset-inline-start:16px;bottom:calc(100% + 8px);width:min(300px,calc(100vw - 32px));padding:6px;
  border-radius:16px;background:var(--surface);box-shadow:0 0 0 1px var(--line),var(--float,0 12px 32px rgba(0,0,0,.18));display:flex;flex-direction:column;gap:2px;
  animation:mem-in .2s cubic-bezier(.2,.8,.2,1) both}
.practice-bar .mem-opt{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding:14px 14px;border:0;border-radius:12px;background:transparent;
  color:var(--ink);text-align:start;font:600 17px/1.2 var(--ui)}
.practice-bar .mem-opt small{font:400 13.5px/1.35 var(--ui);color:var(--muted)}
.practice-bar .mem-opt:active,.practice-bar .mem-opt:focus-visible{background:var(--card)}
.practice-bar .mem-opt+.mem-opt{box-shadow:inset 0 1px 0 var(--line)}
@keyframes mem-in{from{opacity:0;transform:translateY(6px)}}
.pick-card .pc-cue{display:flex;align-items:center;gap:12px;margin:2px 0 14px;padding:0 2px;color:var(--accent-text)}
.pick-card .pc-cue strong{font:700 24px/1.2 var(--display,var(--ui));letter-spacing:-.01em}
.pick-card .pc-cue svg{width:34px;height:34px;flex:0 0 auto;stroke-width:2.4;animation:cue-up 1.4s ease-in-out infinite}
@keyframes cue-up{50%{transform:translateY(-5px)}}
.pick-card .pc-go.one{grid-template-columns:1fr}
.pick-card .pc-go.one .pc-act{width:100%}
.pick-card .pc-go .pc-act:disabled{opacity:.45}
@media (prefers-reduced-motion:reduce){.pick-card .pc-cue svg,.practice-bar .mem-menu{animation:none}}
.practice-screen .practice-bar .mem-btn{margin-inline-end:8px}
html[dir=rtl] .practice-screen .practice-bar .mem-btn{order:3;margin-inline-end:0;margin-inline-start:8px}
.pick-card .pc-hint{display:block;margin:-2px 0 10px;font:500 13.5px/1.35 var(--ui);color:var(--muted)}
html[dir=rtl] .practice-bar .mem-menu{inset-inline-start:auto;inset-inline-end:16px}

/* PM L-674 (2026-11-08 14:16): Recite on the left and black, Memorise on the right and gold, in English and Arabic alike; the eye only
   while he recites (or while the words are hidden, so he can always show them again). Replaces the L-667 order and colours above. */
:root{--recite-bg:#121216;--recite-ink:#FFFFFF;--recite-edge:transparent}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--recite-bg:#000000;--recite-ink:#FFFFFF;--recite-edge:#2C2C33}}
:root[data-theme=dark]{--recite-bg:#000000;--recite-ink:#FFFFFF;--recite-edge:#2C2C33}
.practice-screen .practice-bar .fab{order:1!important;margin:0!important}
.practice-screen .practice-bar .mistakes-pill{order:2!important;margin:0 0 0 8px!important}
.practice-screen .practice-bar .eye-group{order:3!important;margin:0 0 0 8px!important}
.practice-screen .practice-bar .bar-gap{order:4!important}
.practice-screen .practice-bar .mem-btn{order:5!important;margin:0 0 0 10px!important;flex:1 1 auto;min-width:0}
html[dir=rtl] .practice-screen .practice-bar .fab{order:5!important}
html[dir=rtl] .practice-screen .practice-bar .mistakes-pill{order:4!important}
html[dir=rtl] .practice-screen .practice-bar .bar-gap{order:2!important}
html[dir=rtl] .practice-screen .practice-bar .mem-btn{order:1!important}
.practice-screen .practice-bar:has(.fab[data-state=idle]) .eye-group:not(.on){display:none}
.practice-screen .practice-bar .fab:not([data-state=on]):not([data-state=connecting]){background:var(--recite-bg)!important;color:var(--recite-ink)!important;box-shadow:inset 0 0 0 1px var(--recite-edge)!important}
.practice-screen .practice-bar .mem-btn{background:var(--gold-metal);color:var(--accent-ink)}
.practice-screen .practice-bar .mem-btn svg{color:var(--accent-ink)}
.practice-bar .mem-menu,html[dir=rtl] .practice-bar .mem-menu{inset-inline-start:auto;inset-inline-end:auto;left:auto;right:16px}

/* PM L-749 (2026-11-12; the two-line gold button went again with L-844, 13 Nov: one word and the menu, as before): the bar for a touched
   ayah (Listen, Test me, Memorise) docks in place of the bottom bar; a plain line (a result, a hint) is text, not a box. */
.practice-bar .pick-bar.ayah-bar{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px 16px max(16px,env(safe-area-inset-bottom))!important}
.ayah-bar::before{display:none!important}
.ayah-bar .pc-head{display:grid;grid-template-columns:1fr auto auto;grid-template-areas:"n m x" "w w w";align-items:center;gap:0 4px;padding:0}
.ayah-bar .pc-n{grid-area:n;font-size:21px;line-height:1.2;background:none!important;padding:0!important;justify-self:start}
.ayah-bar .pc-what{grid-area:w;white-space:normal;overflow:visible;font-size:13.5px;line-height:1.35;font-weight:500;color:var(--muted);align-self:center;min-width:0}
.ayah-bar .pick-x{grid-area:x;justify-self:end;width:44px;height:44px;margin:-10px -12px -10px 0}
.ayah-bar .pick-x::after{inset:0!important}
html[dir=rtl] .ayah-bar .pick-x{margin:-10px 0 -10px -12px}
.ayah-bar .ab-more{grid-area:m;justify-self:end;align-self:center;border:0;background:none;box-sizing:border-box;min-width:44px;min-height:44px;margin:-10px 0;padding:0 8px;display:inline-flex;align-items:center;justify-content:flex-end;font:600 13.5px/1.2 var(--ui);color:var(--accent-text);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ayah-bar .why{padding:0!important;background:none!important}
.ayah-bar .ab-go{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px}
.ayah-bar .ab-b{display:flex;align-items:center;justify-content:center;height:52px;min-width:0;padding:0 6px;border:0;border-radius:var(--r-main);background:var(--card);color:var(--ink);font:600 16px/1 var(--ui);cursor:pointer}
.ayah-bar .ab-b.gold{background:var(--gold-metal);color:var(--accent-ink)}
.ayah-bar .ab-b:active{transform:scale(.97)}
.ayah-bar .ab-b:focus-visible,.ayah-bar .ab-more:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.practice-bar .notice.plain,.practice-bar .notice.plain.error{background:transparent!important;box-shadow:none!important;border:0!important;padding:4px 12px!important;color:var(--ink)!important;font:500 14px/1.35 var(--ui)!important;white-space:normal;text-align:center;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;max-width:calc(100% - 96px)!important}
.practice-bar:has(>.notice.plain:not(:empty))>.turn-row{visibility:hidden}
/* PM L-844 (13 Nov): the slim Resume / Next lesson line is back above the bar. A plain line (a hint, a recitation's result) takes its place while it
   shows, so it never lies over the page's last words; the slim line is there again once the plain line has gone */
.practice-screen .practice-bar:has(>.notice.plain:not(:empty))>.resume-chip{display:none!important}
.practice-screen:not(.bare,:has(>.sheet-scrim)) .practice-bar:not(.picked):has(>.fab[data-state=idle]):has(>.resume-chip) .notice.plain{bottom:calc(100% + 4px)}
/* while he recites the timer sits where the line would be: the line goes beside it, not over the page */
.practice-screen .practice-bar:has(.rec-timer:not([hidden])) .notice.plain{bottom:calc(100% + 8px)!important;left:96px!important;right:auto!important;translate:none!important;text-align:start!important;max-width:calc(100% - 112px)!important;width:auto!important;padding:0!important}
html[dir=rtl] .practice-screen .practice-bar:has(.rec-timer:not([hidden])) .notice.plain{left:auto!important;right:96px!important}

/* FIX ROUND 1: the "cannot listen" card stays in sight above the ayah bar (it was hidden with the rest of the bar) */
.practice-screen .practice-bar.picked>.mic-card{visibility:visible;opacity:1;transform:none;pointer-events:auto;bottom:calc(var(--dock,160px) + 12px)}
/* FIX ROUND 1: two pages side by side on a computer: the second page scrolls with the first, so the last line of both stays above the ayah bar */
.practice-screen:has(.practice-bar.picked) .mushaf.mate{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.practice-screen:has(.practice-bar.picked) .mushaf.mate::-webkit-scrollbar{display:none}
.practice-screen:has(.practice-bar.picked) .mushaf.mate::after{content:'';display:block;flex:none;height:max(0px,calc(var(--dock,0px) - var(--stage-bottom) + 18px))}
html[dir=rtl] .ayah-bar .ab-more{justify-content:flex-start}
