/* Shared member pages: header outside the content card, aligned with Buy coin. */
body.workspace-shell .member-layout .member-tools{display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important}
body.workspace-shell .member-layout .member-tools>h1{position:relative!important;width:100%!important;margin:0 0 22px!important;padding:20px 24px!important;text-align:left!important;font-size:26px!important;line-height:1.25!important;box-sizing:border-box!important}
body.workspace-shell .member-layout .member-tools .member-tool-card{width:100%!important;max-width:none!important;margin:0 0 22px!important;padding:25px!important;border:1px solid #bad8c8!important;border-radius:24px!important;background:radial-gradient(ellipse at 100% 0,#fff5b6aa,transparent 60%),linear-gradient(130deg,#effff7,#fffdf0)!important;box-shadow:inset 0 2px #fff,0 5px 0 #c9dbbf30,0 12px 24px #5d7d4210!important}
body.workspace-shell .member-layout .security-tools .member-tool-card{background:linear-gradient(125deg,#effaff,#f1ebff 70%,#fff2f9)!important;border-color:#c9d5e4!important}
body.workspace-shell .member-layout .support-tools .member-tool-card{background:linear-gradient(125deg,#eafff7,#eaf5ff 70%,#f7ecff)!important}
body.workspace-shell .member-layout .giveaway-tools .member-tool-card{background:linear-gradient(125deg,#fff7d7,#fff0f8 70%,#f5eeff)!important}
.member-tool-intro{display:flex;align-items:center;gap:16px;margin-bottom:22px}.member-tool-intro>img{flex:0 0 54px;width:54px;height:54px;object-fit:contain;padding:8px;box-sizing:border-box;border:1px solid #fff;border-radius:17px;background:linear-gradient(135deg,#fff,#e8f7e4);box-shadow:inset 0 2px #fff,0 5px 10px #46725315}.member-tool-intro h2{font-size:20px!important;margin:0 0 5px!important}.member-tool-intro p{font-size:13px!important;line-height:1.5;margin:0!important;color:#637e70}
body.workspace-shell .member-layout .security-tools .member-tool-card>p{font-size:13px;line-height:1.5;margin:0 0 18px}
body.workspace-shell .member-layout .member-tools .form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
body.workspace-shell .member-layout .member-tools .form label{display:flex!important;flex-direction:column;gap:9px;font-size:13px!important;font-weight:700;min-width:0}
.member-tools .form label:has(textarea),.member-tools .form label:has(input[name=current_password]){grid-column:1/-1}
body.workspace-shell .member-layout .member-tools .form :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;font:14px Inconsolata,monospace!important;box-shadow:inset 0 1px white,0 3px 8px #416c4d08!important}
body.workspace-shell .member-layout .member-tools .form textarea{min-height:110px;resize:vertical}
body.workspace-shell .member-layout .member-tools .form button{grid-column:1/-1;justify-self:start;min-width:220px;min-height:46px;padding:12px 20px!important;border:1px solid #d5c56f!important;border-radius:13px!important;background:linear-gradient(120deg,#f1f9bf,#ffe45c)!important;box-shadow:inset 0 2px #fff,0 4px 0 #c3bc6530!important;font:700 14px Inconsolata,monospace;transition:transform .2s,filter .2s}.member-tools .form button:hover{transform:translateY(-2px);filter:brightness(1.04)}
body.workspace-shell .member-layout .member-tools .tool-balance{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 18px;margin:0 0 22px;border:1px solid #bfdcb5;border-radius:14px;background:linear-gradient(110deg,#ddf6df,#fff3b8);font-size:13px}.tool-balance b{font-size:22px}
.member-tools .tool-empty{text-align:center;padding:28px 16px}.tool-empty img{object-fit:contain}.tool-empty h3{font-size:18px;margin:12px 0 6px}.tool-empty p{font-size:13px;margin-bottom:18px}
body.workspace-shell .member-layout .member-tools .table-wrap{overflow-x:auto;border:1px solid #d4e5d8;border-radius:14px}.member-tools table{width:100%}.member-tools .claim-history-card{margin-top:24px!important}.member-tools .claim-history-heading{padding:0 0 18px!important}.member-tools .claim-history-heading h2{font-size:20px}.member-tools .empty-state{padding:22px;text-align:center;font-size:13px}
@media(max-width:650px){body.workspace-shell .member-layout .member-tools>h1{padding:18px!important;font-size:23px!important;margin-bottom:18px!important}body.workspace-shell .member-layout .member-tools .member-tool-card{padding:19px 16px!important}body.workspace-shell .member-layout .member-tools .form{grid-template-columns:1fr;gap:16px!important}body.workspace-shell .member-layout .member-tools .form button{width:100%;min-width:0}.member-tool-intro{gap:12px;align-items:flex-start}.member-tool-intro h2{font-size:18px!important}.member-tools .claim-history-heading{flex-wrap:wrap}.member-tools .table-wrap table{min-width:580px}}
@media(prefers-reduced-motion:reduce){.member-tools .form button{transition:none!important;transform:none!important}}
body.workspace-shell .member-layout .member-tools .claim-history-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:0 0 18px!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important}
body.workspace-shell .member-layout .member-tools .claim-history-heading h2{margin:0!important;font-size:20px!important;line-height:1.35}
body.workspace-shell .member-layout .member-tools .claim-history-count{display:inline-flex;align-items:center;flex-shrink:0;padding:7px 12px;border:1px solid #d2d9eb;border-radius:20px;background:linear-gradient(120deg,#eaf8ff,#f4eaff);font-size:12px;line-height:1.4}
body.workspace-shell .member-layout .history-tools .tool-empty h3{margin:0 0 18px}
/* Authenticator and checkout use the same compact panel rail as the other member pages. */
.two-factor-tools .security-state,.payment-tools .payment-status{margin-left:auto;padding:9px 14px;border:1px solid #b6d9c8;border-radius:24px;background:linear-gradient(120deg,#dcfaed,#fff3bb);font-size:12px;white-space:nowrap;color:#225e49}
.security-setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.security-step,.recovery-panel{min-width:0;padding:22px;border:1px solid #bfdcd6;border-radius:20px;background:radial-gradient(ellipse at top left,#fff,transparent 65%),linear-gradient(135deg,#e9fff5,#edf6ff);box-shadow:inset 0 2px #fff,0 7px 18px #32644b0b}
.security-step:nth-child(2){background:radial-gradient(ellipse at top right,#fff,transparent 65%),linear-gradient(135deg,#fff9d9,#f4edff)}
.security-step h3,.recovery-panel h3{display:flex;align-items:center;gap:10px;font-size:17px!important;margin:0 0 14px!important;line-height:1.4}
.security-step h3>span{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #b5d7c5;border-radius:11px;background:linear-gradient(135deg,#d7f6df,#fff1a4);font:700 14px Inconsolata,monospace}
.security-step p,.recovery-panel p{font-size:14px;line-height:1.6;margin:0 0 20px;color:#59746a}
body.workspace-shell .member-layout .two-factor-tools .form{grid-template-columns:minmax(0,1fr)!important;gap:17px!important}
.two-factor-tools .totp-qr{display:grid;place-items:center;width:214px;max-width:100%;padding:12px;margin:18px auto;background:#fff;border:1px solid #c6ddd3;border-radius:16px;box-sizing:border-box}
.two-factor-tools .totp-qr img,.two-factor-tools .totp-qr canvas{max-width:100%;height:auto}
.setup-key{display:grid;gap:8px;font-size:12px;font-weight:700}.setup-key code{display:block;padding:12px;border:1px dashed #b3cbbb;border-radius:10px;background:#ffffffc9;overflow-wrap:anywhere;font-size:14px;letter-spacing:1px}.security-step small{display:block;margin-top:10px;font-size:12px;color:#60776b}
.recovery-panel{margin-bottom:20px}.two-factor-tools .recovery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.recovery-grid code{padding:10px;background:#fff;border:1px solid #cbdcce;border-radius:10px;overflow-wrap:anywhere;text-align:center}
.security-back{display:inline-flex;margin-top:22px!important}
body.workspace-shell .member-layout .two-factor-tools .form button.danger{background:linear-gradient(135deg,#fff0ee,#ffd9df)!important;border-color:#e8bfc5!important;color:#883f4a!important}
body.workspace-shell .member-layout .payment-tools .payment-box{max-width:none!important;min-height:0!important;text-align:left!important}
.payment-tools .member-tool-intro{flex-wrap:wrap}.payment-tools .member-tool-intro>div{flex:1;min-width:150px}
body.workspace-shell .payment-tools .payment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 24px;padding:0;border:0;background:none;box-shadow:none}
body.workspace-shell .payment-tools .payment-summary p{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-width:0;margin:0;padding:18px;border:1px solid #c2dfc8;border-radius:17px;background:linear-gradient(125deg,#e0fae8,#fff6cf);box-shadow:inset 0 2px #fff}
body.workspace-shell .payment-tools .payment-summary p:nth-child(2){background:linear-gradient(125deg,#e5f8ff,#f0eaff);border-color:#c5d6e4}
body.workspace-shell .payment-tools .payment-summary p:nth-child(3){background:linear-gradient(125deg,#fff5c6,#ffedf0);border-color:#e2d5b4}
.payment-tools .payment-summary span{font-size:12px;font-weight:700;color:#557463;text-transform:uppercase;letter-spacing:.7px}.payment-tools .payment-summary b{font-size:19px;line-height:1.4;overflow-wrap:anywhere}.payment-tools .payment-summary p:first-child b{font-size:15px}
body.workspace-shell .payment-tools .payment-wallet{padding:22px;margin:20px 0;border:1px solid #c2d9df;border-radius:20px;background:linear-gradient(120deg,#eefaff,#f4efff);text-align:left}.payment-tools .payment-wallet h2,.payment-tools .payment-wallet h3{font-size:18px!important;margin:0 0 14px!important;overflow-wrap:anywhere}
.payment-tools .payment-wallet label{display:grid;gap:9px;font-size:13px;font-weight:700}.payment-tools .payment-wallet input{width:100%;min-width:0;box-sizing:border-box;font:14px Inconsolata,monospace}.payment-tools .wallet-address-box{display:flex;gap:10px;flex-wrap:wrap}.payment-tools .wallet-address-box input{flex:1 1 230px}.payment-tools .qr{width:244px;max-width:100%;padding:12px;background:#fff;border-radius:14px;margin:16px auto;box-sizing:border-box}.payment-tools .qr img,.payment-tools .qr canvas{max-width:100%;height:auto}
.payment-tools .payment-box>p,.payment-tools .payment-wallet p{font-size:14px;line-height:1.6;color:#567467}.payment-tools .payment-box>.form{margin-top:20px!important}.payment-tools .payment-box>.btn{display:inline-flex;align-items:center;min-height:44px;margin:8px 0;padding:12px 20px;border-radius:13px;background:linear-gradient(120deg,#eff8b8,#ffe04c);border:1px solid #d6c976;box-shadow:inset 0 2px white,0 4px 0 #c3bc6526;font-weight:700;text-decoration:none}
.payment-tools .payment-status.paid{background:#dff7e9;color:#1b6546}.payment-tools .payment-status.review,.payment-tools .payment-status.expired{background:#fff0db;color:#855716}
body.workspace-shell .payment-tools .payment-box>p{margin:18px 0!important}.payment-tools .payment-box>.form{padding-top:4px!important}
@media(max-width:800px){.security-setup-grid{grid-template-columns:1fr}.two-factor-tools .member-tool-intro{flex-wrap:wrap}.two-factor-tools .security-state{margin-left:0}.two-factor-tools .recovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.workspace-shell .payment-tools .payment-summary{grid-template-columns:1fr 1fr}}
@media(max-width:480px){body.workspace-shell .payment-tools .payment-summary{grid-template-columns:1fr}.security-step{padding:17px}.payment-tools .payment-status{margin-left:0}.payment-tools .wallet-address-box button{width:100%}}
