/* ═══════════════════════════════════════════════════════════════
   Visio Wealth — Portfolio Page Styles
   Paste into WP Admin → Appearance → Customize → Additional CSS
═══════════════════════════════════════════════════════════════ */

/* ── CSS variables used by inline styles in page content ── */
:root {
  --muted:    #9AACB4;
  --gold:     #B8952A;
  --gold-lt:  #d4aa44;
  --green:    #5ABF8A;
  --red:      #E07070;
  --text:     #EDE8D5;
  --border:   rgba(184,149,42,0.20);
}

/* ── Dark page background for portfolio pages ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336):not(.page-id-2363) {
  background-color: #0f1e28 !important;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wp-site-blocks,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .is-layout-constrained,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wp-block-post-content,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .entry-content {
  background-color: #0f1e28 !important;
}

/* ── Re-lighten site header ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336):not(.page-id-2363) .wp-block-group.is-position-sticky {
  background-color: #f5efdd !important;
}

/* ── Re-lighten site footer ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .site-footer-container,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .site-footer-container .wp-block-group {
  background-color: #223b48 !important;
}

/* ── Content area groups transparent so vw-main shows ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .entry-content .wp-block-group {
  background-color: transparent !important;
}

/* ── Hide "Protected:" title and stale footer ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wp-block-post-title { display: none !important; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .vw-footer { display: none !important; }

/* ── Override theme content width ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .entry-content,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wp-block-post-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow-x: clip !important;
  background: transparent !important;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* ── Header bar ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .vw-header {
  background: #f5efdd;
  border-bottom: 1px solid rgba(34,59,72,0.15);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100% !important;
  box-sizing: border-box !important;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .vw-family-name {
  font-size: 20px;
  font-weight: 600;
  color: #223b48;
  letter-spacing: 0.03em;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .vw-as-of {
  font-size: 12px;
  color: #666;
  letter-spacing: 0.04em;
}

/* ── Main content area ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .vw-main {
  background: #0f1e28;
  padding: 32px 40px 48px;
  color: #EDE8D5;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: clip;
  font-size: var(--wp--preset--font-size--small) !important;
}

/* ── Tabs ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(184,149,42,0.20);
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tab-btn {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 20px;
  border: 1px solid rgba(184,149,42,0.30);
  border-radius: 6px;
  background: rgba(184,149,42,0.05);
  color: #9AACB4;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-transform: uppercase;
  margin-bottom: 4px;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tab-btn:hover {
  color: #EDE8D5;
  border-color: rgba(184,149,42,0.60);
  background: rgba(184,149,42,0.10);
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tab-btn.active {
  color: #d4aa44;
  border-color: #B8952A;
  background: rgba(184,149,42,0.14);
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tab-panel { display: none; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tab-panel.active { display: block; }

/* ── Summary cards ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .s-card {
  background: #1a3448;
  border: 1px solid rgba(184,149,42,0.20);
  border-radius: 10px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .s-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8B7020, #d4aa44, transparent);
  opacity: 0.6;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .s-card .lbl {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #9AACB4;
  margin-bottom: 10px;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .s-card .val {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: #EDE8D5;
  word-break: break-word;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .s-card .sub { font-size: 12px; margin-top: 6px; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .pos { color: #5ABF8A; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .neg { color: #E07070; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .gld { color: #d4aa44; }

/* ── Section headings ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .sec-title {
  font-size: 12px;
  font-weight: 600;
  color: #B8952A;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(184,149,42,0.20);
}

/* ── Holdings table ── */

