/* Wordpandit RC Revision — scoped under .rcr so it sits cleanly inside GeneratePress */
.rcr{
  --serif:Charter,"Iowan Old Style","Palatino Linotype",Georgia,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --r:12px;--r2:18px;
  font-family:var(--sans);font-size:16px;line-height:1.55;color:var(--ink);background:var(--bg);
  max-width:1120px;margin:0 auto;padding:20px 20px 0;border-radius:var(--r2);
  -webkit-text-size-adjust:100%;box-sizing:border-box;text-align:left;
}
.rcr *,.rcr *::before,.rcr *::after{box-sizing:border-box}
.rcr [hidden]{display:none!important}
.rcr h1,.rcr h2,.rcr h3,.rcr p,.rcr ul,.rcr table{margin:0;padding:0}
.rcr h1,.rcr h2{font-family:var(--serif);font-weight:600;letter-spacing:-.005em;line-height:1.2;color:var(--ink);text-wrap:balance}
.rcr h1{font-size:clamp(1.55rem,1rem + 2.2vw,2.15rem)}
.rcr h2{font-size:1.2rem}
.rcr button,.rcr select,.rcr input{font:inherit;color:inherit}
.rcr button{cursor:pointer}
.rcr [tabindex="-1"]:focus{outline:none}
.rcr [data-af]{scroll-margin-bottom:96px}
.rcr .tab .short{display:none}
.rcr :focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
.rcr .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rcr .muted{color:var(--muted)}
.rcr .small{font-size:.875rem}
.rcr .grow{flex:1 1 220px;min-width:0}
.rcr .ic{display:inline-flex;flex:none}
.rcr .rcr-boot{padding:48px 16px;text-align:center;color:var(--muted)}
.rcr .rcr-err{color:var(--bad)}

/* app bar */
.rcr .notice{background:var(--warnsoft);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:8px 12px;font-size:.85rem;margin-bottom:14px}
.rcr .bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px}
.rcr .brand{display:flex;align-items:center;gap:12px;min-width:0}
.rcr .mark{flex:none;width:42px;height:42px;border-radius:12px;background:var(--accent);color:var(--accentink);display:grid;place-items:center;font-family:var(--serif);font-weight:700;font-size:1.05rem;letter-spacing:.02em}
.rcr .brand-t{font-family:var(--serif);font-weight:600;font-size:1.15rem;line-height:1.15}
.rcr .brand-s{font-size:.8rem;color:var(--muted);line-height:1.3}
.rcr .bar-r{display:flex;align-items:center;gap:8px;flex:none}
.rcr .chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:.85rem}
.rcr .chip.streak{font-variant-numeric:tabular-nums}
.rcr .chip.streak .ic{color:var(--warn)}
.rcr .chip.t{background:var(--accentsoft);border-color:transparent;color:var(--ink);padding:3px 10px}
.rcr .iconbtn{width:40px;height:40px;border-radius:999px;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center}
.rcr .iconbtn:hover{border-color:var(--accent)}
.rcr .popwrap{position:relative}
.rcr .pop{position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:min(300px,86vw);background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px;box-shadow:0 10px 30px rgba(0,0,0,.16);display:grid;gap:8px}
.rcr .pop-h{font-size:.8rem;font-weight:600;color:var(--muted);letter-spacing:.02em;margin-top:2px}
.rcr .seg{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}
.rcr .seg button{border:0;background:transparent;padding:8px 14px;font-size:.9rem;min-height:40px;border-right:1px solid var(--line)}
.rcr .seg button:last-child{border-right:0}
.rcr .seg button.on{background:var(--accent);color:var(--accentink);font-weight:600}
.rcr .seg button:not(.on):hover{background:var(--surface2)}

/* tabs */
.rcr .tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;margin-bottom:22px}
.rcr .tabs::-webkit-scrollbar{display:none}
.rcr .tab{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border:0;background:transparent;color:var(--muted);font-weight:500;white-space:nowrap;border-bottom:3px solid transparent;margin-bottom:-1px}
.rcr .tab:hover{color:var(--ink)}
.rcr .tab.on{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}
.rcr .main{outline:none;padding-bottom:36px;min-height:60vh}

