/* Compact clearance page and native, keyboard-accessible action drawers. */
.content:has(.student-clearance)>.page-heading{margin-bottom:14px}.content:has(.student-clearance)>.page-heading p{display:none}.student-clearance{min-width:0}.sc-search-area{position:relative;margin-bottom:14px}.sc-lookup{display:flex;gap:8px;align-items:center}.sc-search-field{min-width:0;flex:1;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:7px;background:white;padding:0 9px;height:40px}.sc-search-field>.icon{color:var(--muted)}.sc-search-field input{border:0;padding:8px 0;background:transparent;min-width:0;flex:1}.sc-search-field:focus-within{border-color:var(--slsu-blue);box-shadow:0 0 0 2px #0047ab12}.sc-search-field input:focus{outline:0;box-shadow:none}.sc-icon-button{width:32px;min-height:32px;padding:6px;flex-shrink:0}.sc-icon-button[aria-pressed=true]{background:var(--slsu-blue-soft);color:var(--slsu-blue)}.sc-suggestions{position:absolute;top:45px;left:0;right:0;z-index:4;border:1px solid var(--line);border-radius:8px;background:white;box-shadow:0 10px 25px #18324f1c;max-height:360px;overflow:auto}.sc-suggestions p{margin:0;padding:12px 16px;font-size:12px;color:var(--muted)}.sc-student-option{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:11px 14px;background:white}.sc-student-option small{display:block;margin-top:2px;font-weight:400;font-size:11px}.sc-welcome{padding:48px 20px;text-align:center}.sc-welcome h2{font-size:18px}.sc-welcome p{font-size:13px;color:var(--muted);margin-bottom:0}.sc-welcome-icon{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 16px;border-radius:12px;color:var(--slsu-blue);background:var(--slsu-blue-soft)}.sc-welcome-icon .icon{width:23px;height:23px}.sc-person{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:13px 16px;margin-bottom:13px}.sc-person h2{font-size:16px;margin:0 0 3px;letter-spacing:-.3px}.sc-person small{font-size:12px}.sc-person .student-identity{min-width:0}.sc-person .student-photo{width:44px;height:44px;flex:0 0 44px;background:var(--slsu-green-soft);color:var(--slsu-green)}.sc-person .student-photo img{width:44px;height:44px}.sc-status{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.sc-status small{font-size:11px}.sc-notice{display:flex;gap:8px;background:var(--slsu-blue-soft);padding:10px 12px;border-radius:6px;font-size:12px;color:var(--slsu-deep);margin-bottom:12px;line-height:1.6}.sc-notice .icon{margin-top:2px;flex-shrink:0}.sc-filter-bar{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:12px;flex-wrap:wrap}.sc-scope-tabs{display:flex;align-items:center;gap:3px;flex-wrap:wrap}.sc-scope-tabs button{border:0;background:transparent;font-size:12px;padding:7px 10px;min-height:33px;font-weight:500;white-space:nowrap}.sc-scope-tabs button[aria-pressed=true]{background:white;color:var(--slsu-blue);box-shadow:0 1px 4px #18324f12;font-weight:600}.sc-count{border-radius:4px;background:var(--slsu-surface);color:var(--muted);font-size:11px;line-height:1.4;padding:0 5px;font-weight:500;font-variant-numeric:tabular-nums}.sc-filter-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sc-filter-actions select{width:auto;max-width:215px;height:36px;font-size:12px;padding:7px 28px 7px 10px}.sc-filter-actions button{font-size:12px}.sc-record-header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 15px;border-bottom:1px solid var(--line)}.sc-record-tabs{display:flex;gap:20px}.sc-record-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:13px 0 11px;color:var(--muted);font-weight:600}.sc-record-tabs button[aria-pressed=true]{border-bottom-color:var(--slsu-blue);color:var(--slsu-blue)}.sc-record-header>strong{font-size:19px;color:var(--slsu-deep);font-variant-numeric:tabular-nums;letter-spacing:-.4px;white-space:nowrap}.sc-table-wrap{overflow:auto}.sc-table{table-layout:fixed;font-size:13px;width:100%}.sc-table th{padding:9px 10px;font-size:11px;letter-spacing:0;font-weight:500}.sc-table td{padding:10px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}.sc-table td small{font-size:11px;line-height:1.5;margin-top:3px;color:var(--muted)}.sc-table td b{font-weight:600;line-height:1.4}.sc-table tbody tr:last-child td{border-bottom:0}.sc-table .sc-check-cell{width:38px;padding-left:15px;padding-right:3px}.sc-check-cell input{display:block}.sc-check-label{display:flex;align-items:center;gap:8px;font-weight:400}.sc-mobile-label,.sc-mobile-rates{display:none!important}.sc-table .sc-owner-cell{width:19%;font-size:12px}.sc-owner-cell>span{display:block}.sc-owner-cell .sc-text-button{display:flex;font-size:11px;margin-top:3px;text-align:left}.sc-text-button{border:0;background:transparent;padding:0;min-height:0;color:var(--slsu-blue);font-weight:500;font-size:12px;border-radius:3px;white-space:normal}.sc-text-button:hover{background:transparent!important;text-decoration:underline}.sc-text-button.sc-warning-text{color:var(--beat-warning)}.sc-table .sc-term-cell{width:14%;font-size:12px}.sc-table .sc-rate-cell{width:78px;white-space:nowrap;text-align:right;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.sc-table .sc-amount-cell{width:100px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.sc-amount-cell button{font-size:12px;padding:6px 8px}.sc-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border-top:1px solid var(--line)}.sc-selection-bar>span{font-size:12px;color:var(--muted)}.sc-selection-bar>button{flex-shrink:0}.sc-assignment-note{display:flex;gap:10px;align-items:center;justify-content:space-between;background:var(--beat-warning-bg);color:var(--beat-warning);padding:10px 15px;font-size:12px;border-top:1px solid var(--line)}.sc-assignment-note button{color:var(--beat-warning);flex-shrink:0;font-weight:600}.sc-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px}.sc-footer small,.sc-footer button{font-size:11px}.sc-empty .icon{color:var(--slsu-green);width:24px;height:24px}.sc-empty p{margin:5px 0 10px}.sc-loading{padding:24px}.sc-loading-line{display:block;height:14px;width:55%;background:var(--slsu-blue-soft);border-radius:5px;margin-bottom:13px}.sc-loading-line:nth-child(2){width:35%}.sc-loading p{color:var(--muted);font-size:12px;margin-bottom:0}
dialog.sc-drawer{position:fixed;inset:0 0 0 auto;margin:0;padding:0;width:min(470px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;border:0;border-left:1px solid var(--line);border-radius:0;background:white;box-shadow:-12px 0 48px #18324f25;overflow:auto;overscroll-behavior:contain}dialog.sc-drawer::backdrop{background:#18324f45;backdrop-filter:blur(2px)}.sc-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}.sc-drawer-head h2{font-size:16px}.sc-drawer-content{padding:20px}.sc-mini-student{display:grid;gap:3px;background:var(--slsu-surface);padding:12px;border-radius:6px;margin-bottom:17px;font-size:12px}.sc-mini-student span{color:var(--muted)}.sc-drawer-intro h2{font-size:21px;margin-bottom:6px}.sc-drawer-intro .eyebrow{font-size:10px;margin:0 0 5px;display:block;color:var(--slsu-blue)}.sc-drawer-intro p{font-size:12px;color:var(--muted);margin:0 0 16px}.sc-destination-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:18px}.sc-destination-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 14px;color:var(--muted)}.sc-destination-tabs button[aria-pressed=true]{color:var(--slsu-blue);border-color:var(--slsu-blue)}.sc-hint{font-size:12px;color:var(--muted);line-height:1.6;margin:9px 0 14px}.sc-owner-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 9px;font-size:12px;color:var(--muted)}.sc-owner-tools label{font-size:12px}.sc-owner-list{max-height:300px;overflow:auto;border:1px solid var(--line);border-radius:7px}.sc-select-heading{padding:10px 12px;background:#f8faff;border-bottom:1px solid var(--line);font-size:12px;position:sticky;top:0;z-index:1}.sc-select-heading small{margin-left:auto;font-size:10px}.sc-owner-record{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border-bottom:1px solid var(--line);font-size:12px;cursor:pointer}.sc-owner-record:last-child{border-bottom:0}.sc-owner-record:hover{background:#f8faff}.sc-owner-record>input{margin-top:3px}.sc-owner-record>span{min-width:0;overflow-wrap:anywhere}.sc-owner-record b{font-weight:600}.sc-owner-record small{display:block;font-weight:400;font-size:11px;line-height:1.5;margin-top:3px}.sc-owner-summary{font-size:12px;color:var(--muted);margin-top:9px}.sc-advanced{margin:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}.sc-advanced summary{font-size:12px;color:var(--slsu-deep);cursor:pointer;font-weight:600}.sc-advanced label{margin-top:12px}.sc-advanced .sc-hint{margin-bottom:0}.sc-wide{width:100%}.sc-assignment-review{background:var(--slsu-blue-soft);padding:15px;border-radius:8px;margin-top:15px;color:var(--slsu-deep);font-size:13px}.sc-assignment-review h3{font-size:15px;margin-bottom:8px}.sc-assignment-review p{font-size:12px;margin:8px 0}.sc-assignment-review button{margin-top:14px}.sc-review-items{list-style:none;padding:0;margin:0 0 18px}.sc-review-items li{padding:11px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5}.sc-review-items small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.sc-review-items li>b{white-space:nowrap;font-variant-numeric:tabular-nums}.sc-payment-form{display:grid;gap:14px}.sc-payment-total{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}.sc-payment-total span{font-size:12px;color:var(--muted)}.sc-payment-total strong{font-size:25px;font-weight:650;color:var(--slsu-deep);letter-spacing:-.5px}.sc-payment-form .sc-hint{margin:0}.sc-review-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.sc-receipt-list>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:15px 0;font-size:13px}.sc-receipt-list>div>span{flex:1;min-width:180px}.sc-receipt-list small{display:block;font-size:11px;line-height:1.6;margin-top:4px}.sc-receipt-list button{width:100%}.student-clearance .success-message{padding:10px 12px;background:var(--slsu-green-soft);border-radius:6px}
@media(prefers-reduced-motion:no-preference){.sc-person,.sc-record-panel{animation:beat-content-in 170ms var(--beat-ease)}dialog.sc-drawer[open]{animation:beat-drawer-in 210ms var(--beat-ease)}.sc-loading-line{animation:beat-loading 1.4s ease-in-out infinite}@keyframes beat-drawer-in{from{opacity:.6;transform:translateX(24px)}to{opacity:1;transform:none}}@keyframes beat-loading{50%{opacity:.4}}}
@media(max-width:1180px){.sc-table .sc-rate-cell{display:none}.sc-mobile-rates{display:block!important;font-size:10px!important}.sc-table .sc-term-cell{width:18%}.sc-table .sc-owner-cell{width:23%}.sc-filter-actions select{max-width:190px}.sc-person{gap:10px}.sc-person h2{font-size:15px}.sc-status small{max-width:160px}.sc-record-header>strong{font-size:18px}}
@media(max-width:680px){.sc-person{padding:12px;flex-wrap:wrap}.sc-person .student-identity{width:100%;gap:10px}.sc-person h2{font-size:15px}.sc-person .student-photo{width:38px;height:38px;flex-basis:38px}.sc-person .student-photo img{width:38px;height:38px}.sc-status{align-items:center;flex-direction:row;margin-left:48px}.sc-status small{max-width:none;font-size:10px}.sc-filter-bar{gap:8px}.sc-scope-tabs{gap:2px}.sc-scope-tabs button{padding:7px 8px;font-size:11px}.sc-filter-actions{width:100%}.sc-filter-actions select{flex:1;max-width:none;min-width:0;width:100px}.sc-filter-actions button{font-size:11px;padding-inline:9px}.sc-record-header{padding:0 11px}.sc-record-tabs{gap:14px}.sc-record-tabs button{font-size:12px}.sc-record-header>strong{font-size:16px}.sc-lookup{gap:6px}.sc-lookup>button{font-size:12px;padding:8px}.sc-lookup #sc-refresh{width:34px;min-width:34px}.sc-lookup #sc-refresh span{display:none}.sc-search-field{gap:6px}.sc-search-field>.icon{display:none}.sc-search-field input{font-size:13px}.sc-footer{align-items:flex-start;gap:8px}.sc-footer small{max-width:62%}.sc-selection-bar{padding:11px;flex-wrap:wrap}.sc-selection-bar>button{width:100%}.sc-selection-bar>span{font-size:11px}.sc-assignment-note{padding:10px 11px;font-size:11px;align-items:flex-start}.sc-assignment-note button{font-size:11px}.sc-drawer-content{padding:16px}.sc-drawer-head{padding:13px 16px}.sc-mini-student{margin-bottom:14px}.sc-review-actions button{font-size:12px}}
@media(max-width:520px){.sc-table{display:block}.sc-table thead,.sc-table tbody{display:block}.sc-table thead tr{display:block}.sc-table thead th:not(.sc-check-cell){display:none!important}.sc-table thead th.sc-check-cell{display:block;width:100%;padding:9px 12px}.sc-mobile-label{display:inline!important}.sc-table tbody tr{display:grid;grid-template-columns:27px minmax(0,1fr) 86px;border-bottom:1px solid var(--line);padding:11px 9px}.sc-table tbody tr:last-child{border-bottom:0}.sc-table tbody td{width:auto!important;min-width:0!important;border:0;padding:2px 3px}.sc-table tbody .sc-check-cell{grid-column:1;grid-row:1 / 4;padding:5px 3px 0;align-self:start}.sc-table tbody .sc-activity-cell{grid-column:2;grid-row:1}.sc-table tbody .sc-amount-cell{grid-column:3;grid-row:1;align-self:start;font-size:12px}.sc-table tbody .sc-owner-cell{grid-column:2 / 4;grid-row:2;font-size:11px}.sc-table tbody .sc-owner-cell>span,.sc-table tbody .sc-owner-cell button{display:inline;margin-right:6px}.sc-table tbody .sc-term-cell{grid-column:2 / 4;grid-row:3;font-size:11px;color:var(--muted)}.sc-table tbody .sc-term-cell small{display:inline;margin-left:5px}.sc-table .sc-rate-cell{display:none}.sc-amount-cell button{font-size:11px;white-space:normal;min-height:34px;padding:5px}.sc-mobile-rates{font-size:10px!important}.sc-table td b{font-size:12px}.sc-owner-list{max-height:290px}.sc-search-field input{width:100px}.sc-person small{font-size:11px}.sc-destination-tabs button{font-size:12px;padding:10px 12px}}
@media(pointer:coarse){.sc-search-field{height:44px}.sc-search-field input{font-size:16px}.sc-scope-tabs button,.sc-record-tabs button,.sc-filter-actions button,.sc-destination-tabs button{min-height:44px}.sc-filter-actions select{height:44px;font-size:16px}.sc-owner-record,.sc-select-heading{min-height:44px}.sc-check-cell{min-height:44px}.sc-icon-button{width:38px;min-height:38px}.sc-text-button{min-height:32px}.sc-table .sc-check-cell input{width:20px;height:20px}}

@media(max-width:520px){.sc-record-header{flex-wrap:wrap}.sc-record-header>strong{padding-block:8px}.sc-drawer-head h2{overflow-wrap:anywhere}.sc-review-items li>span{min-width:0;overflow-wrap:anywhere}}

/* Selected payables stay within reach while the fine list scrolls. */
.student-clearance.has-selected-payables{padding-bottom:100px}
.sc-table tbody tr.sc-row-selected{background:#edf4ff}
button.sc-payables{position:fixed;z-index:20;right:24px;bottom:max(20px,env(safe-area-inset-bottom));width:360px;max-width:calc(100vw - 32px);min-height:88px;display:flex;align-items:center;justify-content:flex-start;gap:13px;padding:14px 16px;border:1px solid #ffffff40;border-radius:14px;background:var(--slsu-deep);color:white;text-align:left;box-shadow:0 8px 30px #052e6440;opacity:0;transform:translateY(14px);pointer-events:none}
button.sc-payables.is-visible{opacity:1;transform:none;pointer-events:auto}
button.sc-payables:hover:not(:disabled){background:#003d85;border-color:#ffffff66}
button.sc-payables:focus-visible{outline:3px solid var(--slsu-blue);outline-offset:4px}
button.sc-payables.is-visible:disabled{opacity:.7}
.sc-payables-icon{position:relative;width:38px;height:42px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:#ffffff18;color:#b6e2c3}
.sc-payables-icon>.icon{width:23px;height:23px}
#sc-payables-count{position:absolute;top:-5px;right:-6px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 4px;border-radius:6px;background:#c5efd3;color:#123c2a;font-size:10px;font-weight:700}
.sc-payables-copy{display:grid;gap:2px;min-width:0;flex:1}
.sc-payables-label{font-size:10px;font-weight:500;letter-spacing:.3px;color:#d1e1f9}
.sc-payables-copy strong{font-size:23px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.4px}
.sc-payables-copy small{font-size:10px;color:#d1e1f9;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-payables-open{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:550;flex-shrink:0}
.sc-payables-open .icon{width:15px;height:15px}
.sc-review-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:3px}
.sc-review-heading h3{font-size:13px;margin:0}
.sc-review-heading>span{font-size:11px;color:var(--muted)}
.sc-review-item-end{display:flex;gap:7px;align-items:center;flex-shrink:0;white-space:nowrap}
.sc-review-item-end b{font-variant-numeric:tabular-nums;font-size:12px}
.sc-review-items .sc-remove-fine{width:28px;min-height:28px;padding:5px;border:0;border-radius:5px;background:var(--slsu-surface);color:var(--muted);flex-shrink:0}
.sc-review-items .sc-remove-fine:hover:not(:disabled){background:#fff0ef;color:#a7352b}
.sc-remove-fine .icon{width:14px;height:14px;pointer-events:none}
.sc-payment-form .sc-review-actions{position:sticky;bottom:-20px;padding:12px 0 16px;margin-bottom:-20px;background:white;border-top:1px solid var(--line);z-index:1}
.sc-payment-form .sc-review-actions .primary{min-width:120px}
@media(prefers-reduced-motion:no-preference){
 button.sc-payables{transition:opacity 160ms ease,transform 160ms var(--beat-ease),background-color 140ms ease}
 .sc-table tbody tr{transition:background-color 160ms ease}
}
@media(max-width:760px){
 button.sc-payables{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;max-width:none;min-height:80px;padding:12px 14px}
 .sc-payables-copy strong{font-size:22px}
 .sc-payment-form .sc-review-actions{bottom:-16px;margin-bottom:-16px}
}
@media(pointer:coarse){.sc-review-items .sc-remove-fine{width:40px;min-height:44px}}
@media print{button.sc-payables{display:none!important}.student-clearance.has-selected-payables{padding-bottom:0}}
