/* Platform ledger wallet. Uses the product palette without changing asset totals. */
.lcw-entry,.lcw-sheet{--lcw-line:var(--forge-line,var(--border));--lcw-soft:var(--forge-soft,var(--accent-soft));--lcw-card:var(--surface-2);color:var(--text)}
body .lcw-entry{width:100%;display:flex;align-items:center;gap:11px;padding:15px 3px;border:0;border-bottom:1px solid var(--lcw-line);border-radius:0;background:none;color:var(--text);box-shadow:none;text-align:left;cursor:pointer}
.lcw-mark{width:37px;height:39px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--lcw-line);border-radius:12px;background:var(--lcw-soft);color:var(--accent);box-shadow:inset 0 1px 0 #ffffff14}
.lcw-mark svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lcw-entry-name{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.lcw-entry-name b{font-size:13px;font-weight:600}.lcw-entry-name small{font-size:10px;color:var(--muted)}
.lcw-entry-value{display:flex;flex-direction:column;gap:4px;align-items:flex-end;min-width:0}.lcw-entry-value b{font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.lcw-entry-value small{font-size:9px;color:var(--muted)}
.lcw-entry>i{font-style:normal;color:var(--muted);font-size:19px;padding-left:3px}
.lcw-sheet{min-width:0;padding:2px 0 3px;overflow-wrap:anywhere}.lcw-sheet *{box-sizing:border-box}.lcw-sheet svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.lcw-heading{display:flex;align-items:center;gap:11px;margin:2px 30px 18px 0}.lcw-heading h2{font-size:19px;line-height:1.4;margin:0 0 3px;font-weight:650}.lcw-heading p{color:var(--muted);font-size:10px;margin:0;letter-spacing:.06em}.lcw-heading .lcw-mark{width:42px;height:43px;border-radius:14px}
.lcw-balance{padding:18px 17px 15px;border:1px solid var(--lcw-line);border-radius:20px;background:var(--forge-panel,var(--surface-2));box-shadow:inset 0 1px 0 #ffffff0c}
.lcw-balance-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px}.lcw-balance-total{display:flex;align-items:baseline;gap:8px;margin:10px 0 18px}.lcw-balance-total b{font-size:30px;font-weight:650;letter-spacing:-.035em;font-variant-numeric:tabular-nums;line-height:1.15;overflow-wrap:anywhere}.lcw-balance-total small{font-size:10px;color:var(--muted)}
.lcw-balance-split{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:1px solid var(--lcw-line);padding-top:13px}.lcw-balance-split>div{min-width:0}.lcw-balance-split span{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}.lcw-balance-split strong{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.lcw-balance-split small{font-size:9px;color:var(--muted);margin-left:4px}
.lcw-total-note{margin:-8px 0 12px;color:var(--muted);font-size:10px;line-height:1.6}.lcw-holdings{display:grid;border-top:1px solid var(--lcw-line);margin:0 0 14px}.lcw-holding{display:flex;align-items:center;gap:10px;padding:13px 0;min-width:0}.lcw-holding+.lcw-holding{border-top:1px solid var(--lcw-line)}.lcw-holding:last-child{padding-bottom:0}
.lcw-coin{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%}.lcw-coin-usdt{background:#26a17b;color:#fff}.lcw-sheet .lcw-coin-usdt svg{width:27px;height:27px;fill:currentColor;stroke:none}.lcw-sheet .lcw-coin-usdt ellipse{fill:none;stroke:currentColor;stroke-width:1.5}.lcw-coin-lc{background:var(--lcw-soft);color:var(--accent);border:1px solid var(--lcw-line)}.lcw-sheet .lcw-coin-lc svg{width:27px;height:27px;fill:currentColor;stroke:none}
.lcw-holding-name{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.lcw-holding-name b{font-size:13px;font-weight:650}.lcw-holding-name small{font-size:10px;color:var(--muted)}.lcw-holding-value{min-width:0;text-align:right;font-variant-numeric:tabular-nums}.lcw-holding-value strong{display:block;font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.lcw-holding-value small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:3px}
.lcw-holding{flex-wrap:wrap}.lcw-holding-meta{display:flex;justify-content:space-between;gap:8px;width:100%;padding-left:44px;color:var(--muted);font-size:9px;line-height:1.6;font-variant-numeric:tabular-nums}.lcw-balance-with-exchange{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:center}body .lcw-exchange-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:64px;min-height:52px;padding:8px;border:1px solid var(--lcw-line);border-radius:12px;background:var(--lcw-soft);color:var(--accent);box-shadow:none;font-size:10px;cursor:pointer}.lcw-exchange-entry svg{width:17px;height:17px}.lcw-balance-with-exchange .lcw-exchange-entry span{margin:0;color:inherit;font-size:10px}
.lcw-balance-with-exchange strong{font-size:13px;overflow-wrap:anywhere}.lcw-balance-with-exchange>div>small{display:block;margin:4px 0 0}
.lcw-exchange-pair{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px solid var(--lcw-line);border-radius:17px;background:var(--lcw-soft);margin:0 0 16px}.lcw-exchange-asset{display:flex;align-items:center;gap:9px}.lcw-exchange-asset b{font-size:15px;font-weight:650}.lcw-exchange-asset small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.lcw-exchange-pair>svg{color:var(--accent)}.lcw-exchange-available{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;line-height:1.6;margin:0;font-variant-numeric:tabular-nums}.lcw-exchange-estimate{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid var(--lcw-line);border-bottom:1px solid var(--lcw-line);font-size:11px;color:var(--muted)}.lcw-exchange-estimate strong{font-size:19px;line-height:1.35;font-weight:650;color:var(--text);font-variant-numeric:tabular-nums}.lcw-exchange-estimate strong small{font-size:10px;font-weight:450;color:var(--muted)}.lcw-history-currency{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px}.lcw-history-currency select{min-height:30px;border:1px solid var(--lcw-line);border-radius:9px;padding:5px 24px 5px 8px;background:var(--surface);color:var(--text);font-size:11px}
.lcw-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 18px}body .lcw-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:74px;padding:11px 5px;border:1px solid var(--lcw-line);border-radius:15px;background:var(--lcw-soft);color:var(--text);box-shadow:none;font-size:11px}.lcw-actions button svg{color:var(--accent);width:20px;height:20px}
.lcw-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 12px}.lcw-section-head h3{margin:0;font-size:14px;font-weight:600}.lcw-section-head>small{color:var(--muted);font-size:10px}
body .lcw-plain{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;background:none;color:var(--accent);box-shadow:none;font-size:11px;padding:6px 0;min-height:30px;border-radius:6px}body .lcw-plain svg{width:16px;height:16px}.lcw-back{margin-bottom:12px}
.lcw-tabs{display:flex;gap:6px;margin:0 0 14px;padding:4px;border:1px solid var(--lcw-line);border-radius:12px;background:var(--surface)}body .lcw-tabs button{flex:1;min-width:0;padding:8px 4px;border:0;border-radius:9px;background:none;color:var(--muted);font-size:11px;box-shadow:none}body .lcw-tabs button[aria-selected="true"]{color:var(--accent);background:var(--lcw-soft)}
.lcw-notice{margin:12px 0;padding:11px 12px;border:1px solid var(--lcw-line);border-radius:12px;background:var(--lcw-soft);font-size:11px;line-height:1.7;color:var(--muted)}.lcw-notice strong{font-weight:600;color:var(--text)}.lcw-notice[data-error="true"]{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 30%,transparent);background:var(--danger-soft,var(--lcw-soft))}
.lcw-empty{padding:24px 12px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}.lcw-empty>svg{display:block;width:30px;height:30px;margin:0 auto 10px;color:var(--accent)}.lcw-empty p{margin:5px 0}.lcw-loading{display:inline-block;width:18px;height:18px;border:2px solid var(--lcw-line);border-top-color:var(--accent);border-radius:50%;animation:lcw-spin 1s linear infinite;vertical-align:middle;margin-right:7px}@keyframes lcw-spin{to{transform:rotate(360deg)}}
.lcw-form{display:grid;gap:13px}.lcw-form label{display:grid;gap:7px;font-size:11px;font-weight:550;color:var(--text)}.lcw-form label>small{font-size:10px;font-weight:400;color:var(--muted);line-height:1.6}.lcw-form :is(input,select,textarea){width:100%;min-width:0;min-height:43px;border:1px solid var(--lcw-line);border-radius:12px;background:var(--surface);color:var(--text);padding:11px 12px;box-shadow:none;font-size:13px;outline:none}.lcw-form textarea{resize:vertical;min-height:72px}.lcw-form :is(input,select,textarea):focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--lcw-soft)}.lcw-form :is(input,textarea)::placeholder{color:var(--muted);opacity:.8}.lcw-form input[readonly]{color:var(--muted)}
.lcw-field-row{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:end}.lcw-field-row>.lcw-plain{padding:0 9px;min-height:43px}.lcw-form-note{font-size:10px;color:var(--muted);line-height:1.7;margin:0}.lcw-message{min-height:1em;font-size:11px;line-height:1.65;margin:0;color:var(--muted)}.lcw-message[data-error="true"]{color:var(--danger)}
body .lcw-button{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:11px 15px;border:1px solid var(--lcw-line);border-radius:13px;background:var(--tone-primary,var(--accent));color:var(--tone-ink,var(--bg));font-size:12px;font-weight:600;box-shadow:inset 0 1px 0 #ffffff24,0 4px 12px #0000000d;cursor:pointer}body .lcw-button.secondary{background:var(--lcw-soft);color:var(--accent);box-shadow:none}body .lcw-sheet button:disabled{opacity:.5;cursor:not-allowed}.lcw-sheet :is(button,a,input,select,textarea):focus-visible,.lcw-entry:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.lcw-channel{display:grid;gap:11px;padding:15px;border:1px solid var(--lcw-line);border-radius:16px;background:var(--surface-2)}.lcw-channel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.lcw-channel h4{margin:0;font-size:13px}.lcw-tag{font-size:9px;color:var(--accent);border:1px solid var(--lcw-line);border-radius:6px;background:var(--lcw-soft);padding:4px 6px}.lcw-channel label{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.lcw-address{display:flex;align-items:center;gap:10px}.lcw-address code{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:var(--text);user-select:text}.lcw-address button{flex-shrink:0}.lcw-channel .lcw-qr{display:block;width:174px;height:174px;object-fit:contain;padding:8px;background:#fff;border-radius:12px;margin:2px auto}.lcw-channel p{margin:0;color:var(--muted);font-size:10px;line-height:1.7}
.lcw-confirm{padding:15px;border:1px solid var(--lcw-line);border-radius:16px;background:var(--surface-2);margin-bottom:15px}.lcw-confirm h3{margin:0 0 13px;font-size:14px}.lcw-confirm dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 15px;margin:0;font-size:12px;line-height:1.65}.lcw-confirm dt{color:var(--muted)}.lcw-confirm dd{margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.lcw-confirm dd strong{font-size:17px;color:var(--text);font-weight:650}.lcw-confirm .lcw-confirm-help{margin:13px 0 0;padding-top:11px;border-top:1px solid var(--lcw-line);color:var(--muted);font-size:10px;line-height:1.7}
.lcw-bills{display:grid;gap:0}.lcw-bill{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:9px;padding:13px 0;border-bottom:1px solid var(--lcw-line)}.lcw-bill:last-child{border-bottom:0}.lcw-bill-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:var(--lcw-soft);color:var(--accent)}.lcw-bill-info{min-width:0}.lcw-bill-info b{display:block;font-weight:550;font-size:12px;line-height:1.5}.lcw-bill-info small{display:block;font-size:10px;color:var(--muted);margin-top:4px;line-height:1.5}.lcw-bill-value{text-align:right;font-variant-numeric:tabular-nums}.lcw-bill-value strong{display:block;font-size:12px;font-weight:600}.lcw-bill-value strong.positive{color:var(--positive,#4cc698)}.lcw-bill-value strong.negative{color:var(--danger,#ed7992)}.lcw-bill-value small{display:block;font-size:9px;color:var(--muted);margin-top:5px;max-width:90px}.lcw-bill details{grid-column:2/-1;font-size:10px;color:var(--muted);line-height:1.7}.lcw-bill summary{cursor:pointer;color:var(--accent)}.lcw-bill details p{margin:6px 0 0;user-select:text}
.lcw-bill-mark .lcw-coin{width:28px;height:28px;flex-basis:28px}.lcw-bill-mark .lcw-coin svg{width:23px;height:23px}.lcw-bill-value .lcw-exchange-status-completed{color:var(--positive,#4cc698)}.lcw-bill-value .lcw-exchange-status-rejected{color:var(--danger,#ed7992)}.lcw-bill-value .lcw-exchange-status-pending{color:var(--accent)}
.lcw-request{padding:13px;border:1px solid var(--lcw-line);border-radius:14px;background:var(--lcw-soft);margin-bottom:14px}.lcw-request h3{margin:0 0 7px;font-size:13px}.lcw-request p{font-size:11px;color:var(--muted);line-height:1.75;margin:0 0 9px}.lcw-request code{font-size:10px;user-select:text}.lcw-request-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.lcw-request-actions button{flex:1;min-width:120px}.lcw-request .lcw-form{margin-top:12px}.lcw-caption{text-align:center;margin:13px 0 0;font-size:9px;line-height:1.7;color:var(--muted)}
@media(max-width:380px){.lcw-balance{padding:15px 13px}.lcw-balance-total b{font-size:26px}.lcw-actions{gap:6px}.lcw-actions button{min-height:67px;padding:9px 3px;font-size:10px}.lcw-confirm dl{gap:9px;font-size:11px}.lcw-bill{grid-template-columns:28px minmax(0,1fr) auto;gap:7px}.lcw-bill-mark{width:27px;height:29px;border-radius:9px}.lcw-bill-value strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.lcw-loading{animation:none}}

body .lcw-button.lcw-permission-blocked:disabled{background:var(--lcw-soft);color:var(--muted);border-color:var(--lcw-line);box-shadow:none;opacity:.82}
