/* ─────────────────────────────────────────────────────────────
   BeneDocuments — Public Stylesheet v2
───────────────────────────────────────────────────────────── */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --blue:#2f6bff;
  --blue-deep:#00164F;
  --blue-lt:#eff6ff;
  --blue-mid:#bfdbfe;
  --tan:#F3EBDD;
  --green:#059669;
  --green-lt:#ecfdf5;
  --gray-50:#f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-300:#cbd5e1;
  --gray-400:#94a3b8;
  --gray-500:#64748b;
  --gray-600:#475569;
  --gray-700:#334155;
  --gray-900:#0f172a;
  --r:14px;
  --r-sm:10px;
  --font:'Plus Jakarta Sans',system-ui,sans-serif;
  --mono:'DM Mono',ui-monospace,monospace;
  --shadow:0 2px 12px rgba(0,0,0,.07),0 1px 3px rgba(0,0,0,.04);
  --shadow-hover:0 8px 28px rgba(0,0,0,.12),0 2px 6px rgba(0,0,0,.06);
}

body{-webkit-font-smoothing:antialiased}

/* Scope everything so admin styles don't interfere */
.benedoc-main{
  max-width:860px;
  margin:0 auto;
  padding:32px 20px 80px;
  font-family:var(--font) !important;
  color:var(--gray-900) !important;
  font-size:16px !important;
  line-height:1.5 !important;
}
.benedoc-main *{font-family:inherit}

/* ── BACK LINK ────────────────────────────────────────────── */
.benedoc-main .bd-back{
  display:inline-flex;align-items:center;gap:5px;
  font-size:.8rem;font-weight:600;text-decoration:none;
  color:var(--gray-500);transition:color .15s;margin-bottom:20px;
}
.benedoc-main .bd-back:hover{color:var(--blue)}
.benedoc-main .bd-back--hero{color:rgba(255,255,255,.6);margin-bottom:16px}
.benedoc-main .bd-back--hero:hover{color:#fff}

/* ── ARCHIVE ──────────────────────────────────────────────── */
.benedoc-main .bd-archive-title{font-size:1.9rem;font-weight:800;letter-spacing:-.03em;margin-bottom:28px}
.benedoc-main .bd-cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
.benedoc-main .bd-cat-card{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:28px 16px 22px;background:#fff;border:none;border-radius:var(--r);
  text-decoration:none;color:var(--gray-900);box-shadow:var(--shadow);transition:all .2s ease;
}
.benedoc-main .bd-cat-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-3px)}
.benedoc-main .bd-cat-icon{font-size:2rem;margin-bottom:10px}
.benedoc-main .bd-cat-name{font-size:.88rem;font-weight:700;margin-bottom:4px}
.benedoc-main .bd-cat-count{font-size:.75rem;color:var(--gray-400)}

/* ── CATEGORY PAGE ────────────────────────────────────────── */
.benedoc-main .bd-cat-page-title{font-size:1.7rem;font-weight:800;letter-spacing:-.03em;margin-bottom:6px}
.benedoc-main .bd-cat-page-desc{font-size:.88rem;color:var(--gray-500);margin-bottom:28px}
.benedoc-main .bd-plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.benedoc-main .bd-plan-card{
  display:flex;flex-direction:column;background:#fff;border:none;
  border-radius:var(--r);padding:22px;text-decoration:none;color:var(--gray-900);
  box-shadow:var(--shadow);transition:all .2s ease;
}
.benedoc-main .bd-plan-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.benedoc-main .bd-plan-type{
  font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  color:var(--blue);background:var(--blue-lt);padding:3px 10px;border-radius:20px;
  display:inline-block;margin-bottom:10px;
}
.benedoc-main .bd-plan-card h3{font-size:.95rem;font-weight:700;margin-bottom:4px}
.benedoc-main .bd-plan-provider{font-size:.78rem;color:var(--gray-400);margin-bottom:10px}
.benedoc-main .bd-plan-price{font-size:.88rem;font-weight:700;color:var(--blue);margin-bottom:8px}
.benedoc-main .bd-plan-tagline{font-size:.78rem;color:var(--gray-500);line-height:1.5}

/* ═══════════════════════════════════════════════════════════
   SINGLE PLAN
═══════════════════════════════════════════════════════════ */
.benedoc-main .bd-single{display:flex;flex-direction:column;gap:20px}

/* ── HERO ─────────────────────────────────────────────────── */
.benedoc-main .bd-hero{
  position:relative;overflow:hidden;
  /* background-image injected via PHP inline style using BENEDOC_PLUGIN_URL */
  background-color:#0b1120; /* fallback if image not loaded */
  background-size:cover;
  background-position:center top;
  border-radius:var(--r);
  color:#fff;
  min-height:200px;
}
.benedoc-main .bd-hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(135deg, rgba(5,10,30,.75) 0%, rgba(15,8,35,.58) 100%);
  pointer-events:none;
}
.benedoc-main .bd-hero-inner{
  position:relative;z-index:1;
  padding:36px 40px 40px;
}
.benedoc-main .bd-plan-title{
  font-size:2.2rem !important;font-weight:800 !important;letter-spacing:-.04em !important;
  line-height:1.15 !important;margin-bottom:6px !important;
  color:#fff !important;
  text-shadow:0 2px 16px rgba(0,0,0,.5) !important;
  background:none !important;
  -webkit-text-fill-color:#fff !important;
}
.benedoc-main .bd-plan-provider{
  font-size:.82rem !important;color:rgba(255,255,255,.55) !important;margin-bottom:10px !important;
}
.benedoc-main .bd-plan-desc{
  font-size:.88rem;color:rgba(255,255,255,.75);
  line-height:1.6;max-width:560px;margin-bottom:16px;
}
.benedoc-main .bd-hero-price{
  display:flex;align-items:baseline;gap:8px;margin-top:8px;
}
.benedoc-main .bd-price-from{font-size:.78rem;color:rgba(255,255,255,.55)}
.benedoc-main .bd-price-val{
  font-size:2.2rem;font-weight:800;
  font-family:var(--mono);color:#fff;
}
.benedoc-main .bd-price-mo{font-size:.82rem;color:rgba(255,255,255,.55)}

