/* Investools Pro — readability & density overrides */
:root{
  --investools-base:17px;
}
html{font-size:var(--investools-base);}
body{font-family:"DM Sans",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;}

/* Base readability bump for hardcoded tiny utilities */
.text-\[7px\], .text-\[8px\], .text-\[9px\], .text-\[10px\]{font-size:0.95rem !important;}
.text-\[11px\], .text-\[12px\], .text-\[15px\], .text-\[27px\], .text-\[31px\], .text-\[31px\] *{font-size:inherit !important; line-height:inherit !important;}

/* Header & nav density */
header, .sticky, [class*="h-\\[62px\\"]{height:auto !important; min-height:72px !important;}
header *{padding-top:0.45rem; padding-bottom:0.45rem;}
nav button, [data-testid^="button-nav-"]{font-size:1.05rem !important; padding:0.6rem 0.9rem !important;}
.search input, [data-testid="input-global-search"], [data-testid="input-market-search"]{font-size:1.05rem !important; height:3rem !important;}

/* Ticker */
[data-testid="ticker-"], .ticker, [class*="overflow-x-auto"] > div > div{min-width:220px !important; padding:0.9rem 1rem !important;}
[data-testid="ticker-"] [class*="text-\\[9px\\"], [data-testid="ticker-"] [class*="text-\\[11px\\"]{font-size:1.05rem !important;}
[data-testid="ticker-"] svg{height:2rem !important; width:5rem !important;}

/* Hero */
[data-testid="card-sp-chart"], .rounded-xl, [class*="shadow-["]{border-radius:1rem !important;}
h1, [data-testid="card-sp-chart"] h1, .text-\[31px\], .text-\[27px\]{line-height:1.15 !important; letter-spacing:-0.02em !important;}
[data-testid="card-sp-chart"]{padding:1.25rem !important;}
[data-testid="card-sp-chart"] svg{height:220px !important;}

/* Category tabs */
[data-testid^="button-category-"]{font-size:1rem !important; padding:0.55rem 0.9rem !important;}

/* Table */
[data-testid="card-major-indices"] table{font-size:1.05rem !important;}
[data-testid="card-major-indices"] th, [data-testid="card-major-indices"] td{padding:0.7rem 0.9rem !important;}
[data-testid="card-major-indices"] [data-testid^="row-index-"]{min-height:56px !important;}

/* News */
[data-testid="card-news"] button, [data-testid="card-news"] div{font-size:1.05rem !important;}

/* Calendar */
[data-testid="card-calendar"] button, [data-testid="card-calendar"] div, [data-testid="card-calendar"] span{font-size:1.05rem !important;}

/* Feature cards */
[data-testid^="button-feature-"]{font-size:1.05rem !important; padding:1rem !important;}

/* Footer */
footer button, footer span{font-size:1rem !important;}

/* Wider layout so numbers don’t crowd */
@media (min-width:1024px){
  .max-w-\[1440px\]{max-width:1600px !important;}
  [data-testid="card-sp-chart"] svg{height:260px !important;}
}
