@import url("/mobile_pass/loading_status.css?v=20261119-unified-loading-v1");
/* The import also supplies the shared component to already-open app shells. */
/* The shell can paint the Rankings canvas before its first iframe exists.
   Light uses the native stripe; Dark retains the current softened texture. */
:root {
  --tr-rankings-canvas-base:#0f182d;
  --tr-rankings-canvas-image:linear-gradient(rgba(9.375,15,29.719,.4),rgba(9.375,15,29.719,.4)),linear-gradient(-45deg,rgba(0,0,0,.75) 25%,transparent 25%,transparent 50%,rgba(0,0,17,.75) 50%,rgba(0,0,0,.75) 75%,transparent 75%);
  --tr-rankings-canvas-glow:linear-gradient(to bottom,rgba(43,104,99,.5) 0%,rgba(0,38,91,.5) 50%,rgba(0,38,91,.35) 70%,rgba(0,38,91,.15) 85%,rgba(0,38,91,0) 100%);
}
html[data-reading-theme="light"] {
  --tr-rankings-canvas-image:linear-gradient(-45deg,rgba(0,0,0,.75) 25%,transparent 25%,transparent 50%,rgba(0,0,17,.75) 50%,rgba(0,0,0,.75) 75%,transparent 75%);
}

/* Shared research type roles; all selectors are local to Rankings filter UI. */
.tr-rank-filter-toolbar,
html body dialog.tr-rank-filter-dialog {
  --tr-rf-text:#dbe7ed; --tr-rf-muted:#9fb3bf; --tr-rf-line:#344d5b;
  --tr-rf-panel:#10212a; --tr-rf-control:#1c3542; --tr-rf-hover:#294b5b;
  --tr-rf-accent:#a4d5e5; --tr-rf-field:#0b1a22;
  color:var(--tr-rf-text);
  font-family:var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif);
  font-size:var(--tr-type-body-size,14px); font-weight:var(--tr-type-body-weight,400);
  line-height:1.5; letter-spacing:normal; text-align:left; text-transform:none;
}
html[data-reading-theme="light"] .tr-rank-filter-toolbar,
html[data-reading-theme="light"] body dialog.tr-rank-filter-dialog {
  --tr-rf-text:#243e4b; --tr-rf-muted:#516d7b; --tr-rf-line:#abc1cb;
  --tr-rf-panel:#f5f9fa; --tr-rf-control:#e0edf1; --tr-rf-hover:#cddfe7;
  --tr-rf-accent:#246483; --tr-rf-field:#fff;
}
.tr-rank-filter-toolbar *, .tr-rank-filter-toolbar *::before,
.tr-rank-filter-dialog *, .tr-rank-filter-dialog *::before { box-sizing:border-box; }
.tr-rank-filter-toolbar [hidden], html body .tr-rank-filter-dialog [hidden] { display:none !important; }
.tr-rank-filter-toolbar { min-width:0; margin:0 0 8px; padding:2px 0 6px; }
.tr-rank-filter-toolbar__top { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; }
.tr-rank-filter-toolbar .tr-rank-filter-status { margin:0; color:var(--tr-rf-muted); text-align:right; min-width:0; }
.tr-rank-filter-status, .tr-rank-filter-snapshot, .tr-rank-filter-help, .tr-rank-filter-scale, .tr-rank-filter-requirements p,
.tr-rank-filter-error p, .tr-rank-filter-validation {
  font-family:var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif);
  font-size:var(--tr-type-meta-size,12px); font-weight:var(--tr-type-body-weight,400); line-height:18px;
  letter-spacing:normal; text-transform:none;
}
.tr-rank-filter-toolbar .tr-rank-filter-button,
html body .tr-rank-filter-dialog .tr-rank-filter-button {
  appearance:none; position:relative; isolation:isolate; display:inline-flex; align-items:center; justify-content:center;
  gap:6px; min-width:44px; min-height:44px; padding:6px 13px; margin:0; border:0; border-radius:0;
  background:transparent; color:var(--tr-rf-text); cursor:pointer; flex-shrink:0; text-align:center;
  font:var(--tr-type-label-weight,500) var(--tr-type-meta-size,12px)/var(--tr-type-meta-line,16px) var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif);
  letter-spacing:normal; text-transform:none; touch-action:manipulation; -webkit-tap-highlight-color:transparent;
}
.tr-rank-filter-button::before {
  content:""; position:absolute; z-index:-1; inset:6px 0; background:var(--tr-rf-control);
  clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px);
}
.tr-rank-filter-button:hover::before { background:var(--tr-rf-hover); }
.tr-rank-filter-button:focus-visible,
.tr-rank-filter-dialog input:focus-visible,
.tr-rank-filter-dialog summary:focus-visible { outline:2px solid var(--tr-rf-accent); outline-offset:2px; }
.tr-rank-filter-trigger.is-active::before { background:var(--tr-rf-hover); }
.tr-rank-filter-active { display:flex; flex-wrap:wrap; align-items:flex-start; column-gap:6px; }
.tr-rank-filter-toolbar .tr-rank-filter-snapshot { margin:0 0 4px; color:var(--tr-rf-muted); }
.tr-rank-filter-toolbar.tr-rank-filter-toolbar--dialog { margin:0 0 16px; padding:0 0 12px; border-bottom:1px solid var(--tr-rf-line); }
.tr-rank-filter-toolbar--dialog .tr-rank-filter-toolbar__top { display:block; }
.tr-rank-filter-toolbar.tr-rank-filter-toolbar--dialog .tr-rank-filter-status { text-align:left; }
.tr-rank-filter-chips { display:flex; flex-wrap:wrap; gap:0 5px; min-width:0; }
.tr-rank-filter-toolbar .tr-rank-filter-chip { padding-inline:10px; max-width:100%; }
.tr-rank-filter-toolbar .tr-rank-filter-clear { color:var(--tr-rf-accent); }
.tr-rank-filter-clear::before { background:none; }
.tr-rank-filter-error { display:flex; align-items:center; flex-wrap:wrap; gap:2px 10px; padding-top:4px; }
.tr-rank-filter-error p { color:var(--tr-rf-muted); margin:0; flex:1 1 160px; }
html.tr-rank-filter-open { overflow:hidden !important; }
/* Keep focus-driven scrolling inside the body, with the heading and footer fixed. */
html body dialog.tr-rank-filter-dialog {
  box-sizing:border-box; position:fixed; inset:auto 0 0; width:min(100%,560px); max-width:none; margin:0 auto; padding:0;
  max-height:min(90dvh,calc(100dvh - 12px)); overflow:hidden; overflow:clip; border:1px solid var(--tr-rf-line); border-bottom:0;
  border-radius:16px 16px 0 0; background:var(--tr-rf-panel); color-scheme:dark; box-shadow:0 -12px 48px #0005;
}
html[data-reading-theme="light"] body dialog.tr-rank-filter-dialog { color-scheme:light; }
html body dialog.tr-rank-filter-dialog:not([open]) { display:none !important; }
html body dialog.tr-rank-filter-dialog[open] { display:flex; flex-direction:column; }
html body dialog.tr-rank-filter-dialog::backdrop { background:rgba(0,7,10,.58); }
.tr-rank-filter-dialog__heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 16px; border-bottom:1px solid var(--tr-rf-line); flex:none; }
html body .tr-rank-filter-dialog h2 {
  margin:0; color:var(--tr-rf-text); font:var(--tr-type-heading-weight,600) var(--tr-type-section-size,21px)/1.3 var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif);
  letter-spacing:normal; text-transform:none;
}
html body .tr-rank-filter-dialog .tr-rank-filter-close { padding:0; width:44px; font-size:24px; font-weight:400; line-height:1; }
.tr-rank-filter-close::before { background:transparent; }
.tr-rank-filter-form { margin:0; display:flex; flex-direction:column; min-height:0; overflow:hidden; overflow:clip; }
.tr-rank-filter-dialog__body { overflow:auto; overscroll-behavior:contain; padding:16px; min-height:0; scrollbar-width:thin; }
.tr-rank-filter-dialog .tr-rank-filter-intro { margin:0 0 16px; color:var(--tr-rf-muted); font:inherit; }
.tr-rank-filter-dialog fieldset { min-width:0; padding:0; margin:0; border:0; }
.tr-rank-filter-dialog .tr-rank-filter-modes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin-bottom:16px; }
.tr-rank-filter-mode { display:flex; align-items:center; gap:8px; padding:10px; min-width:0; min-height:44px; border:1px solid var(--tr-rf-line); border-radius:5px; cursor:pointer; }
.tr-rank-filter-mode:has(input:checked) { background:var(--tr-rf-control); border-color:var(--tr-rf-accent); }
.tr-rank-filter-dialog input[type="radio"], .tr-rank-filter-dialog input[type="checkbox"] { flex:none; width:16px; height:16px; margin:0; accent-color:var(--tr-rf-accent); }
.tr-rank-filter-mode span { font-size:var(--tr-type-body-size,14px); font-weight:var(--tr-type-label-weight,500); line-height:20px; }
.tr-rank-filter-dialog .tr-rank-filter-explanation { margin:0; color:var(--tr-rf-text); font:inherit; }
.tr-rank-filter-dialog .tr-rank-filter-factors legend { padding:0; margin:0 0 4px; font:var(--tr-type-heading-weight,600) var(--tr-type-subsection-size,16px)/1.3 var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif); }
.tr-rank-filter-dialog .tr-rank-filter-trend { margin-top:20px; padding-top:16px; border-top:1px solid var(--tr-rf-line); }
.tr-rank-filter-dialog .tr-rank-filter-trend legend { float:left; width:100%; padding:0; margin:0 0 8px; font:var(--tr-type-heading-weight,600) var(--tr-type-subsection-size,16px)/1.3 var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif); }
.tr-rank-filter-trend__enable { clear:both; display:flex; align-items:center; gap:10px; min-height:44px; cursor:pointer; }
.tr-rank-filter-trend__value { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 12px; min-height:44px; margin-top:4px; }
.tr-rank-filter-trend__current { font-variant-numeric:tabular-nums; }
.tr-rank-filter-dialog .tr-rank-filter-trend__range { display:block; width:100%; min-width:0; height:44px; margin:4px 0 0; padding:0; accent-color:var(--tr-rf-accent); touch-action:pan-y; }
.tr-rank-filter-dialog .tr-rank-filter-trend__range:disabled { opacity:.4; }
.tr-rank-filter-dialog .tr-rank-filter-trend__range:focus-visible { outline:2px solid var(--tr-rf-accent); outline-offset:2px; }
.tr-rank-filter-trend__ticks { display:flex; justify-content:space-between; margin:-4px 0 10px; color:var(--tr-rf-muted); font:var(--tr-type-body-weight,400) var(--tr-type-meta-size,12px)/18px var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif); font-variant-numeric:tabular-nums; }
.tr-rank-filter-trend .tr-rank-filter-help { margin-bottom:0; }
.tr-rank-filter-help { margin:0 0 10px; color:var(--tr-rf-muted); }
.tr-rank-filter-help.tr-rank-filter-coverage { margin:10px 0 0; }
.tr-rank-filter-factor { display:flex; align-items:center; justify-content:space-between; min-height:52px; gap:12px; border-top:1px solid var(--tr-rf-line); }
.tr-rank-filter-factor__label { display:flex; align-items:center; gap:10px; min-height:44px; flex:1; cursor:pointer; }
.tr-rank-filter-factor__label span { font-size:var(--tr-type-body-size,14px); font-weight:var(--tr-type-body-weight,400); line-height:20px; }
.tr-rank-filter-factor__minimum { display:flex; align-items:center; gap:6px; flex:none; }
.tr-rank-filter-dialog input[type="number"] { appearance:textfield; width:64px; min-height:44px; margin:0; padding:8px; border:1px solid var(--tr-rf-line); border-radius:4px; background:var(--tr-rf-field); color:var(--tr-rf-text); font:var(--tr-type-body-weight,400) var(--tr-type-body-size,14px)/20px var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif); text-align:center; font-variant-numeric:tabular-nums; }
.tr-rank-filter-dialog input[type="number"]::-webkit-inner-spin-button { appearance:none; margin:0; }
.tr-rank-filter-dialog input[type="number"]:disabled { opacity:.4; }
.tr-rank-filter-scale { color:var(--tr-rf-muted); }
.tr-rank-filter-requirements { margin-top:8px; }
.tr-rank-filter-requirements summary { min-height:44px; padding-block:12px; cursor:pointer; color:var(--tr-rf-accent); font:var(--tr-type-label-weight,500) var(--tr-type-meta-size,12px)/var(--tr-type-meta-line,16px) var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif); }
.tr-rank-filter-requirements p { margin:0 0 4px; color:var(--tr-rf-muted); }
.tr-rank-filter-validation { margin:12px 0 0; color:var(--tr-rf-text); }
.tr-rank-filter-dialog__footer { display:flex; justify-content:flex-end; gap:8px; flex:none; padding:8px 16px max(12px,env(safe-area-inset-bottom)); border-top:1px solid var(--tr-rf-line); background:var(--tr-rf-panel); }
html body .tr-rank-filter-dialog .tr-rank-filter-button--primary { color:var(--tr-rf-accent); }
.tr-rank-filter-button--primary::before { background:var(--tr-rf-hover); }
.tr-rank-filter-sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
@media(max-width:600px) {
  .tr-rank-filter-dialog input[type="number"] { font-size:16px; line-height:22px; }
}
@media(max-width:359px) {
  .tr-rank-filter-dialog__heading, .tr-rank-filter-dialog__body, .tr-rank-filter-dialog__footer { padding-inline:12px; }
  .tr-rank-filter-mode { padding-inline:8px; gap:6px; }
  .tr-rank-filter-factor { gap:8px; }
  .tr-rank-filter-factor__label { gap:7px; }
  .tr-rank-filter-scale { display:none; }
}

