/* Treasury Rate Hub components. Tokens are shared with the treasuryratehub theme. */
:root {
  --trh-navy: #10233F;
  --trh-navy-2: #19365B;
  --trh-teal: #0F9D91;
  --trh-teal-dark: #0B7A70;
  --trh-bg: #F5F8FC;
  --trh-surface: #FFFFFF;
  --trh-text: #172B45;
  --trh-muted: #5B6B80; /* #64748B darkened slightly for 4.5:1 on the light background */
  --trh-border: #E2E8F0;
  --trh-pos: #16835D;
  --trh-neg: #C24141;
  --trh-warn: #B7791F;
  --trh-radius: 10px;
  --trh-shadow: 0 1px 2px rgba(16, 35, 63, .06), 0 1px 1px rgba(16, 35, 63, .04);
  --trh-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.trh-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.trh-cards, .trh-tools, .trh-articles, .trh-stats, .trh-results { font-variant-numeric: tabular-nums; }
.num, .trh-table td, .trh-card__value, .trh-summary__value, .trh-big { font-variant-numeric: tabular-nums; }

/* Notices and empty states */
.trh-empty, .trh-notice {
  border: 1px solid var(--trh-border); border-left: 4px solid var(--trh-navy-2); border-radius: var(--trh-radius);
  background: var(--trh-surface); padding: 14px 16px; margin: 12px 0; color: var(--trh-text);
}
.trh-notice--warn { border-left-color: var(--trh-warn); background: #FFF9EE; }
.trh-notice--info { border-left-color: var(--trh-teal); }
.trh-fine { color: var(--trh-muted); font-size: .85rem; line-height: 1.5; }
.trh-loading { color: var(--trh-muted); padding: 24px 0; text-align: center; }
.trh-asof { color: var(--trh-muted); font-size: .9rem; margin: 0; }

/* Change indicators: arrow + sign + words, never color alone */
.trh-chg { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.trh-chg.is-up { color: var(--trh-pos); }
.trh-chg.is-down { color: var(--trh-neg); }
.trh-chg.is-flat, .trh-chg.is-na { color: var(--trh-muted); }
.trh-chg__bp { font-weight: 500; }

/* Rate cards */
.trh-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 16px 0; }
.trh-card {
  background: var(--trh-surface); border: 1px solid var(--trh-border); border-radius: var(--trh-radius);
  padding: 16px; box-shadow: var(--trh-shadow); display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.trh-card p { margin: 0; }
.trh-card__label { font-size: .85rem; font-weight: 600; color: var(--trh-text); }
.trh-card__label a { color: inherit; text-decoration: none; }
.trh-card__label a:hover, .trh-card__label a:focus-visible { color: var(--trh-teal-dark); text-decoration: underline; }
.trh-card__value { font-size: 1.85rem; font-weight: 700; color: var(--trh-navy); letter-spacing: -.01em; line-height: 1.1; }
.trh-card__chg { font-size: .85rem; }
.trh-card__date { font-size: .78rem; color: var(--trh-muted); }

/* Panels, grids */
.trh-grid { display: grid; gap: 18px; margin: 18px 0; }
.trh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trh-grid--2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.trh-panel {
  background: var(--trh-surface); border: 1px solid var(--trh-border); border-radius: var(--trh-radius);
  padding: 18px; box-shadow: var(--trh-shadow); min-width: 0; scroll-margin-top: 90px;
}
.trh-panel__title, .trh-figure__title, .trh-calc__title { font-size: 1.05rem; font-weight: 700; color: var(--trh-navy); margin: 0 0 10px; }
.trh-subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 8px; }
.trh-subnav a {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--trh-border); background: var(--trh-surface);
  color: var(--trh-text); font-size: .85rem; text-decoration: none; font-weight: 500;
}
.trh-subnav a:hover, .trh-subnav a:focus-visible { border-color: var(--trh-teal); color: var(--trh-teal-dark); }

/* Figures and charts */
.trh-figure { margin: 0; position: relative; }
.trh-figure__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.trh-figure__caption { color: var(--trh-muted); font-size: .85rem; margin-top: 6px; }
.trh-chart { position: relative; width: 100%; }
.trh-chart svg { display: block; width: 100%; height: auto; overflow: visible; border-radius: 6px; }
.trh-chart svg:focus { outline: none; }
.trh-chart svg:focus-visible { outline: 3px solid var(--trh-teal); outline-offset: 3px; }
.trh-chart__grid line { stroke: var(--trh-border); stroke-width: 1; }
.trh-chart__grid line.is-zero { stroke: #94A3B8; stroke-width: 1.5; }
.trh-chart__grid text { fill: var(--trh-muted); font-size: 11px; font-family: var(--trh-font); }
.trh-chart__empty { fill: var(--trh-muted); font-size: 14px; }
.trh-chart__neg { fill: rgba(194, 65, 65, .14); stroke: none; }
.trh-chart__cursor line { stroke: #94A3B8; stroke-dasharray: 3 3; }
.trh-chart__tip {
  display: none; position: absolute; z-index: 5; pointer-events: none; min-width: 120px;
  background: var(--trh-surface); border: 1px solid var(--trh-border); border-radius: 8px; padding: 8px 10px;
  box-shadow: 0 6px 18px rgba(16, 35, 63, .14); font-size: .8rem; color: var(--trh-text); font-variant-numeric: tabular-nums;
}
.trh-chart__tip strong { display: block; margin-bottom: 2px; }
.trh-chart__tip span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.trh-chart__tip i, .trh-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.trh-legend { display: flex; gap: 14px; flex-wrap: wrap; list-style: none; margin: 0 0 6px; padding: 0; font-size: .8rem; color: var(--trh-muted); }
.trh-legend li { display: flex; align-items: center; gap: 6px; }
.trh-legend i.is-current { background: var(--trh-navy); }
.trh-legend i.is-prior { background: #93A8C9; }

.trh-range { display: inline-flex; gap: 2px; background: var(--trh-bg); border: 1px solid var(--trh-border); border-radius: 8px; padding: 2px; }
.trh-range button {
  border: 0; background: transparent; color: var(--trh-muted); font: 600 .78rem/1 var(--trh-font);
  padding: 7px 10px; border-radius: 6px; cursor: pointer; min-height: 32px;
}
.trh-range button[aria-pressed="true"] { background: var(--trh-navy); color: #fff; }
.trh-range button:focus-visible { outline: 2px solid var(--trh-teal); outline-offset: 1px; }
.trh-range select { font: inherit; padding: 6px 8px; border: 0; background: transparent; }

/* Tables */
.trh-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--trh-border); border-radius: var(--trh-radius); background: var(--trh-surface); }
.trh-table-wrap--scroll { max-height: 560px; overflow-y: auto; margin-top: 12px; }
.trh-table-tools { display: flex; justify-content: flex-end; padding: 8px; border-bottom: 1px solid var(--trh-border); }
.trh-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.trh-table caption { text-align: left; font-weight: 700; color: var(--trh-navy); padding: 12px 12px 6px; }
.trh-table th, .trh-table td { padding: 9px 12px; border-bottom: 1px solid var(--trh-border); text-align: left; white-space: nowrap; }
.trh-table thead th { position: sticky; top: 0; background: #F8FAFD; color: var(--trh-muted); font-weight: 600; font-size: .78rem; text-transform: none; z-index: 1; }
.trh-table tbody th { font-weight: 600; color: var(--trh-text); }
.trh-table tbody th a { color: var(--trh-text); }
.trh-table td.num, .trh-table th.num { text-align: right; }
.trh-table tbody tr:last-child th, .trh-table tbody tr:last-child td { border-bottom: 0; }
.trh-table tbody tr:hover { background: #F8FAFD; }
.trh-table--compact th, .trh-table--compact td { padding: 6px 10px; }
.trh-th-date { display: block; font-weight: 400; font-size: .72rem; color: var(--trh-muted); }
.trh-details { margin-top: 10px; }
.trh-details summary { cursor: pointer; color: var(--trh-teal-dark); font-weight: 600; font-size: .88rem; padding: 4px 0; }
.trh-takeaways { margin: 0; padding-left: 1.1rem; display: grid; gap: 10px; }
.trh-takeaways li::marker { color: var(--trh-teal); }
.trh-source { color: var(--trh-muted); font-size: .82rem; margin: 10px 0 0; }

/* Buttons and fields */
.trh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px;
  border-radius: 8px; border: 1px solid var(--trh-teal); background: var(--trh-teal); color: #fff !important;
  font: 600 .92rem/1 var(--trh-font); text-decoration: none !important; cursor: pointer;
}
.trh-btn:hover { background: var(--trh-teal-dark); border-color: var(--trh-teal-dark); }
.trh-btn:focus-visible { outline: 3px solid #8FD9D1; outline-offset: 2px; }
.trh-btn--ghost { background: var(--trh-surface); color: var(--trh-navy) !important; border-color: var(--trh-border); }
.trh-btn--ghost:hover { background: var(--trh-bg); border-color: #CBD5E1; }
.trh-btn--outline { background: transparent; border-color: rgba(255, 255, 255, .8); }
.trh-btn--outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.trh-btn--lg { min-height: 48px; padding: 0 22px; font-size: 1rem; }

.trh-field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.trh-field > label, .trh-field legend { display: block; font-weight: 600; font-size: .86rem; color: var(--trh-text); margin-bottom: 6px; padding: 0; }
.trh-field input[type="date"], .trh-field select, .trh-input input, .trh-field > input {
  width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #CBD5E1; border-radius: 8px;
  font: 500 1rem var(--trh-font); color: var(--trh-text); background: #fff; font-variant-numeric: tabular-nums;
}
.trh-field input:focus-visible, .trh-field select:focus-visible { outline: 3px solid #8FD9D1; outline-offset: 1px; border-color: var(--trh-teal); }
.trh-input { position: relative; display: flex; align-items: center; }
.trh-input > span { position: absolute; color: var(--trh-muted); font-weight: 600; pointer-events: none; }
.trh-input--prefix > span { left: 12px; }
.trh-input--prefix input { padding-left: 26px; }
.trh-input--suffix > span { right: 12px; }
.trh-input--suffix input { padding-right: 52px; }
.trh-field [aria-invalid="true"] { border-color: var(--trh-neg); }
.trh-field-error { color: var(--trh-neg); font-size: .84rem; font-weight: 600; margin: 6px 0 0; }
.trh-help { color: var(--trh-muted); font-size: .8rem; margin: 6px 0 0; }
.trh-optional { font-weight: 400; color: var(--trh-muted); }
.trh-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.trh-seg label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #CBD5E1; border-radius: 8px; cursor: pointer; font-size: .88rem; min-height: 40px; }
.trh-seg label:has(input:checked) { border-color: var(--trh-teal); background: #EAF7F5; }
.trh-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.trh-check { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--trh-border); border-radius: 999px; font-size: .84rem; cursor: pointer; min-height: 36px; background: #fff; }
.trh-check:has(input:checked) { border-color: var(--trh-navy); background: #EEF3FA; }

/* Calculators */
.trh-calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin: 18px 0;
}
.trh-calc__form, .trh-calc__results, .trh-calc__history {
  background: var(--trh-surface); border: 1px solid var(--trh-border); border-radius: var(--trh-radius); padding: 20px; box-shadow: var(--trh-shadow); min-width: 0;
}
.trh-calc__history { grid-column: 1 / -1; }
.trh-calc__actions, .trh-explorer__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.trh-results { margin: 0; display: grid; gap: 0; }
.trh-result { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--trh-border); }
.trh-result:last-child { border-bottom: 0; }
.trh-result dt { color: var(--trh-text); font-size: .9rem; }
.trh-result dd { margin: 0; text-align: right; }
.trh-result__value { display: block; font-weight: 700; color: var(--trh-navy); font-size: 1.05rem; }
.trh-result__sub { display: block; color: var(--trh-muted); font-size: .75rem; }
.trh-formula { margin-top: 16px; padding: 14px; background: var(--trh-bg); border-radius: 8px; font-size: .88rem; overflow-wrap: anywhere; }
.trh-formula:empty { display: none; }
.trh-formula__title { font-size: .95rem; margin: 0 0 6px; color: var(--trh-navy); }
.trh-big { font-size: 2.4rem; font-weight: 700; color: var(--trh-navy); margin: 4px 0; }

/* Explorer */
.trh-explorer__form {
  display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 12px 16px; align-items: end;
  background: var(--trh-surface); border: 1px solid var(--trh-border); border-radius: var(--trh-radius); padding: 16px; margin-bottom: 12px;
}
.trh-explorer__form .trh-field { margin: 0; }
.trh-explorer__actions { grid-column: 1 / -1; }
.trh-explorer__form .trh-field-error { grid-column: 1 / -1; }
.trh-explorer .trh-range { margin: 4px 0 10px; }

/* Rate page summary */
.trh-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 18px; background: var(--trh-surface); border: 1px solid var(--trh-border); border-radius: var(--trh-radius); padding: 20px; box-shadow: var(--trh-shadow); margin: 16px 0; }
.trh-summary p { margin: 0 0 6px; }
.trh-summary__label { color: var(--trh-muted); font-weight: 600; font-size: .9rem; }
.trh-summary__value { font-size: 3rem; font-weight: 700; color: var(--trh-navy); line-height: 1; letter-spacing: -.02em; }
.trh-summary__date { color: var(--trh-muted); font-size: .85rem; }
.trh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.trh-stat { background: var(--trh-bg); border-radius: 8px; padding: 10px 12px; }
.trh-stat dt { color: var(--trh-muted); font-size: .78rem; font-weight: 600; }
.trh-stat dd { margin: 2px 0 0; font-weight: 700; color: var(--trh-navy); font-size: 1.1rem; }
.trh-stat__sub { display: block; font-weight: 500; font-size: .75rem; color: var(--trh-muted); }
.trh-related { grid-column: 1 / -1; border-top: 1px solid var(--trh-border); padding-top: 12px; }
.trh-related__title { font-size: .95rem; margin: 0 0 8px; color: var(--trh-navy); }
.trh-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.trh-related li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--trh-border); border-radius: 8px; font-size: .88rem; }
.trh-related__spread { color: var(--trh-muted); font-size: .8rem; }

/* Tool and article cards */
.trh-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trh-tool { background: var(--trh-surface); border: 1px solid var(--trh-border); border-radius: var(--trh-radius); padding: 20px; box-shadow: var(--trh-shadow); display: flex; flex-direction: column; gap: 8px; position: relative; }
.trh-tool p { margin: 0; color: var(--trh-muted); font-size: .9rem; }
.trh-tool__title { font-size: 1.05rem; margin: 6px 0 0; }
.trh-tool__title a { color: var(--trh-navy); text-decoration: none; }
.trh-tool__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--trh-radius); }
.trh-tool:hover { border-color: #B8C7DB; }
.trh-tool:focus-within { outline: 3px solid #8FD9D1; outline-offset: 2px; }
.trh-tool__cta a { color: var(--trh-teal-dark); font-weight: 600; text-decoration: none; }
.trh-tool__icon { width: 44px; height: 44px; border-radius: 10px; background: #EAF2FB; display: inline-block; background-repeat: no-repeat; background-position: center; background-size: 24px; }
.trh-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: auto 0 0; padding: 8px 0 0; }
.trh-tags li { font-size: .72rem; color: var(--trh-muted); background: var(--trh-bg); border: 1px solid var(--trh-border); border-radius: 6px; padding: 3px 8px; }

.trh-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trh-article { background: var(--trh-surface); border: 1px solid var(--trh-border); border-radius: var(--trh-radius); overflow: hidden; box-shadow: var(--trh-shadow); display: flex; flex-direction: column; }
.trh-article__media { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: var(--trh-navy); }
.trh-article__media img, .trh-article__media svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.trh-article__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.trh-article__body p { margin: 0; color: var(--trh-muted); font-size: .9rem; }
.trh-article__title { font-size: 1.02rem; margin: 2px 0; line-height: 1.35; }
.trh-article__title a { color: var(--trh-navy); text-decoration: none; }
.trh-article__title a:hover, .trh-article__title a:focus-visible { text-decoration: underline; }
.trh-article__more { margin-top: auto !important; }
.trh-article__more a { color: var(--trh-teal-dark); font-weight: 600; text-decoration: none; }
.trh-chip { display: inline-block; align-self: flex-start; font-size: .68rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--trh-teal-dark) !important; background: #EAF7F5; border-radius: 4px; padding: 3px 8px; }

/* Icons (inline SVG data URIs, decorative) */
.trh-icon--calc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319365B' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 12h2M12 12h2M16 12h0M8 16h2M12 16h2M16 16h0'/%3E%3C/svg%3E"); }
.trh-icon--pct { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319365B' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M19 5 5 19'/%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3C/svg%3E"); }
.trh-icon--stack { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F9D91' stroke-width='1.8'%3E%3Cellipse cx='12' cy='6' rx='7' ry='3'/%3E%3Cpath d='M5 6v6c0 1.7 3.1 3 7 3s7-1.3 7-3V6M5 12v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6'/%3E%3C/svg%3E"); }
.trh-icon--doc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FE0D6' stroke-width='1.8'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M14 3v4h4M10 12h5M10 16h5'/%3E%3C/svg%3E"); }
.trh-icon--clock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FE0D6' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E"); }
.trh-icon--book { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FE0D6' stroke-width='1.8'%3E%3Cpath d='M4 5c3-1 6-1 8 1 2-2 5-2 8-1v14c-3-1-6-1-8 1-2-2-5-2-8-1z'/%3E%3Cpath d='M12 6v14'/%3E%3C/svg%3E"); }
.trh-hero .trh-icon--calc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FE0D6' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 12h2M12 12h2M8 16h2M12 16h2'/%3E%3C/svg%3E"); }
.trh-icon--bank { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319365B' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3 9 12 4l9 5z'/%3E%3Cpath d='M5 10v8M9 10v8M15 10v8M19 10v8M3 20h18'/%3E%3C/svg%3E"); }

/* Hero */
.trh-hero {
  position: relative; color: #fff; border-radius: 0;
  background:
    linear-gradient(100deg, rgba(16, 35, 63, .97) 0%, rgba(16, 35, 63, .9) 45%, rgba(25, 54, 91, .75) 100%),
    var(--trh-hero-img, radial-gradient(1200px 400px at 85% 20%, #24507F 0%, transparent 60%)),
    var(--trh-navy);
  background-size: cover; background-position: center;
}
.trh-hero__inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px 40px; }
.trh-eyebrow { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #7FE0D6; margin: 0 0 12px; }
.trh-eyebrow--teal { color: var(--trh-teal-dark); }
.trh-hero__title { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; margin: 0 0 16px; max-width: 760px; color: #fff; letter-spacing: -.02em; }
.trh-hero__text { font-size: 1.1rem; color: #D5E0EE; max-width: 640px; margin: 0 0 26px; line-height: 1.6; }
.trh-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.trh-hero__strip {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.trh-hero__strip li { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: #C9D6E8; }
.trh-hero__strip strong { display: block; color: #fff; font-size: .84rem; }
.trh-hero__strip .trh-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(127, 224, 214, .35); background-repeat: no-repeat; background-position: center; background-size: 20px; }

/* Trust block */
.trh-trust { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 300px); gap: 20px; align-items: center; background: var(--trh-surface); border: 1px solid var(--trh-border); border-radius: var(--trh-radius); padding: 24px; box-shadow: var(--trh-shadow); }
.trh-trust__icon { width: 72px; height: 72px; border-radius: 50%; background-color: #EAF2FB; background-repeat: no-repeat; background-position: center; background-size: 38px; }
.trh-trust__title { font-size: 1.2rem; color: var(--trh-navy); margin: 0 0 8px; }
.trh-trust__body p:last-child { color: var(--trh-muted); font-size: .9rem; margin: 0; }
.trh-checklist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; }
.trh-checklist li { padding-left: 24px; position: relative; }
.trh-checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--trh-pos) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 3 3 5-6' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* Ads */
.trh-ad { margin: 24px 0; padding: 10px; border: 1px dashed var(--trh-border); border-radius: 8px; text-align: center; min-height: 90px; clear: both; }
.trh-ad__label { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--trh-muted); margin-bottom: 6px; }

@media (max-width: 1100px) {
  .trh-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trh-hero__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .trh-grid--2, .trh-grid--2-1, .trh-calc, .trh-summary { grid-template-columns: minmax(0, 1fr); }
  .trh-tools, .trh-articles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trh-explorer__form { grid-template-columns: 1fr 1fr; }
  .trh-explorer__form .trh-field--checks { grid-column: 1 / -1; }
  .trh-trust { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .trh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .trh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trh-card { padding: 12px; }
  .trh-card__value { font-size: 1.5rem; }
  .trh-tools, .trh-articles { grid-template-columns: minmax(0, 1fr); }
  .trh-hero__inner { padding: 40px 16px 28px; }
  .trh-hero__strip { padding: 14px 16px; gap: 12px; }
  .trh-explorer__form { grid-template-columns: minmax(0, 1fr); }
  .trh-summary__value { font-size: 2.4rem; }
  .trh-table th, .trh-table td { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .trh-sr-only, .trh-chart * { transition: none !important; animation: none !important; }
}
@media print {
  .trh-range, .trh-table-tools, .trh-ad, .trh-explorer__form, .trh-calc__actions { display: none !important; }
}