/* ── SECTION SUBHEADS ─────────────────────────────────────── */
/* Pill-style colored label */
.benedoc-main .bd-section-head{
  display:inline-flex;align-items:center;gap:7px;
  font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.14em;
  color:var(--blue);margin-bottom:18px;
}
.benedoc-main .bd-section-head::before{
  content:'';width:3px;height:13px;
  background:var(--blue);border-radius:2px;display:inline-block;
}

/* ── RATE BLOCKS ──────────────────────────────────────────── */
.benedoc-main .bd-rate-block{
  background:#fff;border:none;border-radius:var(--r);
  box-shadow:var(--shadow);overflow:hidden;
}

/* Tier header — "Plan 1", "Option 1 – $10,000" */
.benedoc-main .bd-tier-header{
  padding:14px 22px 12px;
  border-bottom:1px solid var(--gray-100);
  background:var(--gray-50);
}
.benedoc-main .bd-tier-name{
  font-size:.9rem;font-weight:700;color:var(--gray-900);display:block;
}
.benedoc-main .bd-tier-sub{
  font-size:.75rem;color:var(--gray-500);margin-top:3px;display:block;line-height:1.4;
}

/* Rate cards — ALL identical, no highlight on Employee Only */
.benedoc-main .bd-rate-cards{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(130px, 1fr));
  gap:10px;
  padding:16px;
}
.benedoc-main .bd-rate-card{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:18px 12px 16px;
  border:1px solid var(--gray-200);border-radius:var(--r-sm);
  background:#fff;transition:box-shadow .15s,border-color .15s;
}
.benedoc-main .bd-rate-card:hover{
  box-shadow:var(--shadow-hover);border-color:var(--blue-mid);
}
.benedoc-main .bd-rate-emoji{font-size:1.5rem;margin-bottom:8px}
.benedoc-main .bd-rate-name{
  font-size:.72rem;font-weight:600;color:var(--gray-500);
  margin-bottom:8px;line-height:1.3;min-height:2em;
  display:flex;align-items:center;justify-content:center;
}
.benedoc-main .bd-rate-price{
  font-size:1.5rem;font-weight:800;
  font-family:var(--mono);color:var(--gray-900);
}
.benedoc-main .bd-rate-mo{font-size:.68rem;color:var(--gray-400);margin-top:2px}
.benedoc-main .bd-rate-na{
  padding:20px;font-size:.85rem;color:var(--gray-400);text-align:center;
}

/* Rate-based (STD) */
.benedoc-main .bd-rate-info{
  display:flex;align-items:flex-start;gap:14px;padding:22px;
}
.benedoc-main .bd-rate-info-icon{font-size:1.5rem;flex-shrink:0;margin-top:2px}
.benedoc-main .bd-rate-info-val{font-size:.95rem;font-weight:700;color:var(--gray-900);margin-bottom:4px}
.benedoc-main .bd-rate-info-sub{font-size:.78rem;color:var(--gray-500);line-height:1.5}

/* ── AGE PIVOT ────────────────────────────────────────────── */
.benedoc-main .bd-agepivot{padding:18px 22px 14px}
.benedoc-main .bd-agepivot-top{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;
}
.benedoc-main .bd-agepivot-top label{
  font-size:.82rem;font-weight:600;color:var(--gray-600);
}
.benedoc-main .bd-agepivot-top input{
  width:80px;padding:8px 12px;
  border:1.5px solid var(--gray-200);border-radius:8px;
  font-size:.9rem;font-family:var(--mono);font-weight:700;color:var(--gray-900);
  transition:border-color .15s,box-shadow .15s;background:#fff;
}
.benedoc-main .bd-agepivot-top input:focus{
  outline:none;border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(47,107,255,.12);
}
.benedoc-main .bd-agepivot-scroll{overflow-x:auto;padding-bottom:10px}
.benedoc-main .bd-agepivot-table{
  width:100%;border-collapse:collapse;font-size:.82rem;min-width:300px;
}
.benedoc-main .bd-agepivot-table thead th{
  padding:9px 14px;text-align:left;
  font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;
  color:var(--gray-400);border-bottom:2px solid var(--gray-100);white-space:nowrap;
  background:var(--gray-50);
}
.benedoc-main .bd-agepivot-table tbody tr{
  border-bottom:1px solid var(--gray-100);transition:background .12s;
}
.benedoc-main .bd-agepivot-table tbody tr:last-child{border:none}
.benedoc-main .bd-agepivot-table tbody td{
  padding:8px 14px;color:var(--gray-700);font-family:var(--mono);
}
.benedoc-main .bd-age-cell{
  font-family:var(--font) !important;
  font-weight:600 !important;color:var(--gray-500) !important;font-size:.78rem !important;
}
.benedoc-main .bd-agepivot-table tbody tr.bd-row-hi{
  background:var(--tan);
}
.benedoc-main .bd-agepivot-table tbody tr.bd-row-hi td{
  color:#7c5c2a;font-weight:700;
}
.benedoc-main .bd-agepivot-table tbody tr.bd-row-hi .bd-age-cell{
  color:#7c5c2a !important;
}

