/* L-1092 (18 Nov 2026), loaded last. Part 1: the Ruled icons (his pick on the icon themes page). Every icon's gold centre line
   is var(--ic-accent): the app's gold (light #F0B312, dark #F7C21E). */
:root{--ic-accent:var(--gold,#F0B312)}

/* Part 2, his answers on the ideas page (Fable 5.2 set the readings where a note reads two ways).
   i002 YES "Gold only marks what is chosen": every gold fill, gold button and gold text link goes. Fable's reading (he said no to i001's
   new button shape and no to i015's off-white button in dark): the shapes stay and every former gold button takes today's black Recite
   look, light and dark (the --recite-* tokens of taaj.css). Gold stays only for what is chosen or where you are: the chosen underline,
   a switch that is on, the band on chosen ayat, progress lines, and the icons' own gold centre line. Done on the tokens, so every
   button that used the gold tokens follows; the selectors below repeat taaj.css's own so this later file wins in dark mode too. */
:root,:root:not([data-theme=light]),:root[data-theme=dark],:root[data-theme=light]{
  --gold-metal:var(--recite-bg);--accent-grad:var(--recite-bg);--mic-grad:var(--recite-bg);--fill:var(--recite-bg);
  --accent-ink:var(--recite-ink);--accent-text:var(--ink);--mic-busy:var(--recite-bg)}
/* in dark the black buttons keep Recite's thin edge so they show on the dark page */
:is(.mem-btn,.lesson-controls .fab,.pick-learn,.primary,.ob-go,.ob-start,.view .btn,.consent button.yes,.ch-go,.cd-send,.past-btn,.block-go,.ab-b.gold,.tour-next,.of-go,.pc-act.pc-at,.ti-btn.is-main,.ta-btn,.ta-go){box-shadow:inset 0 0 0 1px var(--recite-edge)!important}

/* i009 YES "One corner size, spacing in eights": buttons 10px, sheets 16px on top only, rows none; 20px side margin; steps of 8 */
:root{--r-main:10px;--r-field:10px;--r-sheet:16px}
:is(.set,.sheet-row,.srow,.mrow,.panel-row,.dd-opt,.pop-menu button){border-radius:0!important}
#app{--accent-text:var(--ink)}    /* screens.css sets a gold text tone on #app itself */
.view{gap:16px;padding:8px 20px 24px}
.sheet{padding-left:20px;padding-right:20px}

/* i008 YES "Flat switch with On or Off beside it": 46 by 28, flat, grey track off, gold on, white knob, the word On or Off in grey beside
   it (before it, as the picture), and the whole row flips it (the rows are labels already). */
.switch{width:46px!important;height:28px!important;background:var(--edge)!important;box-shadow:none!important}
.switch:checked{background:var(--gold)!important}
.switch::after{top:3px!important;left:3px!important;width:22px!important;height:22px!important;box-shadow:none!important}
.switch:checked::after{transform:translateX(18px)!important}
html[dir=rtl] .switch::after{left:auto!important;right:3px!important}
html[dir=rtl] .switch:checked::after{transform:translateX(-18px)!important}
label:has(>.switch){cursor:pointer}
label:has(>.switch)>.switch{order:2}
label:has(>.switch)::after{content:'Off';order:1;flex:none;margin-inline:8px 10px;color:var(--muted);font-size:15px;font-weight:500}
label:has(>.switch:checked)::after{content:'On'}
html[lang=ar] label:has(>.switch)::after{content:'إيقاف';font-size:16px}
html[lang=ar] label:has(>.switch:checked)::after{content:'تشغيل'}
label.cd-link:has(>.switch)[hidden]{display:none}

/* i004 YES + his note: the drop down (app.js dd()). Closed: the setting's icon, its name, the choice now with its icon, a chevron.
   Open: the options in place under it, hairlines only, each with its icon, a gold tick on the chosen one. No boxes, no fills. */
.set.dd{display:block;padding:0!important}
.dd-head{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:6px 0;border:0;background:transparent;color:var(--ink);font:inherit;text-align:start;cursor:pointer}
.view .set.dd .dd-head{padding-inline:16px}
.dd-head .set-t{flex:1;min-width:0}
.dd-cur{display:inline-flex;align-items:center;gap:8px;color:var(--ink);font-size:15px;font-weight:600;white-space:nowrap}
.dd-cur svg{width:22px;height:22px}
.dd-head .chev{width:18px;height:18px;flex:none;transition:transform .2s}
.dd.open>.dd-head .chev{transform:rotate(180deg)}
.dd-list{display:flex;flex-direction:column;padding:0 0 8px}
.dd-list[hidden]{display:none!important}
.dd-opt{position:relative;display:flex;align-items:center;gap:14px;min-height:52px;padding:0 16px 0 52px;border-top:1px solid var(--line);color:var(--muted);font-size:17px;font-weight:500;cursor:pointer;background:transparent;border-left:0;border-right:0;border-bottom:0;width:100%;text-align:start;font-family:inherit}
html[dir=rtl] .dd-opt{padding:0 52px 0 16px}
.dd-opt input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.dd-opt svg{width:22px;height:22px;flex:none}
.dd-opt span{flex:1}
.dd-opt>svg:last-child{width:20px;height:20px;visibility:hidden;color:var(--gold)!important}
.dd-opt:has(input:checked),.dd-opt[aria-pressed=true]{color:var(--ink);font-weight:600}
.dd-opt:has(input:checked)>svg:last-child,.dd-opt[aria-pressed=true]>svg:last-child{visibility:visible}
.dd-opt:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:-2px}
/* the lesson sheet's speed: the drop down sits where the four words were */
.drill-panel .speed-dd{margin:2px 0 6px}
.drill-panel .speed-dd .dd-head{min-height:48px;padding:0}
.drill-panel .speed-dd .dd-list.speed-choices{display:flex;flex-direction:column;gap:0;background:transparent!important;padding:0;border-radius:0!important}
.drill-panel .speed-dd .dd-list.speed-choices[hidden]{display:none!important}
.drill-panel .speed-dd .dd-opt{padding:0 8px 0 4px;min-height:48px;box-shadow:none!important;background:transparent!important;border-radius:0!important}
/* How you learn: each level with its icon */
.set-sheet .sheet-row[data-ob=level]{gap:14px;justify-content:flex-start}
.set-sheet .sheet-row[data-ob=level]>span{flex:1}

/* i003 YES "Nothing tappable under 48px": every tappable control gets 48px; no control text under 15px (the page line 11.5px, the
   Next lesson / Resume line 13px, Meaning 14px, the tab words 13px and the 32px page turn buttons are lifted). The grey notes inside a
   row (a setting's one line description, a surah's lesson count) are information, not controls, and stay as they are. */
.icon-btn,.round,.top .round,.practice-screen .lesson-top>.icon-btn,.page-card .bookmark,.sheet-head .icon-btn{min-width:48px!important;min-height:48px!important}
.turn-b{min-width:48px!important;min-height:48px!important;font-size:15px!important}
.card-go{min-height:48px!important}
.card-go .where,.card-go .meta{font-size:15px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.3}
.practice-bar .resume-chip{font-size:15px!important;height:auto!important;min-height:32px}
.practice-bar .resume-chip::after{content:'';position:absolute;inset:-8px -4px}
.mean-link{font-size:15px!important;position:relative}
.mean-link::after{content:'';position:absolute;inset:-16px -8px}
.text-btn{font-size:15px!important;min-height:48px!important}
.tabs .tab{font-size:15px!important;min-height:56px}
.ayah-bar .ab-more{min-width:48px!important;min-height:48px!important;font-size:15px!important}
.step-pill{min-height:40px}
.step-pill::after{content:'';position:absolute;inset:-4px 0}

/* i016 YES "Arabic labels one size up": Arabic control labels one size larger than English (18 where English is 17, 16 where it is 15),
   line height 1.6, no letter spacing. */
html[lang=ar] :is(.tabs .tab,.mean-link,.dd-cur,.practice-bar .resume-chip,.text-btn,.turn-b){font-size:16px!important}
html[lang=ar] :is(.pop-menu button,.sheet-row>span,.set-t strong,.mem-btn,.practice-bar .fab,.mem-opt strong){font-size:17px!important}
html[lang=ar] :is(.dd-opt,.ob-choice){font-size:18px!important}
html[lang=ar] :is(button,label,a,.set-t,.sheet-row,.dd-opt,.tab){letter-spacing:0!important}
html[lang=ar] :is(.set-t strong,.sheet-row>span,.dd-opt span,.dd-cur span,.pop-menu button,.tabs .tab){line-height:1.6}

/* L-1133 (19 Nov 2026), his PM's order on the leftovers of L-1092/L-1124:
   1. Settings and the other list screens in the app's own font (var(--ui)); screens.css set Inter on the screen, so labels and the rows
      that are buttons were in two fonts.
   2. Gold only for what is chosen (i002): a Settings row's leading icon draws its centre line in its own ink. Gold stays on the current
      choice's icon at the right of a pick-one row, the chosen option's tick and a switch that is on (Fable 5.2's reading).
   3. The Delete buttons in Privacy and Account: 48px tall, the app's 10px button corners (was a 40px pill). */
.screen:has(>.view){font-family:var(--ui)}
.view .set>svg:first-child,.view .set.dd .dd-head>svg:first-child,.set-sheet .sheet-row:not(.on)>svg:first-child{--ic-accent:currentColor}
.view .btn.danger,.set-sheet .sheet-row .btn.danger{min-height:48px!important;border-radius:var(--r-main,10px)!important}
