/* ForwardTested layout fixes (2026-11). Loaded after fx.css.
   RULE: this file never restyles buttons, cards, fonts, labels, numbers, icons or the nav. That look is the owner's
   chosen design in fx.css (glossy chrome pills, glass cards with violet glow, chrome numbers, icon chips).
   Only layout and readability fixes belong here. */

/* tool pages: the tool shows sooner (less empty space above it) */
.top{padding:118px 0 0!important}
.top h1{font-size:clamp(30px,4vw,46px)!important;line-height:1.08!important;margin:0 0 12px!important}
.top .sub{max-width:44em!important;margin:0 0 26px!important}

/* open dropdown lists: dark and readable (Windows draws them white otherwise) */
select{color-scheme:dark}
select option,select optgroup{background:#121218!important;color:#e8e8ee!important}

/* tables: header stays visible while scrolling long lists */
.scroll{overflow:auto}
th{position:sticky;top:0;z-index:1;background:#0d0d12}
td{font-variant-numeric:tabular-nums}

/* tools index: card grid instead of one long column (keeps the fx icon chips) */
.list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.list a.tl{padding:16px!important;border:1px solid var(--fx-edge,rgba(255,255,255,.1))!important;border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.008)),#07070a;transition:border-color .2s,transform .2s}
.list a.tl:hover{border-color:rgba(164,139,255,.45)!important;transform:translateY(-2px)}
.list a.tl>span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* chart page (TradingView-style app): its own compact toolbar, so fx's pill chips stay off it */
.app .top{padding:0 8px!important}
.app .cell{background:transparent!important;border:0!important;border-right:1px solid #1e1e26!important;border-bottom:1px solid #1e1e26!important;border-radius:0!important;box-shadow:none!important}
.app .cell::before{display:none!important}
.app .tabs{gap:2px!important}.app .tabs button{border:0!important;padding:0 10px!important;border-radius:6px!important}
.app .ib,.app .tb{border-radius:6px!important}

@media(max-width:760px){.top{padding-top:96px!important}}
