/* One direct recharge flow, matching the account and CDK query tools. */
#tool-recharge{--rq-line:#e3e8ee;--rq-muted:#667085;--rq-ink:#182230;--rq-surface:#fff;--rq-soft:#f8fafb}
#tool-recharge .auto-card-gateway,#tool-recharge .auto-card-gateway.identified{padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#tool-recharge .auto-card-heading{display:flex;gap:12px;margin:0 0 20px}
#tool-recharge .auto-card-heading h2{font-size:21px;line-height:1.4;margin:0;color:var(--rq-ink)}
#tool-recharge .auto-card-mark{width:44px;height:44px;border-radius:12px;background:#e8f7f1;color:#087f5b;font-size:24px;box-shadow:none}
#tool-recharge .auto-card-mark:before,#tool-recharge .auto-card-mark:after{display:none}
#tool-recharge .auto-card-mark{display:grid;place-items:center}
#tool-recharge .auto-card-heading .eyebrow,#tool-recharge .auto-card-heading p,#tool-recharge .auto-card-badge,#tool-recharge .auto-card-support,#tool-recharge .steps,#tool-recharge .service-start-hint,#recharge-entry-session-guide,#tool-recharge .workflow-heading,#tool-recharge .field-section-label,#tool-recharge .recharge-legacy-card,#tool-recharge .uuid-detect .subhead,#chatgpt-session-actions,#detect-organization-btn,#tool-recharge .flow-title small,#tool-recharge .flow-tag,#tool-recharge #summary-entitlement,#mobile-submit-dock{display:none!important}
#tool-recharge .recharge-subnav{margin-bottom:22px}
#tool-recharge .recharge-subnav button{font-size:13px;min-height:42px;padding:10px 18px}
#tool-recharge .auto-card-entry{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px}
#tool-recharge .auto-card-entry input{height:46px;font-size:14px;margin:0;border-radius:10px;letter-spacing:0;min-width:0}
#tool-recharge .auto-card-entry .primary{width:auto;min-width:140px;height:46px;padding:10px 24px;font-size:13px;border-radius:10px;box-shadow:none}
#tool-recharge .recharge-clear{width:auto;min-width:64px;min-height:36px;margin:0;padding:6px 14px;font-size:13px;line-height:1.4;border:1px solid var(--rq-line);border-radius:9px;background:var(--rq-soft);color:#087f72;box-shadow:none;cursor:pointer;white-space:nowrap}
#tool-recharge .recharge-clear:hover{background:#eaf7f3;border-color:#94cfc1}
#tool-recharge .recharge-clear:focus-visible{outline:2px solid #168a76;outline-offset:3px}
#tool-recharge .auto-card-entry .recharge-clear{height:46px;min-width:80px}
#tool-recharge .auto-card-detected{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0 0;padding:14px 16px;border:1px solid #cbe9df;border-radius:12px;background:#f0faf6;box-shadow:none}
#tool-recharge .auto-card-detected>div{flex:1;min-width:160px}
#tool-recharge .auto-card-detected small,#tool-recharge .auto-card-detected-code{display:none}
#tool-recharge .auto-card-detected>div>b{font-size:15px;line-height:1.5;color:#176a55}
#tool-recharge .auto-card-detected em{font-size:12px;line-height:1.6;margin-top:3px;color:#4c7467}
#tool-recharge .auto-card-detected>strong{font-size:12px;color:#087f5b;background:#ddf2e8;padding:5px 9px;border-radius:7px}
#tool-recharge .auto-card-detected-mark{width:30px;height:30px;font-size:16px;background:#ddf2e8;color:#087f5b;box-shadow:none}
#tool-recharge .recharge-workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:28px;margin-top:24px;scroll-margin-top:30px}
#tool-recharge .recharge-workspace.hidden{display:none}
#tool-recharge .workflow-panel{min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#tool-recharge .flow-fields{margin:0;padding:0;border:0}
#tool-recharge .flow-title{margin:0 0 18px;padding:0;border:0;gap:10px}
#tool-recharge .flow-title b{font-size:16px;color:var(--rq-ink)}
#tool-recharge .flow-title .app-dot{width:32px;height:32px;border-radius:8px}
#tool-recharge .uuid-detect{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#tool-recharge .session-guide{margin:0 0 16px;background:var(--rq-soft);border-color:var(--rq-line);font-size:13px}
#tool-recharge .recharge-input-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 8px}
#tool-recharge .recharge-input-label label{font-size:13px;line-height:1.5;margin:0;color:var(--rq-ink)}
#tool-recharge .recharge-input-label .recharge-clear{min-height:30px;padding:5px 10px;min-width:52px;font-size:12px}
#tool-recharge textarea{display:block;font-size:13px;line-height:1.65;min-height:128px;margin:0;resize:vertical}
#tool-recharge .account-grid{display:block;margin-top:18px}
#tool-recharge input:not([type=checkbox]),#tool-recharge textarea{box-sizing:border-box;max-width:100%;border-color:#d8e0e8;border-radius:10px}
#tool-recharge .flow-fields>input,#tool-recharge .account-grid input{height:44px;font-size:13px;margin:0}
#tool-recharge .field-help{display:block;font-size:12px;line-height:1.7;color:var(--rq-muted);margin-top:7px}
#tool-recharge .notice{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
#tool-recharge #uuid-detect-result:empty,#tool-recharge #claude-detect-result:empty{display:none}
#tool-recharge #uuid-detect-result.success,#tool-recharge #claude-detect-result.success{padding:8px 0 0;margin:0;border:0;background:transparent;box-shadow:none;font-size:12px;color:#087f72}
#tool-recharge .confirmation-panel{position:static;min-width:0;padding:22px;border:1px solid var(--rq-line);border-radius:14px;background:var(--rq-soft);box-shadow:none}
#tool-recharge .confirmation-title{gap:10px;margin:0 0 16px}
#tool-recharge .confirmation-title>span{display:none}
#tool-recharge .confirmation-title h2{font-size:17px;margin:0;color:var(--rq-ink)}
#tool-recharge .confirmation-title p{font-size:12px;line-height:1.6;margin:5px 0 0;color:var(--rq-muted)}
#tool-recharge .confirmation-facts{margin:0}
#tool-recharge .confirmation-facts>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--rq-line);align-items:start}
#tool-recharge .confirmation-facts dt{font-size:12px;color:var(--rq-muted);line-height:1.7}
#tool-recharge .confirmation-facts dd{font-size:13px;line-height:1.65;font-weight:600;text-align:left;white-space:normal;overflow:visible;overflow-wrap:anywhere;color:var(--rq-ink)}
#tool-recharge #summary-product,#tool-recharge #summary-email{font-size:14px}
#tool-recharge .uuid-copy-wrap,#tool-recharge .uuid-copy-inline{max-width:100%;min-width:0;flex-wrap:wrap;font-size:12px;letter-spacing:0;line-height:1.7}
#tool-recharge .uuid-copy-value,#tool-recharge .uuid-copy-inline span{white-space:normal;overflow-wrap:anywhere;word-break:break-all;min-width:0}
#tool-recharge .confirmation-panel .check{padding:0;margin:18px 0 14px;font-size:12px;line-height:1.7;background:transparent;align-items:flex-start}
#tool-recharge .confirmation-panel .check input{flex:none;margin-top:4px}
#tool-recharge .confirmation-panel .primary{min-height:46px;width:100%;font-size:14px;margin:0;padding:12px 18px;box-shadow:none;border-radius:10px}
#tool-recharge .confirmation-footnote{font-size:11px;line-height:1.7;margin-top:10px;text-align:center;color:var(--rq-muted)}
#tool-recharge #result{margin-top:24px;scroll-margin-top:24px}
#tool-recharge .claude-batch-tools{margin-top:20px}
#tool-recharge [aria-busy=true] .recharge-clear:disabled{opacity:.5;cursor:wait}
@media(max-width:760px){
 #tool-recharge .recharge-workspace{grid-template-columns:minmax(0,1fr);gap:22px}
 #tool-recharge .auto-card-entry{grid-template-columns:minmax(0,1fr) auto}
 #tool-recharge .auto-card-entry input{grid-column:1/-1}
 #tool-recharge .auto-card-entry .primary{width:100%}
 #tool-recharge .confirmation-panel{padding:18px}
 #tool-recharge .auto-card-heading h2{font-size:20px}
}
@media(max-width:480px){
 .user-page #tool-recharge{padding:18px;border-radius:20px}
 #tool-recharge input:not([type=checkbox]),#tool-recharge textarea{font-size:16px}
 #tool-recharge .auto-card-detected{padding:12px;gap:8px}
 #tool-recharge .auto-card-detected>div{min-width:0;flex-basis:calc(100% - 40px)}
 #tool-recharge .auto-card-detected>strong{margin-left:38px}
 #tool-recharge .confirmation-panel{padding:16px}
 #tool-recharge .confirmation-facts>div{grid-template-columns:60px minmax(0,1fr);gap:8px}
 #tool-recharge .recharge-input-label label{font-size:12px}
 #tool-recharge .recharge-subnav{gap:8px}
 #tool-recharge .recharge-subnav button{padding:10px 12px}
}
[data-theme="dark"] #tool-recharge{--rq-line:#344054;--rq-muted:#98a2b3;--rq-ink:#f2f4f7;--rq-surface:#182230;--rq-soft:#202c3d}