/* ── HEALTH COMPARISON TABLE ──────────────────────────────── */
.benedoc-main .bd-compare{
  background:#fff;border:none;border-radius:var(--r);
  box-shadow:var(--shadow);overflow:hidden;
}
.benedoc-main .bd-compare-scroll{overflow-x:auto}
.benedoc-main .bd-compare-table{
  width:100%;border-collapse:collapse;font-size:.82rem;min-width:500px;
}
.benedoc-main .bd-compare-table thead th{
  padding:12px 16px;text-align:left;background:var(--gray-50);
  font-size:.72rem;font-weight:700;color:var(--gray-700);
  border-bottom:2px solid var(--gray-100);white-space:nowrap;
}
.benedoc-main .bd-compare-table tbody tr{border-bottom:1px solid var(--gray-100)}
.benedoc-main .bd-compare-table tbody tr:last-child{border:none}
.benedoc-main .bd-compare-table tbody tr:hover{background:var(--gray-50)}
.benedoc-main .bd-compare-table tbody td{
  padding:10px 16px;font-family:var(--mono);font-size:.82rem;
  color:var(--gray-700);white-space:nowrap;
}
.benedoc-main .bd-cmp-lbl{
  font-family:var(--font) !important;font-size:.75rem !important;
  font-weight:700 !important;color:var(--gray-500) !important;min-width:140px;
}
.benedoc-main .bd-cmp-null{color:var(--gray-300) !important}
.benedoc-main .bd-compare-note{
  padding:12px 16px;font-size:.75rem;color:var(--gray-400);
  border-top:1px solid var(--gray-100);
}

/* ── INFO GRID ────────────────────────────────────────────── */
.benedoc-main .bd-info-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:16px;
}

/* Base card */
.benedoc-main .bd-info-card{border-radius:var(--r);padding:24px}

/* Tan — Key Numbers */
.benedoc-main .bd-info-card--tan{
  background:var(--tan);border:none;box-shadow:none;
}

/* Ghost — no border, shadow */
.benedoc-main .bd-info-card--ghost{
  background:#fff;border:none;
  box-shadow:var(--shadow);transition:box-shadow .2s ease;
}
.benedoc-main .bd-info-card--ghost:hover{box-shadow:var(--shadow-hover)}
.benedoc-main .bd-info-card--wide{grid-column:1/-1}

