#b9-overview {
  --ov-green:#96c635;
  --ov-ink:#1b2027;
  --ov-muted:#6b7280;
  --ov-line:#e2e5e9;
  color:var(--ov-ink);
  max-width:1700px;
  margin:32px auto 60px;
  font-family:'Nunito Sans',sans-serif;
}

#b9-overview * {
  box-sizing:border-box;
}

#b9-overview h1,#b9-overview h2,#b9-overview h3,#b9-overview h4 {
  color:var(--ov-ink);
  margin:0;
}

#b9-overview h1,#b9-overview .ov-focus h2,#b9-overview .ov-section-header h2,#b9-overview .ov-number,#b9-overview .ov-focus-number {
  font-family:Impact,'Arial Narrow',sans-serif;
  font-style:italic;
  font-weight:900;
  letter-spacing:-.025em;
}

#b9-overview h1 {
  font-size:clamp(28px,2.7vw,48px);
  text-transform:uppercase;
  line-height:1.15;
}

#b9-overview h1 span {
  color:#608719;
}

#b9-overview p {
  margin:0 0 12px;
  line-height:1.5;
}

#b9-overview small {
  color:var(--ov-muted);
  line-height:1.5;
}

#b9-overview button {
  font:inherit;
  cursor:pointer;
}

#b9-overview button:focus-visible,#b9-overview input:focus-visible,#b9-overview select:focus-visible,#b9-overview [tabindex]:focus-visible {
  outline:3px solid #709e20;
  outline-offset:3px;
}

#b9-overview .ov-eyebrow {
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  font-weight:800;
  color:#66734f;
  margin-bottom:9px;
}

#b9-overview .ov-greeting {
  display:flex;
  gap:24px;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:26px;
}

#b9-overview .ov-greeting p:last-child {
  color:var(--ov-muted);
  margin:9px 0 0;
}

#b9-overview .ov-opening {
  text-align:right;
  font-size:13px;
  color:var(--ov-muted);
}

#b9-overview .ov-opening small {
  display:block;
  margin-top:7px;
  font-size:11px;
}

#b9-overview .ov-focus {
  background:linear-gradient(115deg,#18390b,#0b170b);
  color:#fff;
  border-radius:18px;
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:38px;
  padding:30px 32px;
  margin-bottom:24px;
  align-items:center;
}

#b9-overview .ov-focus-bronze {
  background:linear-gradient(115deg,#50331e,#17110c);
  --ov-focus-accent:#e3ac77;
}

#b9-overview .ov-focus-silver {
  background:linear-gradient(115deg,#434b5a,#11171e);
  --ov-focus-accent:#d9e0ee;
}

#b9-overview .ov-focus-gold {
  background:linear-gradient(115deg,#473400,#0b0d09);
  --ov-focus-accent:#f3ca4d;
}

#b9-overview .ov-focus-platinum {
  background:linear-gradient(115deg,#184f59,#0b171b);
  --ov-focus-accent:#89dce5;
}

#b9-overview .ov-focus-member {
  --ov-focus-accent:#a2d340;
}

#b9-overview .ov-focus-tag {
  display:inline-block;
  background:var(--ov-focus-accent);
  color:#111;
  font-size:11px;
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.13em;
  padding:7px 10px;
  border-radius:5px;
  margin-bottom:16px;
}

#b9-overview .ov-focus h2 {
  font-size:clamp(25px,2.5vw,43px);
  color:white;
  text-transform:uppercase;
  line-height:1.15;
  margin-bottom:12px;
}

#b9-overview .ov-focus p:not(.ov-focus-tag) {
  color:#e1e5db;
  font-size:14px;
  margin-bottom:0;
}

#b9-overview .ov-focus-number {
  color:var(--ov-focus-accent);
  font-size:64px;
  line-height:1.1;
  margin-bottom:12px;
}

#b9-overview .ov-focus-number small {
  color:#d2d8ce;
  font:400 16px 'Nunito Sans',sans-serif;
  letter-spacing:0;
}

#b9-overview .ov-track {
  height:8px;
  background:#edf0f3;
  overflow:hidden;
  border-radius:20px;
  min-width:20px;
}

#b9-overview .ov-track>span {
  display:block;
  height:100%;
  background:var(--ov-green);
  border-radius:inherit;
}

