.exam-fees-toolbar,.exam-fees-meta,.exam-fees-filters,.exam-fees-total{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.exam-fees-toolbar{justify-content:space-between;padding:16px 0}.exam-fees-toolbar h2,.my-allowance-head h2{font-size:16px;margin:0}.exam-fees-toolbar>div{display:flex;gap:8px}.exam-fee-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.exam-fee-events article{border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:9px;padding:15px;display:flex;align-items:center;gap:12px;justify-content:space-between}.exam-fee-events article>div{min-width:0}.exam-fee-events b{font-size:14px;overflow-wrap:anywhere}.exam-fee-events small{display:block;color:var(--muted);font-size:12px;margin-top:8px}.exam-fee-events button{white-space:nowrap;font-size:12px}.exam-fees-dialog{width:min(900px,calc(100vw - 28px))}.exam-fees-meta{font-size:12px;color:var(--muted);margin-bottom:14px}.exam-fees-meta button{margin-left:auto;font-size:12px;padding:5px 10px;min-height:32px}.exam-fees-filters{display:grid;grid-template-columns:170px minmax(100px,1fr) 160px;margin-bottom:14px}.exam-fees-filters input,.exam-fees-filters select{width:100%;min-width:0}.exam-fees-file-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0;font-size:11px;color:var(--muted)}.exam-fees-file-tools button{font-size:12px;min-height:30px;padding:5px 9px}.exam-fees-dialog .dialog-body label.exam-file-button{display:block;border:1px solid var(--line);border-radius:6px;padding:7px 9px;margin:0;cursor:pointer;color:var(--text);font-size:12px}.exam-file-button input{display:none}.exam-fees-grid{border:1px solid var(--line);border-radius:8px;max-height:380px;overflow:auto}.exam-fees-grid-head,.exam-fees-person{display:grid;grid-template-columns:135px 120px minmax(0,1fr);align-items:center;gap:12px;padding:9px 12px}.exam-fees-grid-head{font-size:11px;color:var(--muted);background:#f6f7fa;position:sticky;top:0;z-index:1}.exam-fees-person{border-top:1px solid #edf0f4;font-size:12px}.exam-fees-dialog .dialog-body .exam-fees-person>label,.exam-fees-dialog .dialog-body label.exam-fees-check,.exam-fees-dialog .exam-fees-legacy label{display:flex;align-items:center;gap:7px;font-size:12px;margin:0}.exam-fees-person input[type=number]{width:100%;min-width:0}.exam-fees-person input[data-reason]{width:100%;font-size:12px;min-height:32px}.exam-fees-person small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.exam-fees-person input[type=checkbox],.exam-fees-check input,.exam-fees-legacy input{width:16px;height:16px;min-height:16px;margin:0;accent-color:var(--accent)}.exam-fees-legacy{border:1px solid var(--line);padding:10px 12px;border-radius:7px;font-size:12px;margin-top:12px}.exam-fees-legacy label{margin-top:8px!important}.exam-fees-total{justify-content:space-between;font-size:12px;padding:13px 0;color:var(--muted)}.exam-fees-total strong{font-size:19px;color:var(--text)}.exam-fees-check{margin-top:14px!important}.exam-fees-person[hidden]{display:none}.my-allowance-panel{padding:20px}.my-allowance-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.my-allowance-head>div{display:flex;align-items:baseline;gap:12px}.my-allowance-head span{font-size:12px;color:var(--muted)}.my-allowance-filters{display:flex;gap:16px;flex-wrap:wrap;align-items:end;margin-bottom:16px}.my-allowance-filters label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.my-allowance-filters select{min-width:220px;max-width:100%}.my-allowance-panel .business-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.my-allowance-panel .business-tabs button{padding:8px 13px}.my-allowance-total{display:flex;gap:15px;align-items:baseline;padding:15px 0 20px;flex-wrap:wrap}.my-allowance-total span,.my-allowance-total small{color:var(--muted);font-size:12px}.my-allowance-total strong{font-size:28px}.my-allowance-day{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:10px}.my-allowance-day summary{padding:12px 15px;display:flex;align-items:center;gap:15px;cursor:pointer;background:#f8f9fb}.my-allowance-day summary>b{font-size:13px}.my-allowance-day summary>span{color:var(--muted);font-size:12px}.my-allowance-day summary>strong{margin-left:auto;font-size:15px}.my-allowance-record{display:flex;align-items:center;justify-content:space-between;padding:11px 15px;border-top:1px solid #edf0f4;gap:15px}.my-allowance-record>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:12px}.my-allowance-record span{font-size:12px;color:var(--muted)}.my-allowance-record strong{font-size:13px}
@media(max-width:700px){.exam-fees-toolbar h2{font-size:15px}.exam-fees-toolbar>div{gap:5px}.exam-fees-toolbar button{font-size:11px;padding:6px 8px}.exam-fee-events{grid-template-columns:1fr}.exam-fees-dialog{width:calc(100vw - 16px)}.exam-fees-dialog .dialog-body{padding:14px}.exam-fees-filters{grid-template-columns:1fr 1fr;gap:8px}.exam-fees-filters select[data-add-teacher]{grid-column:1/-1}.exam-fees-filters input,.exam-fees-filters select{font-size:12px}.exam-fees-grid-head{grid-template-columns:minmax(80px,1fr) 85px}.exam-fees-grid-head span:last-child{display:none}.exam-fees-person{grid-template-columns:minmax(80px,1fr) 85px;gap:8px}.exam-fees-person>div{grid-column:1/-1}.exam-fees-grid{max-height:330px}.exam-fees-file-tools>span{width:100%;line-height:1.5}.exam-fees-total{gap:9px}.exam-fees-total strong{font-size:17px}.my-allowance-panel{padding:14px}.my-allowance-head>div{display:block}.my-allowance-head span{display:block;margin-top:5px}.my-allowance-filters{gap:10px}.my-allowance-filters>label{flex:1;min-width:0}.my-allowance-filters>label:first-child{flex-basis:100%}.my-allowance-filters input,.my-allowance-filters select{min-width:0;width:100%;font-size:12px}.my-allowance-total{gap:10px}.my-allowance-total strong{font-size:24px}.my-allowance-total small{width:100%}.my-allowance-record>div{display:block}.my-allowance-record span{display:block;margin-top:5px}.my-allowance-day summary{gap:8px;padding:11px}.my-allowance-record{padding:10px 11px}}

.exam-fees-filters.source-only{grid-template-columns:170px minmax(100px,1fr)}@media(max-width:700px){.exam-fees-filters.source-only{grid-template-columns:1fr 1fr}}
.exam-fees-meta button{margin-left:0}.exam-fees-meta [data-open-daily]{margin-left:auto}
/* The header and every editor row use the same four column tracks. */
.exam-fees-dialog{--fee-columns:minmax(120px,150px) 100px 86px minmax(0,1fr)}
.exam-fees-toolbar>div{align-items:center;flex-wrap:wrap}.exam-fees-toolbar button{height:36px;min-height:36px;padding:7px 12px;font-size:12px}
.exam-fee-events article{align-items:center;min-height:86px;padding:14px 16px}.exam-fee-events article>div{flex:1}.exam-fee-events b{display:block;line-height:1.5}.exam-fee-events small{line-height:1.5;margin-top:5px}.exam-fee-events button{height:34px;min-height:34px;padding:6px 10px}
.exam-fees-filters{align-items:center}.exam-fees-filters input,.exam-fees-filters select{height:36px;min-height:36px;line-height:20px}
.exam-fees-grid-head,.exam-fees-person{grid-template-columns:var(--fee-columns);gap:12px;padding-left:12px;padding-right:12px}
.exam-fees-grid-head{min-height:36px;align-items:center}.exam-fees-grid-head>span:first-child{padding-left:23px}.exam-fees-grid-head>span:nth-child(2),.exam-fees-grid-head>span:nth-child(3){text-align:right}
.exam-fees-person{align-items:start;padding-top:9px;padding-bottom:9px;min-width:0}.exam-fees-dialog .dialog-body .exam-fees-person>label{min-height:34px;line-height:20px;gap:7px;white-space:nowrap;flex-wrap:wrap}.exam-fees-person input[type=number],.exam-fees-person input[data-reason]{height:34px;min-height:34px;padding-top:6px;padding-bottom:6px;line-height:20px;font-size:12px}.exam-fees-person input[type=number]{text-align:right;font-variant-numeric:tabular-nums}.exam-fees-person>div{min-width:0}.exam-fees-person small{line-height:18px;margin-top:3px}.exam-fees-amount{display:flex;justify-content:flex-end;align-items:center;min-height:34px;line-height:20px;font-size:13px;font-variant-numeric:tabular-nums;color:#325e4b;white-space:nowrap}
.exam-fees-person[data-selected-state="false"] .exam-fees-amount{color:var(--muted)}.exam-fees-person[data-selected-state="false"]{background:#fafbfc}
.exam-fees-dialog [data-category-body]>label:not(.exam-fees-check){display:grid;gap:7px;font-size:12px}.exam-fees-dialog [data-note]{width:100%;height:36px;min-height:36px}.exam-fees-file-tools{align-items:center;min-height:34px;margin:12px 0 10px}.exam-fees-file-tools>span{margin-left:auto;text-align:right}.exam-fees-total{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:14px;padding:14px 0}.exam-fees-total strong{text-align:right;line-height:28px;font-variant-numeric:tabular-nums}
@media(max-width:700px){.exam-fees-dialog{--fee-columns:minmax(0,1fr) 78px 78px}.exam-fees-toolbar{gap:10px}.exam-fees-toolbar>div{gap:6px}.exam-fees-toolbar button{font-size:12px;padding:6px 9px}.exam-fees-grid-head,.exam-fees-person{gap:8px;padding-left:10px;padding-right:10px}.exam-fees-grid-head>span:nth-child(3){display:block}.exam-fees-grid-head>span:last-child{display:none}.exam-fees-person>div{grid-column:1/-1;display:flex;align-items:center;gap:8px}.exam-fees-person input[data-reason]{flex:1;min-width:0}.exam-fees-person>div small{flex-shrink:0;font-size:11px;margin:0}.exam-fees-person input[type=number]{padding-left:7px;padding-right:7px}.exam-fees-amount{font-size:12px}.exam-fees-dialog .dialog-body .exam-fees-person>label{font-size:12px;white-space:normal;align-content:center}.exam-fees-file-tools>span{margin-left:0;text-align:left;width:100%}.exam-fees-total{grid-template-columns:1fr 1fr;gap:6px 10px}.exam-fees-total strong{text-align:left}.exam-fees-total>span:last-child{text-align:right}.exam-fee-events article{padding:12px;gap:10px}.exam-fees-filters.source-only{grid-template-columns:110px minmax(0,1fr)}}
.exam-fees-grid-head>span:nth-child(2){padding-right:12px}
.exam-fees-create-dialog{width:min(680px,calc(100vw - 28px))}.exam-fees-create-dialog .dialog-body>label{display:grid;gap:7px;font-size:12px}.exam-fees-create-dialog select,.exam-fees-create-dialog .field-grid input{width:100%;min-width:0;height:36px;min-height:36px}.exam-fees-create-dialog .field-grid{align-items:end;grid-template-columns:minmax(0,1fr) 170px;gap:14px}.exam-fees-person>div:not(:has([data-reason])){min-height:34px;display:flex;align-items:center}.exam-fees-person>div:not(:has([data-reason])) small{margin:0}.exam-fees-dialog .dialog-body label.exam-fees-check{align-items:flex-start;line-height:1.7}.exam-fees-check input{flex:0 0 16px;margin-top:2px}.exam-fees-dialog [data-category-body]>label:not(.exam-fees-check){line-height:1.7}.exam-fees-dialog .form-error:empty{display:none}
@media(max-width:700px){.exam-fees-create-dialog .field-grid{grid-template-columns:1fr;gap:12px}.exam-fees-create-dialog .field-grid label{min-width:0}.exam-fees-total>span{line-height:1.7}.exam-fees-person>label small{flex-basis:100%;padding-left:23px}}
.exam-fees-dialog .dialog-body>.exam-fees-meta,.exam-fees-dialog .dialog-body>.exam-fees-filters,.exam-fees-dialog .dialog-body>.allowance-notice,.exam-fees-dialog .dialog-body>.soft-note{margin:0}.exam-fees-file-tools{margin-top:0}
.exam-fees-dialog input[type=number]{appearance:textfield;-moz-appearance:textfield}.exam-fees-dialog input[type=number]::-webkit-inner-spin-button,.exam-fees-dialog input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.exam-fees-meta{justify-content:space-between;gap:10px}.exam-fees-identity,.exam-fees-meta-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.exam-fees-meta-actions{margin-left:auto}.exam-fees-meta [data-open-daily]{margin:0}.exam-fees-meta-actions button{height:32px;min-height:32px;line-height:20px;white-space:nowrap}
@media(max-width:700px){.exam-fees-meta{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.exam-fees-meta-actions{margin-left:0}.exam-fees-identity{font-size:12px}}
.exam-fees-empty{padding:18px 12px;text-align:center;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.exam-fees-empty[hidden]{display:none}
@media(max-width:700px){.exam-fees-person>div:not(:has([data-reason])){min-height:20px}}
