
/* =====================================================================
   Generation CA v3: additions on top of Option D. Logo files/colours are never touched.
   R20: no tilt anywhere. R29: founder circle gets a thin gold ring. R41: no bottom bar.
   ===================================================================== */
[hidden]{display:none!important}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
:focus-visible{outline:3px solid #6D5BF0;outline-offset:2px}
html{-webkit-text-size-adjust:100%}
body{overflow-x:hidden}
/* ---- header extras ---- */
.theme-btn{position:relative;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;border:1.5px solid var(--line);background:#fff;cursor:pointer;color:var(--ink)}
.theme-btn .i{width:19px;height:19px}.theme-btn .t-moon{display:none}[data-theme=dark] .theme-btn .t-sun{display:none}[data-theme=dark] .theme-btn .t-moon{display:block}
.tag-soon{font-style:normal;font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:var(--pop);color:#1A1730;padding:2px 6px;border-radius:99px;margin-left:5px;vertical-align:2px}
.nav a.is-soon{opacity:.8}
.soon-tag{position:absolute;top:14px;right:14px;font-size:10.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;background:var(--pop);color:#1A1730;padding:4px 10px;border-radius:99px;border:1.5px solid #1A1730;z-index:2}
.soon-tag.static{position:static;display:inline-block;margin-bottom:8px}
.pillar{position:relative}
.soon-band .soon-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.soon-item{background:var(--bg2);border:1.5px dashed var(--line);border-radius:22px;padding:22px}
.soon-item h3{margin:0 0 4px}.soon-item p{color:var(--muted);margin:0;font-size:14px}
@media(max-width:760px){.soon-band .soon-row{grid-template-columns:1fr}}
.soon-list{padding-left:18px;line-height:1.8}
/* ---- splash (R17): logo scales in, rocket launches, fades ---- */
#splash{position:fixed;inset:0;z-index:9999;display:none;place-items:center;background:#fff}
html.splash-on #splash{display:grid}
#splash .sp-in{display:flex;flex-direction:column;align-items:center;gap:14px;position:relative}
#splash .sp-mark{width:104px;height:104px;display:block;transform:scale(.4);opacity:0}
#splash .sp-mark svg{width:100%;height:100%;display:block}
#splash .sp-name{font:800 34px var(--disp,Poppins,sans-serif);letter-spacing:-.03em;color:#1A1730;opacity:0;transform:translateY(8px)}
#splash .sp-name i{font-style:normal;color:#7B263A}
#splash .sp-rocket{position:absolute;bottom:-6px;right:-18px;width:34px;height:34px;color:#7B263A;opacity:0}
#splash .sp-rocket .i{width:100%;height:100%}
#splash.go .sp-mark{animation:spPop .7s cubic-bezier(.2,1.4,.4,1) forwards}
#splash.go .sp-name{animation:spUp .5s .45s ease-out forwards}
#splash.go .sp-rocket{animation:spFly 1s .7s ease-in forwards}
#splash.out{opacity:0;transition:opacity .5s ease;pointer-events:none}
@keyframes spPop{to{transform:scale(1);opacity:1}}
@keyframes spUp{to{opacity:1;transform:none}}
@keyframes spFly{0%{opacity:1;transform:translate(0,0)}30%{transform:translate(-4px,6px)}100%{opacity:0;transform:translate(40px,-260px) scale(1.3)}}
[data-theme=dark] #splash{background:#15101A}[data-theme=dark] #splash .sp-name{color:#F2EEF7}
@media(prefers-reduced-motion:reduce){#splash{display:none!important}}
/* micro-animations */
.btn{transition:transform .15s ease,box-shadow .15s ease,background .2s,color .2s}
.btn:active{transform:translateY(1px)}
.pillar,.level,.kcard,.person,.conv,.note,.ccard{transition:transform .2s ease,box-shadow .2s ease,border-color .2s}
.w-learn,.w-lead,.w-lvl{animation:hue 6s ease-in-out infinite}
.w-lead{animation-delay:.4s}.w-lvl{animation-delay:.8s}
@keyframes hue{50%{filter:brightness(1.12) saturate(1.2)}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* ---- toasts (R44) ---- */
#toasts{position:fixed;top:78px;right:16px;z-index:300;display:flex;flex-direction:column;gap:10px;max-width:min(360px,calc(100vw - 32px));pointer-events:none}
.toast3{pointer-events:auto;display:flex;gap:10px;align-items:flex-start;background:#1A1730;color:#fff;padding:12px 16px;border-radius:16px;font-size:14px;font-weight:600;line-height:1.4;box-shadow:0 14px 40px -12px rgba(26,23,48,.5);transform:translateX(120%);opacity:0;transition:transform .3s ease,opacity .3s;text-decoration:none}
.toast3.in{transform:none;opacity:1}.toast3 .dot{width:9px;height:9px;border-radius:50%;background:var(--pop);margin-top:6px;flex:none}
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#1A1730;color:#fff;padding:11px 18px;border-radius:14px;z-index:300;font-weight:600;font-size:14px;box-shadow:0 12px 30px -10px rgba(0,0,0,.4)}
@media(max-width:600px){#toasts{top:64px;right:10px;left:10px;max-width:none}}
/* ---- forms ---- */
.pwbox{position:relative;display:block}.pwbox input{padding-right:48px;width:100%}
.pw-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--muted);border-radius:10px}
.pw-eye .i{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}.pw-eye.on{color:var(--ink)}
label.pwbox,.pwbox{position:relative}
.notice{border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.5;margin:0 0 14px;border:1.5px solid var(--line);background:var(--bg2)}
.notice.warn{background:#FFF6D6;border-color:#E9C95A;color:#5a4300}.notice.ok{background:#E6F7EC;border-color:#8BD3A5;color:#14532d}.notice.err{background:#FDE8E8;border-color:#F0A3A3;color:#7a1414}
.form label{display:block;font-weight:700;font-size:13.5px}
.form label.chk,label.chk{display:flex;gap:8px;align-items:center;font-weight:600}
.form input[type=checkbox],label.chk input{width:auto}
.form small{display:block;font-weight:500;color:var(--muted);margin-top:4px}
select{min-height:46px}
.other-box{display:block}
fieldset{border:1.5px solid var(--line);border-radius:16px;padding:14px;margin:14px 0}legend{font-weight:800;padding:0 8px}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gatecard .bigmail,.bigmail{width:64px;height:64px;border-radius:20px;background:var(--pop);color:#1A1730;display:grid;place-items:center;margin:0 auto 12px}.bigmail .i{width:30px;height:30px}
.tbl{width:100%;border-collapse:collapse;font-size:14px}.tbl th,.tbl td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line)}.tbl th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.narrow0{max-width:760px;margin:0 auto}
/* ---- live dashboard on Home (R35/R36) ---- */
.live-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.live .lcard{background:#fff;border:2px solid #1A1730;border-radius:20px;padding:14px 16px;box-shadow:3px 3px 0 #1A1730;display:flex;flex-direction:column;gap:2px;color:#1A1730}
.live .lcard span{font-size:12px;font-weight:700;color:#5b5870}.live .lcard b{font-size:30px;line-height:1.1;display:block}.live .lcard small{font-size:12px;color:#6C6980}
.live .lcard.wa{background:var(--pop)}.live .lcard.wa span,.live .lcard.wa small{color:#2e3510}
.lchart{margin-top:14px;background:#fff;border:2px solid #1A1730;border-radius:20px;padding:14px 16px;box-shadow:3px 3px 0 #1A1730;color:#1A1730}
.lchart>span{font-size:12px;font-weight:800;color:#5b5870;text-transform:uppercase;letter-spacing:.06em}
.vchart{width:100%;height:auto;max-height:110px;margin-top:6px}.vchart rect{fill:#CFC9F5}.vchart rect.cur{fill:#6D5BF0}.vchart text{font:700 10px Poppins,sans-serif;fill:#6C6980}
.live-note{margin:10px 0 0;font-size:12.5px;display:flex;gap:6px;align-items:center}
@media(max-width:900px){.live-grid4{grid-template-columns:repeat(2,1fr)}}
/* ---- paper pages: GenCA notes first, ICAI resources, MCQ ---- */
.resbar{margin:22px 0}.resbar h4{margin:0 0 10px;font-size:16px}.resbtns{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.icai-note{display:flex;gap:6px;align-items:flex-start;font-size:12.5px;color:var(--muted);margin:10px 0 0;line-height:1.5}.icai-note .i{width:14px;height:14px;flex:none;margin-top:2px}
.resbtn{display:flex;flex-direction:column;gap:2px;padding:14px 16px;border:2px solid #1A1730;border-radius:18px;background:#fff;box-shadow:3px 3px 0 #1A1730;position:relative;color:#1A1730;text-decoration:none}
.resbtn:hover{transform:translate(-1px,-2px);box-shadow:5px 5px 0 #1A1730}.resbtn b{font-size:15px}.resbtn small{color:#6C6980;font-size:12.5px}.resbtn .i{position:absolute;right:12px;top:14px;width:16px;height:16px}
.practice,.notes-first{margin-bottom:18px}
.note-acts{display:flex;gap:10px;flex-wrap:wrap}
.mylevel{font-weight:800}
/* ---- study tracker (R18) ---- */
.tgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}
.tstat{padding:16px 18px}.tstat .big{font-family:var(--disp);font-size:34px;font-weight:800;line-height:1.1;margin:4px 0}.tstat .big small{font-size:14px;font-weight:700;color:var(--muted)}
.cdn{font-family:var(--disp);font-size:38px}
.pbar{height:10px;border-radius:99px;background:var(--bg2);overflow:hidden;margin:8px 0}.pbar i{display:block;height:100%;background:linear-gradient(90deg,#6D5BF0,#8EC1FF);border-radius:99px;transition:width .4s}
.plan{margin-bottom:16px;border:2px solid #1A1730;box-shadow:4px 4px 0 #1A1730}
.plan-list{list-style:none;counter-reset:p;padding:0;margin:10px 0}.plan-list li{counter-increment:p;display:grid;grid-template-columns:34px 1fr;gap:2px 12px;padding:10px 0;border-bottom:1px dashed var(--line)}
.plan-list li:before{content:counter(p);grid-row:span 2;width:30px;height:30px;border-radius:50%;background:var(--pop);color:#1A1730;display:grid;place-items:center;font-weight:800}.plan-list li span{color:var(--muted);font-size:14px}
.tip-line{background:var(--bg2);border-radius:14px;padding:10px 14px;font-size:14px;margin:10px 0 0}
.tcols{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
.stopwatch{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--bg2);border-radius:16px;padding:10px 14px;margin-bottom:12px}.stopwatch b{font-family:var(--disp);font-size:26px;font-variant-numeric:tabular-nums}
.stopwatch .i{width:16px;height:16px;vertical-align:-3px}
.wchart{position:relative;height:170px;display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:end;padding-bottom:24px;margin-top:10px}
.wc{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}
.wc .bar{width:100%;max-width:38px;background:#CFC9F5;border-radius:8px 8px 4px 4px;min-height:4px;position:relative;display:block}.wc .bar.hit{background:#2E9B57}
.wc .bar i{position:absolute;top:-18px;left:50%;transform:translateX(-50%);font-size:10.5px;font-style:normal;font-weight:700;white-space:nowrap;color:var(--muted)}
.wc b{position:absolute;bottom:-22px;font-size:12px;color:var(--muted)}
.goalline{position:absolute;left:0;right:0;border-top:2px dashed #F0A340;height:0;pointer-events:none;margin-bottom:24px}.goalline em{position:absolute;right:0;top:-18px;font-size:10px;font-style:normal;color:#b9741a;font-weight:800}
.paper-t{margin:10px 0;padding:0}.paper-t summary{list-style:none;cursor:pointer;padding:14px 18px}.paper-t summary::-webkit-details-marker{display:none}.paper-t[open] summary{border-bottom:1px dashed var(--line)}
.pt-h{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
ul.chk{list-style:none;padding:8px 18px;margin:0}ul.chk li{padding:8px 0;border-bottom:1px solid var(--line)}ul.chk label{display:flex;gap:10px;align-items:center;font-weight:600;cursor:pointer;font-size:14.5px}ul.chk input{width:20px;height:20px;accent-color:#2E9B57;flex:none}
.paper-t>a{display:inline-block;margin:6px 18px 14px}
.tipgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.tipc{padding:14px}.tipc p{margin:4px 0 0}
@media(max-width:960px){.tgrid{grid-template-columns:repeat(2,1fr)}.tipgrid{grid-template-columns:repeat(2,1fr)}.tcols{grid-template-columns:1fr}}
@media(max-width:520px){.tipgrid{grid-template-columns:1fr}.tstat .big{font-size:28px}}
/* ---- contributors (R39) ---- */
.tier{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:800;padding:3px 9px;border-radius:99px;border:1.5px solid}
.tier .i{width:12px;height:12px}
.tier.gold{background:#FFF3C4;color:#7a5a00;border-color:#E0B93A}.tier.silver{background:#EEF0F4;color:#4a5160;border-color:#B6BDC9}.tier.bronze{background:#FBE6D5;color:#7a3f12;border-color:#D4975F}
.cwall{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.ccard{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:18px 14px;border:1.5px solid var(--line);border-radius:22px;background:#fff;color:inherit;text-decoration:none}.ccard:hover{transform:translateY(-3px);box-shadow:var(--sh-md)}
.rank{width:26px;height:26px;border-radius:50%;background:var(--bg2);display:grid;place-items:center;font-weight:800;font-size:12px;flex:none}
/* ---- Lead: post cards, double-tap, save (R47/R48) ---- */
.lead-search{display:flex;align-items:center;gap:8px;background:#fff;border:2px solid #1A1730;border-radius:99px;padding:6px 8px 6px 14px;margin-bottom:12px}
.lead-search input{flex:1;border:0;outline:0;background:transparent;font:600 15px var(--ui);min-width:0;padding:8px 0;color:inherit}.s-ic .i{width:18px;height:18px;vertical-align:-4px}
.recent-s{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:-4px 0 12px}
.pdbl{position:relative;cursor:default;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation;border-radius:14px}
.pdbl a,.pdbl .pbody{-webkit-user-select:text;user-select:text}
.heartpop{position:absolute;left:50%;top:50%;width:92px;height:92px;margin:-46px 0 0 -46px;pointer-events:none;opacity:0;transform:scale(.3)}
.heartpop svg{width:100%;height:100%;fill:#FF3B6B;stroke:#fff;stroke-width:1.2;filter:drop-shadow(0 6px 14px rgba(255,59,107,.5))}
.heartpop.go{animation:hpop .8s ease-out}
@keyframes hpop{0%{opacity:0;transform:scale(.3)}25%{opacity:1;transform:scale(1.15)}55%{opacity:1;transform:scale(.95)}100%{opacity:0;transform:scale(1.25) translateY(-14px)}}
.acts2{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}
.act{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;font:700 13.5px var(--ui);color:var(--muted);padding:8px 12px;border-radius:99px;cursor:pointer;text-decoration:none;min-height:40px}
.act:hover{background:var(--bg2);color:var(--ink)}.act .i{width:19px;height:19px}
.act.likestate{cursor:default}.act.likestate.liked{color:#FF3B6B}.act.likestate.liked .i{fill:#FF3B6B;stroke:#FF3B6B}
.act.save.saved{color:#6D5BF0}.act.save.saved .i{fill:#6D5BF0}
.post2.is-held{opacity:.9;border-style:dashed}.held-note{background:#FFF6D6;color:#5a4300;border-radius:12px;padding:8px 12px;font-size:13px;font-weight:700;margin:6px 0}
.pbody.clamp{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
.circle-btn{font:800 12.5px var(--ui);border:2px solid #1A1730;background:var(--pop);color:#1A1730;border-radius:99px;padding:6px 12px;cursor:pointer;white-space:nowrap}
.circle-btn.on{background:#fff}.circle-btn.req{background:var(--bg2);border-color:var(--line);color:var(--muted)}
.circle-f.two{display:inline-flex;gap:6px}.circle-f.two form{display:inline}
.circle-f.big .circle-btn{padding:9px 16px;font-size:13.5px}
.nacts{display:flex;gap:8px;padding:0 14px 12px 64px}.notif{position:relative}.nlink{display:flex;gap:12px;align-items:center;padding:12px 14px;color:inherit;text-decoration:none}.notif .nacts{margin-top:-4px}
.btn-xs{padding:6px 12px;font-size:12.5px;min-height:34px}
.cacts{display:flex;gap:10px}
.p3-sub{display:flex;flex-direction:column;gap:6px;align-items:flex-start;margin-top:4px}.p3-line{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-weight:600}.p3-line.loc .i{width:15px;height:15px}
/* stories */
.s-acts{position:absolute;left:0;right:0;bottom:14px;display:flex;gap:10px;justify-content:center;z-index:3}
.s-acts button{border:0;background:rgba(0,0,0,.6);color:#fff;font:700 13px var(--ui);padding:9px 16px;border-radius:99px;cursor:pointer}
.s-hold{background:rgba(255,246,214,.95);color:#5a4300;font:700 12px var(--ui);padding:8px 12px;border-radius:99px}
/* ---- DMs with media (R43) ---- */
.dmimg{max-width:240px;max-height:260px;border-radius:14px;display:block;margin-bottom:4px}.dmvid{max-width:260px;max-height:300px;border-radius:14px;display:block;background:#000}.dmaud{max-width:240px;height:40px}
.chat-f{flex-wrap:wrap;align-items:flex-end}.chat-f textarea{flex:1;min-width:140px}
.c-btn.icon{width:42px;height:42px;padding:0;display:grid;place-items:center;border-radius:50%;border:1.5px solid var(--line);background:#fff;cursor:pointer;color:var(--ink);flex:none}.c-btn.icon .i{width:19px;height:19px}.c-btn.icon.rec{background:#E5484D;color:#fff;border-color:#E5484D;animation:recp 1.2s infinite}
@keyframes recp{50%{box-shadow:0 0 0 8px rgba(229,72,77,.2)}}
.dm-attach{flex-basis:100%;display:flex;gap:10px;align-items:center;font-size:13px;font-weight:600;background:var(--bg2);border-radius:12px;padding:6px 12px}
/* ---- admin extras ---- */
.switches{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.sw{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:16px;padding:12px 14px}.sw span b{display:block}.sw small{font-weight:800;color:var(--muted);font-size:11.5px;letter-spacing:.05em}
.barchart{display:flex;align-items:flex-end;gap:4px;height:150px;padding-bottom:18px;margin-top:10px}.barchart.sm{height:110px}
.bc{flex:1;height:100%;display:flex;align-items:flex-end;justify-content:center;position:relative}.bc i{display:block;width:100%;background:#6D5BF0;border-radius:5px 5px 2px 2px;min-height:3px}.bc em{position:absolute;bottom:-17px;font-size:9.5px;font-style:normal;color:var(--muted)}
.arow .row input{padding:7px 10px;border:1.5px solid var(--line);border-radius:10px;min-height:34px;font-size:13px;background:#fff;color:inherit}
.arow .abtns{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hide-xs{}@media(max-width:480px){.hide-xs{display:none!important}}
/* ---- founder circle (R29): no neon; thin gold ring + soft shadow. Photo untouched ---- */
.fphoto{background:#fff!important;padding:4px!important;border:2px solid #D9B25A;box-shadow:0 10px 26px -12px rgba(123,38,58,.35)!important}
.fphoto img{border-radius:50%!important}
/* ---- lists/empty ---- */
.empty{text-align:center;padding:28px 18px;border:1.5px dashed var(--line);border-radius:20px;background:var(--bg2);color:var(--muted);line-height:1.6}
.empty b{color:var(--ink);font-size:16px}
.badge-c{display:inline-block;font-size:11.5px;font-weight:800;background:#FFF3C4;color:#7a5a00;padding:3px 9px;border-radius:99px;border:1.5px solid #E0B93A}
/* no bottom tab bar anywhere (R41) */
.bottom-nav,.tabbar,.bnav,.mbar{display:none!important}

.sy-tip{display:none}

.acts2 form.sr-only{display:block!important}
.acts2 form.inline{display:contents}
.acts2 .act{width:auto;flex:1 1 0;justify-content:center}
.acts2{display:flex!important;flex-wrap:nowrap;gap:4px;border-top:1px solid var(--line);padding-top:6px}
@media(max-width:420px){.acts2 .act{padding:8px 6px}.act span{font-size:12px}}

.pstats span:empty{display:none}.pstats:empty{display:none}

.person{flex-wrap:wrap}.person .grow{min-width:0;flex:1 1 90px}.circle-f.sm .circle-btn{padding:5px 10px;font-size:12px}

/* ---- generated dark overrides ---- */
[data-theme=dark] #sy #sy-box,[data-theme=dark] #sy #sy-f,[data-theme=dark] #sy #sy-h,[data-theme=dark] #sy #sy-h .av,[data-theme=dark] #sy #sy-h .x,[data-theme=dark] #sy #sy-h small,[data-theme=dark] #sy #sy-i,[data-theme=dark] #sy #sy-m .a.err,[data-theme=dark] #sy #sy-m .chips button,[data-theme=dark] #sy #sy-q:focus,[data-theme=dark] #sy-box,[data-theme=dark] #sy-f,[data-theme=dark] #sy-i,[data-theme=dark] #sy-m .a,[data-theme=dark] #sy-m .a.err,[data-theme=dark] #sy-m .chips button,[data-theme=dark] #sy-q,[data-theme=dark] .act.liked,[data-theme=dark] .at-input,[data-theme=dark] .authcard,[data-theme=dark] .avimg,[data-theme=dark] .badge-c,[data-theme=dark] .badge-row,[data-theme=dark] .band,[data-theme=dark] .block.band,[data-theme=dark] .block.band:has(.levels),[data-theme=dark] .btn-ghost,[data-theme=dark] .btn-ghost:hover,[data-theme=dark] .btn-google,[data-theme=dark] .btn-google .g,[data-theme=dark] .btn-line,[data-theme=dark] .btn-line.on,[data-theme=dark] .bub.them,[data-theme=dark] .burger,[data-theme=dark] .c-btn,[data-theme=dark] .c-kind span,[data-theme=dark] .c-preview,[data-theme=dark] .card,[data-theme=dark] .cform input,[data-theme=dark] .cform2 textarea,[data-theme=dark] .chat-body,[data-theme=dark] .chip,[data-theme=dark] .circle-btn,[data-theme=dark] .circle-btn.on:hover,[data-theme=dark] .cmt .cb,[data-theme=dark] .composer,[data-theme=dark] .composer .in,[data-theme=dark] .composer2,[data-theme=dark] .composer2 textarea,[data-theme=dark] .composer3 textarea,[data-theme=dark] .composer3 textarea:focus,[data-theme=dark] .contact-box,[data-theme=dark] .contact-box.locked,[data-theme=dark] .conv.new,[data-theme=dark] .course,[data-theme=dark] .course .pill-gold,[data-theme=dark] .dd,[data-theme=dark] .draft-tag,[data-theme=dark] .emblem,[data-theme=dark] .empty,[data-theme=dark] .err,[data-theme=dark] .fcard,[data-theme=dark] .fcard2,[data-theme=dark] .feat div,[data-theme=dark] .firm,[data-theme=dark] .firm .quote,[data-theme=dark] .firm.dk,[data-theme=dark] .flash,[data-theme=dark] .flogo,[data-theme=dark] .form code,[data-theme=dark] .form input:focus,[data-theme=dark] .form input:not([type=checkbox]):not([type=radio]):not([type=file]),[data-theme=dark] .form select,[data-theme=dark] .form select:focus,[data-theme=dark] .form textarea,[data-theme=dark] .form textarea:focus,[data-theme=dark] .founder-sec,[data-theme=dark] .ftab,[data-theme=dark] .ftabs.light .ftab,[data-theme=dark] .ftabs.light .ftab:hover,[data-theme=dark] .ftag,[data-theme=dark] .guide-strip,[data-theme=dark] .guide-strip.hov:hover,[data-theme=dark] .hbtn,[data-theme=dark] .hero,[data-theme=dark] .hero .ctas .btn-ghost:hover,[data-theme=dark] .hov:hover,[data-theme=dark] .icai.alt,[data-theme=dark] .icai.alt .ic,[data-theme=dark] .icon-btn:hover,[data-theme=dark] .item,[data-theme=dark] .join-item,[data-theme=dark] .kcard,[data-theme=dark] .kind.ach,[data-theme=dark] .kind.qn,[data-theme=dark] .l-mid .ftabs,[data-theme=dark] .l-mid .stories,[data-theme=dark] .lcard,[data-theme=dark] .lcard .go,[data-theme=dark] .lcard .lv,[data-theme=dark] .lcard:nth-child(2),[data-theme=dark] .lcard:nth-child(3),[data-theme=dark] .lesson.on,[data-theme=dark] .level,[data-theme=dark] .level .lv,[data-theme=dark] .liked,[data-theme=dark] .live-main,[data-theme=dark] .ltab,[data-theme=dark] .lvl.ar,[data-theme=dark] .lvl.ca,[data-theme=dark] .lvl.f,[data-theme=dark] .lvl.fi,[data-theme=dark] .lvl.i,[data-theme=dark] .lvl.ot,[data-theme=dark] .lvl.qc,[data-theme=dark] .mention-box,[data-theme=dark] .mini-p,[data-theme=dark] .mnav,[data-theme=dark] .mock,[data-theme=dark] .mock-cta,[data-theme=dark] .nav a:hover,[data-theme=dark] .note,[data-theme=dark] .note .fi,[data-theme=dark] .note .fi.pdf,[data-theme=dark] .note .pdf,[data-theme=dark] .notif.new,[data-theme=dark] .opt .ol,[data-theme=dark] .opt:has(input:checked),[data-theme=dark] .p3-stats a,[data-theme=dark] .pcard,[data-theme=dark] .pill-dark,[data-theme=dark] .pill-gold,[data-theme=dark] .pill-green,[data-theme=dark] .pill-line,[data-theme=dark] .pill-navy,[data-theme=dark] .pill-red,[data-theme=dark] .pillar,[data-theme=dark] .pillar .ico,[data-theme=dark] .pillar li:before,[data-theme=dark] .pillar.dark,[data-theme=dark] .pillar.dark .ico,[data-theme=dark] .pillar.dark li:before,[data-theme=dark] .pimg,[data-theme=dark] .pmenu summary:hover,[data-theme=dark] .portal .feat .ic,[data-theme=dark] .portal .soon,[data-theme=dark] .post,[data-theme=dark] .post2,[data-theme=dark] .profile,[data-theme=dark] .prog,[data-theme=dark] .pstats>span:first-child,[data-theme=dark] .qdot,[data-theme=dark] .qdot.done,[data-theme=dark] .req-banner,[data-theme=dark] .req-banner.soft,[data-theme=dark] .reshared,[data-theme=dark] .rtab,[data-theme=dark] .screen,[data-theme=dark] .screen .bar,[data-theme=dark] .screen.dark,[data-theme=dark] .screen.dark .chip,[data-theme=dark] .search,[data-theme=dark] .search input,[data-theme=dark] .set,[data-theme=dark] .sheet-card,[data-theme=dark] .sheet-x,[data-theme=dark] .side-card,[data-theme=dark] .soc,[data-theme=dark] .spom-card,[data-theme=dark] .stat,[data-theme=dark] .story-view .bars i b,[data-theme=dark] .tagcloud .htag,[data-theme=dark] .thumb .pill[style],[data-theme=dark] .thumb .play,[data-theme=dark] .todo,[data-theme=dark] .top .btn-ghost,[data-theme=dark] .top .btn-ghost:hover,[data-theme=dark] .top .btn-gold:hover,[data-theme=dark] .trusted,[data-theme=dark] .two-sides .side,[data-theme=dark] .vac,[data-theme=dark] .vbadge,[data-theme=dark] .vbadge.no,[data-theme=dark] .vbadge.team,[data-theme=dark] .vcount,[data-theme=dark] .wa-g,[data-theme=dark] .warn,[data-theme=dark] .work,[data-theme=dark] a.join-item:hover,[data-theme=dark] body,[data-theme=dark] body[data-sec=lead],[data-theme=dark] footer{background:var(--card)}
[data-theme=dark] #sy-box,[data-theme=dark] #sy-i,[data-theme=dark] #sy-m .a,[data-theme=dark] #sy-m .a.err,[data-theme=dark] #sy-q,[data-theme=dark] .at-input,[data-theme=dark] .badge-row,[data-theme=dark] .btn-ghost,[data-theme=dark] .btn-ghost:hover,[data-theme=dark] .btn-google,[data-theme=dark] .btn-line,[data-theme=dark] .btn-line.on,[data-theme=dark] .btn-line:hover,[data-theme=dark] .burger,[data-theme=dark] .card.tip,[data-theme=dark] .cform input,[data-theme=dark] .cform2 textarea,[data-theme=dark] .chat-f textarea,[data-theme=dark] .chip,[data-theme=dark] .cmt,[data-theme=dark] .cnt,[data-theme=dark] .composer2 textarea,[data-theme=dark] .concept-bar,[data-theme=dark] .conv,[data-theme=dark] .crumb a:hover,[data-theme=dark] .cta,[data-theme=dark] .danger,[data-theme=dark] .empty,[data-theme=dark] .ex-pal,[data-theme=dark] .ex-q .case,[data-theme=dark] .ex-q .opt,[data-theme=dark] .ex-q .qq,[data-theme=dark] .ex-top,[data-theme=dark] .fcard2:hover,[data-theme=dark] .flash,[data-theme=dark] .form fieldset,[data-theme=dark] .form input:not([type=checkbox]):not([type=radio]):not([type=file]),[data-theme=dark] .form select,[data-theme=dark] .form textarea,[data-theme=dark] .ftab,[data-theme=dark] .ftabs.light .ftab,[data-theme=dark] .guide-strip,[data-theme=dark] .hero .ctas .btn-ghost:hover,[data-theme=dark] .hov:hover,[data-theme=dark] .lcard.share,[data-theme=dark] .lesson.on,[data-theme=dark] .live-main,[data-theme=dark] .ltab,[data-theme=dark] .ltab.share,[data-theme=dark] .ltab.share.on,[data-theme=dark] .mock-cta,[data-theme=dark] .note:hover,[data-theme=dark] .notif,[data-theme=dark] .p3-av .av,[data-theme=dark] .pcounts a,[data-theme=dark] .person,[data-theme=dark] .pill-dark,[data-theme=dark] .pillar.dark,[data-theme=dark] .portal .soon,[data-theme=dark] .post2:hover,[data-theme=dark] .prof-mini .av,[data-theme=dark] .profile .av,[data-theme=dark] .profile.big .av,[data-theme=dark] .qdot.done,[data-theme=dark] .req-banner,[data-theme=dark] .reshared,[data-theme=dark] .rowline,[data-theme=dark] .rrow,[data-theme=dark] .rtab,[data-theme=dark] .screen.dark .chip,[data-theme=dark] .search,[data-theme=dark] .search input,[data-theme=dark] .soc,[data-theme=dark] .spom-card,[data-theme=dark] .story.add i,[data-theme=dark] .todo,[data-theme=dark] .top .btn-ghost:hover,[data-theme=dark] .top .btn-gold:hover,[data-theme=dark] .vac:hover,[data-theme=dark] .verified:after,[data-theme=dark] .vrow,[data-theme=dark] .warn,[data-theme=dark] .welcome-lead,[data-theme=dark] a.item:hover{border-color:#3b2f43}
@media(max-width:900px){[data-theme=dark] .tabbar .tb-plus{border-color:#3b2f43}}
[data-theme=dark] #sy-q::placeholder,[data-theme=dark] .brand small,[data-theme=dark] .c-note,[data-theme=dark] .course .price s,[data-theme=dark] .firm.dk .loc,[data-theme=dark] .firm.dk .rate span,[data-theme=dark] .hero .tag,[data-theme=dark] .live-main small,[data-theme=dark] .live-note,[data-theme=dark] .mini-row span,[data-theme=dark] .phero .crumb,[data-theme=dark] .rate .stars,[data-theme=dark] .stars,[data-theme=dark] .stat span{color:var(--muted)}
[data-theme=dark] #sy-m .a b,[data-theme=dark] .act,[data-theme=dark] .bio,[data-theme=dark] .cform span.av.c4,[data-theme=dark] .clip,[data-theme=dark] .cmt .cb p,[data-theme=dark] .cmt span.av.c4,[data-theme=dark] .contact-box a,[data-theme=dark] .danger,[data-theme=dark] .desc,[data-theme=dark] .fcard2 .frow small,[data-theme=dark] .form label,[data-theme=dark] .guide ul,[data-theme=dark] .hbtn,[data-theme=dark] .nav,[data-theme=dark] .nav a,[data-theme=dark] .p3-bio,[data-theme=dark] .pbody,[data-theme=dark] .pillar p,[data-theme=dark] .pillar.dark p,[data-theme=dark] .portal .sub,[data-theme=dark] .portal p[style],[data-theme=dark] .post .who span.av.c4,[data-theme=dark] .post p,[data-theme=dark] .prose ol,[data-theme=dark] .prose p,[data-theme=dark] .set span,[data-theme=dark] .story,[data-theme=dark] .vm,[data-theme=dark] .wa-g.full small,[data-theme=dark] .welcome-lead p{color:var(--ink)}
[data-theme=dark] .act.liked,[data-theme=dark] .firm .pill-gold,[data-theme=dark] .pcounts b,[data-theme=dark] .portal .pill-gold,[data-theme=dark] .portal .soon,[data-theme=dark] .post .acts .liked,[data-theme=dark] .vac .pill-gold,[data-theme=dark] .vcount b,[data-theme=dark] .vh .loc,[data-theme=dark] body[data-sec=firms] .phero .eyebrow,[data-theme=dark] body[data-sec=firms] .sh .eyebrow,[data-theme=dark] body[data-sec=home] main>section.portal .eyebrow,[data-theme=dark] body[data-sec=home] main>section:nth-of-type(3) .head .eyebrow,[data-theme=dark] body[data-sec=home] main>section:nth-of-type(4) .head .eyebrow,[data-theme=dark] body[data-sec=home] main>section:nth-of-type(4) .post2 .htag,[data-theme=dark] body[data-sec=home] main>section:nth-of-type(5) .head .eyebrow,[data-theme=dark] body[data-sec=levelup] .phero .eyebrow,[data-theme=dark] body[data-sec=levelup] .sh .eyebrow{color:var(--ink2)}
@media(max-width:900px){[data-theme=dark] .tabbar a{color:var(--ink2)}}

/* =====================================================================
   DARK MODE (R19). Logo files and the logo's mark colours are NOT changed: the logo tile stays maroon with its own colours.
   ===================================================================== */
[data-theme=dark]{color-scheme:dark;
 --ink:#F2EEF7; --ink2:#D9D2E6; --muted:#A79FB8; --line:#33293A; --bg2:#1E1724; --cream:#1E1724; --navy:#F2EEF7; --navy2:#D9D2E6;
 --bur:#F2EEF7; --bur-d:#fff; --bur-soft:#2A2132; --brand:#B8475F; --pop:#D8F35F; --pop-soft:#2B3112; --card:#1B1520;
 --wt-soft:#2A2132; --wt-goldsoft:#1E1724; --acc-bg:#2A2132;
 --sh-sm:0 1px 2px rgba(0,0,0,.4),0 8px 22px -14px rgba(0,0,0,.6); --sh-md:0 2px 4px rgba(0,0,0,.4),0 22px 44px -26px rgba(0,0,0,.7)}
[data-theme=dark] body{background:#15101A;color:var(--ink)}
[data-theme=dark] main,[data-theme=dark] .block,[data-theme=dark] section.block{background:transparent}
[data-theme=dark] .concept-bar{background:#D8F35F;color:#1A1730}
[data-theme=dark] header.top{background:rgba(21,16,26,.92);border-bottom-color:var(--line)}
[data-theme=dark] .nav{background:#1E1724;border-color:var(--line)}
[data-theme=dark] .nav a{color:var(--ink2)}[data-theme=dark] .nav a.on{background:#F2EEF7;color:#1A1730}
[data-theme=dark] .hbtn,[data-theme=dark] .theme-btn{background:#1E1724;border-color:var(--line);color:var(--ink)}
[data-theme=dark] .btn-navy{background:#F2EEF7;color:#1A1730;border-color:#F2EEF7}
[data-theme=dark] .btn-line,[data-theme=dark] .btn-ghost{background:transparent;color:var(--ink);border-color:#4a3d52}
[data-theme=dark] .btn-gold{color:#1A1730}
[data-theme=dark] .phero{background:linear-gradient(180deg,#1E1724,#15101A);color:var(--ink)}
[data-theme=dark] .phero h1,[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4{color:var(--ink)}
[data-theme=dark] .phero p,[data-theme=dark] .lead-p,[data-theme=dark] p.sub,[data-theme=dark] .sub{color:var(--muted)}
[data-theme=dark] .card,[data-theme=dark] .lcard,[data-theme=dark] .pcard,[data-theme=dark] .post2,[data-theme=dark] .fcard2,[data-theme=dark] .vac,[data-theme=dark] .side-card,[data-theme=dark] .note,[data-theme=dark] .level,[data-theme=dark] .pillar,[data-theme=dark] .course,[data-theme=dark] .kcard,[data-theme=dark] .paper,[data-theme=dark] .pcard2,[data-theme=dark] .ccard,[data-theme=dark] .authcard,[data-theme=dark] .sheet-card,[data-theme=dark] .fcard,[data-theme=dark] .vcount,[data-theme=dark] .resbtn,[data-theme=dark] .guide-strip,[data-theme=dark] .composer3,[data-theme=dark] .firm,[data-theme=dark] .screen,[data-theme=dark] .story-card,[data-theme=dark] .req-banner,[data-theme=dark] .chat,[data-theme=dark] .dd,[data-theme=dark] .mnav{background:var(--card);color:var(--ink);border-color:#3b2f43;box-shadow:none}
[data-theme=dark] .level:hover,[data-theme=dark] .pillar:hover,[data-theme=dark] .resbtn:hover,[data-theme=dark] .kcard:hover,[data-theme=dark] .note:hover,[data-theme=dark] .ccard:hover{box-shadow:0 14px 30px -18px #000;border-color:#5b4a66}
[data-theme=dark] .plan,[data-theme=dark] .fcard,[data-theme=dark] .fcard2,[data-theme=dark] .live .lcard,[data-theme=dark] .lchart,[data-theme=dark] .lead-search,[data-theme=dark] .resbtn{border-color:#3b2f43;box-shadow:none}
[data-theme=dark] .live .lcard,[data-theme=dark] .lchart{background:#1E1724;color:var(--ink)}
[data-theme=dark] .live .lcard span,[data-theme=dark] .live .lcard small,[data-theme=dark] .lchart>span{color:var(--muted)}
[data-theme=dark] .live .lcard.wa{background:#2B3112}[data-theme=dark] .live .lcard.wa span,[data-theme=dark] .live .lcard.wa small{color:#cfe27a}
[data-theme=dark] .vchart rect{fill:#4b4270}[data-theme=dark] .vchart rect.cur{fill:#8f80ff}[data-theme=dark] .vchart text{fill:#A79FB8}
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#1E1724;color:var(--ink);border-color:#3b2f43}
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#7d7390}
[data-theme=dark] .lead-search input{background:transparent}
[data-theme=dark] .muted,[data-theme=dark] small,[data-theme=dark] .sm.muted{color:var(--muted)}
[data-theme=dark] a.lnk,[data-theme=dark] .lnk{color:#B9AEFF}
[data-theme=dark] .eyebrow{color:#1A1730}
[data-theme=dark] .pill-line{background:transparent;color:var(--ink2);border-color:#4a3d52}
[data-theme=dark] .pill-navy{background:#F2EEF7;color:#1A1730}
[data-theme=dark] .chip{background:#1E1724;color:var(--ink2);border-color:#3b2f43}[data-theme=dark] .chip.on{background:#F2EEF7;color:#1A1730}
[data-theme=dark] .ftab,[data-theme=dark] .ltab{background:#1E1724;color:var(--ink2);border-color:#3b2f43}[data-theme=dark] .ftab.on,[data-theme=dark] .ltab.on{background:#F2EEF7;color:#1A1730}
[data-theme=dark] .ftabs.light .ftab{background:#1E1724;color:var(--ink2)}
[data-theme=dark] .empty,[data-theme=dark] .tip-line,[data-theme=dark] .stopwatch,[data-theme=dark] .dm-attach,[data-theme=dark] .notice{background:#1E1724;border-color:#3b2f43;color:var(--ink2)}
[data-theme=dark] .notice.warn,[data-theme=dark] .held-note,[data-theme=dark] .s-hold{background:#3a3016;border-color:#8a7020;color:#f3dd8a}
[data-theme=dark] .flash{background:#2B3112;color:#e7f5a6;border-color:#55641d}
[data-theme=dark] .pbar{background:#2A2132}
[data-theme=dark] .wc .bar{background:#4b4270}[data-theme=dark] .bc i{background:#8f80ff}
[data-theme=dark] .bubble,[data-theme=dark] .bub.them{background:#2A2132;color:var(--ink)}[data-theme=dark] .bub.me{background:#F2EEF7;color:#1A1730}
[data-theme=dark] .chat-body{background:#15101A}
[data-theme=dark] .c-btn.icon,[data-theme=dark] .circle-btn.on{background:#1E1724;color:var(--ink);border-color:#4a3d52}
[data-theme=dark] .circle-btn{border-color:#D8F35F}[data-theme=dark] .circle-btn.on{border-color:#4a3d52}
[data-theme=dark] .circle-btn:not(.on):not(.req){background:#D8F35F;color:#1A1730}
[data-theme=dark] .act:hover{background:#2A2132}
[data-theme=dark] .rowline,[data-theme=dark] .arow,[data-theme=dark] .person,[data-theme=dark] .notif,[data-theme=dark] ul.chk li,[data-theme=dark] .tbl th,[data-theme=dark] .tbl td{border-color:#33293A}
[data-theme=dark] .tier.gold{background:#3a3016;color:#f3dd8a;border-color:#8a7020}[data-theme=dark] .tier.silver{background:#2b2f38;color:#cfd5e3;border-color:#5b6475}[data-theme=dark] .tier.bronze{background:#3a2616;color:#f0c29a;border-color:#8a5a2c}
[data-theme=dark] .badge-c{background:#3a3016;color:#f3dd8a;border-color:#8a7020}
[data-theme=dark] .fphoto{background:#1B1520!important}
[data-theme=dark] .toast3{background:#F2EEF7;color:#1A1730}[data-theme=dark] .toast3 .dot{background:#6D5BF0}
[data-theme=dark] .soon-item{background:#1E1724;border-color:#3b2f43}
[data-theme=dark] .sheet-bg{background:rgba(0,0,0,.7)}
[data-theme=dark] footer,[data-theme=dark] .foot{background:#110C15;color:var(--ink2);border-color:var(--line)}
[data-theme=dark] hr{border-color:var(--line)}
[data-theme=dark] code{background:#2A2132;color:#e9e3f3}
[data-theme=dark] img.dmimg,[data-theme=dark] .pimg img{filter:none}
[data-theme=dark] .plan-list li:before{color:#1A1730}
[data-theme=dark] .hero{background:linear-gradient(180deg,#1b1424,#15101A)}
[data-theme=dark] .hero h1,[data-theme=dark] .hero .tag{color:var(--ink)}
[data-theme=dark] .badge-row{background:#1E1724;border-color:#4a3d52;color:var(--ink);box-shadow:3px 3px 0 #000}
[data-theme=dark] .band{background:#1a1420}
[data-theme=dark] .portal{background:#110C15}
/* logo stays exactly as designed in dark mode */
[data-theme=dark] .brand,[data-theme=dark] .brand *{filter:none}

[data-theme=dark] .btn-gold{background:#D8F35F!important;border-color:#D8F35F!important;color:#1A1730!important;box-shadow:0 10px 24px -14px rgba(216,243,95,.5)}
[data-theme=dark] .btn-navy{background:#F2EEF7!important;border-color:#F2EEF7!important;color:#1A1730!important;box-shadow:none}
[data-theme=dark] .top .btn-gold{background:#B8475F!important;border-color:#B8475F!important;color:#fff!important}
[data-theme=dark] .btn-ghost{color:var(--ink)!important;border-color:#4a3d52!important}
[data-theme=dark] .btn-line{color:var(--ink)!important}

[data-theme=dark] .pillar .go,[data-theme=dark] .go{background:#2A2132!important;color:var(--ink)!important}[data-theme=dark] .level .arr{background:#2A2132;color:var(--ink)}

[data-theme=dark] .eyebrow,[data-theme=dark] .eyebrow.light{color:#1A1730!important}[data-theme=dark] .tag-soon,[data-theme=dark] .soon-tag{color:#1A1730}

[data-theme=dark] .cta{background:radial-gradient(60% 90% at 10% 0,rgba(109,91,240,.25),transparent 70%),radial-gradient(60% 90% at 90% 100%,rgba(216,243,95,.12),transparent 70%),#1B1520!important;border-color:#3b2f43!important;box-shadow:none!important;color:var(--ink)!important}
[data-theme=dark] .pcounts a{background:#2A2132;border-color:#3b2f43}[data-theme=dark] .pcounts b{color:#8EE0CC}[data-theme=dark] .pcounts span{color:var(--muted)}
.founder-sec .wrap>div:last-child{display:flex;justify-content:center}
.sy-tip{display:none}

[data-theme=dark] .ltab.on,[data-theme=dark] .ftab.on,[data-theme=dark] .chip.on,[data-theme=dark] .nav a.on{color:#1A1730!important}
.practice .eyebrow,.notes-first .eyebrow{margin-bottom:8px}
@media(max-width:700px){#sy #sy-btn:after{display:none}}

[data-theme=dark] .lead-top{background:linear-gradient(180deg,#221a2b,#15101A)!important}
[data-theme=dark] .welcome-lead{background:#241a2d!important;border-color:#3b2f43!important;color:var(--ink2)}

[data-theme=dark] .c-kind span,[data-theme=dark] .c-btn{color:var(--ink2)}
[data-theme=dark] .danger,[data-theme=dark] .linkbtn.danger{color:#FF9A9A!important}
[data-theme=dark] em.lvl,[data-theme=dark] .lvl{filter:brightness(1.7) saturate(1.1)}

html[data-theme=dark] body .btn-gold,html[data-theme=dark] body[data-sec] .btn-gold{background:#D8F35F!important;border-color:#D8F35F!important;color:#1A1730!important;box-shadow:none!important}
html[data-theme=dark] body .btn-navy,html[data-theme=dark] body[data-sec] .btn-navy{background:#F2EEF7!important;border-color:#F2EEF7!important;color:#1A1730!important;box-shadow:none!important}
html[data-theme=dark] body .top .btn-gold{background:#B8475F!important;border-color:#B8475F!important;color:#fff!important}
html[data-theme=dark] .card.tip,html[data-theme=dark] .tip{background:#1E1B2C!important;border-color:#3b3a55!important}
html[data-theme=dark] .chip.on{background:#F2EEF7!important;color:#1A1730!important}
html[data-theme=dark] .muted,html[data-theme=dark] p.muted,html[data-theme=dark] .sm.muted{color:#B3ABC4!important}

.paper .pn,.pn{display:block;font-weight:800;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)!important;margin-bottom:4px}

.wrap.pad .lnk:not(.light),.narrow .lnk:not(.light),.card .lnk:not(.light){color:#4B3FC4;font-weight:700}
[data-theme=dark] .wrap.pad .lnk:not(.light),[data-theme=dark] .narrow .lnk:not(.light),[data-theme=dark] .card .lnk:not(.light){color:#B9AEFF}

[data-theme=dark] .pill-gold{background:#3a3016!important;color:#f3dd8a!important;border-color:#8a7020}
[data-theme=dark] .pill-green{background:#173a24!important;color:#9be5b4!important}
[data-theme=dark] .pill-red{background:#3b1a1a!important;color:#ffaaaa!important}
[data-theme=dark] em.lvl,[data-theme=dark] .lvl{filter:none;background:#26304a!important;color:#cfe0ff!important}
[data-theme=dark] em.lvl.i{background:#2a2750!important;color:#d9d4ff!important}[data-theme=dark] em.lvl.fi{background:#3a2148!important;color:#f0d0ff!important}[data-theme=dark] em.lvl.q{background:#173a24!important;color:#b6efca!important}
.c-note{color:var(--muted)}

.l-right .person .circle-f{flex-basis:100%;padding-left:50px}

body:has(.exam) #sy{display:none}

input,select,textarea{box-sizing:border-box;max-width:100%}.form label{min-width:0}

/* QA contrast fixes (v3) */
.eyebrow{color:#1d5fae}
[data-theme=dark] .eyebrow{color:#a9c8ff}
[data-theme=dark] .ftab.on,[data-theme=dark] .ftab.on *{color:#fff!important}
[data-theme=dark] .alt.sm,[data-theme=dark] p.alt.sm{color:#c9bfd9}
[data-theme=dark] .alt.sm a{color:#e6d9ff}
.tr-goal em,.tracker em{color:#8a5410}
[data-theme=dark] .tracker em{color:#f1c27a}
.cover-edit{background:rgba(20,10,20,.72)!important;color:#fff!important}

.adm table,.card table{display:block;max-width:100%;overflow-x:auto}
.adm .arow,.abtns{flex-wrap:wrap}

@media (max-width:599px){#sy #sy-box{width:auto!important;left:10px!important;right:10px!important;max-width:none!important}}

/* v3.1 dark fixes: pillar hover, error/notice contrast */
[data-theme=dark] .pillar.hov:hover,[data-theme=dark] .pillar.hov:hover h3{background:#1E1724!important}
[data-theme=dark] .pillar.hov:hover h3{background:transparent!important;color:var(--ink)!important}
[data-theme=dark] .pillar.hov:hover p,[data-theme=dark] .pillar.hov:hover .kicker{color:var(--ink)!important}
[data-theme=dark] .err{background:#3a1218!important;color:#ffb9b9!important;border:1px solid #7a2a33!important}
[data-theme=dark] .notice.warn{background:#3a3010!important;color:#f6e7a6!important;border-color:#6d5a1a!important}
[data-theme=dark] .notice.ok{background:#12301f!important;color:#b8f0cc!important}

/* v3.2 dark hover fixes */
[data-theme=dark] .level:hover,[data-theme=dark] .kcard:hover,[data-theme=dark] .note:hover,[data-theme=dark] .ccard:hover,[data-theme=dark] .resbtn:hover,[data-theme=dark] .course:hover,[data-theme=dark] .person:hover,[data-theme=dark] .conv:hover{background:#2A2132!important;color:var(--ink)!important}
[data-theme=dark] .level:hover b,[data-theme=dark] .level:hover span,[data-theme=dark] .level:hover small,[data-theme=dark] .kcard:hover *,[data-theme=dark] .ccard:hover *,[data-theme=dark] .resbtn:hover *{color:var(--ink)!important}
[data-theme=dark] .level:hover .lv{background:#3a2d45!important;color:#fff!important}
[data-theme=dark] .level,[data-theme=dark] .level:hover,[data-theme=dark] .lcard,[data-theme=dark] .pillar,[data-theme=dark] .pillar:hover{box-shadow:4px 4px 0 #3b2f43!important}

/* v3.3 dark: Learn pillar icon + go button */
[data-theme=dark] .pillar .ico{background:#2A2132!important;border-color:#5b4a66!important}
[data-theme=dark] .pillar:first-child .ico,[data-theme=dark] .pillar:first-child .ico svg{color:#6aa6ff!important;stroke:#6aa6ff}
[data-theme=dark] .pillar .go{background:#3a2d45!important;color:#fff!important}

/* v3.4 dark: button shadow + text selection */
[data-theme=dark] .btn.btn-ghost,[data-theme=dark] .btn.btn-line,[data-theme=dark] .btn.btn-line.btn-sm,[data-theme=dark] .btn.btn-line.wide,[data-theme=dark] button.btn-line{box-shadow:3px 3px 0 #3b2f43!important}
[data-theme=dark] ::selection{background:#5b8def;color:#ffffff;text-shadow:none}
[data-theme=dark] ::-moz-selection{background:#5b8def;color:#ffffff}
::selection{background:#c6f432;color:#1A1730}

/* v3.5 hover icon fix (Join us everywhere) */
.btn:hover .wa-dot,.btn-line:hover .wa-dot{background:#239B83!important}
.btn:hover .wa-dot svg,.btn-line:hover .wa-dot svg,.btn:hover .wa-dot .i{color:#fff!important;stroke:#fff!important}

/* v3.6 smaller Go-to-Learn button on Coming soon pages */
.soon-card .btn{padding:9px 18px!important;font-size:14px!important;min-height:0!important;height:auto!important;margin-top:12px;border-radius:999px;box-shadow:3px 3px 0 #1A1730}
.soon-card .btn svg,.soon-card .btn .i{width:15px;height:15px}
[data-theme=dark] .soon-card .btn{box-shadow:3px 3px 0 #3b2f43!important}

/* v3.7 (R55-R56): dark card hover everywhere, practice card spacing, smaller icons */
[data-theme=dark] .hov:hover,[data-theme=dark] .pcard:hover,[data-theme=dark] .lcard:hover,[data-theme=dark] .spom-card:hover,[data-theme=dark] .paper-t:hover,[data-theme=dark] .course:hover,[data-theme=dark] .vac:hover,[data-theme=dark] .fcard2:hover{background:#2A2132!important;color:var(--ink)!important;border-color:#5b4a66!important}
[data-theme=dark] .hov:hover b,[data-theme=dark] .hov:hover h3,[data-theme=dark] .hov:hover h4,[data-theme=dark] .hov:hover p,[data-theme=dark] .hov:hover small,[data-theme=dark] .hov:hover .m,[data-theme=dark] .hov:hover .muted,[data-theme=dark] .pcard:hover b,[data-theme=dark] .pcard:hover .m,[data-theme=dark] .lcard:hover b,[data-theme=dark] .lcard:hover p,[data-theme=dark] .lcard:hover span:not(.btn):not(.lv):not(.ico),[data-theme=dark] .spom-card:hover b,[data-theme=dark] .spom-card:hover p{color:var(--ink)!important}
[data-theme=dark] .hov:hover .pn,[data-theme=dark] .pcard:hover .pn,[data-theme=dark] .hov:hover .go,[data-theme=dark] .pcard:hover .go,[data-theme=dark] .lcard:hover .go{color:#F2D488!important}
[data-theme=dark] .pcard,[data-theme=dark] .pcard:hover,[data-theme=dark] .spom-card,[data-theme=dark] .spom-card:hover{box-shadow:4px 4px 0 #3b2f43!important}
.btn .i,.btn svg.i{width:16px!important;height:16px!important;flex:0 0 auto}
.card.practice,.practice{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.practice form{margin:0}.practice .btn{margin:0;padding:10px 20px;font-size:14px;line-height:1.2;position:static}
.practice p{margin:6px 0 0;line-height:1.5}

/* v3.8 (R58): founder bio read more */
.ftext.open p,.ftext.open p+p{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;margin:8px 0 0}
.rm-btn{display:block;background:none;border:0;padding:0;margin:6px 0 10px;font:inherit;font-weight:800;font-size:13.5px;color:var(--navy2);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
[data-theme=dark] .rm-btn{color:#F2D488}
@media(max-width:760px){.rm-btn{margin-left:auto;margin-right:auto}}

/* v3.9 (R60): CA Saarthi chat in dark mode */
[data-theme=dark] #sy #sy-m{background:#1E1724!important}
[data-theme=dark] #sy #sy-m .a{background:#2A2132!important;color:var(--ink)!important;border:1px solid #3b2f43!important;box-shadow:none}
[data-theme=dark] #sy #sy-m .a b,[data-theme=dark] #sy #sy-m .a li,[data-theme=dark] #sy #sy-m .a p{color:var(--ink)!important}
[data-theme=dark] #sy #sy-m .a.err{background:#3a2a1a!important;border-color:#6b4a22!important}
[data-theme=dark] #sy #sy-m .u{background:#8a2a3d!important;color:#fff!important;box-shadow:3px 3px 0 #3b2f43!important}
[data-theme=dark] #sy #sy-h:after{background:rgba(255,255,255,.05)!important}
[data-theme=dark] #sy #sy-h small{background:#143229!important;color:#6fe3c0!important}
[data-theme=dark] #sy #sy-h .av{background:#2A2132!important;border-color:#5b4a66!important}
[data-theme=dark] #sy #sy-box{border-color:#5b4a66!important;box-shadow:8px 8px 0 #3b2f43!important;background:#1E1724!important}
[data-theme=dark] #sy #sy-send{background:#F2D488!important;color:#2A1404!important;border:0}
[data-theme=dark] #sy #sy-m .chips button{background:#2A2132!important;color:var(--ink)!important;border:1.5px solid #5b4a66!important;box-shadow:2px 2px 0 #3b2f43!important}
[data-theme=dark] #sy #sy-m .chips button:nth-child(odd){background:#3a2d45!important}
[data-theme=dark] #sy #sy-m .chips button:hover{background:#4a3a58!important}
[data-theme=dark] #sy #sy-f,[data-theme=dark] #sy #sy-i{background:#1E1724!important;border-color:#3b2f43!important}
[data-theme=dark] #sy #sy-q{background:#2A2132!important;color:var(--ink)!important;border-color:#5b4a66!important}

/* v3.10 (R61): dark mode nav hover box visible */
[data-theme=dark] .nav a:hover{background:#3a2d45!important;color:#fff!important;box-shadow:inset 0 0 0 1px #5b4a66!important;opacity:1!important}
[data-theme=dark] .nav a.on:hover{background:#F2EEF7!important;color:#1A1730!important}

/* v3.11 (R62): CA Saarthi robot icon in dark mode: keep the dark head so face/eyes show */
[data-theme=dark] #sy .rb-head,[data-theme=dark] #sy .rb-ear,[data-theme=dark] #sy-btn .rb-head,[data-theme=dark] #sy-btn .rb-ear{fill:#1A1730!important}
[data-theme=dark] #sy .rb-face{fill:#fff!important}
[data-theme=dark] #sy .rb-eye{fill:#7CF5D6!important}
[data-theme=dark] #sy .rb-ant{stroke:#1A1730!important}
[data-theme=dark] #sy #sy-btn{border-color:#F2D488!important;box-shadow:4px 4px 0 #3b2f43!important}
[data-theme=dark] #sy #sy-btn:after{background:#D8F35F!important;color:#1A1730!important;border-color:#1A1730!important;z-index:2}

/* v3.12 (R63): lighter, smaller icons inside cards/boxes everywhere (light + dark) */
.pcard .go .i,.lcard .go .i,.resbtn .i,.spom-card .i,.card.practice .i,.soon-card .i,.pcard>.i,.lcard>.i{width:13px!important;height:13px!important;stroke-width:1.8}
.pcard .go{right:16px;top:16px}
.lcard .lv,.lcard .ico{width:46px!important;height:46px!important;border-radius:14px!important}
.lcard .lv svg,.lcard .ico svg,.lcard .lv .i,.lcard .ico .i{width:20px!important;height:20px!important}
.level .lv{width:42px!important;height:42px!important;border-radius:13px!important;font-size:.9em}
.level .lv .i,.level .lv svg,.level>.i,.level svg.i{width:16px!important;height:16px!important}
.pillar .ico{width:50px!important;height:50px!important;border-radius:16px!important}
.pillar .ico .i,.pillar .ico svg{width:24px!important;height:24px!important}
.pillar .go .i,.pillar svg.i:not(.ico svg){width:14px!important;height:14px!important}
.note svg.i,.kcard svg.i,.ccard svg.i,.course svg.i,.vac svg.i,.fcard2 svg.i,.side-card svg.i,.card svg.i:not(.btn svg){width:15px!important;height:15px!important}
.btn svg.i,.btn .i{width:15px!important;height:15px!important}

/* v3.13 (R64): shorter highlight bars (no overlap with next line) + gentle lift on hover for every box */
.w-learn{background:linear-gradient(transparent 74%,rgba(40,120,208,.38) 74%,rgba(40,120,208,.38) 94%,transparent 94%)!important}
.w-lead{background:linear-gradient(transparent 74%,rgba(128,85,199,.38) 74%,rgba(128,85,199,.38) 94%,transparent 94%)!important}
.w-lvl{background:linear-gradient(transparent 74%,rgba(233,154,53,.5) 74%,rgba(233,154,53,.5) 94%,transparent 94%)!important}
.hero h1 em span{padding:0 .1em!important;border-radius:.12em!important}
.hero h1 em{margin-bottom:.35em!important}
.portal h2 em{background:linear-gradient(transparent 74%,rgba(35,155,131,.42) 74%,rgba(35,155,131,.42) 94%,transparent 94%)!important}
.phero h1 em,.portal-hero h1 em{background:linear-gradient(transparent 74%,var(--acc-bg) 74%,var(--acc-bg) 94%,transparent 94%)!important;box-shadow:none!important}
.mylevel{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:14px}
.mylevel>*{margin:0}
.card,.lcard,.pcard,.level,.pillar,.kcard,.ccard,.note,.course,.vac,.fcard2,.side-card,.post2,.soon-item,.stat,.spom-card,.resbtn,.person,.fcard,.firm,.badge-c,.paper-t,.mini-row,.concept-bar,.btn,.chip,.ltab,.ftab{transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,background .25s,color .25s,border-color .25s}
.card:hover,.lcard:hover,.pcard:hover,.level:hover,.pillar:hover,.kcard:hover,.ccard:hover,.note:hover,.course:hover,.vac:hover,.fcard2:hover,.side-card:hover,.post2:hover,.soon-item:hover,.stat:hover,.spom-card:hover,.resbtn:hover,.person:hover,.fcard:hover,.firm:hover,.badge-c:hover,.paper-t:hover{transform:translateY(-4px)}
.btn:hover,.chip:hover,.ltab:hover,.ftab:hover{transform:translateY(-2px)}
.authcard:hover,.ex-q:hover,.ex-top:hover,.ex-pal:hover,.card.practice:hover,.composer:hover,.form:hover,.chat-body:hover,.card.tip:hover{transform:none}
@media(prefers-reduced-motion:reduce){.card:hover,.lcard:hover,.pcard:hover,.level:hover,.pillar:hover,.btn:hover{transform:none}}

/* v3.14 (R65): dark mode dropdown (profile menu / bell) hover readable */
[data-theme=dark] .dd a:hover,[data-theme=dark] .dd .linkbtn:hover,[data-theme=dark] .dd button:hover,[data-theme=dark] .dd li:hover,[data-theme=dark] .dd .row:hover{background:#3a2d45!important;color:#fff!important}
[data-theme=dark] .dd a:hover *,[data-theme=dark] .dd .linkbtn:hover *{color:#fff!important}
[data-theme=dark] .dd a,[data-theme=dark] .dd .linkbtn{color:var(--ink)}
[data-theme=dark] .mnav a:hover,[data-theme=dark] .notif a:hover,[data-theme=dark] .bell-dd a:hover{background:#3a2d45!important;color:#fff!important}

/* v3.15 (R67): dark mode active tab pill (Admin Dashboard etc.) text readable: dark text on light pill */
html[data-theme=dark] body .ftab.on,html[data-theme=dark] body .ftab.on *,html[data-theme=dark] body .ftabs.light .ftab.on{color:#1A1730!important}

/* v3.16: admin tab bar wraps onto several lines so Settings is always visible */
.phero.adm .ftabs.scroll{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important;gap:8px}
.phero.adm .ftabs.scroll .ftab{flex:0 0 auto}