/* Rankings grouping shares the reader pill shape at a quieter emphasis.
   Keep every destination's geometry fixed before filters mount or selection changes. */
html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(>a[data-url^="podcast.php"]) {
  height:40px; padding-block:4px; justify-content:flex-start; gap:6px; padding-inline:calc(var(--tr-app-content-inset,0px) + 6px) calc(var(--tr-app-content-inset,0px) + 18px);
}
html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))) a[data-url^="podcast.php"] {
  box-sizing:border-box; flex:none; height:32px; min-height:32px; padding:0 12px; border-radius:999px;
  text-shadow:none; background-color:transparent;
  transition:color .18s ease, padding .32s cubic-bezier(.22,.61,.36,1), font-size .32s cubic-bezier(.22,.61,.36,1), background-color .2s ease;
}
/* Paint the pill on the link itself: a fading pseudo-layer can rerasterize
   fine SVG strokes at fractional positions when hover starts or ends. */
html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))) a[data-url^="podcast.php"]::before { display:none; }
html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))) a[data-url^="podcast.php"].active { background-color:rgba(112,232,223,.14); }
html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))) a[data-url^="podcast.php"]:hover { background-color:rgba(112,232,223,.077); }
html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))) a[data-url^="podcast.php"].active:hover { background-color:rgba(112,232,223,.14); }
html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))) a[data-url^="podcast.php"]:focus-visible { outline:2px solid var(--tr-nav-accent,#70e8df); outline-offset:-2px; }
html body:not([data-guest="1"]) #link-header > .tr-rank-filter-nav-control--guest { display:none !important; }

/* The shell owns its shared height in both label states; retain the older
   expanded fallback if this stylesheet meets a previously cached shell. */
html[data-reading-surface="shell"] body:not(.tr-chart-page,.tr-leaders-page,.tr-watchlists-page,.tr-support-page,.tr-platinum-page,.tr-reports-page,.tr-stock-reader-open):has(> #link-header:where(:not([data-context]:not([data-context=""])))) #app-header { height:var(--tr-shell-header-height,100px); }
/* Match filter targets to the roomier grouping controls. */
html[data-reading-surface="shell"] body #link-header > .tr-rank-filter-nav-control,
html[data-reading-surface="shell"] body #link-header > .tr-rank-filter-nav-control:is(.is-active,.has-error) { height:32px; }
html[data-reading-surface="shell"] body #link-header .tr-rank-filter-nav-control > button { height:32px; min-height:32px; max-height:32px; }

/* Filter criteria share the grouping row. */
html body #link-header > .tr-rank-filter-nav-control {
  box-sizing:border-box; display:inline-flex; align-items:center; align-self:center; flex:0 1 auto;
  position:relative; isolation:isolate; min-width:0; max-width:100%; height:25px; margin:0;
  overflow:hidden; border:1px solid rgba(140,177,177,.25); border-radius:3px;
  background:rgba(16,36,39,.55); color:#b9ccce; white-space:nowrap;
  font:var(--tr-type-label-weight,500) var(--tr-type-meta-size,12px)/var(--tr-type-meta-line,16px) var(--tr-type-family,"IBM Plex Sans",Plex,system-ui,sans-serif);
  letter-spacing:normal; text-transform:none;
}
html body #link-header > .tr-rank-filter-nav-control.is-active {
  color:#d9eeeb; background:linear-gradient(135deg,rgba(32,76,73,.7),rgba(12,36,39,.85)); border-color:rgba(112,232,223,.4);
}
html body #link-header > .tr-rank-filter-nav-control.has-error { border-color:#d0ba8e; }
html body #link-header .tr-rank-filter-nav-control > button {
  appearance:none; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  position:relative; min-width:0; height:23px; min-height:23px; max-height:23px; margin:0;
  padding:2px 6px; border:0; border-radius:0; background:transparent; color:inherit;
  cursor:pointer; white-space:nowrap; font:inherit; letter-spacing:normal; text-transform:none;
  touch-action:manipulation; -webkit-tap-highlight-color:transparent;
}
html body #link-header .tr-rank-filter-nav-control > button::before { display:none; }
html body #link-header .tr-rank-filter-nav-control > button:hover { background:rgba(112,232,223,.1); }
html body #link-header .tr-rank-filter-nav-control > button:focus-visible { outline:2px solid var(--tr-nav-accent,#70e8df); outline-offset:-2px; }
html body #link-header .tr-rank-filter-nav-trigger { flex:1 1 auto; gap:5px; overflow:hidden; }
html body #link-header .tr-rank-filter-nav-trigger svg {
  display:block; flex:none; width:16px; height:16px; margin:0; fill:none; stroke:currentColor;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}
