/* Appearance: scoped to management forms and registers; no data or logic changes. */
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents){--form-maroon:#861f3b;--form-ink:#30212a;font-size:19px;line-height:1.6;color:var(--form-ink);background:#fffaf7}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(.panel,.dialog,.account-card){background:#fff;border:1px solid #d8b7bf;border-top:5px solid #a32649;box-shadow:0 4px 15px #6d20300b;border-radius:14px;padding:24px}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(h2,.page-title){font-size:30px;line-height:1.25;color:#791b36}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) h3{font-size:25px;line-height:1.35;color:#791b36;margin-bottom:18px}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) h4{font-size:21px;line-height:1.4;color:#791b36;margin:26px 0 12px}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(label,.field>span){font-size:18px!important;font-weight:600;line-height:1.5;color:#542238}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(input,select,textarea){font-size:19px!important;line-height:1.5;min-height:48px;border:1.5px solid #b08794;border-radius:8px;background:#fff!important;color:#25212b!important;padding:11px 13px}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(input,textarea)::placeholder{color:#675a64!important;opacity:1}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(input,select,textarea,button):focus-visible{outline:3px solid #d49b18;outline-offset:3px}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) input:is([type=checkbox],[type=radio]){min-height:20px;min-width:20px;accent-color:#861f3b;padding:0}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(.primary,button.primary){font-size:18px;font-weight:700;min-height:48px;padding:12px 20px;border:1px solid #861f3b;background:#97274a;color:#fff;border-radius:9px}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(.ghost,.secondary,.link-button,.chip,.back-link){font-size:17px;font-weight:600;min-height:44px;padding:9px 13px;color:#791b36}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(.chip.sel,.chip.active){background:#861f3b;color:white;border-color:#861f3b}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(.fine,small){font-size:16px!important;line-height:1.6;color:#51434b}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) p.fine{background:#fff7e6;border-left:4px solid #c9921b;padding:12px 15px;border-radius:6px}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) .kicker{font-size:14px;color:#8a2143;font-weight:700;letter-spacing:.08em}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(table,.reg){font-size:18px;line-height:1.5}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) th{font-size:17px;color:#fff;background:#861f3b;padding:14px 12px;text-transform:none;letter-spacing:0}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) td{padding:14px 12px;border-bottom:1px solid #ddc5cd}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) tbody tr:nth-child(even){background:#fff5f8}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) .stat{background:#fff;border:1px solid #d8b7bf;border-top:5px solid #b02d50}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) .stat strong{font-size:32px;color:#791b36}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) .pill{font-size:16px;font-weight:700;padding:7px 11px}
/* Preserve correction/error/disabled meanings, and existing responsive table behavior. */
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) .exp-correction{color:#a5192d!important;background:#fff1f3!important}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:600px){:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(.panel,.dialog){padding:18px 14px}:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) h2{font-size:27px}}
/* Raised-label style; original fields and order retained. */
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(.form>label,.field){position:relative;padding-top:4px;margin-bottom:14px}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(.field>span,.form>label>span){display:inline-block;background:linear-gradient(#a52e50,#801d38);color:#fff;border-radius:5px 9px 9px 2px;padding:6px 13px;margin-bottom:8px;box-shadow:0 3px 0 #5e182b,0 5px 10px #791b3618;font-size:17px!important;font-weight:650}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(input,select,textarea):not([type=checkbox]):not([type=radio]){box-shadow:0 3px 0 #ead4db,0 5px 12px #68152c0b;background:linear-gradient(#fff,#fffafd)!important}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) .raised-field-label{display:inline-block;background:linear-gradient(#a52e50,#801d38);color:#fff!important;border-radius:4px 9px 9px 2px;padding:6px 13px;margin:0 0 10px;box-shadow:0 3px 0 #5e182b,0 6px 10px #791b3618;font-size:16px!important;font-weight:600;line-height:1.5}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) .preview-raised-field{display:flex;align-items:flex-start;flex-direction:column;min-width:0;margin:8px 0}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) .preview-raised-field>:is(input,select,textarea){width:100%;box-sizing:border-box}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) td{font-size:18px!important}
:is(.pg-fees,.pg-students,.pg-accounts,.pg-staff,.pg-parents) :is(table.reg,table.table) th{font-size:17px!important;color:#fff!important;background:#861f3b!important;padding:14px 12px!important;line-height:1.5!important}
