:root{--bg:#f5f7f4;--panel:#fff;--panel2:#f8faf8;--line:#e5ebe6;--muted:#77857d;--text:#23332b;--gold:#b18c46;--gold2:#846520;--green:#25855a;--red:#bd554d;color-scheme:light}
body,button,input,select,textarea{font-family:'Sukhumvit Set','Sukhumvit',Prompt,'DM Sans','IBM Plex Sans Thai',sans-serif}body{background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}
.app-shell{background:var(--bg)}.sidebar{background:#fff;border-color:var(--line);padding:27px 17px 20px}.brand{color:#26382e;margin-bottom:47px}.brand-mark{border-color:#d6c38d;background:linear-gradient(145deg,#fbf7e9,#eee5ca);color:#9a7830}.brand-sub{color:#8d9890}.nav-label{color:#929e96}.nav-item{color:#67766e;border-radius:8px}.nav-item.active{background:#f5f2e8;border-color:#e9dfc2;color:#806326}.nav-icon{color:#9c7933}.free-card{background:#fafbf9;border-color:var(--line)}.free-card b,.profile b{color:#33453a}.free-card small,.profile small{color:#839087}.profile{border-color:var(--line)}.avatar{background:#f2ead7;color:#8d6e2c}
.topbar{height:70px;padding:0 44px;background:#fff;border-color:var(--line)}.breadcrumb{color:#829087}.breadcrumb span{color:#b5bdb7}.breadcrumb b{color:#34463b}.live-status{color:#67786e}.icon-button{border-color:#e0e7e1;background:#fff;color:#5f7668}.icon-button:hover{border-color:#b6c8ba;background:#f7faf7}.today{color:#718077;border-color:var(--line)}
.content{max-width:1320px;padding:38px 44px 25px}.welcome-row{margin-bottom:24px}h1{font-size:29px;letter-spacing:-.025em;color:#21352a;margin:8px 0 4px}.welcome-row p{font-size:13px;color:#7b8980}.eyebrow{color:#947530;letter-spacing:.12em}.sparkle{color:#b7974f}.primary-button{height:40px;padding:0 17px;border-color:#287b53;background:linear-gradient(180deg,#2e8c60,#24764f);color:#fff;border-radius:7px;font-size:12px;box-shadow:0 2px 5px #1d633d1b}.primary-button:hover{filter:brightness(1.04);box-shadow:0 5px 12px #1d633d22}.primary-button>span{font-size:16px}
.market-banner{min-height:151px;border:1px solid #e7dfca;border-radius:12px;background:radial-gradient(ellipse at 15% 0%,#f7f0dd 0,transparent 50%),linear-gradient(110deg,#fffdf7,#f8f7ef 68%,#f2f6ef);padding:25px 29px;margin-bottom:18px;box-shadow:0 5px 18px #32443508}.market-kicker{color:#8d7132;font-size:10px}.market-pill{color:#8d8265;border-color:#e4dac0;background:#fffaf0}.market-live-dot{background:#43a16c;box-shadow:0 0 8px #43a16c55}.market-date{font-size:16px;color:#31473a;margin-top:12px}.market-note{font-size:10px;color:#8a948a}.market-prices{gap:31px;margin-right:39px}.market-price{min-width:145px}.market-price span{font-size:10px;color:#68776c}.market-price strong{font-size:25px;color:#293f32;font-weight:600;letter-spacing:-.035em}.market-price small{font-size:9px;color:#8b958d}.market-divider{background:#ddd4bc}.banner-watermark{color:#a68a4d;opacity:.055}
.metrics-grid{gap:14px;margin-bottom:23px}.metric-card{min-height:132px;padding:18px 19px;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 4px 15px #26382e08}.metric-heading{font-size:11px;color:#718077}.metric-icon{color:#8e9a91}.metric-icon.gold{color:#a98437}.metric-value{font-size:26px;font-weight:600;color:#24382c;margin-top:12px;letter-spacing:-.035em}.metric-value small{color:#77857d}.metric-foot{font-size:10px;color:#87938b;margin-top:7px}.mini-bars{opacity:.35}.mini-bars i{background:#b39450}.metric-line span{border-color:#74a785}.profit-value{color:#218153}.profit-value.loss{color:#bd554d}.profit-chip{background:#edf7f0;border-color:#d9ede0;color:#287d50}.profit-chip.loss{background:#fbefed;border-color:#f0d9d5;color:#bd554d}.profit-glow{background:#3c9b6510}.weight-dots i{background:#b99a51;opacity:.4}
.holdings-section{border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 4px 15px #26382e07}.section-heading{padding:20px 21px}.section-title{font-size:15px;color:#273a2e}.count-badge{height:20px;min-width:21px;background:#f4efdf;color:#85692d;font-size:10px}.section-subtitle{font-size:10px;color:#87938b;margin-top:4px}.table-actions{gap:8px}.search-box{height:34px;width:178px;border-color:#e1e8e2;border-radius:7px;background:#fff;padding:0 10px}.search-box input{font-size:10px;color:#33453a}.search-box input::placeholder{color:#9aa59d}select{height:34px;border-color:#e1e8e2;border-radius:7px;background-color:#fff;color:#5e6f64;font-size:10px}.secondary-button{height:34px;background:#fff;color:#52655a;border-color:#dce5de;border-radius:7px;font-size:10px;padding:0 12px}.secondary-button:hover{border-color:#a9c3af;color:#246c48;background:#f8fbf8}
table{min-width:770px}thead{background:#f8faf8}th{height:39px;padding:0 16px;border-color:#e9eeea;color:#849188;font-size:9px;letter-spacing:.025em}td{height:64px;padding:0 16px;border-color:#edf1ed;color:#52635a;font-size:11px}tbody tr:hover{background:#f9fbf9}.item-icon{width:34px;height:34px;border-color:#eee5d0;background:#fbf8ef;color:#a5863c;border-radius:8px}.item-name{font-size:11px;color:#2f4236}.item-note{font-size:9px;color:#87938b}.type-tag{border-color:#eee4c8;background:#fbf7eb;color:#8d7130;font-size:9px;border-radius:5px}.type-tag.ornament{border-color:#e1e7f1;background:#f3f5fa;color:#687ba5}.cell-dim{color:#829087;font-size:10px}.cell-main{color:#374a3e}.cell-profit{font-size:11px}.cell-profit small{font-size:9px}.row-menu{color:#8a978e}.row-menu:hover{border-color:#e1e9e2;background:#f5f8f5}.action-menu{background:#fff;border-color:#e1e8e2;box-shadow:0 10px 25px #25382d18;border-radius:8px}.action-menu button{color:#44574b;font-size:10px}.action-menu button:hover{background:#f3f7f3}.action-menu button.delete{color:#b94c44}.empty-state{padding:38px 12px 33px}.empty-art{width:58px;height:58px;border-color:#e9dfc4;background:radial-gradient(circle,#fbf7eb,#f5f1e4);color:#a18035}.empty-state h3{font-size:14px;color:#33463a;margin-top:16px}.empty-state p{font-size:10px;color:#829087;margin-bottom:15px}.empty-state .primary-button{height:34px;font-size:10px}.table-footer{height:42px;border-color:#edf1ed;padding:0 17px;color:#839087;font-size:9px}.table-footer a,.page-footer a{color:#8b6d2c}.page-footer{padding:15px 3px;color:#839087;font-size:9px}
dialog{border-color:#e0e7e1;border-radius:12px;background:#fff;color:#2b3d32;box-shadow:0 25px 90px #17322330}dialog::backdrop{background:#14251bb3;backdrop-filter:blur(4px)}dialog form{padding:25px}.dialog-header h2{color:#26382d}.close-button{border-color:#e0e7e1;color:#6e7d73}dialog label{color:#63736a;font-size:11px}dialog input,dialog select{height:39px;border-color:#dce5de;background:#fbfcfb;color:#2e4236;font-size:12px}dialog input:focus,dialog select:focus{border-color:#7ca58a}.dialog-preview{border-color:#e6ece7;color:#738178}.dialog-preview b{color:#8b6e31}.toast{border-color:#d8e7dc;background:#fff;color:#315440;box-shadow:0 8px 28px #27392d20;font-size:11px}
.pin-card{color:#edf1ed}.pin-card input{font-family:'Sukhumvit Set','Sukhumvit',Prompt,'DM Sans','IBM Plex Sans Thai',sans-serif}
@media(min-width:1400px){.content{padding-top:43px}.metric-card{min-height:140px}}
@media(max-width:1000px){.content{padding-left:25px;padding-right:25px}.topbar{padding:0 25px}.market-prices{gap:17px;margin-right:12px}.market-price{min-width:120px}.market-price strong{font-size:22px}}
@media(max-width:700px){.topbar{padding:0 16px}.content{padding:23px 14px 16px}.welcome-row h1{font-size:24px}.market-banner{padding:18px;border-radius:10px}.market-prices{gap:12px;margin-right:0}.market-price strong{font-size:19px}.metrics-grid{gap:9px}.metric-card{min-height:112px;padding:13px}.metric-value{font-size:21px}.section-heading{padding:15px 13px}.table-actions{gap:6px}.search-box{height:33px}.secondary-button,select{height:33px}.page-footer{font-size:8px}}

/* Balanced type scale: clearer supporting text and calmer headline contrast. */
body{font-size:15px;line-height:1.55}
.nav-item{font-size:13px}.nav-label{font-size:11px}.brand-sub{font-size:10px}
.topbar,.breadcrumb,.live-status,.today{font-size:12px}
.content{font-size:14px}.welcome-row h1{font-size:28px;line-height:1.25;letter-spacing:-.02em}.welcome-row p{font-size:14px;line-height:1.5}.eyebrow{font-size:11px}
.primary-button,.secondary-button{font-size:13px}
.market-kicker{font-size:11px}.market-date{font-size:17px;line-height:1.4}.market-note{font-size:12px;line-height:1.45}.market-price span{font-size:12px}.market-price strong{font-size:24px}.market-price small{font-size:11px}
.metric-heading{font-size:13px}.metric-value{font-size:25px;line-height:1.25}.metric-value small{font-size:13px}.metric-foot{font-size:12px}.profit-chip{font-size:11px}
.section-title{font-size:17px;line-height:1.35}.count-badge{font-size:11px}.section-subtitle{font-size:12px;line-height:1.45}
.search-box input,select,.secondary-button{font-size:12px}.search-box input::placeholder{font-size:12px}
th{font-size:11px;letter-spacing:0}.cell-dim{font-size:12px}.cell-main{font-size:13px}.item-name{font-size:14px;line-height:1.4}.item-note{font-size:11px;line-height:1.4}.type-tag{font-size:11px}.cell-profit{font-size:13px}.cell-profit small{font-size:11px}.action-menu button{font-size:12px}.empty-state h3{font-size:16px}.empty-state p{font-size:12px}.empty-state .primary-button{font-size:12px}.table-footer,.page-footer{font-size:11px}
dialog label{font-size:13px}dialog input,dialog select{font-size:14px}.dialog-preview{font-size:13px}.toast{font-size:13px}
@media(max-width:700px){
  body{font-size:14px}.welcome-row h1{font-size:25px}.welcome-row p{font-size:13px}
  .market-date{font-size:16px}.market-note{font-size:11px}.market-price span{font-size:11px}.market-price strong{font-size:21px}.market-price small{font-size:10px}
  .metric-heading{font-size:12px}.metric-value{font-size:22px}.metric-value small{font-size:12px}.metric-foot{font-size:11px}
  .section-title{font-size:16px}.section-subtitle{font-size:11px}.search-box input,select,.secondary-button{font-size:11px}
  th{font-size:10px}.cell-dim{font-size:11px}.cell-main{font-size:12px}.item-name{font-size:13px}.item-note{font-size:10px}.type-tag{font-size:10px}.cell-profit{font-size:12px}.cell-profit small{font-size:10px}
  .table-footer,.page-footer{font-size:10px}.empty-state h3{font-size:15px}.empty-state p{font-size:11px}
}
