*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f1f4f7;color:#132e4a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #ec946b;outline-offset:3px}[hidden]{display:none!important}button{border:0;background:transparent;color:inherit}a{color:#174b78}.utility{max-width:1340px;margin:auto;min-height:47px;padding:8px 30px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;letter-spacing:.02em;color:#56697b}.utility-actions{display:flex;gap:14px}.utility-actions button{padding:6px 0;border-bottom:1px solid #b9c8d4}.demo-label{display:flex;align-items:center;gap:8px}.dot{width:6px;height:6px;background:#e8936a;border-radius:50%}.sheet{max-width:1340px;margin:0 auto 40px;background:#fff;box-shadow:0 15px 70px #24364b0c;overflow:hidden;border-radius:4px 4px 20px 20px;padding:0 42px 12px}.hero{margin:0 -42px;height:clamp(130px,15vw,201px);background:url('assets/reference.png') center top / 100% auto no-repeat;position:relative}.mobile-brand{display:none}.identity{padding:18px 28px 12px;display:flex;align-items:center;justify-content:space-between;gap:18px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:.22em;display:flex;align-items:center;gap:12px;margin:0 0 9px}.eyebrow svg{width:19px;height:19px}h1{font-size:clamp(32px,4vw,56px);line-height:1.15;font-weight:800;letter-spacing:-1.8px;margin:0;color:#08213b}.year{font-size:.76em;font-weight:350;letter-spacing:-1.4px;color:#4c5867;white-space:nowrap}.signature{font:italic 27px 'Snell Roundhand','Segoe Script',cursive;transform:rotate(-8deg);margin:0 0 10px;text-align:center;line-height:1.05;color:#25364a}.signature span{display:inline-block;position:relative;margin-left:25px}.signature span:after{content:'';display:block;width:49px;height:2px;background:#f5a17b;position:absolute;bottom:-12px;right:2px}.card{border:1px solid #e0e8ee;border-radius:21px;background:linear-gradient(115deg,#fff,#f9fbfd);margin:0 0 16px}.profile{display:grid;grid-template-columns:1.06fr 1.06fr .69fr;padding:17px 27px 17px 31px;gap:27px;min-height:183px;margin-bottom:19px}.profile dl{margin:0;padding:0 23px 0 0;border-right:1px solid #d4e0eb;display:grid;grid-template-columns:151px 1fr;align-content:center;row-gap:16px;font-size:14px}.profile dt{display:flex;gap:16px;align-items:center;color:#102d4b;font-size:12px}.profile dd{margin:0;color:#273b50;align-self:center;min-width:0;overflow-wrap:anywhere}.profile dd a{text-decoration:none}.profile dd .contact{display:block;margin:3px 0}.profile dt svg{width:19px;height:19px;flex-shrink:0}.profile-actions{align-self:center;text-align:center;display:grid;gap:11px}.profile-actions p{font-size:10px;color:#83919f;margin:0;line-height:1.5}.primary{background:#103e66;color:white;border-radius:11px;padding:13px 20px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px}.primary.soft{background:#dfeefa;color:#123e68;font-size:13px;padding:15px 12px;white-space:nowrap}.text-button{font-size:11px;text-decoration:underline;text-underline-offset:3px;color:#698096}.pill{background:#c2e3fb;box-shadow:inset 0 -5px 8px #7cb9e523;border-radius:20px;font-size:13px;padding:4px 10px;display:inline-block;color:#113954;font-weight:600;line-height:1.2}.school-Music-Valley{background:#d7ebdc;color:#27583a}.school-ICARO{background:#e9def8;color:#633b83}.school-Iron-Music-Accademy{background:#f6dfea;color:#853a60}.school-Lizard-Scandicci{background:#fff0bc;color:#765a15}.school-Lizard-Mugello{background:#e8d9cb;color:#654830}.school-Nessuna{background:#e8edf0;color:#61707c}.section-card{padding:10px 20px 9px;position:relative}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 9px 9px;min-height:46px}.section-heading:before{content:'';position:absolute;left:6px;top:12px;width:13px;height:38px;border-left:2px solid #ffae88;border-radius:50%}h2{font-size:26px;letter-spacing:-.7px;line-height:1.2;margin:0;display:flex;align-items:center;gap:17px;color:#0b2a49}.section-heading h2 svg{width:28px;height:28px;color:#0b4270;stroke-width:2}.section-heading h2 span:last-child:not(:first-child){margin-left:-10px}.section-tools{display:flex;align-items:center;gap:9px}.quiet{border:1px solid #c3ceda;border-radius:9px;background:#fff;padding:8px 12px;font-size:13px;display:inline-flex;align-items:center;gap:9px}.quiet svg{width:17px;height:17px}.chevron{color:#b0bac5;font-size:21px;line-height:15px}.add-button{border:1px solid #dee7ee;border-radius:9px;width:32px;height:32px;font-size:22px;color:#627b91;background:#fff}.table-wrap{overflow:auto;scrollbar-width:thin;scrollbar-color:#cdd9e3 transparent}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;color:#354457;table-layout:fixed}th{background:#edf2f7;color:#133e67;font-size:12px;font-weight:650;padding:10px 12px;white-space:nowrap}th:first-child{border-radius:3px 0 0 3px}th:last-child{border-radius:0 3px 3px 0}td{padding:9px 12px;border-bottom:1px solid #e6edf3;vertical-align:middle;line-height:1.5;overflow-wrap:anywhere}tbody tr:last-child td{border-bottom:0}th:first-child,td:first-child{width:6%;text-align:center;color:#304b65}.calendar-table th:nth-child(2){width:12%}.calendar-table th:nth-child(3){width:8%}.calendar-table th:nth-child(4){width:12%}.calendar-table th:nth-child(5){width:30%}.calendar-table th:nth-child(6){width:29%}.calendar-table td:nth-child(2){white-space:nowrap}.songs-table th:nth-child(2){width:46%}.songs-table th:nth-child(3){width:29%}.songs-table th:nth-child(4){width:10%}.concerts-table th:nth-child(2){width:24%}.concerts-table th:nth-child(3){width:23%}.action-col{width:36px!important}.row-edit{padding:4px;color:#5d7992;border-radius:6px;display:flex}.row-edit:hover,.add-button:hover{background:#e7f0f7}.row-edit svg{width:15px;height:15px}.add-line{font-size:11px;color:#73899c;padding:9px 12px 4px}.attendance{display:inline-flex;min-width:32px;height:25px;align-items:center;justify-content:center;border-radius:20px;background:#d8ebfb;color:#16416a;font-size:13px;font-weight:650}.attendance.A{background:#ffe5d2;color:#794421}.attendance.R{background:#deece2;color:#36624c}.muted,.empty{color:#91a0ae}.empty-row{text-align:center!important;padding:30px;color:#889bad}.mobile-hint{display:none}.student-switch{padding:5px 28px 16px;display:flex;gap:15px;align-items:center;font-size:12px}.student-switch select{padding:8px;border:1px solid #cedce8;border-radius:8px;background:#fff}footer{display:flex;justify-content:space-between;gap:20px;padding:14px 12px 4px;color:#8596a5;font-size:10px;letter-spacing:.03em}.footer-dot{color:#f1a079;margin:0 8px}svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.view-student .editor-only,.view-student #profile-actions{display:none}.view-student .profile{grid-template-columns:1fr 1fr}.view-student .profile dl:last-of-type{border:0}.view-student .profile dl{grid-template-columns:160px 1fr}.skip{position:absolute;top:-100px;left:20px;background:white;z-index:20;padding:10px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{border:1px solid #dce7ef;border-radius:22px;box-shadow:0 20px 100px #09223f35;padding:28px;max-width:650px;width:calc(100% - 32px);max-height:90dvh;color:#173653}dialog::backdrop{background:#08223d55;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.modal-head h2{font-size:26px}.modal-head .eyebrow{font-size:9px;color:#7391a9}.close{font-size:29px;padding:0 4px;line-height:1}.muted{font-size:13px;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.form-grid label{display:grid;gap:6px;font-size:12px;color:#526d84}.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid #ccdce7;border-radius:9px;padding:11px;background:#fcfdfe;color:#173653;min-height:43px}.form-grid textarea{min-height:100px;resize:vertical}.form-grid .wide{grid-column:1/-1}.modal-footer{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e7edf3;padding-top:18px}#form-error{color:#a73d37;font-size:13px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#123e60;color:white;border-radius:12px;padding:13px 22px;font-size:13px;box-shadow:0 8px 30px #123e6030;transition:.2s;z-index:10;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1450px){.hero{height:201px}}@media(max-width:1100px){.sheet{padding:0 24px 12px}.hero{margin:0 -24px}.profile{gap:17px;padding:20px}.profile dl{grid-template-columns:115px 1fr;padding-right:13px;row-gap:14px}.profile dt{gap:8px;font-size:11px}.profile-actions .primary{white-space:normal}.identity{padding-left:10px;padding-right:10px}h2{font-size:23px}.calendar-table{min-width:840px}}@media(max-width:760px){.utility{padding:10px 16px;font-size:10px;gap:8px}.utility-actions{gap:10px}.sheet{padding:0 15px 10px;border-radius:0;margin-bottom:0}.hero{height:125px;margin:0 -15px;background-size:850px auto;background-position:right top}.mobile-brand{display:flex;position:absolute;left:0;top:0;bottom:0;width:46%;background:linear-gradient(100deg,white 55%,#ffffff00);align-items:center;padding:15px 18px}.mobile-brand img{width:110px;max-height:104px}.identity{padding:20px 4px 19px;display:block;position:relative}.identity h1{font-size:32px;letter-spacing:-1px}.year{display:block;font-size:25px;letter-spacing:-.6px;margin-top:6px}.signature{font-size:17px;min-width:91px;margin:0;position:absolute;right:9px;bottom:25px}.eyebrow{font-size:8px;letter-spacing:.18em;gap:8px}.profile,.view-student .profile{display:grid;grid-template-columns:1fr;padding:19px 20px;gap:17px;border-radius:17px}.profile dl,.view-student .profile dl{grid-template-columns:140px 1fr;border:0;padding:0;row-gap:15px;font-size:13px}.profile dl:first-child{border-bottom:1px solid #e2eaf1;padding-bottom:17px}.profile dt{font-size:11px;gap:12px}.profile-actions{border-top:1px solid #e2eaf1;padding-top:16px;grid-template-columns:1fr;gap:11px}.profile-actions p{display:none}.profile-actions .primary{white-space:nowrap}.section-card{padding:11px 10px 8px;border-radius:17px;margin-bottom:15px}.section-heading{padding-left:7px;flex-wrap:wrap;min-height:45px}.section-heading:before{height:29px;top:16px;left:4px}.section-heading h2{font-size:20px;gap:10px}.section-heading h2 svg{width:22px;height:22px}.section-heading h2 span:last-child:not(:first-child){margin-left:-4px}.section-tools{gap:5px}.quiet{font-size:10px;padding:7px}.quiet svg{width:14px;height:14px}.add-button{width:27px;height:27px;font-size:19px}.calendar-table{min-width:780px}.songs-table{min-width:490px}.concerts-table{min-width:510px}td{font-size:12px;padding:9px}.mobile-hint{display:block;font-size:9px;color:#8a9cad;margin:8px 4px 0}.add-line{padding-top:12px}footer{font-size:9px;flex-direction:column;gap:7px;text-align:center;padding-top:8px}.student-switch{padding-left:5px}.form-grid{grid-template-columns:1fr}.form-grid label{grid-column:1/-1}dialog{padding:22px}.modal-head h2{font-size:23px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
