.finance-page{display:grid;gap:22px}.finance-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.finance-heading h2{margin:5px 0 10px}.finance-heading p{margin:0;color:var(--muted)}.finance-filters{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) auto;gap:14px;align-items:end;margin:20px 0}.finance-filters .field{min-width:0;margin:0}.finance-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.finance-stat{border:1px solid var(--line);border-radius:12px;padding:18px 14px;background:#faf8f3;display:grid;gap:8px}.finance-stat span{font-size:13px;color:#4d5666}.finance-stat strong{font-size:20px;color:#081735;white-space:nowrap}.finance-due{background:#081735;border-color:#081735}.finance-due span,.finance-due strong{color:#fff}.finance-due small{color:#e1c679}.finance-accounts-table td small,.finance-document small{display:block;color:var(--muted);margin-top:6px}.finance-accounts-table th,.finance-accounts-table td{padding:14px 10px}.finance-row-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:150px}.finance-row-actions .btn{font-size:12px;padding:8px 10px;min-height:36px}.finance-parent-due{display:flex;justify-content:space-between;align-items:center;border-top:4px solid #bc8a27}.finance-parent-due strong{display:block;font-size:34px;margin:8px 0;color:#081735}.finance-overdue strong{color:#9d3436}.finance-document-list{display:grid;gap:0}.finance-document{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:22px 0}.finance-document:last-child{border-bottom:0}.finance-document h4{margin:8px 0}.finance-document>div:last-child{text-align:right}.finance-document>div:last-child>strong{font-size:22px}.finance-document .school-actions{justify-content:flex-end}.finance-verified{background:#e5f2e9!important;color:#24623b!important}.finance-preview-student{padding:20px 0;border-bottom:1px solid var(--line)}.finance-preview-student>strong{display:block;text-align:right;margin:16px 0;font-size:22px}.finance-picks{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.finance-student-picker>summary,.finance-student-editor>summary{cursor:pointer;font-weight:700;padding:16px 0}.finance-student-editor{border:1px solid var(--line);border-radius:12px;padding:0 18px;margin:14px 0;background:#fff}.finance-student-editor>summary{display:flex;justify-content:space-between;gap:15px}.finance-student-editor[open]{padding-bottom:18px}.finance-add-item{display:flex;align-items:end;gap:14px;background:#f7f3e9;padding:16px;border-radius:12px}.finance-add-item .field{flex:1;margin:0}.finance-line{display:grid;grid-template-columns:2fr .7fr 1fr 1fr auto;gap:12px;align-items:center;border-top:1px solid var(--line);padding:18px 0}.finance-line .field{min-width:0;margin:0}.finance-line input,.finance-line select{width:100%}.finance-line>strong{text-align:right;white-space:nowrap}.finance-allocation-note{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.finance-page .school-table thead{background:#101c31;color:#fff}.finance-page summary{min-height:44px}.shop-body{background:#f5f2eb;color:#142238}.shop-header{max-width:1140px;margin:0 auto;padding:28px 30px;display:flex;align-items:center;gap:24px;border-bottom:1px solid #ded8cb}.shop-header img{width:130px;height:auto}.shop-header strong{flex:1;font-size:15px}.shop-main{max-width:1140px;padding:36px 30px;margin:0 auto}.shop-intro{margin:0 0 30px}.shop-intro h1{font-size:32px;margin:10px 0;overflow-wrap:anywhere}.shop-intro p{color:#626876}.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.shop-grid .card{padding:30px}.shop-product{border-top:4px solid #c59635}.shop-description{white-space:pre-wrap;line-height:1.7;color:#586174}.shop-price{display:block;font-size:36px;margin:26px 0 12px;color:#081735}.shop-total{display:flex;justify-content:space-between;gap:18px;border-top:2px solid #18273d;padding:22px 0;margin:20px 0 0}.shop-total strong{font-size:24px;white-space:nowrap}.shop-personal{border-top:1px solid #ded8cb;padding-top:15px;margin-top:8px}.shop-review{max-width:740px;margin:0 auto;padding:32px}.shop-review-line{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #ded8cb}.shop-review-line small{display:block;color:#626876;margin-top:6px}.shop-private-link{background:#f8f4ea;border:1px solid #e4d6b6;padding:20px;border-radius:12px;margin-top:25px}.shop-private-link input{width:100%;margin:4px 0 12px;font-size:13px}.shop-footer{max-width:1080px;margin:30px auto;padding:25px;text-align:center;color:#707887;font-size:12px}.shop-online{display:flex;gap:10px;flex-wrap:wrap}.shop-online h3{width:100%}.shop-bank{border-top:1px solid #ded8cb;margin-top:15px;padding-top:10px}.shop-bank img{display:block;width:180px;max-width:100%;margin:15px auto}.shop-honey{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.shop-main #shop-error{margin-top:22px}.shop-body .btn{min-height:46px}.shop-body input,.shop-body select{min-height:46px;width:100%}.shop-body .school-tag{display:inline-block;padding:8px 12px;background:#ede8dc;color:#4f5663;border-radius:7px}.shop-body .field{margin:12px 0}.shop-body h2{font-size:22px}.shop-body h3{font-size:17px}
@media(max-width:1100px){.finance-filters{grid-template-columns:repeat(3,1fr)}.finance-summary{grid-template-columns:repeat(3,1fr)}.finance-stat strong{font-size:18px}.finance-picks{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.finance-heading{display:block}.finance-heading>.school-actions{margin-top:16px}.finance-filters{grid-template-columns:1fr 1fr}.finance-summary{grid-template-columns:1fr 1fr;gap:9px}.finance-stat{padding:14px 12px}.finance-due{grid-column:1/-1}.finance-stat strong{font-size:20px}.finance-parent-due,.finance-document{display:block}.finance-document>div:last-child{text-align:left;margin-top:16px}.finance-document .school-actions{justify-content:flex-start}.finance-accounts-table table,.finance-accounts-table tbody{display:block;width:100%}.finance-accounts-table thead{display:none}.finance-accounts-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:12px}.finance-accounts-table td{display:block;border:0;padding:10px 8px;white-space:normal}.finance-accounts-table td:before{content:attr(data-label);display:block;color:#606878;font-size:12px;margin-bottom:5px}.finance-accounts-table td:first-child,.finance-accounts-table td:last-child{grid-column:1/-1}.finance-row-actions .btn{min-height:44px;flex:1}.finance-picks{grid-template-columns:1fr}.finance-add-item{display:block}.finance-add-item>.btn{margin-top:12px}.finance-line{grid-template-columns:1fr 1fr}.finance-line .field:first-child{grid-column:1/-1}.finance-line>strong{text-align:left}.finance-line>.btn{justify-self:end}.finance-student-editor{padding-left:12px;padding-right:12px}.shop-header{padding:20px;gap:12px}.shop-header img{width:95px}.shop-header strong{font-size:12px}.shop-main{padding:24px 16px}.shop-grid{grid-template-columns:1fr;gap:18px}.shop-grid .card,.shop-review{padding:22px}.shop-intro h1{font-size:26px}.shop-total strong{font-size:22px}.shop-review-line{flex-wrap:wrap}.shop-price{font-size:32px}}

.finance-page .school-table th,.finance-dialog .school-table th{background:#101c31;color:#fff;border-bottom:2px solid #101c31}
@media(max-width:700px){.finance-page .school-table table,.finance-dialog .school-table table{min-width:0!important;display:block;width:100%}.finance-page .school-table tbody,.finance-dialog .school-table tbody{display:block;width:100%}.finance-page .school-table thead,.finance-dialog .school-table thead{display:none}.finance-page .school-table tr,.finance-dialog .school-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:12px}.finance-page .school-table td,.finance-dialog .school-table td{display:block;border:0;padding:10px 6px;white-space:normal;overflow-wrap:anywhere}.finance-page .school-table td:before,.finance-dialog .school-table td:before{content:attr(data-label);display:block;color:#606878;font-size:12px;margin-bottom:6px}.finance-page .school-table td:first-child,.finance-page .school-table td:last-child,.finance-dialog .school-table td:first-child,.finance-dialog .school-table td:last-child{grid-column:1/-1}.finance-row-actions{display:grid;grid-template-columns:1fr 1fr;min-width:0}.finance-row-actions .btn{font-size:13px}}

/* Compact financial documents, matching the supplied forms. */
.finance-sheet{background:#fff;color:#202124;border:1px solid #d6d6d6;margin:18px 0 22px;font:13px/1.4 Arial,sans-serif}.finance-sheet-brand{display:grid;grid-template-columns:170px 1fr;gap:28px;align-items:center;padding:24px 18px}.finance-sheet-brand img{width:130px;max-height:60px}.finance-sheet-brand strong,.finance-sheet-brand span{display:block}.finance-sheet-brand span{font-size:12px}.finance-sheet-title{margin:0!important;padding:8px!important;text-align:center;background:#ebebeb;color:#333;font:700 16px/1.25 Arial,sans-serif!important;border-block:1px solid #ccc}.finance-sheet-meta{display:grid;grid-template-columns:55% 45%}.finance-sheet dl{margin:0}.finance-sheet-meta dl{padding:10px;border-right:1px solid #ddd}.finance-sheet-meta dl:last-child{border-right:0}.finance-sheet-meta dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;margin:3px 0}.finance-sheet dt{font-weight:400}.finance-sheet dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.finance-sheet-table table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:0!important}.finance-sheet-table th,.finance-sheet-table td{border:1px solid #d2d2d2;padding:7px 6px;white-space:normal;overflow-wrap:anywhere}.finance-sheet-table th{background:#ededed!important;color:#333!important;font-size:12px}.finance-sheet-table .align-right{text-align:right;font-variant-numeric:tabular-nums}.finance-sheet-table .align-center{text-align:center}.finance-sheet-totals>div{display:grid;grid-template-columns:1fr 130px;text-align:right;border-top:1px solid #ddd;padding:7px}.finance-sheet-totals>div:last-child{font-weight:700;background:#ebebeb}.finance-sheet-totals>div:last-child dt{font-weight:700}.finance-sheet-notes{padding:8px 12px;font-size:12px;color:#555}.finance-sheet-notes p{margin:4px 0}.finance-audit{margin-top:16px;border:1px solid var(--line);padding:12px;border-radius:8px}.finance-audit>summary{cursor:pointer;font-weight:600}.finance-audit .finance-allocation-note{margin:0;padding:12px 0;border:0}.finance-dialog .school-modal{width:min(980px,96vw)}.finance-page .card{padding:22px}.finance-accounts-table th,.finance-accounts-table td{padding:10px 8px}.finance-stat{padding:14px}.finance-document{padding:14px 0}
@media(max-width:700px){.finance-sheet-brand{grid-template-columns:100px 1fr;gap:12px;padding:16px 10px}.finance-sheet-brand img{width:90px}.finance-sheet-brand span{font-size:11px}.finance-sheet-meta{grid-template-columns:1fr}.finance-sheet-meta dl{border-right:0;border-bottom:1px solid #ddd}.finance-sheet-meta dl>div{grid-template-columns:105px minmax(0,1fr)}.finance-sheet-table thead{display:none}.finance-sheet-table table,.finance-sheet-table tbody{display:block}.finance-sheet-table tr{display:grid;grid-template-columns:1fr 1fr;padding:8px;border-bottom:1px solid #ccc}.finance-sheet-table td{display:block;border:0;text-align:left!important;padding:6px}.finance-sheet-table td:first-child{display:none}.finance-sheet-table td:nth-child(2){grid-column:1/-1;font-weight:700}.finance-sheet-table td:before{content:attr(data-label);display:block;font-size:11px;font-weight:400;color:#626262}.finance-sheet-totals>div{grid-template-columns:1fr 95px}.finance-dialog .school-modal{padding:16px}.finance-page .card{padding:18px}}

.finance-fee-picker{flex:1;min-width:0;margin:0;border:0;padding:0}.finance-fee-picker legend{font-size:14px;font-weight:700;margin-bottom:10px}.finance-fee-picker .check-row{display:flex;align-items:center;gap:10px;min-height:44px}.finance-fee-picker input[type=checkbox]{width:18px;min-height:18px;flex:0 0 18px;margin:0}.finance-fee-picker small{white-space:nowrap;color:#69758b;margin-left:8px}

.finance-module-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.finance-module-tabs .btn[aria-current=page]{box-shadow:inset 0 -3px 0 #b67d12}.fee-financial-report{min-width:0}.fee-report-filters{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto;gap:14px;align-items:end;margin:24px 0 12px}.fee-report-filters .field{min-width:0;margin:0}.fee-report-filters select{width:100%}.fee-report-results{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}.fee-report-results .finance-heading h3{margin:0 0 6px}.fee-report-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.fee-report-summary .finance-stat strong{font-size:20px;overflow-wrap:anywhere;white-space:normal;font-variant-numeric:tabular-nums}.fee-report-counts{padding:12px 0}.fee-report-table .school-table{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.fee-report-table table{border-collapse:collapse;width:100%;min-width:1030px}.fee-report-table th,.fee-report-table td{border:1px solid var(--line);padding:12px 10px}.fee-report-table th{font-size:12px;line-height:1.5}.fee-report-table td{font-size:13px;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.fee-report-table th:first-child,.fee-report-table td:first-child{text-align:left;white-space:normal;min-width:190px}.fee-report-table td small{display:block;color:var(--muted);margin-top:5px}.fee-report-table td:last-child{font-weight:700}.fee-report-note{line-height:1.7;margin-top:18px}
@media(max-width:1100px){.fee-report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.fee-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.fee-report-filters{grid-template-columns:1fr 1fr}.fee-report-filters>.btn{grid-column:1/-1}.fee-report-results .finance-heading>.btn{margin-top:14px}.fee-report-summary{grid-template-columns:1fr 1fr}.fee-report-summary .finance-stat strong{font-size:18px}.fee-report-table .school-table{border:0;overflow:visible}.finance-page .fee-report-table .school-table table{min-width:0}.finance-page .fee-report-table .school-table td{min-width:0;white-space:normal;text-align:left}.finance-page .fee-report-table .school-table td:first-child{min-width:0}.finance-module-tabs .btn{flex:1}}
