.credit-mode{background:#f4f6f7;color:#242c30;letter-spacing:0}
.credit-standalone{margin:0;font:15px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.credit-standalone *{box-sizing:border-box}.credit-standalone main{margin:0 auto}
.credit-standalone [hidden]{display:none!important}
.credit-guest-monitor{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:14px 0;border-block:1px solid #d8dfe2;font-size:13px;line-height:1.5}
.credit-guest-monitor strong{color:#28654c;display:inline-flex;align-items:center;gap:7px}
.credit-guest-monitor strong::before{content:'';width:8px;height:8px;border-radius:50%;background:#318665;flex:none}
.credit-guest-monitor[data-state=warning] strong{color:#87551b}.credit-guest-monitor[data-state=warning] strong::before{background:#b0781d}
.credit-guest-monitor[data-state=working] strong::before{background:#3475a1}.credit-guest-monitor small{color:#65716a}
.credit-clean-ready #credit-guest-monitor{display:none}
.credit-clean:not(.credit-clean-ready) .reportHead{display:none}
@media(max-width:600px){.credit-guest-monitor{font-size:12px;gap:8px 14px}.credit-guest-monitor strong{flex-basis:100%}}
.credit-standalone h1{margin:14px 0}.credit-standalone h2{margin:0}
.credit-standalone .btn{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #c6d2d6;padding:9px 12px;color:#283e43;text-decoration:none;font:inherit;cursor:pointer}
.credit-standalone .branches{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.credit-standalone .reportHead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.credit-standalone .status{font-size:12px;color:#596a70}.credit-standalone .empty{padding:20px;border:1px solid #d5dfe1}
.credit-standalone .btn.active,.credit-standalone .btn.gold{background:#13675e;color:#fff}
.credit-standalone .credit-back{font-size:13px;min-height:40px}
.credit-mode main{max-width:1480px;padding:16px 20px 56px}
.credit-mode .hero,.credit-mode .panel{border:0;border-radius:0;box-shadow:none;background:transparent;min-width:0}
.credit-mode .hero{padding:8px 0 14px;border-bottom:1px solid #d8dfe2}
.credit-mode .hero .muted{display:none}
.credit-mode h1,.credit-mode h2{letter-spacing:0}
.credit-mode h1{font-size:22px}.credit-mode h2{font-size:18px}
.credit-mode .panel{padding:12px 0}.credit-mode .side{background:#f4f6f7;border-bottom:1px solid #d8dfe2}
.credit-mode .btn{border-radius:6px;font-weight:600;min-height:36px;box-shadow:none;transform:none}
.credit-mode .btn.gold,.credit-mode .btn.active{background:#13675e;color:white}
.credit-mode .dash{margin-top:18px}
.credit-mode .empty{border-radius:6px;background:#fff;border-color:#d8dfe2}
.credit-mode .status{margin-top:6px}.is-stale{color:#a53c24!important;font-weight:600}
.credit-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-bottom:16px}
.credit-range{display:flex;align-items:end;gap:10px;flex-wrap:wrap;flex-basis:100%;padding-bottom:14px;border-bottom:1px solid #d8dfe2}
.credit-range input{height:40px;padding:8px 10px;border:1px solid #cbd5da;border-radius:6px;background:#fff;font:inherit;color:#242c30;min-width:0;max-width:100%}
.credit-range input[type=number]{width:96px}.credit-range span{font-size:13px;align-self:center;color:#536168}#credit-range-error{color:#9a3e2b}
.credit-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#536168}
.credit-toolbar select,.credit-toolbar input[type=search]{height:40px;border:1px solid #cbd5da;border-radius:6px;background:#fff;font:14px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#242c30;padding:8px 10px;min-width:120px;max-width:100%}
.credit-toolbar select:focus,.credit-toolbar input:focus{outline:2px solid #13675e;outline-offset:2px}
.credit-toolbar .credit-search{flex:1;min-width:170px;max-width:280px}
.credit-toolbar .credit-auto{flex-direction:row;align-items:center;min-height:40px;font-weight:400;white-space:nowrap}
.credit-auto input{accent-color:#13675e;width:16px;height:16px}
.credit-warning{background:#fff1e8;color:#843b19;border-left:3px solid #c46b31;padding:12px 14px;margin:12px 0;font-size:14px;border-radius:0}
.credit-warning[hidden]{display:none}
.credit-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:13px;color:#59666c;margin:12px 0}
.credit-readonly{color:#13675e;font-weight:600}
.credit-days{display:flex;gap:6px;margin:12px 0 18px;overflow-x:auto;padding-bottom:6px}
.credit-day{flex:1 0 102px}
.credit-day{min-width:0;min-height:62px;padding:9px 4px;border:1px solid #cbd5da;border-radius:6px;background:#fff;color:#3d4d54;cursor:pointer;font:inherit;letter-spacing:0;text-align:center}
.credit-day strong{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.credit-day small{display:block;font-size:11px;line-height:1.5;margin-top:4px}
.credit-day.active{background:#13675e;border-color:#13675e;color:#fff}
.credit-day:hover:not(.active){background:#eaf0f2}
.credit-day:focus-visible{outline:2px solid #13675e;outline-offset:2px}
@media(max-width:760px){.credit-day{flex-basis:92px}.credit-day strong{font-size:12px}.credit-range label{flex:1 1 130px}.credit-range input[type=date]{width:100%}}
.credit-summary{display:flex;gap:24px;flex-wrap:wrap;border-top:1px solid #d8dfe2;padding:14px 0;font-size:13px;color:#59666c}
.credit-summary strong{color:#242c30;font-size:20px;font-weight:650;margin-right:4px}
.credit-summary{align-items:center;gap:10px 18px}
.credit-summary-button{font:inherit;color:#44565e;background:#fff;border:1px solid #c5d0d5;border-radius:6px;min-height:42px;padding:7px 12px;cursor:pointer;letter-spacing:0;white-space:normal;text-align:left}
.credit-summary-button[aria-pressed=true]{border-color:#236e62;background:#eaf4f0;color:#17564c}
.credit-summary-button:focus-visible{outline:2px solid #236e62;outline-offset:2px}
.credit-reason details p{line-height:1.6;overflow-wrap:anywhere}
.credit-table-wrap{overflow:auto;background:#fff;border:1px solid #d8dfe2;border-radius:6px}
.credit-table{width:100%;min-width:920px;table-layout:fixed}
.credit-table th{background:#eaf0f2;color:#536168;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;padding:12px}
.credit-table th:nth-child(1){width:10%}.credit-table th:nth-child(2){width:24%}.credit-table th:nth-child(3){width:12%}.credit-table th:nth-child(4){width:8%}.credit-table th:nth-child(5){width:8%}.credit-table th:nth-child(6){width:38%}
.credit-table td{padding:14px 12px;border-color:#e6ecee;font-size:14px;overflow-wrap:anywhere}
.credit-table strong{font-weight:600}.credit-table small{display:block;font-size:12px;color:#657279;line-height:1.5;margin-top:4px}
.credit-table .credit-number{font-size:22px;font-weight:650;font-variant-numeric:tabular-nums}
.credit-table .credit-proposal{color:#13675e}.credit-table .credit-delta{font-size:12px;font-weight:400}
.credit-table progress{display:block;width:68px;max-width:100%;height:5px;border:0;border-radius:0;accent-color:#13675e;margin-top:7px}
.credit-table progress::-webkit-progress-bar{background:#e7eeec}.credit-table progress::-webkit-progress-value{background:#378677}
.credit-state{display:inline-block;font-size:12px;font-weight:600;color:#3e5752;padding:2px 0}
.credit-state.conflict,.credit-state.review{color:#a0442c}.credit-state.change{color:#175f8b}.credit-state.full{color:#7f4556}.credit-state.past{color:#657279}
.credit-reason details{margin-top:7px;font-size:12px;color:#536168}.credit-reason summary{cursor:pointer;color:#315e76}
.credit-reason ul{padding-left:18px;margin:8px 0;line-height:1.6}.credit-reason a{color:#165f8d;display:inline-block;margin-top:8px}
.credit-row.past{background:#f7f9fa}.credit-row.conflict .credit-proposal{color:#a0442c}
.credit-method{margin-top:20px;border-top:1px solid #d8dfe2;padding-top:14px;font-size:13px;line-height:1.6;color:#536168}
.credit-method summary{cursor:pointer;font-weight:600;color:#303f46}.credit-method li{margin:6px 0}
.credit-rule-wrap{max-width:600px;overflow:auto}.credit-rule-table{min-width:350px;background:white}
.credit-rule-table th,.credit-rule-table td{font-size:12px;padding:8px;border-color:#d8dfe2;letter-spacing:0;background:transparent}
.credit-table .credit-review-button{display:block;margin:10px 0 8px;font-size:12px;border-color:#b9cdca;color:#13675e}
.credit-review{width:600px;max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);margin:auto;border:1px solid #cbd5da;border-radius:8px;padding:24px;color:#242c30;background:#fff;overflow:auto;letter-spacing:0}
.credit-review::backdrop{background:rgb(15 22 23 / 45%)}
.credit-mode:has(.credit-review[open]){overflow:hidden}
.credit-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.credit-review-head h2{font-size:20px;line-height:1.4;margin:6px 0 0;overflow-wrap:anywhere}
.credit-review-head .credit-readonly{font-size:12px}
.credit-review .credit-close{width:36px;height:36px;min-width:36px;font-size:24px;padding:0;justify-content:center;color:#536168;border-color:#cbd5da}
.credit-review-meta{font-size:14px;color:#536168;line-height:1.7;margin:12px 0}
.credit-review-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-block:1px solid #d8dfe2;padding:16px 0}
.credit-review-metrics span{display:block;font-size:12px;color:#536168}.credit-review-metrics strong{display:block;font-size:28px;margin-top:6px;line-height:1.2;font-variant-numeric:tabular-nums}
.credit-review-metrics>div:nth-child(2) strong{color:#13675e}
.credit-review .status{margin-top:10px;font-size:12px}
.credit-review-target{margin-top:20px}.credit-review-target h3{font-size:15px;margin:0 0 12px}
.credit-review-target dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 16px;font-size:13px;margin:0;line-height:1.5}
.credit-review-target dt{color:#536168}.credit-review-target dd{margin:0;overflow-wrap:anywhere}
.credit-review-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;border-top:1px solid #d8dfe2;padding-top:16px}
.credit-review-actions .btn{justify-content:center;min-height:42px;font-size:13px;white-space:normal;text-align:center}
.credit-review button:focus-visible,.credit-review a:focus-visible,.credit-review-button:focus-visible{outline:2px solid #13675e;outline-offset:3px}
@media(max-width:700px){
 .credit-mode main{padding:10px 12px 40px}.credit-mode .side{flex-wrap:wrap;position:static}.credit-mode .side .btn{font-size:12px;padding:8px}
 .credit-toolbar{gap:10px}.credit-toolbar label{flex:1;min-width:140px}.credit-toolbar .credit-search{max-width:none;flex-basis:100%}.credit-toolbar .credit-auto{flex-basis:100%}
 .credit-summary{gap:12px}.credit-summary span{flex-basis:calc(50% - 12px)}
 .credit-table{min-width:0;display:block}.credit-table thead{display:none}.credit-table tbody{display:block}
 .credit-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #ccd7dc;padding:12px;gap:12px 8px}
 .credit-table tr:last-child{border-bottom:0}.credit-table td{display:block;border:0;padding:0;font-size:14px}
 .credit-table td:before{content:attr(data-label);display:block;font-size:11px;font-weight:400;color:#657279;margin-bottom:4px}
 .credit-table td:nth-child(1){grid-column:1}.credit-table td:nth-child(2){grid-column:2/4}.credit-table td:nth-child(6){grid-column:1/4;border-top:1px solid #e6ecee;padding-top:8px}
 .credit-table .credit-number{font-size:22px}.credit-table .credit-class strong{font-size:15px}.credit-table .credit-class small{font-size:13px}
 .credit-review{padding:16px}.credit-review-head h2{font-size:18px}.credit-review-metrics{gap:8px}.credit-review-metrics strong{font-size:24px}
 .credit-review-target dl{grid-template-columns:1fr;gap:4px}.credit-review-target dd{margin-bottom:8px}.credit-review-actions .btn{flex:1 1 100%}
}
 .credit-branch-badge{color:#205c50!important;font-size:12px!important;font-weight:700;margin-bottom:4px}
body.calculator-mode{background:#f5f7f7;letter-spacing:0}
.calculator-mode .hero,.calculator-mode .panel{background:white;border:1px solid #dce3e2;border-radius:6px;box-shadow:none}
.calculator-mode h1,.calculator-mode h2{letter-spacing:0}
.calculator-mode .btn{border-radius:6px}.calculator-mode .btn.gold{background:#176c55;color:white}
.calculator-mode .branches,.calculator-mode .reportHead>button{display:none}
.tc-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:16px 0 24px;border-bottom:1px solid #dce3e2}
.tc-inputs label{display:grid;gap:7px;font-size:13px;font-weight:600;min-width:0}
.tc-inputs input,.tc-inputs select{width:100%;min-width:0;height:44px;border:1px solid #b9c9c5;border-radius:4px;padding:8px;font:inherit;background:white;color:#182b25}
.tc-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;margin:16px 0}
.tc-totals>div{padding:14px 0;border-bottom:1px solid #e4e9e7;min-width:0}.tc-totals dt{font-size:13px;color:#50645c}.tc-totals dd{font-size:20px;font-weight:700;margin:6px 0 0;overflow-wrap:anywhere;color:#154f3e}
.tc-note{font-size:13px;color:#5c6863;line-height:1.7}.tc-over,#tc-error{color:#a92532}#tc-error:not(:empty){padding:16px 0}
@media(max-width:700px){.tc-inputs,.tc-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-totals dd{font-size:18px}}
@media(max-width:380px){.tc-inputs,.tc-totals{grid-template-columns:1fr}}
.tc-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.tc-package{border:1px solid #cbd7d2;border-radius:6px;padding:18px;min-width:0}.tc-package h3{font-size:23px;margin:0;color:#17533f}.tc-package .tc-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.tc-package dd{font-size:18px}
@media(max-width:700px){.tc-packages{grid-template-columns:1fr}}
@media print{body.calculator-mode{background:white}.calculator-mode .hero,.calculator-mode .side,.calculator-mode .reportHead>button,.teacher-calc>button{display:none}.calculator-mode main{padding:0;max-width:none}.calculator-mode .panel{border:0}.tc-package{break-inside:avoid}.tc-inputs input,.tc-inputs select{border:0;padding:0}.tc-packages{grid-template-columns:repeat(2,minmax(0,1fr))}}
