/* Shared typography and the family workspace, after the component styles. */
.actions,.pagination{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:22px 0}
.pagination a{padding:9px 13px;border-radius:10px}
.pagination [aria-current=page]{background:var(--family-lilac);border:1px solid var(--purple)}
.page-heading:has(>h1){display:block}
.page-heading:has(>h1)>p{margin-top:14px}
.class-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:22px}
.class-card{display:flex;flex-direction:column;align-items:flex-start;margin:0!important;gap:14px}
.class-card h2,.class-card p,.class-card .eyebrow{margin:0}
.class-card .button{margin-top:auto}
.mission-editor>.map-preview{height:auto;min-height:0;overflow:visible;margin-top:0}
.mission-editor>.map-preview canvas{max-height:none;height:auto;aspect-ratio:auto}
.preview-question label{margin:16px 0}
.preview-question label:first-child{margin-top:0}
.form-stack>button{align-self:flex-start}
.actions form,.invite-actions form{margin:0}
.section-tabs{row-gap:14px;align-items:center}
.section-tabs .button{margin:0}
.content-card .button{align-self:flex-start}
.history-form details{border:1px solid var(--line);padding:16px;border-radius:12px}
.history-form details[open] summary{margin-bottom:20px}
.history-form details .form-grid{margin-top:18px}
@media(max-width:640px){.account{flex-wrap:wrap}.form-grid{grid-template-columns:minmax(0,1fr)}.actions{align-items:stretch}.actions .button{flex:1 1 180px}.pagination{gap:8px}.pagination span{flex-basis:100%;text-align:center}}
:root{font-size:17px;--heading:#432060;--purple:#6930a0;--family-blue:#f1f7fd;--family-lilac:#f6f0fc}
body{line-height:1.6}
h1,h2,h3,h4,.page-heading h1,.dashboard-hero h1,.subject-card h3,.subject-card h4{color:var(--heading)}
.text-button,.subtle-link,.back-link,.round-link,.section-tabs a,.advanced-filters summary,.prediction-method summary,.topbar nav a,.nav-group summary{font-weight:700;color:#65299a}
.page a:not(.button):not(.tool-card){font-weight:700;color:#65299a}
.text-button:hover,.subtle-link:hover,.back-link:hover,.section-tabs a:hover{color:#44196e;text-decoration:underline;text-underline-offset:.2em}
.button{font-weight:700;line-height:1.35;white-space:normal;text-align:center}
label,input,select,textarea{line-height:1.45}
input,select{min-height:44px}
input[type=checkbox],input[type=radio]{min-height:0;width:1.1rem;height:1.1rem;flex:none}
.panel,.panel>*{min-width:0}
.panel h2,.panel h3{overflow-wrap:anywhere}
.dashboard-hero,.page-heading,.section-heading{gap:20px}
.student-overview-grid .character-details,.student-report-panel,.family-goal-page .goal-completion{background:var(--family-lilac)}
.student-overview-grid .academic-snapshot,.family-document-filters,.family-goal-filters,.help-contact{background:var(--family-blue)}
.section-guide{width:78px;height:88px;object-fit:contain;flex:none}
.section-heading>div{min-width:0}
.student-report-panel .section-heading{align-items:center}
.student-export-form .selection-column{width:48px;text-align:center}
.student-export-form th,.student-export-form td{vertical-align:middle}
.export-actions{justify-content:flex-end;margin-top:20px;gap:16px}
.export-actions [data-selection-count]{margin-right:auto;color:var(--muted);font-size:.85rem}
.family-document-filters,.family-goal-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:20px;align-items:end;margin:20px 0}
.family-document-filters label,.family-goal-filters label{display:grid;gap:8px;margin:0;min-width:0}
.family-goal-filters label.checkbox{display:flex;align-items:center;gap:10px;min-height:44px}
.family-document-filters .button,.family-goal-filters .button{margin:0;min-height:44px}
.family-goal-page .panel{padding:26px;margin-top:22px}
.family-goal-page .subject-grid{align-items:start;gap:20px}
.family-goal-page .subject-card{padding:20px}
.family-goal-page .form-stack{gap:16px;margin-top:18px}
.family-goal-page .form-stack>.button{justify-self:start;align-self:start}
.family-goal-page .timeline article{padding:20px;border-radius:12px;background:var(--family-blue);margin-bottom:16px}
.family-goal-page .timeline time{display:inline-block;margin:0 12px}
.family-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:start;gap:20px}
.family-actions details,.family-actions>form{min-width:0;width:100%}
.family-actions summary.button{width:100%;box-sizing:border-box}
.family-actions form{margin-top:12px;padding:18px}
.family-actions>form{margin-top:0}
.roster-guide{gap:18px;align-items:center}
.roster-guide>img{object-fit:contain;flex:none}
.help-hero{display:flex;align-items:center;justify-content:space-between;padding:26px 30px;border:1px solid var(--line);border-radius:var(--radius);background:var(--family-lilac);margin:0 0 24px}
.help-hero img{width:110px;height:138px;object-fit:contain;flex:none}
.help-hero h1{margin-top:0}
.help-faq details{padding:18px 0;border-bottom:1px solid var(--line)}
.help-faq details:last-child{border-bottom:0}
.help-faq summary{cursor:pointer;color:#65299a;font-weight:700}
.help-faq p{margin-bottom:0;max-width:80ch}
.help-contact .form-grid{grid-template-columns:1fr 1fr}
.help-contact .form-actions{margin-top:8px}
.support-message{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:900px){.family-document-filters,.family-goal-filters{grid-template-columns:1fr 1fr}.family-document-filters .button,.family-goal-filters .button{grid-column:1/-1;justify-self:start}}
@media(max-width:640px){.family-document-filters,.family-goal-filters,.help-contact .form-grid{grid-template-columns:1fr}.family-document-filters .button,.family-goal-filters .button{width:100%}.family-goal-page .panel{padding:18px}.help-hero{padding:20px;gap:14px}.help-hero h1{font-size:1.7rem}.help-hero img{width:66px;height:90px}.section-guide{width:58px;height:70px}.export-actions{justify-content:flex-start}.export-actions [data-selection-count]{flex-basis:100%}.hero-identity>div{min-width:0}.hero-identity .eyebrow{overflow-wrap:anywhere}.section-heading{align-items:flex-start}.student-card-heading .form-actions a{font-size:.85rem}}
@media print{.section-guide,.help-hero img,.export-actions{display:none}}
@media(max-width:640px){.student-card-heading .form-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));align-items:stretch}.student-card-heading .form-actions a{width:100%;overflow-wrap:normal;word-break:normal}}