/* ── KEY NUMBERS — fixed layout ───────────────────────────── */
/* 2×2 grid, each cell: icon left + text right, no overflow */
.benedoc-main .bd-keynums{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 12px;
}
.benedoc-main .bd-keynum{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:10px;
  min-width:0;      /* prevent grid blowout */
}
.benedoc-main .bd-keynum-icon{
  font-size:1.4rem;
  flex-shrink:0;
  line-height:1;
  margin-top:1px;
}
.benedoc-main .bd-keynum-body{
  display:flex;flex-direction:column;gap:2px;min-width:0;
}
.benedoc-main .bd-keynum-val{
  font-size:1rem;font-weight:800;
  color:var(--gray-900);line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.benedoc-main .bd-keynum-lbl{
  font-size:.7rem;color:var(--gray-500);line-height:1.3;
}

/* Badge */
.benedoc-main .bd-badge-all{
  font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;
  background:var(--blue-lt);color:var(--blue);
  padding:2px 8px;border-radius:10px;margin-left:4px;
}

/* ── CHIPS ────────────────────────────────────────────────── */
.benedoc-main .bd-chips{display:flex;flex-wrap:wrap;gap:8px}
.benedoc-main .bd-chip{
  display:inline-flex;align-items:center;
  background:var(--gray-50);border:1px solid var(--gray-200);
  border-radius:20px;padding:5px 14px;
  font-size:.75rem;font-weight:600;color:var(--gray-700);
}

/* ── COVERED CONDITIONS ───────────────────────────────────── */
.benedoc-main .bd-ls-group{margin-bottom:18px}
.benedoc-main .bd-ls-group:last-child{margin-bottom:0}
.benedoc-main .bd-ls-group-lbl{
  font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;
  color:var(--gray-400);margin-bottom:8px;
}
.benedoc-main .bd-ls-items{display:flex;flex-direction:column;gap:5px}
.benedoc-main .bd-ls-item{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:7px 12px;background:var(--gray-50);border-radius:8px;
}
.benedoc-main .bd-ls-name{font-size:.82rem;font-weight:600;color:var(--gray-800);flex:1}
.benedoc-main .bd-ls-pay{
  font-size:.82rem;font-weight:600;color:var(--gray-800);
  white-space:nowrap;
}
.benedoc-main .bd-ls-badge{font-size:.7rem;margin-left:4px}
.benedoc-main .bd-ls-note{font-size:.73rem;color:var(--gray-400);margin-top:12px;font-style:italic}

/* ── ELIGIBILITY ──────────────────────────────────────────── */
.benedoc-main .bd-elig-list{list-style:none;display:flex;flex-direction:column;gap:9px}
.benedoc-main .bd-elig-list li{
  display:flex;align-items:flex-start;gap:8px;
  font-size:.84rem;color:var(--gray-700);line-height:1.5;
}
.benedoc-main .bd-elig-ico{font-size:1rem;flex-shrink:0;margin-top:1px}

/* ── GOOD FIT ─────────────────────────────────────────────── */
.benedoc-main .bd-fit-lbl{font-size:.72rem;font-weight:700;color:var(--gray-500);margin-bottom:6px}
.benedoc-main .bd-fit--yes ul{list-style:none;display:flex;flex-direction:column;gap:5px}
.benedoc-main .bd-fit--yes ul li::before{content:'✓  ';color:var(--green);font-weight:700}
.benedoc-main .bd-fit--yes ul li{font-size:.82rem;color:var(--gray-600);line-height:1.5}

/* ── BENEAI CTA — solid #00164F ───────────────────────────── */
.benedoc-main .bd-beneai{
  background:#00164F;
  border-radius:var(--r);
  padding:32px 36px;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:24px;
}
.benedoc-main .bd-beneai-content{flex:1;min-width:200px}
.benedoc-main .bd-beneai-h{
  font-size:1.05rem;font-weight:700;color:#fff;line-height:1.35;margin-bottom:6px;
}
.benedoc-main .bd-beneai-sub{
  font-size:.82rem;color:rgba(255,255,255,.65);line-height:1.6;max-width:460px;
}
.benedoc-main .bd-beneai-btn{
  border:none;cursor:pointer;font-family:var(--font);

  display:inline-flex;align-items:center;gap:8px;
  background:#FBB040;color:#01164F;font-size:.85rem;font-weight:700;
  padding:12px 22px;border-radius:8px;text-decoration:none;
  transition:all .15s;white-space:nowrap;flex-shrink:0;
  box-shadow:0 4px 16px rgba(47,107,255,.35);
}
.benedoc-main .bd-beneai-btn:hover{
  background:#1d57f0;transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(47,107,255,.5);
}

/* ── FOOTER META ──────────────────────────────────────────── */
.benedoc-main .bd-footer-meta{
  display:flex;flex-wrap:wrap;gap:16px;
  padding-top:8px;border-top:1px solid var(--gray-100);
}
.benedoc-main .bd-footer-meta span{font-size:.75rem;color:var(--gray-400)}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media(max-width:640px){
  .benedoc-main{padding:20px 14px 60px}
  .benedoc-main .bd-hero-inner{padding:26px 20px 30px}
  .benedoc-main .bd-plan-title{font-size:1.6rem}
  .benedoc-main .bd-price-val{font-size:1.7rem}
  .benedoc-main .bd-info-grid{grid-template-columns:1fr}
  .benedoc-main .bd-keynums{grid-template-columns:1fr 1fr}
  .benedoc-main .bd-beneai{padding:24px 20px;flex-direction:column}
  .benedoc-main .bd-rate-cards{grid-template-columns:repeat(2,1fr)}
  .benedoc-main .bd-agepivot{padding:14px 16px 8px}
}

/* ── ELIGIBILITY NOTE (spouse clarification etc.) ─────────── */
.benedoc-main .bd-elig-note{
  font-size:.75rem;color:var(--gray-500);line-height:1.5;
  margin-top:12px;padding-top:10px;border-top:1px solid var(--gray-100);
  font-style:italic;
}

/* ── DOCUMENT LINK ────────────────────────────────────────── */
.benedoc-main .bd-doc-link-card{
  padding:0;background:none;box-shadow:none;
}
.benedoc-main .bd-doc-link{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.82rem;font-weight:600;color:var(--gray-500);
  text-decoration:none;padding:12px 0;
  transition:color .15s;
}
.benedoc-main .bd-doc-link span{
  color:var(--blue);text-decoration:underline;text-underline-offset:3px;
}
.benedoc-main .bd-doc-link:hover span{color:#1d57f0}

/* ── FIT LIST — no label prefix now, bullet only ─────────── */
.benedoc-main .bd-fit--yes ul li::before{content:'✓  ';color:var(--green);font-weight:700}

/* ── VISION BENEFIT TABLE ─────────────────────────────────── */
.benedoc-main .bd-vision-block{display:flex;flex-direction:column;gap:16px}
.benedoc-main .bd-vision-table{
  display:flex;flex-direction:column;gap:1px;
  border-top:1px solid var(--gray-100);margin-top:4px;
  padding:12px 18px 14px;
}
.benedoc-main .bd-vision-row{
  display:grid;
  grid-template-columns:28px 1fr auto auto;
  align-items:center;gap:8px;
  padding:8px 0;
  border-bottom:1px solid var(--gray-100);
}
.benedoc-main .bd-vision-row:last-child{border-bottom:none}
.benedoc-main .bd-vision-row--freq{margin-top:4px;border-top:1px solid var(--gray-100)}
.benedoc-main .bd-vision-icon{font-size:1rem;text-align:center}
.benedoc-main .bd-vision-label{font-size:.82rem;color:var(--gray-600);font-weight:500}
.benedoc-main .bd-vision-val{
  font-size:.9rem;font-weight:700;color:var(--gray-900);
  font-family:var(--mono);text-align:right;
}
.benedoc-main .bd-vision-suffix{
  font-size:.7rem;color:var(--gray-400);min-width:60px;
}
.benedoc-main .bd-rate-na-inline{
  font-size:.9rem;color:var(--gray-300);
}

/* OON rows slightly muted */
.benedoc-main .bd-vision-row:has(.bd-vision-label:contains("OON")) .bd-vision-val,
.benedoc-main .bd-vision-row:has(.bd-vision-label:contains("Out-of-network")) .bd-vision-val{
  color:var(--gray-500);
}

/* ── CANCER COMPARISON TABLE ──────────────────────────────── */
.benedoc-main .bd-cancer-compare{
  background:#fff;border:none;border-radius:var(--r);
  box-shadow:var(--shadow);overflow:hidden;
}

/* Column header row */
.benedoc-main .bd-cc-head{
  display:grid;
  grid-template-columns:1fr repeat(2, 180px);
  border-bottom:3px solid var(--blue-deep);
}
.benedoc-main .bd-cc-label-col{
  padding:18px 20px;
  background:#fff;
  display:flex;align-items:flex-end;
}
.benedoc-main .bd-cc-tier-col{
  padding:20px 16px;text-align:center;
  border-left:2px solid var(--gray-100);
}
.benedoc-main .bd-cc-tier-col--lo{
  background:#f8fafc;
}
.benedoc-main .bd-cc-tier-col--hi{
  background:#f0f6ff;
}
.benedoc-main .bd-cc-tier-name{
  font-size:.75rem;font-weight:800;
  text-transform:uppercase;letter-spacing:.08em;
  margin-bottom:8px;
}
.benedoc-main .bd-cc-tier-col--lo .bd-cc-tier-name{ color:var(--gray-500); }
.benedoc-main .bd-cc-tier-col--hi .bd-cc-tier-name{ color:var(--blue); }
.benedoc-main .bd-cc-tier-price{
  font-size:1.25rem;font-weight:800;font-family:var(--mono);
}
.benedoc-main .bd-cc-tier-col--lo .bd-cc-tier-price{ color:var(--gray-900); }
.benedoc-main .bd-cc-tier-col--hi .bd-cc-tier-price{ color:var(--blue-deep); }
.benedoc-main .bd-cc-tier-price span{
  font-size:.7rem;font-weight:400;
}
.benedoc-main .bd-cc-tier-col--lo .bd-cc-tier-price span{ color:var(--gray-400); }
.benedoc-main .bd-cc-tier-col--hi .bd-cc-tier-price span{ color:var(--gray-400); }

/* Section label */
.benedoc-main .bd-cc-section-label{
  font-size:.63rem;font-weight:800;text-transform:uppercase;letter-spacing:.14em;
  color:#fff;padding:8px 20px;
  background:var(--blue);
  border-top:none;border-bottom:none;
}

/* Data row */
.benedoc-main .bd-cc-row{
  display:grid;
  grid-template-columns:1fr repeat(2, 180px);
  border-bottom:1px solid var(--gray-100);
  transition:background .12s;
}
.benedoc-main .bd-cc-row:last-of-type{border-bottom:none}
.benedoc-main .bd-cc-row:nth-child(even){background:var(--gray-50)}
.benedoc-main .bd-cc-row:hover{background:var(--blue-lt)}
.benedoc-main .bd-cc-label{
  padding:11px 20px;font-size:.85rem;font-weight:600;color:var(--gray-700);
  display:flex;align-items:center;gap:8px;line-height:1.4;
}
.benedoc-main .bd-cc-emoji{font-size:.9rem;flex-shrink:0;}
.benedoc-main .bd-cc-val{
  padding:11px 16px;text-align:center;
  font-size:.85rem;font-weight:600;
  color:var(--gray-900);
  border-left:2px solid var(--gray-100);
  display:flex;align-items:center;justify-content:center;
  line-height:1.3;
}
/* Hi tier column (rightmost) gets accent background */
.benedoc-main .bd-cc-row > .bd-cc-val:last-child{
  background:rgba(37,99,235,.04);
  border-left:2px solid rgba(37,99,235,.12);
  color:var(--blue-deep);
  font-weight:700;
}
.benedoc-main .bd-cc-val--highlight{
  color:var(--blue) !important;
  font-size:1rem;
}
.benedoc-main .bd-cc-label--emph{
  font-weight:800;
  color:var(--gray-900);
}
.benedoc-main .bd-cc-val--emph{
  font-weight:800;
  font-size:1.05rem;
}

/* Footer */
.benedoc-main .bd-cc-footer{
  padding:14px 20px;font-size:.76rem;color:var(--gray-500);
  border-top:2px solid var(--gray-100);
  background:var(--gray-50);line-height:1.6;
}

@media(max-width:640px){
  .benedoc-main .bd-cc-head,
  .benedoc-main .bd-cc-row{
    grid-template-columns:1fr repeat(2, 120px);
  }
  .benedoc-main .bd-cc-label-col,
  .benedoc-main .bd-cc-label{padding:10px 12px}
  .benedoc-main .bd-cc-tier-col,
  .benedoc-main .bd-cc-val{padding:10px 8px}
  .benedoc-main .bd-cc-val{font-size:.76rem}
  .benedoc-main .bd-cc-tier-price{font-size:1rem}
}


/* ── PLAN CARDS (category page) ───────────────────────────── */
.benedoc-main .bd-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.benedoc-main .bd-plan-card {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
}
.benedoc-main .bd-plan-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

.benedoc-main .bd-plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.benedoc-main .bd-plan-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 3px 8px;
  border-radius: 99px;
}

.benedoc-main .bd-plan-card-price {
  font-size: .75rem;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--gray-500);
  white-space: nowrap;
}

