/* step51: patient pages + office insurance. Short, one column on a phone. */
.pt51 { margin: 0; background: #f4f7f8; color: #16324f; font: 16px/1.45 system-ui, Segoe UI, sans-serif; }
.pt-bar { display: flex; align-items: center; gap: 16px; background: #0B2545; color: #fff; padding: 10px 16px; }
.pt-brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.pt-brand img { width: 34px; height: 34px; border-radius: 8px; }
.pt-brand small { display: block; font-weight: 400; opacity: .8; }
.pt-nav { margin-left: auto; display: flex; gap: 14px; }
.pt-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.pt-main { max-width: 760px; margin: 0 auto; padding: 16px; }
.pt-h1 { margin: 4px 0 12px; font-size: 26px; }
.pt-card, .pc-check, .pc-card { background: #fff; border: 1px solid #e1e8ee; border-radius: 14px; padding: 16px; margin: 0 0 14px; }
.pt-card h1, .pt-card h2, .pc-check h2 { margin: 0 0 8px; }
.pt-muted { color: #5d7388; } .pt-small { font-size: 13px; } .pt-center { text-align: center; }
.pt-narrow { max-width: 440px; margin-left: auto; margin-right: auto; }
.pt51 label, .pc-f { display: block; font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.pt51 input, .pt51 select, .pt51 textarea, .pc-send input, .pc-send select, .pc-search input { width: 100%; box-sizing: border-box; margin-top: 4px; padding: 10px 12px; border: 1px solid #c9d5e0; border-radius: 10px; font: inherit; background: #fff; }
.pt-btn, a.pt-btn { display: inline-block; background: #1f8a70; color: #fff; border: 0; border-radius: 10px; padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.pt-big { width: 100%; box-sizing: border-box; text-align: center; } .pt-sm { padding: 8px 12px; } .pt-ghost, a.pt-ghost { background: #e7f4f0; color: #146454; }
.pt-link { background: none; border: 0; color: #0B2545; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.pt-link.danger { color: #b42318; } .pt-row { display: flex; gap: 16px; align-items: center; }
.pt-msg { min-height: 1.2em; font-weight: 700; color: #146454; } .pt-msg.bad { color: #b42318; }
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.pt-photo { border: 1px dashed #9db4c6; border-radius: 12px; padding: 8px; text-align: center; cursor: pointer; }
.pt-photo input { display: none; } .pt-photo img { width: 100%; max-height: 140px; object-fit: contain; border-radius: 8px; }
.pt-snap { display: block; color: #1f8a70; margin-top: 4px; }
.pt-tabs, .pc-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.pt-tabs button, .pc-tabs a { flex: 1; text-align: center; background: #e7eef3; border: 0; border-radius: 10px; padding: 10px; font: inherit; font-weight: 700; color: #16324f; text-decoration: none; cursor: pointer; }
.pt-tabs button.on, .pc-tabs a.on { background: #0B2545; color: #fff; }
.pt-list { list-style: none; padding: 0; margin: 0 0 10px; }
.pt-list li { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eef2f5; }
.pt-list li div { display: flex; flex-direction: column; }
.pt-ok { color: #146454; font-weight: 700; font-size: 13px; } .pt-warn { background: #fff7e8; }
.pt-check { font-weight: 500; font-size: 13px; margin-top: 4px; } .pt-check input { width: auto; margin-right: 6px; }
.pt-inline { margin: 0; } .pt-notes p { margin: 4px 0; } .pt-notes p.new { font-weight: 700; }
.pt-hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.pt-foot { text-align: center; color: #5d7388; font-size: 13px; padding: 8px 16px 24px; }
.pt-banner { background: #b42318; color: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; }
.pt-legal h2 { font-size: 18px; margin: 16px 0 4px; } .pt-legal ul { padding-left: 18px; }
.pc-note, .pc-sub { margin: -6px 0 12px; } .pc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pc-search { display: flex; gap: 8px; align-items: center; } .pc-search input { margin: 0; }
.pc-flag { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pc-ok { background: #e5f6ee; color: #146454; } .pc-recheck { background: #fde8e6; color: #b42318; } .pc-none { background: #eef2f5; color: #5d7388; }
.pc-flagbig { border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.pc-flagbig.pc-ok { background: #e5f6ee; } .pc-flagbig.pc-recheck { background: #fde8e6; color: #b42318; } .pc-flagbig.pc-none { background: #eef2f5; }
.pc-cardrow { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; } .pc-ins { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pc-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pc-photos a { text-align: center; font-size: 12px; color: #5d7388; }
.pc-photos img { width: 100%; max-height: 120px; object-fit: contain; border: 1px solid #e1e8ee; border-radius: 8px; background: #fafafa; }
.pc-nophoto { display: grid; place-items: center; min-height: 70px; border: 1px dashed #c9d5e0; border-radius: 8px; color: #5d7388; font-size: 13px; }
.pc-portals ul, .pc-hist { margin: 6px 0 0; padding-left: 18px; } .pc-sec { border-top: 1px solid #eef2f5; padding: 6px 0; }
.pc-sec summary { font-weight: 800; cursor: pointer; padding: 6px 0; }
.pc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pc-choice { border: 0; padding: 0; margin: 0 0 10px; } .pc-choice legend { font-weight: 600; font-size: 14px; }
.pc-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .pc-seg label { font-weight: 600; margin: 0; }
.pc-seg input { position: absolute; opacity: 0; } .pc-seg span { display: inline-block; border: 1px solid #c9d5e0; border-radius: 999px; padding: 6px 12px; }
.pc-seg input:checked + span { background: #0B2545; color: #fff; border-color: #0B2545; }
.pc-cb { display: flex; gap: 8px; align-items: center; } .pc-cb input { width: auto; }
.pc-in { display: flex; align-items: center; gap: 4px; } .pc-in input { margin: 0; } .pc-in i { font-style: normal; color: #5d7388; }
.pc-wide { grid-column: 1 / -1; } .pc-table { display: flex; flex-direction: column; gap: 8px; }
.pc-trow { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 6px; align-items: end; border-bottom: 1px solid #f2f5f8; padding-bottom: 6px; }
.pc-trow small { display: block; font-weight: 400; color: #5d7388; } .pc-trow .pc-f { margin: 0; }
.pc-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .pc-small { font-size: 12px; }
.pc-agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; margin: 8px 0; } .pc-agree input { width: auto; margin-top: 4px; }
.pc-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-bottom: 10px; } .pc-plans label { font-weight: 600; }
.pc-plans input { width: auto; margin-right: 6px; }
.pc-send { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .pc-send input, .pc-send select { margin: 0; flex: 1; min-width: 180px; }
.pc-baabar { display: block; background: #fff4d6; border: 1px solid #e6c56a; color: #16324f; border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; text-decoration: none; font-weight: 600; }
.pt-print { max-width: 820px; margin: 0 auto; padding: 16px; font: 13px/1.4 system-ui, sans-serif; color: #111; }
.pt-print h1 { font-size: 20px; margin: 0; } .pt-print h1 small { font-weight: 500; color: #555; } .pp-sub { color: #555; margin: 2px 0 12px; }
.pp-sec { break-inside: avoid; margin: 0 0 10px; } .pp-sec h2 { font-size: 14px; border-bottom: 1px solid #ccc; margin: 0 0 4px; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px 10px; } .pp-grid span { display: block; color: #666; font-size: 11px; }
.pp-sec table { width: 100%; border-collapse: collapse; } .pp-sec td, .pp-sec th { border-bottom: 1px solid #eee; text-align: left; padding: 2px 4px; vertical-align: top; }
.pp-bar { position: sticky; top: 0; background: #fff; padding: 6px 0; } .pp-bar button { font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 8px; border: 1px solid #ccc; background: #0B2545; color: #fff; }
.pp-foot { color: #666; font-size: 11px; }
@media (max-width: 640px) {
  .pt-grid, .pc-fields, .pc-plans, .pp-grid { grid-template-columns: 1fr; }
  .pc-cardrow, .pc-trow { grid-template-columns: 1fr 1fr; } .pc-trow b { grid-column: 1 / -1; }
  .pt-nav { gap: 10px; font-size: 14px; } .pt-bar { flex-wrap: wrap; }
}
@media print { .pp-bar { display: none; } }
.pt-lead { font-size: 18px; margin: 0 0 8px; } .pt-points { padding-left: 20px; margin: 0 0 14px; } .pt-points li { margin: 4px 0; }
.pt-or { font-size: 16px; text-align: center; margin: 18px 0 8px; color: #5d7388; }