#b9-overview .ov-focus .ov-track {
  height:13px;
  background:#ffffff26;
}

#b9-overview .ov-focus .ov-track>span {
  background:linear-gradient(90deg,var(--ov-focus-accent),#fff3b1);
}

#b9-overview .ov-scale {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  color:#d2d8ce;
  margin:9px 0 17px;
  gap:5px;
}

#b9-overview .ov-focus .ov-focus-note {
  font-size:12px;
}

#b9-overview .ov-card {
  background:#fff;
  border:1px solid var(--ov-line);
  border-radius:14px;
  box-shadow:0 1px 3px #1b202709;
}

#b9-overview .ov-metrics {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:24px;
}

#b9-overview .ov-metric {
  padding:23px;
  display:flex;
  flex-direction:column;
  min-height:234px;
}

#b9-overview .ov-metric h2 {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-weight:900;
  color:var(--ov-muted);
  margin-bottom:12px;
}

#b9-overview .ov-number {
  font-size:clamp(28px,3.05vw,52px);
  line-height:1.15;
  overflow-wrap:anywhere;
  margin-bottom:10px;
}

#b9-overview .ov-metric p {
  font-size:12px;
  color:var(--ov-muted);
  margin-bottom:9px;
}

#b9-overview .ov-text-button {
  border:0;
  padding:0;
  background:none;
  color:#608719;
  font-weight:900;
  font-size:12px;
  text-align:left;
  margin-top:auto;
  align-self:flex-start;
}

#b9-overview .ov-month-bars {
  display:grid;
  gap:8px;
  margin-top:auto;
}

#b9-overview .ov-month-bars>div {
  display:grid;
  grid-template-columns:30px 1fr auto;
  align-items:center;
  gap:7px;
  font-size:10px;
}

#b9-overview .ov-month-bars>div>span {
  color:var(--ov-muted);
}

#b9-overview .ov-month-bars strong {
  min-width:52px;
  text-align:right;
  font-size:11px;
}

#b9-overview .ov-month-bars .ov-track {
  height:6px;
}

#b9-overview .ov-sparkline {
  margin-top:auto;
  height:58px;
}

#b9-overview .ov-sparkline svg {
  width:100%;
  height:100%;
  overflow:visible;
}

#b9-overview .ov-positive {
  color:#608719;
}

#b9-overview .ov-negative {
  color:#b2432c;
}

#b9-overview .ov-pill {
  display:inline-flex;
  align-items:center;
  border-radius:20px;
  background:#edf3e3;
  color:#516f20;
  padding:4px 8px;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.03em;
  max-width:100%;
}

#b9-overview .ov-main-grid {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  gap:20px;
  align-items:stretch;
  margin-bottom:32px;
}

#b9-overview .ov-race,#b9-overview .ov-trophies {
  padding:23px;
  min-width:0;
}

#b9-overview .ov-section-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

#b9-overview .ov-section-header h2,#b9-overview .ov-dialog h2 {
  font-size:27px;
  text-transform:uppercase;
}

#b9-overview .ov-section-header p {
  font-size:13px;
  color:var(--ov-muted);
  margin:5px 0 0;
}

#b9-overview .ov-filters {
  display:flex;
  gap:3px;
  flex-wrap:wrap;
  background:#f1f3f6;
  border:1px solid var(--ov-line);
  border-radius:20px;
  padding:3px;
}

#b9-overview .ov-filters button {
  border:0;
  background:transparent;
  border-radius:18px;
  font-size:10px;
  font-weight:800;
  padding:7px 10px;
  color:#69717f;
}

#b9-overview .ov-filters button[aria-pressed=true] {
  color:white;
  background:#101510;
}

#b9-overview .ov-race {
  display:flex;
  flex-direction:column;
}

#b9-overview .ov-race-summary {
  background:#f0f7e3;
  border:1px solid #d6e7b3;
  border-radius:10px;
  padding:14px;
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:16px;
  font-size:12px;
  min-height:74px;
}

#b9-overview .ov-race-summary>strong {
  font:italic 900 36px Impact,sans-serif;
  color:#638a1c;
}

#b9-overview .ov-table-scroll {
  flex:1;
  min-height:440px;
  height:0;
  overflow:auto;
  overscroll-behavior:contain;
}

#b9-overview .ov-table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:12px;
  color:var(--ov-ink);
}