html body #link-header .tr-rank-filter-nav-control.is-active .tr-rank-filter-nav-trigger svg { color:var(--tr-nav-accent,#70e8df); }
html body #link-header .tr-rank-filter-nav-label { display:flex; align-items:center; min-width:0; overflow:hidden; }
html body #link-header .tr-rank-filter-nav-copy { min-width:0; overflow:hidden; text-overflow:ellipsis; }
html body #link-header .tr-rank-filter-nav-minimum { flex:none; white-space:pre; font-variant-numeric:tabular-nums; }
html body #link-header .tr-rank-filter-nav-badge { flex:none; font:inherit; font-variant-numeric:tabular-nums; }
html body #link-header .tr-rank-filter-nav-control > .tr-rank-filter-nav-clear {
  flex:0 0 24px; width:24px; padding:0; border-left:1px solid rgba(112,232,223,.18); color:#adc9c6; font-size:18px; line-height:20px;
}
html body #link-header .tr-rank-filter-nav-measure { position:absolute; inset:0 auto auto 0; visibility:hidden; pointer-events:none; white-space:pre; font:inherit; }
html body #link-header .tr-rank-filter-nav-control [hidden] { display:none !important; }
html body.tr-stock-reader-open #link-header > .tr-rank-filter-nav-control,
html body #link-header[data-context]:not([data-context=""]) > .tr-rank-filter-nav-control { display:none !important; }
@media(min-width:1024px) {
  /* Share the shell's centered frame and reserve the card/scrollbar gutter. */
  html body #link-header > .tr-rank-filter-nav-control {
    position:absolute; right:calc(var(--tr-app-content-inset,0px) + 26px);
    max-width:calc(50% - var(--tr-app-content-inset,0px) - 206px);
  }
}
@media(max-width:1023px) {
  html[data-reading-surface="shell"] body #link-header a[data-url^="podcast.php"] { flex:none; }
  html body #link-header > .tr-rank-filter-nav-control { margin-left:auto; }
  html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(>a[data-url^="podcast.php"]) #link-industry,
  html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(>.tr-rank-filter-nav-control) #link-industry { margin-right:12px; }
}
/* Use the shared dense label role on phones, with room between destinations. */
@media(max-width:767px) {
  html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(>a[data-url^="podcast.php"]) { gap:4px; }
  html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(>a[data-url^="podcast.php"]) #link-industry { margin-right:0; }
  html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(>a[data-url^="podcast.php"]) a[data-url^="podcast.php"] { --tr-type-meta-size:var(--tr-type-dense-size,11px); --tr-type-meta-line:var(--tr-type-dense-line,14px); flex:none; padding-inline:8px; gap:5px; }
  html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(>a[data-url^="podcast.php"]) a[data-url^="podcast.php"] svg { display:block; width:14px; height:14px; }
  html body #link-header .tr-rank-filter-nav-control.is-active .tr-rank-filter-nav-trigger svg { display:none; }
  html body #link-header .tr-rank-filter-nav-control > .tr-rank-filter-nav-trigger { gap:4px; padding-inline:4px; }
}
@media(max-width:520px) {
  html body #link-header > .tr-rank-filter-nav-control { flex:none; }
  html body #link-header .tr-rank-filter-nav-control > .tr-rank-filter-nav-trigger { min-width:44px; padding-inline:7px; }
  html body #link-header .tr-rank-filter-nav-control .tr-rank-filter-nav-trigger svg,
  html body #link-header .tr-rank-filter-nav-control.is-active .tr-rank-filter-nav-trigger svg { display:block; }
  html body #link-header .tr-rank-filter-nav-label { display:none; }
}
@media(max-width:380px) {
  html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(>a[data-url^="podcast.php"]) { gap:2px; padding-inline:4px 14px; }
  html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(>a[data-url^="podcast.php"]) a[data-url^="podcast.php"] { padding-inline:clamp(2px,calc(10vw - 30px),8px); gap:3px; }
}

