@import"https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700&family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&display=swap";/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.static{position:static}.block{display:block}.flex{display:flex}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg:#f6f5f2;--surface:#fff;--surface-2:#f1efea;--border:#e2dfd8;--fg:#1c1917;--fg-soft:#57534e;--muted-fg:#a8a29e;--brand-50:#f0fdf4;--brand-100:#dcfce7;--brand-200:#bbf7d0;--brand-400:#4ade80;--brand-500:#16a34a;--brand-600:#15803d;--brand-700:#166534;--brand-800:#14532d;--brand-900:#0f3d21;--accent-100:#f6ecd0;--accent-500:#b8860b;--accent-700:#8a6408;--on-accent:#1c1917;--topbar-h:56px;--radius:6px;--sidebar-w:236px;--font-serif:"Source Serif 4", Georgia, "Times New Roman", serif}html.dark{--bg:#09090b;--surface:#111113;--surface-2:#1c1c1f;--border:#27272a;--fg:#fafafa;--fg-soft:#a1a1aa;--muted-fg:#52525b}html,body,#root{height:100%}body{background:var(--bg);color:var(--fg);-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.5}html[dir=rtl] body{font-family:Noto Naskh Arabic,Inter,sans-serif}h1,h2,.titolo-serif{font-family:var(--font-serif);letter-spacing:-.01em;font-weight:600}html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] .titolo-serif{letter-spacing:0;font-family:Noto Naskh Arabic,serif;font-weight:700}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--muted-fg)}.app-shell{flex-direction:column;min-height:100%;display:flex}.topbar{height:calc(var(--topbar-h) + 8px);border-bottom:1px solid var(--border);border-top:3px solid var(--brand-600);background:var(--surface);box-shadow:0 1px 0 var(--accent-500),0 2px 10px #0000000a;z-index:10;direction:ltr;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:0 22px;display:flex;position:sticky;top:0}.topbar-brand{font-family:var(--font-serif);color:var(--brand-700);align-items:center;gap:10px;font-size:16px;font-weight:600;text-decoration:none;display:flex}.page-content{flex:1;width:100%;max-width:760px;margin:0 auto;padding:28px 20px 40px}.app-shell.has-sidebar{direction:ltr;flex-direction:row}.scuola-sidebar{width:var(--sidebar-w);background:var(--brand-800);color:#fff;border-right:1px solid var(--brand-900);flex-direction:column;flex-shrink:0;align-self:flex-start;min-height:100vh;display:flex;position:sticky;top:0}.sidebar-title{letter-spacing:.12em;text-transform:uppercase;color:var(--accent-500);padding:18px 16px 10px;font-size:11px;font-weight:600}.sidebar-footer{border-top:1px solid #ffffff24;flex-direction:column;gap:4px;padding:12px 8px;display:flex}.scuola-sidebar-body{flex-direction:column;flex:1;min-width:0;display:flex}.has-sidebar .topbar{position:static}.has-sidebar .page-content{max-width:960px}.sidebar-hamburger{display:none}.sidebar-nav-link{border-radius:var(--radius);color:#ffffffc7;border-inline-start:3px solid #0000;align-items:center;gap:10px;margin:0 8px;padding:9px 12px;font-size:13.5px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}.sidebar-nav-link:hover{color:#fff;background:#ffffff17}.sidebar-nav-link.active{color:#fff;border-inline-start-color:var(--accent-500);background:#ffffff24}.sidebar-nav-link.danger{color:#fecaca}.card{background:var(--surface);border:1px solid var(--border);border-radius:calc(var(--radius) + 2px);padding:20px;box-shadow:0 1px 2px #1c19170a}.card-link{color:inherit;cursor:pointer;text-decoration:none;transition:border-color .15s,box-shadow .15s;display:block}.card-link:hover{border-color:var(--brand-500);box-shadow:0 4px 16px #1c191714}.btn{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--fg-soft);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:9px 16px;font-size:13.5px;font-weight:600;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.btn:hover{background:var(--surface-2);color:var(--fg)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--brand-500);color:#fff;border-color:var(--brand-500)}.btn-primary:hover{background:var(--brand-600);border-color:var(--brand-600)}.btn-block{width:100%}.btn-sm{padding:6px 11px;font-size:12.5px}.input,.select{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;color:var(--fg);outline:none;padding:9px 12px;font-family:inherit;font-size:13.5px;transition:border-color .15s}.input::placeholder{color:var(--muted-fg)}.input:focus,.select:focus{border-color:var(--brand-500);box-shadow:0 0 0 3px var(--brand-100)}.field{flex-direction:column;gap:5px;display:flex}.field label{color:var(--fg-soft);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}.badge{border:1px solid #0000;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:11.5px;font-weight:600;display:inline-flex}.badge-success{color:#15803d;background:#dcfce7;border-color:#bbf7d0}html.dark .badge-success{color:#4ade80;background:#052e16;border-color:#14532d}.badge-danger{color:#dc2626;background:#fee2e2;border-color:#fca5a5}html.dark .badge-danger{color:#f87171;background:#1c0a0a;border-color:#7f1d1d}.badge-warning{color:#b45309;background:#fefce8;border-color:#fde68a}html.dark .badge-warning{color:#fbbf24;background:#1c1a06;border-color:#92400e}.badge-neutral{background:var(--surface-2);color:var(--fg-soft);border-color:var(--border)}.alert-error{color:#dc2626;border-radius:var(--radius);background:#fef2f2;border:1px solid #fca5a5;padding:10px 14px;font-size:13px}html.dark .alert-error{color:#f87171;background:#1c0a0a;border-color:#7f1d1d}.alert-success{color:#15803d;border-radius:var(--radius);background:#f0fdf4;border:1px solid #bbf7d0;padding:10px 14px;font-size:13px}html.dark .alert-success{color:#4ade80;background:#052e16;border-color:#14532d}.accent-rule{background:var(--accent-500);border-radius:2px;width:44px;height:3px}.btn-accent{background:var(--accent-500);color:var(--on-accent);border-color:var(--accent-500)}.btn-accent:hover{background:var(--accent-700);border-color:var(--accent-700);color:#fff}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.route-anim{animation:.18s routeIn}@keyframes routeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;justify-content:center;align-items:center;padding:16px;animation:.15s fadeIn;display:flex;position:fixed;top:0;right:0;bottom:0;left:0;overflow-y:auto}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{background:var(--surface);border:1px solid var(--border);border-radius:calc(var(--radius) + 4px);width:100%;max-width:520px;margin:auto;animation:.2s modalIn;box-shadow:0 20px 60px #0003}@keyframes modalIn{0%{opacity:0;transform:scale(.97)translateY(8px)}to{opacity:1;transform:none}}.modal-sm{max-width:400px}.modal-lg{max-width:680px}.modal-xl{max-width:860px}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.modal-title{font-size:15px;font-weight:600}.modal-body{padding:20px}.modal-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding:14px 20px;display:flex}.table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:13px}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);padding:8px 10px}.table th{color:var(--brand-700);background:var(--brand-50);text-transform:uppercase;letter-spacing:.05em;font-size:11.5px;font-weight:600}.table tbody tr:last-child td{border-bottom:none}.ingresso{direction:ltr;grid-template-columns:minmax(320px,5fr) 6fr;min-height:100vh;display:grid}.ingresso-brand{background:linear-gradient(160deg,var(--brand-700),var(--brand-900));color:#fff;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:48px 40px;display:flex;position:relative}.ingresso-brand:after{content:"";background:var(--accent-500);inset-inline:0;height:4px;position:absolute;bottom:0}.ingresso-brand .logo-box{background:#fff;border-radius:14px;padding:12px;box-shadow:0 10px 30px #00000040}.ingresso-brand h1{color:#fff;font-size:26px;line-height:1.25}.ingresso-brand p{color:#ffffffc7;max-width:320px;font-size:14px}.ingresso-form{background:var(--bg);flex-direction:column;justify-content:center;align-items:center;padding:40px 28px;display:flex;position:relative}.ingresso-box{width:100%;max-width:400px}.ingresso-box h2{margin-bottom:4px;font-size:24px}.portale-card{text-align:start;background:var(--surface);border:1px solid var(--border);border-inline-start:4px solid var(--brand-600);border-radius:calc(var(--radius) + 2px);color:inherit;cursor:pointer;align-items:center;gap:16px;padding:20px 22px;text-decoration:none;transition:box-shadow .15s,transform .15s,border-color .15s;display:flex}.portale-card:hover{border-color:var(--brand-600);transform:translateY(-1px);box-shadow:0 6px 20px #1c19171a}.portale-card .icona{background:var(--brand-50);width:46px;height:46px;color:var(--brand-700);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.portale-card.docenti{border-inline-start-color:var(--accent-500)}.portale-card.docenti .icona{background:var(--accent-100);color:var(--accent-700)}.link-quieto{cursor:pointer;color:var(--brand-600);background:0 0;border:none;padding:4px 0;font-size:13px;text-decoration:none}.link-quieto:hover{text-decoration:underline}@media(max-width:860px){.ingresso{grid-template-columns:1fr}.ingresso-brand{gap:10px;padding:28px 20px 26px}.ingresso-brand h1{font-size:21px}.ingresso-brand p{display:none}.ingresso-form{padding:28px 18px 40px}}@media(max-width:640px){.modal-backdrop{align-items:flex-end;padding:0}.modal,.modal-sm,.modal-lg,.modal-xl{border-radius:calc(var(--radius) + 4px) calc(var(--radius) + 4px) 0 0;max-height:92vh;overflow-y:auto;max-width:100%!important}.modal-body{max-height:60vh;overflow-y:auto}.topbar{gap:8px;padding:0 12px}.topbar-brand span{display:none}.topbar .btn-sm{padding:6px 9px}.page-content{padding:16px 12px 28px}.card{padding:14px}.table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.table{min-width:460px}div[style*="grid-template-columns: 1fr 1fr"]{grid-template-columns:1fr!important}h1{font-size:18px!important}.alert-error,.alert-success{font-size:12.5px}.app-shell.has-sidebar{flex-direction:column}.scuola-sidebar{z-index:40;min-height:100%;transition:transform .25s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.scuola-sidebar.mobile-open{transform:translate(0)}.sidebar-hamburger{display:flex!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
