/* Shared type scale: Thai text and Latin figures keep distinct, consistent weights.
   Inter is OFL licensed (fonts/Inter-OFL.txt). Thai retains Noto Sans Thai. */
@font-face{font-family:'Investmin Thai';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/inter-variable.ttf') format('truetype');unicode-range:U+0000-024F,U+2000-206F,U+20A0-20CF}
.mobile-journal #page .mj-daily-note{display:flex;align-items:center;justify-content:flex-end;gap:4px;width:100%;min-height:28px;font-size:11px;line-height:1.5;color:var(--mj-muted);text-align:right}
.mobile-journal .mj-daily-note svg{width:12px;height:12px}
.mobile-journal .mj-sheet-content .mj-daily-item{display:block;width:100%;padding:14px 0;border-bottom:1px solid var(--mj-border)}
.mobile-journal .mj-daily-item>span{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:10px}
.mobile-journal .mj-daily-item strong{font-size:14px;font-weight:600}
.mobile-journal .mj-daily-item small{display:block;font-size:11px;color:var(--mj-muted);margin-top:4px}
.mobile-journal .mj-daily-item svg{width:14px;height:14px}
.mobile-journal body{font-weight:400;font-synthesis:none;-webkit-font-smoothing:antialiased}
.mobile-journal :is(button,input,select,textarea){font-family:'Investmin Thai',-apple-system,BlinkMacSystemFont,sans-serif}
.mobile-journal :is(.mj-page,.mj-sheet-content) :is(h1,h2){font-weight:600;letter-spacing:-.25px}
.mobile-journal :is(.mj-page,.mj-sheet-content) h3{font-weight:600}
.mobile-journal .mj-number{letter-spacing:-.15px;font-variant-numeric:tabular-nums}
.mobile-journal .mj-menu-copy strong,.mobile-journal .mj-record-top>strong,.mobile-journal .mj-record-top>b,.mobile-journal .mj-etf-copy strong{font-weight:600}
.mobile-journal #mobile-nav .mj-nav-item{font-size:11px}
.mobile-journal #mobile-nav .mj-nav-item[aria-current=page]{font-weight:600}
.mobile-journal .mj-total{font-weight:700;letter-spacing:-.7px}
.mobile-journal .mj-total small{font-weight:650}
.mobile-journal .mj-balance .mj-section-line>span{font-size:13px;font-weight:500}
.mobile-journal .mj-balance .mj-section-line small{font-size:11px;font-weight:400}
.mobile-journal #page p.mj-cost{font-size:13px;line-height:1.55}
.mobile-journal .mj-balance-result>span,.mobile-journal .mj-daily-result>span{font-size:12px;font-weight:500}
.mobile-journal .mj-balance-result>strong,.mobile-journal .mj-daily-result>strong{font-weight:600}
.mobile-journal .mj-toolbar .mj-button{font-size:12px;font-weight:500;border-radius:12px}
.mobile-journal .mj-columns{font-size:11px;font-weight:400}
.mobile-journal .mj-identity strong,.mobile-journal .mj-value strong,.mobile-journal .mj-performance strong{font-size:14px;font-weight:600;letter-spacing:0}
.mobile-journal .mj-identity small{font-size:12px;font-weight:400}
.mobile-journal .mj-value small.mj-baht,.mobile-journal .mj-performance small{font-size:11px;line-height:1.5;letter-spacing:-.15px;overflow:hidden;text-overflow:ellipsis}
.mobile-journal .mj-performance small{font-weight:500}
.mobile-journal .mj-value strong>small{font-size:9px;font-weight:500}
.mobile-journal #page .mj-detail-grid>div>span{font-size:12px;font-weight:500;line-height:1.55}
.mobile-journal #page .mj-detail-grid>div>strong{font-weight:400;font-size:15px}
.mobile-journal #page .mj-detail-grid small{font-weight:500;font-size:13px}
.mobile-journal #dialog .dialog-head h2{font-weight:600}
.mobile-journal .mj-allocation button strong{font-weight:600}
.mobile-journal .mj-portfolio-allocation .mj-allocation{display:flex;flex-wrap:nowrap;align-items:center;gap:12px;overflow-x:auto;scrollbar-width:none;max-width:100%;overscroll-behavior-x:contain}
.mobile-journal .mj-allocation::-webkit-scrollbar{display:none}
.mobile-journal .mj-allocation button{flex:0 0 auto;gap:4px;white-space:nowrap;min-height:40px;font-size:11px}
.mobile-journal .mj-allocation button>span{flex:0 0 auto;white-space:nowrap;gap:4px}
.mobile-journal .mj-allocation button strong{flex:0 0 auto;font-size:11px;white-space:nowrap}
.mobile-journal .mj-allocation .mj-category-icon{width:16px;height:16px;min-width:16px;max-width:16px;min-height:16px;max-height:16px;flex:0 0 16px;aspect-ratio:1;border-radius:50%;box-sizing:border-box}
.mobile-journal .mj-allocation .mj-category-icon>img:not(.mj-flag){width:16px;height:16px;max-width:16px;max-height:16px;object-fit:cover;border-radius:50%}
/* The supplied images are used intact; only the display is clipped to a circle. */
.mobile-journal #page .mj-identity .stock-logo.mj-image-logo{border:0!important;padding:0!important;background:transparent!important;box-shadow:none;overflow:hidden;border-radius:50%}
.mobile-journal :is(.mj-category-bitcoin,.mj-category-gold){padding:0;border:0;background:transparent;box-shadow:none;overflow:hidden;border-radius:50%}
.mobile-journal .mj-image-logo .mj-category-icon{flex:0 0 100%;width:100%;height:100%}
.mobile-journal #page .mj-identity .mj-image-logo img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:cover}
.mobile-journal :is(.mj-category-bitcoin,.mj-category-gold)>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:50%;padding:0}
@media(max-width:374px){
 .mobile-journal .mj-balance .mj-section-line>span{font-size:12px}
 .mobile-journal .mj-columns{font-size:10px}
 .mobile-journal .mj-identity strong,.mobile-journal .mj-value strong,.mobile-journal .mj-performance strong{font-size:12px}
 .mobile-journal .mj-value small.mj-baht,.mobile-journal .mj-performance small{font-size:9px}
 .mobile-journal .mj-identity small{font-size:11px}
 .mobile-journal .mj-toolbar .mj-button{font-size:10px}
 .mobile-journal #page .mj-detail-grid>div>span{font-size:10px}
 .mobile-journal #page .mj-detail-grid>div>strong{font-size:13px}
}
@media(min-width:768px){
 .mobile-journal .mj-balance .mj-section-line>span{font-size:14px}
 .mobile-journal .mj-balance-result>span,.mobile-journal .mj-daily-result>span{font-size:14px}
 .mobile-journal .mj-columns{font-size:12px}
 .mobile-journal .mj-identity strong,.mobile-journal .mj-value strong,.mobile-journal .mj-performance strong{font-size:17px}
 .mobile-journal .mj-value small.mj-baht,.mobile-journal .mj-performance small{font-size:12px}
}
