/* Personal account only; preserve shared administrator and settlement semantics. */
.credits-account .credits-shell{padding:18px 24px 36px}
.credits-account .credit-account-header{gap:12px}
.credits-account .credit-account-header>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
.credits-account .credit-account-header h1{font-size:22px}
.credits-account #creditIdentity{margin:0;font-size:12px}
.credits-account .credit-header-actions{display:flex;align-items:center;gap:8px}
.credits-account .credit-header-actions .button,.credits-account .tabs button,.credits-account .tabs .button,.credits-account .section-heading button{padding:5px 10px;font-size:13px}
.credits-account .balances{gap:12px;margin:14px 0}
.credits-account .balances article{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 12px;padding:10px 14px;border-radius:10px}
.credits-account .balances strong{margin:0;font-size:24px;text-align:right;overflow-wrap:anywhere}
.credits-account .balances small{grid-column:1/-1;font-size:11px}
.credits-account .tabs{gap:8px;padding-bottom:10px}
.credits-account .section-heading{margin:10px 0 8px;gap:10px}
.credits-account .section-heading h2{margin:0;font-size:16px}
.credits-account .section-heading select{width:auto;padding:5px 10px}
.credits-account .credit-ledger-event{width:35%}
.credits-account .credit-ledger-amount{width:9%}
.credits-account .credit-ledger-details{width:auto}
.credits-account .credit-ledger-results-col{width:112px}
.credits-account .credit-ledger-table th{padding:7px 10px;font-size:12px;line-height:1.5}
.credits-account .credit-ledger-table td{padding:8px 10px;font-size:12px}
.credits-account .credit-settlement-summary{line-height:1.45}
.credits-account .credit-settlement-title{font-size:12px}
.credits-account .credit-settlement-summary .credit-settlement-total{margin:3px 0;font-size:14px}
.credits-account .credit-settlement-summary .credit-settlement-line{margin:2px 0;font-size:12px}
.credits-account .credit-ledger-time{margin-top:4px;font-size:11px}
.credits-account .credit-task-metadata{gap:3px;margin-top:4px;font-size:11px;line-height:1.5}
.credits-account .credit-task-reference{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 5px}
.credits-account .credit-task-reference>span:first-child{display:none}
.credits-account .credit-task-reference code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.credits-account .credit-task-reference .credit-copy-task{padding:1px 6px;min-height:24px}
.credits-account .credit-copy-status:empty{display:none}
.credits-account .credit-copy-status{grid-column:1/-1}
.credits-account .credit-task-results{margin:0}
.credits-account .credit-task-results>strong{display:none}
.credits-account .credit-result-list{flex-wrap:nowrap;max-width:92px;overflow-x:auto;gap:6px;scrollbar-width:thin}
.credits-account .credit-result-button{flex:0 0 90px;width:90px;border-radius:6px}
.credits-account .credit-result-button img{height:54px}
.credits-account .credit-result-button span{padding:2px;font-size:10px;line-height:1.5}
.credits-account .credit-result-button.preview-unavailable{min-height:73px}
.credits-account .credit-result-notice{font-size:11px;line-height:1.5}
.credits-account .pager{gap:10px;margin-top:12px;font-size:12px}
.credits-account .pager button{padding:5px 10px}
.credits-account #creditHoldRows{gap:8px;margin-top:8px}
.credits-account .credit-hold-record{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:12px;padding:10px 12px;align-items:start}
.credits-account .credit-hold-content{min-width:0}
.credits-account .credit-hold-content>small{font-size:11px}
.credits-account .credit-hold-content>p{font-size:12px;margin:3px 0}
@media(max-width:1100px){
 .credits-account .credit-ledger-responsive tbody{gap:8px}
 .credits-account .credit-ledger-responsive tr{grid-template-columns:repeat(3,minmax(0,1fr)) 108px;border-radius:8px}
 .credits-account .credit-ledger-responsive td{padding:7px 8px}
 .credits-account .credit-ledger-responsive .credit-ledger-primary{grid-column:1/4;grid-row:1;padding-bottom:6px}
 .credits-account .credit-ledger-responsive .credit-ledger-delta{grid-row:2;font-size:12px}
 .credits-account .credit-ledger-responsive .credit-ledger-delta:before{margin-bottom:2px;font-size:10px}
 .credits-account .credit-ledger-responsive .credit-ledger-reference{grid-column:1/4;grid-row:3;padding-top:6px}
 .credits-account .credit-ledger-responsive .credit-ledger-result{grid-column:4;grid-row:1/4;border-left:1px solid var(--border)}
 .credits-account .credit-ledger-responsive .credit-settlement-total{font-size:14px}
 .credits-account .credit-ledger-responsive .empty{grid-column:1/-1}
}
@media(max-width:650px){
 .credits-account .credits-shell{padding:12px 10px 24px}
 .credits-account .credit-account-header{flex-wrap:wrap;align-items:center}
 .credits-account .credit-account-header>div:first-child{gap:2px 8px}
 .credits-account .credit-account-header h1{font-size:20px}
 .credits-account .credit-header-actions .button{padding:4px 8px;font-size:12px}
 .credits-account .balances{gap:6px;margin:10px 0}
 .credits-account .balances article{display:block;padding:8px;border-radius:8px}
 .credits-account .balances span{font-size:12px}
 .credits-account .balances strong{font-size:22px;text-align:left;margin:2px 0}
 .credits-account .balances small{font-size:10px;line-height:1.4}
 .credits-account .credit-ledger-responsive tr{grid-template-columns:repeat(3,minmax(0,1fr)) 88px}
 .credits-account .credit-result-list{max-width:72px}
 .credits-account .credit-result-button{flex-basis:70px;width:70px}
 .credits-account .credit-result-button img{height:46px}
 .credits-account .credit-hold-record{grid-template-columns:minmax(0,1fr) 72px;gap:8px;padding:8px}
}

.credits-account .credit-original-query{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:4px}
.credits-account .credit-original-query button{padding:3px 8px;min-height:28px;font-size:12px;white-space:nowrap}
.credits-account .credit-original-query button:disabled{opacity:.65;cursor:wait}
.credits-account .credit-original-query small{flex:1 1 120px;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.credits-account .credit-original-query small:empty{display:none}
