.tr-main { --tr-navy: var(--ds-color-navy, #002244); --tr-accent: #4fb8ea; --tr-link: #17688f; --tr-rule: rgba(0, 34, 68, 0.14); --tr-muted: #52627a; --tr-text: var(--ds-color-text-heading, #1a2433); --tr-pos: #1b6e3c; --tr-neg: #a32121; --tr-sel: #e4f3fb; font-family: var(--ds-font-sans); color: var(--tr-text); font-size: 14px; line-height: 1.3; }
[hidden] { display: none !important; }
.tr-main button, .tr-main input, .tr-main select { font: inherit; color: inherit; }
.tr-main button:focus-visible, .tr-main input:focus-visible, .tr-main select:focus-visible, .tr-row:focus-visible { outline: 3px solid var(--tr-accent); outline-offset: -2px; }

.tr-top { position: relative; z-index: 30; padding: 8px var(--ds-size-gutter, 24px) 6px; border-bottom: 1px solid var(--tr-accent); background: #fff; flex: none; }
.tr-top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; }
.tr-title { margin: 0; font-family: var(--ds-font-display); font-size: 20px; line-height: 1.2; color: var(--tr-navy); }
.tr-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.tr-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tr-muted); margin-right: 6px; }
.tr-seg { display: inline-flex; border: 1px solid var(--tr-navy); border-radius: 4px; overflow: hidden; }
.tr-seg button { min-height: 30px; padding: 0 14px; border: 0; border-right: 1px solid var(--tr-navy); background: #fff; color: var(--tr-navy); font-size: 14px; font-weight: 600; cursor: pointer; }
.tr-seg button:last-child { border-right: 0; }
.tr-seg button[aria-pressed="true"] { background: var(--tr-navy); color: #fff; }
.tr-year { display: inline-flex; align-items: center; }
.tr-year select { min-height: 30px; padding: 0 8px; border: 1px solid var(--tr-navy); border-radius: 4px; background: #fff; font-size: 14px; font-weight: 600; color: var(--tr-navy); }
.tr-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 0 0 12px; border: 1px solid var(--tr-accent); border-radius: 15px; font-size: 13px; background: #f3fafe; }
.tr-chip button { min-width: 30px; min-height: 30px; border: 0; background: transparent; font-size: 18px; color: var(--tr-navy); cursor: pointer; border-radius: 15px; }
.tr-source { margin: 3px 0 0; font-size: 12.5px; color: var(--tr-muted); }
.tr-linkbtn { padding: 0; border: 0; background: none; color: var(--tr-link); text-decoration: underline; cursor: pointer; font-size: inherit; }
.tr-note { position: absolute; left: var(--ds-size-gutter, 24px); right: var(--ds-size-gutter, 24px); top: 100%; margin-top: 4px; box-shadow: 0 6px 18px rgba(0, 34, 68, .18); padding: 10px 12px; max-height: 60vh; overflow: auto; border: 1px solid var(--tr-rule); border-radius: 4px; background: #f7fafc; font-size: 13px; line-height: 1.45; }
.tr-note { padding-right: 56px; }
.tr-note-x { position: absolute; top: 0; right: 0; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--tr-muted); font-size: 30px; line-height: 1; cursor: pointer; border-radius: 4px; }
.tr-note-x:hover { color: #002244; }
.tr-note-x:focus-visible { outline: 2px solid var(--tr-link); outline-offset: -4px; }
.tr-note p { margin: 0 0 8px; max-width: 70em; }
.tr-note table { border-collapse: collapse; font-size: 12.5px; margin: 4px 0 8px; }
.tr-note th, .tr-note td { padding: 3px 12px 3px 0; text-align: right; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--tr-rule); }
.tr-note th:first-child, .tr-note td:first-child { text-align: left; }
.tr-loading, .tr-error { margin: 16px var(--ds-size-gutter, 24px); color: var(--tr-muted); }
.tr-error { color: #9b1c1c; }

.tr-panetabs { display: none; }
.tr-panes { display: grid; grid-template-columns: minmax(340px, 31%) minmax(0, 1fr) minmax(290px, 25%); flex: 1; min-height: 0; background: #fff; }
.tr-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid var(--tr-rule); }
.tr-pane:last-child { border-right: 0; }

.tr-tree-tools { padding: 6px 8px; flex: none; }
.tr-tree-tools input { width: 100%; box-sizing: border-box; min-height: 30px; padding: 0 10px; border: 1px solid var(--tr-rule); border-radius: 4px; background: #fff; font-size: 14px; }
.tr-colhead, .tr-row { display: grid; grid-template-columns: 1fr 58px 44px 52px 36px; align-items: center; column-gap: 4px; }
.tr-colhead { flex: none; padding: 0 8px 2px 8px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--tr-muted); border-bottom: 1px solid var(--tr-rule); }
.tr-colhead span:not(:first-child) { text-align: right; }
.tr-tree { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.tr-row { position: relative; box-sizing: border-box; height: 28px; padding: 0 8px; cursor: pointer; font-size: 13.5px; border-bottom: 1px solid rgba(0, 34, 68, 0.05); }
.tr-row:hover { background: #f1f7fb; }
.tr-row[aria-selected="true"] { background: var(--tr-sel); box-shadow: inset 3px 0 0 var(--tr-navy); }
.tr-row .nm { display: flex; align-items: center; min-width: 0; padding-left: calc(var(--lv, 0) * 14px); }
.tr-row .nm span.t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-row[data-lv="0"] .nm span.t, .tr-row[data-lv="1"] .nm span.t { font-weight: 600; }
.tr-caret { flex: none; width: 22px; height: 28px; border: 0; background: none; padding: 0; color: var(--tr-muted); cursor: pointer; font-size: 11px; line-height: 28px; text-align: center; }
.tr-caret.leaf { visibility: hidden; cursor: default; }
.tr-row .v, .tr-row .s, .tr-row .g, .tr-row .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tr-row .s, .tr-row .g { color: var(--tr-muted); font-size: 12.5px; }
.tr-row .g.pos { color: var(--tr-pos); }
.tr-row .g.neg { color: var(--tr-neg); }
.tr-row .r span { display: inline-block; min-width: 26px; padding: 0 4px; border-radius: 9px; background: var(--tr-navy); color: #fff; font-size: 11.5px; font-weight: 600; line-height: 17px; text-align: center; }
.tr-row .bar { position: absolute; left: 30px; bottom: 1px; height: 2px; background: var(--tr-accent); pointer-events: none; }
.tr-empty { padding: 14px 10px; color: var(--tr-muted); font-size: 13px; }

.tr-mid-pane { overflow: hidden; }
.tr-mid-head { padding: 8px 14px 0; flex: none; }
.tr-crumbs { font-size: 12px; color: var(--tr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-link { padding: 0; border: 0; background: none; color: var(--tr-link); cursor: pointer; text-decoration: underline; font-size: inherit; }
.tr-mid-head h2 { margin: 2px 0 0; font-family: var(--ds-font-display); font-size: 19px; line-height: 1.2; color: var(--tr-navy); }
.tr-mid-head h2 small { font-family: var(--ds-font-sans); font-size: 12.5px; font-weight: 400; color: var(--tr-muted); margin-left: 8px; }
.tr-long { margin: 2px 0 0; font-size: 12.5px; color: var(--tr-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tr-facts { flex: none; display: flex; flex-wrap: wrap; gap: 3px 16px; padding: 6px 14px 8px; border-bottom: 1px solid var(--tr-rule); font-size: 12.5px; color: var(--tr-muted); }
.tr-facts b { color: var(--tr-text); font-weight: 700; font-size: 13.5px; margin-right: 3px; font-variant-numeric: tabular-nums; }
.tr-tabs { flex: none; display: flex; gap: 2px; padding: 0 14px; border-bottom: 1px solid var(--tr-rule); }
.tr-tabs button { min-height: 32px; padding: 0 12px; border: 0; border-bottom: 3px solid transparent; background: none; font-size: 14px; font-weight: 600; color: var(--tr-muted); cursor: pointer; }
.tr-tabs button[aria-selected="true"] { color: var(--tr-navy); border-bottom-color: var(--tr-navy); }
.tr-tabbody { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 6px 14px 8px; overflow: hidden; }
.tr-tabbody.scroll { display: block; overflow-y: auto; }

.tr-legend { flex: none; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12px; color: var(--tr-muted); }
.tr-legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--tr-navy); vertical-align: middle; margin-right: 4px; }
.tr-legend i.alt { border-top-color: #1f7fb3; }
.tr-legend i.imf { border-top: 2px dotted #7a4a00; }
.tr-charts { flex: 1 1 auto; min-height: 150px; display: flex; flex-direction: column; gap: 2px; }
.tr-chart { flex: 1; min-height: 0; position: relative; }
.tr-chart svg { display: block; width: 100%; height: 100%; }
.tr-chart text { font-family: var(--ds-font-sans); fill: var(--tr-muted); font-size: 11px; }
.tr-chart text.ct { fill: var(--tr-text); font-size: 12px; font-weight: 600; }
.tr-comp { flex: 0 1 auto; max-height: 38%; overflow-y: auto; margin-top: 4px; border-top: 1px solid var(--tr-rule); padding-top: 4px; }
.tr-comp h3, .tr-part-head h3 { margin: 0 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--tr-muted); }
.tr-crow { display: grid; grid-template-columns: minmax(90px, 30%) 1fr 62px 44px; align-items: center; column-gap: 8px; width: 100%; box-sizing: border-box; min-height: 22px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font-size: 13px; }
.tr-crow:hover { background: #f1f7fb; }
.tr-crow.cur { background: var(--tr-sel); font-weight: 600; }
.tr-crow .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-crow .b { height: 9px; background: #eef3f7; }
.tr-crow .b i { display: block; height: 100%; background: var(--tr-navy); }
.tr-crow .v, .tr-crow .s { text-align: right; font-variant-numeric: tabular-nums; }
.tr-crow .s { color: var(--tr-muted); }

.tr-method { margin: 0 0 4px; font-size: 12.5px; color: var(--tr-muted); max-width: 70em; }
.tr-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 4px; font-size: 12.5px; color: var(--tr-muted); }
.tr-sort button { min-height: 26px; padding: 0 10px; border: 1px solid var(--tr-rule); border-radius: 13px; background: #fff; color: var(--tr-navy); font-size: 12.5px; cursor: pointer; }
.tr-sort button[aria-pressed="true"] { background: var(--tr-navy); color: #fff; border-color: var(--tr-navy); }
.tr-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tr-tbl th { position: sticky; top: 0; background: #fff; text-align: right; padding: 3px 6px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--tr-muted); border-bottom: 1px solid var(--tr-rule); }
.tr-tbl td { padding: 0 6px; height: 26px; text-align: right; font-variant-numeric: tabular-nums; border-bottom: 1px solid rgba(0, 34, 68, 0.05); }
.tr-tbl th:first-child, .tr-tbl td:first-child { text-align: left; padding-left: 0; max-width: 240px; }
.tr-tbl td:first-child button { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0; border: 0; background: none; text-align: left; color: var(--tr-link); cursor: pointer; text-decoration: underline; min-height: 24px; }

.tr-part-head { flex: none; padding: 8px 12px 4px; }
.tr-part-head p { margin: 0; font-size: 12.5px; color: var(--tr-muted); }
.tr-part-list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 4px 8px; }
.tr-prow { display: grid; grid-template-columns: 22px minmax(80px, 1fr) 54px 42px 50px; align-items: center; column-gap: 6px; width: 100%; box-sizing: border-box; min-height: 28px; padding: 0 8px 0 4px; border: 0; border-bottom: 1px solid rgba(0, 34, 68, 0.05); background: none; text-align: left; cursor: pointer; font-size: 13px; position: relative; }
.tr-prow:hover { background: #f1f7fb; }
.tr-prow.cur { background: var(--tr-sel); box-shadow: inset 3px 0 0 var(--tr-navy); }
.tr-prow .k { color: var(--tr-muted); font-size: 11.5px; text-align: right; }
.tr-prow .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-prow .v, .tr-prow .s, .tr-prow .g { text-align: right; font-variant-numeric: tabular-nums; }
.tr-prow .s, .tr-prow .g { color: var(--tr-muted); font-size: 12.5px; }
.tr-prow .g.pos { color: var(--tr-pos); }
.tr-prow .g.neg { color: var(--tr-neg); }
.tr-prow .bar { position: absolute; left: 30px; bottom: 1px; height: 2px; background: var(--tr-navy); pointer-events: none; }
.tr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tr-tip { position: fixed; z-index: 1000; max-width: 280px; padding: 6px 9px; background: var(--tr-navy, #002244); color: #fff; font-size: 12.5px; line-height: 1.35; border-radius: 3px; pointer-events: none; font-family: var(--ds-font-sans); }

@media (min-width: 901px) and (min-height: 480px) {
  body.tr-body { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
  body.tr-body .header { flex: none; }
  body.tr-body .tr-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  body.tr-body .site-footer { flex: none; padding-top: 6px; padding-bottom: 6px; gap: 12px; }
  body.tr-body .footer-links { flex-wrap: nowrap; gap: 6px 14px; white-space: nowrap; }
  body.tr-body .footer-links a { min-height: 20px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .tr-panes { grid-template-columns: minmax(320px, 34%) minmax(0, 1fr) 270px; }
  .tr-title { font-size: 18px; }
}

@media (max-width: 900px), (max-height: 479px) {
  .tr-top { position: relative; z-index: 30; padding: 8px 16px 6px; }
  .tr-title { font-size: 18px; }
  .tr-seg button, .tr-year select, .tr-chip, .tr-chip button { min-height: 44px; }
  .tr-linkbtn { min-height: 32px; }
  .tr-panetabs { display: flex; position: sticky; top: 48px; z-index: 5; background: #fff; border-bottom: 1px solid var(--tr-rule); }
  .tr-panetabs button { flex: 1; min-height: 44px; border: 0; border-bottom: 3px solid transparent; background: none; font-size: 15px; font-weight: 600; color: var(--tr-muted); }
  .tr-panetabs button[aria-selected="true"] { color: var(--tr-navy); border-bottom-color: var(--tr-navy); }
  .tr-panes { display: block; }
  .tr-pane { display: none; border-right: 0; height: calc(100dvh - 48px - 44px - 8px); min-height: 420px; }
  .tr-panes[data-pane="tree"] .tr-tree-pane, .tr-panes[data-pane="mid"] .tr-mid-pane, .tr-panes[data-pane="partners"] .tr-part-pane { display: flex; }
  .tr-tree-tools input { min-height: 44px; }
  .tr-colhead, .tr-row { grid-template-columns: 1fr 52px 40px 46px 34px; }
  .tr-row { height: 40px; }
  .tr-caret { height: 40px; line-height: 40px; width: 28px; }
  .tr-tabs button { min-height: 44px; }
  .tr-mid-pane { overflow-y: auto; }
  .tr-tabbody { flex: none; overflow: visible; }
  .tr-charts { flex: none; height: 300px; }
  .tr-comp { max-height: none; flex: none; }
  .tr-crow { min-height: 36px; }
  .tr-prow { min-height: 40px; grid-template-columns: 20px minmax(70px, 1fr) 50px 38px 46px; }
  .tr-sort button { min-height: 36px; }
  .tr-tbl td { height: 36px; }
  .tr-tbl .hm { display: none; }
  .tr-tbl td:first-child { max-width: 150px; }
  body.tr-body .site-footer { padding-top: 16px; padding-bottom: 16px; }
}
@media (prefers-reduced-motion: no-preference) { .tr-row, .tr-prow, .tr-crow { transition: background .12s; } }
