/* l7ux.css — lane 7 UX Step 1 (29-Oct-2026, research/RESEARCH_l7_front-desk_ux.md §7). Loaded on every page by mod_l7.json "css".
 * Register / edit a patient (ptm.js): the Saved banner at the top, the two folded sections, and a Save bar that stays on a phone screen. */
.pmsaved { background: #e8f5ee; border: 1px solid #9fd3b4; border-left: 5px solid #157347; border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; outline: none; }
.pmsaved p { margin: 0; font-size: 15px; overflow-wrap: anywhere; } .pmsaved b { color: #157347; }
.pmsaved .pmsavedgo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pmsaved .pmsavedgo a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 8px; text-decoration: none; box-sizing: border-box; }
.pmsaved .pmsavedgo a.ghost { border: 1px solid var(--line, #d8e0e8); background: #fff; color: var(--ink, #1d2b36); }
.pmsaved .warn { color: #9a6700; margin-top: 6px; font-size: 13px; }
.pmfold { border: 1px solid var(--line, #d8e0e8); border-radius: 10px; margin: 14px 0 0; background: #fff; }
.pmfold > summary { min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 14px; cursor: pointer; font-weight: 600; font-size: 14px; color: #3d5566; list-style: none; flex-wrap: wrap; }
.pmfold > summary::-webkit-details-marker { display: none; }
.pmfold > summary::before { content: '▸'; color: var(--accent, #0b5f8a); transition: transform .15s; }
.pmfold[open] > summary::before { transform: rotate(90deg); }
.pmfold > summary small { font-weight: 400; }
.pmfold > .pmf { padding: 0 14px 14px; } .pmfold > .pmf + .pmf { padding-top: 6px; }
@media (max-width: 600px) {
  .pmsaved { scroll-margin-top: 76px; }   /* scrolled into view clear of the floating Search / Back pills */
  .pmsticky .pmactions { position: sticky; bottom: 0; z-index: 5; background: var(--card, #fff); margin: 12px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line, #d8e0e8); box-shadow: 0 -4px 10px rgba(0, 0, 0, .06); }
  .pmsticky .pmactions #pmsave { flex: 1 1 auto; min-height: 48px; }
  /* clear the fixed bottom tabs / solo-app nav and the TEST strip, as ui.css does for .savebar (else Save sits under them at the top of the form) */
  body:has(.envbar) .pmsticky .pmactions { bottom: 28px; }
  body:has(#btabs) .pmsticky .pmactions { bottom: var(--btabs-h); } body:has(#btabs):has(.envbar) .pmsticky .pmactions { bottom: calc(var(--btabs-h) + 28px); }
  body.solo:has(#solonav) .pmsticky .pmactions { bottom: var(--sn-h); } body.solo:has(#solonav):has(.envbar) .pmsticky .pmactions { bottom: calc(var(--sn-h) + 28px); }
}
