/* Compact, table-first research interface. */
:root{color-scheme:light;--bg:#fff;--paper:#fff;--ink:#222;--muted:#666;--line:#d8d8d8;--green:#187549;--red:#ae3434;--blue:#234d91;--navy:#fff}
body{background:#fff;color:#222;font-family:Arial,"Meiryo",sans-serif;font-size:13px}a{color:#234d91}a:hover{text-decoration:underline}button,input,select{color:#222}input::placeholder{color:#777}
.sidebar{position:static;width:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:18px;padding:16px 24px 10px;background:white;color:#222;border-bottom:1px solid #bbb}.brand{font-size:23px;color:#222;letter-spacing:0}.brand small{color:#666;font-size:10px;letter-spacing:0;margin-top:3px}.brand-icon,.nav-label,.side-note,.sidebar-bottom,nav a>span{display:none}nav{flex-direction:row;flex-wrap:wrap;gap:15px}nav a{padding:4px 0;border-radius:0;color:#234d91;font-size:12px}nav a.active{background:none;border:0;color:#222;font-weight:bold;text-decoration:underline}nav a:hover{background:none;color:#234d91}nav small{background:none;color:#666;padding:0}.workspace{margin-left:0}.topbar{height:auto;padding:10px 24px;background:#fff}.breadcrumb b{color:#333}main{max-width:1400px;padding:18px 24px 0}.page-heading{margin:17px 0}h1{font-size:23px}.eyebrow{display:none}.heading-meta{font-size:11px}.source-banner,.source-banner.real{background:#fafafa;border:1px solid #ddd;color:#555;border-radius:0}.source-banner select,.source-banner b{background:#fff;border-color:#bbb;color:#333}.source-banner{margin-bottom:17px}select,.icon-button,.light-button{background:#fff;color:#333;border-color:#ccc;border-radius:2px}.filter-strip{margin-bottom:16px}.segments{background:none;padding:0;gap:8px;border-radius:0}.segments button{color:#234d91;padding:5px 9px;border:1px solid #ddd;border-radius:2px}.segments button.selected{background:#eee;color:#222;box-shadow:none}.scope-note,.scope-note b{color:#666}
.kpis{display:flex;flex-wrap:wrap;gap:0;margin-bottom:20px;border-top:1px solid #ccc;border-bottom:1px solid #ccc}.kpi{background:none;border:0;border-right:1px solid #ddd;border-radius:0;min-height:0;padding:11px 18px;flex:1;animation:none}.kpi-label{color:#555}.kpi-label span{display:none}.kpi strong{display:inline-block;font-size:20px;margin:7px 0}.kpi strong small,.kpi-foot{color:#666}.panel,.profile-card,.style-glossary,.history-panel,.style-hints{background:#fff;border-radius:0;box-shadow:none;animation:none}.overview-grid{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.section-header h2{font-size:14px}.toolbar{padding:10px}.searchbox{background:#fff;border-color:#ccc;border-radius:2px}.data-table th{background:#eee;color:#555;padding:9px 12px}.data-table td{padding:10px 12px;border-bottom:1px solid #e5e5e5}.data-table tbody tr:hover{background:#f5f5f5}.data-table tbody tr:nth-child(even){background:#fafafa}.data-table th button{color:#555}.stock-icon,.avatar{display:none}.stock-text b{color:#234d91;font-weight:normal}.stock-text small{color:#666}.stock-cell{gap:0}.name-link{color:#234d91}.stock-cell:hover b{text-decoration:underline}.table-footer{background:#fff;color:#666}.pager button{background:#fff;color:#234d91;border-color:#ccc}.tabbar button{color:#555}.tabbar button.selected{color:#234d91;border-color:#234d91}.badge,.badge.NEW,.badge.ADD,.badge.REDUCE,.badge.EXIT,.badge.HOLD,.badge.UNKNOWN{background:none;border:0;border-radius:0;padding:0;font-size:10px}.badge.NEW{color:#234d91;font-weight:bold}.badge.ADD{color:var(--green)}.badge.REDUCE,.badge.EXIT{color:var(--red)}.badge.HOLD,.badge.UNKNOWN{color:#666}.profile-tags span,.type-tag{background:none;color:#555;border:1px solid #ddd;border-radius:2px}.profile-evidence,.profile-evidence.verified{background:none;color:#666}.style-cell{color:#555}.profile-card p,.profile-card dt,.profile-card dd,.glossary-grid b,.glossary-grid p,.profile-confirmation{color:#555}.profile-card{padding:15px}.profile-grid{gap:12px}.small-note{color:#666}.notice,.detail-callout,.insight{background:#f6f6f6;border-color:#ddd;color:#555;border-radius:0}.new-stock-grid{display:block}.new-stock-card,.new-stock-card:hover{background:#fff;border:0;border-bottom:1px solid #ddd;border-radius:0;width:100%;padding:9px 0;display:grid;grid-template-columns:160px 1fr 1fr;gap:12px;align-items:center}.new-stock-title b{font-size:13px;color:#234d91}.new-stock-card small,.new-investors{color:#666}.new-holder-strip{background:none;border:0;border-bottom:1px solid #ccc;border-radius:0;padding:10px 0}.new-holder-grid a{background:none;border:0;border-radius:0;padding:8px;color:#234d91}.new-holder-grid a>span:last-child{color:#666}.quick{display:none}.chart-readout{background:#f3f3f3;color:#555}.chart-chooser summary,.style-hints summary{color:#234d91}.series-options{background:white}.history-panel{background:white}.holdings-chart circle{fill:#fff}.holdings-chart text{fill:#666}.holdings-chart line{stroke:#ddd}.filing-type{background:none;color:#666}dialog{background:#fff;color:#222;border:1px solid #aaa;border-radius:0}footer{color:#666}.light-button:hover{background:#eee}.flow-bar .hold{background:#ddd}.weight{background:#eee}.weight i{background:#8ab9a1}
@media(max-width:800px){.sidebar{padding:12px;gap:12px}nav{gap:12px}.workspace{margin-left:0}.topbar{padding:10px 12px;display:flex}.top-controls{display:flex}main{padding:15px 12px}.overview-grid{grid-template-columns:1fr}.new-stock-card{grid-template-columns:1fr;gap:4px}.kpi{flex:1 1 45%;padding:8px}.filter-strip{flex-wrap:wrap}.segments{width:auto}.profile-grid{grid-template-columns:1fr}}

.overview-grid{grid-template-columns:1fr}.latest-updates{margin:0 0 24px}.latest-updates .section-header{margin-bottom:8px}.latest-updates h2{font-size:16px}.latest-updates ul{padding:0 0 0 18px;margin:12px 0;list-style-type:square}.latest-updates li{padding:4px 0;line-height:1.5}.latest-updates li a{display:inline-block;min-width:290px;color:#234d91}.latest-updates time{display:inline-block;min-width:150px;color:#222;font-size:11px}.latest-updates li>span{color:#666;font-size:11px;margin-right:12px}.latest-updates .filing-amendment{color:#555}@media(max-width:650px){.latest-updates li a{min-width:0;display:block}.latest-updates time{min-width:140px}}

.home-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}.home-rankings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.home-ranking{background:#f6f8f9;padding:12px;border:1px solid #e5e8eb}.home-ranking h2{font-size:13px}.home-ranking .section-header{align-items:start;gap:8px}.home-ranking .section-header a{font-size:10px;white-space:nowrap}.ranking-table{width:100%;border-collapse:collapse;font-size:11px}.ranking-table th{font-weight:normal;text-align:left;color:#666;border-bottom:1px solid #ddd;padding:5px 0}.ranking-table td{padding:5px 0;vertical-align:top}.ranking-table th:last-child,.ranking-table td:last-child{text-align:right;white-space:nowrap}.ranking-stock{border:0;padding:0;background:none;color:#234d91;text-align:left;cursor:pointer;font:inherit;display:inline;max-width:calc(100% - 22px)}.ranking-stock b{font-weight:normal}.ranking-stock span{display:block;color:#666;font-size:10px;line-height:1.4}.ranking-stock:hover b{text-decoration:underline}.rank-number{display:inline-block;width:20px;color:#888;vertical-align:top}.home-news .latest-updates li a{min-width:0;width:100%;display:block}.home-news .latest-updates time{min-width:130px}.home-summary{border-top:1px solid #ddd;padding-top:12px;color:#666;line-height:1.9;font-size:11px}@media(max-width:1000px){.home-rankings{grid-template-columns:1fr}}@media(max-width:700px){.home-columns{grid-template-columns:1fr}.home-rankings{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.home-rankings{grid-template-columns:1fr}}

.home-view .top-controls{display:none}.low-ranking{grid-column:1 / -1}.low-ranking td:nth-child(2){text-align:right;white-space:nowrap;padding-right:16px}.price-date{display:block;color:#777;font-size:10px}

.home-news .latest-updates ul{padding-left:0;list-style:none;overflow-x:auto}.home-news .latest-updates li{display:flex;align-items:baseline;gap:8px;white-space:nowrap;padding:4px 0;font-size:11px}.home-news .latest-updates li a{display:inline-block;width:auto;flex:1;min-width:180px}.home-news .latest-updates time{display:inline;min-width:0;font-size:10px}.home-news .latest-updates li>span{font-size:10px;margin:0}.home-ranking .section-header h2{line-height:1.5}.home-ranking .section-header{margin-bottom:10px}

/* Larger text with compact rows. */
body{font-size:15px;line-height:1.35}nav a{font-size:14px}.brand strong{font-size:25px}.brand small,.breadcrumb,.period-label,.source-banner,.scope-note{font-size:12px}.page-heading h1{font-size:24px}.page-heading p{font-size:14px}.section-header h2,.latest-updates h2{font-size:17px}.small-note{font-size:12px;line-height:1.35}.data-table{font-size:14px}.data-table th{font-size:12px;padding:7px 12px}.data-table td{padding:6px 12px;line-height:1.25}.stock-text small,.style-cell small{font-size:12px;line-height:1.2}.badge{font-size:12px}.table-footer{font-size:12px;padding:9px 12px}.home-news .latest-updates li{font-size:13px;line-height:1.2;padding:3px 0;gap:7px}.home-news .latest-updates time,.home-news .latest-updates li>span{font-size:11px}.home-news .latest-updates li a{min-width:165px}.home-ranking h2,.home-ranking .section-header h2{font-size:15px;line-height:1.25}.home-ranking .section-header a{font-size:11px}.ranking-table{font-size:14px;line-height:1.2}.ranking-table th{font-size:12px;padding:5px 0}.ranking-table td{padding:3px 0}.rank-number{font-size:12px}.price-date{font-size:11px;line-height:1.2}.home-summary{font-size:12px;line-height:1.4}.profile-card p,.profile-card dt,.profile-card dd{font-size:14px;line-height:1.35}.profile-tags span,.profile-evidence{font-size:12px}.notice{font-size:12px;line-height:1.35}.guide-card p{font-size:14px;line-height:1.4}.home-news .latest-updates ul{margin-top:9px}.home-ranking .section-header{margin-bottom:7px}

.breadcrumb{display:none}.home-view .topbar{display:none}.topbar{justify-content:flex-end}.source-banner,.source-banner.real{background:none;border:0;border-radius:0;padding:0;margin:0 0 12px;min-height:0;font-size:11px;line-height:1.3;color:#777}.source-banner label{display:none}.source-banner b{background:none;border:0;padding:0;color:#666;font-size:11px}.activity-legend{display:flex;gap:16px;align-items:center;margin-bottom:12px;font-size:12px;flex-wrap:wrap}.activity-legend small{color:#777}.increase{color:#234dbe}.decrease{color:#c83232}.activity-symbols{display:flex;gap:16px;align-items:center;flex-wrap:nowrap}.activity-symbol{font:inherit;border:0;background:none;padding:0;cursor:pointer;white-space:nowrap}.activity-symbol:hover{text-decoration:underline}.activity-panel .data-table td{padding-top:6px;padding-bottom:6px}.activity-panel .stock-text small{display:none}.activity-panel .data-table th:first-child{min-width:220px}.activity-panel .data-table td:nth-child(2){white-space:nowrap}

.home-news .latest-updates li a{font-size:15px;line-height:1.15}.home-news .latest-updates li{padding:2px 0}.home-news .latest-updates .section-header>span{font-size:11px}.home-news .latest-updates time,.home-news .latest-updates li>span{font-size:10px}


.info-view .topbar{display:none}.about-page{max-width:900px;font-size:15px;line-height:1.6}.about-page section{margin:0 0 26px}.about-page h2{font-size:18px;margin:0 0 10px}.about-page p{margin:8px 0}.about-page ul{padding-left:22px}.about-page li{margin:8px 0}.intro-13f{margin-bottom:26px}

.info-view .heading-meta{display:none}

.sidebar{gap:24px}.sidebar nav{gap:24px}.header-search{margin-left:auto;display:flex;align-items:center;gap:5px}.header-search input{width:185px;min-width:0;font-size:12px;padding:5px 7px;border:1px solid #bbb;border-radius:2px;background:#fff;color:#222}.header-search button{font-size:12px;padding:5px 8px;border:1px solid #bbb;border-radius:2px;background:#fff;color:#234d91}@media(max-width:800px){.sidebar nav{gap:16px}.header-search{margin-left:0}}

#mainTable a.stock-cell .stock-text b{font-size:16px;line-height:1.25;font-weight:500}

.page-heading{flex-direction:column;align-items:flex-start;gap:8px}.heading-meta{text-align:left;align-self:flex-start}.company-profile .profile-top{justify-content:flex-end}.detail-callout h3{font-size:13px;margin:0 0 8px}

.company-details{margin:20px 0;border-top:1px solid #ddd;padding-top:12px}.company-details>summary{cursor:pointer;font-size:14px;color:#234d91}.company-details[open]>summary{margin-bottom:16px}.company-details .company-profile h2{font-size:16px}

.topbar{justify-content:space-between;gap:16px}.breadcrumb{display:flex;align-items:center;gap:9px;font-size:12px;flex-wrap:wrap}.breadcrumb a{font-size:12px;padding:0}.breadcrumb [aria-current]{color:#555}

.topbar{padding-top:4px;padding-bottom:4px;min-height:0}.topbar select{padding-top:3px;padding-bottom:3px;height:28px}.topbar .icon-button{height:28px;width:28px}.page-heading #title{font-size:30px;line-height:1.15}.page-heading #subtitle{font-size:11px;line-height:1.3;margin-top:6px}

.security-page .dialog-body{padding:0}.price-chart{margin-bottom:22px}.chart-legend{gap:16px}.chart-legend span{font-size:12px}.history-panel .holdings-chart path{opacity:1}

.price-chart .tradingview-widget-container{height:420px!important}.price-chart .tradingview-widget-container__widget{height:388px!important}.price-chart iframe{height:388px!important;width:100%!important}.chart-legend i{border-radius:0}

.stock-chart-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start;margin-bottom:20px}.stock-chart-columns .history-panel,.stock-chart-columns .price-chart{margin:0;min-width:0}.stock-chart-columns .chart-scroll{overflow:auto}.stock-chart-columns .holdings-chart{min-width:520px}.stock-fundamentals{margin-bottom:20px}.stock-fundamentals summary{font-size:14px;font-weight:600;cursor:pointer;margin-bottom:10px}.stock-fundamentals iframe{height:360px!important;width:100%!important}@media(max-width:800px){.stock-chart-columns{grid-template-columns:1fr}}

.stock-fundamentals .tradingview-widget-container{min-height:392px}.stock-fundamentals .tradingview-widget-copyright{min-height:24px}.stock-chart-columns .price-chart h3{margin-top:16px}

/* Compact security overview: four metrics only. */
.stock-metrics{margin:0 0 18px}
.stock-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;border-top:1px solid #ccc;border-bottom:1px solid #ccc}
.stock-metrics-grid>div{padding:10px 16px;border-right:1px solid #ddd}
.stock-metrics-grid>div:last-child{border-right:0}
.stock-metrics-grid dt{font-size:12px;color:#555}
.stock-metrics-grid dd{margin:6px 0 0;font-size:16px;color:#777}
.stock-metrics>.small-note{margin:5px 0 0}
@media(max-width:480px){.stock-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-metrics-grid>div:nth-child(2){border-right:0}}

/* Securities list opens directly with search and results. */
.securities-view .page-heading,.securities-view #sourceBanner{display:none}
.securities-view .page-heading,.securities-view #sourceBanner{display:none!important}

/* Readable single-column guide. */
.info-view .guide-grid{grid-template-columns:minmax(0,1fr)}
.info-view .guide-card.wide{grid-column:auto}
.info-view .guide-card p,.info-view .guide-card li,.info-view .guide-card ol{color:#222}
.info-view .guide-card code{color:#222;background:#f1f3f5;padding:2px 4px;border-radius:2px}

.security-page .compact-security-kpis .kpi{padding:8px 14px;min-height:0}
.security-page .compact-security-kpis .kpi strong{font-size:20px;margin:3px 0 0}
.security-page .dialog-body>.toolbar{justify-content:flex-end;padding:6px 0;min-height:0}

.cusip-label{display:block;font-size:10px;color:#555}.ranking-stock{max-width:100%;text-align:left;white-space:normal}#coverageStatus{font-size:11px;color:#444;margin:8px 0 12px;line-height:1.6}
/* Mobile navigation and charts remain fully visible. */
.stock-chart-columns .holdings-chart{min-width:0;width:100%}
@media(max-width:800px){
 .sidebar{display:flex;flex-wrap:wrap;gap:10px;padding:12px;max-width:100%;box-sizing:border-box}
 .sidebar .brand{width:100%}.sidebar .brand small{display:block}
 .sidebar nav,.sidebar nav:last-of-type{display:flex!important;flex-direction:row;flex-wrap:wrap;overflow:visible;gap:4px 16px;margin:0;width:100%;min-width:0}
 .sidebar nav a{font-size:13px;padding:7px 0;white-space:normal}
 .header-search{width:100%;margin:0}.header-search input{flex:1;width:auto}.header-search button{padding:7px 10px}
 .chart-toolbar{flex-wrap:wrap;gap:8px}.chart-toolbar select{max-width:100%}
 .series-options{grid-template-columns:1fr 1fr}
 .breadcrumb{min-width:0;flex-wrap:wrap}.topbar{flex-wrap:wrap;gap:8px}
}
/* Ranking cards must not expand beyond their grid track. */
.home-columns>* ,.home-rankings,.home-ranking{min-width:0}
.ranking-table{table-layout:fixed}
.ranking-table th:last-child,.ranking-table td:last-child{width:50px}
.ranking-stock{display:inline-block;max-width:calc(100% - 24px);vertical-align:top;overflow-wrap:anywhere}
@media(max-width:700px){.home-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:450px){.home-rankings{grid-template-columns:minmax(0,1fr)}}