.benedoc-main .bd-plan-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.25;
  margin: 0;
}

.benedoc-main .bd-plan-card-provider {
  font-size: .75rem;
  color: var(--gray-400);
  margin: 0;
}

.benedoc-main .bd-plan-card-desc {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.benedoc-main .bd-plan-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 9px 16px;
  background: #FBB040;
  color: #01164F;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  align-self: flex-start;
  transition: background .15s, transform .15s;
}
.benedoc-main .bd-plan-card-btn:hover { background: #e8a030 !important; color: #01164F !important; /* hover */
  background: #1a3fa0;
  transform: translateX(2px);
}

@media (max-width: 600px) {
  .benedoc-main .bd-plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ── RIDERS COMPARISON ────────────────────────────────────── */
.benedoc-main .bd-riders-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.benedoc-main .bd-riders-tier {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.benedoc-main .bd-riders-tier-head {
  background: var(--blue-deep);
  color: #fff;
  padding: 20px 22px 16px;
}

.benedoc-main .bd-riders-tier-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}

.benedoc-main .bd-riders-tier-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  margin: 0 0 12px;
}

.benedoc-main .bd-riders-contact {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  font-style: italic;
  margin: 8px 0 0;
}

.benedoc-main .bd-riders-prices {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benedoc-main .bd-riders-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 6px 10px;
}

.benedoc-main .bd-riders-coverage {
  font-size: .78rem;
  color: rgba(255,255,255,.8);
}

.benedoc-main .bd-riders-amount {
  font-size: .85rem;
  font-weight: 700;
  font-family: var(--mono);
  color: #fff;
}

.benedoc-main .bd-riders-lump {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.benedoc-main .bd-riders-lump-item {
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
}

.benedoc-main .bd-riders-lump-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--mono);
  color: #fff;
}

