:root{--student-ink:#245c54;--student-paper:#faf7ee;--student-line:#dedfd3}*{box-sizing:border-box}.student-home{margin:0;background:var(--student-paper);color:#24443d;font:16px/1.5 "Avenir Next",Avenir,system-ui,sans-serif}.student-shell{max-width:1080px;margin:auto;padding:26px 32px 40px}.student-header,.student-brand,.student-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.student-brand{text-decoration:none;color:inherit;font-size:21px;font-weight:650;justify-content:flex-start}.student-brand img{border-radius:10px}.student-brand small{display:block;font-size:10px;letter-spacing:2px;color:#657c69}.student-preview{font-size:12px;color:#6b776b;border-bottom:2px solid #e1af5f}.student-welcome{position:relative;margin:44px 0 32px;padding-right:240px}.student-eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#7d826c}.student-welcome h1{font-size:clamp(42px,6vw,68px);line-height:1.08;font-weight:650;letter-spacing:-2px;margin:12px 0 18px}.student-welcome h1 span{position:relative;z-index:0}.student-welcome h1 span:after{content:"";position:absolute;height:12px;background:#f2ce79;bottom:4px;left:-4px;right:-6px;z-index:-1;transform:rotate(-3deg)}.student-welcome>p:last-of-type{color:#607467;font-size:18px}.student-doodle{position:absolute;right:16px;top:18px;width:220px;transform:rotate(4deg)}.student-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.student-tool{display:block;color:inherit;text-decoration:none;padding:24px 24px 18px;border-radius:10px 24px 10px 10px;box-shadow:0 5px 0 #24443d0a;transition:transform .15s}.student-tool:hover{transform:translateY(-4px)}.student-tool:focus-visible,.student-brand:focus-visible,.student-recent a:focus-visible{outline:3px solid #245c54;outline-offset:5px}.student-notes{background:#f3e4b5;transform:rotate(-1deg)}.student-maps{background:#dce9db}.student-path{background:#f3dcd1;transform:rotate(1deg)}.student-tool-icon{display:block;font-size:40px;line-height:1;margin-bottom:20px}.student-tool small{font-size:10px;letter-spacing:1.5px;font-weight:700;opacity:.7}.student-tool h2{font-size:27px;margin:4px 0 10px;font-weight:650}.student-tool p{font-size:15px;margin:0 0 28px}.student-open{display:flex;justify-content:space-between;font-size:13px;font-weight:650;border-top:1px solid #245c5425;padding-top:14px}.student-open b{font-size:20px;font-weight:400}.student-recent{margin-top:42px}.student-section-heading h2{font-size:22px;font-weight:600}.student-section-heading>span{font-size:12px;color:#6b776b}.student-recent ul{list-style:none;padding:0;margin:4px 0}.student-recent li{border-top:1px solid var(--student-line)}.student-recent a{display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:64px;padding:12px 4px;text-decoration:none;color:inherit}.student-recent strong{font-size:16px;font-weight:550}.student-recent li span{font-size:12px;color:#6b776b;white-space:nowrap}.student-footer{font-size:12px;color:#778275;margin-top:30px;max-width:650px}.student-footer strong{font-weight:550}#recent-status{color:#778275;font-size:14px}
html[data-aula-mode=student] body{background:#faf7ee!important}html[data-aula-mode=student] #create-lesson,html[data-aula-mode=student] #save-online,html[data-aula-mode=student] header a[href*="aula-app"],html[data-aula-mode=student] header a[href*="view=home"],html[data-aula-mode=student] main>header>strong,html[data-aula-mode=student] main>header>a:not(.student-back){display:none!important}html[data-aula-mode=student] main>header{min-height:44px!important}html[data-aula-mode=student] .student-back{color:#245c54;text-decoration:none;font-size:14px;padding:10px 0;display:inline-block}html[data-aula-mode=student] .notes-pen-toolbar{background:#f7f2df;border-color:#e6dfc9}html[data-aula-mode=student] main>h1{font-weight:650!important;font-family:"Avenir Next",Avenir,system-ui,sans-serif!important;font-size:32px!important}html[data-aula-mode=student] main>h1:after{background:#e8bc6a!important}
@media(max-width:650px){.student-shell{padding:20px}.student-welcome{margin-top:30px;padding-right:100px}.student-doodle{width:120px;right:-12px;top:50px;opacity:.9}.student-welcome h1{font-size:44px}.student-welcome>p:last-of-type{font-size:15px}.student-tools{grid-template-columns:1fr;gap:14px}.student-tool{position:relative;padding:18px 20px 16px 80px;transform:none;border-radius:10px 22px 10px 10px}.student-tool-icon{position:absolute;left:24px;top:30px;font-size:34px}.student-tool h2{font-size:24px}.student-tool p{margin-bottom:16px}.student-tool br{display:none}.student-recent a{align-items:flex-start;flex-direction:column;gap:4px}.student-section-heading{align-items:flex-start;flex-direction:column;gap:0}.student-section-heading h2{margin-bottom:4px}}
@media(prefers-reduced-motion:reduce){.student-tool{transition:none}.student-tool:hover{transform:none}}

.student-save-menu{position:relative}.student-save-menu summary{list-style:none;cursor:pointer;padding:10px 16px;border:1px solid #cbd9d2;border-radius:8px;min-height:44px;background:white}.student-save-menu summary:after{content:' ⌄'}.student-save-options{position:absolute;top:100%;left:0;z-index:20;min-width:170px;padding:6px;background:#fffdf6;border:1px solid #d5ddcd;border-radius:10px;box-shadow:0 8px 24px #245c541a}.student-save-options button{display:block;width:100%;text-align:left;border:0;background:transparent;min-height:44px}
/* Student desk: one document, a quiet tool strip and the paper itself. */
html[data-aula-mode=student] body{--ink:#294b43;--accent:#33745d;--line:#dddaca;color:#294b43;background:#f7f3e9!important;font-family:"Avenir Next",Avenir,"Trebuchet MS",system-ui,sans-serif}
html[data-aula-mode=student] main{padding:16px 22px;max-width:1500px}
html[data-aula-mode=student] main>header{padding:0 0 8px;margin:0;border:0;min-height:40px!important;display:flex;align-items:center;justify-content:space-between}
html[data-aula-mode=student] .student-back{font-size:13px;color:#657767;padding:8px 0}
html[data-aula-mode=student] header .aula-help{position:relative!important;inset:auto!important;float:none!important;margin:0!important;padding:0!important;width:auto!important;max-width:none!important;z-index:30}
html[data-aula-mode=student] header .aula-help summary{padding:2px!important;min-height:36px;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-aula-mode=student] header .aula-enea-open-label,html[data-aula-mode=student] header .aula-enea-greeting{display:none!important}
html[data-aula-mode=student] .student-screen-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.student-document-bar{display:flex;align-items:center;gap:16px;padding:8px 0 14px;border-bottom:1px solid #dbd8c8}
.student-document-bar .notes-heading{margin:0;flex:1;min-width:100px}
html[data-aula-mode=student] .student-document-bar #title{font-size:24px;font-weight:550;letter-spacing:-.6px;color:#294b43;padding:8px 0;border:0;border-bottom:2px solid transparent;border-radius:0;min-width:0;background:transparent}
html[data-aula-mode=student] .student-document-bar #title:hover,html[data-aula-mode=student] .student-document-bar #title:focus{border-bottom-color:#ddbc76;box-shadow:none}
html[data-aula-mode=student] .notes-actions{padding:0;margin:0;gap:3px;flex-wrap:nowrap;border:0;background:transparent;box-shadow:none;flex-shrink:0}
html[data-aula-mode=student] .notes-actions .notes-icon-button{border:0;background:transparent;color:#607566}
html[data-aula-mode=student] .notes-actions>.notes-more>summary{font-size:14px;padding:8px 10px;gap:8px}
html[data-aula-mode=student] #status{font-size:12px;color:#7c8876;min-height:20px;margin:7px 0}
html[data-aula-mode=student] #error:empty{display:none}
html[data-aula-mode=student] .paper-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
html[data-aula-mode=student] .paper-panel>.toolbar:has(h2){display:none}
html[data-aula-mode=student] .notes-notebook{border:0;padding:0;margin:0}
html[data-aula-mode=student] .notes-pen-toolbar{border:0;border-radius:0;background:transparent;padding:0 0 8px;margin:0;box-shadow:none}
html[data-aula-mode=student] .notes-command-row{gap:3px;padding:3px 0;scrollbar-width:thin}
html[data-aula-mode=student] .notes-command-row>button,html[data-aula-mode=student] .notes-command-row>details>summary{border-radius:8px;color:#5a6d5f;font-size:13px;font-weight:450}
html[data-aula-mode=student] .notes-command-row>button[aria-pressed=true]{background:#dfebd8;color:#285744;box-shadow:none}
html[data-aula-mode=student] .notes-command-row>button[aria-label=Penna]{color:#355aa5}
html[data-aula-mode=student] .notes-command-row>button[aria-label=Evidenziatore]{color:#a57c16}
html[data-aula-mode=student] .notes-command-row>button[aria-label=Gomma]{color:#be796e}
html[data-aula-mode=student] .notes-notebook>p.small{font-size:12px;margin:0 0 8px;color:#88917f}
html[data-aula-mode=student] .notes-sheet-viewport{border:0;border-radius:0;background:transparent;padding:9px 9px 16px;min-height:500px;height:calc(100dvh - 230px);box-shadow:none}
html[data-aula-mode=student] .notes-writing-paper{background-color:#fffefa;border:1px solid #e3dfd0;border-radius:2px;box-shadow:1px 2px 3px #655b3520,4px 8px 25px #655b350b}
html[data-aula-mode=student] .notes-extend{border-color:#d8d4c2;color:#879377;background:#f9f7ef;border-radius:50%;box-shadow:none}
html[data-aula-mode=student] .notes-history-tools{border-color:#dedace}
html[data-aula-mode=student] .notes-pen-toolbar .notes-highlight-palette{background:#f3efdf;border-color:#e4dfcc;border-radius:7px}
html[data-aula-mode=student] .notes-touch-setting{border-color:#e4dfcc}
html[data-aula-mode=student] .notes-free-text{background:transparent}
html[data-aula-mode=student] .notes-item-actions{background:#fffdf2e8;border-radius:6px}
html[data-aula-mode=student] .notes-item-actions button{border:0;color:#71836c;background:transparent}
html[data-aula-mode=student] .notes-item-resize{background:#ddbc76;color:#5a6344}
html[data-aula-mode=student] .notes-more-menu,html[data-aula-mode=student] .notes-command-menu{background:#fffdf5;border-color:#dedbc9;border-radius:10px;box-shadow:0 8px 20px #655b351a}
html[data-aula-mode=student] .student-map-editor .file-tools{background:transparent;border:0;padding:0}
html[data-aula-mode=student] .student-map-editor #paper-scroll{border:0;background:#eeeade;border-radius:2px}
html[data-aula-mode=student] .student-map-editor .toolbar button{border:0;background:#eeeadc;color:#566c58}
html[data-aula-mode=student] .student-map-editor .toolbar button[aria-pressed=true]{background:#dce9d5;color:#245c54}
@media(max-width:650px){html[data-aula-mode=student] main{padding:12px}.student-document-bar{gap:6px;flex-wrap:wrap}html[data-aula-mode=student] .student-document-bar #title{font-size:21px}.student-document-bar .notes-heading{flex-basis:100%}html[data-aula-mode=student] .notes-actions{justify-content:flex-start}html[data-aula-mode=student] .notes-sheet-viewport{height:calc(100dvh - 270px);min-height:350px}}

/* Optional comparison palette; the approved warm variant remains the default. */
html[data-student-palette=lavender] body{--ink:#45405e;--accent:#71649a;--line:#ded9e8;background:#f1eef8!important;color:#45405e}
html[data-student-palette=lavender] .student-back{color:#787089}
html[data-student-palette=lavender] .student-document-bar{border-bottom-color:#dcd5e7}
html[data-student-palette=lavender] .student-document-bar #title{color:#4f456a}
html[data-student-palette=lavender] .student-document-bar #title:hover,html[data-student-palette=lavender] .student-document-bar #title:focus{border-bottom-color:#ddaf93}
html[data-student-palette=lavender] .notes-command-row>button,html[data-student-palette=lavender] .notes-command-row>details>summary{color:#716586}
html[data-student-palette=lavender] .notes-command-row>button[aria-pressed=true]{background:#ddd5ee;color:#665084}
html[data-student-palette=lavender] .notes-command-row>button[aria-label=Penna]{color:#7162a5}
html[data-student-palette=lavender] .notes-command-row>button[aria-label=Evidenziatore]{color:#bb8844}
html[data-student-palette=lavender] .notes-command-row>button[aria-label=Gomma]{color:#c3878b}
html[data-student-palette=lavender] #status,html[data-student-palette=lavender] .notes-notebook>p.small{color:#8e839c}
html[data-student-palette=lavender] .notes-writing-paper{background-color:#fffdfa;border-color:#ddd7e4;box-shadow:1px 2px 3px #6b587d20,4px 8px 25px #6b587d0d}
html[data-student-palette=lavender] .notes-extend{color:#9c88af;border-color:#dcd2e4;background:#f5f0fa}
html[data-student-palette=lavender] .notes-history-tools{border-color:#ddd4e6}
html[data-student-palette=lavender] .notes-item-resize{background:#e4b5a0;color:#725378}
html[data-student-palette=lavender] .notes-more-menu,html[data-student-palette=lavender] .notes-command-menu{background:#fcf9ff;border-color:#ded5e9;box-shadow:0 8px 20px #6750781a}
html[data-student-palette=lavender] .notes-pen-toolbar .notes-highlight-palette{background:#e9e2f3;border-color:#ded5e9}
html[data-student-palette=lavender] .notes-touch-setting{border-color:#ded5e9}

.student-folder-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0 22px}.student-folder-tools button{font:inherit;font-size:13px;color:#526b55;border:0;background:transparent;padding:9px 12px;border-radius:7px;min-height:44px;cursor:pointer}#student-folders{display:flex;gap:5px;flex-wrap:wrap}#student-folders button[aria-pressed=true]{background:#e1e9d8;color:#245c54}.student-folder:before{content:'▱';margin-right:7px;color:#b59249}.student-recent li{display:flex;align-items:center;gap:12px}.student-recent li>a{flex:1;min-width:0}.student-recent .student-move{font:inherit;font-size:12px;color:#76816e;padding:9px;border:0;background:transparent;cursor:pointer;min-height:44px}.student-dialog{border:1px solid #ddd8c8;border-radius:12px;background:#fffdf5;color:#294b43;padding:24px;max-width:440px;width:90vw;box-shadow:0 12px 48px #294b4325;font:16px/1.5 system-ui}.student-dialog::backdrop{background:#243e3b55}.student-dialog h2{font-size:22px;margin-top:0}.student-dialog input,.student-dialog select{display:block;box-sizing:border-box;width:100%;font:inherit;padding:12px;border:1px solid #d7dccd;border-radius:7px;background:white;margin:12px 0}.student-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.student-dialog button{font:inherit;padding:10px 14px;min-height:44px;border:1px solid #d7dccd;border-radius:7px;background:#fffdf5;color:#294b43}.student-dialog button:last-child{background:#245c54;color:white}.student-dialog [role=alert]{color:#9e3e35;font-size:14px}

.student-library .student-welcome{display:none}.student-library .student-tools{display:flex;gap:10px;margin-top:32px}.student-library .student-tool{display:flex;align-items:center;gap:10px;padding:12px 18px;transform:none;box-shadow:none;min-height:52px;border-radius:8px;flex:1}.student-library .student-tool-icon{font-size:25px;margin:0}.student-library .student-tool h2{font-size:18px;margin:0}.student-library .student-tool small,.student-library .student-tool p,.student-library .student-open{display:none}.student-library .student-recent{display:grid;grid-template-columns:205px minmax(0,1fr);column-gap:30px;margin-top:28px;min-height:420px}.student-library .student-section-heading{grid-column:2}.student-library .student-folder-tools{grid-column:1;grid-row:1/span 5;display:block;margin:0;padding:14px 20px 0 0;border-right:1px solid #dedfd3}.student-library #student-folders{display:flex;flex-direction:column;gap:3px}.student-library #student-folders button{text-align:left;width:100%;overflow-wrap:anywhere}.student-library .student-folder-tools>button{display:block;text-align:left;margin-top:10px}.student-library .student-folder-tools>button[hidden]{display:none}.student-library #recent-list,.student-library #recent-status,.student-library #student-library-status{grid-column:2}.student-library #recent-list{align-self:start}.student-library #student-library-status{font-size:13px;color:#42664d;margin:8px 0}.student-library #student-library-status:empty{display:none}.student-recent li>a{-webkit-touch-callout:none}.student-drop-target{background:#e7d39c!important;color:#245c54!important;outline:2px dashed #a88e4f;outline-offset:2px}.student-drag-source{opacity:.35}.student-drag-ghost{position:fixed;z-index:10000;pointer-events:none;width:200px;padding:15px 18px;background:#fffef6;border:1px solid #dbd5bd;border-radius:4px;box-shadow:0 8px 22px #294b4329;color:#294b43;font:15px/1.35 system-ui;transform:rotate(-3deg);overflow:hidden;text-overflow:ellipsis}.student-library-dragging{-webkit-user-select:none;user-select:none;cursor:grabbing}.student-library-dragging *{cursor:grabbing!important}
@media(max-width:650px){.student-library .student-tools{gap:6px;flex-wrap:wrap}.student-library .student-tool{padding:10px;gap:6px}.student-library .student-tool-icon{position:static;font-size:21px}.student-library .student-tool h2{font-size:15px}.student-library .student-recent{grid-template-columns:1fr;gap:0}.student-library .student-section-heading,.student-library #recent-list,.student-library #recent-status,.student-library #student-library-status{grid-column:1}.student-library .student-folder-tools{grid-column:1;grid-row:1;border-right:0;padding:0 0 16px}.student-library #student-folders{flex-direction:row;flex-wrap:wrap}.student-library #student-folders button{width:auto}.student-library .student-folder-tools>button{display:inline-block;margin:8px 8px 0 0}}

.student-tool-icon svg{display:block;width:36px;height:36px}.student-library .student-tool-icon svg{width:28px;height:28px}

html[data-aula-mode=student] .student-document-focus .workspace.with-pdf{grid-template-columns:minmax(0,1fr)}html[data-aula-mode=student] .student-document-focus .paper-panel{display:none}html[data-aula-mode=student] .student-document-focus .pdf-panel{border-color:#ddd8c7;background:#fffdf6}html[data-aula-mode=student] .student-document-focus #pdf-scroll{height:calc(100dvh - 280px);min-height:360px}html[data-aula-mode=student] .student-document-focus .pdf-panel>.toolbar{gap:6px}html[data-aula-mode=student] .student-document-focus .pdf-panel>.toolbar button{font-size:13px;min-height:42px}

html[data-aula-mode=student] .student-document-focus .pane-divider{display:none!important}.notes-pdf-pen-tools{display:inline-flex;gap:8px;align-items:center}.notes-pdf-pen-tools[hidden]{display:none}.notes-pdf-pen-tools label{display:inline-flex;gap:4px}
/* Keep an easy-to-reach scrolling margin in the student notebook, too. */
html[data-aula-mode=student] .notes-sheet-viewport{padding:44px;background:#e3e9e1;border:1px solid #d4dfd2;border-radius:12px}

.student-recent li>a.student-work-preview{display:flex;align-items:center;gap:18px;min-height:120px}.student-note-thumbnail{display:block;width:88px;height:123px;flex:none;border:1px solid #d6d9cc;border-radius:4px;box-shadow:0 2px 5px #294b4314;background:#fffef9;pointer-events:none}.student-work-caption{min-width:0}.student-work-caption strong,.student-work-caption>span{display:block}.student-work-actions{display:flex;align-items:center;gap:5px;flex:none}.student-delete{font:inherit;font-size:12px;color:#945549;padding:9px;border:0;background:transparent;cursor:pointer;min-height:44px}.student-dialog-actions .student-delete{background:#985245;color:white;border-radius:8px;padding:10px 18px}@media(max-width:650px){.student-note-thumbnail{width:64px;height:90px}.student-recent li>a.student-work-preview{gap:12px;min-height:96px}.student-work-actions{flex-direction:column;gap:0}.student-work-caption strong{font-size:16px}}

.student-recent li>a.student-work-preview{justify-content:flex-start;flex-direction:row}.student-work-caption{flex:1;text-align:left}
