/* Giordi 1.5.1 · tipografia comune a tutte le stanze.
   - Titoli in Lexend (aperto, nato per facilitare la lettura), peso medio: meno squadrati e meno pesanti.
   - Testi di lettura, domande e risposte restano in Atkinson Hyperlegible.
   - Descrizioni, note ed etichette: mai sotto i 15 px (le etichette tecniche minime a 14 px). */
@font-face{font-family:"Lexend";src:url(fonts/lexend-latin-400-normal.woff2) format("woff2");font-weight:300 449;font-style:normal;font-display:swap}
@font-face{font-family:"Lexend";src:url(fonts/lexend-latin-500-normal.woff2) format("woff2");font-weight:450 549;font-style:normal;font-display:swap}
@font-face{font-family:"Lexend";src:url(fonts/lexend-latin-600-normal.woff2) format("woff2");font-weight:550 900;font-style:normal;font-display:swap}
:root{--g-title:"Lexend","Atkinson Hyperlegible Next","Atkinson Hyperlegible",system-ui,sans-serif}

/* ---- titoli ---- */
h1,h2,h3,h4,body.ui2 h1,body.ui2 h2,body.ui2 h3,body.ui2 h4,
.child-brand-title,.tw-title,header .n,.brand-copy strong,.u-title,.item .t{font-family:var(--g-title)!important;font-weight:500!important;letter-spacing:0!important}
/* ...ma le domande ai ragazzi e il titolo dentro il foglio di lettura restano nel carattere di lettura */
.comp-prompt,.question-card h2,.page-sheet h2,.page-sheet h3{font-family:"Atkinson Hyperlegible Next","Atkinson Hyperlegible",system-ui,sans-serif!important;font-weight:600!important}
/* titoli giganti ridimensionati */
.page-head h1,.student-hero h1{font-size:clamp(28px,3vw,40px)!important;letter-spacing:0!important}
.modal h2{font-size:28px!important}
#startTitle{font-size:clamp(28px,4vw,36px)!important}

/* ---- descrizioni ed etichette piccole ---- */
.u-help,.muted,.u-legend,.u-readchip span,.u-cart #homeworkSummaryBox,body.ui2 .top p,
.item .p,header .s,footer,.tw-sub,.note,.sl,.strat-h,
#pl-rooms button small,.pl-done li span,#pl-fdc .fdc-legend,#pl-fdc .fdc-on,#u-t-tatami .tw-legend,
.section-title p,.row-sub,.metric-label,.family-note,.sidebar-note p,.student-card p,.text-card p,
.setting-block p,.callout,.feedback-chip,.upload-zone p,.file-preview,.process-row span,.radio-stack label,.check-grid label,
.tlr-done-head small,.tlr-done-chip span,.tlr-back{font-size:15px!important;line-height:1.45}
.u-eyebrow,.u-pill,.u-table th,.pill,.eyebrow,.status,.text-type,.source-note,.nav-item span,.brand-copy small,
.opt-title,.wl-title,.hud .label,.mode-tab,.editor-card label,.u-cart #shareUrl{font-size:14px!important}
/* stili scritti direttamente negli elementi */
[style*="font-size:10px"],[style*="font-size:11px"],[style*="font-size:12px"],[style*="font-size:13px"],
[style*="font-size: 12px"],[style*="font-size: 13px"]{font-size:14px!important}
[style*="font-size:14px"],[style*="font-size: 14px"]{font-size:15px!important}

/* ---- Tra le righe: area professionista più leggibile ---- */
.student-actions button,.text-card-actions button,.modal-actions button,.head-actions button,
.library-student-context button,.assign-presets button,.category-tab,.difficulty-button,.material-student-status strong{font-size:15px!important}
.student-main span,.student-counts span,.student-done-brief small,.material-student-status span,.difficulty-button small,
.assign-options-body label,#assignForm > label,label small{font-size:14px!important}
.student-main strong,.tlr-done-chip strong{font-size:16px!important}
.page-head p,.section-title p{font-size:16px!important}

/* ---- 1.5.2 · area professionista più grande: tutto in proporzione (testi, pulsanti, numeri) ---- */
html.g-admin body{zoom:1.12}
body.tlr-pro:not(.student-mode){zoom:1.1}

/* ---- 1.5.4 · Tra le righe, pagine del ragazzo ---- */
.student-mode .student-hero h1{font-size:clamp(28px,3vw,34px)!important}
.student-mode .student-hero p{font-size:18px!important;max-width:60ch}
.student-activity-row h2{font-size:22px!important}
.student-activity-row p,.student-activity-row div > p{font-size:16px!important}
.student-activity-row .open-student-activity,.profile-return-actions button{font-size:16px!important;padding:10px 18px!important}
.student-activity-row .status{font-size:14px!important}
.student-assignment-meta strong{font-size:18px!important}
.student-assignment-meta span,.student-status-steps span,.brand-copy small{font-size:15px!important}
.student-mode button.primary,.student-mode button.secondary{font-size:16px!important}
.student-mode .question-tag,.student-mode .text-tag,.student-mode .voice-more summary,.student-mode .voice-opts label,.student-mode .voice-state{font-size:15px!important}
