/* Krok do B1 — forest learning workspace */
:root{--paper:#f5f6f2;--ink:#183b30;--green:#165440;--muted:#64756c;--line:#dfe6df;--soft:#edf2e9;--gold:#f8f1d9;--accent:#d7ed89;--shadow:0 4px 24px #173d2d05}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.15px;-webkit-font-smoothing:antialiased}
#sidebar{width:248px;background:#123d31;color:#ecf3ea;border-right:0;padding:32px 20px 24px}
.brand{font-size:25px;letter-spacing:-1px;color:#fff;gap:12px}.brand img{width:38px;height:38px;border:1px solid #ffffff22;border-radius:12px}.brand-sub{color:#b4c9bd;margin:10px 0 22px;font-size:12px}
#sidebar .nav-label{color:#96b2a4;font-size:10px;letter-spacing:1.5px}#sidebar nav{gap:3px;margin-top:12px}#sidebar nav .nav-label{padding:18px 14px 6px}
#sidebar .nav-item{color:#cfdfd5;border-radius:11px;font-size:13px;padding:10px 13px;min-height:43px;transition:background .15s,color .15s}#sidebar .nav-item:hover{background:#ffffff0c;color:#fff}#sidebar .nav-item.active{background:var(--accent);color:#193e2e;font-weight:700;box-shadow:0 3px 12px #0000000a}.nav-icon{opacity:.85;font-size:18px}.side-foot{border-color:#ffffff1c;color:#aec6b7;line-height:1.65}.side-foot strong{color:#edf4e8}
#shell{margin-left:248px;padding:0 40px;max-width:1720px}.topbar{padding:20px 0;border-color:var(--line);letter-spacing:1.1px;min-height:83px}.topbar>span:first-of-type{font-size:10px;font-weight:650}.topbar #exam-date{background:#e9eee4;border:1px solid #dce5d5;padding:8px 14px;border-radius:30px;color:#486042;letter-spacing:.2px;font-size:12px}#top-account{font-size:13px;min-height:40px;border-radius:30px;padding:8px 18px;letter-spacing:0}
.support-strip{font-size:11px;padding:8px 0;gap:4px 16px}.support-strip a{font-size:12px;min-height:30px;text-decoration:none}.support-strip a:hover{text-decoration:underline}
.page-heading{margin:26px 0 30px}.page-heading .eyebrow{font-size:10px;letter-spacing:2px}.page-heading h1{font-size:clamp(30px,3vw,44px);letter-spacing:-1.7px;line-height:1.12;font-weight:750;margin:12px 0 16px;max-width:850px}.page-heading p{font-size:15px;line-height:1.7;color:var(--muted);max-width:720px}h2{font-size:21px;letter-spacing:-.65px;font-weight:700}h3{letter-spacing:-.4px}.eyebrow{letter-spacing:1.8px}
.grid{gap:24px;grid-template-columns:minmax(0,1.65fr) minmax(285px,1fr)}.stack{gap:22px}.panel{border-radius:20px;padding:28px;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff}.panel h2{margin-bottom:18px}.panel.hero{background:#164d3d;color:#fff;border:0;padding:34px;overflow:hidden;position:relative;isolation:isolate;box-shadow:0 12px 30px #163e3010;min-height:300px}.hero .eyebrow{color:#bed49f;font-size:10px}.hero h2{font-size:clamp(28px,2.7vw,38px);line-height:1.15;letter-spacing:-1px;max-width:490px;margin:18px 0 14px}.hero p{color:#deeadf;max-width:480px;font-size:15px;line-height:1.7}.hero .btn{position:relative;z-index:1;background:var(--accent);color:#163e2d;border-color:var(--accent);border-radius:11px;min-height:49px;padding:12px 21px;font-weight:750}.hero .btn.secondary{background:transparent;border-color:#c9d9b847;color:#edf3e7;font-size:12px;min-height:40px;margin-top:10px}.hero small{color:#bdd2c2;font-size:11px;max-width:450px}.hero:after{content:'B1';font-size:160px;font-weight:800;line-height:1;letter-spacing:-15px;transform:rotate(-12deg);color:#b7d2a914;width:auto;height:auto;right:14px;top:auto;bottom:-24px;border:0;border-radius:0;z-index:-1}
.btn{border-radius:10px;min-height:46px;font-size:13px;font-weight:650;padding:11px 18px;letter-spacing:0;transition:background .15s,box-shadow .15s}.btn:not(:disabled):hover{filter:none;box-shadow:0 3px 10px #183d2b12;background:#1c654e;color:#fff}.btn.secondary{border-color:#d8e2d8;background:#fff;color:#24523f}.btn.secondary:not(:disabled):hover{background:#f0f5e9;color:#234c36;border-color:#b7ccab}.btn.quiet:not(:disabled):hover{background:var(--soft);color:var(--ink)}.btn.danger:not(:disabled):hover{background:#813e34}.hero .btn:not(:disabled):hover{background:#e2f3ac;color:#163e2d}.hero .btn.secondary:not(:disabled):hover{background:#ffffff12;color:#fff}
.task{padding:20px 0;gap:14px;align-items:flex-start}.task:first-of-type{border-top:0}.task .num{width:33px;height:33px;background:#f0f4e9;color:#4f7144;border:0;font-weight:700;margin-top:3px}.task-text strong{font-size:15px;line-height:1.4}.task-text small{display:block;font-size:12px;line-height:1.6;margin-top:5px}.task .btn{align-self:center;font-size:12px;padding:10px 13px;min-height:42px}.tag{background:#f1f5e9;color:#567444;border-color:#e0e8d4;border-radius:6px;font-size:11px;font-weight:600}
.skill{padding:17px 0;gap:13px;grid-template-columns:35px 1fr}.skill-icon{width:35px;height:35px;background:#f1f5ed;border:0;border-radius:10px;color:#4f7144}.skill-top{font-weight:650;font-size:14px}.skill small{font-size:11px;line-height:1.6}.track{height:5px;margin-top:10px;background:#edf0e9;border-radius:8px}.track i{background:#7b9b56;border-radius:8px}.hint{background:#f5f0df}.hint h3{color:#62542b}.hint p{font-size:13px;line-height:1.75}
.notice{border-radius:12px;background:#f0f5eb;border-color:#dce6d4;font-size:13px;line-height:1.75;padding:17px 19px}.notice.warn{background:#faf3df;border-color:#eddfb3}.notice.error{background:#fbefec;border-color:#e6c9c1}.notice.success{background:#e6f0e1;border-color:#c6dabe}.context{background:#f3f6ef;border-radius:10px;border-left:3px solid #8aa65c;line-height:1.85}.card{border-radius:16px;padding:25px}.card h3{font-size:20px}.choice{border-radius:12px;padding:16px 18px;background:#fff}.choice:has(input:checked){background:#edf4e4;border-color:#628348;box-shadow:0 0 0 1px #628348}.field label{font-size:13px;margin-bottom:9px}input:not([type=radio]):not([type=checkbox]),textarea,select{border-color:#cad8cb;border-radius:10px;padding:13px 14px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #729b4b;outline-offset:2px}.sample{border-radius:12px;background:#f4f6f0}details{border-radius:12px;border-color:var(--line)}details summary{font-size:14px}.module-picker .btn{border-radius:14px;min-height:80px}.timer{letter-spacing:-.5px}.result-number{letter-spacing:-2px}.admin-stat{border-radius:17px;background:#fff}.steps{gap:18px}.step{border-color:#e4e9db}.step.current{border-color:#78984e}.step small{font-size:10px;letter-spacing:.5px}.step strong{font-size:12px}.list-row{padding:20px 0}.list-row p{margin:4px 0 0}footer{padding:30px 0 36px;line-height:1.7}.mobile-nav{display:none}
@media(min-width:1450px){#shell{padding:0 56px}}@media(max-width:1120px){#shell{padding:0 26px}.grid{grid-template-columns:1fr}.grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h2{font-size:34px}.hero p{max-width:640px}.panel.hero{min-height:0}.task-text{min-width:0}}
@media(max-width:760px){#sidebar{top:75px;bottom:72px;width:100%;padding:24px;box-shadow:0 20px 30px #123d3120}#shell{margin-left:0;padding:0 18px 86px}.topbar{position:relative;min-height:74px;padding:15px 0;gap:10px}#menu{border-radius:12px;background:#fff;border-color:var(--line);color:var(--green)}.topbar #exam-date{font-size:10px;padding:7px 10px}#top-account{font-size:12px;padding:8px 12px;min-height:39px}.support-strip{border:0;gap:0 12px;justify-content:flex-start;padding:8px 0;font-size:10px}.support-strip span{display:none}.support-strip a{font-size:11px}.page-heading{margin:20px 0 24px}.page-heading h1{font-size:33px;letter-spacing:-1.2px;line-height:1.14}.page-heading p{font-size:13px;line-height:1.7}.panel{padding:23px;border-radius:18px}.panel.hero{padding:27px;min-height:0}.hero h2{font-size:30px;max-width:350px}.hero p{font-size:14px}.hero:after{font-size:130px;right:14px;bottom:-18px}.hero .btn.secondary{display:flex;width:fit-content}.grid,.grid.equal,.cards,.cards.two{grid-template-columns:1fr;gap:18px}.stack{gap:18px}.task{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px 12px}.task .btn{grid-column:2;justify-self:start;margin-top:2px}.task-text strong{font-size:14px}.task .num{width:30px;height:30px}.task-text small{font-size:12px}.section-title h2{font-size:20px}.panel h2{font-size:20px}.card{padding:23px}.btn{min-height:46px}.notice{font-size:13px;padding:16px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:19;display:grid;grid-template-columns:repeat(4,1fr);background:#fffffff5;border-top:1px solid #dfe6dc;padding:6px 8px calc(6px + env(safe-area-inset-bottom));backdrop-filter:blur(14px);gap:4px}.mobile-nav .nav-item{min-height:49px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:5px 3px;font-size:10px;line-height:1.2;border-radius:11px;color:#708076}.mobile-nav .nav-icon{font-size:18px;line-height:20px}.mobile-nav .nav-item.active{background:#eaf1dd;color:#315536;font-weight:700}.mobile-nav .nav-item:hover{background:#eff4e7}#toast{bottom:calc(80px + env(safe-area-inset-bottom));font-size:12px}footer{padding-bottom:20px}.score-fields{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
#usage-consent{position:fixed;bottom:20px;right:24px;z-index:60;max-width:440px;background:#fff;padding:24px;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 40px #173b3026;font-size:13px}#usage-consent strong{font-size:16px}#usage-consent p{margin:10px 0;line-height:1.7}#usage-consent .actions{align-items:center}.usage-heatmap{display:grid;grid-template-columns:repeat(10,1fr);gap:2px;max-width:440px;aspect-ratio:1/1.7;margin:16px 0;border:1px solid var(--line);padding:5px;border-radius:8px}.usage-heatmap span{display:grid;place-items:center;font-size:10px;color:#432b20;border-radius:2px}@media(max-width:760px){#usage-consent{left:14px;right:14px;bottom:calc(78px + env(safe-area-inset-bottom));max-width:none;padding:20px}}
.usage-analytics-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:28px;margin:24px 0}.usage-overlay{min-width:0}.usage-overlay-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:12px}.usage-overlay-toolbar .actions{margin:0}.usage-overlay-toolbar .field{margin:0;max-width:160px}.usage-overlay-toolbar .btn[aria-pressed=true]{background:#214f3c;color:white;border-color:#214f3c}.usage-overlay-legend{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin:14px 0}.usage-overlay-legend i{width:120px;height:9px;border-radius:20px;background:linear-gradient(90deg,#dcf0cb,#f4db75,#f09036,#e24b38)}.usage-screen-viewport{max-height:820px;overflow:auto;border:1px solid #dce3d7;border-radius:14px;background:#e8ede4;padding:14px;overscroll-behavior:contain;scrollbar-gutter:stable}.usage-screen-surface{position:relative;width:100%;min-height:80px;background:#fff;box-shadow:0 2px 14px #193a2c12;isolation:isolate}.usage-screen-viewport.mobile .usage-screen-surface{max-width:390px;margin:auto}.usage-screen-image{display:block;width:100%;height:auto}.usage-screen-dots{position:absolute;inset:0;pointer-events:none;overflow:hidden;mix-blend-mode:multiply}.usage-screen-dots i{position:absolute;transform:translate(-50%,-50%);width:20%;height:10%;border-radius:50%;background:radial-gradient(ellipse,rgba(234,50,36,.95) 0%,rgba(244,128,41,.8) 26%,rgba(251,218,53,.55) 48%,rgba(194,225,94,.2) 66%,transparent 78%)}.usage-overlay input[type=range]{accent-color:#2f6845;width:150px;padding:0;border:0;min-height:30px}.usage-overlay details{font-size:12px}.usage-overlay input[type=file]{font-size:12px;max-width:100%}@media(max-width:1000px){.usage-analytics-layout{grid-template-columns:1fr}.usage-screen-viewport{max-height:660px}}@media(max-width:760px){.usage-screen-viewport{padding:8px}.usage-overlay-toolbar{gap:12px}.usage-overlay-toolbar .btn{font-size:12px;padding:10px 12px}}
.usage-screen-chrome{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8faf5;padding:10px 12px;margin:-14px -14px 14px;border-bottom:1px solid var(--line);font-size:11px;color:#607060;position:sticky;top:-14px;z-index:2}.usage-screen-lights{display:flex;gap:4px}.usage-screen-lights i{width:6px;height:6px;border-radius:50%;background:#cfdbc6}.usage-screen-chrome .tag{font-size:9px;padding:2px 6px}.usage-screen-dots i{pointer-events:auto}@media(max-width:760px){.usage-screen-chrome{margin:-8px -8px 8px;top:-8px}}
/* Keep search controls aligned to the input rather than stretching to label height. */
.admin-workspace>.page-heading{margin-bottom:24px}.admin-workspace>.page-heading h1{font-size:clamp(28px,3vw,36px);letter-spacing:-1px}.admin-workspace>.page-heading p{font-size:14px;max-width:680px}.admin-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:16px;margin:0 0 12px}.admin-toolbar>.field{margin:0;flex:1 1 260px;max-width:360px;min-width:0}.admin-toolbar>.field label{margin-bottom:7px;font-size:12px}.admin-toolbar input{height:46px;font-size:14px}.admin-toolbar>.btn{height:46px;min-height:46px;align-self:flex-end;flex:0 0 auto;padding:10px 17px;white-space:nowrap}.admin-toolbar>.btn:last-child{margin-left:auto}.admin-workspace>.small{font-size:11px;margin:0 0 22px}@media(max-width:760px){.admin-toolbar{display:grid;grid-template-columns:1fr 1fr;padding:18px;gap:10px}.admin-toolbar>.field{grid-column:1/-1;max-width:none;margin-bottom:3px}.admin-toolbar>.btn{width:100%;padding:10px;min-width:0}.admin-toolbar>.btn:last-child{grid-column:1/-1;margin-left:0}.admin-workspace>.page-heading h1{font-size:30px}.admin-workspace>.page-heading p{font-size:13px}}
/* Readability defaults and device-local accessibility preferences. */
:root{--read-body:16px;--read-small:14px;--read-nav:16px;--read-control:15px;--read-title:22px}html[data-text-size=large]{--read-body:18px;--read-small:16px;--read-nav:18px;--read-control:17px;--read-title:25px}html[data-text-size=xlarge]{--read-body:20px;--read-small:18px;--read-nav:20px;--read-control:19px;--read-title:28px}body{font-size:var(--read-body)}#sidebar .nav-item{font-size:var(--read-nav);line-height:1.5;min-height:48px}#sidebar .nav-label,.brand-sub,.side-foot{font-size:var(--read-small)}small,.small,.task-text small,.hero small,.notice,.field label,.page-heading p,.hero p,.card p,.skill small,.hint p,details summary,.tag,.support-strip a,.admin-workspace>.page-heading p,.admin-toolbar>.field label,.admin-workspace>.small{font-size:var(--read-small)}.btn,#top-account,input:not([type=radio]):not([type=checkbox]),textarea,select,.task .btn,.admin-toolbar input,.skill-top{font-size:var(--read-control)}.task-text strong{font-size:var(--read-body)}main .panel:not(.hero) h2{font-size:var(--read-title)}main p,main li{line-height:1.75}.btn{white-space:normal}.admin-toolbar>.btn{min-height:46px;height:auto;padding-top:11px;padding-bottom:11px}input[type=range]{font-size:inherit}.mobile-nav .nav-item{font-size:max(12px,calc(var(--read-small) - 2px))}.mobile-nav{padding-bottom:calc(8px + env(safe-area-inset-bottom))}.a11y-dialog{width:min(560px,calc(100% - 28px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:20px;padding:28px;background:var(--paper);color:var(--ink)}.a11y-dialog::backdrop{background:#0a261db3}.a11y-dialog .section-title{align-items:center}.a11y-dialog h2{font-size:25px}.a11y-dialog .check{font-size:var(--read-body);line-height:1.6;padding:6px 0}.a11y-controls .check{align-items:flex-start}.a11y-controls .check input{margin-top:5px}.accessible-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.85;padding:24px;background:var(--soft);border:1px solid var(--line);border-radius:12px;max-width:100%;tab-size:2}#accessibility-button{min-width:46px;min-height:44px;font-size:14px;gap:7px;padding:9px 12px;flex-shrink:0}.topbar{gap:10px}html[data-reduce-motion=true] *,html[data-reduce-motion=true] *::before,html[data-reduce-motion=true] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html[data-high-contrast=true]{--paper:#fff;--ink:#081d14;--muted:#273d30;--green:#003e29;--line:#627569;--soft:#edf3e8}html[data-high-contrast=true] #sidebar{background:#002c20}html[data-high-contrast=true] #sidebar .nav-item,html[data-high-contrast=true] #sidebar .nav-label,html[data-high-contrast=true] .brand-sub{color:#e1f2e4}html[data-high-contrast=true] #sidebar .nav-item.active{background:#e0fb85;color:#092a17}html[data-high-contrast=true] .hero{background:#003d2c}html[data-high-contrast=true] .hero p,html[data-high-contrast=true] .hero small{color:#fff}html[data-high-contrast=true] a{text-decoration:underline}html[data-high-contrast=true] .btn:disabled{opacity:1;color:#48554a;background:#e5eae4;border-color:#667368}html[data-high-contrast=true] .btn.secondary{color:#003e29;border-color:#627569}html[data-high-contrast=true] :focus-visible{outline:3px solid #065fbd!important;outline-offset:3px!important}@media(max-width:760px){.a11y-label{display:none}.topbar{gap:7px}.topbar #exam-date{font-size:12px;letter-spacing:0;padding:6px 8px}#top-account{font-size:14px;padding:8px 10px}#accessibility-button{padding:9px;min-width:44px}.a11y-dialog{padding:22px}.a11y-dialog .section-title{gap:10px}.support-strip a{font-size:13px}.accessible-text{padding:18px}.task .btn{font-size:var(--read-control)}.admin-workspace>.page-heading p{font-size:var(--read-small)}}
:root{--read-control:16px}.admin-toolbar input{height:auto;min-height:48px;padding:11px 14px;line-height:1.4}html[data-high-contrast=true] .hero .btn.secondary{background:#fff;color:#003e29;border-color:#627569}.mobile-nav .nav-item{font-size:max(14px,calc(var(--read-small) - 1px))}@media(max-width:760px){#shell{padding-bottom:calc(110px + env(safe-area-inset-bottom))}}
.support-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;margin:16px 0 8px;background:#eaf1df;border:1px solid #d4e2c2;border-radius:15px}.support-intro{display:flex;align-items:center;gap:12px;min-width:0}.support-intro .support-mark{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:#d8e9b8;color:#285132;border-radius:11px;font-size:23px}.support-intro strong{display:block;color:#244831;font-size:var(--read-control);line-height:1.4}.support-intro div>span{display:block;font-size:var(--read-small);color:#506444;line-height:1.5;margin-top:3px}.support-links{display:flex;gap:10px;flex-wrap:wrap}.support-strip .support-links a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:10px 15px;border-radius:10px;font-size:var(--read-control);font-weight:650;text-decoration:none;border:1px solid #bfd0ad;line-height:1.4}.support-links .support-help{background:#194d39;color:#fff}.support-links .support-community{background:#fff;color:#254d35}.support-links a:hover{box-shadow:0 3px 9px #1a49331c;text-decoration:underline}.support-links a span{font-size:18px}.support-strip a:focus-visible{outline:3px solid #065fbd;outline-offset:3px}@media(max-width:1120px){.support-strip{align-items:flex-start;flex-direction:column}.support-links{width:100%}}@media(max-width:760px){.support-strip{padding:15px;margin:12px 0 8px;gap:13px}.support-intro .support-mark{display:grid;width:34px;height:34px;font-size:21px}.support-intro div>span{display:block;font-size:13px}.support-links{display:grid;grid-template-columns:1fr;gap:8px}.support-strip .support-links a{font-size:var(--read-control);min-height:46px}.support-links a span{display:inline}}html[data-high-contrast=true] .support-strip{background:#f2f7e9;border-color:#526b48}html[data-high-contrast=true] .support-intro strong,html[data-high-contrast=true] .support-intro div>span{color:#163b23}
