/* Hub navigation: sidebar hubs, the hub tab bar and the consolidated Home › Watchlist and company Filings & IR layouts. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Hub bar: one tab strip per hub, aligned with the page gutter. */
:root { --hubbar-h: 41px; }
.hubbar { height: var(--hubbar-h); flex: none; display: flex; align-items: stretch; gap: var(--sp-6); max-width: 1600px; width: 100%; padding: 0 32px; border-bottom: 1px solid var(--line); min-width: 0; }
.hubbar[hidden] { display: none; }
.hubbar .hub-name { display: flex; align-items: center; flex: none; color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.hubbar .hub-tabs { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.hubbar .hub-tabs::-webkit-scrollbar { display: none; }
.hubbar .hub-tabs a { display: flex; align-items: center; padding: 11px 12px 10px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 13px; line-height: 19px; white-space: nowrap; text-decoration: none; }
.hubbar .hub-tabs a:hover { color: var(--ink); text-decoration: none; }
.hubbar .hub-tabs a.on { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }
.hubbar .hub-tabs a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.app.has-hubbar .page { padding-top: 20px; }
.app.has-hubbar .page:has(.ws-workspace) { padding-top: 0; }
@media screen and (min-width: 861px) { .app.has-hubbar .ws-workspace { height: calc(100dvh - var(--topbar-height, 48px) - var(--hubbar-h)); } }
@media (max-width: 1250px) { .hubbar { padding: 0 24px; } }
@media (max-width: 860px) {
  :root { --hubbar-h: 37px; }
  .hubbar { padding: 0 max(12px, env(safe-area-inset-left, 0px)); gap: var(--sp-3); background: var(--bg); }
  .hubbar .hub-name { display: none; }
  .hubbar .hub-tabs a { padding: 9px 10px 8px; font-size: 12.5px; }
  .app.has-hubbar .page { padding-top: 18px; }
}

/* Home › Watchlist */
.an-watch-table .t { min-width: 760px; }
.an-watch-table .src { padding: 8px 0 0; font-size: 11px; }
.analyst-page .an-toolbar select { max-width: 360px; }
.wl-table .tkc { color: var(--ink); text-decoration: none; }
.wl-table .tkc:hover b { text-decoration: underline; text-underline-offset: 3px; }
.wl-table .wl-remove { height: 26px; min-height: 26px; padding: 2px 8px; font-size: 11.5px; box-shadow: none; }

/* Company › Filings & IR */
.fi-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.fi-jump button { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink2); font: 12px/1 var(--f-ui); cursor: pointer; }
.fi-jump button:hover { border-color: var(--line2); color: var(--ink); }
.fi-jump button:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.fi-jump-n { color: var(--muted); font: 10.5px/1 var(--f-mono); }
.fi-jump-n:empty { display: none; }
.fi-sec { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: calc(var(--topbar-height, 56px) + 12px); }
.fi-sec + .fi-sec { padding-top: 8px; }
.fi-sec-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.fi-sec-h h2 { margin: 0; font: 400 24px/1.2 var(--f-display); letter-spacing: -.01em; color: var(--ink); }
.fi-sec-meta { color: var(--muted); font: 10.5px/1.5 var(--f-mono); }
.fi-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fi-release { max-height: 560px; overflow: auto; padding-right: 4px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.fi-release:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.fi-log { max-height: 320px; overflow: auto; }
.fi-log thead th, .fi-table thead th { position: sticky; top: 0; z-index: 1; background: var(--surface); }
.fi-materials { padding-top: 6px; }
.fi-mat-period { color: var(--muted); font-size: 11.5px; padding-bottom: 6px; }
.fi-mat-period b { color: var(--ink); font-weight: 500; }
.fi-mat { list-style: none; margin: 0; padding: 0; }
.fi-mat li { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto 16px; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.fi-mat-type { color: var(--muted); font-size: 11px; }
.fi-mat-title { min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); font: 500 12.5px/1.45 var(--f-ui); text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.fi-mat-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.fi-mat-title:focus-visible, .fi-mat-src:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 3px; }
.fi-mat-date { color: var(--muted); font: 11px/1.45 var(--f-mono); white-space: nowrap; }
.fi-mat-src { color: var(--muted); text-decoration: none; }
.fi-empty { padding: 12px 0; font-size: 12.5px; }
.fi-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.fi-search { width: 200px; height: 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); font: 12px/1.5 var(--f-ui); padding: 4px 9px; }
.fi-table { max-height: 560px; overflow: auto; }
.fi-table:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.fi-table .fi-empty { padding: 16px 18px; }
.panel .fi-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.fi-count { font-family: var(--f-mono); }
@media (max-width: 860px) {
  .fi-sec-h h2 { font-size: 21px; }
  .fi-controls { justify-content: flex-start; width: 100%; }
  .fi-search { flex: 1; width: auto; min-width: 0; }
  .fi-mat li { grid-template-columns: minmax(0, 1fr) auto 16px; }
  .fi-mat-type { grid-column: 1 / -1; }
  .fi-release { max-height: 420px; }
}