.benedoc-main .bd-riders-lump-lbl {
  display: block;
  font-size: .7rem;
  color: rgba(255,255,255,.7);
  margin-top: 2px;
}

.benedoc-main .bd-riders-list {
  list-style: none;
  padding: 16px 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benedoc-main .bd-riders-item {
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 12px;
}
.benedoc-main .bd-riders-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.benedoc-main .bd-riders-item-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 3px;
}

.benedoc-main .bd-riders-item-desc {
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .benedoc-main .bd-riders-wrap {
    grid-template-columns: 1fr;
  }
}

/* ── VISION DETAIL TABLE ──────────────────────────────────── */
.benedoc-main .bd-vision-detail-table {
  margin: 20px 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  font-size: .82rem;
}

.benedoc-main .bd-vision-detail-head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background: var(--blue-deep);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 14px;
  gap: 8px;
}

.benedoc-main .bd-vision-detail-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 8px 14px;
  gap: 8px;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}
.benedoc-main .bd-vision-detail-row:last-child { border-bottom: none; }
.benedoc-main .bd-vision-detail-row:nth-child(even) { background: var(--gray-50); }

.benedoc-main .bd-vision-detail-service {
  color: var(--gray-700);
  font-weight: 500;
}

.benedoc-main .bd-vision-detail-in {
  color: var(--gray-900);
  font-weight: 600;
  font-size: .8rem;
}

.benedoc-main .bd-vision-detail-oon {
  color: var(--gray-500);
  font-size: .78rem;
}

.benedoc-main .bd-vision-detail-row--freq {
  background: var(--tan) !important;
  font-weight: 600;
}

@media (max-width: 520px) {
  .benedoc-main .bd-vision-detail-head,
  .benedoc-main .bd-vision-detail-row {
    grid-template-columns: 1.5fr 1fr;
    font-size: .75rem;
    padding: 7px 10px;
  }
}

/* ── CANCER COMPARISON — Not included style ───────────────── */
.benedoc-main .bd-cc-val--none {
  color: var(--gray-400);
  font-style: italic;
  font-size: .78rem;
}

/* ── WELLNESS BENEFIT BADGE (CI) ─────────────────────────── */
.benedoc-main .bd-wellness-badge {
  margin-top: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .8rem;
  color: #166534;
  line-height: 1.5;
}
.benedoc-main .bd-wellness-badge strong {
  color: #15803d;
}


/* ── ACCIDENT DETAIL TABLE ───────────────────────────────── */
.benedoc-main .bd-accident-wrap {
  margin: 24px 0;
}

.benedoc-main .bd-accident-table {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  font-size: .82rem;
}

.benedoc-main .bd-accident-table-head {
  display: grid;
  grid-template-columns: 1fr auto;
  background: var(--blue-deep);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 16px;
  gap: 16px;
}

.benedoc-main .bd-accident-section-label {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 7px 16px;
  border-top: 1px solid var(--gray-200);
}

/* Section header rows (new section_header pattern — same visual as dental) */
.benedoc-main .bd-accident-section-header {
  background: #EFF6FF;
  color: #1e3a5f;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 8px 16px;
  border-top: 1px solid #BFDBFE;
  border-bottom: 1px solid #BFDBFE;
  display: block;
}
.benedoc-main .bd-accident-section-header td {
  display: block;
}

.benedoc-main .bd-accident-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 9px 16px;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
  gap: 16px;
}
.benedoc-main .bd-accident-row:last-child { border-bottom: none; }
.benedoc-main .bd-accident-row:nth-child(even) { background: var(--gray-50); }
.benedoc-main .bd-accident-row--alt { background: var(--gray-50); }

.benedoc-main .bd-accident-benefit {
  color: var(--gray-700);
  font-size: .82rem;
}

.benedoc-main .bd-accident-amount {
  color: var(--gray-900);
  font-weight: 700;
  font-size: .82rem;
  white-space: nowrap;
  text-align: right;
}

/* Category cards fallback (no detail table) */
.benedoc-main .bd-accident-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.benedoc-main .bd-accident-cat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  box-shadow: var(--shadow);
}

.benedoc-main .bd-accident-cat-icon { font-size: 1.6rem; }

.benedoc-main .bd-accident-cat-name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-800);
}

.benedoc-main .bd-accident-cat-count {
  font-size: .72rem;
  color: var(--gray-400);
}

/* ── HR CONTACT MESSAGE ─────────────────────────────────── */
.benedoc-main .bd-rate-contact-hr {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--r);
  padding: 14px 18px;
  margin: 8px 0;
}
.benedoc-main .bd-rate-contact-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.benedoc-main .bd-rate-contact-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.benedoc-main .bd-rate-contact-body strong {
  font-size: .85rem;
  color: #92400e;
  font-weight: 700;
}
.benedoc-main .bd-rate-contact-body span {
  font-size: .8rem;
  color: #b45309;
}

/* ── PDF EXPORT BUTTON ──────────────────────────────────── */
.benedoc-main .bd-pdf-bar {
  display: flex;
  justify-content: center;
  padding: 24px 0 8px;
}
.benedoc-main .bd-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FBB040;
  border: none;
  border-radius: 10px;
  color: #01164F;
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 28px;
  cursor: pointer;
  transition: background .15s, transform .1s;
  box-shadow: 0 2px 8px rgba(30,58,95,.25);
}
.benedoc-main .bd-pdf-btn:hover {
  background: #e8a030;
  transform: translateY(-1px);
}
.benedoc-main .bd-pdf-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* ── PRINT / PDF STYLES ─────────────────────────────────── */
/* bd-printing class is added to body via JS before window.print() */
body.bd-printing *:not(.benedoc-main):not(.benedoc-main *) {
  display: none !important;
}
body.bd-printing .benedoc-main {
  display: block !important;
}

