/* The private rate report, in full and single-account views. */
.gic-rate-report-page { --gic-report-pad: clamp(14px, 2.5vw, 32px); }
.gic-rate-report-page .gic-rate-report-hero { padding-block: clamp(24px,3.4vw,46px) clamp(40px,5.2vw,72px); }
.gic-rate-report-page .gic-rate-report-intro { display: block; }
.gic-rate-report-intro .eyebrow { margin-bottom: 10px; }
.gic-rate-report-intro h1 { margin-bottom: 8px; font-size: clamp(2.7rem,5.2vw,4.75rem); }
.gic-rate-report-page .gic-rate-report-intro .hero-lead { margin: 0; font-size: 1rem; line-height: 1.55; }
.gic-rate-report-page .weekly-rate-report { margin-top: clamp(20px,2.7vw,34px); }
.gic-rate-report-page .weekly-rate-heading { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 5px 20px; padding: 15px var(--gic-report-pad); }
.gic-rate-report-page .weekly-rate-heading h2 { font-family: var(--serif); font-size: clamp(1.3rem,2.4vw,1.75rem); font-weight: 400; line-height: 1.2; }
.gic-report-date { margin: 0; color: #45544a; font-size: .875rem; font-weight: 650; }
.gic-report-date time { color: var(--forest-deep); font-weight: 750; }
.gic-rate-report-page .rate-freshness-note { padding: 10px var(--gic-report-pad); font-size: .875rem; line-height: 1.45; }

[data-gic-rate-display][hidden] { display: none; }
.gic-top-rate-callout { display: grid; align-items: center; grid-template-columns: minmax(0,.95fr) minmax(0,1.6fr); gap: 16px clamp(18px,3vw,40px); padding: 17px var(--gic-report-pad); color: var(--white); background: var(--forest); }
.gic-top-rate-number { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(12px,2vw,24px); }
.gic-top-rate-number p { max-width: 14ch; margin: 0; color: #d7e7d9; font-size: .875rem; font-weight: 750; line-height: 1.35; }
.gic-top-rate-number > strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem,4.4vw,4.1rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.gic-top-rate-number small { margin-left: 3px; font-size: .48em; font-weight: 400; vertical-align: .38em; }
.gic-top-rate-details { display: grid; grid-template-columns: auto minmax(0,1.1fr) minmax(0,1fr); gap: 8px clamp(12px,3vw,38px); margin: 0; }
.gic-top-rate-details dt { color: #d7e7d9; font-size: .875rem; font-weight: 750; }
.gic-top-rate-details dd { margin: 2px 0 0; color: var(--white); font-weight: 700; line-height: 1.35; }

.gic-rate-report-page .term-rate-heading { padding: 17px var(--gic-report-pad) 12px; }
.gic-rate-report-page .term-rate-heading h3 { font-size: clamp(1.25rem,2.4vw,1.65rem); }
.gic-rate-report-page .term-rate-actions { gap: 12px 22px; padding: 15px var(--gic-report-pad); }
.gic-rate-report-page .term-rate-actions p { font-size: .875rem; }
.gic-rate-report-page .term-rate-actions .button { min-height: 44px; padding: 9px 16px; }
.gic-rate-report-page .rate-report-note { padding: 13px var(--gic-report-pad); color: #59655f; font-size: .8125rem; }

.gic-account-picker { display: none; margin: 0 var(--gic-report-pad) 10px; }
.gic-account-picker label { color: var(--forest-deep); font-size: .875rem; font-weight: 750; }
.gic-account-select { position: relative; display: block; }
.gic-account-select::after { position: absolute; top: 15px; right: 16px; width: 9px; height: 9px; border: solid var(--forest); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; content: ""; }
.gic-account-select select { appearance: none; width: 100%; min-height: 44px; padding: 8px 39px 8px 12px; border: 1px solid #94a597; border-radius: 0; color: var(--forest-deep); background: var(--stone); font: inherit; font-weight: 650; }
.gic-rate-matrix-wrap { margin: 0 calc(var(--gic-report-pad) - 4px) 12px; }
.gic-rate-matrix { width: 100%; table-layout: fixed; border-spacing: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.gic-rate-matrix th, .gic-rate-matrix td { padding: 10px 6px; }
.gic-rate-matrix .term-heading, .gic-rate-matrix .group-heading, .gic-rate-matrix tbody th { color: var(--white); background: #5f655f; font-size: .9rem; font-weight: 750; }
.gic-rate-matrix .minimum-heading { color: var(--forest-deep); font-size: .875rem; font-weight: 750; line-height: 1.25; }
.gic-rate-matrix .minimum-heading small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 550; }
.gic-rate-matrix .minimum-heading.nonreg { background: #c8cac9; }
.gic-rate-matrix .minimum-heading.rrsp { background: #b2c2a8; }
.gic-rate-matrix .minimum-heading.tfsa { background: #ccb19a; }
.gic-rate-matrix td.nonreg { background: #e7e8e7; }
.gic-rate-matrix td.rrsp { background: #e1e8dd; }
.gic-rate-matrix td.tfsa { background: #eee0d4; }
.gic-rate-matrix td strong { color: var(--forest-deep); }
.gic-rate-report-page #rate-updates { padding-block: clamp(44px,6vw,82px); border-block: 1px solid var(--line); }
.gic-signup-preview-note { margin: 14px 0 0; color: #59655f; font-size: .875rem; font-weight: 650; }
.gic-rate-report-page .site-footer a[href^="mailto:"] { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .gic-account-picker:not([hidden]) { display: grid; gap: 4px; max-width: 22rem; }
}
@media (max-width: 640px) {
  .gic-top-rate-callout { grid-template-columns: minmax(0,.74fr) minmax(0,1.26fr); gap: 12px; }
  .gic-top-rate-number p { margin-bottom: 3px; }
  .gic-top-rate-details { grid-template-columns: 1fr; gap: 5px; }
  .gic-top-rate-details > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
  .gic-top-rate-details dd { margin: 0; font-size: .875rem; }
  .gic-rate-matrix th, .gic-rate-matrix td { padding: 9px 4px; }
}
