/* Base customer-console styles */
:root{--ink:#17241f;--muted:#75827e;--line:#dfe7e3;--soft:#f2f6f4;--green:#118c76;--green2:#21b498;--night:#0b1714;--white:#fff;--danger:#c64955;--amber:#b67a1a}*{box-sizing:border-box}html{font-family:Inter,"Pretendard",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f5f8f7}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(255,255,255,.24);border-radius:14px;color:#62e1c3;font-size:11px;font-weight:900;letter-spacing:1px}.brand-mark.small{width:38px;height:38px;border-color:#cae1da;color:#087965;border-radius:11px}.login{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto;padding:34px 5vw 22px;color:#fff;background:radial-gradient(circle at 13% 15%,rgba(29,188,151,.2),transparent 30%),radial-gradient(circle at 87% 82%,rgba(34,117,97,.2),transparent 30%),var(--night)}.login-brand,.brand{display:flex;align-items:center;gap:11px}.login-brand strong,.login-brand small,.brand strong,.brand small{display:block}.login-brand strong{font-size:17px}.login-brand small{font-size:10px;color:#799087;margin-top:3px}.login-card{width:min(100%,500px);align-self:center;justify-self:center;padding:42px;background:rgba(255,255,255,.98);color:var(--ink);border-radius:22px;box-shadow:0 34px 100px rgba(0,0,0,.34)}.network-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #c8e8df;border-radius:999px;color:#087965;background:#ecf8f5;font-size:10px;font-weight:900;letter-spacing:1px}.network-pill i,.sidebar-foot i{width:7px;height:7px;border-radius:50%;background:#16b791;box-shadow:0 0 0 4px rgba(22,183,145,.12)}.network-pill.compact{padding:6px 9px}.eyebrow{margin:0;color:#118875;font-size:10px;font-weight:900;letter-spacing:1.7px}.login-card>.eyebrow{margin-top:25px}.login-card h1{font-size:35px;line-height:1.2;letter-spacing:-1.4px;margin:11px 0 13px}.login-copy{color:var(--muted);font-size:14px;line-height:1.7;margin:0 0 26px}.login form label,.modal label{display:block;margin-bottom:16px;font-size:12px;font-weight:800}.login input,.modal input,.settings-form input{display:block;width:100%;height:46px;border:1px solid #dbe4e1;border-radius:10px;padding:0 13px;outline:none;background:#fff;margin-top:7px}.login input:focus,.modal input:focus,.settings-form input:focus{border-color:#42b7a2;box-shadow:0 0 0 3px rgba(66,183,162,.13)}.password-field{position:relative}.password-field input{padding-right:60px}.password-field button{position:absolute;right:7px;top:14px;height:32px;border:0;background:transparent;color:#0d8873;font-size:12px;font-weight:800}.button{height:40px;border:0;border-radius:9px;padding:0 15px;font-size:12px;font-weight:850}.button.primary{background:var(--green);color:#fff;box-shadow:0 8px 20px rgba(17,140,118,.15)}.button.primary:hover{background:#087b67}.button.secondary{background:#edf3f1;color:#52635e}.button.danger{background:#fff0f1;color:var(--danger)}.button:disabled{opacity:.55;cursor:wait}.login-button{width:100%;height:49px;margin-top:3px}.form-error{min-height:18px;color:var(--danger);font-size:12px;margin:9px 0 0}.security-copy{display:flex;gap:10px;border-top:1px solid var(--line);margin-top:18px;padding-top:17px}.security-copy>b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dff4ee;color:#07826d;font-size:10px}.security-copy strong,.security-copy small{display:block}.security-copy strong{font-size:11px}.security-copy small{font-size:10px;color:#74827e;margin-top:3px}.login-footer{text-align:center;font-size:10px;color:#557069}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#fff;border-right:1px solid var(--line);padding:24px 15px;display:flex;flex-direction:column;z-index:20}.brand{text-decoration:none;color:var(--ink);padding:0 7px 25px}.brand strong{font-size:14px}.brand small{font-size:9px;color:#8a9692;margin-top:3px}.sidebar nav{display:grid;gap:4px}.sidebar nav button{height:43px;border:0;border-radius:9px;background:transparent;text-align:left;color:#697671;padding:0 13px;font-size:12px;font-weight:700}.sidebar nav button span{display:inline-grid;width:24px;color:#90a09b}.sidebar nav button:hover,.sidebar nav button.active{background:#eaf6f2;color:#087965}.sidebar-foot{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 12px;border-radius:10px;background:#f2f8f6}.sidebar-foot strong,.sidebar-foot small{display:block}.sidebar-foot strong{font-size:10px}.sidebar-foot small{font-size:9px;color:#82908b;margin-top:2px}.main{margin-left:235px;min-height:100vh}.topbar{height:70px;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.topbar>div:first-of-type small,.topbar>div:first-of-type strong{display:block}.topbar>div:first-of-type small{font-size:9px;color:#8a9692}.topbar>div:first-of-type strong{font-size:14px;margin-top:3px}.top-actions{display:flex;align-items:center;gap:12px}.account{font-size:11px;color:#65736f}.logout-button,.menu-button{border:0;background:transparent;color:#74817d;font-size:20px}.menu-button{display:none}.content{padding:34px 30px 60px;max-width:1500px;margin:auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:23px}.page-head h1{font-size:27px;letter-spacing:-.8px;margin:6px 0}.page-head p{font-size:13px;color:var(--muted);margin:0}.head-actions{display:flex;gap:8px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:15px}.metric{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;box-shadow:0 9px 30px rgba(24,53,44,.035)}.metric span{display:block;font-size:10px;color:#7d8985;margin-bottom:9px}.metric strong{font-size:23px;letter-spacing:-.5px}.metric small{display:block;font-size:9px;color:#929d99;margin-top:7px}.grid-2{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 9px 30px rgba(24,53,44,.035);overflow:hidden}.panel-head{min-height:65px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.panel-head h2{font-size:14px;margin:0 0 4px}.panel-head p{font-size:10px;color:#899692;margin:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:11px 16px;background:#fafcfb;color:#899591;font-size:9px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:13px 16px;border-bottom:1px solid #edf1ef;font-size:11px;color:#596762;vertical-align:middle}tbody tr:last-child td{border-bottom:0}td strong,td small{display:block}td strong{font-size:11px;color:#24322e}td small{font-size:9px;color:#909b97;margin-top:3px}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px}.badge{display:inline-block;padding:5px 7px;border-radius:6px;font-size:9px;font-weight:850}.badge.success{background:#e3f5f0;color:#087b67}.badge.pending{background:#fff2dd;color:#a36d16}.badge.failed{background:#fdebed;color:#bd4652}.badge.neutral{background:#eef2f1;color:#66736f}.empty{text-align:center!important;padding:40px!important;color:#8b9793}.settings-form{padding:20px}.settings-form label{display:block;font-size:11px;font-weight:800;margin-bottom:14px}.settings-form small{display:block;font-size:9px;color:#8a9692;margin-top:6px}.settings-form .actions{display:flex;gap:8px;margin-top:15px}.key-list{padding:5px 18px 18px}.key-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf1ef}.key-row:last-child{border-bottom:0}.key-row>div{flex:1}.key-row strong,.key-row small{display:block}.key-row strong{font:700 11px ui-monospace,SFMono-Regular,Consolas,monospace}.key-row small{font-size:9px;color:#8b9793;margin-top:4px}.code-block{margin:0;padding:16px;background:#0d1d18;color:#c8e7df;border-radius:10px;overflow:auto;font:11px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre}.doc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.doc-card{padding:20px}.doc-card h2{font-size:15px;margin:0 0 8px}.doc-card p,.doc-card li{font-size:11px;color:#6e7c77;line-height:1.7}.doc-card ul{padding-left:18px}.modal-wrap{position:fixed;inset:0;background:rgba(6,15,12,.45);z-index:40;display:none;place-items:center;padding:20px}.modal-wrap.open{display:grid}.modal{width:500px;max-width:100%;background:#fff;border-radius:15px;box-shadow:0 28px 80px rgba(0,0,0,.25)}.modal-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.modal-head p{font-size:8px;letter-spacing:1.3px;color:#8a9692;margin:0 0 5px}.modal-head h2{font-size:18px;margin:0}.modal-head>button{border:0;background:transparent;font-size:22px;color:#7b8884}.modal form,.secret-body{padding:21px}.form-note{font-size:10px;line-height:1.6;color:#697772;background:#f1f7f5;padding:11px;border-radius:8px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.secret-value{margin:8px 0 15px;padding:12px;background:#f1f5f4;border-radius:8px;word-break:break-all;font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;user-select:all}.secret-body label{font-size:9px;color:#7d8985}.secret-warning{font-size:10px;line-height:1.6;color:#825d1c;background:#fff3df;padding:11px;border-radius:8px}.scrim{display:none}.toast{position:fixed;right:24px;bottom:24px;z-index:60;display:flex;align-items:center;gap:8px;background:#10231e;color:#fff;padding:12px 16px;border-radius:10px;box-shadow:0 14px 40px rgba(0,0,0,.2);transform:translateY(80px);opacity:0;transition:.22s}.toast.show{transform:none;opacity:1}.toast span{color:#4cddba}.toast b{font-size:11px}@media(max-width:1050px){.metrics{grid-template-columns:repeat(2,1fr)}.grid-2,.doc-grid{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.22s}.sidebar.open{transform:none}.main{margin-left:0}.menu-button{display:block}.topbar{padding:0 17px}.topbar>div:first-of-type{display:none}.content{padding:25px 16px 50px}.scrim.show{display:block;position:fixed;inset:0;background:rgba(5,13,11,.38);z-index:15}.page-head{align-items:flex-start;gap:14px}.account{display:none}}@media(max-width:520px){.login{padding:22px 15px}.login-card{padding:28px 22px}.login-card h1{font-size:29px}.metrics{grid-template-columns:1fr}.page-head{display:block}.head-actions{margin-top:15px}.top-actions .network-pill{display:none}.content{padding-top:22px}}

/* Readability scale */
/* Customer-console readability scale. Kept separate from structural styles. */
body {
  font-size: 15px;
}

.login-brand strong {
  font-size: 20px;
}

.login-brand small {
  font-size: 12px;
}

.network-pill {
  font-size: 12px;
  padding: 8px 12px;
}

.eyebrow {
  font-size: 12px;
}

.login-copy {
  font-size: 16px;
}

.login form label,
.modal label {
  font-size: 14px;
}

.login input,
.modal input,
.settings-form input {
  height: 50px;
  padding: 0 15px;
  font-size: 14px;
}

.button {
  height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.form-error {
  font-size: 14px;
}

.security-copy strong {
  font-size: 13px;
}

.security-copy small,
.login-footer {
  font-size: 12px;
}

.sidebar {
  width: 250px;
}

.main {
  margin-left: 250px;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  font-size: 11px;
}

.sidebar nav button {
  height: 48px;
  padding: 0 15px;
  font-size: 14px;
}

.sidebar-foot strong {
  font-size: 12px;
}

.sidebar-foot small {
  font-size: 11px;
}

.topbar {
  height: 76px;
}

.topbar > div:first-of-type small {
  font-size: 11px;
}

.topbar > div:first-of-type strong {
  font-size: 17px;
}

.account {
  font-size: 13px;
}

.content {
  padding-top: 38px;
  max-width: 1780px;
}

.page-head h1 {
  font-size: 32px;
}

.page-head p {
  font-size: 15px;
  line-height: 1.6;
}

.metric {
  padding: 23px;
}

.metric span {
  font-size: 13px;
}

.metric strong {
  font-size: 29px;
}

.metric small {
  font-size: 11px;
}

.panel-head {
  min-height: 72px;
  padding: 18px 20px;
}

.panel-head h2 {
  font-size: 17px;
}

.panel-head p {
  font-size: 13px;
}

th {
  padding: 14px 17px;
  font-size: 12px;
}

td {
  padding: 16px 17px;
  font-size: 14px;
}

td strong {
  font-size: 14px;
}

td small {
  font-size: 11px;
}

.mono {
  font-size: 12px;
}

.wallet-table {
  min-width: 1280px;
  table-layout: auto;
}

.wallet-table th,
.wallet-table td {
  padding-left: 22px;
  padding-right: 22px;
}

.wallet-table .wallet-address-column,
.wallet-table .wallet-address {
  min-width: 390px;
}

.wallet-table .wallet-address {
  color: #172c26;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .15px;
  white-space: nowrap;
  user-select: all;
}

.wallet-table .wallet-id {
  min-width: 245px;
  white-space: nowrap;
}

.badge {
  padding: 6px 9px;
  font-size: 11px;
}

.settings-form label {
  font-size: 13px;
}

.settings-form small {
  font-size: 11px;
}

.key-row strong {
  font-size: 13px;
}

.key-row small {
  font-size: 11px;
}

.code-block {
  font-size: 13px;
}

.doc-card h2 {
  font-size: 18px;
}

.doc-card p,
.doc-card li {
  font-size: 13px;
}

.modal-head p {
  font-size: 10px;
}

.modal-head h2 {
  font-size: 21px;
}

.form-note,
.secret-warning {
  font-size: 13px;
}

.secret-value {
  font-size: 13px;
}

.secret-body label {
  font-size: 11px;
}

.toast b {
  font-size: 13px;
}

@media (max-width: 760px) {
  .main {
    margin-left: 0;
  }

  .content {
    padding: 28px 16px 50px;
  }
}

/* Withdrawal feature styles */
.metric.accent { border-color: #92d8c8; background: linear-gradient(135deg, #f5fffc, #e9f8f4); }
.withdrawal-form { padding: 20px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px 18px; align-items: end; }
.withdrawal-form label { display: block; font-size: 11px; font-weight: 800; }
.withdrawal-form input { display: block; width: 100%; height: 46px; margin-top: 7px; padding: 0 13px; border: 1px solid #dbe4e1; border-radius: 10px; background: #fff; outline: none; }
.amount-field { display: flex; gap: 8px; align-items: flex-end; }
.amount-field input { flex: 1; }
.amount-field .button { height: 46px; flex: 0 0 auto; }
.withdrawal-form .form-note, .withdrawal-form .actions { margin: 0; }
.wallet-address { white-space: nowrap; }
.withdrawal-confirm-modal { width: 540px; overflow: hidden; }
.withdrawal-confirm-body { padding: 24px; }
.withdrawal-confirm-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 15px; background: linear-gradient(135deg, #e6f8f3, #d2f0e8); color: #087b67; font-size: 23px; font-weight: 900; }
.withdrawal-confirm-copy { margin: 0 0 18px; color: #75827e; font-size: 12px; text-align: center; }
.withdrawal-confirm-table { margin: 0; overflow: hidden; border: 1px solid #dfe7e3; border-radius: 12px; background: #fafcfb; }
.withdrawal-confirm-table > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; min-height: 54px; padding: 0 16px; border-bottom: 1px solid #e7eeeb; }
.withdrawal-confirm-table > div:last-child { border-bottom: 0; }
.withdrawal-confirm-table dt { color: #75827e; font-size: 11px; font-weight: 750; }
.withdrawal-confirm-table dd { margin: 0; color: #25332f; font-size: 13px; font-weight: 850; text-align: right; }
.withdrawal-confirm-table .withdrawal-confirm-total { background: #eaf7f3; }
.withdrawal-confirm-table .withdrawal-confirm-total dt, .withdrawal-confirm-table .withdrawal-confirm-total dd { color: #087b67; }
.withdrawal-confirm-table .withdrawal-confirm-total dd { font-size: 17px; }
.withdrawal-confirm-table .withdrawal-confirm-address { align-items: start; padding-top: 15px; padding-bottom: 15px; }
.withdrawal-confirm-address dd { overflow-wrap: anywhere; font: 700 11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.withdrawal-confirm-warning { margin: 14px 0 0; padding: 11px 13px; border-radius: 9px; background: #fff5e6; color: #8a611e; font-size: 10px; line-height: 1.55; }
.withdrawal-confirm-body .modal-actions { margin-top: 16px; }
@media (max-width: 520px) { .withdrawal-confirm-table > div { grid-template-columns: 1fr; gap: 5px; padding-top: 12px; padding-bottom: 12px; } .withdrawal-confirm-table dd { text-align: left; } }
@media (max-width: 1050px) { .withdrawal-form { grid-template-columns: 1fr; } }