/* Visible onboarding beneath the card field; no extra action beside Clear. */
#tool-recharge #recharge-token-guide{margin-top:18px;padding:16px 18px;border:1px solid var(--rq-line);border-radius:12px;background:var(--rq-soft);color:var(--rq-ink)}
#tool-recharge #recharge-token-guide h3{margin:0 0 12px;font-size:13px;font-weight:600;line-height:1.5;color:var(--rq-muted)}
#tool-recharge #recharge-token-guide ol{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:0;padding:0;list-style:none}
#tool-recharge #recharge-token-guide li{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;line-height:1.6}
#tool-recharge #recharge-token-guide li+li:before{content:'→';margin-right:12px;color:#98a2b3}
#tool-recharge #recharge-token-guide .token-step{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:7px;background:#e4f4ed;color:#087f72;font-size:12px;font-weight:600}
#tool-recharge #recharge-token-guide a{padding:3px 0;color:#087f72;font-weight:600;text-decoration:underline;text-decoration-color:#b5dcd2;text-underline-offset:4px}
#tool-recharge #recharge-token-guide a:hover{color:#065f54;text-decoration-color:currentColor}
#tool-recharge #recharge-token-guide a:focus-visible{outline:2px solid #168a76;outline-offset:4px;border-radius:3px}
#tool-recharge #recharge-token-guide p{margin:12px 0 0;font-size:12px;line-height:1.8;color:var(--rq-muted)}
@media(max-width:760px){
 #tool-recharge #recharge-token-guide{padding:14px 16px}
 #tool-recharge #recharge-token-guide ol{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 #tool-recharge #recharge-token-guide li+li:before{display:none}
 #tool-recharge #recharge-token-guide a{padding:7px 0}
}
