.credit-page .panel+.panel{margin-top:16px}
.credit-page .stack{min-width:0}
.credit-page .panel.credit-balance{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;background:#163c33;color:#f4f3ee;border-color:#163c33}
.credit-page .credit-balance span{display:block;font-size:13px;color:#d9e2dc}
.credit-page .credit-balance strong{display:block;font:400 34px/1.15 Georgia,serif;margin-top:4px}
.credit-page .credit-balance p{margin:0;color:#d9e2dc;max-width:34ch}
.credit-note{color:#5b6963;font-size:14px;margin:8px 0 0}
.credit-row{display:grid;grid-template-columns:minmax(0,1fr) 130px auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #e2e5df}
.credit-row:first-of-type{border-top:0}
.credit-row small,.credit-history small{display:block;color:#5b6963;font-size:13px;margin-top:2px;overflow-wrap:anywhere}
.credit-amount input,.credit-page .field input,.credit-page .field select{width:100%;min-height:44px;padding:0 10px;border:1px solid #e2e5df;border-radius:9px;font:inherit;background:#fff;color:#203b34}
.credit-page .field{margin:0 0 12px;display:grid;gap:6px}
.credit-history{list-style:none;margin:12px 0 0;padding:0}
.credit-history li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #e2e5df}
.credit-history li:first-child{border-top:0}
.credit-history li>div{min-width:0}
.credit-history li>span{font-weight:600;white-space:nowrap}
.credit-history .is-in{color:#1f6b4f}
.credit-history .is-out{color:#963e2c}
.credit-page .panel.credit-code-new{background:#eee1c4;border-color:#eee1c4}
.credit-code{font:600 26px/1.2 ui-monospace,Consolas,monospace;letter-spacing:.06em;margin:8px 0 12px;overflow-wrap:anywhere;user-select:all}
.credit-actions{display:flex;flex-wrap:wrap;gap:8px}
.credit-refund-credit{margin-top:16px}
.credit-coupon-field{margin:0 0 16px}
.credit-coupon-field input{min-height:44px;padding:0 10px;border:1px solid #e2e5df;border-radius:9px;font:inherit;text-transform:uppercase;width:100%;max-width:260px}
.credit-pending{margin:0 0 12px}
@media(max-width:560px){.credit-row{grid-template-columns:1fr}.credit-page .credit-balance strong{font-size:28px}.credit-code{font-size:20px}}
@media(prefers-reduced-motion:no-preference){.credit-code-new{animation:credit-in .4s cubic-bezier(.16,1,.3,1)}@keyframes credit-in{from{opacity:0;transform:translateY(6px)}}}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Agency credit workspace: readable balances and clear forms. */
.credit-agency-page{font-size:16px;line-height:1.6}
.credit-agency-page .page-heading{align-items:flex-start;gap:20px}
.credit-agency-page .sub{font-size:16px;line-height:1.65;max-width:65ch}
.credit-agency-page .layout-two{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:24px}
.credit-agency-page .panel{padding:24px;scroll-margin-top:24px}
.credit-agency-page .panel h2{font-size:21px;line-height:1.35;margin:0 0 16px}
.credit-agency-page .credit-note{font-size:15px;line-height:1.65;color:#4b6071;max-width:65ch}
.credit-agency-page .field{gap:8px;margin-bottom:18px}
.credit-agency-page .field label{font-size:15px;font-weight:600;color:#102c45}
.credit-agency-page .field input,.credit-agency-page .field select{min-height:48px;font-size:16px;color:#102c45;border-color:#b9cede}
.credit-agency-page .button{min-height:48px;font-size:15px;white-space:normal;text-align:center}
.credit-agency-page form>.button{width:100%;justify-content:center;margin-block:8px}
.credit-agency-page .credit-history li{padding:16px 0;align-items:flex-start}
.credit-agency-page .credit-history small{font-size:14px;line-height:1.6;color:#4b6071}
.credit-agency-page .credit-history strong{overflow-wrap:anywhere}
.credit-agency-page .credit-history li>span{font-variant-numeric:tabular-nums}
.credit-coupon-options{border-top:1px solid #dbe3e9;border-bottom:1px solid #dbe3e9;margin:20px 0 16px}
.credit-coupon-options summary{cursor:pointer;min-height:48px;padding:12px 0;color:#086da8;font-size:15px;font-weight:600}
.credit-coupon-options[open] summary{margin-bottom:16px}
.credit-agency-page :focus-visible{outline:3px solid #086da8;outline-offset:3px}
@media(max-width:1000px){.credit-agency-page .layout-two{grid-template-columns:1fr}.credit-agency-page .layout-two>aside{grid-row:1}}
@media(max-width:650px){.credit-agency-page .page-heading{flex-direction:column}.credit-agency-page .credit-actions{width:100%}.credit-agency-page .credit-actions>.button{flex:1;justify-content:center}.credit-agency-page .panel{padding:20px}.credit-agency-page .credit-history li{flex-wrap:wrap}.credit-agency-page .credit-history li>span{white-space:normal}}