/* controls */
.rcr .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);font-weight:600;transition:background .15s,border-color .15s}
.rcr .btn:hover{border-color:var(--accent)}
.rcr .btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accentink)}
.rcr .btn.primary:hover{filter:brightness(1.07)}
.rcr .btn.ghost{background:transparent}
.rcr .btn.again{border-color:var(--bad);color:var(--bad)}
.rcr .btn.again:hover{background:var(--badsoft)}
.rcr .btn.danger{background:var(--bad);border-color:var(--bad);color:var(--bg)}
.rcr .btn.sm{min-height:38px;padding:6px 14px;font-size:.9rem}
.rcr kbd{font:inherit;font-size:.72rem;padding:1px 6px;border-radius:5px;border:1px solid currentColor;opacity:.7;margin-left:4px}
.rcr .row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.rcr .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px}
.rcr .scope{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rcr .scope label{font-size:.85rem;color:var(--muted);font-weight:600}
.rcr select,.rcr input[type=search]{min-height:44px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);padding:8px 12px;max-width:100%}
.rcr input[type=search]{width:100%}
.rcr .check{display:inline-flex;align-items:center;gap:8px;font-size:.9rem}
.rcr .check input{width:18px;height:18px;accent-color:var(--accent)}

/* generic */
.rcr .panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r2);padding:22px}
.rcr .ph{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin-bottom:14px}
.rcr .lede{font-size:1.05rem;max-width:62ch;margin-top:8px;color:var(--ink)}
.rcr .kicker{font-size:.85rem;font-weight:600;color:var(--accent);margin-bottom:6px}
.rcr .chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.rcr .empty{padding:32px 20px;text-align:center;border:1.5px dashed var(--line);border-radius:var(--r2);color:var(--muted);display:grid;gap:14px;justify-items:center}
.rcr .pill{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.78rem;font-weight:600;background:var(--surface2);color:var(--muted);white-space:nowrap}
.rcr .pill.s1,.rcr .pill.s2{background:var(--warnsoft);color:var(--warn)}
.rcr .pill.s3{background:var(--accentsoft);color:var(--accent)}
.rcr .pill.s4,.rcr .pill.s5{background:var(--goodsoft);color:var(--good)}
.rcr .remember{background:var(--accentsoft);border-radius:10px;padding:10px 14px;margin-top:12px}
.rcr .ex,.rcr .def{margin-top:12px}
.rcr .remember b,.rcr .ex b,.rcr .thk b{color:var(--accent)}
.rcr .thk{margin-top:12px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.rcr .prog{height:8px;border-radius:99px;background:var(--surface2);overflow:hidden}
.rcr .prog i{display:block;height:100%;background:var(--accent);border-radius:99px;transition:width .25s}
.rcr .count{margin:8px 0 16px}

/* home */
.rcr .hello{color:var(--muted);margin-bottom:12px}
.rcr .cols{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:18px;margin-bottom:18px}
.rcr .hero{background:var(--accentsoft);border-radius:var(--r2);padding:26px}
.rcr .hero h1{max-width:30ch}
.rcr .queue h2{margin-bottom:12px}
.rcr .qstats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.rcr .qstats div{display:grid;gap:0}
.rcr .qstats b{font-family:var(--serif);font-size:1.9rem;line-height:1.1;font-variant-numeric:tabular-nums}
.rcr .qstats span{font-size:.8rem;color:var(--muted)}
.rcr .queue .btn{margin-top:14px;width:100%}
.rcr .grid30{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}
.rcr .dcell{position:relative;display:grid;gap:2px;align-content:start;text-align:left;min-height:84px;padding:10px 12px 14px;border-radius:var(--r);border:1.5px solid var(--line);background:var(--surface)}
.rcr button.dcell:hover{border-color:var(--accent)}
.rcr .dcell.now{border-color:var(--accent);background:var(--accentsoft)}
.rcr .dcell .dn{font-family:var(--serif);font-weight:700;font-size:1.25rem;font-variant-numeric:tabular-nums;line-height:1.1}
.rcr .dcell .ds{font-size:.76rem;color:var(--muted);line-height:1.25;overflow-wrap:anywhere}
.rcr .dcell.locked{background:transparent;border-style:dashed;color:var(--muted)}
.rcr .dcell.locked .ic{position:absolute;right:10px;top:10px;opacity:.7}
.rcr .dcell .ic svg{width:16px;height:16px}
.rcr .meter{position:absolute;left:12px;right:12px;bottom:8px;height:4px;border-radius:9px;background:var(--surface2);overflow:hidden}
.rcr .meter i{display:block;height:100%;background:var(--good)}

/* learn */
.rcr .dayhead{margin-bottom:18px;display:grid;gap:4px}
.rcr .group{margin-bottom:26px;display:grid;gap:12px}
.rcr .group>h2{font-size:1.05rem;color:var(--muted);font-family:var(--sans);font-weight:600}
.rcr .tlist{display:grid;gap:10px}
.rcr .tcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.rcr .thead{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"tn tn pill chev" "tt tt pill chev" "ts ts pill chev";align-items:center;column-gap:12px;width:100%;text-align:left;border:0;background:transparent;padding:14px 16px}
.rcr .thead:hover{background:var(--surface2)}
.rcr .tn{grid-area:tn;font-size:.78rem;color:var(--muted);font-weight:600}
.rcr .tt{grid-area:tt;font-family:var(--serif);font-weight:600;font-size:1.3rem;line-height:1.25}
.rcr .ts{grid-area:ts;color:var(--muted);font-size:.92rem}
.rcr .thead .pill{grid-area:pill}
.rcr .thead .chev{grid-area:chev;transition:transform .2s;color:var(--muted)}
.rcr .thead[aria-expanded=true] .chev{transform:rotate(180deg)}
.rcr .tbody{padding:0 16px 18px;border-top:1px solid var(--line)}
.rcr .tbody>*{max-width:74ch}
.rcr .contrasts{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:12px}
.rcr .contrast{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;display:grid;gap:6px;align-content:start}
.rcr .vs{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;font-family:var(--serif)}
.rcr .vs span{font-family:var(--sans);font-size:.78rem;color:var(--muted)}

/* flashcards */
.rcr .fcard{background:var(--surface);border:1.5px solid var(--line);border-radius:var(--r2);padding:30px clamp(18px,4vw,40px);min-height:300px;max-width:760px;margin:0 auto;display:flex;flex-direction:column;justify-content:center;gap:6px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.05)}
.rcr .fcard.flipped{cursor:default;justify-content:flex-start;border-color:var(--accent)}
.rcr .fcard.turn{animation:rcrturn .26s ease-out}
@keyframes rcrturn{from{transform:perspective(900px) rotateX(-14deg);opacity:.4}to{transform:none;opacity:1}}
.rcr .ftag{font-size:.8rem;color:var(--muted);font-weight:600;margin-bottom:8px}
.rcr .fterm{font-family:var(--serif);font-weight:600;font-size:clamp(2rem,1.2rem + 3.6vw,3rem);line-height:1.1;text-wrap:balance}
.rcr .fterm.sm{font-size:clamp(1.5rem,1.1rem + 1.8vw,2rem)}
.rcr .fq{font-family:var(--serif);font-size:clamp(1.2rem,1rem + 1.1vw,1.55rem);line-height:1.4}
.rcr .fdef{font-size:1.12rem;margin-top:6px}
.rcr .fhint{margin-top:18px;color:var(--muted);font-size:.9rem}
.rcr .grade{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:20px}
.rcr .grade .btn{min-width:160px}
.rcr .keys{text-align:center;margin-top:14px}
.rcr .done{display:grid;gap:10px;justify-items:start;max-width:760px}
.rcr .done .row{margin-top:8px}
.rcr .score{display:flex;align-items:baseline;gap:10px;font-family:var(--serif)}
.rcr .score b{font-size:4rem;line-height:1;color:var(--accent)}
.rcr .score span{font-size:1.5rem;color:var(--muted)}
.rcr .score i{font-style:normal;font-family:var(--sans);font-weight:600;background:var(--accentsoft);padding:2px 12px;border-radius:99px;font-size:.95rem}

