:root{--ink:#141616;--muted:#868989;--line:#e8e9e9;--bg:#fff;--lime:#55ed96;--green:#21ad5a;--negative:#e35465}
body{background:#fff;color:var(--ink);font-family:'Noto Sans Thai','Segoe UI',Tahoma,sans-serif}header{background:white;height:84px;border-bottom:1px solid var(--line);padding:0 max(24px,calc((100vw - 1080px)/2));gap:18px}.brand{color:#151717;letter-spacing:-1px}.brand>span{color:#22c874}.brand small{font-size:10px;letter-spacing:.5px}header nav{gap:8px}header nav a{display:flex;align-items:center;gap:7px;padding:11px 13px}header nav a.active{background:#eefbf3;color:#111}header nav .icon{width:18px;height:18px}.demo{margin-left:auto;white-space:nowrap}.app{max-width:1080px;padding:0 28px}.topline{padding:20px 0;color:#8a8d8b}.primary{background:var(--lime);color:#101714;border-radius:24px}.surface,.metric{border-color:var(--line);background:white;box-shadow:none}.gain{color:var(--green)}.loss{color:var(--negative)}.ref-home{max-width:950px;margin:auto}.ref-greeting{display:flex;align-items:center;gap:13px;margin:8px 0 27px}.ref-avatar{background:#ccf9df;color:#137748;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;font-size:26px;font-weight:700}.ref-greeting h1{font-size:24px;margin:0}.ref-greeting small{font-size:12px}.ref-greeting>button{margin-left:auto;background:#f6f7f6;border-radius:50%;width:44px;height:44px}.ref-banner{background:#063a25;color:#fff;border-radius:26px;padding:30px 36px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;min-height:210px}.ref-kicker{font-size:11px;letter-spacing:1px;color:#9fe9bb}.ref-banner h2{font-size:30px;line-height:1.45;margin:10px 0 18px;color:#fff;letter-spacing:-.6px}.ref-banner button{background:#a4f5bc;color:#102519;border-radius:24px;padding:8px 24px;font-weight:600}.ref-banner-mark{font-size:140px;line-height:1;font-weight:700;letter-spacing:-12px;color:#b4facd;transform:rotate(-12deg);padding-right:22px}.ref-banner-mark span{color:#45e188}.ref-wealth{padding:32px 0 25px}.ref-currency{font-size:12px;border-radius:20px;background:#f6f6f8;padding:5px 12px}.ref-total{font-family:'Segoe UI',sans-serif;font-size:48px;line-height:1.3;font-weight:700;letter-spacing:-1.6px;margin:8px 0}.ref-total>span{font-size:20px;letter-spacing:0}.ref-return{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ref-return small{font-size:12px}.ref-summary{display:grid;grid-template-columns:repeat(3,1fr);margin-top:25px;background:#f7f9f8;padding:20px 24px;border-radius:20px;gap:12px}.ref-summary strong{display:block;font-size:21px;margin-top:5px}.ref-summary small{font-size:12px}.ref-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:4px 0 30px}.ref-shortcuts button{font-size:13px;font-weight:500}.ref-shortcuts button>span{width:52px;height:52px;background:#d9f9e5;border-radius:50%;display:grid;place-items:center;margin:0 auto 9px;color:#113b23}.ref-shortcuts .icon{width:25px;height:25px}.ref-attention{background:#eefbf2;padding:24px;border-radius:23px;margin:0 0 30px}.ref-dot{width:8px;height:8px;border-radius:50%;background:#46df83}.ref-attention>button{display:flex;justify-content:space-between;align-items:center;text-align:left;width:100%;padding:15px 0;gap:15px;border-top:1px solid #dceee2}.ref-attention strong{font-size:15px}.ref-attention small{display:block;font-size:12px;margin-top:4px}.ref-attention b{white-space:nowrap;font-size:16px}.ref-holdings{padding:3px 0}.ref-holdings .section-head>button{font-size:13px}.stock-row{padding:22px 0;border-color:var(--line);gap:14px}.stock-logo,.company-logo{width:45px;height:45px;background:#f4f5f8;border:1px solid #e9e9ec;overflow:hidden}.company-logo img{width:29px;height:29px;object-fit:contain}.stock-info h3{font-size:18px;color:#151616}.stock-info small{font-size:12px}.stock-row .right strong{font-size:19px;font-weight:600}.stock-row .right small{font-size:13px;display:block;margin-top:5px}.ref-review{display:inline-block;font-size:10px;background:#f3f4f3;color:#757a77;padding:2px 7px;border-radius:7px;margin-top:5px}.ref-chevron{font-size:22px;color:#a4a8a6}.ref-validation{font-size:11px;color:#828883;margin:24px 0;line-height:1.8}.ref-asset-head{background:#d6f9e5;padding:32px;border-radius:26px}.ref-asset-head h1{font-size:30px}.ref-add{width:40px;height:40px;background:#fff;border-radius:50%}.ref-asset-head .pill-tabs{margin:24px 0;flex-wrap:wrap;overflow:visible}.pill-tabs button{background:#fff;border:1px solid #e3e6e4;color:#777c79;font-size:13px;padding:10px 18px}.pill-tabs button.active{background:#e6faed;border:1.5px solid #161d18;color:#161d18}.ref-asset-balance{background:#fff;border-radius:23px;padding:25px}.ref-asset-balance>small{font-size:14px}.ref-asset-balance p{font-size:14px;margin-bottom:20px}.ref-profit-line{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px dashed var(--line);padding-top:18px}.ref-profit-line>span{font-weight:600}.ref-asset-list{padding:30px 10px}.ref-asset-list>.section-head{font-size:12px;color:#858a86}.ref-asset-list>.section-head strong{color:#2f3632}.ref-cash-row{display:flex;justify-content:space-between;padding:25px 0;border-top:1px solid var(--line)}.ref-cash-row .icon{margin-right:10px}.ref-transactions .page-heading{margin:15px 0 30px}.ref-transactions h1{font-size:30px}.ref-transactions .primary{background:#f4f5f6;color:#121715}.ref-segment{display:flex;border-bottom:1px solid var(--line);margin-bottom:25px}.ref-segment button{flex:1;padding:15px 4px;color:#939795;border-bottom:3px solid transparent;font-size:16px}.ref-segment .selected{border-color:#111;color:#111;font-weight:600}.ref-search .search{background:#f6f7f8;border:0;border-radius:30px;padding:15px 22px;font-size:16px;margin:0 0 30px}.ref-transactions>h2{font-size:23px;margin:8px 0 30px}.ref-month{font-size:18px;color:#888d89;margin:30px 0 10px}.ref-tx{padding:24px 0;border-bottom:1px solid var(--line)}.ref-tx-top,.ref-tx-sub{display:flex;justify-content:space-between;gap:14px}.ref-tx-top{font-size:18px}.ref-tx-sub{font-size:14px;color:#858b87;margin-top:10px}.ref-tx-price{font-size:13px;color:#737b75;margin-top:8px}.ref-tx:hover{background:#fafcfb}footer{font-size:11px;border-top:1px solid var(--line);margin-top:30px}footer button{font-size:11px}.page-heading h1{color:#141816}.bottom-nav a.active{color:#0c1610}.bottom-nav a{color:#a7adab}.bottom-nav{box-shadow:none;background:#fff}.note{background:#f7f8f7}.tool-tile{background:white;border-color:var(--line)}
@media(min-width:900px){.ref-home{display:grid;grid-template-columns:1.15fr 1fr;gap:0 36px}.ref-greeting,.ref-banner{grid-column:1/-1}.ref-wealth{grid-column:1;grid-row:3;padding-bottom:5px}.ref-shortcuts{grid-column:1;grid-row:4}.ref-attention{grid-column:2;grid-row:3/5;margin:30px 0}.ref-holdings,.ref-validation{grid-column:1/-1}.ref-banner{padding:28px 38px;min-height:200px}.ref-banner h2{font-size:32px}}
@media(max-width:760px){header{height:70px;padding:0 22px;position:relative}.brand{font-size:23px}.brand small{font-size:8px}.demo{font-size:10px}.app{padding:0 22px}.topline{padding:10px 0 17px;font-size:10px}.topline .dot{display:none}.ref-greeting{margin:8px 0 23px}.ref-greeting h1{font-size:22px}.ref-banner{padding:23px;min-height:195px;border-radius:24px}.ref-banner h2{font-size:24px}.ref-kicker{font-size:9px;letter-spacing:.3px}.ref-banner-mark{font-size:92px;letter-spacing:-8px;padding-right:0}.ref-banner button{padding:7px 18px;font-size:12px}.ref-total{font-size:40px}.ref-wealth{padding:27px 0 23px}.ref-summary{padding:16px 13px;gap:8px}.ref-summary strong{font-size:17px}.ref-summary small{font-size:10px}.ref-shortcuts{gap:4px}.ref-shortcuts button{font-size:11px}.ref-attention{padding:20px;margin-bottom:27px}.ref-attention strong{font-size:14px}.ref-attention small{font-size:11px}.ref-attention b{font-size:14px}.stock-info h3{font-size:16px}.stock-info small{font-size:10px}.stock-row .right strong{font-size:17px}.stock-row .right small{font-size:12px}.stock-row{gap:10px}.stock-logo,.company-logo{width:39px;height:39px}.ref-chevron{display:none}.ref-asset-head{margin:0 -22px;padding:25px 22px 24px;border-radius:0;background:#d6f9e5}.ref-asset-head h1{font-size:26px}.ref-asset-head .pill-tabs{flex-wrap:nowrap;overflow:auto;margin:24px 0}.ref-asset-balance{padding:22px 17px}.ref-asset-balance>small{font-size:12px}.ref-asset-balance .ref-total{font-size:35px;letter-spacing:-1px}.ref-total>span{font-size:15px}.ref-profit-line{font-size:12px}.ref-asset-list{padding:27px 0}.ref-transactions h1{font-size:25px}.ref-transactions .primary{font-size:11px;padding:10px 12px}.ref-transactions .page-heading{gap:10px}.ref-segment button{font-size:14px}.ref-tx-top{font-size:16px}.ref-tx-sub{font-size:12px}.ref-month{font-size:17px}.ref-search .search{font-size:14px}.bottom-nav{height:calc(72px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.bottom-nav a{font-size:11px}.bottom-nav .icon{width:25px;height:25px;margin-bottom:5px}footer{padding-bottom:110px}.ref-validation{font-size:10px}}
@media(max-width:360px){.app{padding:0 17px}.ref-banner{padding:19px}.ref-banner-mark{font-size:70px}.ref-banner h2{font-size:22px}.ref-total{font-size:35px}.ref-summary strong{font-size:15px}.ref-asset-head{margin:0 -17px;padding:22px 17px}.ref-tx-top{font-size:14px}.ref-tx-sub{font-size:11px}.ref-transactions h1{font-size:23px}}
