/* SLV KIDS payments 1.9.83. Everything is scoped to the Payments view. */
html:root body #adminContent .k83-page{font-family:Arial,Helvetica,sans-serif;color:#102e50;display:flex;flex-direction:column;gap:18px;max-width:none;margin:0;container-type:inline-size}
html:root body #adminContent .k83-page :is(h1,h2,h3,h4,p,button,input,small,b,span,td,th){font-family:inherit}
html:root body #adminContent .k83-page .k83-hero{border:0!important;border-radius:20px;padding:28px!important;margin:0!important;min-height:160px;background:linear-gradient(90deg,#edf7ff 20%,#edf7ffeb 55%,#edf7ff91),url('slv-kids-hero-blue10-v1928.png') right 43%/cover!important;box-shadow:none!important;display:flex;justify-content:space-between;gap:20px;align-items:center}
html:root body #adminContent .k83-page .k83-hero h1{font-size:clamp(27px,3vw,39px)!important;color:#0a284e!important;margin:7px 0 9px!important;line-height:1.12;font-weight:850}
html:root body #adminContent .k83-page .k83-hero p{font-size:16px!important;line-height:1.45;margin:0!important;color:#3b5b78!important;max-width:610px}
html:root body #adminContent .k83-page .eyebrow{font-size:12px;color:#315b7c!important;letter-spacing:.06em;font-weight:800}
html:root body #adminContent .k83-page .k83-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
html:root body #adminContent .k83-page .k83-head-actions button{padding:13px 17px!important;border:1px solid #cee0ed!important;border-radius:11px!important;background:white!important;color:#12385d!important;white-space:nowrap;font-weight:750;font-size:14px}
html:root body #adminContent .k83-page .k83-head-actions .k83-global-add{background:#ff8013!important;border-color:#ff8013!important;color:white!important}
html:root body #adminContent .k83-page .k83-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
html:root body #adminContent .k83-page .k83-metric{display:flex;align-items:center;gap:15px;border-radius:16px;border:1px solid #d2e4f0;padding:23px 18px;min-width:0;box-shadow:0 5px 18px #1c47690a;background:#f5fbff}
html:root body #adminContent .k83-page .k83-metric-approved{background:#f0fcf5;border-color:#d3eddf}.k83-page .k83-metric-pending{background:#fff4f3!important;border-color:#f1d8d5!important}.k83-page .k83-metric-balance{background:#fff8ee!important;border-color:#f1e0c9!important}
.k83-metric-icon{width:48px;height:48px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#e2f1fc;color:#1478c9}.k83-metric-icon svg{width:28px;height:28px}.k83-metric-approved .k83-metric-icon{color:#16904c;background:#dff6e9}.k83-metric-pending .k83-metric-icon{color:#dc2626;background:#ffe3e3}.k83-metric-balance .k83-metric-icon{color:#dc780c;background:#ffecd2}
html:root body #adminContent .k83-page .k83-metric small{display:block;font-size:10px!important;letter-spacing:.025em;line-height:1.35;font-weight:800;color:#31506c!important;margin:0 0 7px}
html:root body #adminContent .k83-page .k83-metric b{display:block;font-size:clamp(22px,2.1vw,31px)!important;line-height:1.1;white-space:nowrap;font-weight:850;color:#08264d!important}
html:root body #kidsBankDetails.k83-bank{padding:20px 22px!important;margin:0!important;border:1px solid #d1e3f0!important;border-radius:17px!important;background:#fff!important;box-shadow:0 3px 12px #1b496b08!important}
.k83-bank-compact{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.k83-bank-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#eaf5ff;color:#103d68;flex-shrink:0}.k83-bank-icon svg{width:32px;height:32px}.k83-bank-name{flex:1;min-width:210px}
html:root body #kidsBankDetails .k83-bank-name h2{font-size:18px!important;margin:0 0 7px!important;line-height:1.2;color:#10365a!important}.k83-bank-name b{font-size:14px}.k83-bank-name small{display:block;margin-top:5px;font-size:12px}.k83-bank-account{padding:4px 24px;border-left:1px solid #dce7ef;min-width:200px}.k83-bank-account small{display:block;font-size:10px;font-weight:750;margin-bottom:6px}.k83-bank-account>b{font-size:25px;letter-spacing:.01em}.k83-bank-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.k83-bank-actions button{font-size:13px!important;padding:10px 13px!important}.k83-bank-toggle{background:transparent!important;border-color:transparent!important}.k83-bank-more{margin-top:20px;padding-top:18px;border-top:1px solid #e1ebf2}.k83-bank-more[hidden]{display:none!important}
.k83-ledger{min-width:0}.k83-ledger-tools{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:6px 0 17px}.k83-ledger-tools>div:first-child{margin-right:auto}.k83-ledger-tools h2{font-size:25px!important;margin:0 0 4px!important;color:#0b2d51!important}.k83-ledger-tools small{font-size:12px;color:#59778e}.k83-search input{width:min(280px,100%);border:1px solid #cadfec!important;border-radius:10px!important;background:#fff!important;color:#123653!important;padding:12px 15px!important;font-size:14px!important;margin:0!important;min-height:43px}.k83-filters{display:flex;gap:7px;flex-wrap:wrap}.k83-filters button{padding:10px 13px!important;border-radius:24px!important;border:1px solid #d0e3ef!important;background:#f9fcff!important;color:#244c70!important;font-size:12px!important;font-weight:700}.k83-filters button.active{background:#0e345f!important;border-color:#0e345f!important;color:#fff!important}
.k83-ledger-head,.k83-club-line{display:grid;grid-template-columns:minmax(240px,2.1fr) repeat(3,minmax(85px,.65fr)) minmax(130px,1fr) 180px;align-items:center;gap:12px}.k83-ledger-head{padding:14px 20px;background:#eaf4fc;border:1px solid #d7e6f0;border-radius:12px 12px 0 0;font-size:10px;font-weight:800;color:#3e6080}.k83-ledger-head>span:last-child{text-align:right}
html:root body #adminContent .k83-page .k83-club{background:#fff!important;border:1px solid #d6e4ee!important;border-radius:13px!important;margin:0 0 7px!important;box-shadow:0 2px 7px #1b486607!important;position:relative;min-width:0}
.k83-club-line{padding:16px 18px;position:relative}.k83-club-identity{display:flex;align-items:center;gap:13px;min-width:0;text-align:left;border:0!important;background:transparent!important;color:#103454!important;padding:0!important;cursor:pointer}.k83-club-identity>img{width:46px;height:46px;border-radius:50%;object-fit:contain;background:#fff;flex-shrink:0}.k83-club-identity>span{min-width:0}.k83-club-identity b{font-size:14px!important;font-weight:800;color:#123956!important;display:block;overflow-wrap:anywhere}.k83-category-chips{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}.k83-category-chips>span{border-radius:5px;background:#edf6fd;border:1px solid #dfedf8;padding:4px 6px;font-size:9px;font-weight:500;color:#245682!important;line-height:1.2}.k83-category-chips>small{font-size:11px;color:#607a8d}
.k83-value small{display:none;font-size:10px;font-weight:700;color:#5b788c}.k83-value b{color:#0b3155!important;font-size:15px!important;white-space:nowrap}.k83-fin-status{display:inline-flex;align-items:center;justify-content:center;font-size:10px;padding:6px 9px;border-radius:8px;line-height:1.25;border:1px solid transparent;font-weight:700;max-width:100%;text-align:center}.k83-fin-status.is-due{background:#fff0f1;color:#c33343!important;border-color:#ffd5db}.k83-fin-status.is-pending{background:#fff3de;color:#9b5b00!important;border-color:#f7deb3}.k83-fin-status.is-partial{background:#fff5e6;color:#b66b05!important;border-color:#f4e1be}.k83-fin-status.is-paid{background:#e7f8ec;color:#15703b!important;border-color:#c8ead4}.k83-fin-status.is-unset{background:#f0f4f8;color:#506a81!important;border-color:#dce6ee}
.k83-row-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center}.k83-row-actions>button,.k83-row-actions .k83-more{font-size:13px!important;padding:9px 11px!important;border:1px solid #d3e2ee!important;border-radius:9px!important;background:white!important;color:#153c60!important}.k83-row-actions .k83-add-payment{background:#ff8013!important;border-color:#ff8013!important;color:white!important;white-space:nowrap;font-weight:750}.k83-chevron svg{width:18px;height:18px;display:block;transition:transform .16s}.is-open .k83-chevron svg{transform:rotate(180deg)}.k83-row-actions .k83-chevron{border-color:transparent!important;padding:7px!important}.k83-more{font-size:20px!important;line-height:1;min-width:32px}.k83-menu-wrap{position:relative}.k83-club-menu{position:absolute;right:0;top:calc(100% + 7px);min-width:190px;z-index:20;box-shadow:0 8px 30px #143b5a2b;background:#fff;border:1px solid #d3e3ed;border-radius:10px;padding:6px}.k83-club-menu[hidden]{display:none!important}.k83-club-menu button{width:100%;border:0!important;padding:11px!important;border-radius:6px;text-align:left;background:#fff!important;color:#254e6b!important;font-size:13px!important}.k83-club-menu button:hover{background:#edf6fc!important}.k83-club-menu .k83-danger{color:#b32e38!important}
.k83-panel{padding:2px 18px 18px}.k83-panel[hidden]{display:none!important}.k83-category-detail{border-top:1px solid #e0eaf1;padding:13px 0 15px;color:#315b78;font-size:12px}.k83-category-detail>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.k83-category-detail>div>span{padding:7px 9px;background:#f3f9fe;border-radius:7px;border:1px solid #e1edf6}.k83-category-detail small{display:block;margin-top:5px;font-size:10px;color:#5d7d92}.k83-panel h4{font-size:13px!important;margin:0;padding:12px;background:#edf7fe;color:#174b70!important;border-radius:10px 10px 0 0}.k83-receipt-scroll{overflow:auto;border:1px solid #deebf3;border-radius:0 0 10px 10px}.k83-receipts{border-collapse:collapse;width:100%;min-width:740px;table-layout:auto;margin:0!important}.k83-receipts :is(th,td){padding:12px 11px!important;text-align:left;border-bottom:1px solid #edf2f6;font-size:12px!important;vertical-align:top;color:#254763!important}.k83-receipts th{background:#f8fbfe;font-size:10px!important;text-transform:uppercase;color:#496b86!important}.k83-receipts td b{font-size:13px!important;color:#153856!important}.k83-receipts small{display:block;max-width:240px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;margin-top:5px;color:#58768c}.k83-page .pepin-payment-status{font-size:10px!important;font-weight:800!important;border-radius:20px!important;padding:5px 8px!important;white-space:nowrap}.k83-page .pepin-payment-status.is-approved{background:#dff6e7!important;color:#1b7a3e!important}.k83-page .pepin-payment-status.is-pending{background:#fff1d6!important;color:#945b00!important}.k83-page .pepin-payment-status.is-rejected{background:#ffe6e7!important;color:#b5333c!important}.k83-text-button{padding:0!important;border:0!important;background:none!important;color:#1473b4!important;font-size:12px!important;text-align:left;white-space:nowrap}.k83-note summary{color:#4e667a;font-size:11px;cursor:pointer;white-space:nowrap}.k83-note p{font-size:12px!important;white-space:pre-wrap;overflow-wrap:anywhere;max-width:220px;color:#214a68!important}.k83-review-actions{display:flex;gap:5px;flex-wrap:wrap}.k83-review-actions button{border:1px solid #badac9!important;background:#edf9f1!important;color:#227042!important;border-radius:7px;padding:7px!important;font-size:11px!important}.k83-review-actions button[data-pay-reject]{border-color:#edd1d4!important;background:#fff1f2!important;color:#aa3e48!important}.k83-empty-receipts,.k83-no-results{padding:20px;color:#617e92;text-align:center;font-size:13px;background:#f8fbfe;border:1px dashed #d7e5ef;border-radius:10px}.k83-no-results{margin-top:12px}.k83-account-note{font-size:12px!important;color:#43637a!important;white-space:pre-wrap}
html:root body.kids-soft.slv-payments-1983 #adminShell .admin-sidebar{background:#0b2d50!important;border-color:#163d60!important}html:root body.kids-soft.slv-payments-1983 #adminShell .admin-brand{background:#0b2d50!important;border-color:#22496c!important;color:#fff!important}html:root body.kids-soft.slv-payments-1983 #adminShell .admin-brand span{color:#fff!important}html:root body.kids-soft.slv-payments-1983 #adminShell #adminNav>button{background:transparent!important;color:#e7f0f8!important}html:root body.kids-soft.slv-payments-1983 #adminShell #adminNav>button.active{background:#ff8013!important;color:#fff!important}html:root body.kids-soft.slv-payments-1983 #adminShell #adminNav>button:hover{background:#17446c!important}html:root body.slv-payments-1983 #k51RequestAccess{display:none!important}
html:root body :is(#pepinPaymentModal,#pepinTotalModal,#kidsPaymentNoteModal) .modal-card{background:#fff!important;color:#173e56!important}html:root body :is(#pepinPaymentModal,#pepinTotalModal,#kidsPaymentNoteModal) :is(h2,p,label,small,b,strong){color:#173e56!important;-webkit-text-fill-color:#173e56!important}html:root body :is(#pepinPaymentModal,#pepinTotalModal,#kidsPaymentNoteModal) :is(input,select,textarea){background:#fff!important;color:#173e56!important;-webkit-text-fill-color:#173e56!important;border-color:#a8c4d7!important}html:root body :is(#pepinPaymentModal,#pepinTotalModal,#kidsPaymentNoteModal) .primary{background:#155c84!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
@container(max-width:1050px){.k83-ledger-head{display:none}.k83-club-line{grid-template-columns:minmax(220px,1.5fr) repeat(3,80px) 165px}.k83-status-cell{grid-column:1;grid-row:2}.k83-row-actions{grid-column:5;grid-row:1 / span 2}.k83-value{grid-row:1 / span 2}.k83-value small{display:block;margin-bottom:5px}.k83-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.k83-bank-account{border-left:0;padding-left:0}.k83-head-actions{justify-content:flex-start!important}.k83-hero{flex-wrap:wrap}}
@container(max-width:760px){.k83-club-line{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.k83-club-identity{grid-column:1/-1;grid-row:1}.k83-value{grid-row:2}.k83-status-cell{grid-column:1;grid-row:3}.k83-row-actions{grid-column:2/-1;grid-row:3}.k83-ledger-tools{gap:13px}.k83-search{flex:1;min-width:180px}.k83-search input{width:100%}.k83-filters{width:100%}.k83-bank-compact{gap:13px}.k83-bank-name{min-width:150px}.k83-bank-account{margin-left:69px}.k83-bank-actions{width:100%}.k83-metric{padding:17px 12px!important;gap:9px!important}.k83-metric-icon{width:36px;height:36px}.k83-metric-icon svg{width:22px;height:22px}.k83-metric b{font-size:23px!important}.k83-panel{padding-left:12px;padding-right:12px}}
@media(max-width:600px){html:root body #adminContent .k83-page{gap:13px}.k83-hero{padding:21px 17px!important}.k83-hero h1{font-size:28px!important}.k83-head-actions{width:100%;justify-content:stretch!important}.k83-head-actions button{flex:1}.k83-summary{gap:9px!important}.k83-metric{min-height:103px}.k83-metric-icon{display:none}.k83-metric b{font-size:24px!important}.k83-metric small{font-size:9px!important}.k83-bank-icon{width:43px;height:43px}.k83-bank-icon svg{width:25px;height:25px}.k83-bank-account{margin-left:0;width:100%}.k83-bank-account>b{font-size:24px}.k83-bank-name{min-width:170px}.k83-bank-actions{gap:5px}.k83-bank-actions button{padding:9px 10px!important}.k83-club-line{padding:15px 13px}.k83-row-actions{gap:5px}.k83-row-actions>button{padding:8px!important}.k83-ledger-tools h2{font-size:23px!important}.k83-search{min-width:100%;flex:1}.k83-filters{gap:5px}.k83-filters button{padding:9px 11px!important}.k83-club-identity b{font-size:15px!important}.k83-value b{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.k83-chevron svg{transition:none}}

html:root body #adminContent .k83-page .sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important}
/* Prevent inherited text-fill rules from hiding text on the redesigned colors. */
html:root body.kids-soft.slv-payments-1983 #adminShell #adminContent .k83-page *{-webkit-text-fill-color:currentColor!important}
html:root body.kids-soft.slv-payments-1983 #adminShell #adminNav>button{-webkit-text-fill-color:currentColor!important}
html:root body.kids-soft.slv-payments-1983 #adminShell .admin-brand span{color:#fff!important;-webkit-text-fill-color:#fff!important}


@media(max-width:600px){html:root body #adminContent .k83-page :is(.k83-filters button,.k83-row-actions button,.k83-bank-actions button){min-height:44px!important}html:root body #adminContent .k83-page .k83-row-actions .k83-more{min-width:40px}}

/* Follow the existing final menu authority (pepin-sidebar-hidden). */
@media(max-width:1180px),(pointer:coarse){
 html:root body.kids-soft.slv-payments-1983 #adminShell.pepin-sidebar-hidden #adminMobileOverlay{display:none!important;pointer-events:none!important}
 html:root body.kids-soft.slv-payments-1983 #adminShell:not(.pepin-sidebar-hidden) #adminMobileOverlay{display:block!important;pointer-events:auto!important;z-index:10001!important}
 html:root body.kids-soft.slv-payments-1983 #adminShell .admin-sidebar{position:fixed!important;width:min(84vw,310px)!important;max-width:310px!important;z-index:10002!important}
 html:root body.kids-soft.slv-payments-1983 #adminShell.pepin-sidebar-hidden .admin-sidebar{transform:translateX(-105%)!important;opacity:0!important;pointer-events:none!important}
 html:root body.kids-soft.slv-payments-1983 #adminShell:not(.pepin-sidebar-hidden) .admin-sidebar{display:flex!important;transform:translateX(0)!important;opacity:1!important;pointer-events:auto!important}
}
@media(min-width:1181px) and (pointer:fine){html:root body.kids-soft.slv-payments-1983 #adminShell #adminMobileOverlay{display:none!important;pointer-events:none!important}}
html:root body.kids-soft.slv-payments-1983 #adminShell #adminContent .k83-page [data-k79-badges] .k79-badge{color:#fff!important;-webkit-text-fill-color:#fff!important}