/* quiz */
.rcr .setup{max-width:640px;display:grid;gap:10px;justify-items:start}
.rcr .qcard{max-width:760px;margin:0 auto;display:grid;gap:18px}
.rcr .qtext{font-size:clamp(1.2rem,1rem + 1vw,1.6rem);line-height:1.35;outline:none}
.rcr .opts{display:grid;gap:10px}
.rcr .opt{display:flex;align-items:center;gap:14px;text-align:left;width:100%;min-height:56px;padding:12px 16px;border-radius:var(--r);border:1.5px solid var(--line);background:var(--surface);transition:border-color .15s,background .15s}
.rcr .opt:not(:disabled):hover{border-color:var(--accent);background:var(--accentsoft)}
.rcr .opt .ltr{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--surface2);font-weight:700;font-size:.85rem}
.rcr .opt .otx{flex:1;min-width:0}
.rcr .opt .mk{flex:none}
.rcr .opt:disabled{cursor:default;color:var(--ink)}
.rcr .opt.right{border-color:var(--good);background:var(--goodsoft)}
.rcr .opt.right .ltr{background:var(--good);color:var(--bg)}
.rcr .opt.wrong{border-color:var(--bad);background:var(--badsoft)}
.rcr .opt.wrong .ltr{background:var(--bad);color:var(--bg)}
.rcr .opt.dim{opacity:.6}
.rcr .fb{max-width:760px;margin:16px auto 0;padding:14px 18px;border-radius:var(--r);display:grid;gap:4px}
.rcr .fb.ok{background:var(--goodsoft);border:1px solid var(--good)}
.rcr .fb.no{background:var(--badsoft);border:1px solid var(--bad)}
.rcr .fb-h{font-weight:700}
.rcr .quiz .row,.rcr .myth .row{max-width:760px;margin-left:auto;margin-right:auto}
.rcr .quiz .count,.rcr .myth .count,.rcr .quiz .prog,.rcr .myth .prog{max-width:760px;margin-left:auto;margin-right:auto}
.rcr .review{margin-top:20px;display:grid;gap:12px;width:100%}
.rcr .rv{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;display:grid;gap:4px}
.rcr .rq{font-weight:600}
.rcr .good{color:var(--good);font-weight:600}
.rcr .bad{color:var(--bad);font-weight:600}
.rcr .tf{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rcr .tfb{justify-content:center;font-weight:700;font-size:1.1rem;min-height:64px}

/* match */
.rcr .mgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:860px;margin:0 auto}
.rcr .mcol{display:grid;gap:10px;align-content:start}
.rcr .mtile{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;min-height:68px;padding:12px 14px;border-radius:var(--r);border:1.5px solid var(--line);background:var(--surface);font-size:.95rem;line-height:1.35}
.rcr .mtile.l{font-family:var(--serif);font-size:1.1rem}
.rcr .mtile:not(:disabled):hover{border-color:var(--accent)}
.rcr .mtile.sel{border-color:var(--accent);background:var(--accentsoft);box-shadow:0 0 0 2px var(--accent) inset}
.rcr .mtile.done{background:var(--goodsoft);border-color:var(--good);color:var(--ink);opacity:.75}
.rcr .mtile.shake{border-color:var(--bad);background:var(--badsoft);animation:rcrshake .32s}
@keyframes rcrshake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.rcr .mtile .mk{color:var(--good)}

