/* Dark-only refinements. Light mode is deliberately independent. */
html[data-rental-mode=dark] body.rental-client .client-main{font-size:17px;line-height:1.65;max-width:1240px!important;width:100%!important;margin-inline:auto!important}
html[data-rental-mode=dark] body.rental-client .client-top{border-bottom-color:#443746!important;background:#222129!important}
html[data-rental-mode=dark] body.rental-client :is(.rental-summary,.rental-order-flow,.orders-toolbar,.orders-list,.refer-link-card,.refer-how,.refer-activity,.ref-wallet,.api-card){background:#222129!important;border:1px solid #443746!important;border-radius:18px!important;box-shadow:0 12px 34px #00000015!important;color:#f5eef4!important}
html[data-rental-mode=dark] body.rental-client .rental-summary{padding:26px!important}
html[data-rental-mode=dark] body.rental-client .rental-summary h3{font-size:23px!important;color:#f5eef4!important;margin-bottom:18px}
html[data-rental-mode=dark] body.rental-client .rental-summary>div{font-size:16px!important;padding:16px 0!important;border-color:#443746!important;gap:16px}
html[data-rental-mode=dark] body.rental-client .rental-summary span{color:#c2b4c3!important}
html[data-rental-mode=dark] body.rental-client .rental-summary b{color:#f5eef4!important;font-weight:650!important;line-height:1.55}
html[data-rental-mode=dark] body.rental-client .rental-summary-total b{color:#f29abd!important;font-size:23px!important}
html[data-rental-mode=dark] body.rental-client .rental-summary section{font-size:16px!important;line-height:1.65;padding-top:22px}
html[data-rental-mode=dark] body.rental-client .rental-summary section p{color:#c2b4c3!important}
html[data-rental-mode=dark] body.rental-client .rental-summary small{color:#f29abd!important;font-size:14px!important}
html[data-rental-mode=dark] body.rental-client :is(.orders-head,.refer-head,.api-hero){padding:10px 0 0!important;margin-bottom:28px!important}
html[data-rental-mode=dark] body.rental-client :is(.orders-head,.refer-head,.api-hero) h1{font-size:36px!important;font-weight:750!important;letter-spacing:-.7px!important;color:#f5eef4!important}
html[data-rental-mode=dark] body.rental-client :is(.orders-head,.refer-head,.api-hero) p{font-size:16px!important;line-height:1.65!important;color:#c2b4c3!important}
html[data-rental-mode=dark] body.rental-client .orders-toolbar{padding:20px!important;gap:16px!important}
html[data-rental-mode=dark] body.rental-client .orders-search{background:#2c2933!important;border-color:#514253!important;padding:0 14px!important;min-height:50px!important;border-radius:11px!important}
html[data-rental-mode=dark] body.rental-client .orders-search input{font-size:16px!important;background:transparent!important;border:0!important;padding:12px 8px!important;color:#f5eef4!important}
html[data-rental-mode=dark] body.rental-client input::placeholder{color:#a99baa!important;opacity:1}
html[data-rental-mode=dark] body.rental-client .orders-tabs button{background:#2c2933!important;color:#d5c9d6!important;border:1px solid #514253!important;min-height:48px!important;border-radius:11px!important;font-size:15px!important;font-weight:650!important}
html[data-rental-mode=dark] body.rental-client .orders-tabs button.active{background:#432d3d!important;color:#ffb3d0!important;border-color:#d875a1!important}
html[data-rental-mode=dark] body.rental-client .orders-tabs button span{background:#443746!important;color:#e7d4e4!important;padding:3px 7px!important}
html[data-rental-mode=dark] body.rental-client .orders-empty{background:linear-gradient(145deg,#28232d,#222129)!important;padding:54px 26px!important}
html[data-rental-mode=dark] body.rental-client .orders-empty h2{font-size:27px!important;color:#f5eef4!important}
html[data-rental-mode=dark] body.rental-client .orders-empty p{font-size:16px!important;max-width:520px!important;color:#c2b4c3!important}
html[data-rental-mode=dark] body.rental-client :is(.refer-link-card,.refer-how,.refer-activity,.ref-wallet,.api-card){padding:28px!important}
html[data-rental-mode=dark] body.rental-client :is(.refer-link-card,.refer-how,.refer-activity,.ref-wallet) :is(p,li,small){font-size:15px!important;line-height:1.7!important;color:#c2b4c3!important}
html[data-rental-mode=dark] body.rental-client :is(.refer-link-card,.refer-how,.refer-activity,.ref-wallet) :is(h2,h3){font-size:23px!important;color:#f5eef4!important;line-height:1.4!important}
html[data-rental-mode=dark] body.rental-client :is(.refer-link-card,.refer-how,.refer-activity,.ref-wallet) :is(label,.eyebrow,small:first-child){font-size:12px!important;letter-spacing:.7px!important;color:#f29abd!important}
html[data-rental-mode=dark] body.rental-client .refer-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:22px 0!important}
html[data-rental-mode=dark] body.rental-client .refer-stats :is(article,div){background:#25222c!important;border:1px solid #443746!important;border-radius:14px!important;padding:20px!important;color:#f5eef4!important;min-width:0}
html[data-rental-mode=dark] body.rental-client .refer-stats :is(strong,b){display:block;font-size:28px!important;line-height:1.3!important;color:#f29abd!important;margin:10px 0!important}
html[data-rental-mode=dark] body.rental-client .refer-stats :is(span,small){font-size:13px!important;color:#c2b4c3!important;line-height:1.5!important}
html[data-rental-mode=dark] body.rental-client .refer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)!important;gap:20px!important}
html[data-rental-mode=dark] body.rental-client :is(.refer-copy,.ref-withdraw-grid>div,.ref-methods,.refer-note){background:#2c2933!important;border:1px solid #443746!important;border-radius:12px!important;padding:18px!important;color:#c2b4c3!important;font-size:15px!important;line-height:1.65!important}
html[data-rental-mode=dark] body.rental-client :is(.refer-copy,.ref-wallet-actions,.refer-note,.refer-how) button{width:auto!important;min-height:44px!important;padding:10px 18px!important;background:#432d3d!important;border:1px solid #d875a1!important;color:#ffb3d0!important;font-size:14px!important;border-radius:10px!important}
html[data-rental-mode=dark] body.rental-client .refer-empty{font-size:16px!important;color:#c2b4c3!important;padding:24px!important}
html[data-rental-mode=dark] body.rental-client .ref-methods :is(b,strong),html[data-rental-mode=dark] body.rental-client .ref-withdraw-grid :is(b,strong){font-size:16px!important;color:#f5eef4!important}
html[data-rental-mode=dark] body.rental-client .api-client-main{max-width:1240px!important;width:100%!important;font-size:16px!important}
html[data-rental-mode=dark] body.rental-client .api-layout{grid-template-columns:minmax(0,1fr) 300px!important;gap:22px!important}
html[data-rental-mode=dark] body.rental-client :is(.api-main-column,.api-side-column){display:grid!important;gap:20px!important;align-content:start!important;min-width:0}
html[data-rental-mode=dark] body.rental-client .api-card h2{font-size:24px!important;color:#f5eef4!important}
html[data-rental-mode=dark] body.rental-client .api-card h3{font-size:20px!important;color:#f5eef4!important}
html[data-rental-mode=dark] body.rental-client .api-card :is(p,li,.api-muted,.api-key-state,.api-security-note){font-size:15px!important;line-height:1.7!important;color:#c2b4c3!important}
html[data-rental-mode=dark] body.rental-client :is(.api-card-head small,.api-status-pill,.api-live-pill){font-size:11px!important;letter-spacing:.5px!important;color:#f29abd!important}
html[data-rental-mode=dark] body.rental-client .api-endpoint-row{padding:16px!important;gap:14px!important;background:#2c2933!important;border-color:#514253!important;flex-wrap:wrap!important}
html[data-rental-mode=dark] body.rental-client :is(.api-card code,.api-card pre){font-size:14px!important;line-height:1.7!important;color:#eed8e8!important;background:#2c2933!important;padding:16px!important;border:1px solid #443746!important;border-radius:10px!important;overflow-wrap:anywhere;white-space:pre-wrap!important}
html[data-rental-mode=dark] body.rental-client .api-param-table :is(th,td){font-size:14px!important;padding:12px!important;line-height:1.6!important;color:#e7d4e4!important;background:#25222c!important;border-color:#443746!important}
html[data-rental-mode=dark] body.rental-client .api-doc-tabs{display:flex!important;gap:10px!important;flex-wrap:wrap!important}
html[data-rental-mode=dark] body.rental-client :is(.api-doc-tabs button,.api-copy,.api-card button){background:#432d3d!important;border:1px solid #a55f84!important;color:#ffb3d0!important;font-size:14px!important;min-height:40px!important;padding:9px 14px!important;border-radius:9px!important}
@media(max-width:760px){
html[data-rental-mode=dark] body.rental-client :is(.orders-head,.refer-head,.api-hero) h1{font-size:29px!important}
html[data-rental-mode=dark] body.rental-client :is(.rental-summary,.refer-link-card,.refer-how,.refer-activity,.ref-wallet,.api-card){padding:20px!important}
html[data-rental-mode=dark] body.rental-client .rental-summary>div{font-size:15px!important}
html[data-rental-mode=dark] body.rental-client :is(.refer-grid,.api-layout){grid-template-columns:minmax(0,1fr)!important}
html[data-rental-mode=dark] body.rental-client .refer-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html[data-rental-mode=dark] body.rental-client .refer-stats :is(article,div){padding:16px!important}
html[data-rental-mode=dark] body.rental-client .ref-withdraw-grid{grid-template-columns:minmax(0,1fr)!important}
html[data-rental-mode=dark] body.rental-client .api-card pre{font-size:13px!important}
}