#b9-overview .ov-table th {
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:900;
  color:#7c8591;
  background:#fff;
  position:sticky;
  top:0;
  z-index:1;
}

#b9-overview .ov-table th,#b9-overview .ov-table td {
  padding:12px 7px;
  border-bottom:1px solid #eef0f2;
  vertical-align:middle;
}

#b9-overview .ov-table th:nth-child(3),#b9-overview .ov-table td:nth-child(3) {
  text-align:right;
}

#b9-overview .ov-own-row td {
  background:#f1f8e5;
  font-weight:800;
}

#b9-overview .ov-table td:nth-child(2) {
  min-width:130px;
}

#b9-overview .ov-club-cell {
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}

#b9-overview .ov-to-go {
  min-width:65px;
  font-size:10px;
  color:var(--ov-muted);
}

#b9-overview .ov-to-go .ov-track {
  height:4px;
  margin-top:5px;
}

#b9-overview .ov-gap-row td {
  text-align:center;
  color:var(--ov-muted);
  padding:7px;
}

#b9-overview .ov-group-row td {
  font-weight:900;
  font-size:11px;
  background:#f6f7f9;
}

#b9-overview .ov-footnote {
  font-size:10px;
  color:var(--ov-muted);
  margin:14px 0 0;
}

#b9-overview .ov-dark-button {
  background:#101510;
  color:#fff;
  border:0;
  border-radius:30px;
  font-size:10px;
  font-weight:800;
  padding:10px 12px;
}

#b9-overview .ov-muted {
  font-size:12px;
  color:var(--ov-muted);
}

#b9-overview .ov-award {
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  align-items:start;
  gap:14px;
  background:#fafbfc;
  border:1px solid var(--ov-line);
  border-radius:12px;
  padding:17px;
  margin-top:13px;
}

#b9-overview .ov-award-earned {
  background:linear-gradient(115deg,#f4f9e9,#fff);
  border-color:#d4e4af;
}

#b9-overview .ov-award h3 {
  font-size:15px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  font-weight:900;
  margin-bottom:9px;
}

#b9-overview .ov-award p {
  font-size:12px;
  color:#69717f;
  margin-bottom:8px;
}

#b9-overview .ov-award small {
  display:block;
  font-size:10px;
}

#b9-overview .ov-badge {
  display:inline-flex;
  position:relative;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:60px;
  height:68px;
  border-radius:15px;
  background:linear-gradient(135deg,#c5df8d,#7da832);
  border:2px solid #a5c95e;
  box-shadow:inset 0 0 0 3px #ffffff40,inset 0 -5px 9px #0002,0 3px 5px #0001;
  color:#fff;
  text-shadow:0 1px 2px #0003;
  font:italic 900 26px Impact,sans-serif;
}

#b9-overview .ov-metal-bronze {
  background:linear-gradient(135deg,#ecc9a9,#ad7243);
  border-color:#c79870;
}

#b9-overview .ov-metal-silver {
  background:linear-gradient(135deg,#eff1f7,#8d96a9);
  border-color:#c8ced9;
}

#b9-overview .ov-metal-gold {
  background:linear-gradient(135deg,#f5d66c,#b58c1d);
  border-color:#e0b848;
}

#b9-overview .ov-metal-platinum {
  background:linear-gradient(135deg,#c5f5fa,#3c9cac);
  border-color:#86cfd8;
}

#b9-overview .ov-metal-locked {
  background:linear-gradient(135deg,#f3f4f7,#d9dce2);
  border-color:#e2e5eb;
  color:#a4aab4;
  text-shadow:none;
}

#b9-overview .ov-badge-small {
  width:25px;
  height:29px;
  border-radius:7px;
  font-size:12px;
  border-width:1px;
  box-shadow:inset 0 0 0 2px #ffffff40,0 2px 3px #0001;
}

#b9-overview .ov-levels {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:4px;
  margin:11px 0;
}

#b9-overview .ov-level {
  background:#fff!important;
  border:1px solid var(--ov-line);
  border-top:4px solid #d3dfb8;
  border-radius:8px;
  padding:7px 2px;
  text-align:center;
  opacity:.6;
  font-size:9px;
}

#b9-overview .ov-level.ov-metal-bronze {
  border-top-color:#c79870;
}

#b9-overview .ov-level.ov-metal-silver {
  border-top-color:#c8ced9;
}

