/* v4 additions and palette overrides. */
.tcg-v4 #plans .v4-tag{display:inline-flex;align-items:center;font:800 11px var(--h);border-radius:6px;padding:4px 9px;background:#EAF2FC;color:#1F54AC;letter-spacing:0;text-transform:none}
.tcg-v4 #plans .card .ct .tg .v4-office{display:block;flex-basis:100%;font:400 12px/1.5 var(--b);color:var(--mute);letter-spacing:0;text-transform:none}
.tcg-v4 .v4-usage{display:flex;gap:6px;margin:8px 0 16px;flex-wrap:wrap}
.tcg-v4 .v4-usage button{flex:1;padding:8px 10px;border:1px solid #c7d6ef;border-radius:8px;background:#fff;color:var(--pd);font:700 12px var(--b);cursor:pointer}
.tcg-v4 .v4-usage button[aria-pressed="true"]{background:var(--p);border-color:var(--p);color:#fff}
.tcg-v4 .v4-usage button:focus-visible{outline:2px solid var(--pd);outline-offset:2px}
.tcg-v4 .v4-usage button:disabled{opacity:.55;cursor:default}
.tcg-v4 #final-details .v4-doctors small{display:block;margin-top:4px}
.tcg-v4 #final-details .v4-doctors td{overflow-wrap:anywhere}
.tcg-v4 .v4-stars{display:inline-flex;align-items:center;gap:1px;border:1px solid #D5DEEB;background:#fff;border-radius:6px;padding:3px 8px;text-transform:none;letter-spacing:0;vertical-align:middle}
.tcg-v4 .v4-stars .v4-st{font:700 12px var(--b);color:#0F2447;margin-left:6px}
.tcg-v4 .v4-nr{background:#F1F4F8!important;color:#5b6b85!important;font-weight:700!important}
.tcg-v4 #final-details .v4-stars+small{display:block;margin-top:4px}
.tcg-v4 #plans .card .ct .tg{flex-wrap:wrap;row-gap:6px}
.tcg-v4 #plans .card .ct .tg>.metal,.tcg-v4 #plans .card .ct .tg>.net,.tcg-v4 #plans .card .ct .tg>.v4-stars,.tcg-v4 #plans .card .ct .tg>.v4-tag{flex:none;white-space:nowrap}
.tcg-v4 #plans .card .ct .tg .v4-stars .v4-st{white-space:nowrap}
/* Keep doctor addresses and proof text within narrow cards without changing desktop geometry. */
@media(max-width:899px){
  .tcg-v4 #plans .card .yd .dr{min-width:0;flex-wrap:wrap}
  .tcg-v4 #plans .card .yd .dr>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
  .tcg-v4 #plans .card .yd .dr b,.tcg-v4 #plans .card .yd .dr b small,.tcg-v4 #plans .card .yd .dr .proof-link{min-width:0;white-space:normal;overflow-wrap:anywhere}
}

/* v4 start area (?start=checklist|shows|both), Oct 27 8:50 PM. Rounded rectangles only, TCG blues, no yellow. */
.tcg-v4 #v4-start{margin:20px 32px 40px}   /* same side margins as the search card (final.css #search-compact) */
@media (max-width:760px){.tcg-v4 #v4-start{margin:16px 12px 32px}}
.tcg-v4 .v4s{display:grid;gap:18px;grid-template-columns:1fr}
.tcg-v4 .v4s-both{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.tcg-v4 .v4s-panel{background:#fff;border:1px solid #dbe4f1;border-radius:14px;padding:22px 24px;box-shadow:0 1px 2px rgba(15,36,71,.05)}
.tcg-v4 .v4s-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.tcg-v4 .v4s-h b{font:800 17px var(--h);color:#0F2447}
.tcg-v4 .v4s-count{font:700 13px var(--b);color:#1F54AC}
.tcg-v4 .v4s-bar{height:8px;border-radius:6px;background:#EAF2FC;overflow:hidden;margin-bottom:14px}
.tcg-v4 .v4s-bar i{display:block;height:100%;background:#2A6BD6;border-radius:6px;transition:width .25s ease}
.tcg-v4 .v4s-check ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tcg-v4 .v4s-check li{display:grid;grid-template-columns:36px 1fr 24px;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e3eaf5;border-radius:10px;background:#fbfdff}
.tcg-v4 .v4s-check li.on{border-color:#b9d3f5;background:#f2f7fe}
.tcg-v4 .v4s-check li b{display:block;font:700 14px var(--b);color:#14213d}
.tcg-v4 .v4s-check li small{display:block;font:400 12.5px/1.45 var(--b);color:#5b6b85}
.tcg-v4 .v4s-ic{width:36px;height:36px;border-radius:9px;background:#EAF2FC;display:flex;align-items:center;justify-content:center}
.tcg-v4 .v4s-ic svg{width:20px;height:20px;fill:none;stroke:#1F54AC;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tcg-v4 .v4s-check li.on .v4s-ic{background:#2A6BD6}.tcg-v4 .v4s-check li.on .v4s-ic svg{stroke:#fff}
.tcg-v4 .v4s-tick svg{width:20px;height:20px;fill:none;stroke:#2A6BD6;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.tcg-v4 .v4s-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tcg-v4 .v4s-both .v4s-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tcg-v4 .v4s-tile{border:1px solid #e3eaf5;border-radius:12px;padding:16px;background:#fbfdff;display:flex;flex-direction:column;gap:6px}
.tcg-v4 .v4s-tile b{font:700 14px var(--b);color:#0F2447}
.tcg-v4 .v4s-tile small{font:400 12.5px/1.5 var(--b);color:#5b6b85}
@media (max-width:900px){.tcg-v4 .v4s-both{grid-template-columns:1fr}.tcg-v4 .v4s-grid,.tcg-v4 .v4s-both .v4s-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.tcg-v4 .v4s-grid,.tcg-v4 .v4s-both .v4s-grid{grid-template-columns:1fr}}

/* Doctor evidence includes a full specialty, office and nested proof link. */
.tcg-v4 #plans .card .ct .tg>.ok,.tcg-v4 #plans .card .ct .tg>.nf,.tcg-v4 #plans .card .ct .tg>.nc{flex:0 1 auto;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.tcg-v4 #plans .card .ct .tg .proof,.tcg-v4 #plans .card .ct .tg .proof-link{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
