/* The Learner — light theme (Atelier White) + v2 components. Loaded after base.css. */
/* THE LEARNER · v1 · Atelier White design system
   Intentional visual separation from ShasMaster. Existing learning logic unchanged. */
:root {
 --bg0:#f6f7f7;--bg1:#ffffff;--bg2:#f1f3f4;
 --surface:#ffffff;--surface2:#f8f9f9;--raised:#ffffff;
 --line:#e5e8e9;--line2:#d7dddf;
 --gold:#a77e42;--gold-hot:#b88b50;--amber:#a77e42;
 --cyan:#466e79;--cyan-hot:#365d68;--violet:#667985;--violet-hot:#4c6470;
 --pink:#9d7e83;--green:#397c69;--green-hot:#2b6b59;--red:#ae5353;
 --tx:#202b30;--tx-soft:#4c5b61;--tx-mut:#718086;--tx-dim:#88959b;
 --grad-gold:linear-gradient(135deg,#c4ab82,#a77e42);
 --grad-cyan:linear-gradient(135deg,#6d919b,#416b77);
 --grad-violet:linear-gradient(135deg,#869ca5,#5e7782);
 --grad-rank:linear-gradient(135deg,#d3c4a7,#b9a17c);
 --grad-xp:linear-gradient(90deg,#477d70,#7ba397);
 --glass:rgba(255,255,255,.94);
 --surface-grad:linear-gradient(180deg,#fff,#f9fafa);
 --nav-bg:rgba(255,255,255,.96);--hud-bg:rgba(255,255,255,.96);
 --hero-glow:0 6px 28px rgba(45,65,70,.08);
 --card:#fff;--card2:#f8f9f9;--bdr:#e5e8e9;--bdr2:#d7dddf;
 --grn:#397c69;--wt:#202b30;--mlt:#718086;--mut:#718086;
 --r1:8px;--r2:12px;--r3:16px;--r4:20px;--r5:24px;
 --fdisp:'Inter',sans-serif;--fdeco:'Inter',sans-serif;
}
html,body {background:#f6f7f7!important;color:var(--tx)!important;color-scheme:light;}
body,body.sky-morn,body.sky-bright {
 background:linear-gradient(155deg,#fff 0%,#f7f8f8 48%,#eff2f2 100%)!important;
 background-attachment:fixed!important;
}
body::before {display:none!important;}
::selection{background:#dbe8e7!important;color:#202b30!important;}
/* Bright neutral materials and restrained depth, irrespective of legacy sky theme */
:is(h1,h2,h3,.pm-t,.lu-ttl,.cttl,.auth-title) {
 color:#202b30!important;background:none!important;-webkit-text-fill-color:currentColor!important;
 text-shadow:none!important;filter:none!important;letter-spacing:-.025em;
}
:is(.pm-t,.lu-ttl,.cttl,.auth-title){font-family:'Inter',sans-serif!important;font-weight:750!important;}
:is(button,.btn,.auth-tab,.lu-cls,.ccls){text-shadow:none!important;}
:is(.lu-cls,.ccls,.auth-tab.on){background:#314d57!important;color:#fff!important;border:1px solid #314d57!important;box-shadow:none!important;}
:is(input,select,textarea,.auth-inp){background:#fff!important;color:#202b30!important;border-color:#d8dfe0!important;box-shadow:none!important;}
:is(input,select,textarea,.auth-inp):focus{outline:2px solid #aac1c5!important;outline-offset:1px;}
#levelup,#celeb{background:rgba(245,247,247,.96)!important;backdrop-filter:blur(18px);}
#levelup .lu-badg,#celeb .cico{filter:none!important;}
#levelup .lu-ray{opacity:.18!important;}
.combo-banner{background:#fff!important;color:#2c535a!important;border:1px solid #dce4e5!important;
 box-shadow:0 14px 44px rgba(28,53,60,.13)!important;animation:none!important;
 font-size:1.05rem!important;transform:translate(-50%,-50%) scale(0)!important;}
.combo-banner.show{transform:translate(-50%,-50%) scale(1)!important;}
.combo-rail.on{box-shadow:none!important;}
.xpf{color:#387d6c!important;text-shadow:none!important;font-family:'Inter',sans-serif!important;}
#notify-bar{filter:none!important;}
#pm-zone{background:linear-gradient(180deg,#fff,#f3f5f5)!important;border-color:#dfe5e6!important;box-shadow:none!important;}
/* Calm interaction: no fluorescent glow or restless ambient motion */
:is(.orb,.worb,.rank-badge,.realm-ico,.lu-badg,.cico){text-shadow:none!important;}
:is(.orb,.rank-badge,.realm-ico){filter:none!important;}
:focus-visible{outline:2px solid #537c84!important;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;}}
/* Complete Atelier materials across navigation, readers, rewards and settings. */
*{text-shadow:none!important;}
body{--card3:#eef2f2;--glass:rgba(255,255,255,.94);--tx:#202b30;--tx-soft:#4c5b61;--tx-mut:#61747b;--mut:#61747b;--wt:#202b30;--nav-bg:#fff;--hud-bg:#fff;}
header{background:rgba(255,255,255,.97)!important;border-bottom:1px solid #e1e7e7!important;box-shadow:none!important;padding:16px 24px!important;}
.logo-name{color:#24363c!important;letter-spacing:-.03em!important;font-size:21px!important;}
.logo-img{box-shadow:none!important;filter:none!important;border-radius:12px;}
.page{max-width:1080px;margin:0 auto!important;padding:24px 20px 110px!important;}
.rank-hero{padding:24px!important;margin-bottom:20px!important;}
:is(.rttl,.rxpn,.logo-name){background:none!important;-webkit-text-fill-color:#24363c!important;color:#24363c!important;filter:none!important;}
:is(.xbt,.qtr,.rmt){background:#e7eeee!important;border:0!important;box-shadow:none!important;}
:is(.xbf,.qfil,.mc-fill){background:#648f83!important;box-shadow:none!important;}
.qbar{background:#f4f7f6!important;border:0!important;}
:is(.nu-line-card,.mc-line){background:#fafcfc!important;box-shadow:none!important;border:1px solid #e0e7e7!important;}
.nu-line-card{padding:24px!important;}
:is(.nu-line-en,.mc-line-en){font-size:14px!important;line-height:1.75!important;}
:is(.nu-line-he,.mc-line-he){line-height:1.9!important;}
:is(.mc-learn,#nextup-wrap,#chz-wrap){margin-bottom:24px!important;}
:is(button,.ibtn,.mc-btn,.dm-pick){box-shadow:none!important;font-family:Inter,system-ui,sans-serif!important;}
:is(.mc-done-btn,#nu-line-done-btn,.q-claim-btn){background:#3e6d60!important;color:#fff!important;border-color:#3e6d60!important;}
:is(.bnav,nav){background:rgba(255,255,255,.98)!important;border:1px solid #dce4e4!important;box-shadow:0 4px 24px #2030300d!important;}
:is(.bnav,nav) *{filter:none!important;text-shadow:none!important;box-shadow:none!important;}
:is(.bn,.bn-home){background:transparent!important;color:#53686e!important;}
:is(.bn.on,.bn-home.on){background:#eaf1ee!important;color:#315f51!important;}
#chest-banner{background:#f6f3ed!important;border:1px solid #e8dfcf!important;box-shadow:none!important;}
:is(.mc-ico,.qico){background:#eff4f2!important;border:1px solid #dfe9e4!important;box-shadow:none!important;}
:is(.rank-badge,.nu-amud){filter:none!important;box-shadow:none!important;background:#e9efeb!important;color:#315f51!important;}
:is(.badg,.q-card,.scard){padding:20px!important;}
@media(max-width:600px){.page{padding:16px 12px 100px!important;}.rank-hero,.nu-line-card{padding:16px!important;}header{padding:12px 16px!important;}.logo-name{font-size:18px!important;}}
.page.on{animation:none!important;opacity:1!important;}
:is(.q-card,.q-title,.screen-banner-ttl,.badg,.bnm){color:#263d43!important;opacity:1!important;}
:is(.screen-banner-sub,.q-sub,.q-count,.q-section-note){color:#526970!important;}
.screen-banner{background:#eef3f0!important;border:1px solid #dce7e0!important;box-shadow:none!important;}
.bn-btn{color:#526970!important;}.bn-btn.on{color:#315f51!important;}.bn-btn.on::after{background:#e3eee8!important;border-color:#d3e2d9!important;box-shadow:none!important;}
.bn-orb{background:#e7efea!important;border:1px solid #cfddd4!important;box-shadow:none!important;}
.bn-svg-c{fill:#365e52!important;filter:none!important;}.bn-center::before{display:none!important;}

/* The Learner · mobile-first Atelier White */
:root{--rhe:22px;--ren:16px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--nav-height:72px;--mobile-ink:#243b35;--mobile-muted:#64736e;}
html{scroll-padding-top:90px;scroll-padding-bottom:110px;-webkit-text-size-adjust:100%;}
body{margin:0!important;padding:0!important;background:#f7f8f6!important;overscroll-behavior-y:none;color:#293c35!important;}
[hidden]{display:none!important;}*{-webkit-tap-highlight-color:transparent;}button,a,input,summary,select{touch-action:manipulation;}button,[role=button],summary{cursor:pointer;}button:disabled{opacity:.4!important;cursor:default;}
header{position:sticky!important;top:0;z-index:100;height:auto!important;min-height:70px;padding:calc(12px + var(--safe-top)) 20px 12px!important;background:rgba(250,251,249,.96)!important;backdrop-filter:blur(16px);gap:10px!important;border-bottom:1px solid #e6ebe6!important;}
.logo-img{width:34px!important;height:34px!important;border:0!important;border-radius:10px!important;}.logo-name{font-size:18px!important;font-weight:650!important;letter-spacing:-.7px!important;white-space:nowrap;}.logo-he,.app-ver,.auth-dot{display:none!important;}.hdr-right{margin-left:auto!important;}.auth-pill{font-size:12px!important;min-height:44px;max-width:96px;padding:8px 4px!important;background:none!important;border:0!important;}.auth-uname{color:#61726a!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90px;}.hdr-gear{height:44px!important;width:44px!important;flex-shrink:0;background:#eef2ec!important;border-radius:50%!important;border:0!important;color:#3e5e4e!important;}.hdr-gear svg{height:21px;width:21px;}
.page{max-width:760px!important;width:100%;margin:auto!important;padding:24px 20px calc(var(--nav-height) + var(--safe-bottom) + 40px)!important;}.page.on{animation:none!important;transform:none!important;opacity:1!important;}.home-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;}.eyebrow{font-size:10px!important;line-height:1.5!important;font-weight:700;letter-spacing:1.6px;color:#667a6d!important;margin:0 0 7px!important;}.home-intro h1{font-size:clamp(24px,6.8vw,34px)!important;line-height:1.2;font-weight:550!important;letter-spacing:-1px!important;margin:0;}.focus-toggle{border:1px solid #d8e2d8!important;border-radius:20px!important;padding:0 14px!important;min-height:44px;background:#fff;color:#47634e;font-size:12px!important;}.focus-toggle[aria-pressed=true]{background:#345944!important;color:white!important;}.device-status{font-size:11px;color:#738078;margin:0 0 22px;display:flex;gap:6px;align-items:center;}.device-status:before{content:'';width:5px;height:5px;border-radius:50%;background:#8da38c;}.device-status.warning{color:#a44839;}.device-status.warning:before{background:#b24f3d;}
.rank-hero{padding:16px 18px!important;margin:0 0 22px!important;border-radius:18px!important;background:#edf2ec!important;border:0!important;box-shadow:none!important;}.rank-row{gap:12px;margin:0 0 14px!important;}.rank-badge{display:none!important;}.rlvl,.rxpl{font:600 9px/1.5 Inter,system-ui,sans-serif!important;letter-spacing:1.2px!important;color:#62765f!important;}.rttl{font-size:21px!important;line-height:1.4!important;font-weight:600!important;}.rnxt{font:400 11px/1.5 Inter,system-ui,sans-serif!important;color:#61755d!important;}.rxpn{font-size:26px!important;line-height:1.1!important;letter-spacing:-1px!important;}.xbl{display:none!important;}.xbt{height:4px!important;background:#d8e2d6!important;}.xbf{background:#6d8967!important;animation:none!important;}.stat-strip{margin:10px 0 0!important;display:flex;gap:8px;flex-wrap:wrap;}.rmas{background:none!important;border:0!important;padding:0!important;font:400 11px/1.4 Inter,system-ui,sans-serif!important;color:#60715a!important;}#mwrap{flex-wrap:wrap;gap:7px!important;}#mwrap>div{font:500 11px/1.4 Inter,system-ui,sans-serif!important;}.qbar{display:none!important;}.pot-chip{min-height:32px;padding:6px 10px!important;border:1px solid #cddcc9!important;background:#e0eadc!important;}
.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 24px!important;}.tile-grid.solo{grid-template-columns:1fr!important;}.tile-grid>div{min-height:72px!important;padding:14px!important;border-radius:16px!important;box-shadow:none!important;display:flex;flex-direction:row!important;gap:10px!important;align-items:center!important;background:#fff!important;border:1px solid #e4e8e0!important;overflow:hidden;}.dy-ico,.chest-ico{width:26px!important;height:26px!important;flex-shrink:0;background:none!important;box-shadow:none!important;border:0!important;color:#829176!important;}.chest-ico{font-size:0!important;position:relative;}.chest-ico:before{content:'✦';font-size:25px;font-family:serif;color:#9c8863;}.chest-shine{display:none!important;}.dy-lbl{font-size:9px!important;letter-spacing:1px!important;color:#78836d!important;}.dy-main,.chest-main{font:600 13px/1.4 Inter,system-ui,sans-serif!important;color:#394b37!important;}.dy-he,.dy-status{display:none!important;}.chest-sub{font-size:10px!important;color:#77806d!important;}.chest-banner.opened .chest-ico:before{content:'✓';}
.learning-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;}.learning-heading h2{font-size:14px!important;font-weight:600!important;margin:0;letter-spacing:-.3px!important;}.text-button{border:0;background:none;font-size:12px;color:#5f7755;min-height:44px;padding:0 0 0 12px;}.subject-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;background:#e9ede6;border-radius:14px;margin-bottom:10px;}.subject-switch button{border:0;background:transparent;border-radius:10px;min-height:44px;padding:7px 2px;font-size:12px;font-weight:500;color:#68765e;}.subject-switch button[aria-pressed=true]{background:white;color:#2d4731;box-shadow:0 2px 5px #2e45200a!important;}.reader-options{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#85907e;margin:0 1px 16px;}.reader-options button{min-height:44px;background:none;border:0;color:#6b7f5d;font-size:11px;padding:0 6px;}.reader-options button[aria-pressed=false]{color:#9b7853;}
body[data-learning=shas] #home-cards>:not(#nextup-wrap),body[data-learning=tanach] #home-cards>:not(#tanach-card),body[data-learning=halacha] #home-cards>:not(#halacha-card),body[data-learning=chazara] #home-cards>:not(#chazara-wrap){display:none!important;}
#home-cards{display:block!important;}#nextup-wrap,#chazara-wrap,.mc-learn{margin:0!important;padding:0!important;border:0!important;background:none!important;}.nu-header-row{display:flex!important;flex-wrap:wrap;justify-content:space-between!important;align-items:center;gap:8px;margin:0 2px 12px!important;}.nextup-section-lbl{font:600 9px/1.5 Inter,system-ui,sans-serif!important;letter-spacing:1px!important;color:#77856e!important;}.nu-header-meta{display:flex;flex:initial!important;gap:8px!important;align-items:center;flex-wrap:wrap;}.nu-mas{font:600 12px/1.4 Inter,system-ui,sans-serif!important;color:#42523c!important;}.nu-daf-badge{font:500 12px/1.4 Inter,system-ui,sans-serif!important;background:#eef2ea!important;border:0!important;padding:4px 8px!important;border-radius:6px!important;color:#526449!important;}.nu-line-counter{font-size:10px!important;color:#7a866f!important;}
.nu-line-card,.mc-line{background:#fff!important;padding:22px 20px!important;border:1px solid #e3e8de!important;border-radius:18px!important;box-shadow:0 4px 12px #2d431303!important;min-height:130px;max-height:none!important;overflow:hidden;user-select:text!important;-webkit-user-select:text!important;}.nu-line-content{padding:0!important;}.nu-line-he,.mc-line-he,#chz-he{font-family:'Noto Serif Hebrew','Times New Roman',serif!important;font-size:var(--rhe)!important;line-height:1.9!important;color:#2e3f2d!important;font-weight:400!important;direction:rtl;overflow-wrap:anywhere;}.nu-line-en,.mc-line-en,#chz-en{font-size:var(--ren)!important;line-height:1.75!important;color:#64715d!important;font-weight:400!important;margin-top:18px!important;padding-top:18px!important;border-top:1px solid #edf0e7!important;overflow-wrap:anywhere;}.nu-line-en p,.mc-line-en p{margin-bottom:12px;}.nu-line-en strong,.nu-line-en b,.mc-line-en strong,.mc-line-en b{font-weight:600;color:#475d3e;}body.hide-translation :is(.nu-line-en,.mc-line-en,#chz-en,.en-txt){display:none!important;}
.nu-controls{display:grid!important;grid-template-columns:1fr 1fr 1.6fr;gap:8px!important;margin:14px 0 0!important;position:sticky;bottom:calc(var(--nav-height) + var(--safe-bottom) + 8px);z-index:8;padding:8px 0;background:#f7f8f6;}.nu-ctrl-btn{min-height:48px!important;width:auto!important;padding:10px!important;border:1px solid #e0e7d9!important;border-radius:13px!important;background:white!important;font-size:13px!important;font-weight:500!important;color:#687b5d!important;line-height:1.3!important;}.nu-done-c,#nu-line-done-btn,.chz-review-btn{background:#3c634b!important;color:#fff!important;border-color:#3c634b!important;}.nu-done-c span{padding-left:8px;}.nu-dots-row{margin:12px 0 0!important;}.nu-dot{width:4px!important;height:4px!important;background:#dbe4d4!important;box-shadow:none!important;}.nu-dot.current{background:#8b9f7b!important;transform:scale(1.3)!important;}.nu-dot.done{background:#5d8054!important;}.reader-tools{margin-top:8px;border-top:1px solid #e4e8df;padding-top:4px;}.reader-tools summary{min-height:44px;font-size:12px;color:#768569;padding:14px 2px;}.reader-tools>div{display:flex;gap:8px;}.reader-tools>div button{flex:1;}.nu-mef{color:#52634a!important;font-size:var(--ren)!important;line-height:1.8!important;}.nu-mef-item,.nu-mef-panel{background:#f4f7f0!important;border-color:#e0e8d7!important;}
.mc-head{min-height:56px;margin:0 0 12px!important;padding:0 2px!important;gap:10px!important;}.mc-ico{display:none!important;}.mc-now{font-size:14px!important;white-space:normal!important;}.mc-he{display:block;font-size:12px!important;color:#7e8c73!important;}.mc-lbl{font-size:9px!important;letter-spacing:1px!important;color:#7b896e!important;}.mc-status{font-size:10px!important;max-width:98px;white-space:normal!important;text-align:right;border:0!important;background:none!important;color:#79896c!important;}.mc-ctrls{display:grid!important;grid-template-columns:1fr 1.6fr 1fr;gap:8px!important;margin-top:14px!important;position:sticky;bottom:calc(var(--nav-height) + var(--safe-bottom) + 8px);z-index:8;background:#f7f8f6;padding:8px 0;}.mc-count{grid-row:2;grid-column:1/-1;padding:8px 0;font-size:11px!important;}.mc-btn{min-width:0;min-height:48px!important;border-radius:13px!important;border:1px solid #e0e7d9!important;background:white!important;font-size:13px!important;color:#687b5d!important;}.mc-done-btn{background:#3c634b!important;border-color:#3c634b!important;color:white!important;}.mc-bar{height:3px!important;}.mc-prog{font-size:11px!important;line-height:1.7!important;}.empty-state{padding:30px 20px;border:1px solid #e0e7d9;border-radius:20px;text-align:center;background:#fff;}.empty-state h3{font-size:20px;margin:16px 0 10px;}.empty-state p{font-size:14px;color:#6f7f64;line-height:1.7;margin-bottom:18px;}.empty-book{height:40px;width:40px;background:url(icon.svg) center/contain no-repeat;margin:auto;}
.botnav{position:fixed!important;inset:auto 0 0!important;width:100%!important;height:calc(var(--nav-height) + var(--safe-bottom))!important;padding:6px max(12px,env(safe-area-inset-right)) calc(6px + var(--safe-bottom)) max(12px,env(safe-area-inset-left))!important;border:0!important;border-top:1px solid #e3e8de!important;border-radius:0!important;background:rgba(252,253,250,.97)!important;backdrop-filter:blur(16px);display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:4px!important;z-index:100!important;box-shadow:none!important;}.botnav .bn-btn{width:auto!important;height:60px!important;min-height:48px;padding:8px 0!important;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:5px!important;border:0!important;border-radius:12px!important;background:none!important;color:#8b9582!important;font-size:10px!important;line-height:1.2;font-weight:500!important;}.botnav .bn-btn.on{background:#edf2e8!important;color:#3b5d35!important;}.botnav .bn-btn::after,.botnav .bn-btn::before{display:none!important;}.botnav svg{width:21px;height:21px;fill:none!important;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.focus-mode :is(.rank-hero,.tile-grid,.device-status,.home-intro .eyebrow,.learning-heading){display:none!important;}.focus-mode .home-intro{margin-bottom:20px;}.focus-mode .home-intro h1{font-size:21px!important;}.focus-mode .nu-line-card{border-color:#edf0e8!important;}
/* Library, goals and progress retain the same quiet, readable material. */
.screen-banner{padding:0!important;background:none!important;border:0!important;margin:0 0 24px!important;box-shadow:none!important;}.screen-banner-ico{display:none!important;}.screen-banner-ttl{font:550 28px/1.3 Inter,system-ui,sans-serif!important;letter-spacing:-.8px!important;color:#293f30!important;}.screen-banner-sub{font:400 13px/1.7 Inter,system-ui,sans-serif!important;color:#7b8a70!important;margin-top:6px;}.learn-seg{gap:4px!important;background:#e8eee2!important;border:0!important;padding:4px!important;border-radius:14px!important;}.learn-seg button{min-height:44px!important;font:500 13px/1.4 Inter,system-ui,sans-serif!important;padding:10px!important;border:0!important;background:transparent!important;color:#6b7e5c!important;}.learn-seg button.on{background:white!important;color:#3e6235!important;border-radius:10px!important;}.sinp{font-size:16px!important;min-height:50px;border-radius:14px!important;background:white!important;border:1px solid #dfe7d8!important;}.sico{color:#809270!important;}.realm-hdr{padding:16px!important;min-height:60px;margin-top:18px!important;}.realm-ico{display:none!important;}.realm-ttl{font-size:14px!important;}.mrow,.m-card,.tk-book{min-height:56px!important;padding:12px!important;border-color:#e1e8dc!important;}.mname,.men,.tk-book-name{font-size:14px!important;color:#354e2f!important;}.mh,.mhe{font-size:16px!important;}.mstat,.mmeta{font-size:11px!important;}
.q-section-title,.q-group-title,.q-section-hd{font:600 12px/1.5 Inter,system-ui,sans-serif!important;}.q-title{font:600 14px/1.5 Inter,system-ui,sans-serif!important;}.q-desc,.q-sub,.q-progress,.q-stat{font:400 12px/1.5 Inter,system-ui,sans-serif!important;color:#6d7d61!important;}.q-card{padding:16px!important;margin-bottom:10px!important;}.q-card *{text-shadow:none!important;}.q-ico{display:none!important;}.q-xp-tag{font:500 10px/1.4 Inter,system-ui,sans-serif!important;background:#f0eee4!important;color:#978459!important;}.q-fill,.q-bar-fill{background:#7d986d!important;box-shadow:none!important;animation:none!important;}.q-claim-btn,.mb-accept{min-height:44px!important;padding:10px 16px!important;background:#426437!important;color:white!important;border:0!important;font-size:13px!important;}.mb-wrap{background:white!important;border:1px solid #e0e7d9!important;border-radius:18px!important;padding:16px!important;}.mb-wrap button{min-height:44px!important;font-size:12px!important;}.mb-wrap input{min-height:44px;font-size:16px!important;}.personal-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px;}.metric{background:white;border:1px solid #e2e8dc;border-radius:18px;padding:20px;}.metric strong{display:block;font-size:28px;font-weight:550;color:#425c36;letter-spacing:-1px;}.metric span{font-size:11px;color:#7c8a6e;}.section-heading{font-size:16px!important;margin:12px 0 16px;}.bgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}.badg{opacity:1!important;padding:18px 12px!important;background:#f3f5ef!important;border-color:#e4e9de!important;filter:none!important;box-shadow:none!important;}.badg.earned{background:white!important;border-color:#c6d7ba!important;}.bico{font-size:0!important;filter:none!important;height:32px;}.bico:before{content:'◇';font:30px/1 serif;color:#a7b39a;}.earned .bico:before{content:'✧';color:#9b8658;}.bnm{font-size:12px!important;line-height:1.5!important;}.bxp{font-size:10px!important;margin-top:8px;color:#829170!important;}
.scard{padding:20px!important;margin-bottom:14px!important;border-radius:18px!important;}.scard h3{font:600 15px/1.5 Inter,system-ui,sans-serif!important;margin-bottom:12px;}.scard p{font-size:13px!important;line-height:1.75!important;}.scard button{min-height:46px!important;font-size:13px!important;border-radius:12px!important;}.ibtn,.dm-pick,.abtn,.dbtn{padding:12px 14px!important;border:1px solid #dce5d3!important;background:#f7f9f3!important;color:#546d42!important;}.dbtn{color:#a75140!important;border-color:#ecd3ca!important;background:#fff8f5!important;}.dm-pick-row{flex-wrap:wrap!important;gap:8px!important;}.dm-pick.on{background:#e2ecd9!important;color:#3b602d!important;}.frow{min-height:52px;gap:16px;}.frow label{font-size:13px!important;min-width:56px;}.fsl{min-height:44px;accent-color:#6c8a59;}.install-card{background:#eef3e8!important;border-color:#dfe8d4!important;}.install-card h2{font-size:23px!important;line-height:1.3!important;letter-spacing:-.5px!important;margin:0 0 12px;}.primary-button{background:#3c634b!important;border:0!important;border-radius:12px;padding:12px 18px;color:#fff;min-height:48px;font-size:14px!important;}.small-note{color:#819073!important;font-size:11px!important;margin-top:14px;}input:not([type=range]):not([type=file]),select,textarea{font-size:16px!important;min-height:44px;}
/* Mobile sheets use dynamic viewport height and safe-area padding. */
#drawer,#tk-sheet{width:min(100%,760px)!important;max-width:760px!important;max-height:calc(100dvh - var(--safe-top) - 12px)!important;height:calc(100dvh - var(--safe-top) - 12px)!important;bottom:0!important;border-radius:24px 24px 0 0!important;background:#fcfdfb!important;border-color:#dce6d4!important;padding-bottom:var(--safe-bottom)!important;}.drawer-close{position:absolute;right:16px;top:14px;z-index:5;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#eff3e9;color:#657b53;}.dhead{padding-right:64px!important;}.dtabs button,.tk-close,.tk-nav,.rnav-btn,.lang-btn{min-height:44px!important;min-width:44px!important;font-size:13px!important;}.gact{gap:8px!important;flex-wrap:wrap;}.gact button{min-height:44px!important;font-size:12px!important;}.tk-pickers select{min-width:0;max-width:100%;}.tk-foot{padding:12px 16px calc(12px + var(--safe-bottom))!important;background:#fcfdfb!important;}.tk-done,.ma-btn{min-height:48px!important;font-size:14px!important;background:#41643a!important;color:white!important;}.tk-line,.seg{background:white!important;border-color:#e2e8db!important;padding:16px!important;}.tk-line-he,.he-txt{font-size:var(--rhe)!important;line-height:1.9!important;color:#33492c!important;}.tk-line-en,.en-txt{font-size:var(--ren)!important;line-height:1.75!important;color:#627554!important;}
#notify-bar{top:calc(var(--safe-top) + 76px)!important;left:16px!important;right:16px!important;width:auto!important;max-width:500px!important;margin:auto!important;border-radius:12px!important;font:500 12px/1.5 Inter,system-ui,sans-serif!important;background:#345343!important;color:#fff!important;box-shadow:0 6px 24px #1e39211a!important;}.update-banner{position:fixed;bottom:calc(var(--nav-height) + var(--safe-bottom) + 12px);left:16px;right:16px;max-width:500px;margin:auto;z-index:400;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#304e3e;border-radius:16px;padding:12px 16px;color:white;font-size:13px;box-shadow:0 6px 24px #233b231a;}.update-banner button{min-height:44px;border:0;background:#e6eee0;color:#304e3e;border-radius:10px;padding:10px 16px;}.combo-rail{width:3px!important;opacity:.55!important;}.rail-tag{font-size:10px!important;}.combo-rail .rail-fill{background:#819b71!important;box-shadow:none!important;}.combo-rail .rail-tag{background:#edf3e6!important;color:#51733f!important;text-shadow:none!important;}
@media(min-width:800px){header{padding-left:max(24px,calc((100vw - 760px)/2))!important;padding-right:max(24px,calc((100vw - 760px)/2))!important;}.botnav{left:50%!important;transform:translateX(-50%)!important;width:760px!important;}.page{padding-top:32px!important;}.home-intro h1{font-size:34px!important;}.bgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:360px){header{padding-left:12px!important;padding-right:12px!important;gap:6px!important;}.page{padding-left:14px!important;padding-right:14px!important;}.logo-name{font-size:16px!important;}.auth-pill{max-width:62px;}.home-intro h1{font-size:23px!important;}.nu-line-card,.mc-line{padding:18px 16px!important;}.nu-header-meta{gap:5px!important;}.learning-heading h2{font-size:13px!important;}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
/* Only active overlays are exposed to keyboard and assistive technology. */
.combo-rail:not(.on){opacity:0!important;visibility:hidden!important;}
:is(.nu-line-card,.mc-line,.rank-hero,.screen-banner,.mb-wrap)::before,:is(.nu-line-card,.mc-line,.rank-hero,.screen-banner,.mb-wrap)::after{content:none!important;}
#home-cards .reader-tools>div{flex-wrap:wrap;}.reader-tools>div button{min-width:100px;}
.home-intro h1{font-size:26px!important;}.home-intro .eyebrow{font-size:9px!important;}
#sec-home .device-status{margin-bottom:14px;}.learning-heading{margin-bottom:4px;}.reader-options{margin-bottom:8px;}
#drawer,#tk-sheet{margin-left:auto!important;margin-right:auto!important;}
#notify-bar{transform:none!important;opacity:0!important;visibility:hidden!important;padding:12px 16px!important;}
#notify-bar.show{transform:none!important;opacity:1!important;visibility:visible!important;}
#notify-bar.tap:active{transform:scale(.98)!important;}
/* The curriculum is a bookshelf, not a field of game orbs. */
.realm-blk{margin:0 0 16px!important;}.realm-body{display:flex!important;flex-direction:column!important;gap:8px!important;padding:10px 0!important;}.realm-body.col{display:none!important;}.realm-hdr{border-radius:12px!important;background:#edf2e7!important;border:0!important;min-height:52px!important;padding:12px 14px!important;margin:0!important;}.realm-hdr::before{display:none!important;}.realm-en{color:#455e38!important;font-size:13px!important;}.realm-he{font-size:12px!important;}.realm-prog .rmf{background:#86a071!important;box-shadow:none!important;}.realm-body .mas-orb{position:relative!important;width:100%!important;height:auto!important;min-height:76px!important;aspect-ratio:auto!important;border-radius:14px!important;border:1px solid #e0e7d9!important;background:#fff!important;box-shadow:none!important;transform:none!important;animation:none!important;overflow:hidden;cursor:pointer;}.mas-orb::before,.mas-orb::after,.daf-orb::before,.daf-orb::after{display:none!important;}.mas-orb>svg,.daf-orb>svg{display:none!important;}.mas-orb .orb-in{position:static!important;width:100%!important;height:auto!important;inset:auto!important;padding:14px 18px!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:auto auto!important;gap:4px 16px;transform:none!important;}.orb-he{grid-column:1;grid-row:1;justify-self:start;font:500 18px/1.4 'Noto Serif Hebrew',serif!important;color:#354b2e!important;}.orb-en{grid-column:1;grid-row:2;justify-self:start;font:400 11px/1.4 Inter,system-ui,sans-serif;color:#7c896f;}.orb-ct{grid-column:2;grid-row:1;align-self:center;font:500 12px/1.4 Inter,system-ui,sans-serif!important;color:#6d815d!important;}.orb-tag{grid-column:2;grid-row:2;align-self:center;font-size:10px!important;color:#8b977f!important;}.mas-orb.olive{border-left:3px solid #92a87c!important;}.mas-orb.odone{border-left:3px solid #5c7c42!important;background:#f9fbf5!important;}.sinp-wrap{margin:0 0 20px!important;padding:0!important;background:none!important;border:0!important;}.sinp{padding:12px 14px!important;width:100%!important;min-width:0!important;}.sico{display:none!important;}.screen-banner-ttl{-webkit-text-fill-color:#293f30!important;}.screen-banner-sub{font-family:Inter,system-ui,sans-serif!important;}
#grid-c{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:4px 0!important;}.daf-orb{width:100%!important;height:auto!important;min-height:138px!important;background:#fff!important;border:1px solid #dce6d2!important;border-radius:14px!important;box-shadow:none!important;animation:none!important;transform:none!important;}.daf-orb .orb-in{position:static!important;width:100%!important;height:auto!important;inset:auto!important;transform:none!important;display:block!important;padding:10px 8px!important;}.do-top{display:flex;justify-content:center;min-height:30px;font-size:16px!important;}.do-bot{display:flex!important;gap:4px!important;}.do-half{min-width:0!important;flex:1!important;display:flex!important;flex-direction:column!important;align-items:center;gap:4px!important;padding:4px 0!important;background:#f5f8ef!important;border-radius:8px!important;border:0!important;cursor:pointer;}.do-half.h-done{background:#e6efd9!important;}.do-sl{font-size:14px!important;}.do-sub{font-size:9px!important;color:#7e906e!important;}.do-plus{width:44px!important;height:44px!important;min-height:44px!important;border-radius:10px!important;background:#e7efdd!important;color:#486a36!important;border:1px solid #dce7ce!important;font-size:18px!important;}.do-he{font-size:16px!important;color:#425e33!important;}.do-ct{font-size:12px!important;color:#7f9469!important;}
body.hide-translation :is(.sc-en,.tk-en,.mef-en){display:none!important;}
:is(.sc-he,.tk-he){font-size:var(--rhe)!important;line-height:1.9!important;color:#33492c!important;}
:is(.sc-en,.tk-en){font-size:var(--ren)!important;line-height:1.75!important;color:#627554!important;}
.focus-mode #sec-q .tile-grid{display:grid!important;}.focus-mode #sec-b .rank-hero{display:block!important;}

/* Single light theme: neutralize leftover time-of-day sky header tints. */
html[class] header{background:rgba(250,251,249,.96)!important;border-bottom-color:#e6ebe6!important;}


/* ═════════════════════════════════════════════════════════════════════
   v2 — accounts, sync, leaderboard and visual polish
   ═════════════════════════════════════════════════════════════════════ */
:root{
  --ink:#26332a;--ink-2:#46553f;--mute:#6f7d69;--faint:#97a28f;
  --hair:#e3e8de;--hair-2:#d6ddcf;--paper:#f7f8f6;--card-bg:#fff;
  --pri:#3c634b;--pri-press:#31533e;--pri-soft:#e9efe5;--pri-ink:#2d4731;
  --gold-ink:#8d6a35;--gold-soft:#f5eedf;--danger:#a5463f;--danger-soft:#f8ecea;
  --shadow-1:0 1px 2px rgba(38,51,42,.04),0 4px 14px rgba(38,51,42,.05);
  --shadow-2:0 10px 40px rgba(25,35,28,.16);
  --fmono:'Inter',system-ui,sans-serif;--fdisp:'Inter',system-ui,sans-serif;--fdeco:'Inter',system-ui,sans-serif;--fbody:'Inter',system-ui,sans-serif;
  --fhe:'Noto Serif Hebrew','Times New Roman',serif;
}
body{font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;}
button{font-family:inherit;}
:focus-visible{outline:2px solid var(--pri)!important;outline-offset:2px;}

/* five-item bottom navigation */
.botnav{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
.botnav .bn-btn{font-size:10.5px!important;}
.botnav .bn-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}

/* header account pill */
.auth-pill{display:inline-flex!important;align-items:center;gap:7px;max-width:132px!important;min-height:36px!important;padding:6px 12px!important;border:1px solid var(--hair-2)!important;border-radius:999px!important;background:#fff!important;cursor:pointer;}
.auth-pill .auth-dot{display:block!important;width:7px;height:7px;border-radius:50%;flex:none;background:var(--faint);box-shadow:none!important;}
.auth-dot[data-state=synced]{background:#4f8a5b!important;}
.auth-dot[data-state=syncing],.auth-dot[data-state=pending]{background:#c49a4e!important;}
.auth-dot[data-state=error]{background:var(--danger)!important;}
.auth-dot[data-state=local]{display:none!important;}
.auth-uname{color:var(--ink-2)!important;font-weight:600;font-size:12.5px;max-width:96px!important;}
@media(max-width:360px){.auth-pill{max-width:96px!important;padding:6px 9px!important;}.auth-uname{max-width:66px!important;}}

/* sync line on Today */
.device-status{flex-wrap:wrap;}
.device-status[data-state=synced]:before{background:#4f8a5b;}
.device-status[data-state=syncing]:before,.device-status[data-state=pending]:before{background:#c49a4e;}
.device-status[data-state=offline]:before{background:var(--faint);}
.device-status[data-state=error]{cursor:pointer;}
.link-inline{border:0;background:none;padding:0;margin:0;font:inherit;color:var(--pri);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#b8c7b2;cursor:pointer;}

/* shared buttons */
.primary-button,.secondary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border-radius:12px!important;font:600 14px/1.2 Inter,system-ui,sans-serif!important;cursor:pointer;transition:background .15s,transform .1s;-webkit-tap-highlight-color:transparent;}
.primary-button{background:var(--pri)!important;color:#fff!important;border:0!important;}
.primary-button:active{background:var(--pri-press)!important;transform:scale(.985);}
.primary-button:disabled,.danger-button:disabled{opacity:.6;cursor:default;}
.secondary-button{background:#fff;color:var(--pri-ink);border:1px solid var(--hair-2);}
.secondary-button:active{background:var(--pri-soft);}
.danger-button{background:var(--danger);color:#fff;border:0;}
.wide{width:100%;}
.btn-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;}
.text-danger{display:block;margin:14px auto 0;border:0;background:none;color:var(--danger);font:500 13px Inter,system-ui,sans-serif;min-height:40px;cursor:pointer;}

/* bottom sheet */
.sheet-ov{position:fixed;inset:0;z-index:7000;display:flex;align-items:flex-end;justify-content:center;background:rgba(22,30,24,.0);transition:background .2s ease;}
.sheet-ov[hidden]{display:none!important;}
.sheet-ov.on{background:rgba(22,30,24,.38);}
.sheet{position:relative;width:100%;max-width:520px;max-height:92dvh;overflow:auto;background:#fff;border-radius:24px 24px 0 0;padding:26px 22px calc(22px + env(safe-area-inset-bottom));box-shadow:var(--shadow-2);transform:translateY(28px);opacity:0;transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .2s;color:var(--ink);}
.sheet-ov.on .sheet{transform:none;opacity:1;}
.sheet:before{content:'';position:absolute;top:9px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:2px;background:#dfe4da;}
@media(min-width:600px){.sheet-ov{align-items:center;}.sheet{border-radius:24px;}.sheet:before{display:none;}}
.sheet h2{font:700 23px/1.25 Inter,system-ui,sans-serif;letter-spacing:-.02em;margin:0 0 8px;color:var(--ink);}
.sheet .eyebrow{margin-top:4px!important;}
.sheet-text{font-size:14.5px;line-height:1.6;color:var(--mute);margin:0 0 18px;}
.sheet-x{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:0;background:#f1f4ee;color:var(--ink-2);font-size:15px;cursor:pointer;}
.sheet-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 18px;background:#eef2ea;border-radius:12px;}
.sheet-tabs button{min-height:40px;border:0;border-radius:9px;background:transparent;color:#5f7155;font:600 13px Inter,system-ui,sans-serif;cursor:pointer;}
.sheet-tabs button[aria-selected=true]{background:#fff;color:var(--pri-ink);box-shadow:0 1px 4px rgba(38,51,42,.08);}
.field{display:block;margin:0 0 14px;}
.field span{display:block;font:600 12.5px Inter,system-ui,sans-serif;color:var(--ink-2);margin:0 0 6px;}
.field input{width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--hair-2);border-radius:12px;background:#fbfcfa;color:var(--ink);font:16px/1.3 Inter,system-ui,sans-serif;-webkit-appearance:none;appearance:none;transition:border-color .15s,box-shadow .15s,background .15s;}
.field input:focus{outline:none;border-color:var(--pri);background:#fff;box-shadow:0 0 0 3px rgba(60,99,75,.14);}
.form-error{min-height:20px;margin:-4px 0 10px;font-size:13px;line-height:1.45;color:var(--danger);}
.form-error:empty{min-height:0;margin:0;}
.sheet .secondary-button.wide{margin-top:8px;}
.sheet .text-button.wide{padding:0;margin-top:4px;justify-content:center;display:flex;align-items:center;}
.sheet .small-note{line-height:1.55;margin-top:14px;}
body.sheet-open{overflow:hidden;}

/* account card in Settings */
.account-card h3{font-size:20px!important;margin:0 0 8px!important;color:var(--ink)!important;letter-spacing:-.01em;}
.account-card p{color:var(--mute);font-size:14px;line-height:1.6;}
.sync-line{display:flex;align-items:center;gap:8px;margin:2px 0 6px;font-size:13px!important;}
.sync-dot{width:8px;height:8px;border-radius:50%;background:var(--faint);flex:none;}
.sync-line[data-state=synced] .sync-dot{background:#4f8a5b;}
.sync-line[data-state=syncing] .sync-dot,.sync-line[data-state=pending] .sync-dot{background:#c49a4e;}
.sync-line[data-state=error]{color:var(--danger)!important;}
.sync-line[data-state=error] .sync-dot{background:var(--danger);}

/* leaderboard */
.lb-seg{display:grid!important;grid-template-columns:1fr 1fr;margin:0 0 16px!important;}
.lb-seg button[aria-pressed=true]{background:#fff!important;color:#3e6235!important;border-radius:10px!important;box-shadow:0 1px 4px rgba(38,51,42,.08);}
.lb-loading{padding:40px 0;text-align:center;color:var(--mute);font-size:14px;}
.lb-me{display:flex;align-items:center;gap:14px;padding:16px 18px;margin:0 0 16px;border-radius:18px;background:linear-gradient(135deg,#3c634b,#4d7a5d);color:#fff;box-shadow:0 8px 24px rgba(60,99,75,.22);}
.lb-me>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lb-me strong{font:700 16px/1.3 Inter,system-ui,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.lb-me>div span{font-size:12.5px;opacity:.82;line-height:1.4;}
.lb-me-rank{font:800 24px/1 Inter,system-ui,sans-serif;letter-spacing:-.02em;min-width:44px;}
.lb-me .lb-score{color:#fff;}
.lb-me .lb-score small{color:rgba(255,255,255,.75);}
.lb-cta{background:#fff;color:var(--ink);border:1px solid var(--hair);box-shadow:var(--shadow-1);}
.lb-cta>div span{opacity:1;color:var(--mute);}
.lb-cta .primary-button{min-height:42px;padding:10px 18px;flex:none;}
.lb-list{list-style:none;margin:0;padding:6px;background:#fff;border:1px solid var(--hair);border-radius:20px;box-shadow:var(--shadow-1);}
.lb-row{display:flex;align-items:center;gap:12px;padding:12px 12px;border-radius:14px;}
.lb-row+.lb-row{border-top:1px solid #eef1ea;}
.lb-row.is-me{background:var(--pri-soft);border-top-color:transparent;}
.lb-row.is-me+.lb-row{border-top-color:transparent;}
.lb-rank{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font:700 13px Inter,system-ui,sans-serif;color:var(--mute);background:#f2f4ef;}
.lb-rank.medal-1{background:linear-gradient(135deg,#e9cf8f,#c9a253);color:#4d3a12;}
.lb-rank.medal-2{background:linear-gradient(135deg,#e3e6e8,#b8bfc4);color:#3b4247;}
.lb-rank.medal-3{background:linear-gradient(135deg,#e8c3a2,#c08a5e);color:#4a2d16;}
.lb-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lb-name{font:600 15px/1.3 Inter,system-ui,sans-serif;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.lb-name em{font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--pri);background:#fff;border-radius:6px;padding:2px 6px;margin-left:6px;vertical-align:2px;}
.lb-title{font-size:12px;color:var(--mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.lb-score{flex:none;text-align:right;font:700 16px/1.1 Inter,system-ui,sans-serif;color:var(--ink);}
.lb-score small{display:block;font-size:10px;font-weight:600;letter-spacing:.08em;color:var(--faint);margin-top:2px;}
#sec-l .empty-state{margin-top:4px;}

/* ── polish: one calm surface language ─────────────────────────────── */
body::after{display:none!important;}
.logo-name{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;}
.hdr-gear{background:#eef2ea!important;color:var(--pri)!important;}
.hdr-gear svg{fill:var(--pri)!important;}

/* hidden sheets must not cast shadows into view */
#drawer,#tk-sheet{box-shadow:none!important;}
#drawer:not(.on),#tk-sheet:not(.on){visibility:hidden;transition:transform .3s ease,visibility 0s linear .32s!important;}
#drawer.on,#tk-sheet.on{visibility:visible;box-shadow:0 -10px 40px rgba(25,35,28,.14)!important;}

/* cards: full width, soft hairline + gentle shadow */
.scard,.q-card,.empty-state{margin-left:0!important;margin-right:0!important;background:#fff!important;border:1px solid var(--hair)!important;box-shadow:var(--shadow-1)!important;}
.quests-body{padding-left:0!important;padding-right:0!important;}
.q-card{border-radius:18px!important;}
.q-section-hdr{padding-left:2px!important;padding-right:2px!important;}
.install-card{background:#fff!important;}
.install-card h2{font-size:18px!important;letter-spacing:-.3px!important;margin-bottom:8px!important;}
.account-card .btn-row .secondary-button{font-size:13px!important;padding:10px 8px;}
.account-card{border-color:var(--hair-2)!important;}

/* primary actions: flat, no neon glow left from the old theme */
.nu-done-c,#nu-line-done-btn,.chz-review-btn,.mc-done-btn,.tk-done{box-shadow:none!important;filter:none!important;text-shadow:none!important;animation:none!important;}
.mc-done-btn,.tk-done{background:var(--pri)!important;color:#fff!important;border-color:var(--pri)!important;}

/* toasts sit below the header instead of over the headline */
.toast{border-radius:14px!important;box-shadow:var(--shadow-2)!important;}

/* Tanach / Halacha card header: title row with Hebrew beside it, status on the right */
.mc-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;min-height:0!important;}
.mc-tx{flex:1;min-width:0;}
.mc-lbl{font:700 10px/1.5 Inter,system-ui,sans-serif!important;letter-spacing:1.4px!important;text-transform:uppercase;color:#77856e!important;margin-bottom:2px;}
.mc-now{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font:600 17px/1.35 Inter,system-ui,sans-serif!important;color:var(--ink)!important;}
.mc-he{display:inline!important;font-family:var(--fhe)!important;font-size:15px!important;font-weight:500;color:var(--mute)!important;}
.mc-status{flex:none;margin-top:16px;font:600 11px/1.3 Inter,system-ui,sans-serif!important;color:var(--mute)!important;}

/* Goals: quiet section headings, matching "Milestones" */
.q-section-hdr{display:flex!important;align-items:baseline!important;justify-content:space-between!important;margin:26px 0 10px!important;}
.q-section-hdr *{background:none!important;-webkit-text-fill-color:currentColor!important;}
.q-section-hdr::after,.q-section-hdr *::after{display:none!important;}
.q-section-hdr>:first-child{font:700 17px/1.3 Inter,system-ui,sans-serif!important;letter-spacing:-.01em!important;text-transform:none!important;color:var(--ink)!important;}
.q-reset{font:500 11.5px Inter,system-ui,sans-serif!important;letter-spacing:0!important;color:var(--faint)!important;text-transform:none!important;}
.q-today-count{font:500 13px Inter,system-ui,sans-serif!important;color:var(--mute)!important;margin:-4px 0 10px 2px!important;}
.mc-status{max-width:none!important;white-space:nowrap!important;}