/* ── Simple table (member summary in Family Total tab) ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(184,149,42,0.20);
  margin-bottom: 32px;
  background: #132030;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap thead th {
  background: #1c3444;
  color: #9AACB4;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 14px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid rgba(184,149,42,0.20);
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap thead th.left { text-align: left; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap tbody tr {
  background: #132030;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.12s;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap tbody tr:last-child { border-bottom: none; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap tbody tr:hover { background: rgba(184,149,42,0.08); }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap td {
  padding: 10px 14px;
  text-align: right;
  vertical-align: middle;
  color: #EDE8D5;
  font-size: 13px;
  font-weight: 400;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap td.left { text-align: left; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap tr.grand td {
  background: rgba(184,149,42,0.12);
  font-weight: 500;
  font-size: 13px;
  border-top: 1px solid rgba(184,149,42,0.30);
  color: #d4aa44;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap tr.grand td.left {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════════════════════
   Waterfall accordion table
═══════════════════════════════════════════════════════ */

body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .sec-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(184,149,42,0.20);
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .sec-title-bar .sec-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .expand-btn {
  background: transparent;
  border: 1px solid rgba(184,149,42,0.25);
  border-radius: 6px;
  color: #9AACB4;
  font-size: 11px;
  padding: 4px 12px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .expand-btn:hover {
  color: #d4aa44;
  border-color: #B8952A;
}

/* Grid columns */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-wrap { border: 1px solid rgba(184,149,42,0.20); border-radius: 10px; overflow: hidden; margin-bottom: 32px; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-header,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand {
  display: grid;
  grid-template-columns: 1fr 60px 120px 120px 110px 95px 95px;
  align-items: center;
}

/* Header */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-header {
  background: #1c3444;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(184,149,42,0.20);
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-header span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9AACB4;
  text-align: right;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-header span:first-child { text-align: left; }

/* AMC row */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc {
  padding: 12px 14px;
  background: rgba(184,149,42,0.10);
  border-bottom: 1px solid rgba(184,149,42,0.15);
  cursor: pointer;
  transition: background 0.15s;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc:hover { background: rgba(184,149,42,0.16); }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc .name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #d4aa44;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc .val { text-align: right; font-weight: 700; font-size: 12.5px; color: #d4aa44; }

/* Folio group */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio-group { display: none; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio-group.open { display: block; }

/* Folio row */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio {
  padding: 10px 14px 10px 34px;
  background: rgba(26,52,72,0.60);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background 0.12s;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio:hover { background: rgba(184,149,42,0.06); }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio .name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9AACB4;
  font-size: 12px;
  font-weight: 400;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio .val { text-align: right; color: #EDE8D5; font-size: 12px; font-weight: 400; }

/* Scheme group */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme-group { display: none; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme-group.open { display: block; }

/* Scheme row */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme {
  padding: 9px 14px 9px 56px;
  background: rgba(15,30,40,0.50);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme .name { color: #BFD0D8; font-size: 11.5px; font-style: italic; font-weight: 400; line-height: 1.4; padding-right: 10px; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme .val { text-align: right; color: #BFD0D8; font-size: 11.5px; font-style: italic; font-weight: 400; }

/* Shared pos/neg/val */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc .pos, body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand .pos { text-align: right; color: #5ABF8A; font-weight: 700; font-size: 12.5px; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio .pos { text-align: right; color: #5ABF8A; font-weight: 400; font-size: 12px; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme .pos { text-align: right; color: #5ABF8A; font-weight: 400; font-size: 11.5px; font-style: italic; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc .neg, body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand .neg { text-align: right; color: #E07070; font-weight: 700; font-size: 12.5px; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio .neg { text-align: right; color: #E07070; font-weight: 400; font-size: 12px; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme .neg { text-align: right; color: #E07070; font-weight: 400; font-size: 11.5px; font-style: italic; }

/* Grand total rows */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand {
  padding: 13px 14px;
  background: rgba(184,149,42,0.12);
  border-top: 1px solid rgba(184,149,42,0.30);
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand .name {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #d4aa44;
  font-weight: 700;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand .val { text-align: right; font-weight: 700; font-size: 12.5px; color: #d4aa44; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand .pos { font-size: 12.5px !important; font-weight: 700 !important; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand .neg { font-size: 12.5px !important; font-weight: 700 !important; }

/* Chevron */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .chevron {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #B8952A;
  border-bottom: 2px solid #B8952A;
  transform: rotate(-45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  position: relative;
  top: -2px;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .chevron.open { transform: rotate(45deg); top: 0; }

/* Mobile — hide last 2 cols, remove indent padding, use border indent instead */
@media (max-width: 599px) {
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-header,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand { grid-template-columns: 1fr 50px 95px 95px 85px; }
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-header span:nth-child(6),
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-header span:nth-child(7),
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc div:nth-child(6),
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc div:nth-child(7),
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio div:nth-child(6),
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio div:nth-child(7),
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme div:nth-child(6),
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme div:nth-child(7),
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand div:nth-child(6),
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand div:nth-child(7) { display: none; }
  /* Replace left-padding indent with left-border indent on mobile */
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio { padding-left: 10px !important; border-left: 3px solid rgba(184,149,42,0.30); }
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme { padding-left: 10px !important; border-left: 3px solid rgba(184,149,42,0.15); }
}

body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .bench-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .b-card {
  background: #1a3448;
  border: 1px solid rgba(184,149,42,0.20);
  border-radius: 10px;
  padding: 18px 20px;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .b-card .b-lbl {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9AACB4;
  margin-bottom: 10px;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .b-card .b-val {
  font-size: 20px;
  font-weight: 600;
  color: #EDE8D5;
  word-break: break-word;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .b-card .b-vs { font-size: 12px; margin-top: 6px; }

/* ── WP password form — dark theme ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .post-password-form {
  background: #1a3448;
  border: 1px solid rgba(184,149,42,0.20);
  border-radius: 10px;
  padding: 32px 40px;
  max-width: 420px;
  margin: 60px auto;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .post-password-form p:first-child {
  color: #9AACB4;
  font-size: 13px;
  margin-bottom: 20px;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .post-password-form label {
  display: block;
  color: #9AACB4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .post-password-form input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  background: #0f1e28;
  border: 1px solid rgba(184,149,42,0.30);
  border-radius: 8px;
  color: #EDE8D5;
  font-size: 15px;
  box-sizing: border-box;
  margin-bottom: 16px;
  outline: none;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .post-password-form input[type="password"]:focus {
  border-color: #B8952A;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .post-password-form input[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #223b48;
  color: #EDE8D5;
  border: 1px solid rgba(184,149,42,0.40);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .post-password-form input[type="submit"]:hover {
  background: #B8952A;
  color: #fff;
}

/* ── Family summary table colours + consistent font ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap td.pos { color: #5ABF8A !important; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap td.neg { color: #E07070 !important; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap td.gld { color: #d4aa44 !important; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap td,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap .amc-cell,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap .folio-cell,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap .scheme-cell { font-size: 13px !important; font-weight: 400; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tbl-wrap tr.grand td { font-size: 13px !important; font-weight: 500; }


/* ── Fix 6: Horizontal scroll on waterfall table ── */
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-wrap { overflow-x: auto !important; }
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-header,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme,
body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand { min-width: 680px; }

@media (max-width: 599px) {
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-header,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-grand { min-width: 500px; }
}


/* ── Fix 7: Scheme name wrapping on mobile ── */
@media (max-width: 599px) {
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-scheme .name,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-amc .name,
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .wf-folio .name {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
  }
}


/* ── Responsive ── */
@media (max-width: 599px) {
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .vw-header    { padding: 14px 16px; flex-direction: column; text-align: center; gap: 6px; }
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .vw-main      { padding: 16px 16px 32px; }
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .summary-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .bench-grid   { grid-template-columns: 1fr; }
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .tab-btn      { padding: 8px 12px 9px; font-size: 11px; }
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .s-card .val  { font-size: 18px; }
  body:not(.home):not(.page-id-328):not(.page-id-93):not(.page-id-14):not(.page-id-203):not(.page-id-336) .s-card       { padding: 14px; }
}