.student-header{position:static;max-height:none;overflow:visible;box-shadow:0 6px 20px #46334d0b;border-top:4px solid var(--purple)}.student-header .panel-heading{position:static;background:#fff;padding:12px 0;margin-top:-12px;border-bottom:1px solid var(--line)}.student-header h2{font-size:23px;margin-bottom:4px}.header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.student-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 22px;margin:16px 0}.student-fact dt{font-size:11px;color:var(--muted);margin-bottom:5px}.student-fact dd{margin:0;font-size:13px;line-height:1.6;white-space:pre-wrap}.fact-wide{grid-column:span 2}.header-observations{border-top:1px solid var(--line);padding-top:13px;font-size:12px}.header-observations summary{cursor:pointer;color:var(--purple);font-weight:600}.profile-review{font-size:12px;background:#fff3dc;padding:10px;border-radius:6px}.routine-history th{white-space:normal;min-width:85px}.routine-history td:first-child{min-width:235px}.routine-history .method-cell{min-width:190px;max-width:300px;white-space:pre-wrap}.routine-actions{min-width:160px}.routine-notes-row{background:#faf7fb}.inline-notes{max-width:900px;padding:12px 18px}.inline-notes h3{font-size:15px}.inline-notes article{padding:12px 0;border-bottom:1px solid var(--line)}.inline-notes article small{color:var(--muted)}.inline-notes details{margin:14px 0;font-size:12px}.inline-notes details p{max-height:300px;overflow:auto}.inline-notes form{margin-top:18px}.inline-notes .field{margin-bottom:8px}#student-age-preview{background:#edf3ef;border-radius:8px;padding:10px 14px;margin:0;font-size:13px}.form-grid .field.wide{grid-column:1/-1}@media(max-width:850px){.student-facts{grid-template-columns:1fr 1fr}.student-header .panel-heading{display:block}.header-actions{justify-content:flex-start;margin-top:12px}}@media(max-width:650px){.student-header{position:static;max-height:none}.student-header .panel-heading{position:static}.student-facts{gap:14px}.student-fact{grid-column:span 2}.header-actions button{flex:1}}

.form-panorama{padding:1rem 0;border-top:1px solid var(--brand-line,#efdfd4)}.form-panorama h4{margin:1.25rem 0 .5rem}.form-panorama dl{display:grid;gap:.8rem}.form-panorama dt{font-size:.8rem;color:var(--brand-muted,#78665e)}.form-panorama dd{margin:.25rem 0;overflow-wrap:anywhere}.form-panorama details{margin-top:1rem}

.new-students-stat{display:block;text-align:left;border:0;background:transparent;color:inherit;font:inherit;padding:0;width:100%;cursor:pointer}.new-students-stat span,.new-students-stat strong,.new-students-stat small{display:block}.new-students-stat:focus-visible{outline:2px solid var(--brand-action);outline-offset:6px}.form-panorama .form-summary{line-height:1.9;margin:1rem 0;overflow-wrap:anywhere}.form-summary>strong{display:block;color:var(--brand-ink);margin-bottom:.25rem}.form-summary b{font-weight:700}.new-student-review{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--brand-line)}

.student-name-level{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}.student-name-level h2{margin:0}.student-level-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:3.4rem;min-height:2.6rem;padding:.55rem .7rem;border:0;border-radius:8px;background:var(--brand-primary,#d54930);color:#fff;font-size:1rem;font-weight:700;line-height:1;white-space:nowrap}.profile-copy-suggestions .candidate-grid{margin-top:1rem}.profile-copy-suggestions .candidate{min-width:0}.copy-review-caption{font-size:.75rem;line-height:1.7}.copy-student-cards{display:grid;gap:1.1rem}.copy-student-card{border-top:3px solid var(--brand-gold,#f0b057)}.copy-student-card h2{font-size:1rem}.copy-student-card table{min-width:1100px}.copy-notes-cell{white-space:pre-wrap;min-width:180px;max-width:300px}.copy-source-editor{border:1px solid var(--brand-line,#efdfd4);border-radius:12px;padding:1rem;margin:1rem 0}.copy-source-editor legend{padding:0 .5rem;font-size:.85rem}.profile-copy-suggestions .form-actions{flex-wrap:wrap}@media(max-width:700px){.student-name-level{gap:.75rem}.student-level-badge{width:auto}.copy-student-card .panel-heading{align-items:flex-start;flex-direction:column}}
