.wallet-view{min-width:0}.wallet-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px;margin-bottom:22px}.wallet-hero,.wallet-category,.wallet-assets{border:1px solid #39483d;border-radius:12px;box-shadow:0 12px 35px #02070535,inset 0 1px #ffffff0b}.wallet-hero{background:radial-gradient(ellipse at 100% 0%,#a38a4d40,transparent 57%),linear-gradient(145deg,#25352a,#17241e 75%);padding:26px 28px;min-width:0}.wallet-eyebrow{color:#d2bb88;font-size:9px;letter-spacing:1.6px;font-weight:700}.wallet-eyebrow span{display:inline-block;background:#a6cda5;border-radius:50%;width:5px;height:5px;vertical-align:middle;margin:0 5px}.wallet-hero-title{font-size:12px;color:#bdcabc;margin-top:19px}.wallet-hero>strong{display:block;font-size:39px;line-height:1.4;letter-spacing:-1.4px;font-weight:650;color:#faf7ed;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wallet-hero>p{color:#9dad9e;font-size:10px;min-height:18px;margin-top:2px}.wallet-hero-footer{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:13px;border-top:1px solid #4c5a4c;color:#b6c7b5;font-size:10px}.wallet-hero-footer>span:first-child{display:flex;gap:7px;align-items:center}.wallet-hero-footer svg{width:15px;height:15px;color:#d5bd8b}.wallet-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wallet-category{display:flex;flex-direction:column;justify-content:center;gap:9px;background:linear-gradient(155deg,#202d26,#151f1a);padding:18px;min-width:0}.wallet-category>span{color:#b6c4b6;font-size:10px}.wallet-category>strong{font-size:17px;font-weight:650;line-height:1.35;color:#f0f1e9;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.wallet-category>small{color:#94a496;font-size:9px}.wallet-category-stocks{border-top:2px solid #a9cdb1}.wallet-category-gold{border-top:2px solid #d9be86}.wallet-category-crypto{border-top:2px solid #bca4da}.wallet-assets{overflow:hidden}.wallet-assets-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:25px 26px 21px}.wallet-assets-heading h2{font-size:17px;font-weight:650;color:#f0f3ea;margin-top:3px}.wallet-assets-heading p{font-size:10px;color:#a1b1a2;margin-top:5px}.wallet-add,.wallet-empty-add{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#182017;background:#dec48e;border:1px solid #e6d0a0;border-radius:7px;padding:9px 13px;font-weight:700;font-size:10px;white-space:nowrap}.wallet-add:hover,.wallet-empty-add:hover{background:#eed7a9;color:#182017}.wallet-add svg,.wallet-empty-add svg{width:14px;height:14px}.wallet-tabs{display:flex;gap:4px;padding:0 26px 15px;overflow-x:auto}.wallet-tabs button{display:inline-flex;gap:6px;align-items:center;padding:7px 11px;color:#a5b5a6;border:1px solid transparent;border-radius:6px;font-size:10px;white-space:nowrap}.wallet-tabs button:hover{background:#2d3c30}.wallet-tabs button.active{background:#514a35;border-color:#78694d;color:#f4dfb4}.wallet-tabs button span{font-size:8px;color:inherit;opacity:.75}.wallet-table-scroll{position:relative;overflow-x:auto}.wallet-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.wallet-table thead{background:#202d25;color:#a7b8a8;font-size:10px}.wallet-table th{font-weight:400;height:40px;padding:0 20px}.wallet-table td{padding:15px 20px;border-top:1px solid #303c33;font-size:11px}.wallet-table th:nth-child(2),.wallet-table th:nth-child(3),.wallet-table th:nth-child(4),.wallet-table td:nth-child(2),.wallet-table td:nth-child(3),.wallet-table td:nth-child(4){text-align:right}.wallet-table tbody tr:hover{background:#28372d}.wallet-identity{display:flex;gap:11px;align-items:center;min-width:170px}.wallet-identity>span:last-child{min-width:0}.wallet-identity strong,.wallet-selected strong{display:block;color:#eff2e9;font-weight:650;font-size:12px;line-height:1.5}.wallet-identity small,.wallet-selected small{display:block;color:#a1b1a2;font-size:9px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}.wallet-logo{width:34px;height:34px;font-size:13px}.wallet-amount{font-weight:600;color:#e4ebe1;font-variant-numeric:tabular-nums}.wallet-amount small{color:#a2b0a1;font-size:9px;font-weight:400}.wallet-amount .wallet-stale{display:inline-block;margin-left:5px;color:#ddc68c}.wallet-market-value{color:#f1e0b8!important}.wallet-row-actions{display:flex;justify-content:flex-end;gap:5px}.wallet-row-actions button{display:grid;place-items:center;color:#a8b8a7;width:29px;height:29px;border:1px solid #3a4b3e;border-radius:6px}.wallet-row-actions button:hover{background:#35453a;color:#f4e5be}.wallet-row-actions button:last-child:hover{color:#f0aaaa;border-color:#765354;background:#422e2e}.wallet-row-actions svg{width:13px;height:13px}.wallet-empty{padding:42px 20px 45px;text-align:center}.wallet-empty>span{width:42px;height:42px;display:grid;place-items:center;margin:0 auto 12px;color:#d0bb8c;background:#333b2d;border:1px solid #52614a;border-radius:12px}.wallet-empty>span svg{width:21px;height:21px}.wallet-empty strong{font-size:14px;font-weight:600;color:#e4e9dd}.wallet-empty p{font-size:10px;color:#a1b1a1;margin:7px 0 16px}.wallet-table-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #35443a;padding:14px 26px;color:#9cad9d;font-size:9px}.wallet-status{padding:10px 26px;color:#ebd5a6;font-size:10px;border-top:1px solid #35443a}.wallet-footnote{color:#91a294;font-size:9px;margin:16px 2px 0}.wallet-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.wallet-dialog{width:min(480px,calc(100% - 32px));max-height:85vh;overflow:auto;padding:0;border:1px solid #536152;border-radius:12px;background:#1c2922;color:#edf0e9;box-shadow:0 24px 100px #000b}.wallet-dialog::backdrop{background:#050609b3;backdrop-filter:blur(5px)}.wallet-dialog form{padding:24px}.wallet-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.wallet-dialog-heading h2{font-size:18px;font-weight:650;margin-top:4px}.wallet-close{height:30px;width:30px;border:1px solid #465549;border-radius:6px;color:#b8c9b7;font-size:22px;line-height:1}.wallet-close:hover{background:#304035}.wallet-selected{display:flex;align-items:center;gap:11px;background:#24332a;border:1px solid #405346;border-radius:8px;padding:13px;margin:20px 0}.wallet-selected .wallet-logo{width:38px;height:38px}.wallet-label{display:block;font-size:11px;color:#d0dacf;font-weight:600;margin-bottom:8px}.wallet-label span{color:#a5b2a2;font-size:10px;font-weight:400}.wallet-input{display:flex;height:46px;border:1px solid #485b4c;background:#121d17;border-radius:7px;align-items:center}.wallet-input:focus-within{border-color:#d4bc89;box-shadow:0 0 0 3px #d9bf8517}.wallet-input input{background:none;border:0;outline:0;width:100%;height:100%;min-width:0;color:#f3f2ed;font-size:15px;font-weight:600;padding:0 13px;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.wallet-input input::-webkit-inner-spin-button,.wallet-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.wallet-input>span{white-space:nowrap;font-size:10px;color:#afbfad;padding:0 13px;border-left:1px solid #405044}.wallet-preview{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:15px;color:#a9baaa;font-size:10px}.wallet-preview strong{font-size:13px;font-variant-numeric:tabular-nums;color:#ead6a7}.wallet-form-hint{font-size:9px;color:#98aa9a;margin-top:8px}.wallet-form-error{font-size:10px;color:#f2a5aa;background:#422e2e;border:1px solid #765354;padding:8px 10px;margin-top:12px;border-radius:5px}.wallet-dialog-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:22px}.wallet-dialog-actions button{padding:9px 14px;border-radius:6px;font-size:11px;font-weight:650}.wallet-cancel{color:#bfcdbe;border:1px solid #4b5d4e}.wallet-cancel:hover{background:#334437}.wallet-save{background:#dec48e;color:#172018;border:1px solid #e6d0a0}.wallet-save:hover{background:#eed7a9;color:#172018}.wallet-save:disabled{cursor:wait}.wallet-dialog form button:focus-visible,.wallet-tabs button:focus-visible{outline:2px solid #dec48e;outline-offset:3px}
@media(max-width:1050px){.wallet-overview{grid-template-columns:1fr}.wallet-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wallet-category{min-height:105px}.wallet-hero{padding:23px}.wallet-hero>strong{font-size:35px}}
@media(max-width:650px){.wallet-overview{gap:12px;margin-bottom:16px}.wallet-hero{padding:19px}.wallet-hero-title{margin-top:14px}.wallet-hero>strong{font-size:31px}.wallet-hero-footer{margin-top:15px}.wallet-category-grid{gap:8px}.wallet-category{padding:12px 10px;min-height:94px;gap:6px}.wallet-category>span{font-size:9px}.wallet-category>strong{font-size:13px}.wallet-category>small{font-size:8px}.wallet-assets-heading{padding:19px 16px 16px;gap:10px}.wallet-assets-heading h2{font-size:15px}.wallet-assets-heading p{font-size:9px}.wallet-add{padding:8px;font-size:9px}.wallet-tabs{padding:0 16px 13px;gap:2px}.wallet-tabs button{padding:6px 8px;font-size:9px}.wallet-table{min-width:640px}.wallet-table th,.wallet-table td{padding-left:12px;padding-right:12px}.wallet-table-footer{padding:12px 16px;font-size:8px}.wallet-footnote{font-size:8px;line-height:1.8}.wallet-dialog form{padding:20px}.wallet-dialog-heading h2{font-size:16px}}
@media(max-width:370px){.wallet-category>strong{font-size:11px}.wallet-add>span{display:none}.wallet-add{height:31px;width:31px;padding:0}}
@media(max-width:650px){.wallet-table{min-width:0;white-space:normal}.wallet-table thead{display:none}.wallet-table tbody{display:block}.wallet-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:relative;gap:10px;padding:14px 12px;border-top:1px solid #303c33}.wallet-table td{display:block;border:0;padding:0;min-width:0}.wallet-table td:nth-child(1){grid-column:1/-1;padding-right:74px}.wallet-table td:nth-child(2),.wallet-table td:nth-child(3),.wallet-table td:nth-child(4){text-align:left;overflow-wrap:anywhere}.wallet-table td:nth-child(2)::before,.wallet-table td:nth-child(3)::before,.wallet-table td:nth-child(4)::before{display:block;color:#9caf9e;font-size:8px;font-weight:400;margin-bottom:3px}.wallet-table td:nth-child(2)::before{content:'จำนวนที่ถือ'}.wallet-table td:nth-child(3)::before{content:'ราคาตลาด'}.wallet-table td:nth-child(4)::before{content:'มูลค่าปัจจุบัน'}.wallet-table td:nth-child(5){position:absolute;top:14px;right:12px}.wallet-identity{min-width:0}.wallet-amount{font-size:10px!important}.wallet-amount small{font-size:8px}}
.wallet-status{display:flex;align-items:center;justify-content:space-between;gap:12px}.wallet-status button{color:#f0d9a8;border:1px solid #71664d;border-radius:5px;padding:4px 8px;font-size:10px;white-space:nowrap}.wallet-status button:hover{background:#4c4832}
.wallet-expand{text-align:left;width:100%;cursor:pointer}.wallet-expand:hover strong{color:var(--t-accent,#dec48e)}.wallet-chevron{color:var(--t-tint,#b8c9b7);font-size:12px;width:10px;flex:none}.wallet-profit,.wallet-profit-empty{display:block;margin-top:5px;font-weight:600!important;white-space:normal}.wallet-profit.positive{color:#9fd4aa!important}.wallet-profit.negative{color:#ed9299!important}.wallet-order-details>td{text-align:left!important;padding:0!important}.wallet-order-list{background:var(--t-surface,#1a271f);padding:4px 20px 14px 56px}.wallet-order-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(130px,1fr) auto;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--t-border,#344439)}.wallet-order-row:last-child{border-bottom:0}.wallet-order-row strong{display:block;font-size:10px;color:var(--t-text,#e4ebe1)}.wallet-order-row small{display:block;margin-top:4px;font-size:9px;color:var(--t-tint,#9cad9d)}.wallet-order-amount{text-align:right;color:var(--t-text,#e4ebe1);font-variant-numeric:tabular-nums}.wallet-price-label{margin-top:16px}.wallet-order-price{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:8px}.wallet-order-price select{background:var(--t-elevated,#25372b);color:var(--t-text,#f2f1ea);border:1px solid var(--t-border,#485b4c);border-radius:7px;padding:0 10px;font:inherit}.wallet-input input[type=date]{color-scheme:dark;font-size:13px}.wallet-order-list .wallet-row-actions{justify-content:flex-end}
@media(max-width:650px){.wallet-table tbody tr.wallet-order-details{display:block;padding:0}.wallet-order-details>td{position:static!important;display:block!important}.wallet-order-list{padding:4px 12px 10px 24px}.wallet-order-row{grid-template-columns:minmax(0,1fr) minmax(85px,1fr) auto;gap:8px}.wallet-order-row strong,.wallet-order-row small{white-space:normal}.wallet-table .wallet-order-details td::before{display:none}}
