/* Sprout Academy: Khan-style practice */
.ac{width:min(1100px,calc(100% - 28px));margin:0 auto;padding-bottom:30px}
.ac h1{margin:6px 0 6px}
.ac-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:22px;align-items:center;margin:14px 0 20px}
.ac-intro{background:linear-gradient(135deg,#e6f4fb,#fff8e6);border:1px solid var(--ln);border-radius:26px;padding:26px 28px}
.ac-intro .lead{margin:0 0 14px}
.ac-hero figure{margin:0}
.ac-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0}
.ac-stat{background:#fff;border:2px solid var(--ln);border-radius:18px;padding:10px 14px}
.ac-stat small{display:block;color:var(--mu);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.ac-stat b{font-size:24px;color:var(--gd)}
.ac-goal{height:10px;border-radius:99px;background:#e3eae5;overflow:hidden;margin-top:6px}.ac-goal i{display:block;height:100%;width:0;background:var(--g)}
.ac-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:12px 0 24px;padding:0;list-style:none;counter-reset:s}
.ac-steps li{background:#fff;border:1px solid var(--ln);border-radius:18px;padding:14px 16px 14px 56px;position:relative;counter-increment:s}
.ac-steps li::before{content:counter(s);position:absolute;left:14px;top:14px;width:30px;height:30px;border-radius:50%;background:var(--g);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.ac-unit{margin:30px 0;border:1px solid var(--ln);border-radius:24px;background:#fff;overflow:hidden}
.ac-uh{display:flex;gap:14px;align-items:center;padding:16px 20px;background:var(--uc,#12A56A);color:var(--ut,#fff);flex-wrap:wrap}
.ac-uh .em{font-size:38px;line-height:1}.ac-uh h2{margin:0;font-size:22px;color:var(--ut,#fff)}.ac-uh p{margin:2px 0 0;opacity:.95;font-size:14px;max-width:640px}
.ac-uh a{color:var(--ut,#fff);text-decoration:none}
.ac-up{margin-left:auto;min-width:160px;text-align:right;font-weight:800}.ac-ubar{height:10px;background:var(--utrack,rgba(255,255,255,.35));border-radius:99px;overflow:hidden;margin-top:4px}.ac-ubar i{display:block;height:100%;width:0;background:var(--ut,#fff)}
.ac-badge{background:#fff;color:#8a5a00;border-radius:99px;padding:2px 10px;font-size:12px;margin-left:8px}
/* v75: unit bands whose accent colour is too light for white text (under 4.5:1) get dark text instead */
.ac-unit[style*="#12A56A" i],.ac-unit[style*="#35995A" i],.ac-unit[style*="#4A90E2" i],.ac-unit[style*="#E8678A" i],.ac-unit[style*="#E9A91C" i],.ac-unit[style*="#F2A23A" i]{--ut:#14231c;--utrack:rgba(20,35,28,.22)}
.ac-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;padding:16px 20px 20px;list-style:none;margin:0}
.ac-tile{display:flex;flex-direction:column;gap:6px;height:100%;text-decoration:none;color:var(--ink);background:#fff;border:2px solid var(--ln);border-radius:18px;padding:12px 14px}
.ac-tile:hover{border-color:var(--g);background:#fbfefb}
.ac-tile .t{display:flex;gap:10px;align-items:center;font-weight:800;line-height:1.2}.ac-tile .t span{font-size:26px}
.ac-tile .ac-lvl{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--mu)}
.ac-bar{height:8px;background:#e9eeea;border-radius:99px;overflow:hidden}.ac-bar i{display:block;height:100%;width:0;background:var(--g);transition:width .3s}
.ac-tile[data-lv="1"]{border-color:#F2A23A}.ac-tile[data-lv="1"] .ac-bar i{background:#F2A23A}
.ac-tile[data-lv="2"]{border-color:#E5C100}.ac-tile[data-lv="2"] .ac-bar i{background:#E5C100}
.ac-tile[data-lv="3"]{border-color:#4A90E2}.ac-tile[data-lv="3"] .ac-bar i{background:#4A90E2}
.ac-tile[data-lv="4"]{border-color:var(--g);background:#f3fbf5}
.ac-lv{display:inline-block;padding:3px 12px;border-radius:99px;font-weight:800;font-size:13px;background:#eef1ef;color:#5f6a72}
.ac-lv.lv1{background:#FFE9C9;color:#a0560a}.ac-lv.lv2{background:#FFF4B8;color:#7a6200}.ac-lv.lv3{background:#DCEBFC;color:#1f5da8}.ac-lv.lv4{background:#D7F3E1;color:#0a6a40}
.ac-legend{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.ac-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:var(--mu);margin:6px 0 0}
.ac-learn{background:#fff;border:1px solid var(--ln);border-radius:22px;padding:6px 22px 18px;margin:18px 0}
.ac-learn p{font-size:18px;line-height:1.65}
.ac-ex{background:var(--ksky,#e6f4fb);border-radius:16px;padding:12px 18px;margin:12px 0}.ac-ex h3{margin:0 0 6px;font-size:16px;color:var(--gd)}.ac-ex ol{margin:0;padding-left:22px}.ac-ex li{margin:4px 0}
.ac-key,.ac-watch{border-radius:16px;padding:12px 18px;margin:12px 0;font-size:16px}.ac-key{background:#fff8e0;border:2px solid #f2dc92}.ac-watch{background:#fdeceb;border:2px solid #f2b5b0}
.ac-prac{background:#fff;border:2px solid var(--g);border-radius:24px;padding:16px 18px 20px;margin:20px 0;box-shadow:0 10px 30px rgba(20,54,39,.08)}
.ac-prac h2{margin:0 0 8px}
.ac-nav{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin:14px 0}
/* engine */
.ac-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:10px}
.ac-dots{display:flex;gap:6px}.ac-dot{width:16px;height:16px;border-radius:50%;background:#e3eae5;border:2px solid #cfd9d3}.ac-dot.now{border-color:var(--g);box-shadow:0 0 0 3px #bfe9d1}.ac-dot.ok{background:var(--g);border-color:var(--g)}.ac-dot.help{background:#F2A23A;border-color:#F2A23A}.ac-dot.bad{background:#E0605A;border-color:#E0605A}
.ac-x{font-size:14px;font-weight:700;color:var(--mu)}
.ac-card{background:linear-gradient(#fbfefb,#f2faf4);border:2px solid var(--ln);border-radius:20px;padding:16px 18px}
.ac-q{font-size:20px;font-weight:700;line-height:1.4;margin-bottom:8px}
.ac-vis{margin:8px 0 12px}
.cc-row{display:flex;flex-wrap:wrap;gap:6px}
.cc{display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-family:Arial,sans-serif;color:#4a3a14;border:3px solid rgba(0,0,0,.18)}
.cc-1{width:34px;height:34px;border-radius:50%;background:#C9783C;color:#fff;font-size:12px}
.cc-5{width:42px;height:42px;border-radius:50%;background:#C9CED2;font-size:13px}
.cc-10{width:36px;height:36px;border-radius:50%;background:#D6DADD;font-size:12px}
.cc-25{width:48px;height:48px;border-radius:50%;background:#BFC5CA;font-size:14px}
.cc-100{width:52px;height:52px;border-radius:50%;background:#FFC72C;font-size:16px}
.cc-200{width:56px;height:56px;border-radius:50%;background:radial-gradient(#FFC72C 55%,#D5D9DC 56%);font-size:17px}
.cc-bill{width:78px;height:38px;border-radius:6px;background:#9BD3A5;font-size:16px;color:#0a5a30}
.ac-ans{margin:10px 0 2px;display:grid;gap:8px}
.ac-nl{display:flex;align-items:center;gap:6px;font-size:24px}
.ac-in{font:inherit;font-size:24px;font-weight:800;width:160px;padding:8px 12px;border:3px solid var(--ln);border-radius:14px;background:#fff;color:var(--ink)}.ac-in:focus{outline:0;border-color:var(--g)}
.ac-opt{font:inherit;font-weight:700;text-align:left;padding:12px 14px;min-height:48px;border-radius:14px;border:3px solid var(--ln);background:#fff;cursor:pointer;color:var(--ink)}
.ac-opt:hover:not(:disabled){border-color:var(--g)}.ac-opt.on{border-color:var(--g);background:var(--gs)}.ac-opt.paired{background:#eef7ff;border-color:#4A90E2}
.ac-opt.right{border-color:var(--g);background:#dff5e6}.ac-opt.wrong{border-color:#E0605A;background:#fde3e0}
.ac-mx{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ac-ml,.ac-mr{display:grid;gap:8px;align-content:start}
@media(max-width:560px){.ac-mx{grid-template-columns:1fr}.ac-hero{grid-template-columns:1fr}.ac-q{font-size:18px}}
.ac-ord{list-style:decimal;padding-left:26px;display:grid;gap:8px;margin:0}.ac-ord li{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fff;border:3px solid var(--ln);border-radius:14px;padding:8px 12px;font-weight:700}
.ac-mv{display:flex;gap:6px}.ac-mv button{width:40px;height:40px;border-radius:10px;border:2px solid var(--ln);background:#fff;font-size:16px;cursor:pointer}.ac-mv button:disabled{opacity:.35}
.ac-sr{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;background:#fff;border:3px solid var(--ln);border-radius:14px;padding:8px 12px;font-weight:700}
.ac-sb{display:flex;gap:6px}.ac-bin{font:inherit;font-weight:800;border-radius:99px;border:3px solid var(--ln);background:#fff;padding:6px 14px;min-height:40px;cursor:pointer}.ac-bin.on{border-color:var(--g);background:var(--gs);color:var(--gd)}
.ac-hints{display:grid;gap:6px;margin:10px 0 0}.ac-hint{margin:0;background:#fff8e0;border:2px solid #f2dc92;border-radius:12px;padding:8px 12px;font-size:15px}
.ac-btns{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 4px;align-items:center}
.ac-fb{margin-top:8px;border-radius:16px;padding:0}.ac-fb.warn{background:#fff8e0;padding:10px 14px;font-weight:700}.ac-fb.bad{background:#fde3e0;padding:10px 14px;font-weight:700}
.ac-fb.good{background:#dff5e6;border:2px solid var(--g);padding:12px 16px}.ac-fb.bad:has(.ac-w){border:2px solid #E0605A}
.ac-res{font-size:19px;font-weight:800;margin-bottom:4px}.ac-w{margin:4px 0 10px;font-size:16px}
.ac-sum{text-align:center;padding:14px 4px}.ac-big{font-size:56px;font-weight:800;color:var(--gd);line-height:1.1}
.ac-meter{height:14px;background:#e3eae5;border-radius:99px;overflow:hidden;max-width:380px;margin:10px auto}.ac-meter i{display:block;height:100%;background:linear-gradient(90deg,var(--g),var(--ky))}
.ac-gate{text-align:center;padding:10px}.ac-gate p{max-width:520px;margin:0 auto 12px}
.ac-unit-test{background:#fff;border:2px dashed var(--g);border-radius:22px;padding:16px 18px;margin:22px 0}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/*cf-dark*/@media screen{html[data-theme=dark] .ac-intro{background:linear-gradient(135deg,#111a16,#111a16);border:1px solid #2b3b31}html[data-theme=dark] .ac-stat{background:#17211d;border:2px solid #2b3b31}html[data-theme=dark] .ac-stat small{color:#aabfba}html[data-theme=dark] .ac-stat b{color:#67e9bb}html[data-theme=dark] .ac-goal{background:#1e2720}html[data-theme=dark] .ac-goal i{background:#08784e}html[data-theme=dark] .ac-steps li{background:#17211d;border:1px solid #2b3b31}html[data-theme=dark] .ac-steps li::before{background:#08784e;color:#fff}html[data-theme=dark] .ac-unit{border:1px solid #2b3b31;background:#17211d}html[data-theme=dark] .ac-uh{background:#0E7F52;color:#fff}html[data-theme=dark] .ac-unit{--ut:#fff;--utrack:rgba(255,255,255,.35)}html[data-theme=dark] .ac-uh h2{color:#fff}html[data-theme=dark] .ac-uh a{color:#fff}html[data-theme=dark] .ac-ubar{background:rgba(23,33,29,0.35)}html[data-theme=dark] .ac-ubar i{background:#17211d}html[data-theme=dark] .ac-badge{background:#17211d;color:#e9bc67}html[data-theme=dark] .ac-tile{color:#d4e5e3;background:#17211d;border:2px solid #2b3b31}html[data-theme=dark] .ac-tile:hover{border-color:#08784e;background:#17211d}html[data-theme=dark] .ac-tile .ac-lvl{color:#aabfba}html[data-theme=dark] .ac-bar{background:#202621}html[data-theme=dark] .ac-bar i{background:#08784e}html[data-theme=dark] .ac-tile[data-lv="4"]{border-color:#08784e;background:#111a16}html[data-theme=dark] .ac-lv{background:#212623;color:#9fa8af}html[data-theme=dark] .ac-lv.lv1{background:#2d2418;color:#e9a967}html[data-theme=dark] .ac-lv.lv2{background:#2b2817;color:#e9d067}html[data-theme=dark] .ac-lv.lv3{background:#1b232b;color:#6da3e4}html[data-theme=dark] .ac-lv.lv4{background:#182d1f;color:#67e9b0}html[data-theme=dark] .ac-meta{color:#aabfba}html[data-theme=dark] .ac-learn{background:#17211d;border:1px solid #2b3b31}html[data-theme=dark] .ac-ex{background:#111a16}html[data-theme=dark] .ac-ex h3{color:#67e9bb}html[data-theme=dark] .ac-key{background:#2a271d;border:2px solid #3b3624}html[data-theme=dark] .ac-watch{background:#111a16;border:2px solid #3d2725}html[data-theme=dark] .ac-prac{background:#17211d;border:2px solid #08784e}html[data-theme=dark] .ac-dot{background:#1e2720;border:2px solid #2c3730}html[data-theme=dark] .ac-dot.now{border-color:#08784e}html[data-theme=dark] .ac-dot.ok{background:#08784e;border-color:#08784e}html[data-theme=dark] .ac-x{color:#aabfba}html[data-theme=dark] .ac-card{background:linear-gradient(#17211d,#111a16);border:2px solid #2b3b31}html[data-theme=dark] .cc{color:#dabd76}html[data-theme=dark] .cc-1{color:#fff}html[data-theme=dark] .cc-5{background:#1d2023}html[data-theme=dark] .cc-10{background:#1e2224}html[data-theme=dark] .cc-25{background:#1c1f22}html[data-theme=dark] .cc-200{background:radial-gradient(#FFC72C 55%,#1e2224 56%)}html[data-theme=dark] .cc-bill{background:#152718;color:#67e9a5}html[data-theme=dark] .ac-in{border:3px solid #2b3b31;background:#17211d;color:#d4e5e3}html[data-theme=dark] .ac-in:focus{border-color:#08784e}html[data-theme=dark] .ac-opt{border:3px solid #2b3b31;background:#17211d;color:#d4e5e3}html[data-theme=dark] .ac-opt:hover:not(:disabled){border-color:#08784e}html[data-theme=dark] .ac-opt.on{border-color:#08784e;background:#1c2a21}html[data-theme=dark] .ac-opt.paired{background:#111a16}html[data-theme=dark] .ac-opt.right{border-color:#08784e;background:#1a2b20}html[data-theme=dark] .ac-opt.wrong{background:#2a1e1c}html[data-theme=dark] .ac-ord li{background:#17211d;border:3px solid #2b3b31}html[data-theme=dark] .ac-mv button{border:2px solid #2b3b31;background:#17211d}html[data-theme=dark] .ac-sr{background:#17211d;border:3px solid #2b3b31}html[data-theme=dark] .ac-bin{border:3px solid #2b3b31;background:#17211d}html[data-theme=dark] .ac-bin.on{border-color:#08784e;background:#1c2a21;color:#67e9bb}html[data-theme=dark] .ac-hint{background:#2a271d;border:2px solid #3b3624}html[data-theme=dark] .ac-fb.warn{background:#2a271d}html[data-theme=dark] .ac-fb.bad{background:#2a1e1c}html[data-theme=dark] .ac-fb.good{background:#1a2b20;border:2px solid #08784e}html[data-theme=dark] .ac-big{color:#67e9bb}html[data-theme=dark] .ac-meter{background:#1e2720}html[data-theme=dark] .ac-meter i{background:linear-gradient(90deg,#08784e,#ffc72c)}html[data-theme=dark] .ac-unit-test{background:#17211d;border:2px dashed #08784e}}/*cf-dark-end*/