#b9-overview .ov-level.ov-metal-gold {
  border-top-color:#e0b848;
}

#b9-overview .ov-level.ov-metal-platinum {
  border-top-color:#86cfd8;
}

#b9-overview .ov-level-earned {
  opacity:1;
  background:#f1f7e6!important;
}

#b9-overview .ov-level strong {
  display:block;
}

#b9-overview .ov-level small {
  font-size:9px;
  margin-top:3px;
}

#b9-overview .ov-growth-total {
  display:flex;
  align-items:baseline;
  gap:8px;
  margin:11px 0;
}

#b9-overview .ov-growth-total strong {
  font:italic 900 26px Impact,sans-serif;
}

#b9-overview .ov-growth-total span {
  font-size:10px;
  color:var(--ov-muted);
}

#b9-overview .ov-growth-track {
  position:relative;
  margin:13px 0 17px;
}

#b9-overview .ov-growth-track>span {
  position:absolute;
  top:-4px;
  height:16px;
  border-right:2px solid #967935;
  transform:translateX(-2px);
}

#b9-overview .ov-growth-targets {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;
  font-size:10px;
}

#b9-overview .ov-growth-targets span {
  display:block;
  margin-top:4px;
}

#b9-overview .ov-growth-targets small {
  font-size:9px;
}

#b9-overview .ov-pace {
  border-top:1px solid var(--ov-line);
  padding-top:9px;
  margin-top:12px;
}

#b9-overview .ov-jacket-years {
  display:flex;
  gap:7px 12px;
  flex-wrap:wrap;
  font-size:10px;
  color:var(--ov-muted);
  margin:12px 0;
}

#b9-overview .ov-win-section {
  margin:23px 0;
}

#b9-overview .ov-win-section>h3 {
  font-size:17px;
  font-weight:900;
  margin-bottom:12px;
}

#b9-overview .ov-win-section>h3 small {
  display:inline-block;
  font-size:11px;
  font-weight:400;
  margin-left:10px;
}

#b9-overview .ov-win-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}

#b9-overview .ov-win {
  padding:18px;
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}

#b9-overview .ov-win h4 {
  font-size:13px;
  font-weight:900;
  overflow-wrap:anywhere;
}

#b9-overview .ov-win p {
  font-size:11px;
  color:var(--ov-muted);
  margin:5px 0 0;
}

#b9-overview .ov-empty {
  padding:24px;
  border:1px dashed #d1d8c8;
  border-radius:12px;
  color:var(--ov-muted);
  font-size:13px;
}

#b9-overview .ov-dialog {
  width:min(1000px,94vw);
  max-height:90vh;
  border:1px solid var(--ov-line);
  border-radius:18px;
  padding:25px;
  color:var(--ov-ink);
  background:white;
  box-shadow:0 20px 100px #0003;
  overflow:auto;
}

#b9-overview .ov-dialog::backdrop {
  background:#101b19a8;
}

#b9-overview .ov-dialog-head {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  margin-bottom:20px;
}

#b9-overview .ov-dialog h2 {
  font-size:25px;
  font-weight:900;
}

#b9-overview .ov-close {
  border:1px solid var(--ov-line);
  border-radius:50%;
  width:34px;
  height:34px;
  flex-shrink:0;
  background:#f5f6f8;
  font-size:23px;
  line-height:1;
}

#b9-overview .ov-dialog-filters {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:17px;
}

#b9-overview .ov-dialog-filters label {
  font-size:11px;
  font-weight:800;
  display:grid;
  gap:6px;
}

#b9-overview .ov-dialog-scroll {
  max-height:52vh;
  overflow:auto;
  overscroll-behavior:contain;
}

#b9-overview .ov-transaction-summary {
  padding:18px 0;
  font-size:14px;
}

#b9-overview .ov-categories {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 15px;
}

#b9-overview .ov-categories>span {
  background:#f2f6e9;
  border-radius:6px;
  padding:7px 10px;
  font-size:11px;
}

#b9-overview .ov-transaction-amount {
  white-space:nowrap;
  text-align:right;
  font-variant-numeric:tabular-nums;
}

@media(min-width:1600px) {
  #b9-overview .ov-race,#b9-overview .ov-trophies {
    padding:27px;
  }
  #b9-overview .ov-table {
    font-size:13px;
  }
}