@media print {
  /* When bd-printing class is active, hide everything except the plugin */
  body.bd-printing > *:not(.benedoc-main) {
    display: none !important;
  }
  body.bd-printing #wpadminbar,
  body.bd-printing header,
  body.bd-printing footer,
  body.bd-printing nav,
  body.bd-printing aside,
  body.bd-printing .site-header,
  body.bd-printing .site-footer,
  body.bd-printing .entry-header,
  body.bd-printing .page-header {
    display: none !important;
  }
  body.bd-printing .benedoc-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Always hide nav elements inside plugin */
  .bd-back,
  .bd-pdf-bar,
  .bd-beneai-wrap,
  .bd-hero-overlay,
  .bd-agepivot-top,
  input[type=number] { display: none !important; }

  /* Color preservation */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Hero */
  .benedoc-main .bd-hero {
    min-height: auto !important;
    padding: 24px 32px !important;
    background: #1e3a5f !important;
  }

  /* Layout */
  .benedoc-main .bd-section { page-break-inside: avoid; margin-bottom: 12px; }
  .benedoc-main .bd-rate-card,
  .benedoc-main .bd-keynum-card,
  .benedoc-main .bd-lump-row,
  .benedoc-main .bd-acc-row { break-inside: avoid; }
  .benedoc-main a[href]:after { content: none !important; }

  @page { margin: 12mm 10mm; }
}

/* ── DENTAL DETAIL TABLE ────────────────────────────────── */
.benedoc-main .bd-dental-scroll { overflow-x: auto; }
.benedoc-main .bd-dental-table-wrap {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
}
.benedoc-main .bd-dental-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  table-layout: fixed;
}
.benedoc-main .bd-dental-table thead th {
  background: var(--blue-deep);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  text-align: left;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.benedoc-main .bd-dental-table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: top;
  line-height: 1.5;
}
.benedoc-main .bd-dental-table tbody tr:last-child td { border-bottom: none; }
.benedoc-main .bd-dental-table tbody tr.bd-dental-alt { background: var(--gray-50); }
.benedoc-main .bd-dental-service {
  font-weight: 600;
  color: var(--gray-800);
  width: 62%;
}
.benedoc-main .bd-dental-in {
  color: #166534;
  font-weight: 700;
  width: 38%;
}
.benedoc-main .bd-dental-oon {
  color: var(--gray-600);
  min-width: 120px;
}
.benedoc-main .bd-dental-note {
  color: var(--gray-500);
  font-size: .75rem;
  font-style: italic;
}

/* ── CI OVERVIEW ─────────────────────────────────── */
.benedoc-main .bd-ci-overview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.benedoc-main .bd-ci-amounts {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 20px 24px;
}
.benedoc-main .bd-ci-amounts-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.benedoc-main .bd-ci-amounts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.benedoc-main .bd-ci-amount-badge {
  background: var(--blue-deep);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 8px 20px;
  border-radius: 999px;
}

/* ── PDF EXPORT BUTTON ──────────────────────────────── */
.benedoc-main .bd-pdf-bar {
  display: flex;
  justify-content: center;
  padding: 24px 0 8px;
}
.benedoc-main .bd-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FBB040;
  color: #01164F;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.benedoc-main .bd-pdf-btn:hover { background: #e8a030; transform: translateY(-1px); }
.benedoc-main .bd-pdf-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── Deductible & Max table header tweaks ── */
.bd-dedmax-table thead th:nth-child(2),
.bd-dedmax-table thead th:nth-child(3) { width: 220px; }

/* ── Additional Info Sections ──────────────────────────── */
.bd-info-section { margin-top: 32px; }
.bd-info-section-desc {
    color: #4B5563;
    font-size: .95rem;
    margin: 0 0 16px;
    line-height: 1.6;
}
.bd-info-items { display: flex; flex-direction: column; gap: 10px; }
.bd-info-item {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 14px 16px;
}
.bd-info-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.bd-info-item-label {
    font-weight: 600;
    color: #01164F;
    font-size: .92rem;
}
.bd-info-item-value {
    font-weight: 700;
    color: #01164F;
    font-size: .92rem;
    background: #EFF6FF;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.bd-info-item-note {
    color: #6B7280;
    font-size: .85rem;
    margin: 6px 0 0;
    line-height: 1.5;
}

/* ── Additional Sections — Comparison Table ─────────────────── */
.bd-addl-table-wrap {
    overflow-x: auto;
    margin: 16px 0 4px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}