/* progress */
.rcr .progress{display:grid;gap:18px}
.rcr .tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.rcr .tile{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;display:grid}
.rcr .tile b{font-family:var(--serif);font-size:1.9rem;line-height:1.15;font-variant-numeric:tabular-nums}
.rcr .tile span{font-size:.82rem;color:var(--muted)}
.rcr .daybars{display:grid;gap:10px}
.rcr .dbar{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;gap:12px;align-items:center}
.rcr .dl{font-size:.9rem;font-weight:600}
.rcr .stack{display:flex;height:12px;border-radius:99px;background:var(--surface2);overflow:hidden}
.rcr .stack i{display:block;height:100%}
.rcr .stack .m,.rcr .k.m{background:var(--good)}
.rcr .stack .l,.rcr .k.l{background:var(--warn)}
.rcr .k.n{background:var(--surface2);border:1px solid var(--line)}
.rcr .legend{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:.82rem;color:var(--muted);margin-top:14px}
.rcr .k{display:inline-block;width:12px;height:12px;border-radius:4px;margin-right:-8px}
.rcr .tablewrap{overflow-x:auto}
.rcr table{width:100%;border-collapse:collapse;font-size:.94rem;font-variant-numeric:tabular-nums}
.rcr th,.rcr td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.rcr thead th{font-size:.78rem;color:var(--muted);font-weight:600}
.rcr tbody th{font-family:var(--serif);font-size:1.02rem}
.rcr .panel>.btn{margin-top:12px}
.rcr .panel>h2{margin-bottom:14px}
.rcr .hist{list-style:none;display:grid;gap:2px}
.rcr .hist li{display:grid;grid-template-columns:7.5rem minmax(0,1fr) auto 4.5rem;gap:10px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--line)}
.rcr .hist .hm{font-weight:600}
.rcr .reset{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* login / sign-up */
.rcr.rcr-auth{max-width:460px;margin:40px auto;padding:28px 20px;display:grid;gap:18px}
.rcr-auth .panel{display:grid;gap:14px}
.rcr-auth .seg{display:flex}
.rcr-auth .seg a{flex:1;text-align:center;text-decoration:none;color:var(--ink);padding:8px 14px;font-size:.95rem;min-height:40px;border-right:1px solid var(--line)}
.rcr-auth .seg a:last-child{border-right:0}
.rcr-auth .seg a.on{background:var(--accent);color:var(--accentink);font-weight:600}
.rcr-auth h1{font-size:1.6rem}
.rcr-auth form{display:grid;gap:14px;margin-top:4px}
.rcr-auth label{display:grid;gap:6px;font-size:.9rem;font-weight:600}
.rcr-auth label.check{display:flex;font-weight:400}
.rcr-auth input[type=text],.rcr-auth input[type=email],.rcr-auth input[type=password]{min-height:44px;width:100%;border-radius:10px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink);padding:8px 12px;font:inherit;font-weight:400}
.rcr-auth input:focus{border-color:var(--accent);outline:none}
.rcr-auth .btn{width:100%}
.rcr-auth .err{background:var(--badsoft);color:var(--bad);border:1px solid var(--bad);border-radius:10px;padding:10px 14px;font-size:.92rem}
.rcr-auth .switch{text-align:center;font-size:.9rem}
.rcr-auth a{color:var(--accent)}
.rcr-auth .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.rcr .pop .btn{width:100%;text-decoration:none;color:inherit}