/* Recent shares the utility end of Rankings navigation, outside the stock view. */
html body #link-header > #rankingsRecent {
  appearance:none; box-sizing:border-box; display:none; align-items:center; justify-content:center;
  flex:0 0 44px; width:44px; height:32px; min-height:32px; padding:0; margin:0;
  border:0; border-radius:4px; background:transparent; color:#a5b8bb;
  cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent;
}
html[data-reading-surface="shell"] body:not(.tr-chart-page,.tr-news-page,.tr-leaders-page,.tr-watchlists-page,.tr-support-page,.tr-platinum-page,.tr-reports-page,.tr-stock-reader-open) #link-header:where(:not([data-context]:not([data-context=""]))) > #rankingsRecent { display:inline-flex; }
html body #link-header > #rankingsRecent[hidden] { display:none !important; }
html body #link-header > #rankingsRecent svg { display:block; width:16px; height:16px; margin:0; flex:none; }
html body #link-header > #rankingsRecent:hover { color:#d9eeeb; background:rgba(112,232,223,.07); }
html body #link-header > #rankingsRecent[aria-expanded="true"] { color:var(--tr-nav-accent,#70e8df); background:rgba(112,232,223,.07); }
html body #link-header > #rankingsRecent:focus-visible { outline:1px solid var(--tr-nav-accent,#70e8df); outline-offset:-3px; }
/* Keep Recent at the utility edge while the iframe-owned filter is unmounted. */
@media(max-width:1023px) {
  html body #link-header:not(:has(> .tr-rank-filter-nav-control)) > #rankingsRecent { margin-left:auto; }
}
@media(min-width:1024px) {
  html body #link-header > #rankingsRecent { position:absolute; right:calc(var(--tr-app-content-inset,0px) + 26px); }
  html body #link-header:has(> #rankingsRecent) > .tr-rank-filter-nav-control {
    right:calc(var(--tr-app-content-inset,0px) + 76px);
    max-width:calc(50% - var(--tr-app-content-inset,0px) - 256px);
  }
}
@media(max-width:420px) {
  /* Keep full labels and both utility actions when active filters expose Clear. */
  html[data-reading-surface="shell"] body #link-header:where(:not([data-context]:not([data-context=""]))):has(> #rankingsRecent) a[data-url^="podcast.php"] svg { display:none; }
}

