/* v10 mobile pass: page spacing, the top bar, ads, and chrome around the table component.
   Table scrolling itself is mobile-table.css. Load this after that file. */

@media (max-width:767px){
  :root{
    --m-gap-xs:4px; --m-gap-s:8px; --m-gap-m:12px; --m-gap-l:16px; --m-gap-xl:24px; --m-gap-2xl:32px;
  }
  .topbar .in{gap:4px}
  .brand{flex:0 1 auto;min-width:0;gap:8px}
  .brand b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  h1{font-size:24px;line-height:28px}
  .stk-page .tk-id h1{font-size:22px;line-height:26px}
  .eyebrow{font-size:12px}
  nav.crumbs{row-gap:0}
  nav.crumbs a{display:inline-flex;align-items:center;min-height:44px;margin:-12px 0;padding:0 2px}
  .filterbar{padding:var(--s3) var(--s4)}
  .fb-presets{margin-right:calc(-1 * var(--s4));padding-right:var(--s4)}
  .fb-presets .chip{min-height:44px;padding:0 14px}
  .table-tools{flex-wrap:wrap;row-gap:8px;padding-left:0;padding-right:0;border-bottom:0}
  .table-tools .btn{min-height:44px}
  .seg a{min-height:44px}
  .footer .cols{grid-template-columns:1fr 1fr;gap:24px 16px}
  .footer a{padding:12px 0;min-height:44px}
  .footer form,.footer .nl-form{max-width:none}
  .month .wd,.mday .cnt{font-size:12px}
  .week{scroll-snap-type:x mandatory}
  .week .day{scroll-snap-align:start}
  nav.sec-chips{display:flex;flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding-right:16px;gap:8px}
  nav.sec-chips .chip{min-height:44px;flex:none}
  .faq-toc a{display:flex;align-items:center;min-height:44px}
  .xb-cat{min-height:32px;height:auto}
  .cluster .card,.cluster .table-wrap{border:0;box-shadow:none;padding:0}
  .stk-page{background:transparent}
  .stk-page .cluster{border:0;box-shadow:none;border-radius:0;background:transparent;margin-bottom:var(--m-gap-xl);border-bottom:1px solid var(--border)}
  .cluster .table-wrap .tscroll-shell{margin:0}
  .stk-page .table-wrap{overflow:visible}
  .stk-page .tk-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .stk-page .tk-acts > :first-child,.stk-page .tk-acts > :last-child{grid-column:1 / -1}
  .stk-page .tk-acts .btn,.stk-page .tk-acts summary.btn{min-height:44px}
  .cb svg text{font-size:12px}
  table.data .tk-logo{display:none}
  .facts-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .pop-fold{border:1px solid var(--border);border-radius:var(--r);background:var(--surface);margin:0 0 var(--m-gap-l)}
  .pop-fold > summary{min-height:44px;padding:0 var(--s4);display:flex;align-items:center;justify-content:space-between;list-style:none}
  .pop-fold > summary::-webkit-details-marker{display:none}
  .pop-fold > summary::after{content:"";width:8px;height:8px;border-right:1.5px solid var(--ink-3);border-bottom:1.5px solid var(--ink-3);transform:rotate(45deg);margin-top:-4px}
  .pop-fold[open] > summary::after{transform:rotate(225deg);margin-top:4px}
  .pop-fold .pop-snap{padding:0 var(--s4) var(--s3);scroll-padding-left:var(--s4)}
  .pop-fold .pop-more{display:inline-flex;min-height:44px;align-items:center;padding:0 var(--s4)}
  .ad.ad-m100:not(.ad-unfilled){width:320px;height:100px;min-height:100px;max-height:100px;overflow:hidden;margin:0 auto}
  .ad.ad-300x250:not(.ad-unfilled){width:300px;height:250px;min-height:250px;max-height:250px;overflow:hidden;margin:0 auto}
  .ad-wrap.m-only{margin:var(--m-gap-l) calc(-1 * var(--s4));padding:0;display:flex;justify-content:center}
  .check input,.check.nl-consent input{width:24px;height:24px}
  .stk-page .meta a{display:inline-flex;align-items:center;min-height:44px}
  .day .tks span{font-size:12px;line-height:16px}
  nav.crumbs a{display:inline-flex;align-items:center;min-height:44px}
  body.filters-open #filters .m-bar{display:none}
  body.filters-open #filters .fb-actions{position:sticky;bottom:0;z-index:2;display:flex;gap:12px;margin:0 calc(-1 * var(--s4));padding:12px var(--s4) calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border)}
  body.filters-open #filters .fb-actions .btn{flex:1;min-height:44px}
}
@media (max-width:374px){
  .brand img{width:32px;height:32px}
  .brand b{font-size:var(--fs-14)}
  .facts-3{grid-template-columns:1fr}
}
@media (max-width:1023px){
  .stk-page .cluster{border:0;box-shadow:none;border-radius:0;background:transparent}
  .cluster .table-wrap .tscroll-shell{margin:0}
  .eyebrow{font-size:12px;line-height:1.2}
  .search kbd{font-size:12px;line-height:20px}
  nav.crumbs a,.xb-crumbs a{display:inline-flex;align-items:center;min-height:44px}
  .r52-nub{width:24px;height:24px;left:-12px;top:-12px}
  .mday .tag,.mday .cnt,.month .wd{font-size:12px}
  .mday .mtk{min-height:24px}
  .mday .mtk .tk-logo{font-size:12px;width:24px;height:24px}
  .cb svg text,.stk-chart text{font-size:12px}
  .stk-page .meta a{display:inline-flex;align-items:center;min-height:44px}
  .day .tks span{font-size:12px;line-height:16px}
  a.day{display:block;min-height:96px}
  .pager a,.page-head a.btn.sm,a.btn.sm.anon-only{display:inline-flex;align-items:center;min-height:44px}
  .tscroll.tscroll--short table.data.keep{width:100%!important;min-width:0!important;table-layout:fixed}
  .tscroll.tscroll--short table.data.keep th,.tscroll.tscroll--short table.data.keep td{min-width:0!important;white-space:normal!important}
  .tscroll table.pop-t th.h-co,.tscroll table.pop-t td.c-co{
    display:table-cell!important;font-size:var(--fs-14)!important;padding:0 12px!important;
  }
  .xb-stocks a.tk,.xb-content table a.tk,.xb-stocks th a{display:inline-flex;align-items:center;min-height:44px}
  .xb-cat{min-height:44px;height:auto}
}
@media (max-width:1023px),(pointer:coarse){
  /* WordPress 7.1 global-styles prints body{padding-bottom:0} after this file.
     html body wins on every template that loads mobile.css, without !important. */
  html body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
}
@media (max-width:767px){
  .nl-banner{position:static}
  .nl-banner-in{padding:8px var(--s4);min-height:56px}
  .nl-banner-t{flex:1 1 auto;min-width:0;font-size:var(--fs-14)}
}