.bd-addl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem;
    min-width: 480px;
}
.bd-addl-table thead tr {
    background: #01164F;
}
.bd-addl-th-label {
    color: #fff;
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    width: 28%;
}
.bd-addl-th-plan {
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 10px 10px;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.bd-addl-table tbody tr { border-bottom: 1px solid #F3F4F6; }
.bd-addl-table tbody tr:last-child { border-bottom: none; }
.bd-addl-row-alt { background: #F9FAFB; }
.bd-addl-td-label {
    padding: 9px 14px;
    color: #374151;
    font-weight: 600;
    font-size: .82rem;
    line-height: 1.4;
    vertical-align: top;
}
.bd-addl-td-val {
    padding: 9px 10px;
    color: #1e3a5f;
    font-weight: 600;
    text-align: center;
    font-size: .82rem;
    line-height: 1.4;
    vertical-align: top;
}
.bd-addl-table-note {
    color: #6B7280;
    font-size: .78rem;
    margin: 8px 0 0;
    font-style: italic;
    line-height: 1.5;
}

/* ── Per-tier health summary table ─────────────────────── */
.bd-tier-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    font-size: .88rem;
}
.bd-tier-summary-table thead th {
    background: #F3F4F6;
    color: #6B7280;
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 6px 12px;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}
.bd-tier-summary-table thead th:first-child { width: 45%; }
.bd-tier-summary-table tbody tr { border-bottom: 1px solid #F3F4F6; }
.bd-tier-summary-table tbody tr:last-child { border-bottom: none; }
.bd-tier-summary-table tbody td {
    padding: 7px 12px;
    color: #374151;
    vertical-align: top;
}
.bd-tier-summary-table .bd-tst-label {
    font-weight: 600;
    color: #01164F;
}
.bd-tier-summary-notes {
    font-size: .8rem;
    color: #9CA3AF;
    margin: 8px 0 0;
    line-height: 1.5;
    padding: 0 4px;
}

/* ── Health Detail Table ────────────────────────────────── */
.bd-health-detail-table {
    margin-top: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    font-size: .88rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.bd-hdt-section { border-bottom: 1px solid #E5E7EB; }
.bd-hdt-section:last-child { border-bottom: none; }
.bd-hdt-section-title {
    background: #01164F;
    padding: 7px 14px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
}
.bd-hdt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-top: 1px solid #F3F4F6;
    gap: 12px;
}
.bd-hdt-row:nth-child(even) { background: #F9FAFB; }
.bd-hdt-row:first-of-type { border-top: none; }
.bd-hdt-label { color: #4B5563; font-size: .85rem; }
.bd-hdt-value {
    font-weight: 700;
    color: #01164F;
    text-align: right;
    white-space: nowrap;
    font-size: .85rem;
}

/* ── Video Banner ────────────────────────────────────────── */
.bd-video-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #01164F 0%, #0a2a7a 100%);
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.bd-video-banner-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: .92rem;
    font-weight: 500;
    flex: 1;
}
.bd-video-icon { font-size: 1.3rem; flex-shrink: 0; }
.bd-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FBB040;
    color: #01164F;
    font-weight: 700;
    font-size: .88rem;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
    flex-shrink: 0;
}
.bd-video-btn:hover { background: #f5a020; color: #01164F; text-decoration: none; }

/* ── Dental table section header rows ───────────────────── */
.bd-dental-section-header td {
    background: #EFF6FF;
    color: #01164F;
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 12px;
    border-top: 2px solid #BFDBFE;
    border-bottom: 1px solid #BFDBFE;
}

/* ── Disability rates + key numbers two-column layout ────── */
.bd-rate-block--with-kn {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.bd-rate-kn-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    flex: 0 0 auto;
}
.bd-rate-kn-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F0F4FF;
    border: 1px solid #DBEAFE;
    border-radius: 8px;
    padding: 10px 14px;
}
.bd-rate-kn-icon { font-size: 1.3rem; flex-shrink: 0; }
.bd-rate-kn-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #01164F;
    line-height: 1.1;
}
.bd-rate-kn-lbl {
    font-size: .75rem;
    color: #6B7280;
    margin-top: 2px;
}
.bd-rate-price-col {
    flex: 1;
    min-width: 200px;
}
@media (max-width: 540px) {
    .bd-rate-block--with-kn { flex-direction: column; }
    .bd-rate-kn-col { flex-direction: row; flex-wrap: wrap; }
    .bd-rate-kn-item { flex: 1 1 calc(50% - 8px); }
}

/* ── SHORT / LONG TERM DISABILITY DETAIL ──────────────────────── */
.benedoc-main .bd-std-wrap {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* At-a-glance number grid */
.benedoc-main .bd-std-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.benedoc-main .bd-std-glance-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.benedoc-main .bd-std-glance-ico {
  font-size: 1.5rem;
  line-height: 1;
}
.benedoc-main .bd-std-glance-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin-top: 4px;
}
.benedoc-main .bd-std-glance-lbl {
  font-size: .72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}

/* Benefit detail table */
.benedoc-main .bd-std-table {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  font-size: .83rem;
}
.benedoc-main .bd-std-table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blue-deep);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 11px 16px;
}
.benedoc-main .bd-std-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
  gap: 16px;
}
.benedoc-main .bd-std-row:last-child { border-bottom: none; }
.benedoc-main .bd-std-row:nth-child(even) { background: var(--gray-50); }
.benedoc-main .bd-std-term {
  font-weight: 700;
  color: var(--gray-700);
  font-size: .8rem;
}
.benedoc-main .bd-std-def {
  color: var(--gray-600);
  line-height: 1.55;
}
.benedoc-main .bd-std-sub-row {
  display: block;
  margin-bottom: 2px;
}
.benedoc-main .bd-std-sub-lbl {
  font-weight: 700;
  color: var(--gray-700);
}

/* Definitions grid */
.benedoc-main .bd-std-defs {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
}
.benedoc-main .bd-std-defs-head {
  background: #EFF6FF;
  color: #1e3a5f;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 10px 16px;
  border-bottom: 1px solid #BFDBFE;
}
.benedoc-main .bd-std-def-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}
.benedoc-main .bd-std-def-card {
  padding: 14px 16px;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.benedoc-main .bd-std-def-card:last-child { border-right: none; }
.benedoc-main .bd-std-def-card-title {
  font-size: .78rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.benedoc-main .bd-std-def-card-body {
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* Exclusions */
.benedoc-main .bd-std-excl {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--r);
  padding: 14px 18px;
}
.benedoc-main .bd-std-excl-head {
  font-weight: 800;
  font-size: .8rem;
  color: #92400e;
  margin-bottom: 8px;
}
.benedoc-main .bd-std-excl-list {
  margin: 0;
  padding-left: 18px;
  font-size: .8rem;
  color: #78350f;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .benedoc-main .bd-std-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .benedoc-main .bd-std-term {
    font-size: .75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .benedoc-main .bd-std-def-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 400px) {
  .benedoc-main .bd-std-def-grid {
    grid-template-columns: 1fr;
  }
}