/* A translucent shared surface keeps stack motion visible during replacement.
   The monochrome mark and title stay clear above the theme-aware tint.
   This layer sits outside the iframe, leaving content stacking layers intact. */
html body .tr-rankings-busy {
  box-sizing:border-box; position:fixed; z-index:2147483000; isolation:isolate;
  container:tr-rankings-loading / size;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:24px;
  background:rgba(32,38,44,.18);
  pointer-events:none; overflow:hidden;
  animation:tr-rank-filter-reveal 140ms ease-out;
}
/* Continue an existing navigation cover while restored criteria finish. */
html body .tr-rankings-busy.tr-rankings-busy--handoff { animation:none; }
/* The adopted filter surface supplies the tint during the navigation fade. */
html body:has(.tr-rank-filter-loading.tr-rankings-busy--handoff:not([hidden])) #rankingsNavigationBusy { visibility:hidden; }
/* Recovery is anchored below the shared core, so delayed copy and Retry
   never recenter the logo, label or activity line. */
html body .tr-rankings-busy #navigationLoadStatus {
  position:absolute; top:calc(100% + 52px); left:50%; right:auto;
  transform:translateX(-50%); width:max-content; max-width:calc(100vw - 48px);
  padding:0; margin:0; background:transparent; border:0; box-shadow:none;
  color:var(--tr-loading-tone,#c6d0d9);
}
/* Already-open shells place Retry directly inside the cover. */
html body .tr-rankings-busy > #navigationLoadStatus { top:calc(50% + 95px); }
html body .tr-rankings-busy #navigationLoadStatus button {
  background:transparent; color:inherit; border-color:#75818c;
}
html body .tr-rankings-busy #navigationLoadStatus button:focus-visible { outline-color:var(--tr-loading-tone,#c6d0d9); }
/* Reserve recovery space from the start on short landscape surfaces. */
@container tr-rankings-loading (max-height:278px) {
  html body .tr-rankings-busy__copy { margin-bottom:96px; }
  html body .tr-rankings-busy > #navigationLoadStatus { top:calc(50% + 47px); }
}
@container tr-rankings-loading (max-height:182px) {
  html body .tr-rankings-busy__copy {
    display:grid; grid-template-columns:40px auto; grid-template-rows:20px 20px;
    gap:0 12px; justify-items:center;
  }
  html body .tr-rankings-busy__copy::before { grid-column:1; grid-row:1 / 3; }
  html body .tr-rankings-busy__label { grid-column:2; grid-row:1; }
  html body .tr-rankings-busy__copy::after { grid-column:2; grid-row:2; }
  html body .tr-rankings-busy > #navigationLoadStatus { top:calc(50% + 24px); }
}
html body .tr-rankings-busy[hidden],
html body .tr-rankings-busy__copy[hidden],
html.tr-rank-filter-open .tr-rank-filter-loading,
html body.tr-stock-reader-open .tr-rank-filter-loading,
html body:has(#link-header[data-context]:not([data-context=""])) .tr-rank-filter-loading { display:none !important; }
/* Each operation releases only its own strip activity. */
#grad-header[data-ranking-filter-loading] { animation-duration:2.5s; }
@keyframes tr-rank-filter-reveal { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) {
  html body .tr-rankings-busy { animation:none; }
  #grad-header { animation:none !important; }
}