@media(max-width:1199px) {
  #b9-overview .ov-main-grid {
    grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  }
  #b9-overview .ov-metric {
    padding:17px;
  }
  #b9-overview .ov-award {
    grid-template-columns:43px minmax(0,1fr);
    gap:10px;
    padding:13px;
  }
  #b9-overview .ov-award>.ov-badge {
    width:42px;
    height:49px;
    font-size:21px;
    border-radius:11px;
  }
  #b9-overview .ov-race,#b9-overview .ov-trophies {
    padding:17px;
  }
  #b9-overview .ov-win-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:991px) {
  #b9-overview .ov-metrics {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #b9-overview .ov-number {
    font-size:42px;
  }
  #b9-overview .ov-main-grid {
    grid-template-columns:1fr;
  }
  #b9-overview .ov-table-scroll {
    height:auto;
    max-height:650px;
    min-height:200px;
  }
  #b9-overview .ov-greeting {
    display:block;
  }
  #b9-overview .ov-opening {
    text-align:left;
    margin-top:14px;
  }
  #b9-overview .ov-focus {
    gap:24px;
    padding:25px;
  }
  #b9-overview .ov-focus-number {
    font-size:52px;
  }
  #b9-overview .ov-focus-number small {
    font-size:12px;
  }
}

@media(max-width:575px) {
  #b9-overview {
    margin:22px auto 40px;
  }
  #b9-overview .ov-focus {
    grid-template-columns:1fr;
    padding:22px;
    gap:18px;
  }
  #b9-overview .ov-focus h2 {
    font-size:30px;
  }
  #b9-overview .ov-metrics {
    gap:10px;
  }
  #b9-overview .ov-metric {
    padding:15px;
    min-height:218px;
  }
  #b9-overview .ov-metric h2 {
    font-size:9px;
    letter-spacing:.08em;
  }
  #b9-overview .ov-number {
    font-size:31px;
  }
  #b9-overview .ov-metric p {
    font-size:10px;
  }
  #b9-overview .ov-month-bars>div {
    grid-template-columns:24px 1fr;
    gap:4px;
  }
  #b9-overview .ov-month-bars strong {
    grid-column:2;
    font-size:10px;
  }
  #b9-overview .ov-win-grid {
    grid-template-columns:1fr;
  }
  #b9-overview .ov-table {
    font-size:10px;
  }
  #b9-overview .ov-table td,#b9-overview .ov-table th {
    padding:10px 4px;
  }
  #b9-overview .ov-table td:nth-child(2) {
    min-width:105px;
  }
  #b9-overview .ov-table-scroll {
    margin:0 -7px;
  }
  #b9-overview .ov-dialog {
    padding:18px;
  }
  #b9-overview .ov-dialog-filters {
    grid-template-columns:1fr;
    gap:10px;
  }
  #b9-overview .ov-dialog h2 {
    font-size:20px;
  }
  #b9-overview .ov-section-header h2 {
    font-size:25px;
  }
  #b9-overview .ov-level {
    font-size:8px;
  }
  #b9-overview .ov-growth-targets {
    font-size:9px;
  }
}

@media(prefers-reduced-motion:reduce) {
  #b9-overview * {
    scroll-behavior:auto!important;
  }
}

/* The portal theme pads every section;
the dashboard owns its section spacing. */ #b9-overview .ov-metrics,#b9-overview .ov-wins {
  padding:0;
}

#b9-overview .ov-race {
  min-height:620px;
}

#b9-overview .ov-table-scroll {
  flex:1 1 0px;
  min-height:0;
}

#b9-overview .ov-badge>span {
  display:flex;
  align-items:center;
  justify-content:center;
  width:75%;
  height:75%;
}

#b9-overview .ov-badge svg {
  display:block;
  width:100%;
  height:100%;
}

@media(max-width:991px) {
  #b9-overview .ov-race {
    min-height:0;
  }
  #b9-overview .ov-table-scroll {
    flex:none;
    min-height:200px;
    height:auto;
    max-height:650px;
  }
}

#b9-overview .ov-dialog .ov-table th:nth-child(3),#b9-overview .ov-dialog .ov-table td:nth-child(3) {
  text-align:left;
}

#b9-overview [data-ov-dialog=transactions] .ov-table th:last-child {
  white-space:nowrap;
  text-align:right;
}