/* responsive */
@media (max-width:860px){
  .rcr .cols{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:720px){
  .rcr{padding:14px 16px 0;border-radius:0}
  .rcr .brand-s{display:none}
  .rcr .tabs{position:sticky;bottom:0;order:9;z-index:15;margin:0 -16px;padding:0 4px;gap:0;justify-content:space-between;border-top:1px solid var(--line);border-bottom:0;background:var(--surface);overflow:visible}
  .rcr .tab{flex:1 1 0;flex-direction:column;gap:2px;padding:8px 2px 9px;font-size:.66rem;border-bottom:0;border-top:3px solid transparent;margin:0;min-width:0}
  .rcr .tab.on{border-top-color:var(--accent)}
  .rcr .tab .full{display:none}
  .rcr .tab .short{display:inline;font-size:.68rem}
  .rcr .main{order:5;padding-bottom:20px}
  .rcr{display:flex;flex-direction:column}
  .rcr .bar{order:1}
  .rcr .notice{order:2}
  .rcr .hero{padding:20px}
  .rcr .mgrid{gap:8px}
  .rcr .mtile{padding:10px;font-size:.88rem}
  .rcr .mtile.l{font-size:1rem}
  .rcr .grade .btn{flex:1 1 140px}
  .rcr .hist li{grid-template-columns:1fr auto;grid-template-areas:"a b" "c d"}
  .rcr .dbar{grid-template-columns:48px minmax(0,1fr) 44px;gap:8px}
  .rcr .thead{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"tn pill chev" "tt pill chev" "ts ts ts"}
  .rcr .thead .ts{margin-top:4px}
}
@media (prefers-reduced-motion:reduce){
  .rcr *{animation:none!important;transition:none!important}
}

/* one permanent dark theme */
.rcr{--bg:#0D1A20;--surface:#14252D;--surface2:#1B303A;--ink:#E5EDF0;--muted:#9DB0BA;--line:#294049;--accent:#5EC4D0;--accentink:#06232A;--accentsoft:#14373F;--good:#5FCB95;--goodsoft:#12342A;--bad:#FF8E83;--badsoft:#3A1F1D;--warn:#E6B957;--warnsoft:#35290F;color-scheme:dark;background:var(--bg);color:var(--ink)}

/* ===== v1.2 additions ===== */
.rcr .notice.warn{background:var(--warnsoft);border-color:var(--warn)}
.rcr .notice a{color:inherit;text-decoration:underline}
.rcr .stackc{display:grid;gap:18px;align-content:start}
.rcr .goalp .goalrow,.rcr .done .goalrow{display:flex;align-items:center;gap:18px;margin:10px 0 18px}
.rcr .goalp .seg{display:flex;width:100%}.rcr .goalp .seg button{flex:1;padding:8px 6px}
.rcr .ptsl{margin:14px 0 0}
.rcr .reset{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.rcr .big{font-weight:650;font-size:1.05rem}
.rcr .ring{position:relative;display:inline-grid;place-items:center;color:var(--accent);width:104px;height:104px;flex:none}
.rcr .ring svg{position:absolute;inset:0}
.rcr .ring .rn{position:relative;display:flex;flex-direction:column;align-items:center;line-height:1.1}
.rcr .ring .rn b{font-size:1.6rem;color:var(--ink)}
.rcr .ring .rn i{font-style:normal;font-size:.72rem;color:var(--muted);margin-top:2px}
.rcr .ring.full{color:var(--good)}
.rcr .seg.sm button{min-height:34px;padding:5px 11px;font-size:.84rem}
.rcr .thr{display:flex;align-items:stretch}
.rcr .thr .thead{flex:1;min-width:0}
.rcr .starbtn{border:0;background:transparent;color:var(--muted);padding:0 14px;min-width:44px;display:grid;place-items:center}
.rcr .starbtn:hover{color:var(--warn)}
.rcr .starbtn.on{color:var(--warn)}
.rcr .starbtn .ic svg{width:20px;height:20px}
.rcr .fwrap{position:relative;max-width:760px;margin:0 auto}
.rcr .starbtn.corner{position:absolute;top:8px;right:8px;padding:8px;border-radius:10px;z-index:2}
.rcr .qtop{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}
.rcr .qtop .qtext{flex:1}
.rcr .notel{display:block;font-size:.8rem;color:var(--muted);margin:12px 0 4px;font-weight:600}
.rcr textarea.note{width:100%;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);padding:8px 10px;font:inherit;font-size:.92rem;resize:vertical;min-height:56px}
.rcr .mynote{background:var(--accentsoft);border-radius:10px;padding:8px 12px;margin-top:10px}
.rcr .audio{background:var(--surface2);border-radius:var(--r);padding:12px 14px;margin:0 0 14px}
.rcr .audio-t{font-weight:600;font-size:.9rem;margin-bottom:8px}
.rcr .audio audio{width:100%;height:40px}
.rcr .audio-r{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}
.rcr .examtop{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
.rcr .timer{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;font-weight:700;background:var(--surface2);border-radius:999px;padding:5px 12px}
.rcr .timer.low{background:var(--badsoft);color:var(--bad)}
.rcr .opt.sel{border-color:var(--accent);background:var(--accentsoft)}
.rcr .qdots{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}
.rcr .qd{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--surface);font-size:.85rem}
.rcr .qd.a{background:var(--accentsoft);border-color:var(--accent)}
.rcr .qd.c{outline:2px solid var(--accent);outline-offset:1px;font-weight:700}
.rcr .hl{border:0;background:transparent;font:inherit;color:inherit;padding:0 1px;cursor:pointer;border-bottom:2px solid var(--accent);border-radius:2px}
.rcr .hl:hover,.rcr .hl:focus-visible{background:var(--accentsoft)}
.rcr .peek{background:var(--accentsoft);border-radius:var(--r);padding:14px 16px;margin-top:14px}
.rcr .peek-t{font-weight:700;display:flex;align-items:center;justify-content:space-between}
.rcr .rcq{display:grid;gap:14px}
.rcr .qcard.slim{padding:16px}
.rcr .qtext.sm{font-size:1rem;font-weight:600;margin-bottom:10px}
.rcr .rc-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.rcr .rc-head h1{font-size:1.35rem}
.rcr .plist{display:grid;gap:10px}
.rcr .pitem{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"tn tn ar" "tt tt ar" "ts ts ar";text-align:left;gap:2px 12px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px}
.rcr .pitem:hover{background:var(--surface2)}
.rcr .pitem .tn{grid-area:tn}.rcr .pitem .tt{grid-area:tt}.rcr .pitem .ts{grid-area:ts}.rcr .pitem .ic{grid-area:ar;color:var(--muted)}
.rcr .done.tight{padding:12px 0 0;text-align:left}
.rcr .board .lb{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:6px}
.rcr .board .lb li{display:grid;grid-template-columns:34px minmax(0,1fr) auto 56px;gap:8px;align-items:center;padding:8px 10px;border-radius:10px;background:var(--surface2)}
.rcr .board .lb li.me{background:var(--accentsoft);outline:1.5px solid var(--accent)}
.rcr .board .rk{font-weight:700;color:var(--muted);text-align:center}
.rcr .board .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rcr .board .st{display:inline-flex;align-items:center;gap:2px;font-size:.82rem;color:var(--muted)}
.rcr .board .st .ic svg{width:15px;height:15px}
.rcr .board b{text-align:right;font-variant-numeric:tabular-nums}
.rcr .board .anon{margin:6px 0}
.rcr .tiles{grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr))}.rcr .tile{min-width:0}

@media (prefers-reduced-motion:reduce){.rcr .fcard.turn{animation:none}}
.rcr .progress{grid-template-columns:minmax(0,1fr)}.rcr .board .lb li{grid-template-columns:30px minmax(0,1fr) auto 48px}

/* podcast */
.rcr .pod{display:grid;gap:14px}
.rcr .ep{background:var(--surface);border:1px solid var(--line);border-radius:var(--r2,14px);padding:16px;display:grid;gap:10px}
.rcr .ep.on{border-color:var(--accent)}
.rcr .ep h3{margin:0;font-size:1.02rem}
.rcr .ep .eps{display:flex;gap:6px;flex-wrap:wrap}
.rcr .ep .eps span{background:var(--surface2);border-radius:999px;padding:3px 10px;font-size:.82rem}
.rcr .ep audio{width:100%;color-scheme:dark}
.rcr .ep .ctl{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.rcr .ep .ctl .btn{min-height:38px}

.rcr{border-radius:20px}
.rcr a.btn,.rcr a.btn:hover{color:var(--ink);text-decoration:none}
.rcr .btn.primary,.rcr a.btn.primary{color:var(--accentink)}
@media (max-width:520px){.rcr .brand-s{display:none}.rcr .brand-t{white-space:nowrap}}
