/* Cache-versioned mobile overrides for every page using renderSiteHeader(). */
.nav-toggle{display:none;border:0;background:transparent;color:#10233f;cursor:pointer;padding:8px;margin-left:auto;border-radius:8px;line-height:0}.nav-toggle:focus-visible{outline:3px solid #75a8ff;outline-offset:2px}.nav-toggle span{display:block;width:21px;height:2px;background:currentColor;margin:4px 0;border-radius:2px;transition:transform .18s,opacity .18s}.nav-toggle[aria-expanded="true"] span:first-child{transform:translateY(6px) rotate(45deg)}.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.nav-toggle[aria-expanded="true"] span:last-child{transform:translateY(-6px) rotate(-45deg)}
@media(max-width:620px){.site-header .topbar{position:relative}.site-header .nav-toggle{display:block}.site-header .nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:30;max-height:calc(100vh - 58px);overflow-y:auto;padding:10px 15px 16px;background:rgba(255,255,255,.99);border-bottom:1px solid #e4eaf3;box-shadow:0 12px 24px rgba(16,35,63,.12)}.site-header .nav.is-open{display:grid;grid-template-columns:1fr 1fr;gap:4px}.site-header .nav a{white-space:normal;padding:10px}.site-header .account{font-size:13px}.index-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.index-card{padding:12px;min-width:0}.index-name{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.index-value{font-size:18px}.index-card .move{font-size:11px;white-space:nowrap}.index-sparkline{height:48px}.index-sparkline:after{font-size:9px;bottom:-11px}}

/* Full-site mobile density and overflow system. Desktop styles are untouched. */
html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}img,video,canvas,svg{max-width:100%}iframe{max-width:100%;border:0}input,select,textarea,button{max-width:100%}
@media(max-width:760px){
  body{font-size:14px;line-height:1.5;-webkit-text-size-adjust:100%}
  .wrap,.container{width:100%;max-width:100%;padding-left:12px!important;padding-right:12px!important}
  .section{padding:20px 0!important}.panel{padding:14px!important;border-radius:11px!important}.section-head{margin-bottom:11px!important;align-items:flex-start!important}.section-head h2{font-size:18px!important;line-height:1.25}.section-head p{font-size:11px!important;line-height:1.45}.section-head>a{font-size:12px!important;flex:0 0 auto}
  .hero-inner{min-height:250px!important;padding:28px 14px 34px!important}.hero h1{font-size:27px!important;line-height:1.2!important;margin:11px 0!important}.hero p{font-size:13px!important;line-height:1.55!important;margin-bottom:18px!important}.eyebrow{font-size:10px!important}.button{padding:9px 11px!important;font-size:13px!important}.button.outline{margin-left:5px!important}.banner-dots{left:14px!important;bottom:14px!important}
  .index-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.index-card{min-height:118px!important;padding:11px!important;border-radius:10px!important}.index-name{font-size:10px!important}.index-value{font-size:17px!important;margin-top:3px!important}.index-card .move{font-size:10px!important}.index-sparkline{height:38px!important;padding-top:6px!important}.index-sparkline:after{display:none!important}
  .market-layout,.market-insight,.two-col,.about-grid,.contact-card,.source-grid{grid-template-columns:1fr!important;gap:12px!important}.industry-columns{gap:12px!important}.industry-list li{padding:8px 0!important}.industry-metric{width:105px!important;grid-template-columns:48px 51px!important}.breadth-visual{min-height:130px!important}.breadth-stats{gap:3px!important}.breadth-stats div{padding:5px 2px!important}.breadth-donut{width:92px!important;height:92px!important}.breadth-donut span{width:62px!important;height:62px!important;font-size:10px!important}
  .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.article{min-height:128px!important;padding:12px!important;border-radius:10px!important}.article h3{font-size:14px!important;margin:7px 0 5px!important}.article p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:11px!important;line-height:1.45!important}.video-carousel{border-radius:10px!important}.expert-card{flex-basis:235px!important;min-height:105px!important;padding:13px!important}.expert-card h3{font-size:14px!important;margin:7px 0 5px!important}.forum-strip{padding:17px!important;border-radius:11px!important}.forum-strip h2{font-size:18px!important;line-height:1.35;margin:8px 0}.forum-strip p{font-size:12px!important}
  .stock-row{padding:9px 0!important;grid-template-columns:28px minmax(0,1fr) auto!important;gap:6px!important}.stock-name{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.symbol,.stock-price{font-size:11px!important}.news-list{gap:7px!important}.news-item{padding:10px!important}.news-item h3{font-size:12px!important;margin-top:4px!important}
  .main-content{padding:20px 0!important}.stocks-header,.forum-header{padding:18px 15px!important;margin:14px 0 12px!important;border-radius:11px!important}.stocks-header h1,.forum-header h1{font-size:22px!important;line-height:1.3}.stocks-header p,.forum-header p{font-size:12px!important}.stocks-section,.create-post-section,.posts-section,.post-detail,.comments-section{padding:14px!important;margin:12px 0!important;border-radius:10px!important}.posts-header{margin-bottom:12px!important}.post-card-content{padding:12px!important}.post-card-image{height:145px!important}.post-title{font-size:14px!important}.post-preview{font-size:12px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.post-meta{font-size:10px!important}.form-group{margin-bottom:12px!important}.form-group input,.form-group textarea,.symbol-form input{font-size:16px!important;padding:10px!important}.btn,.symbol-form button{min-height:40px;padding:9px 13px!important;font-size:13px!important}
  .stocks-table-container,.table-wrap,.report-preview,.table-container{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.stocks-table{font-size:11px!important}.stocks-table th,.stocks-table td{padding:8px 6px!important}.market-strategy{padding:14px!important}.strategy-heading h2{font-size:19px!important}.strategy-card{padding:12px!important;gap:9px!important}.strategy-card h3{font-size:14px!important}.strategy-card p{font-size:11px!important}
  .stock-forum{padding-top:14px!important}.sf-breadcrumb{font-size:11px!important;margin-bottom:10px!important}.sf-head{padding:16px!important;display:block!important}.sf-head h1{font-size:21px!important}.sf-head p{font-size:12px!important}.sf-board-head{display:none!important}.sf-board-row{grid-template-columns:58px minmax(0,1fr) 72px!important;gap:6px!important;padding:10px!important}.sf-board-row>*:nth-child(4),.sf-board-row>*:nth-child(6){display:none!important}.sf-latest-title{grid-column:2/-1;font-size:11px!important}.sf-compose{padding:14px!important}.sf-fields{grid-template-columns:1fr!important}.sf-topic{padding:12px!important}.sf-reply{padding:10px!important}.rich-toolbar{gap:4px!important}.rich-toolbar button{min-width:34px!important;padding:6px!important}.rich-editor-area{min-height:160px!important;height:200px!important}
  .about-hero{padding:35px 0!important}.about-hero h1{font-size:27px!important}.about-hero p{font-size:13px!important}.source-card{padding:13px!important}.source-mark{width:42px!important;height:42px!important}.contact-card{padding:18px!important}.contact-card h2{font-size:22px!important}.clean-list li{padding:10px 0!important}
  .watchlist-page{padding-top:20px!important}.watchlist-panel{padding:12px!important}.watchlist-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}.watchlist-row{padding:11px 0!important;gap:6px!important}.watchlist-time{display:none!important}.watchlist-table-head{display:none!important}.watchlist-identity strong{font-size:13px!important}.watchlist-price,.watchlist-change{font-size:12px!important}
  .profile-page{padding-top:18px!important}.profile-card{padding:16px!important}.profile-top{gap:12px!important;margin-bottom:18px!important}.profile-avatar{width:66px!important;height:66px!important}.profile-top h1{font-size:21px!important}.profile-top p{font-size:11px!important}.profile-grid{gap:10px!important}
  .analysis-wrap{margin:18px auto 32px!important;padding:0 12px!important}.analysis-hero,.analysis-card{padding:16px!important;border-radius:11px!important}.analysis-hero h1{font-size:22px!important}.analysis-hero p{font-size:12px!important}.analysis-card{margin-top:12px!important}.model-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.model-grid div{padding:10px!important}.report-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.report-buttons button{width:auto!important;padding:9px!important;font-size:12px!important}.report-preview{max-height:430px!important}
  .detail-hero-inner{padding:24px 12px!important}.detail-title h1{font-size:24px!important}.quote-main{margin-top:14px!important}.quote-price{font-size:28px!important}.detail-actions{margin-top:18px!important}.detail-actions a{padding:8px 10px!important;font-size:12px!important}.detail-main{padding-top:16px!important;padding-bottom:26px!important}.chart-card,.metric-card{padding:13px!important}.facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.fact{padding:10px!important}.metric-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.metric-card strong{font-size:18px!important}.data-note{font-size:11px!important;padding:12px!important}
  body>div.container{width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:12px!important;border-radius:10px!important;overflow:visible!important}body>div.container>h1{font-size:22px!important;line-height:1.3!important;margin:0 0 14px!important;padding:18px 14px!important}.input-section{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:12px!important}.input-group{min-width:0!important}.input-group label{font-size:11px!important}.input-group input,.input-group select{width:100%!important;min-width:0!important;height:40px!important;font-size:16px!important}.input-group button{width:100%!important;min-height:40px!important;font-size:12px!important}.chart-container{width:100%!important;height:340px!important;padding:10px!important}.info-section,.note,.status-section,.kronos-section{padding:12px!important;margin-top:12px!important}.kronos-metrics{grid-template-columns:1fr 1fr!important;gap:8px!important}.metric-card{min-width:0!important}.metric-value{font-size:18px!important}
  body:has(>div.container) {height:auto!important;min-height:100vh!important;overflow-x:hidden!important;overflow-y:auto!important;padding:8px!important}
}
@media(max-width:390px){.button{font-size:12px!important}.article-grid{grid-template-columns:1fr!important}.index-value{font-size:15px!important}.index-card .move{font-size:9px!important}.input-section{grid-template-columns:1fr!important}.kronos-metrics{grid-template-columns:1fr!important}.facts{grid-template-columns:1fr 1fr!important}}

@media(max-width:760px){
  body:has(.stats) .header{padding:17px 14px!important}body:has(.stats) .header h1{font-size:20px!important;margin-bottom:5px!important}body:has(.stats) .stats{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:8px!important}body:has(.stats) .stat-item{min-width:0!important;padding:7px 3px!important;text-align:center!important}body:has(.stats) .stat-label{font-size:9px!important;margin-bottom:2px!important}body:has(.stats) .stat-value{font-size:15px!important}
  body:has(.stats) .table-container{overflow:visible!important}body:has(.stats) .table-container table{display:block!important;min-width:0!important;width:100%!important}body:has(.stats) .table-container thead{display:none!important}body:has(.stats) .table-container tbody{display:block!important}body:has(.stats) .table-container tr{display:grid!important;grid-template-columns:34px 48px minmax(0,1fr) 67px 58px!important;align-items:center!important;gap:4px!important;min-height:48px!important;padding:5px 7px!important;border-bottom:1px solid #edf1f6!important}body:has(.stats) .table-container td{display:none!important;width:auto!important;min-width:0!important;max-width:none!important;padding:2px!important;border:0!important;font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}body:has(.stats) .table-container td:nth-child(1),body:has(.stats) .table-container td:nth-child(2),body:has(.stats) .table-container td:nth-child(3),body:has(.stats) .table-container td:nth-child(5),body:has(.stats) .table-container td:nth-child(8){display:block!important}body:has(.stats) .table-container td:nth-child(5),body:has(.stats) .table-container td:nth-child(8){text-align:right!important}
  .app{padding:10px 8px 22px!important}.app .hero{padding:17px 15px!important;margin-bottom:12px!important;border-radius:12px!important}.app .hero h1{font-size:22px!important}.workspace{gap:10px!important}.controls{padding:14px!important}.panel-title{margin-bottom:10px!important}.field{margin:8px 0!important}.section-label{margin:13px 0 7px!important;padding-top:11px!important}.actions{margin-top:11px!important}.result-head{padding:14px!important}.result-body{padding:12px!important}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.metric{padding:9px!important}.metric-label{font-size:9px!important}.metric-value{font-size:15px!important}.empty{padding:38px 14px!important}.chart-wrap{height:210px!important}.plan-table{font-size:10px!important}
}
