/* Local, dependency-free interface for Angielska Przygoda EDU. */
.student-profile-open{display:grid;gap:5px;text-align:left;border:0;background:transparent;color:var(--ink);padding:0;cursor:pointer}.student-profile-open strong{font-size:14px}.student-profile-open span{font-size:11px;color:var(--green);font-weight:600}.student-profile-open:hover strong{text-decoration:underline}.profile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.profile-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.profile-kpis>div{padding:19px;background:#fff;border:1px solid var(--line);border-radius:16px;display:grid;gap:8px}.profile-kpis strong{font-size:27px;line-height:1.2;color:var(--green-dark)}.profile-kpis span{font-size:11px;color:var(--muted)}.profile-tabs{display:flex;gap:8px;overflow-x:auto;padding:6px 0 15px;margin-bottom:12px}.profile-tabs button{padding:11px 16px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--muted);white-space:nowrap;font-size:12px;font-weight:650;cursor:pointer}.profile-tabs button.active{background:var(--green);border-color:var(--green);color:#fff}.profile-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.profile-section{margin-bottom:20px;min-width:0}.profile-section h2{margin-bottom:14px}.profile-section>p{line-height:1.8;margin:12px 0}.profile-task{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:19px 0;border-bottom:1px solid var(--line)}.profile-task:last-child{border-bottom:0}.profile-task>div:first-child{min-width:0;overflow-wrap:anywhere}.profile-task strong{font-size:14px;line-height:1.5}.profile-task p{margin:7px 0;line-height:1.7}.profile-task-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}.profile-comment{white-space:pre-wrap;font-size:12px;padding:10px 12px;background:#f4f5fc;border-radius:9px}.profile-attention{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;margin-bottom:20px;border-radius:16px;background:#fff3df;border:1px solid #efd9b7}.profile-attention p{font-size:12px;line-height:1.7;margin-top:7px}.profile-filter{margin:17px 0}.profile-filter label{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--muted)}.profile-filter select{background:#fff;padding:10px 13px;border:1px solid var(--line);border-radius:10px;max-width:100%}.teacher-student-profile .field{display:grid;gap:8px}.profile-review{scroll-margin-top:100px;margin-bottom:20px}.printing-access .teacher-student-profile>*:not(.access-issued){display:none!important}@media(max-width:1150px){.profile-overview-grid{grid-template-columns:1fr}}@media(max-width:700px){.profile-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-kpis>div{padding:14px}.profile-kpis strong{font-size:23px}.profile-task{flex-direction:column;gap:9px}.profile-task-actions{width:100%;flex-direction:row;flex-wrap:wrap;align-items:center}.profile-task-actions .btn{min-height:42px}.profile-attention{flex-wrap:wrap;padding:18px}.profile-filter label{align-items:flex-start;flex-direction:column}.profile-tabs{gap:6px}.profile-tabs button{padding:10px 13px}.profile-kpis span{font-size:10px;line-height:1.5}.profile-toolbar{margin-bottom:17px}}
.student-list-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0 8px}.student-management-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 0;border-bottom:1px solid var(--line)}.student-management-row .row{min-width:0}.student-management-row strong{overflow-wrap:anywhere}.student-management-row p{margin:6px 0;line-height:1.7}.student-management-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.student-list>p{margin-top:20px;line-height:1.8}.student-delete-confirm{margin-bottom:22px;background:#fff6f3;border-color:#e9c2b7;display:grid;gap:15px}.student-delete-confirm p{font-size:13px;line-height:1.8;max-width:800px}.student-delete-confirm .field{display:grid;gap:8px}.btn.danger{color:#a2383b;border-color:#e9bfc0;background:#fff5f4}.btn.danger:hover{background:#fce6e5}.btn.danger:disabled{opacity:.5}@media(max-width:680px){.student-management-row{align-items:flex-start;flex-direction:column;gap:13px}.student-management-actions{width:100%}.student-management-actions>.btn{flex:1;min-height:42px}}
:root{--ink:#182d30;--muted:#657779;--line:#e1e4ec;--paper:#fff;--green:#5264c9;--green-dark:#394ba8;--mint:#edf1ff;--purple:#7155ad;--radius:20px}
.login-page{max-width:1160px;min-height:100dvh;margin:0 auto;padding:35px 35px 20px;display:flex;flex-direction:column}.login-brand{display:flex;gap:11px;align-items:center;font-size:18px;font-weight:750;letter-spacing:-.5px}.login-brand small{font-size:10px;background:#eee8f6;padding:4px 5px;border-radius:5px;color:#7d639f;vertical-align:middle}.login-mark{display:grid;place-items:center;width:40px;height:40px;background:#dce0ec;border-radius:13px;color:#4d597d}.login-mark svg{width:23px;height:23px}.login-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:75px;flex:1;padding:40px 0 45px}.login-story{padding:15px}.login-illustration{width:260px;height:245px;display:block;margin:0 0 22px}.login-story .eyebrow{display:block;color:#606f9c;font-size:10px;letter-spacing:1.6px}.login-story h2{font-size:35px;line-height:1.25;letter-spacing:-1.3px;font-weight:650;max-width:350px;margin-bottom:16px}.login-story p{font-size:14px;line-height:1.9;color:#5a6994;max-width:340px}.login-card{background:#fff;border:1px solid #dde0ea;border-radius:24px;padding:35px;box-shadow:0 12px 45px #232a4008}.login-label{display:flex;gap:8px;align-items:center;font-size:9px;font-weight:750;color:#6574a1;letter-spacing:1.3px;margin-bottom:22px}.login-label svg{width:17px;height:17px}.login-card h1{font-size:27px;line-height:1.3;letter-spacing:-.9px;font-weight:700;margin:0 0 11px}.login-description{font-size:13px;color:#5f6e9c;line-height:1.8;margin-bottom:26px}.login-card .field input{height:49px;font-size:14px}.login-card .form{gap:20px}.secret-field{position:relative}.secret-field input{padding-right:72px}.secret-field button{position:absolute;right:11px;top:9px;bottom:9px;border:0;background:#eeebf5;border-radius:7px;color:#56638c;font-size:10px;padding:5px 9px;min-width:49px}.login-submit{min-height:49px;font-size:13px;justify-content:space-between;padding-left:18px;padding-right:18px}.login-submit>span{font-size:18px}.login-status{font-size:12px;line-height:1.7;color:#a44842;min-height:0;display:none}.login-status.has-message{display:block;background:#fcf2ec;border:1px solid #f1e0d4;border-radius:10px;padding:11px 13px}.login-help{font-size:11px;color:#6f7da7;line-height:1.8;padding-top:22px;margin-top:22px;border-top:1px solid #eae7f1}.login-connection{margin-top:16px;font-size:10px;line-height:1.7;color:#6b79a4;background:#f7f8f2;padding:12px;border-radius:9px}.login-footer{text-align:center;color:#7280a9;font-size:11px;padding:12px}.student-login .login-story h2{max-width:390px}.access-note{display:grid;gap:10px;margin-bottom:20px;background:#ebeef6}.access-note p{font-size:12px;color:#56638b}.access-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #e1e4ee}.access-row:last-child{border:0}.access-row strong{font-size:14px}.access-issued{border-color:#9da9cc;margin-bottom:20px;display:grid;gap:15px}.access-issued p{font-size:13px;overflow-wrap:anywhere}.access-code{font-size:20px;letter-spacing:1px;color:#3f4a6b;display:inline-block;padding:10px;background:#e6eaf5;border-radius:9px}.sync-error{padding:15px 24px;background:#fff1df;border-bottom:1px solid #e8cbaa;color:#8b5c33;display:flex;gap:15px;align-items:center;font-size:12px;flex-wrap:wrap}.sync-error>span{flex:1;min-width:200px}.logout-button{margin-left:5px}.printing-access .top,.printing-access .sidebar,.printing-access .heading,.printing-access .access-note,.printing-access .access-row,.printing-access .footnote{display:none!important}.printing-access main>.card:not(.access-issued){display:none!important}.printing-access .access-issued{border:1px solid #bbb;box-shadow:none}.printing-access .layout{display:block}.printing-access .access-issued button{display:none!important}
@media(max-width:900px){.login-layout{gap:30px}.login-story h2{font-size:29px}.login-card{padding:28px}.login-illustration{width:220px;height:205px}.top-tools:has(.logout-button){gap:10px}}
@media(max-width:620px){.login-page{padding:22px 19px 12px;max-width:440px}.login-brand{font-size:16px}.login-layout{display:block;padding:23px 0}.login-story{padding:0;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.login-illustration{width:132px;height:120px;margin:0}.login-story .eyebrow,.login-story h2,.login-story p{display:none}.login-card{padding:26px 23px;border-radius:21px}.login-card h1{font-size:25px}.login-label{font-size:8px;margin-bottom:16px}.login-description{font-size:12px;margin-bottom:23px}.login-card .field input{font-size:16px}.login-brand .login-mark{width:33px;height:33px;border-radius:11px}.login-help{font-size:10px}.login-footer{font-size:10px}.top-tools:has(.logout-button) .view-badge{display:none}.access-row{align-items:flex-start;flex-direction:column;gap:12px}.access-code{font-size:16px;letter-spacing:.4px}.sync-error{padding:14px}}
.view-badge{display:inline-flex;align-items:center;gap:8px;color:#414b69;background:#e8ebf3;border:1px solid #d8dce8;border-radius:11px;padding:10px 13px;font-size:12px;font-weight:650;white-space:nowrap}.view-badge .ui-icon{width:17px;height:17px}
.cards.teacher-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.teacher-stats .stat{display:block}.teacher-stats .stat-note{display:block;margin-top:5px}.teacher-stats .stat:nth-child(4) .stat-icon{background:#fae9db;color:#a67549}.teacher-overview{margin-top:20px;display:flex;gap:24px;justify-content:space-between;align-items:center}.teacher-overview>div{display:grid;gap:7px}.teacher-overview strong{font-size:13px}.teacher-overview .small{font-size:11px}
@media(max-width:1100px){.cards.teacher-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-overview{flex-wrap:wrap}}
@media(max-width:560px){.teacher-overview{gap:20px}.teacher-overview>.btn{width:100%}.teacher-stats .stat .stat-top{min-height:0;flex-direction:row;align-items:center}.teacher-stats .stat-note{font-size:9px}.teacher-stats .stat .num{font-size:28px}.cards.teacher-stats{gap:10px}.teacher-stats .stat{padding:16px}}
@media(max-width:560px){.view-badge{font-size:10px;padding:8px;gap:5px}.view-badge .ui-icon{width:14px;height:14px}}
html{background:#faf9f6;color:var(--ink);font-family:"Segoe UI",system-ui,sans-serif;font-size:15px}body{background:radial-gradient(ellipse at 85% 0,#e9ebf1 0,transparent 50%);min-height:100vh}button,input,select,textarea{font-family:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8b72be;outline-offset:4px}button:disabled{transform:none!important}.ui-icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.top{background:#ffffffed;border-color:var(--line);backdrop-filter:blur(18px)}.top-inner{max-width:1480px;min-height:84px;padding:14px 38px}.brand{gap:12px;font-size:17px;letter-spacing:-.5px;color:var(--ink)}.brand-copy{display:grid;gap:3px}.brand-copy small{font-size:10px;font-weight:650;letter-spacing:1.7px;color:var(--muted);text-transform:uppercase}.fox{width:43px;height:43px;border-radius:14px;background:#f1e9de;font-size:27px}.brand-edition{font-size:10px;background:#efeaf7;color:#7155ad;padding:3px 5px;border-radius:5px;vertical-align:middle;letter-spacing:.4px}.top-tools{display:flex;align-items:center;gap:20px}.local-status{display:flex;gap:7px;align-items:center;font-size:12px;color:#536088}.local-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#3b4f8a}.role-switch{background:#f0eef5;padding:4px;border:1px solid #dfe2eb;border-radius:12px}.role-switch button{padding:9px 13px;color:#536087;display:flex;align-items:center;gap:7px}.role-switch .ui-icon{width:16px;height:16px}.role-switch button.active{color:var(--green);box-shadow:0 2px 5px #16203d10}
.layout{max-width:1480px;grid-template-columns:218px minmax(0,1fr);gap:38px;padding:32px 38px}.sidebar{background:transparent;color:var(--ink);padding:12px 0;top:108px;border-radius:0}.sidebar .side-header{font-size:10px;color:#6c7aa5;text-transform:uppercase;letter-spacing:1.8px;font-weight:700;margin:8px 16px 18px}.nav{gap:6px}.nav button{border-radius:11px;padding:13px 15px;font-size:13px;font-weight:600;color:#546188;gap:13px}.nav button:hover{background:#eae8f1;color:var(--green)}.nav button.active{background:#e2e5ee;color:#202f5d;font-weight:750;box-shadow:inset 3px 0 #2e3f70}.nav button.active .nav-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:var(--green)}.sidebar-bottom{margin-top:38px;border-top:1px solid var(--line);padding:21px 14px}.sidebar-bottom .side-note{margin:10px 0 0;font-size:12px;line-height:1.7;color:#6473a0}.sidebar-bottom strong{font-size:12px;display:flex;align-items:center;gap:8px}.sidebar-bottom .ui-icon{width:16px;height:16px;color:#62719e}
.heading{margin:8px 0 25px;align-items:center}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#61709e;margin-bottom:10px;font-weight:700}.heading h1{font-size:clamp(25px,3vw,34px);letter-spacing:-1.2px;line-height:1.2;font-weight:720}.heading p{font-size:13px;color:var(--muted);margin-top:9px;max-width:620px}.btn{border-radius:10px;min-height:43px;border-color:#d9dde8;color:#363f59;padding:11px 16px;font-size:12px;font-weight:700;gap:8px}.btn:hover{background:#f0eff5;border-color:#a1aac5;transform:translateY(-1px)}.btn.primary,.btn.green{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 3px 6px #18264f10}.btn.primary:hover,.btn.green:hover{background:var(--green-dark);border-color:var(--green-dark)}.btn.smol{border-radius:8px;font-size:11px;min-height:34px}.btn.danger{color:#a44242;border-color:#ebd4d0}.card,.kid-card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 10px #23293c03;padding:23px}.card h2,.kid-card h2{font-size:16px;font-weight:720;letter-spacing:-.3px}.muted{color:var(--muted)}.small{font-size:12px}.section-title{font-size:17px;font-weight:700;letter-spacing:-.4px;margin:28px 0 14px}.cards{gap:16px}.grid-2{gap:18px;margin-top:20px;grid-template-columns:1.15fr 1fr}.boxline{border-color:#ebedf3;padding:16px 0}.boxline strong{font-size:13px}.boxline p{font-size:12px}.pill{background:#f0ecf7;color:#6b5594;font-size:10px;letter-spacing:.1px;padding:6px 9px;font-weight:650;flex-shrink:0}.pill.green{background:#eceaf3;color:#3b4870}.pill.gray{background:#f0eff5;color:#5c6a96}.pill.orange{background:#fcf0de;color:#96671d}.empty{padding:28px 16px;font-size:13px;color:#6574a1}.empty .emoji{font-size:29px}.subtle{background:#eceef4;color:#4e5a7f;border:1px solid #dee1eb;font-size:12px;border-radius:11px}.alert{background:#fff8e9;border-color:#efe1c2;color:#866529;font-size:12px}.footnote{font-size:11px;color:#6f7da6;max-width:950px;padding:18px 20px 25px;margin-top:10px}.footnote details summary{cursor:pointer}.footnote details p{max-width:660px;margin:10px auto 0}
.welcome-card{display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden;background:#e4e7f0;border:1px solid #d7dbe8;border-radius:22px;padding:28px 31px;margin-bottom:21px;min-height:190px}.welcome-copy{max-width:62%;z-index:1}.welcome-copy .eyebrow{color:#536088;letter-spacing:1.6px}.welcome-copy h2{font-size:26px;line-height:1.22;letter-spacing:-.9px;font-weight:650;margin:0 0 10px}.welcome-copy p{font-size:12px;line-height:1.8;color:#4f5c82;max-width:390px}.welcome-copy .btn{margin-top:18px;background:#fffaf0;border-color:#fffaf0;color:#3e4865;min-height:37px;padding:9px 13px}.welcome-art{width:225px;height:170px;position:relative;flex-shrink:0}.art-circle{position:absolute;width:155px;height:155px;border-radius:50%;background:#cbd2e5;left:35px;top:8px}.art-book{position:absolute;width:113px;height:134px;background:#495476;transform:rotate(-12deg);left:58px;top:22px;border-radius:7px 14px 14px 7px;border-left:9px solid #343e5c;box-shadow:8px 9px 0 #acb4cc}.art-book:before{content:"Aa";position:absolute;left:18px;top:27px;color:#fff5d9;font-size:42px;font-weight:600;letter-spacing:-3px}.art-book:after{content:"ENGLISH CLUB";position:absolute;left:17px;bottom:20px;color:#cbd2e6;font-size:8px;font-weight:700;letter-spacing:1px}.art-bubble{position:absolute;top:1px;right:0;background:#fff9e9;border:1px solid #e5dfcb;padding:12px 15px;border-radius:14px 14px 14px 2px;color:#444e6e;font-size:15px;font-weight:650;transform:rotate(8deg);box-shadow:0 5px 8px #3b445f10}.art-star{position:absolute;bottom:0;left:3px;font-size:44px;color:#bd8f4d;transform:rotate(-14deg)}.art-dot{position:absolute;width:11px;height:11px;background:#7c89af;border-radius:50%;right:8px;bottom:20px}
.stat{display:grid;grid-template-columns:1fr auto;padding:20px 23px;position:relative}.stat .stat-top{display:flex;align-items:center;gap:10px;font-size:12px;color:#58668f;font-weight:600;grid-column:1/-1}.stat .stat-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:10px;background:#eaecf2;color:#57658f}.stat:nth-child(2) .stat-icon{background:#eee9f6;color:#8b71b1}.stat:nth-child(3) .stat-icon{background:#fbf0e0;color:#ba945d}.stat .num{font-size:32px;font-weight:650;letter-spacing:-1.3px;margin:10px 0 0;color:#262c3d}.stat .stat-note{align-self:end;font-size:10px;color:#727fa8;margin-bottom:4px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}.panel-heading h2{margin:0}.text-action{border:0;background:transparent;color:var(--green);font-size:11px;font-weight:700;padding:5px;display:inline-flex;align-items:center;gap:4px}.text-action .ui-icon{width:14px;height:14px}.task-icon{width:38px;height:42px;border-radius:10px;background:#f2eee7;display:grid;place-items:center;color:#aa8b62;flex-shrink:0}.task-info{flex:1;min-width:0}.task-info strong{display:block;line-height:1.5}.task-info .small{margin-top:3px;font-size:11px}.progress-summary{display:flex;justify-content:space-between;gap:10px;padding-top:17px;margin-top:8px;border-top:1px solid var(--line);font-size:11px;color:#62719f}.progress-summary b{color:var(--green)}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.quick-action{display:flex;align-items:center;gap:13px;padding:19px;border:1px solid var(--line);border-radius:15px;background:#fff;text-align:left;color:var(--ink)}.quick-action:hover{background:#f0eff5;border-color:#b3bbd1;transform:translateY(-2px)}.quick-action .quick-icon{display:grid;place-items:center;border-radius:12px;width:39px;height:39px;background:#ece9f3;color:#505d83;flex-shrink:0}.quick-action:nth-child(2) .quick-icon{background:#efeaf8;color:#8e74b3}.quick-action:nth-child(3) .quick-icon{background:#fbf1df;color:#a48750}.quick-action strong{font-size:12px;display:block;margin-bottom:4px}.quick-action small{font-size:10px;color:#7583ab;line-height:1.5}.quick-action>.ui-icon{margin-left:auto;width:15px;color:#717fa8}
.field{gap:8px}.field label{font-size:12px;color:#465171;font-weight:650}.field input,.field select,.field textarea{background:#fdfcfe;border-color:#d9dde8;border-radius:10px;font-size:13px;padding:12px;color:#293043}.field input:hover,.field select:hover,.field textarea:hover{border-color:#a8b0c9}.field textarea{line-height:1.75}.form{gap:19px}.count-kind{border-color:#e0e3ec;background:#f6f7fa;border-radius:11px;padding:12px}.count-kind label{font-size:12px;font-weight:600}.count-kind input[type=checkbox],.check input{accent-color:var(--green)}.count-kind input[type=number]{border-color:#d6dae6;border-radius:8px;font-size:13px}.check{background:#f5f4f9;border-color:#dfe2eb;font-size:12px;padding:12px;border-radius:10px}.assignment-layout{grid-template-columns:minmax(0,1.25fr) minmax(270px,.8fr);gap:22px}.side-summary{top:108px}.proof-pinned{background:#efedf6;color:#465171;border-color:#556490;font-size:12px}.count-tag{background:#e4e7f0;color:#475273;font-size:11px}.question-review{border-color:var(--line);border-radius:14px;padding:18px}.question-review .q-meta{font-size:10px;letter-spacing:.7px;color:#5b6994}.question-review .q-text{font-size:14px;color:#2b3246}.question-review .answer-good{background:#e9ecf5;color:#495578;font-size:12px}.review-edit{background:#f6f7f0;border-color:#d7dbe7}.reading,.reading-long{background:#f7f8fb;border-color:#dfe2ec;color:#30374e;font-size:16px;line-height:1.95;border-radius:13px}.reading-preview-card{background:#f7f8fb;border-color:#dcd9e7;padding:16px;border-radius:13px}.reading-custom{background:#eef0f6}.classes{gap:17px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.class-card{background:#fff;border-color:var(--line);padding:22px;border-radius:16px;transition:border-color .2s,box-shadow .2s}.class-card:hover,.class-card:focus-within{border-color:#9da7c3;box-shadow:0 5px 20px #2c334808}.class-card .class-action{color:var(--green);font-size:11px}.class-card strong{font-size:19px}.avatar{background:#ebe8f2;color:#546188;border-radius:12px}.roster-row{border-color:var(--line)}.table th{background:#f5f4f9;text-transform:uppercase;font-size:9px;letter-spacing:1px;color:#61709e;border-color:var(--line)}.table td{border-color:#e9ebf1;padding:16px 11px;font-size:12px}.table-wrap{padding:19px}.bar{background:#e2e5ee;height:6px}.bar>div{background:#6b79a4}
.student-wrap{max-width:920px;padding:34px 24px 60px}.student-top{margin:5px 0 26px}.student-top h1{font-size:30px;letter-spacing:-1.1px}.kiddie{display:grid;place-items:center;width:60px;height:60px;background:#f3eadb;border-radius:20px;font-size:36px}.kid-card{margin-bottom:19px}.mode-grid{gap:18px}.mode{position:relative;overflow:hidden;min-height:211px;padding:27px;border-radius:21px;background:#eee9f6;border-color:#e2d9ef;gap:9px;color:#493865;transition:transform .2s,box-shadow .2s}.mode:hover{transform:translateY(-3px);box-shadow:0 8px 25px #452d650c}.mode:after{content:"↗";position:absolute;right:23px;top:23px;font-size:24px;opacity:.45}.mode.greenish{background:#e1e5f0;border-color:#d3d8e6;color:#3a4461}.mode .big{font-size:35px;margin-bottom:6px}.mode b{font-size:21px;font-weight:650;letter-spacing:-.6px}.mode p{font-size:12px;max-width:240px;line-height:1.8}.mode .pill{width:max-content;margin-top:5px}.word{border-color:#dfe2ec;background:#f7f8fb;padding:19px;border-radius:14px}.word .english{font-size:19px;color:#2f364c}.word .polish{font-size:15px;font-weight:500;color:#5a6994}.word .emo{font-size:27px;margin-bottom:8px}.quiz-stage{border-color:var(--line);padding:25px;border-radius:17px}.question-head .round{background:#eae7f1;color:#495476;font-size:11px}.prompt{font-size:21px;color:#2a3044;letter-spacing:-.4px;font-weight:650;margin:17px 0 23px}.choice{border-color:#d5d9e5;border-radius:12px;font-size:14px;padding:17px;color:#363f59;font-weight:600}.choice:hover{background:#f0eef7;border-color:#8b96b8}.choice.selected{background:#e3def0;border-color:#62719e;color:#29365c;box-shadow:0 0 0 1px #62719e}.tokens{background:#f1eff6;border-radius:12px;padding:13px;gap:9px}.token{border-color:#d4d0e2;border-radius:9px;color:#3b4561;font-size:14px}.token.selected{background:#d9deed;border-color:#98a4c7}.grammar-table{border-color:var(--line)}.grammar-table>div{border-color:var(--line);font-size:13px}.grammar-table>div:nth-child(odd){background:#f6f4fa}.grammar-table strong{color:#455071}.grammar-table span{color:#363e57}.grammar-section{color:#414c6b;font-size:15px}.toast{background:#252c3f;border-radius:12px;font-size:13px}.feedback{font-size:13px}.feedback.good{background:#e5e9f5;color:#394874}
.reading-preview-card>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;font-size:13px}.reading-preview-card>summary::-webkit-details-marker{display:none}.reading-preview-card>summary:after{content:"+";color:#56638b;font-size:22px}.reading-preview-card[open]>summary:after{content:"−"}.reading-preview-hint{display:block;margin-top:5px;font-size:10px}
@media(min-width:1600px){.layout{padding-top:42px}}
@media(max-width:1100px){.layout{grid-template-columns:190px minmax(0,1fr);gap:24px;padding:26px 24px}.top-inner{padding:14px 24px}.quick-actions{gap:9px}.quick-action{padding:14px;gap:9px}.quick-action>.ui-icon{display:none}.welcome-art{transform:scale(.85);transform-origin:right center;width:190px}.welcome-card{padding:25px}.local-status{display:none}}
@media(max-width:840px){.layout{grid-template-columns:minmax(0,1fr);padding:18px 20px;gap:12px}.sidebar{padding:0;position:static;overflow:visible}.sidebar .side-header,.sidebar-bottom{display:none}.nav{gap:5px;padding:3px 2px 12px;overflow:auto}.nav button{padding:11px 13px;border:1px solid #dee1ea;background:#fff;font-size:11px}.nav button.active{border-color:#c9cfdf;box-shadow:none}.nav .ui-icon{width:16px;height:16px}.nav-dot{display:none}.heading{margin-top:10px}.top-inner{min-height:74px}.assignment-layout{grid-template-columns:minmax(0,1fr)}.side-summary{position:static}.grid-2{grid-template-columns:1fr 1fr}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-action{align-items:flex-start;flex-direction:column}.welcome-copy{max-width:65%}.welcome-art{width:170px}.brand-copy small{font-size:8px}.brand{font-size:15px}.top-tools{gap:0}}
@media(max-width:560px){.top-inner{padding:12px 14px;gap:9px}.brand{font-size:12px;gap:7px;letter-spacing:-.3px}.brand-copy small{font-size:7px;letter-spacing:1px}.fox{width:33px;height:36px;font-size:22px;border-radius:10px}.brand-edition{font-size:8px}.role-switch button{font-size:10px;padding:8px;gap:4px}.role-switch .ui-icon{display:none}.layout{padding:13px 14px;gap:9px}.nav{margin:0 -2px;padding-bottom:8px}.heading{align-items:flex-start;gap:13px;margin:13px 0 20px}.heading h1{font-size:28px}.heading p{font-size:12px;line-height:1.7}.heading>.btn{min-height:38px;padding:9px 12px}.welcome-card{padding:23px;min-height:220px;align-items:flex-start}.welcome-copy{max-width:76%}.welcome-copy h2{font-size:23px}.welcome-copy p{max-width:210px;font-size:11px}.welcome-art{position:absolute;right:-62px;bottom:-31px;transform:scale(.62);opacity:.75;pointer-events:none}.welcome-copy .btn{position:relative;z-index:2}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat{padding:13px;display:block}.stat .stat-top{flex-direction:column;align-items:flex-start;gap:9px;font-size:10px;line-height:1.4;min-height:61px}.stat .stat-icon{width:29px;height:29px}.stat .stat-icon .ui-icon{width:17px;height:17px}.stat .num{font-size:26px;margin-top:8px}.stat .stat-note{display:none}.grid-2{grid-template-columns:minmax(0,1fr);gap:15px;margin-top:16px}.card,.kid-card{padding:20px;border-radius:17px}.quick-actions{grid-template-columns:minmax(0,1fr);gap:9px}.quick-action{flex-direction:row;align-items:center;padding:16px}.quick-action>.ui-icon{display:block}.quick-action small{font-size:11px}.quick-action strong{font-size:13px}.section-title{margin-top:24px}.student-wrap{padding:23px 14px 40px}.student-top h1{font-size:25px}.student-top .eyebrow{font-size:8px;letter-spacing:1.1px}.kiddie{width:46px;height:49px;font-size:29px;border-radius:16px}.mode-grid{grid-template-columns:minmax(0,1fr);gap:13px}.mode{padding:23px;min-height:190px}.answer-grid,.word-grid,.check-grid{grid-template-columns:minmax(0,1fr)}.quiz-stage{padding:18px}.prompt{font-size:19px}.footnote{font-size:10px}.progress-summary{font-size:10px}.boxline{gap:10px}.task-icon{width:31px;height:36px}.task-info strong{font-size:12px}.task-info .small{font-size:10px}.panel-heading h2{font-size:15px}.count-kind{grid-template-columns:18px minmax(0,1fr) 63px}.count-kind input[type=number]{max-width:63px}.roster-row .mini-select{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
/* Tools, progress and the illustrated student journey. */
.lesson-art{width:92px;height:92px;flex-shrink:0;overflow:visible}.fox-art{width:40px;height:40px;display:block}.kiddie .fox-art{width:52px;height:52px}.fox{background:#f7ebdc}.mode .big{margin:0 0 5px;line-height:0}.mode .lesson-art{width:105px;height:105px}.mode{min-height:260px}.mode .pill{margin-top:auto}.success-art .lesson-art{width:145px;height:145px}.ui-icon{stroke-width:1.8}.mode:nth-child(1){background:linear-gradient(140deg,#edf0f8,#e7e1f1)}.mode.greenish{background:linear-gradient(140deg,#e7eaf3,#d9deed)}
.search-panel{margin-bottom:20px}.filter-form{display:flex;flex-wrap:wrap;gap:13px;align-items:flex-end}.tool-field{display:grid;gap:7px;flex:1;min-width:130px}.tool-field:first-child{flex:1.5}.tool-field>span{font-size:11px;font-weight:700;color:#536088}.tool-field input,.tool-field select{width:100%;height:43px;border:1px solid #d9dde8;border-radius:9px;background:#fff;color:#293043;padding:9px 11px;font-size:12px;min-width:0}.search-count{font-size:12px;color:#596791;margin:10px 0 20px}.class-card h3{margin:12px 0 8px;font-size:16px}.class-card>.btn{margin-top:16px}.tool-intro{display:flex;align-items:center;gap:24px;background:#ebe9f2;border:1px solid #d9dde8;border-radius:20px;padding:22px 28px;margin-bottom:22px}.tool-intro h2{font-size:24px;letter-spacing:-.7px;margin-bottom:8px}.tool-intro p{font-size:13px;color:#596790;max-width:560px}.backup-counts{background:#eff1f7;border-radius:9px;padding:11px;font-size:12px;color:#4c587b}.file-drop{display:grid;border:1px dashed #9ca5c2;border-radius:13px;background:#f6f5fa;padding:17px;gap:12px;cursor:pointer}.file-drop input{max-width:100%;font-size:12px}.file-drop span{font-size:11px;color:#596791}.import-preview{margin:20px 0;border:1px solid #aeb6cf;background:#eceff8;display:grid;gap:14px}.import-preview p{font-size:13px}.student-tools{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.feature-card{display:flex;gap:17px;align-items:flex-start}.feature-card .lesson-art{width:77px;height:77px}.feature-card .eyebrow{font-size:8px;line-height:1.6}.feature-card h2{font-size:17px;line-height:1.4}.feature-card p{font-size:12px;color:#596792;margin:8px 0 15px}.progress-profile{margin-bottom:20px}.progress-profile h2{font-size:23px}.progress-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border-top:1px solid #dfe2eb;padding-top:23px;margin-top:18px}.progress-kpis>div{display:grid;gap:6px}.progress-kpis strong{font-size:29px;font-weight:650;color:#3e4866}.progress-kpis span{font-size:11px;color:#5f6e9b}.progress-chart{width:100%;height:170px;margin:15px 0 5px}.topic-progress{padding:15px 0;border-bottom:1px solid #e3e6ee}.topic-progress:last-child{border:0}.topic-progress .between{margin-bottom:10px;font-size:12px}.topic-progress .tiny-status{display:block;margin-top:7px}.task-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.task-catalog-card h3{font-size:18px;margin:15px 0 7px}.task-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.task-actions .ui-icon{width:15px;height:15px}
.quiz-action-count{display:none}.quiz-actions>.btn{min-height:47px}.quiz-actions{border-top:1px solid #dfe2eb;padding-top:16px}.quiz-card{scroll-margin-top:100px}.quiz-active .student-top.during-quiz,.quiz-active .profile-picker.during-quiz{display:none}.quiz-active{padding-top:22px}.quiz-card .reading-head h3{font-size:17px}.quiz-card .reading{font-size:15px}.quiz-active .feedback{scroll-margin-bottom:110px}.quiz-card .choice.selected{box-shadow:0 0 0 2px #606f9c}.quiz-card .choice.selected:before{content:"✓ ";font-weight:800}.quiz-active~.footnote{display:none}
.nav .ui-icon{width:29px;height:29px;padding:5px;background:#eae8f1;border-radius:8px;color:#5a6892}.nav button:nth-child(2) .ui-icon,.nav button:nth-child(6) .ui-icon{background:#efeaf5;color:#8b71aa}.nav button:nth-child(3) .ui-icon,.nav button:nth-child(7) .ui-icon{background:#f6ecd9;color:#a88b55}.nav button.active .ui-icon{background:#d4d8e4;color:#455175}
.print-toolbar{display:flex;align-items:center;gap:15px;padding:20px;position:sticky;top:0;background:#eff1f7;border-bottom:1px solid #d7dbe6;z-index:10;flex-wrap:wrap}.print-toolbar span{font-size:12px;color:#4f5c82}.worksheet{max-width:850px;margin:26px auto;background:#fff;box-shadow:0 4px 30px #2025350b;padding:48px;color:#181d2b}.worksheet header{border-bottom:2px solid #4e5b80;padding-bottom:20px;margin-bottom:28px}.worksheet header>span{font-size:10px;letter-spacing:1px}.worksheet h1{font-size:27px;margin:10px 0 18px}.worksheet header p{font-size:12px}.worksheet-reading{padding:18px;background:#f6f4fa;border:1px solid #d5d9e5;margin:20px 0}.worksheet-reading h2{font-size:17px;margin-bottom:10px}.worksheet-reading p{white-space:pre-wrap;font-size:13px;line-height:1.8}.worksheet-question{margin:22px 0;break-inside:avoid}.worksheet-question h3{font-size:14px;white-space:pre-wrap;line-height:1.6;margin-bottom:12px}.worksheet-question p,.worksheet-question li{font-size:13px;line-height:1.8}.worksheet-question ol{padding-left:25px;margin:10px 0}.worksheet-audio{font-style:italic;color:#4f5c82}.worksheet-key{padding:12px;background:#e8ebf4;border-left:3px solid #707ea7;font-size:13px}.worksheet-key p{font-size:11px}.answer-lines{height:45px;background:repeating-linear-gradient(transparent 0,transparent 22px,#c5cadb 23px,transparent 24px)}.answer-lines.long{height:160px}
@media(max-width:1000px){.student-tools{grid-template-columns:1fr}.feature-card .lesson-art{width:86px;height:86px}}
@media(max-width:840px){.quiz-active{padding-bottom:120px;padding-top:12px}.quiz-card{scroll-margin-top:86px}.quiz-active .quiz-card{padding:17px;margin:0}.quiz-active .quiz-stage{padding:16px;border:0;margin:0 -8px!important}.quiz-actions{position:fixed;left:0;right:0;bottom:0;z-index:20;margin:0!important;padding:11px max(16px,calc((100vw - 850px)/2)) calc(11px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #d9d4e6;box-shadow:0 -8px 26px #242a3b10;backdrop-filter:blur(15px);gap:10px;flex-wrap:nowrap}.quiz-actions>.btn.primary{max-width:500px}.quiz-action-count{display:block;font-size:11px;color:#596791;white-space:nowrap;min-width:37px}.quiz-actions .btn{min-height:47px;padding:11px 15px}.quiz-active .reading{max-height:28dvh;overflow:auto;overscroll-behavior:contain;padding:13px;line-height:1.8;font-size:14px}.quiz-active .reading-head{margin-top:0;gap:5px}.quiz-active .reading-head .pill{display:none}.quiz-active .reading-head h3{font-size:15px}.quiz-active .prompt{margin:12px 0 16px;font-size:19px}.quiz-active .question-head{margin-bottom:12px}.quiz-active .question-head .round{max-width:80%;font-size:10px}.quiz-active .question-head strong{font-size:12px}.quiz-active .answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.quiz-active .long-choices .answer-grid{grid-template-columns:1fr}.quiz-active .choice{padding:13px 10px;min-height:53px;font-size:13px;overflow-wrap:anywhere}.quiz-active .choice.emoji{font-size:32px}.quiz-active .token{padding:10px;font-size:13px}.quiz-active .tokens{padding:10px;gap:7px}.quiz-active .field input{font-size:16px}.quiz-active .writing{font-size:16px}.quiz-active .feedback{margin-bottom:10px}.quiz-active .bar{height:4px}.quiz-active .quiz-card:has(.quiz-stage)>.question-head{position:static}.tool-intro{padding:20px}.tool-intro h2{font-size:21px}}
@media(max-width:560px){.filter-form{gap:12px}.tool-field{flex:1 1 calc(50% - 12px);min-width:120px}.tool-field:first-child{flex-basis:100%}.filter-form>.btn{flex:1;min-height:43px}.tool-intro{gap:15px;padding:18px}.tool-intro .lesson-art{width:70px;height:70px}.tool-intro h2{font-size:18px}.tool-intro p{font-size:11px}.mode{min-height:243px;padding:22px}.mode .lesson-art{width:91px;height:91px}.mode b{font-size:20px}.mode p{font-size:12px}.feature-card{padding:19px;gap:13px}.feature-card .lesson-art{width:65px;height:65px}.feature-card h2{font-size:17px}.progress-profile .lesson-art{width:72px;height:72px}.progress-profile h2{font-size:20px}.progress-kpis{gap:10px}.progress-kpis strong{font-size:25px}.progress-kpis span{font-size:10px;line-height:1.6}.task-catalog{grid-template-columns:1fr}.worksheet{padding:20px;margin:12px}.worksheet h1{font-size:23px}.print-toolbar{padding:13px;gap:10px}.print-toolbar>.btn{flex:1}.print-toolbar span{flex-basis:100%;font-size:11px}.quiz-actions .btn{font-size:12px;padding:10px 12px}.quiz-actions .ui-icon{width:17px;height:17px}.quiz-active .question-head .round{font-size:9px;line-height:1.5}.kiddie .fox-art{width:43px;height:43px}}
@media(max-width:840px){.quiz-actions{bottom:var(--keyboard-offset,0px)}body:has(.quiz-active) .toast{bottom:calc(90px + var(--keyboard-offset,0px))}.nav .ui-icon{width:24px;height:24px;padding:4px}}
@media print{@page{size:A4;margin:16mm}.top,.sidebar,.btn,.quick-actions,.welcome-card,.footnote,.print-toolbar,#toast{display:none!important}.layout{display:block;padding:0}.card{box-shadow:none;break-inside:avoid}body,html{background:#fff!important}.worksheet{padding:0;margin:0;max-width:none;box-shadow:none}.worksheet-reading{break-inside:auto}.worksheet-key{background:#fff;border-color:#888}.worksheet-question li{padding:3px 0}}
