/* Boiddo patient app (mobile first) */
body.pt { background: #f2f6f4; font-size: 15px; }
.pt-top { position: sticky; top: 0; z-index: 20; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); }
.pt-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.pt-brand:hover { text-decoration: none; }
.pt-logo { width: 32px; height: 32px; border-radius: 9px; background: #fff; color: var(--brand); display: grid; place-items: center; font-weight: 800; position: relative; }
.pt-logo:after { content: ""; position: absolute; top: 3px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pt-net { background: rgba(255,255,255,.18); padding: 3px 9px; border-radius: 999px; font-size: 12px; display: inline-flex; gap: 5px; align-items: center; }
.pt-main { max-width: 560px; margin: 0 auto; padding: 16px 14px 96px; }
.pt-out .pt-main { padding-bottom: 32px; }
.pt-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; padding: 6px 4px; padding-bottom: max(6px, env(safe-area-inset-bottom)); }
.pt-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; color: var(--muted); padding: 4px 0; border-radius: 10px; text-decoration: none; }
.pt-tabs a.on { color: var(--brand); font-weight: 700; }
.pt-tabs a.on .ic { stroke-width: 2.3; }
.pt-hello { margin: 4px 2px 14px; }
.pt-hello h1 { font-size: 22px; margin: 0; }
.pt-hello p { color: var(--muted); margin: 2px 0 0; }
.pt-card { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 12px; }
.pt-card h3 { font-size: 15px; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: center; }
.pt-list a, .pt-list .it { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; }
.pt-list a:last-child, .pt-list .it:last-child { border-bottom: 0; }
.pt-list .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.pt-list .txt { flex: 1; min-width: 0; }
.pt-list .txt b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-list .txt small { color: var(--muted); }
.pt-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.pt-quick a { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 8px; text-align: center; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.pt-quick a .ic { color: var(--brand); display: block; margin: 0 auto 6px; }
.pt-due { background: linear-gradient(135deg, #fff5e6, #fff); border-color: #f1d9a6; }
.pt-serial { font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1; }
.pt-auth { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 22px 18px; margin-top: 8px; }
.pt-auth h1 { font-size: 22px; }
.pt-family { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 2px; }
.pt-family button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer; }
.pt-family button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pt .print-page { margin: 0; padding: 16px; border-radius: 14px; max-width: none; font-size: 13.5px; }
.pt .print-head { flex-direction: column; gap: 6px; }
.pt .print-head .meta { text-align: left; }
@media print { .pt-top, .pt-tabs, .no-print { display: none !important; } .pt-main { padding: 0; max-width: none; } }
