/* The pupil dossier's visual language, shared by all other records. */
.record-card-dialog{max-width:1040px}
.record-themed{display:block!important;background:var(--paper);container-type:inline-size}
.record-layout{display:grid;gap:22px;min-width:0}
.record-layout>p:empty{display:none}
.record-hero{display:flex;align-items:center;gap:22px;min-width:0;padding:28px 30px;border-radius:16px;border-left:5px solid var(--accent-pale);background:var(--forest);color:#fff}
.record-avatar{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;border:1px solid #ffffff35;border-radius:24px;background:#ffffff10;color:var(--accent-pale);font-size:27px;font-weight:600}
.record-hero-copy{flex:1;min-width:0}.record-kicker{margin:0 0 9px;color:#c5d7ec;font-size:10px;letter-spacing:1.8px;font-weight:650}
.record-hero h3{margin:0;font:30px/1.2 var(--serif);color:#fff;overflow-wrap:anywhere}
.record-reference,.record-subtitle{font-size:12px;line-height:1.7;margin:12px 0 0;color:#d0ddec}.record-reference strong{color:#fff;margin-left:8px;overflow-wrap:anywhere}.record-hero-status{align-self:flex-start}
.record-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start;min-width:0}
.record-card{min-width:0;padding:23px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 3px 12px #10223803}
.record-card-wide{grid-column:1/-1}
.record-card-head{display:flex;align-items:center;gap:14px;margin-bottom:24px}
.record-card-number{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:700}
.record-card-head h3{margin:0;font:600 16px/1.45 var(--sans);color:var(--ink)}.record-card-head p{font-size:12px;line-height:1.6;color:var(--muted);margin:5px 0 0}
.record-card .record-card-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding:0;max-height:none;overflow:visible;min-width:0}
.record-card-wide>.record-card-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.record-read-field{min-width:0;line-height:1.6}.record-read-label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.record-read-value{font-size:14px;font-weight:550;overflow-wrap:anywhere;white-space:pre-line}
.record-read-field:has(.class-reference-details){grid-column:1/-1}
.record-addon-card>.record-card-fields{display:block}
.record-addon-card .guardian-section,.record-addon-card .account-roles{padding:0;border:0;box-shadow:none}
.record-addon-card :is(.guardian-section,.account-roles)>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.record-addon-card .guardian-section .form-grid{padding-top:20px}
.record-addon-card :is(.payment-installments,.fee-detail-plan){border:0;padding:0;box-shadow:none}
.record-addon-card .fee-detail-plan>h3,.record-addon-card .payment-installments>header>h3{display:none}
.record-addon-card:has(>.record-card-fields>.payment-installments[hidden]){display:none}
.record-card .payment-fee-field{background:var(--paper);padding:16px;border-radius:10px}
.record-themed .assignment-context{margin:0}
.record-schedule-hero{background:var(--forest);color:#fff;border:0;border-left:5px solid var(--accent-pale);border-radius:16px;padding:26px 28px}.record-schedule-hero>strong{font:28px/1.3 var(--serif);display:block}.record-schedule-hero p{color:#d0ddec;font-size:12px;line-height:1.8}.record-schedule-hero b{color:#fff}
.fee-schedule-body.record-themed{display:flex!important;flex-direction:column;gap:22px}
.record-addon-card .fee-period-fields{padding:0}.record-addon-card .fee-schedule-rows{min-width:0}.record-addon-card .fee-period-fields button{margin-top:0}
.record-card-dialog #lifecycle-body{background:var(--paper)}
.record-card-dialog #lifecycle-body>.info-card{background:#fff;border-radius:16px}
.record-card-dialog #lifecycle-body .record-themed{padding-top:0}
.record-card-dialog .record-read-value .class-reference-details{font-weight:400;white-space:normal}
@container(max-width:640px){.record-card-grid{grid-template-columns:minmax(0,1fr)}.record-card-wide>.record-card-fields{grid-template-columns:minmax(0,1fr)}.record-hero{padding:22px 20px;gap:16px}.record-avatar{width:56px;height:56px;flex-basis:56px;border-radius:18px;font-size:22px}.record-hero h3{font-size:25px}.record-hero-status{align-self:center}}
@media(max-width:680px){.record-layout,.record-card-grid{gap:16px}.record-card-grid{grid-template-columns:minmax(0,1fr)}.record-card{padding:19px;border-radius:13px}.record-card-wide>.record-card-fields{grid-template-columns:minmax(0,1fr)}.record-card-head{gap:12px;margin-bottom:22px}.record-card-head h3{font-size:15px}.record-hero{padding:22px 18px;gap:15px;flex-wrap:wrap}.record-hero h3{font-size:25px}.record-avatar{width:54px;height:54px;flex-basis:54px;font-size:22px;border-radius:17px}.record-hero-copy{flex-basis:calc(100% - 75px)}.record-hero-status{margin-left:69px}.record-reference strong{display:block;margin-left:0}.record-schedule-hero{padding:22px}.record-schedule-hero>strong{font-size:25px}}

.record-card-fields>label:has(>input[type=checkbox]){display:flex;flex-direction:row;align-items:center;gap:10px}.record-card-dialog #lifecycle-body>.record-hero{margin:22px 22px 0}
