@font-face{font-family:Atkinson Hyperlegible;font-style:normal;font-display:swap;font-weight:400;src:url(./atkinson-hyperlegible-latin-ext-400-normal-DRk46D-x.woff2)format("woff2"),url(./atkinson-hyperlegible-latin-ext-400-normal-Bbz-b3yf.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible;font-style:normal;font-display:swap;font-weight:400;src:url(./atkinson-hyperlegible-latin-400-normal-BrHNak5F.woff2)format("woff2"),url(./atkinson-hyperlegible-latin-400-normal-BbWidj28.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Atkinson Hyperlegible;font-style:normal;font-display:swap;font-weight:700;src:url(./atkinson-hyperlegible-latin-ext-700-normal-BoVPHkS0.woff2)format("woff2"),url(./atkinson-hyperlegible-latin-ext-700-normal-CKkU2Dpt.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible;font-style:normal;font-display:swap;font-weight:700;src:url(./atkinson-hyperlegible-latin-700-normal-GZI4o3u0.woff2)format("woff2"),url(./atkinson-hyperlegible-latin-700-normal-BK6Glc0m.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lexend;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-vietnamese-400-normal-DoLa7jNB.woff2)format("woff2"),url(./lexend-vietnamese-400-normal-mPlHoWg5.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Lexend;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-latin-ext-400-normal-D38JI5AK.woff2)format("woff2"),url(./lexend-latin-ext-400-normal-D9P7pMo-.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lexend;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-latin-400-normal-CwRJVcUA.woff2)format("woff2"),url(./lexend-latin-400-normal-CHypAkT3.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lexend;font-style:normal;font-display:swap;font-weight:600;src:url(./lexend-vietnamese-600-normal-Cr1ePs6O.woff2)format("woff2"),url(./lexend-vietnamese-600-normal-BxEVPgxw.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Lexend;font-style:normal;font-display:swap;font-weight:600;src:url(./lexend-latin-ext-600-normal-hDcqLAH9.woff2)format("woff2"),url(./lexend-latin-ext-600-normal-BXtyp5LP.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lexend;font-style:normal;font-display:swap;font-weight:600;src:url(./lexend-latin-600-normal-DdvlkEkX.woff2)format("woff2"),url(./lexend-latin-600-normal-DSBzZxpA.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lexend;font-style:normal;font-display:swap;font-weight:700;src:url(./lexend-vietnamese-700-normal-BrGlFDtO.woff2)format("woff2"),url(./lexend-vietnamese-700-normal-NEp7hM5T.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Lexend;font-style:normal;font-display:swap;font-weight:700;src:url(./lexend-latin-ext-700-normal-CcWyeg4T.woff2)format("woff2"),url(./lexend-latin-ext-700-normal-iR1cPiNX.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lexend;font-style:normal;font-display:swap;font-weight:700;src:url(./lexend-latin-700-normal-DqO8md6r.woff2)format("woff2"),url(./lexend-latin-700-normal-DVyJlN8t.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:OpenDyslexic;font-style:normal;font-display:swap;font-weight:400;src:url(./opendyslexic-latin-400-normal-nUhe5EwG.woff2)format("woff2"),url(./opendyslexic-latin-400-normal-Cv3YY6GF.woff)format("woff")}@font-face{font-family:OpenDyslexic;font-style:normal;font-display:swap;font-weight:700;src:url(./opendyslexic-latin-700-normal-Bnmt45Ln.woff2)format("woff2"),url(./opendyslexic-latin-700-normal-wYUJcbXi.woff)format("woff")}:root{--primary:#3a6ea5;--primary-strong:#2b5786;--primary-ink:#1f3f63;--primary-soft:#e7eff8;--primary-text:#fff;--accent:#f2b544;--accent-soft:#fdf1d6;--accent-ink:#7a5300;--cream:#fbf6e9;--cream-deep:#f4ebd6;--bg:#f7f3ea;--surface:#fff;--text:#1f2328;--muted:#5c6168;--border:#e3dfd6;--border-strong:#cfc8b8;--selected:#dcebfa;--subject-italiano:#a8433a;--subject-italiano-bg:#fbe9e4;--subject-matematica:#276b5d;--subject-matematica-bg:#e1f2ed;--success:#2e7d32;--success-bg:#e6f4e7;--warning:#8a5a00;--warning-bg:#fff3d6;--danger:#b23b3b;--danger-strong:#962f2f;--danger-bg:#fbe8e8;--syl-a:#1f4e8c;--syl-b:#c0392b;--radius-sm:10px;--radius:14px;--radius-lg:22px;--shadow-sm:0 1px 2px #1f3f630f, 0 1px 1px #1f3f630a;--shadow-md:0 6px 18px #1f3f631a, 0 2px 4px #1f3f630d;--shadow-lg:0 14px 36px #1f3f6324;--touch:48px;--focus:#10335c;--font-ui:"Atkinson Hyperlegible", system-ui, sans-serif;--font-display:"Lexend", "Atkinson Hyperlegible", system-ui, sans-serif;font-family:var(--font-ui);color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-size:17px;line-height:1.5}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}h1,h2,h3{font-family:var(--font-display);color:var(--primary-ink);letter-spacing:-.01em;line-height:1.25}h1{margin:.5em 0 .4em;font-size:1.95rem;font-weight:700}h2{margin:1.5em 0 .5em;font-size:1.3rem;font-weight:600}h3{margin:1.2em 0 .4em;font-size:1.08rem;font-weight:600}a{color:var(--primary-strong)}.eyebrow{font-family:var(--font-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--primary-strong);align-items:center;gap:8px;margin:1.6em 0 .4em;font-size:.8rem;font-weight:700;display:flex}.eyebrow:before{content:"";background:var(--accent);border-radius:4px;width:18px;height:4px}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}main[tabindex="-1"]:focus{outline:none}.skip-link{z-index:100;background:var(--surface);min-height:44px;color:var(--text);border:2px solid var(--focus);border-radius:10px;align-items:center;padding:0 16px;font-weight:700;text-decoration:none;display:inline-flex;position:absolute;top:-100px;left:8px}.skip-link:focus{top:8px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}button,.button,select,input,textarea{font:inherit;color:inherit}button,.button{min-height:var(--touch);border-radius:var(--radius);border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;-webkit-tap-highlight-color:transparent;justify-content:center;align-items:center;gap:.4em;padding:0 1.1em;text-decoration:none;transition:background-color .15s,border-color .15s,box-shadow .15s,transform 80ms;display:inline-flex}button:disabled{opacity:.5;cursor:default}:is(button,.button):not(.reading-surface *):not(:disabled):hover{border-color:var(--primary);background:var(--primary-soft)}:is(button,.button):not(.reading-surface *):not(:disabled):active{transform:translateY(1px)}button.primary,.button.primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary);box-shadow:0 2px 0 var(--primary-ink);font-weight:700}:is(button,.button).primary:not(:disabled):hover{background:var(--primary-strong);border-color:var(--primary-strong)}:is(button,.button).primary:not(:disabled):active{box-shadow:0 0 0 var(--primary-ink);transform:translateY(2px)}button.danger{color:var(--danger);border-color:var(--danger);font-weight:700}button.danger:not(:disabled):hover{background:var(--danger-bg);border-color:var(--danger-strong);color:var(--danger-strong)}button.link,button.link:not(:disabled):hover{color:var(--primary-strong);background:0 0;border:none;min-height:44px;padding:0 .4em}button.link:not(:disabled):hover{text-decoration:underline}button.icon{flex-shrink:0;width:44px;min-height:44px;padding:0}button.active,button.active:not(:disabled):hover{background:var(--selected);border-color:var(--primary);color:var(--primary-ink);font-weight:700}input,select,textarea{min-height:var(--touch);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;padding:.5em .8em}:is(input,select,textarea):not(.reading-surface *):focus{outline:3px solid var(--primary-soft);outline-offset:0;border-color:var(--primary)}input[type=checkbox],input[type=radio]{width:24px;height:24px;min-height:0;accent-color:var(--primary)}input[type=range]{accent-color:var(--primary);padding:0}.speech-usage h2{margin:0}.speech-usage{margin-top:16px}.speech-usage p{margin:12px 0 0}.speech-usage-numbers{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:24px 0;display:grid}.speech-usage-numbers dt{color:var(--muted)}.speech-usage-numbers dd{font-family:var(--font-display);color:var(--primary-ink);font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:1.8rem}.speech-usage progress{width:100%;height:14px;accent-color:var(--primary);display:block}.shell main{max-width:980px;padding:16px 16px calc(24px + var(--action-bar-height,0px) + var(--bottom-nav-height,0px));margin:0 auto}.topbar{padding:max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow-sm);z-index:10;flex-wrap:nowrap;align-items:center;gap:16px;display:flex;position:sticky;top:0}.topbar>strong{font-family:var(--font-display);color:var(--primary-ink);letter-spacing:-.01em;font-size:1.1rem;font-weight:700}.topbar-brand{white-space:nowrap;text-overflow:ellipsis;flex:1 1 0;min-width:0;overflow:hidden}.topbar-end{flex:1 1 0;justify-content:flex-end;align-items:center;gap:12px;min-width:0;display:flex}.topnav{flex:none;align-items:center;gap:20px;display:flex}.topbar a,.topnav a{color:var(--muted);white-space:nowrap;border-bottom:3px solid #0000;align-items:center;min-height:44px;padding:8px 4px;font-weight:700;text-decoration:none;display:inline-flex}.topbar a:hover{color:var(--primary-strong)}.topbar a.active,.topnav a.active{color:var(--primary-strong);border-bottom-color:var(--accent)}.sync-status{display:contents}.spacer{flex:1}.sync-badge{background:var(--accent-soft);color:var(--accent-ink);border:1px solid var(--accent);white-space:nowrap;border-radius:99px;flex:none;align-items:center;gap:4px;padding:4px 12px;font-size:.85rem;font-weight:700;display:inline-flex}.user-menu{min-width:0;position:relative}.user-menu-button{max-width:100%;min-height:44px;color:var(--muted);background:0 0;border:none;padding:0 8px}.user-menu-button .user-name{white-space:nowrap;text-overflow:ellipsis;max-width:220px;overflow:hidden}.user-menu-list{z-index:30;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;min-width:180px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0000001f}.user-menu-list a,.user-menu-list button{min-height:var(--touch);color:var(--text);background:0 0;border:none;border-radius:10px;justify-content:flex-start;align-items:center;width:100%;padding:0 12px;font-weight:400;text-decoration:none;display:flex}.user-menu-list a:hover,.user-menu-list a:focus,.user-menu-list button:hover,.user-menu-list button:focus{background:var(--selected)}:root{--bottom-nav-bar:64px;--bottom-nav-height:0px}.bottom-nav{display:none}@media (width<=819.98px){.shell.with-bottom-nav{--bottom-nav-height:calc(var(--bottom-nav-bar) + env(safe-area-inset-bottom))}.topnav{display:none}.topbar{gap:10px}.topbar-end{flex:none;gap:8px}.sync-long{display:none}.user-menu-button .user-name{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.bottom-nav{z-index:20;height:var(--bottom-nav-height);padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:var(--surface);border-top:1px solid var(--border);display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{min-width:0;color:var(--muted);-webkit-tap-highlight-color:transparent;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:2px;font-size:.75rem;font-weight:700;line-height:1.2;text-decoration:none;display:flex}.bottom-nav .nav-icon{border-radius:99px;justify-content:center;align-items:center;width:56px;height:30px;font-size:1.4rem;line-height:1;display:flex}.bottom-nav .nav-label{white-space:nowrap;text-overflow:ellipsis;max-width:100%;padding:0 4px;overflow:hidden}.bottom-nav a.active{color:var(--primary)}.bottom-nav a.active .nav-icon{background:var(--selected)}}.student-bar{gap:12px}.home-button{min-height:52px;padding:0 1.3em;font-size:1.15rem}.quiet-exit{flex:none;font-size:.8rem;color:var(--muted)!important}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:16px}.card.highlight{background:var(--cream);border-color:var(--cream-deep);border-left:5px solid var(--accent)}.grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;margin-bottom:16px;display:grid}.tile{color:inherit;flex-direction:column;gap:6px;min-height:110px;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s;display:flex;position:relative;overflow:hidden}.tile strong{font-family:var(--font-display);color:var(--primary-ink);font-weight:600;line-height:1.3}a.tile:hover{box-shadow:var(--shadow-md);border-color:var(--primary);transform:translateY(-2px)}a.tile:active{box-shadow:var(--shadow-sm);transform:translateY(0)scale(.99)}.big-tile{text-align:center;justify-content:center;align-items:center;font-size:1.3rem}.tile.done{opacity:.75}.tile.subject-italiano{border-top:5px solid var(--subject-italiano)}.tile.subject-matematica{border-top:5px solid var(--subject-matematica)}.list{flex-direction:column;gap:8px;margin:16px 0;display:flex}.row-item{color:inherit;flex-wrap:wrap;align-items:center;gap:12px;text-decoration:none;display:flex}.row-item a{align-items:center;min-height:44px;display:inline-flex}.tags{flex-wrap:wrap;gap:6px;margin-left:auto;display:flex}.tag{background:var(--selected);color:var(--primary-ink);border-radius:99px;padding:2px 10px;font-size:.8rem}.tag.warn{background:var(--danger-bg);color:var(--danger-strong)}.muted{color:var(--muted)}.hint{color:var(--muted);margin:0;font-size:.9rem}.error{color:var(--danger);font-weight:700}.success{color:var(--success);font-weight:700}.notice{background:var(--cream);border-color:var(--cream-deep);border-left:5px solid var(--accent)}.row-between{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.actions-inline{flex-wrap:wrap;gap:8px;display:flex}.segmented.narrow{max-width:360px;margin-bottom:12px}select.auto{width:auto;max-width:100%}.reset-panel{border-top:1px dashed var(--border);flex-direction:column;gap:8px;margin-top:12px;padding-top:12px;display:flex}.tag+.tag,strong+.tag{margin-left:8px}.invite-link{border-color:var(--primary);flex-direction:column;gap:8px;margin-top:12px;display:flex}.back{align-items:center;min-height:44px;margin:4px 0 8px;text-decoration:none;display:inline-flex}.code{letter-spacing:.15em;background:var(--accent-soft);color:var(--accent-ink);border-radius:6px;align-self:flex-start;padding:2px 8px;font-family:ui-monospace,monospace;font-weight:700}.subject{font-size:.85rem}.subject.subject-italiano,.subject.subject-matematica{border-radius:99px;align-self:flex-start;padding:1px 10px;font-weight:700}.subject.subject-italiano{color:var(--subject-italiano);background:var(--subject-italiano-bg)}.subject.subject-matematica{color:var(--subject-matematica);background:var(--subject-matematica-bg)}.shell:not(.student) main h2:not(.reading-surface *){align-items:center;gap:10px;display:flex}.shell:not(.student) main h2:not(.reading-surface *):before{content:"";background:var(--accent);border-radius:4px;flex-shrink:0;width:6px;height:1.05em}.reading-surface :is(h1,h2,h3){color:inherit;letter-spacing:inherit;font-family:inherit;line-height:inherit;margin:.4em 0;font-weight:700}.reading-surface :is(button,input,select,textarea){border-color:var(--border)}.empty-state{text-align:center;border:2px dashed var(--border);border-radius:var(--radius-lg);background:var(--cream);flex-direction:column;align-items:center;gap:4px;margin:8px 0 16px;padding:20px 16px 24px;display:flex}.empty-art{width:160px;height:120px}.empty-title{font-family:var(--font-display);color:var(--primary-ink);margin:4px 0 0;font-size:1.1rem;font-weight:600}.empty-text{color:var(--muted);max-width:46ch;margin:0}.empty-action{margin-top:10px}.empty-art .es-soft{fill:var(--cream-deep)}.empty-art .es-blue{fill:var(--primary)}.empty-art .es-cream{fill:#fbf6e9}.empty-art .es-line{stroke:var(--primary-ink);stroke-width:1.5px;stroke-linejoin:round}.empty-art .es-stem{stroke:var(--accent);stroke-width:3.5px;stroke-linecap:round;fill:none}.empty-art .es-yellow,.empty-art .es-star{fill:var(--accent)}.empty-art .es-board{fill:var(--primary-ink)}.empty-art .es-chalk{stroke:#fbf6e9;stroke-width:3px;stroke-linecap:round;opacity:.7}.empty-art .es-paper{fill:#fff}.empty-art .es-rule{stroke:var(--selected);stroke-width:3px;stroke-linecap:round}.empty-art .es-trail{stroke:var(--primary);stroke-width:2px;stroke-dasharray:3 5;stroke-linecap:round;fill:none;opacity:.6}.empty-art .es-red{stroke:var(--danger);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;fill:none}.empty-art .es-flag{fill:var(--danger)}.guide{border-color:var(--primary);flex-direction:column;gap:12px;margin-bottom:16px;display:flex}.guide-progress{align-items:center;gap:12px;display:flex}.guide-bar{background:var(--bg);border-radius:99px;flex:1;height:10px;overflow:hidden}.guide-bar span{background:var(--primary);border-radius:99px;height:100%;transition:width .4s;display:block}.guide-steps{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.guide-steps li{border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;padding:8px;display:flex}.guide-steps li.current{background:var(--selected)}.guide-check{border:2px solid var(--border);width:32px;height:32px;color:var(--muted);background:var(--surface);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:700;display:flex}.guide-steps li.done .guide-check{color:#fff;background:#2e7d32;border-color:#2e7d32}.guide-steps li.done .guide-text strong{color:var(--muted)}.guide-text{flex-direction:column;flex:1;min-width:180px;display:flex}.guide-link{text-align:right;margin:0 0 8px}.form{flex-direction:column;gap:12px;display:flex}.form label{flex-direction:column;gap:4px;font-weight:700;display:flex}.check{align-items:center;gap:10px;min-height:44px;flex-direction:row!important;font-weight:400!important;display:flex!important}.check.small{min-height:44px;font-size:.9rem;display:inline-flex!important}.radio-hit{cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.checks{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:4px 16px;display:grid}.inline-form{gap:8px;display:flex}.inline-form input{flex:1}.actions{flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0;display:flex}.actions select{width:auto}.actions.sticky{left:0;right:0;bottom:var(--bottom-nav-height,0px);padding:12px 16px max(12px, calc(env(safe-area-inset-bottom) - var(--bottom-nav-height,0px)));background:var(--surface);border-top:1px solid var(--border);z-index:10;justify-content:center;margin:0;position:fixed}.actions.sticky.keyboard-open{display:none}.two-col{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=700px){.two-col{grid-template-columns:1fr}}.segmented{gap:0;display:flex}.segmented button{border-radius:0;flex:1}.segmented button:first-child{border-radius:var(--radius) 0 0 var(--radius)}.segmented button:last-child{border-radius:0 var(--radius) var(--radius) 0}.login{max-width:480px;padding:max(40px, env(safe-area-inset-top)) 16px 40px;text-align:center;isolation:isolate;flex-direction:column;gap:16px;margin:0 auto;display:flex;position:relative}.login:before{content:"";z-index:-1;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg transform='rotate(-28 100 100)'%3E%3Cpath d='M100 8C140 46 142 120 104 188h-8C58 120 60 46 100 8z' fill='%233a6ea5' fill-opacity='.10'/%3E%3Cpath d='M100 34v160' stroke='%23f2b544' stroke-opacity='.6' stroke-width='4' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") no-repeat left -50px top 12% / 220px auto, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg transform='rotate(34 100 100)'%3E%3Cpath d='M100 8C140 46 142 120 104 188h-8C58 120 60 46 100 8z' fill='%23f2b544' fill-opacity='.16'/%3E%3Cpath d='M100 34v160' stroke='%233a6ea5' stroke-opacity='.25' stroke-width='4' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") no-repeat right -40px bottom 6% / 260px auto, radial-gradient(circle at 12% 0%, #3a6ea529, transparent 45%), radial-gradient(circle at 95% 90%, #f2b54438, transparent 45%), var(--cream);position:fixed;inset:0}.login .form{text-align:left}.login .card{border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);border-color:var(--cream-deep);padding:20px}.login .segmented{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.brand{font-family:var(--font-display);color:var(--primary-ink);letter-spacing:-.02em;flex-direction:column;justify-content:center;align-items:center;gap:8px;margin:0;font-size:3rem;font-weight:700;display:flex}.brand img{width:84px;height:84px;box-shadow:var(--shadow-md);border-radius:22px;transform:rotate(-6deg)}.tagline{color:var(--primary-strong);margin:0 0 8px;font-size:1.1rem}.links{flex-direction:column;align-items:center;display:flex}.big-input{text-align:center;letter-spacing:.3em;font-family:ui-monospace,monospace;font-size:2rem}.avatar{font-size:1.8rem;line-height:1}.avatar.big{font-size:3rem}.avatar-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin:16px 0;display:grid}.avatar-btn{flex-direction:column;min-height:110px;font-weight:700}.avatar-btn .avatar{font-size:3rem}.pin-pad{flex-direction:column;align-items:center;gap:12px;display:flex}.pin-dots{gap:16px;display:flex}.pin-dots span{border:2px solid var(--primary);border-radius:50%;width:22px;height:22px}.pin-dots span.on{background:var(--primary)}.keypad{grid-template-columns:repeat(3,80px);gap:12px;display:grid}.keypad button{border-radius:50%;height:80px;font-size:1.8rem}.scan-btn{min-height:80px;font-size:1.3rem}button.link.small{min-height:32px;font-size:.9rem}.qr-scanner{flex-direction:column;align-items:center;gap:12px;display:flex}.qr-scanner p{margin:0}.qr-scanner video{aspect-ratio:1;object-fit:cover;border-radius:var(--radius);background:#000;width:100%;max-width:420px}.qr-overlay{z-index:100;background:#00000080;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow:auto}.qr-sheet{color:#000;border-radius:var(--radius);text-align:center;background:#fff;width:100%;max-width:560px;max-height:100%;padding:24px;overflow:auto}.qr-sheet h1{margin:0 0 4px}.qr-instructions{margin:0 0 12px;font-size:1.1rem}.qr-code svg{width:100%;max-width:420px;height:auto;margin:0 auto;display:block}.qr-code-text{margin:12px 0;font-size:1.4rem}.qr-code-text .code{letter-spacing:.15em;font-size:1.8rem}.qr-buttons{justify-content:center;gap:8px;display:flex}.avatar-picker{flex-wrap:wrap;gap:6px;display:flex}.avatar-picker button{width:52px;padding:0;font-size:1.6rem}.avatar-picker button.selected{background:var(--selected);border-color:var(--primary);border-width:2px}.swatches{gap:8px;display:flex}.swatches button{border-radius:50%;width:44px;height:44px;min-height:0;padding:0}.swatches button.selected{outline:3px solid var(--primary);outline-offset:2px}.preview{min-height:160px}.title-input{font-size:1.4rem;font-weight:700}.item-editor{margin-top:12px}.item-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.item-head>span{align-items:center;gap:6px;display:flex}.option-row,.calc-editor{align-items:center;gap:8px;display:flex}.calc-editor input{width:110px}.calc-editor select{width:70px}.add-items{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}details summary{cursor:pointer;color:var(--primary);min-height:44px;padding:10px 0}.changes ul{margin:6px 0 0}.image-field{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.image-field img{border:1px solid var(--border);border-radius:8px;max-width:200px;max-height:120px}.image-field input{flex:1;min-width:160px}.image-thumb{display:inline-flex;position:relative}.pair-row>button.icon:first-child{width:48px}.image-thumb img{object-fit:cover;border:1px solid var(--border);border-radius:8px;width:48px;height:48px}.image-thumb button{border-radius:50%;width:24px;height:24px;min-height:0;padding:0;font-size:.7rem;position:absolute;top:-8px;right:-8px}.save-status{font-size:.9rem}.tile-wrap{flex-direction:column;gap:2px;display:flex}.tile-wrap .tile{flex:1}.tile-wrap button.link{align-self:flex-end;font-size:.9rem}.templates{margin-top:12px}.tile.template{text-align:left;justify-content:flex-start;align-items:flex-start;padding:16px}.reading-surface{position:relative}.sheet{border-radius:var(--radius);border:1px solid var(--border);margin-top:12px;padding:28px}.sheet h1{font-size:1.4em}.sheet-header{flex-wrap:wrap;justify-content:space-between;gap:16px;display:flex}.instructions{white-space:pre-line;font-weight:700}.items{padding-left:1.4em}.item{break-inside:avoid;margin-bottom:1.6em}.item-prompt{margin:0 0 .4em;font-weight:700}.choices{flex-direction:column;gap:8px;display:flex}.choices.row{flex-flow:wrap}.choice{text-align:left;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-transform:inherit;background:#fff9;justify-content:flex-start;min-height:56px;padding:6px 14px;font-family:inherit}.choice.selected{background:var(--selected);border-color:var(--primary);border-width:2px}.choice:disabled{opacity:1}.spoken-option{align-items:center;min-width:0;display:flex}.spoken-option>.choice,.spoken-option>.match-cell{overflow-wrap:anywhere;flex:1;min-width:0}.spoken-option>.speak-btn{flex:0 0 44px}.box{border:2px solid;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:1.2em;height:1.2em;font-size:.9em;display:inline-flex}.cloze p{margin:0}.word-bank{border:2px dashed var(--border);border-radius:10px;flex-wrap:wrap;gap:8px;margin-bottom:.6em;padding:8px;display:flex}.chip{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:0 10px}.blank-line{border-bottom:2px solid;width:7em;height:1em;display:inline-block}.blank-input,.blank-select,.calc-input{width:8em;min-height:44px;font:inherit;letter-spacing:inherit;text-transform:inherit;margin:2px;display:inline-block}.blank-box{vertical-align:middle;border:2px solid;border-radius:6px;width:4em;height:1.6em;display:inline-block}.calc{flex-wrap:wrap;align-items:center;gap:.5em;font-size:1.3em;display:flex}.calc-input{width:5em}.write-lines div{border-bottom:1px solid #999;height:2.2em}.open-answer{font:inherit;letter-spacing:inherit;line-height:inherit}.matching{grid-template-columns:1fr 1fr;gap:8px 32px;display:grid}.matching .hint{grid-column:span 2}.match-col{flex-direction:column;gap:8px;display:flex}.match-cell{text-align:left;min-height:56px;font:inherit;letter-spacing:inherit;text-transform:inherit;background:#fff9;border-width:2px;justify-content:flex-start;gap:10px}.match-cell.right{justify-content:flex-start}.match-cell.selected{background:var(--selected);border-color:var(--primary)}.match-cell:disabled{opacity:1}.match-cell .dot{color:var(--muted);font-size:.8em}.match-num{border:2px solid var(--text);background:var(--surface);width:1.9em;height:1.9em;color:var(--text);letter-spacing:0;text-transform:none;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.match-num.empty{border-style:dashed;border-color:var(--muted)}.match-write{flex:none}.ordering{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.order-row{border:1px solid var(--border);background:#fff9;border-radius:10px;align-items:center;gap:10px;padding:6px 10px;display:flex}.order-num{text-align:center;min-width:1.5em;color:var(--primary);font-weight:700}.order-text{flex:1}.order-btns{gap:4px;display:flex}.order-btns button{width:48px;min-height:44px;padding:0}.blank-box.small{width:1.6em;height:1.6em}.pair-row{grid-template-columns:auto 1fr 1fr auto;align-items:center;gap:8px;display:grid}.item-image{border-radius:10px;max-width:100%;max-height:260px;margin:0 0 .6em;display:block}.match-img{border-radius:6px;max-width:45%;max-height:72px}.syl-a{color:var(--syl-a)}.syl-b{color:var(--syl-b)}.speak-btn{vertical-align:middle;letter-spacing:0;border-radius:50%;width:44px;min-height:44px;margin-left:6px;padding:0;font-size:1rem}.speak-btn.speaking{background:var(--primary);border-color:var(--primary);color:var(--primary-text)}.reading-ruler-layer{pointer-events:none;border-radius:inherit;position:absolute;inset:0;overflow:hidden}.reading-ruler{pointer-events:none;background:#f2b5441f;border-top:2px solid #f2b544bf;border-bottom:2px solid #f2b544bf;scroll-margin:96px 0;position:absolute;left:0;right:0;box-shadow:0 0 0 100vmax #1f23281f}.ruler-controls{right:max(12px, env(safe-area-inset-right));z-index:20;flex-direction:column;gap:16px;display:flex;position:fixed;top:50%;transform:translateY(-50%)}.ruler-controls button{letter-spacing:0;background:var(--surface);width:64px;height:64px;min-height:56px;color:var(--text);border:2px solid var(--accent);touch-action:manipulation;border-radius:50%;padding:0;font-size:1.6rem;line-height:1;box-shadow:0 2px 8px #0000002e}@media (width<=600px){.sheet{padding:16px 12px}.items{padding-left:1.2em}.matching{gap:8px 12px}.match-cell{padding:4px 8px}}.today-date{margin-top:0}.today-date:first-letter{text-transform:uppercase}.today-totals{flex-wrap:wrap;gap:12px;margin:12px 0 4px;display:flex}.today-totals .card{min-width:120px;color:var(--muted);flex:1;padding:10px 16px;text-decoration:none}.today-totals strong{color:var(--text);margin-right:4px;font-size:1.5rem}.today-columns{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start;gap:0 20px;display:grid}.today-section .list{margin-top:0}.today-item{color:inherit;flex-direction:column;align-items:flex-start;gap:4px;text-decoration:none;display:flex}.today-item a{text-decoration:none}.today-item.overdue{border-left:4px solid var(--accent)}.today-submission{flex-direction:row;align-items:center;gap:12px}.today-submission-text{flex-direction:column;flex:1;min-width:0;display:flex}.today-empty{color:var(--muted);margin:0}.shell.student{background:var(--cream);min-height:100vh}.shell.student .topbar{background:var(--cream);border-bottom-color:var(--cream-deep);box-shadow:none}.shell.student .card:not(.reading-surface *){border-radius:var(--radius-lg)}.shell.student h2:not(.reading-surface *){align-items:center;gap:10px;font-size:1.4rem;display:flex}.shell.student h2:not(.reading-surface *):after{content:"";background:repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px);opacity:.6;border-radius:3px;flex:1;height:3px}.shell.student .big-tile{gap:10px;min-height:150px;padding:18px}.shell.student .big-tile>span:first-child{font-size:2.4rem;line-height:1}.shell.student a.big-tile:hover,a.assignment-tile:hover{transform:translateY(-3px)rotate(-.5deg)}.shell.student .tile.done{opacity:.75}.shell.student .empty-state{background:var(--surface);border-color:var(--cream-deep)}.student-home h1{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:12px;font-size:2.1rem;display:flex}.student-home h1 .avatar{background:var(--surface);width:72px;height:72px;box-shadow:var(--shadow-md);border:3px solid var(--accent);border-radius:50%;justify-content:center;align-items:center;font-size:2.6rem;display:inline-flex}.reward{background:var(--accent-soft);border-color:var(--accent);flex-direction:column;gap:6px;display:flex}.reward-text{margin:0;font-size:1.2rem;font-weight:700}.reward-feathers{flex-wrap:wrap;gap:4px;font-size:1.6rem;line-height:1;display:flex}.reward-more{align-self:center;margin-left:4px;font-size:1rem;font-weight:700}.assignment-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}.assignment-tile{--subj:var(--primary);--subj-bg:var(--selected);background:linear-gradient(180deg, var(--subj-bg), var(--surface) 75%);border:2px solid var(--subj);overflow-wrap:anywhere;gap:8px;min-height:170px;padding:18px 18px 18px 26px;position:relative}.assignment-tile:before{content:"";background:var(--subj);border-radius:var(--radius-lg) 0 0 var(--radius-lg);width:10px;position:absolute;top:0;bottom:0;left:0}.assignment-tile.subject-italiano{--subj:var(--subject-italiano);--subj-bg:var(--subject-italiano-bg);border-top-width:2px}.assignment-tile.subject-matematica{--subj:var(--subject-matematica);--subj-bg:var(--subject-matematica-bg);border-top-width:2px}.tile-icon{background:var(--subj);color:#fff;border-radius:50%;place-items:center;width:60px;height:60px;line-height:1;display:grid}.tile-subject{color:var(--subj);text-transform:uppercase;letter-spacing:.04em;font-size:.95rem;font-weight:700}.tile-title{font-size:1.35rem;line-height:1.25;font-family:var(--font-display)}.due-label{background:var(--surface);border:1px solid var(--border);border-radius:99px;align-self:flex-start;align-items:center;gap:6px;margin-top:auto;padding:3px 12px;font-size:.95rem;font-weight:700;display:inline-flex}.due-label.past{color:var(--muted)}.tile-done-mark{color:var(--success);position:absolute;top:12px;right:14px}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tool-panel{justify-content:center;margin-top:12px;display:flex}.result{text-align:center;margin-top:40px}.result .big{font-size:1.6rem}.actions.centered{justify-content:center}.tile-hint{color:var(--muted);font-size:.9rem}.review-summary{margin:12px 0}.review-summary .big{margin:0 0 4px;font-size:1.4rem}.teacher-comment{border-radius:var(--radius);background:#fff4d6;padding:10px 14px}.review-items{border:0;min-width:0;margin:0;padding:0}.review-items :disabled{opacity:1;color:inherit;-webkit-text-fill-color:currentColor}.review-item .items{margin-bottom:0}.review-note{border-radius:var(--radius);border:2px solid;margin:6px 0 18px 2em;padding:8px 14px}.review-note.ok{color:#1e6b3f;background:#e6f4ea;border-color:#2e8b57;font-weight:700}.review-note.fix{color:#8a4b00;background:#fff1de;border-color:#e08a1e}.review-note.waiting{color:var(--text);border-color:var(--border);background:#fff9}.review-note .solution{color:var(--text);margin-top:4px}.review-note .solution p{margin:0;display:inline}.solution-word{-webkit-text-decoration:underline #2e8b57;text-decoration:underline #2e8b57;text-decoration-thickness:3px}.solution-list{margin:4px 0 0;padding-left:1.4em}.check-row{flex-wrap:wrap;align-items:center;gap:12px;margin-top:.6em;display:flex}.check-btn{font:inherit;letter-spacing:inherit;text-transform:inherit;border:2px solid var(--primary);color:var(--primary);background:#fffc;font-weight:700}.feedback{align-items:center;gap:.4em;margin:0;font-weight:700;display:inline-flex}.feedback.ok{color:#2e7d32}.feedback.retry{color:#8a5a00}.feedback-icon{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:1.6em;height:1.6em;display:inline-flex}.feedback.ok .feedback-icon{background:#2e7d32}.feedback.retry .feedback-icon{background:var(--accent);color:var(--text)}.do-worksheet{padding-bottom:48px}.progress{flex-basis:100%;align-items:center;gap:12px;max-width:640px;font-size:.95rem;display:flex}.progress-track{background:var(--border);border-radius:99px;flex:1;height:12px;overflow:hidden}.progress-fill{background:#2e7d32;border-radius:99px;height:100%}.stars{letter-spacing:.15em;margin:.2em 0;font-size:3rem}.star{color:var(--border)}.star.on{color:var(--accent)}@media (prefers-reduced-motion:no-preference){.progress-fill{transition:width .4s}.feedback.ok .feedback-icon{animation:.35s ease-out pop}.star.on{animation:.45s ease-out both pop;display:inline-block}.star.on:nth-child(2){animation-delay:.15s}.star.on:nth-child(3){animation-delay:.3s}}@keyframes pop{0%{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}.times-table{border-collapse:collapse;font-size:1.1rem}.times-table td{text-align:center;border:1px solid var(--border);width:44px;height:40px}.times-table td.head{background:var(--accent-soft);font-weight:700}.times-table td.hl{background:var(--selected)}.calculator{width:280px}.calc-display{text-align:right;background:var(--bg);border-radius:10px;margin-bottom:8px;padding:8px 12px;font-size:2rem;overflow:hidden}.calc-keys{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.calc-keys button{height:56px;padding:0;font-size:1.4rem}.calc-keys button.op{background:var(--accent-soft)}.calc-keys .wide{grid-column:span 4}.assign-panel{flex-direction:column;gap:2px;margin-top:12px;display:flex}.assignment-class{border-top:1px solid var(--border);padding:12px 0}.assignment-class summary{cursor:pointer;padding:8px 0}.assignment-class summary .tag{margin-left:8px}.assignment-form fieldset{border:0;min-width:0;margin:0;padding:12px 0 0}.assignment-form legend{font-weight:600}.assignment-students{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:4px 16px;margin:8px 0 16px;display:grid}.assignment-dates{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin-top:16px;display:grid}.assignment-dates label{flex-direction:column;gap:6px;display:flex}.assignment-dates input{width:100%;min-width:0}.assign-row+.assign-row{border-top:1px solid var(--border);padding-top:4px}.due-field{flex-wrap:wrap;align-items:flex-end;gap:8px;margin:0 0 8px 34px;display:flex}.due-field label{flex-direction:column;gap:2px;display:flex}.due-field input[type=date]{width:auto;min-width:170px}.due-tag{background:var(--selected);border-radius:99px;padding:2px 10px;font-size:.85rem}.due-tag.past{background:var(--bg);color:var(--muted);border:1px dashed var(--border)}.file-viewer{flex-direction:column;align-items:flex-start;gap:8px;margin-top:12px;display:flex}.file-viewer img{border-radius:var(--radius);border:1px solid var(--border);background:#fff;max-width:100%}.file-viewer iframe{border:1px solid var(--border);border-radius:var(--radius);background:#fff;width:100%;height:75vh}.ico{vertical-align:-.2em;flex-shrink:0;display:inline-block}.ico.logo{border-radius:22%}.big-tile .ico{width:40px;height:40px}.keypad .ico{width:32px;height:32px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skeleton-shapes{flex-direction:column;gap:10px;display:flex}.skeleton-bar{background:linear-gradient(90deg,#ebe7de 25%,#f5f2ec 50%,#ebe7de 75%) 0 0/300% 100%;border-radius:6px;flex-shrink:0;height:1em;animation:1.4s ease-in-out infinite skeleton-shimmer;display:block}.skeleton-bar.round{border-radius:50%;width:1.8rem;height:1.8rem}.skeleton-col{flex-direction:column;flex:1;gap:6px;display:flex}.skeleton .grid,.skeleton .list{margin-top:0}.skeleton+.grid:empty,.skeleton+.list:empty{display:none}.skeleton .tile{justify-content:center}.skeleton .row-item{min-height:calc(1.8rem + 34px)}.assign-panel .skeleton-shapes{gap:2px}.assign-panel .skeleton-bar{margin:11px 0}.skeleton-sheet{flex-direction:column;gap:14px;display:flex}.skeleton-item{flex-direction:column;gap:8px;margin-top:8px;display:flex}@keyframes skeleton-shimmer{0%{background-position:100% 0}to{background-position:0 0}}.spinner{border:2px solid;border-right-color:#0000;border-radius:50%;flex-shrink:0;width:1em;height:1em;animation:.8s linear infinite spinner-turn;display:inline-block}@keyframes spinner-turn{to{transform:rotate(360deg)}}.save-status{color:var(--muted);align-items:center;gap:6px;min-height:1.5em;font-size:.9rem;display:inline-flex}.save-status.saved{color:#2e7d32;font-weight:700}.save-status.local{color:var(--text);background:#fff4d6;border-radius:8px;padding:2px 8px}@media (prefers-reduced-motion:reduce){.skeleton-bar{background:#ebe7de;animation:none}.spinner{animation-duration:2.4s}}.open-answer-wrap{flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex}.open-answer-wrap .open-answer{flex:16em}.blank-wrap{vertical-align:middle;flex-wrap:wrap;align-items:center;display:inline-flex}.dictate{letter-spacing:0;text-transform:none;flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.dictate-btn{min-height:var(--touch);width:var(--touch);border-radius:50%;padding:0;font-size:1.3rem}.dictate-btn.listening{background:var(--selected);border-color:var(--primary);animation:1.4s ease-in-out infinite dictate-pulse;box-shadow:0 0 0 4px #3a6ea540}.dictate-status{color:var(--primary);font-size:.85rem;font-weight:700}.dictate-error{color:var(--muted);max-width:22em;font-size:.85rem}.calc:has(.dictate){flex-wrap:wrap}.calc:has(.dictate)>span:first-child{white-space:nowrap}.form label .minutes-hint{font-weight:400}@keyframes dictate-pulse{50%{box-shadow:0 0 0 9px #3a6ea51a}}@media (prefers-reduced-motion:reduce){.dictate-btn.listening{animation:none}}.time-indicator{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);color:var(--muted);flex-direction:column;gap:6px;margin-top:12px;padding:10px 14px;font-size:.95rem;display:flex}.time-bar{background:var(--bg);border-radius:3px;height:6px;overflow:hidden}.time-bar>div{background:var(--selected);border-right:2px solid var(--primary);height:100%;transition:width 1s linear}.time-indicator.done{color:var(--text)}.sheet-time{margin:.2em 0 .6em}.minutes-input{max-width:8em}.mark{vertical-align:-3px;margin-right:4px;display:inline-flex}.mark.ok{color:var(--success)}.mark.part{color:var(--warning)}.mark.ko{color:var(--danger)}.mark.todo{color:var(--primary)}.qr-mini{flex:none;align-self:center;width:22mm;height:22mm;margin-left:auto}.qr-mini svg{width:100%;height:100%;display:block}.bulk-row input{flex:1;width:auto;min-width:140px}.bulk-row .bulk-source{font-size:.85rem}.bulk-row button.avatar{width:52px;font-size:1.6rem}.cut-sheet{background:#fff;grid-template-columns:repeat(2,1fr);width:180mm;max-width:100%;margin:16px auto;display:grid}.cut-card{color:#000;break-inside:avoid;border:1px dashed #888;grid-template-rows:10mm 1fr;grid-template-columns:minmax(0,1fr) 22mm;align-items:center;gap:2mm 3mm;height:53mm;margin:0 -1px -1px 0;padding:4mm 5mm;font-family:Atkinson Hyperlegible,system-ui,sans-serif;display:grid;overflow:hidden}.cut-avatar{text-align:center;grid-area:1/2;font-size:10mm;line-height:1}.cut-card .qr-mini{grid-area:2/2}.cut-info{flex-direction:column;grid-area:1/1/span 2;min-width:0;display:flex}.cut-name{margin-bottom:2mm;font-size:18pt;font-weight:700;line-height:1.15}.cut-label{text-transform:uppercase;letter-spacing:.05em;color:#444;font-size:9pt}.cut-value{letter-spacing:.12em;font-size:16pt;font-weight:700;line-height:1.2}.cut-access-code{letter-spacing:.02em;white-space:nowrap;font-size:12pt}.cut-pin{letter-spacing:.25em;font-size:24pt}@media print{.no-print,.topbar,.actions{display:none!important}body,.shell main{background:#fff;max-width:none;margin:0;padding:0}.sheet{border:none;margin:0;padding:0}@page{margin:15mm}.cut-sheet{break-after:page;margin:0}.cut-sheet:last-child{break-after:auto}}.dialog-backdrop{z-index:1000;background:#1f232873;justify-content:center;align-items:center;padding:16px;animation:.15s ease-out dialog-fade;display:flex;position:fixed;inset:0}.dialog{background:var(--surface);border-radius:calc(var(--radius) + 4px);width:100%;max-width:440px;max-height:calc(100vh - 32px);padding:24px;animation:.18s ease-out dialog-pop;overflow:auto;box-shadow:0 12px 40px #00000040}.dialog h2{margin:0 0 .4em;font-size:1.3rem}.dialog-message{white-space:pre-line;margin:0 0 1em}.dialog-field{flex-direction:column;gap:4px;margin-bottom:1em;font-weight:700;display:flex}.dialog-field input,.dialog-field textarea{width:100%;font-weight:400}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.dialog-actions button{min-height:var(--touch);flex:auto}button.danger-solid{background:var(--danger);color:#fff;border-color:var(--danger);font-weight:700}.dialog-icon{text-align:center;margin-bottom:8px;font-size:3rem;line-height:1}.dialog.kid{text-align:center;max-width:420px;padding:32px 24px}.dialog.kid h2{font-size:1.6rem}.dialog.kid .dialog-icon{font-size:4.5rem}.dialog.kid .dialog-actions{flex-direction:column;gap:12px}.dialog.kid .dialog-actions button{min-height:64px;font-size:1.3rem}.toasts{z-index:1100;left:50%;bottom:max(16px, env(safe-area-inset-bottom));flex-direction:column;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 32px);display:flex;position:fixed;transform:translate(-50%)}.toast{min-height:var(--touch);border-radius:var(--radius);background:var(--text);color:#fff;cursor:pointer;align-items:center;gap:8px;padding:12px 18px;animation:.18s ease-out dialog-pop;display:flex;box-shadow:0 6px 20px #0003}.toast.error{background:var(--danger)}@keyframes dialog-fade{0%{opacity:0}}@keyframes dialog-pop{0%{opacity:0;transform:translateY(8px)scale(.98)}}@media (prefers-reduced-motion:reduce){.dialog-backdrop,.dialog,.toast{animation:none}body:has(>.qr-overlay)>:not(.qr-overlay){display:none!important}.qr-overlay{background:0 0;padding:0;position:static}.qr-sheet{max-width:none;max-height:none;padding:0}.qr-code svg{max-width:140mm}}.results-summary{flex-wrap:wrap;gap:24px;display:flex}.results-summary strong{font-size:1.6rem}.result-student{padding:0}.result-row{text-align:left;background:0 0;border:none;justify-content:flex-start;width:100%;padding:12px 16px;font-weight:400}.result-row:disabled{opacity:1}.tag.ok{background:#e3f3e3}.result-detail{border-top:1px solid var(--border);padding:12px 16px}.result-items{padding-left:1.4em}.result-item{margin-bottom:14px}.result-item p{margin:2px 0}.points-input{width:5em}.assign-row{justify-content:space-between;align-items:center;gap:12px;display:flex}
