/* HealthTeky Practice pages (templates/practice/) + the initials avatar used site-wide (practice/templatetags/ht_avatar.py) */

/* ── avatar: photo, or initials until a photo is uploaded ── */
.ht-av { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; object-fit: cover; vertical-align: middle;
    background: linear-gradient(135deg, hsl(var(--h, 210) 70% 52%), hsl(calc(var(--h, 210) + 40) 72% 44%)); color: #fff;
    font: 800 15px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .02em; text-decoration: none; }
.ht-av[hidden] { display: none !important; }
.ht-av-img { background: #eef2f7; }
.ht-av-xs { width: 31px; height: 31px; font-size: 12px; }
.ht-av-sm { width: 40px; height: 40px; font-size: 15px; }
.ht-av-md { width: 64px; height: 64px; font-size: 22px; }
.ht-av-lg { width: 96px; height: 96px; font-size: 34px; }
.ht-av-xl { width: 120px; height: 120px; font-size: 44px; }
/* 'fit': takes the size of the box it is put in; initials scale with it */
.ht-av-fit { width: 100%; max-width: 160px; height: auto; aspect-ratio: 1 / 1; container-type: inline-size; }
.ht-av-fit b { font-size: 38cqi; font-weight: 800; line-height: 1; }
img.ht-av-fit { object-fit: cover; }

/* ── page ── */
.pr-page { --ink: #15263a; --soft: #56687c; --line: #dfe8f1; --brand: #0088d1; --ok: #0f9d58; --warn: #b26a00; --bad: #c62828;
    background: #f4f7fb; padding: 28px 0 56px; min-height: 70vh; color: var(--ink); font-family: var(--font, system-ui, sans-serif); }
.pr-page h1 { font-size: 26px; font-weight: 800; margin: 0 0 4px; color: var(--ink); }
.pr-page h2 { font-size: 17px; font-weight: 800; margin: 22px 0 10px; color: var(--ink); }
.pr-page h2:first-child { margin-top: 0; }
.pr-soft { color: var(--soft); margin: 0 0 4px; }
.pr-fine { color: var(--soft); font-size: 13px; margin: 12px 0 0; }
.pr-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 6px 22px rgba(20, 33, 61, .05); margin-bottom: 18px; }
.pr-grid { display: grid; gap: 18px; }
.pr-book { grid-template-columns: 320px minmax(0, 1fr); align-items: start; }
.pr-doc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; position: sticky; top: 90px; }
.pr-fee { font-size: 26px; font-weight: 800; color: var(--ink); margin: 8px 0 0; }
.pr-fee small { font-size: 13px; font-weight: 600; color: var(--soft); }
@media (max-width: 860px) { .pr-book { grid-template-columns: minmax(0, 1fr); } .pr-doc { position: static; flex-direction: row; text-align: left; } .pr-doc > div { min-width: 0; } }
@media (max-width: 560px) { .pr-doc { flex-direction: column; text-align: center; } }

.pr-msgs { margin-bottom: 16px; }
.pr-msg { padding: 12px 16px; border-radius: 12px; margin-bottom: 8px; font-weight: 600; background: #eaf2ff; color: #0b4fb3; }
.pr-success { background: #e7f6ee; color: #0b6b3a; }
.pr-error { background: #fdecec; color: #a11b1b; }
.pr-warning { background: #fff4e0; color: #8a5200; }

.pr-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.pr-day { flex: none; display: grid; justify-items: center; gap: 1px; width: 64px; padding: 8px 0; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); cursor: pointer; }
.pr-day b { font-size: 20px; line-height: 1.1; }
.pr-day small { font-size: 11.5px; color: var(--soft); font-weight: 700; text-transform: uppercase; }
.pr-day.on { border-color: var(--brand); background: #eaf2ff; box-shadow: 0 0 0 2px rgba(13, 110, 253, .15); }
.pr-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pr-slot { padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; color: var(--ink); cursor: pointer; }
.pr-slot:hover { border-color: #9ec2ff; }
.pr-slot.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pr-seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pr-seg label { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; cursor: pointer; margin: 0; }
.pr-seg label:has(input:checked) { border-color: var(--brand); background: #eaf2ff; }
.pr-label { display: block; font-weight: 700; margin: 0 0 12px; }
.pr-label small { color: var(--soft); font-weight: 500; }
.pr-label textarea, .pr-label input, .pr-label select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-weight: 500; }
.pr-total { border-top: 1px dashed var(--line); margin: 14px 0; padding-top: 12px; }
.pr-total div { display: flex; justify-content: space-between; padding: 3px 0; }
.pr-sum { font-size: 18px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px !important; }

.pr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid transparent;
    font-weight: 800; cursor: pointer; text-decoration: none !important; font-size: 15px; line-height: 1.2; }
.pr-main { background: var(--ht-btn, linear-gradient(90deg, #0090e0, #00a3b8 55%, #3aa815)); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(0, 140, 200, .55); }
.pr-main:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.pr-ghost { background: #fff; border-color: var(--line); color: var(--ink) !important; }
.pr-danger { background: #fff; border-color: #f3c2c2; color: var(--bad) !important; }
.pr-okbtn { background: var(--ok); color: #fff !important; }
.pr-wide { width: 100%; padding: 14px; font-size: 16px; }
.pr-sm { padding: 6px 12px; font-size: 13.5px; border-radius: 10px; }

.pr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pr-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.pr-tabs a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; font-weight: 700; text-decoration: none !important; font-size: 14px; }
.pr-tabs a.on { background: var(--ht-btn, linear-gradient(90deg, #0090e0, #00a3b8 55%, #3aa815)); border-color: transparent; color: #fff !important; }
.pr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.pr-stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.pr-stat b { display: block; font-size: 24px; font-weight: 800; }
.pr-stat small { color: var(--soft); font-weight: 700; }
@media (max-width: 760px) { .pr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pr-list { display: grid; gap: 10px; }
.pr-row { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; flex-wrap: wrap; }
.pr-row .pr-when { min-width: 92px; font-weight: 800; }
.pr-row .pr-when small { display: block; color: var(--soft); font-weight: 600; }
.pr-row .pr-who { flex: 1; min-width: 180px; }
.pr-row .pr-who b { display: block; }
.pr-row .pr-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.pr-row form { margin: 0; }
.pr-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: #eef2f7; color: var(--soft); }
.pr-b-confirmed, .pr-b-paid, .pr-b-activated, .pr-b-released { background: #e7f6ee; color: #0b6b3a; }
.pr-b-completed { background: #eaf2ff; color: #0b4fb3; }
.pr-b-cancelled, .pr-b-refunded, .pr-b-reversed, .pr-b-error, .pr-b-failed { background: #fdecec; color: #a11b1b; }
.pr-b-on_hold, .pr-b-waiting_account, .pr-b-under_review, .pr-b-submitted, .pr-b-pending_payment, .pr-b-no_show, .pr-b-needs_clarification { background: #fff4e0; color: #8a5200; }
.pr-empty { color: var(--soft); padding: 18px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; background: #fff; }
.pr-banner { padding: 14px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 600; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pr-banner.warn { background: #fff4e0; color: #7a4a00; }
.pr-banner.ok { background: #e7f6ee; color: #0b6b3a; }

.pr-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pr-table th { text-align: left; color: var(--soft); font-weight: 700; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pr-table td { padding: 10px 8px; border-bottom: 1px solid #f0f3f8; vertical-align: middle; }
.pr-scroll { overflow-x: auto; }
.pr-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pr-form .pr-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .pr-form { grid-template-columns: 1fr; } }
.pr-week { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 12px; }
.pr-week label { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; margin: 0; cursor: pointer; }
.pr-week label:has(input:checked) { border-color: var(--brand); background: #eaf2ff; }
.pr-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.pr-inline .pr-label { margin: 0; }
.pr-kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 14px; margin: 0; }
.pr-kv dt { color: var(--soft); font-weight: 700; }
.pr-kv dd { margin: 0; font-weight: 600; }

/* store owners' top bar (templates/practice/_store_nav.html) */
.pr-storenav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 20px; background: linear-gradient(90deg, #00a8ff, #2fb36b); }
.pr-storenav a { color: #fff !important; font-weight: 800; text-decoration: none !important; }
.pr-storenav-brand { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.pr-storenav-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pr-storenav-me { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; }

/* shop (templates/shop/) */
.pr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pr-store { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink) !important; text-decoration: none !important; transition: box-shadow .15s, transform .15s; }
.pr-store:hover { box-shadow: 0 8px 22px rgba(20, 33, 61, .08); transform: translateY(-1px); }
.pr-store b { font-size: 17px; }
.pr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.pr-chips i { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef4ff; color: #0b4fb3; }
.pr-steps { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: s; overflow-x: auto; }
.pr-steps li { flex: 1; min-width: 110px; position: relative; text-align: center; font-size: 13px; font-weight: 700; color: var(--soft); padding-top: 34px; counter-increment: s; }
.pr-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e3e9f2; color: var(--soft); z-index: 1; }
.pr-steps li::after { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: #e3e9f2; }
.pr-steps li:first-child::after { display: none; }
.pr-steps li.done { color: var(--ink); }
.pr-steps li.done::before { content: '✓'; background: var(--ok); color: #fff; }
.pr-steps li.done::after { background: var(--ok); }
.pr-actbox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.pr-actbox form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.pr-b-placed, .pr-b-accepted, .pr-b-packed, .pr-b-out_for_delivery, .pr-b-sample_collected, .pr-b-processing { background: #eaf2ff; color: #0b4fb3; }
.pr-b-delivered, .pr-b-report_ready { background: #e7f6ee; color: #0b6b3a; }
.pr-b-rejected { background: #fdecec; color: #a11b1b; }

/* public directory (templates/practice/directory/) */
.pr-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.pr-filters .pr-label { margin: 0; min-width: 130px; }
.pr-filters .pr-grow { flex: 1 1 240px; }
.pr-docrow { display: grid; grid-template-columns: auto minmax(0, 1fr) 210px; gap: 18px; align-items: center; margin: 0; }
.pr-docinfo h2 { margin: 0 0 4px !important; font-size: 19px; }
.pr-docinfo h2 a { color: var(--ink) !important; }
.pr-docbook { display: flex; flex-direction: column; gap: 4px; align-items: stretch; text-align: center; }
.pr-ok { color: var(--ok); font-weight: 700; }
@media (max-width: 760px) { .pr-docrow { grid-template-columns: auto 1fr; } .pr-docbook { grid-column: 1 / -1; } }
.pr-pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 16px 0; }
.pr-avail { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pr-avail > div { display: flex; flex-direction: column; gap: 6px; }
.pr-avail .pr-slot { text-align: center; text-decoration: none !important; }
.pr-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; margin-bottom: 8px; }
.pr-stars input { display: none; }
.pr-stars label { font-size: 30px; color: #d0d6e2; cursor: pointer; margin: 0; }
.pr-stars input:checked ~ label, .pr-stars label:hover, .pr-stars label:hover ~ label { color: #f4b400; }
.pr-hosimg { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; display: block; }
.pr-hosph { display: grid; place-items: center; font-size: 48px; background: linear-gradient(135deg, #eaf2ff, #e7f6ee); }
.pr-hoshead { display: grid; grid-template-columns: 280px 1fr; gap: 18px; }
.pr-hoshead:not(:has(img)) { grid-template-columns: 1fr; }
@media (max-width: 760px) { .pr-hoshead { grid-template-columns: 1fr; } }

/* patient home (templates/practice/patient_home.html) */
.pr-hello { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pr-hello > div { flex: 1; min-width: 200px; }
.pr-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.pr-tiles a { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.pr-tiles a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 33, 61, .08); }
.pr-tiles i { font-style: normal; font-size: 26px; }
.pr-tiles small { color: var(--soft); }
@media (max-width: 900px) { .pr-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pr-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pr-two .pr-card { margin: 0; }
@media (max-width: 860px) { .pr-two { grid-template-columns: 1fr; } }
.pr-cardhead { display: flex; justify-content: space-between; align-items: baseline; }
.pr-cardhead h2 { margin-top: 0 !important; }

/* teleconsultation (templates/practice/visit.html, prescription*.html) */
.pr-visit { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pr-visit-doc { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 960px) { .pr-visit-doc { grid-template-columns: 1fr; } }
.pr-visit-main { position: relative; min-height: 560px; background: #0f172a; border-radius: 18px; overflow: hidden; }
.pr-meet { position: absolute; inset: 0; }
.pr-meet iframe { border: 0; }
.pr-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 24px; background: linear-gradient(135deg, #eaf2ff, #e7f6ee); }
.pr-wait h2 { margin: 10px 0 0 !important; }
.pr-visit-side .pr-card { margin-bottom: 12px; }
.pr-mini { padding-left: 18px; margin: 0 0 8px; }
.pr-rx input { width: 100%; padding: 7px 9px; border: 1.5px solid var(--line); border-radius: 9px; font: inherit; min-width: 90px; }
.pr-rxsheet { max-width: 860px; }
.pr-rxhead { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 14px; }
.pr-rxhead b { font-size: 34px; font-family: Georgia, serif; }
.pr-rxfoot { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 10px; font-size: 12.5px; color: var(--soft); }
.pr-seller { background: #f8fbff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
@media print { .pr-noprint, header.header, footer, .pr-msgs { display: none !important; } .pr-page { background: #fff; padding: 0; } .pr-rxsheet { border: 0; box-shadow: none; } }

/* Phase 5 */
.pr-heart { border: 0; background: none; color: #e0245e; font-size: 20px; cursor: pointer; padding: 0 4px; line-height: 1; }
.pr-reply { display: block; margin-top: 6px; padding: 8px 10px; background: #f4f7fb; border-left: 3px solid var(--brand); border-radius: 8px; font-size: 14px; }

/* Phase 8: written consultations, vaccinations, e-signature */
.pr-b-open, .pr-b-overdue { background: #fff4e0; color: #8a5200; }
.pr-b-answered, .pr-b-given { background: #e7f6ee; color: #0b6b3a; }
.pr-b-closed, .pr-b-upcoming { background: #eef2f7; color: var(--soft); }
.pr-b-due { background: #eaf2ff; color: #0b4fb3; }
.pr-thread { display: flex; flex-direction: column; gap: 10px; }
.pr-bubble { max-width: 80%; padding: 12px 14px; border-radius: 14px; background: #f4f7fb; border: 1px solid var(--line); white-space: pre-wrap; word-wrap: break-word; }
.pr-bubble.mine { align-self: flex-end; background: #e9f7ff; border-color: #cfeaff; }
.pr-bubble small { display: block; color: var(--soft); font-size: 12px; margin-top: 6px; white-space: normal; }
.pr-vgroup { border-top: 1px solid var(--line); padding: 12px 0; }
.pr-vgroup:first-child { border-top: 0; }
.pr-vgroup h3 { margin: 0 0 8px; font-size: 15px; }
.pr-vrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 0; }
.pr-vrow .pr-who { flex: 1; min-width: 160px; }
.pr-vrow form { margin: 0; display: flex; gap: 6px; align-items: center; }
.pr-vrow input[type=date] { padding: 5px 8px; border: 1.5px solid #e3e9f2; border-radius: 10px; }
.pr-rxsign { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; }
.pr-rxsign img { max-height: 64px; max-width: 220px; object-fit: contain; }
.pr-rxsign small { color: var(--soft); font-size: 12px; }
.pr-danger-zone { border: 1.5px solid #f3c4c4; }

/* Phase 9: referrals, certificates, procedures */
.pr-form [hidden] { display: none !important; }
.pr-referral { border-left: 4px solid var(--brand); background: #f8fbff; }
.pr-proc { display: block; }
.pr-proc > summary { list-style: none; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; cursor: pointer; }
.pr-proc > summary::-webkit-details-marker { display: none; }
.pr-proc .pr-price { white-space: nowrap; font-size: 16px; }
.pr-proc[open] > summary .pr-btn { display: none; }

/* Phase 10: allergies, emergency beds, blood donors */
.pr-allergy-card { border-left: 4px solid #e0245e; background: #fff7f9; }
.pr-sos { background: #fdecec; color: #a11b1b; }
.pr-sos a { color: inherit; }
.pr-beds-free { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.pr-beds-free i { font-style: normal; background: #e7f6ee; color: #0b6b3a; border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.pr-bloodgroup { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 30px; padding: 0 8px; border-radius: 10px; background: #fdecec; color: #b3132f; font-weight: 800; }

/* Phase 11: care plans, insurance */
.pr-plan { border-left: 4px solid var(--brand); background: #f8fbff; }
.pr-checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 14px; }
.pr-checkgrid label { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }

/* Phase 12: timeline, share links, Emergency ID */
.pr-timeline { list-style: none; margin: 0; padding: 0; }
.pr-tl-month { font-weight: 800; color: var(--soft); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin: 14px 0 6px; }
.pr-tl-month:first-child { margin-top: 0; }
.pr-tl-item { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0 8px 12px; border-left: 3px solid #cfe3f7; }
.pr-tl-item .pr-who b { display: block; }
.pr-tl-date { min-width: 52px; font-weight: 700; font-size: 13px; color: var(--soft); padding-top: 2px; }
.pr-tl-rx, .pr-tl-certificate { border-left-color: #a7e3b9; }
.pr-tl-report { border-left-color: #f7d48a; }
.pr-tl-vaccine { border-left-color: #c8b6ff; }
.pr-tl-referral, .pr-tl-written { border-left-color: #9ad7f0; }
.pr-copy { display: flex; gap: 6px; margin-top: 6px; }
.pr-copy input { flex: 1; min-width: 0; padding: 6px 10px; border: 1.5px solid #e3e9f2; border-radius: 10px; font-size: 13px; }
.pr-idcard { max-width: 480px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 2px solid #b3132f; background: #fff; }
.pr-idcard-top { background: #b3132f; color: #fff; display: flex; justify-content: space-between; padding: 8px 14px; font-size: 13px; letter-spacing: .04em; }
.pr-idcard-body { display: flex; gap: 12px; padding: 12px 14px; align-items: center; }
.pr-idcard-body p { margin: 2px 0; font-size: 14px; }
.pr-idname { font-size: 18px !important; font-weight: 800; }
.pr-idqr { text-align: center; flex: 0 0 auto; }
.pr-idqr svg { width: 130px; height: 130px; display: block; }
.pr-idqr small { color: var(--soft); font-size: 11px; }
@media print { .pr-idcard { border-width: 1px; margin: 0; } }

/* Phase 13: account security, accessibility */
.pr-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.pr-codes code, .pr-key { font-family: ui-monospace, Consolas, monospace; font-size: 16px; background: #f4f7fb; border: 1px solid #e3e9f2; border-radius: 8px; padding: 6px 10px; text-align: center; letter-spacing: .05em; }
.pr-2fa { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pr-2fa .pr-idqr svg { width: 180px; height: 180px; }
.ht-a11y { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; margin: 0 auto 18px; font-size: 13px; }
.ht-a11y button { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 4px 12px; font: inherit; cursor: pointer; }
.ht-a11y button[aria-pressed="true"] { background: #fff; color: #0b4fb3; }
html[data-text="l"] body { zoom: 1.12; }
html[data-text="xl"] body { zoom: 1.25; }
html[data-contrast] { --soft: #1c2b44; --line: #5b6b84; }
html[data-contrast] body { color: #000; }
html[data-contrast] .pr-soft, html[data-contrast] .pr-fine, html[data-contrast] small { color: #1c2b44 !important; }
html[data-contrast] a { text-decoration: underline; }
html[data-contrast] .pr-card, html[data-contrast] .pr-btn { border-color: #14213d; }

/* Phase 14: help centre, support */
.pr-faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.pr-faq details:last-child { border-bottom: 0; }
.pr-faq summary { cursor: pointer; font-weight: 700; }
.pr-faq details p { margin: 8px 0 2px; }
.pr-bubble.pr-internal { background: #fff7e0; border-style: dashed; }

/* Phase 15: my medicines, video check */
.pr-med-ending, .pr-med-review { border-left: 4px solid #f0a500; padding-left: 10px; }
.pr-med .pr-who span { display: block; }
.pr-dc-video { width: 100%; aspect-ratio: 4 / 3; background: #0f1b2d; border-radius: 12px; object-fit: cover; transform: scaleX(-1); }
.pr-dc-meter { height: 10px; background: #eef2f7; border-radius: 999px; overflow: hidden; margin: 10px 0; }
.pr-dc-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #00a8ff, #64dd17); transition: width .08s; }
.pr-dc-list { list-style: none; margin: 0; padding: 0; }
.pr-dc-list li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.pr-dc-list li span { color: var(--soft); text-align: right; }
.pr-dc-list li.ok span { color: #0b6b3a; font-weight: 700; }
.pr-dc-list li.bad span { color: #a11b1b; font-weight: 700; }
.pr-dc-list li.ok b::before { content: '✓ '; color: #0b6b3a; }
.pr-dc-list li.bad b::before { content: '✕ '; color: #a11b1b; }

/* Phase 16: clinics */
.pr-slot small { display: block; font-size: 11px; font-weight: 600; opacity: .8; line-height: 1.2; margin-top: 2px; }

/* ── Find a doctor: search bar, quick picks and filters ── */
.dr-search { position: relative; margin: 6px 0 22px; padding: 18px; border-radius: 24px; background:
    linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #0090e0, #00a3b8 55%, #3aa815) border-box;
    border: 1.5px solid transparent; box-shadow: 0 18px 40px -22px rgba(0, 110, 170, .45), 0 2px 6px rgba(20, 33, 61, .04); }
.dr-bar { display: flex; align-items: stretch; gap: 0; background: #f4f8fc; border: 1px solid #e3ecf5; border-radius: 18px; padding: 6px; }
.dr-field { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 14px; cursor: text; transition: background .15s, box-shadow .15s; min-width: 0; }
.dr-field:focus-within { background: #fff; box-shadow: 0 6px 18px -8px rgba(0, 120, 190, .35); }
.dr-q { flex: 1 1 auto; }
.dr-city { flex: 0 1 240px; border-left: 1px solid #dfe8f1; border-radius: 0 14px 14px 0; }
.dr-city:focus-within { border-left-color: transparent; border-radius: 14px; }
.dr-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(0, 144, 224, .12), rgba(58, 168, 21, .12)); }
.dr-ico svg, .dr-go svg, .dr-more summary svg { width: 20px; height: 20px; fill: none; stroke: #0088d1; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dr-in { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dr-in b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6b7d90; font-weight: 800; }
.dr-in input { border: 0; outline: 0; background: transparent; padding: 2px 0 0; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--ink); width: 100%; }
.dr-in input::placeholder { color: #9aabbd; font-weight: 500; }
.dr-go { flex: none; display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 0 26px; border: 0; border-radius: 14px;
    font-family: inherit; font-weight: 800; font-size: 16px; color: #fff; cursor: pointer; background: var(--ht-btn, linear-gradient(90deg, #0090e0, #00a3b8 55%, #3aa815));
    box-shadow: 0 10px 22px -10px rgba(0, 140, 200, .7); transition: transform .12s, box-shadow .12s; }
.dr-go svg { stroke: #fff; }
.dr-go:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(0, 140, 200, .75); }
.dr-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 14px 4px 0; }
.dr-chips-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6b7d90; margin-right: 4px; }
.dr-chip { border: 1px solid #d6e4f0; background: #fff; color: #234; font-family: inherit; font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s; }
.dr-chip:hover { border-color: #00a3b8; color: #007a9e; background: #f0fafc; }
.dr-chip.on { background: linear-gradient(90deg, #0090e0, #00a3b8); color: #fff; border-color: transparent; }
.dr-more { margin: 14px 4px 0; text-align: center; }
.dr-more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; color: #0b5f8a; user-select: none; }
.dr-more summary::-webkit-details-marker { display: none; }
.dr-more summary i { font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: #00a3b8; border-radius: 999px; padding: 1px 8px; }
.dr-clear { margin-left: 10px; font-weight: 600; font-size: 14px; color: #b0362e; text-decoration: none; }
.dr-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #dfe8f1; text-align: left; }
.dr-sel { display: flex; flex-direction: column; gap: 6px; margin: 0; flex: 0 0 calc((100% - 48px) / 5); }
.dr-sel span { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #6b7d90; text-align: center; }
.dr-sel select, .dr-sel input { appearance: none; -webkit-appearance: none; width: 100%; padding: 10px 34px; border: 1px solid #dce7f1; border-radius: 12px; text-align: center; text-align-last: center;
    background: #f8fbfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230088d1' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
    font-family: inherit; font-weight: 600; font-size: 14px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.dr-sel input { background-image: none; padding: 10px 14px; }
.dr-sel select:focus, .dr-sel input:focus { outline: 0; border-color: #00a3b8; box-shadow: 0 0 0 4px rgba(0, 163, 184, .12); background-color: #fff; }
.dr-help { flex-direction: column; justify-content: center; text-align: center; gap: 12px; padding: 20px 16px; font-size: 16px; }
.dr-help .pr-btn { padding: 10px 26px; font-size: 15px; }
.dr-sos { background: #fdeeee; color: #9b1c1c; }
.hos-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); justify-content: center; gap: 18px; }
.hos-cards .pr-store { align-items: center; text-align: center; padding: 14px 14px 18px; border-radius: 20px; box-shadow: 0 10px 28px -18px rgba(0, 90, 160, .45); }
.hos-cards .pr-store:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(0, 90, 160, .5); }
.hos-cards .pr-chips { justify-content: center; }
.dr-grid-one .dr-sel { flex-basis: 300px; }
.dr-reset { margin: 12px 0 0; text-align: center; }
.dr-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 6px 0 20px; }
.dr-title { text-align: center; }
.dr-title h1 { margin: 0 0 4px; }
.dr-title p { margin: 0; }
.dr-hl { justify-self: start; }
.dr-hr { justify-self: end; }
.dr-head .pr-btn { min-width: 210px; height: 46px; padding: 0 20px; font-size: 15px; font-weight: 700; border-radius: 12px; }
.dr-empty { text-align: center; padding: 44px 20px; border-radius: 22px; background: #fff; border: 1px dashed #cfe0ee; }
.dr-empty-ico { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 22px; display: grid; place-items: center; font-size: 34px;
    background: linear-gradient(135deg, rgba(0, 144, 224, .12), rgba(58, 168, 21, .14)); }
.dr-empty h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.dr-empty-act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 720px) {
  .dr-search { padding: 12px; border-radius: 20px; }
  .dr-bar { flex-direction: column; gap: 4px; }
  .dr-city { flex: 1 1 auto; border-left: 0; border-top: 1px solid #dfe8f1; border-radius: 14px; }
  .dr-go { margin: 6px 0 0; padding: 14px; justify-content: center; }
  .dr-sel { flex-basis: calc((100% - 12px) / 2); }
  .dr-head { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dr-title { grid-column: 1 / -1; order: -1; }
  .dr-hl, .dr-hr { justify-self: stretch; }
  .dr-head .pr-btn { min-width: 0; width: 100%; height: 44px; padding: 0 8px; font-size: 13.5px; white-space: nowrap; }
}

/* Doctor profile (/doctors/<id>/): centred hero, stat tiles, day tabs for times */
.dp-hero { position: relative; text-align: center; padding: 26px 22px 24px; margin-bottom: 20px; border-radius: 26px; border: 1px solid #d9ecf5;
    background: radial-gradient(120% 90% at 50% 0%, rgba(0, 168, 255, .10), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(58, 168, 21, .10), transparent 60%), #fff;
    box-shadow: 0 18px 40px -26px rgba(0, 90, 160, .45); }
.dp-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.dp-top .pr-btn { min-width: 150px; height: 40px; }
.dp-ava { display: flex; justify-content: center; margin: 4px 0 12px; }
.dp-ava .ht-av { box-shadow: 0 0 0 6px #fff, 0 0 0 8px rgba(0, 163, 184, .35), 0 14px 30px -12px rgba(0, 90, 160, .5); }
.dp-hero h1 { margin: 0; font-size: 30px; }
.dp-sub { margin: 6px 0 12px; color: #4b5d70; font-weight: 600; }
.dp-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.dp-tags span { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #eef6ff; color: #0b4fb3; }
.dp-tags .dp-live { background: #e7f8ee; color: #138a43; }
.dp-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 20px; max-width: 760px; }
.dp-stats div { flex: 1 1 150px; max-width: 180px; padding: 14px 10px; border-radius: 16px; background: #f6fafd; border: 1px solid #e3edf5; display: flex; flex-direction: column; gap: 2px; }
.dp-stats b { font-size: 22px; color: var(--ink); }
.dp-stats b.dp-lang { font-size: 15px; line-height: 1.35; }
.dp-stats small { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b7d90; }
.dp-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dp-acts form { margin: 0; }
.dp-acts .pr-btn { min-width: 220px; height: 48px; font-size: 15.5px; font-weight: 800; border-radius: 14px; }
.dp-note { margin: 10px 0 0; font-size: 13px; color: #6b7d90; }
.dp-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px; margin-bottom: 20px; text-align: center; box-shadow: 0 10px 30px -22px rgba(20, 33, 61, .35); }
.dp-card h2 { margin: 0 0 6px; font-size: 21px; }
.dp-lead { margin: 0 0 16px; color: #6b7d90; }
.dp-h3 { margin: 22px 0 12px; font-size: 16px; }
.dp-days { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 16px; }
.dp-day { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 92px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid #dce7f1; background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: .15s; }
.dp-day b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #6b7d90; }
.dp-day span { font-size: 17px; font-weight: 800; }
.dp-day small { font-size: 12px; font-weight: 700; color: #138a43; }
.dp-day:hover:not([disabled]) { border-color: #00a3b8; }
.dp-day.on { background: linear-gradient(135deg, #0090e0, #2fb36b); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -12px rgba(0, 120, 190, .7); }
.dp-day.on b, .dp-day.on small { color: rgba(255, 255, 255, .9); }
.dp-day[disabled] { opacity: .5; cursor: not-allowed; background: #f6f8fb; }
.dp-day[disabled] small { color: #8a97a6; }
.dp-slots { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.dp-slots[hidden] { display: none; }
.dp-slots .pr-slot { min-width: 112px; text-align: center; text-decoration: none; }
.dp-slots .pr-slot:hover { border-color: #00a3b8; background: #f0fbfd; }
.dp-about { max-width: 720px; margin: 6px auto 18px; line-height: 1.65; color: #34465a; }
.dp-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dp-facts div { flex: 1 1 200px; max-width: 260px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 12px; border-radius: 16px; background: #f6fafd; border: 1px solid #e3edf5; }
.dp-facts small { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #6b7d90; }
.dp-facts span, .dp-facts a { font-weight: 700; color: var(--ink); }
.dp-facts a { color: #0b6fb8; }
.dp-facts em { font-style: normal; font-size: 12.5px; color: #6b7d90; }
.dp-hours { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dp-hours div { flex: 0 0 150px; white-space: nowrap; display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-radius: 14px; border: 1px solid #e3edf5; }
.dp-hours b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #0b6fb8; }
.dp-hours span { font-weight: 700; font-size: 13px; }
.dp-hours small { font-size: 12px; color: #6b7d90; }
.dp-edu { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dp-edu div { flex: 1 1 220px; max-width: 300px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px; border-radius: 16px; background: #f6fafd; border: 1px solid #e3edf5; }
.dp-edu i { font-style: normal; font-size: 26px; }
.dp-edu span { font-size: 13.5px; color: #6b7d90; }
.dp-noreview { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; border-radius: 18px; border: 1px dashed #cfe0ee; }
.dp-noreview .dr-empty-ico { margin: 0 0 4px; width: 60px; height: 60px; font-size: 28px; }
.dp-review { max-width: 560px; margin: 0 auto 16px; text-align: center; }
.dp-review .pr-stars { justify-content: center; }
#reviews .pr-list { text-align: left; }
@media (max-width: 720px) {
  .dp-hero { padding: 18px 14px 20px; border-radius: 22px; }
  .dp-top .pr-btn { min-width: 0; flex: 1; font-size: 13px; white-space: nowrap; padding: 0 6px; }
  .dp-hero h1 { font-size: 24px; }
  .dp-stats div { flex: 1 1 40%; }
  .dp-acts .pr-btn, .dp-acts form, .dp-acts form .pr-btn { width: 100%; min-width: 0; }
  .dp-acts form { flex: 1 1 100%; }
  .dp-days { flex-wrap: nowrap; gap: 6px; }
  .dp-day { flex: 1 1 0; min-width: 0; padding: 8px 4px; }
  .dp-day span { font-size: 15px; }
  .dp-slots .pr-slot { min-width: 0; flex: 0 0 calc((100% - 20px) / 3); }
  .dp-hours div { flex: 0 0 calc((100% - 10px) / 2); }
}

/* Hospital page (/hospitals/<id>/): builds on the doctor-profile .dp-* pieces */
.hp-photo { display: flex; justify-content: center; margin: 4px 0 14px; }
.hp-photo img, .hp-photo span { width: 132px; height: 132px; border-radius: 30px; object-fit: cover; box-shadow: 0 0 0 6px #fff, 0 0 0 8px rgba(0, 163, 184, .35), 0 14px 30px -12px rgba(0, 90, 160, .5); }
.hp-photo span { display: grid; place-items: center; font-size: 60px; background: linear-gradient(135deg, rgba(0, 144, 224, .14), rgba(58, 168, 21, .16)); }
.hp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; }
.hp-chips span { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; background: #f3f8fd; border: 1px solid #dce9f5; color: #23415e; }
.hp-docs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hp-doc { flex: 0 1 240px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 16px; border-radius: 20px; border: 1px solid #e3edf5; background: linear-gradient(180deg, #f7fbfe, #fff); }
.hp-doc .ht-av { margin-bottom: 6px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(0, 163, 184, .3); }
.hp-docname { font-weight: 800; font-size: 17px; color: var(--ink) !important; text-decoration: none !important; }
.hp-fee { font-size: 20px; margin-top: 4px; }
.hp-next { color: #138a43; font-weight: 700; }
.hp-doc .pr-btn { margin-top: 10px; width: 100%; height: 44px; }
.hp-procs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hp-procs .pr-proc { flex: 0 1 300px; padding: 20px 16px; border-radius: 20px; border: 1px solid #e3edf5; background: linear-gradient(180deg, #f7fbfe, #fff); margin: 0; }
.hp-procs .pr-proc[open] { flex-basis: 100%; }
.hp-procs .pr-proc > summary { flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
.hp-procs .pr-who { align-items: center; }
.pr-proc .pr-who > span { display: block; }
.hp-procs .pr-who b { font-size: 16.5px; }
.hp-procs .pr-price { font-size: 20px; color: #0b6fb8; }
.hp-procs .pr-proc > summary .pr-btn { min-width: 160px; height: 40px; }
.hp-procs .pr-proc p { text-align: center; }
.hp-procs .pr-form, .hp-form { max-width: 640px; margin: 14px auto 0; text-align: center; }
.hp-procs .pr-label, .hp-form .pr-label { text-align: center; }
.hp-procs .pr-label input, .hp-procs .pr-label textarea, .hp-form .pr-label select, .hp-form .pr-label textarea { text-align: center; text-align-last: center; }
.hp-procs .pr-form .pr-btn, .hp-form .pr-btn { min-width: 200px; }
.hp-reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hp-reviews div { flex: 0 1 300px; padding: 16px; border-radius: 18px; border: 1px solid #e3edf5; display: flex; flex-direction: column; gap: 4px; }
.hp-reviews b { font-size: 18px; color: #e3a008; }
.hp-reviews span { font-size: 13px; color: #6b7d90; }
.hp-reviews p { margin: 6px 0 0; }
.hp-storeico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; font-size: 30px; background: linear-gradient(135deg, rgba(0, 144, 224, .12), rgba(58, 168, 21, .14)); margin-bottom: 4px; }
@media (max-width: 720px) {
  .hp-doc { flex: 1 1 100%; }
  .hp-procs .pr-proc { flex-basis: 100%; }
  .hp-photo { margin-top: 22px; }
  .hp-photo img, .hp-photo span { width: 108px; height: 108px; font-size: 48px; border-radius: 26px; }
  .hp-procs .pr-form, .hp-form { grid-template-columns: 1fr; }
}

/* Consult now (/consult-now/) */
.dr-in select { border: 0; outline: 0; background: transparent; padding: 2px 0 0; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--ink); width: 100%; cursor: pointer; }
.cn-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 auto 22px; max-width: 980px; }
.cn-steps div { flex: 1 1 240px; max-width: 310px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 16px 14px; border-radius: 18px; background: #fff; border: 1px solid #e3edf5; }
.cn-steps i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 4px; color: #fff; font-weight: 800;
    background: linear-gradient(135deg, #0090e0, #2fb36b); box-shadow: 0 8px 18px -10px rgba(0, 120, 190, .8); }
.cn-steps span { font-size: 13.5px; color: #6b7d90; }
.cn-live { font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #e7f8ee; color: #138a43; }
.cn-consent { max-width: 720px; margin: 22px auto; }
.cn-check { display: flex; gap: 10px; align-items: flex-start; justify-content: center; text-align: left; max-width: 560px; margin: 8px auto 16px; font-weight: 500; }
.cn-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #00a3b8; }
.cn-fields { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cn-fields .dr-sel { flex: 1 1 240px; max-width: 320px; }
.cn-fields input { background-image: none !important; padding: 10px 14px !important; }
@media (max-width: 720px) {
  .cn-steps { flex-wrap: nowrap; gap: 8px; }
  .cn-steps div { flex: 1 1 0; min-width: 0; padding: 12px 6px; }
  .cn-steps b { font-size: 13px; line-height: 1.25; }
  .cn-steps span { display: none; }
}

/* Book an appointment (/practice/book/<id>/): centred steps around the existing ids */
.bk-hero { padding-bottom: 20px; }
.bk-hero h1 { font-size: 26px; }
.bk-fee { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid #dceaf4; }
.bk-fee b { font-size: 22px; }
.bk-fee small { color: #6b7d90; font-weight: 700; }
.bk-card { max-width: 900px; margin-left: auto; margin-right: auto; }
.bk-step { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 14px !important; font-size: 19px; }
.bk-step:first-of-type { margin-top: 4px !important; }
.bk-card .pr-days { justify-content: safe center; padding: 4px 4px 8px; }
.bk-card .pr-day { width: 70px; padding: 10px 0; border-radius: 16px; transition: .15s; }
.bk-card .pr-day.on { background: linear-gradient(135deg, #0090e0, #2fb36b); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -12px rgba(0, 120, 190, .7); }
.bk-card .pr-day.on small { color: rgba(255, 255, 255, .9); }
.bk-card .pr-slots { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.bk-card .pr-slots .pr-slot { min-width: 112px; }
.bk-card .pr-slots .pr-slot.on { background: linear-gradient(135deg, #0090e0, #2fb36b); border-color: transparent; }
.bk-details { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bk-details .pr-seg { justify-content: center; margin: 0; }
.bk-details .cn-check { margin: 0 auto; }
.bk-wide { width: 100%; max-width: 560px; }
.bk-wide textarea { width: 100%; padding: 10px 14px; border: 1px solid #dce7f1; border-radius: 12px; background: #f8fbfe; font-family: inherit; font-weight: 500; font-size: 15px; text-align: center; resize: vertical; }
.bk-wide textarea:focus { outline: 0; border-color: #00a3b8; box-shadow: 0 0 0 4px rgba(0, 163, 184, .12); background: #fff; }
.bk-coupon { justify-content: center; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.bk-coupon .dr-sel { flex: 0 0 220px; width: 220px; }
.bk-coupon input { background-image: none !important; padding: 10px 14px !important; }
.bk-coupon .pr-btn { height: 42px; }
.bk-coupon #prCouponMsg { flex-basis: 100%; text-align: center; }
.bk-total { max-width: 420px; margin: 22px auto 14px !important; padding: 14px 18px !important; border: 1px solid #e3edf5 !important; border-radius: 18px; background: #f7fbfe; }
.bk-go { display: flex; max-width: 420px; margin: 0 auto; height: 52px; font-size: 16.5px; font-weight: 800; border-radius: 14px; }
.bk-card .dp-note { margin-top: 12px; }
@media (max-width: 720px) {
  .bk-card .pr-days { justify-content: flex-start; }
  .bk-card .pr-slots .pr-slot { min-width: 0; flex: 0 0 calc((100% - 20px) / 3); }
}
.bk-card .wl-box { flex-direction: column; justify-content: center; text-align: center; max-width: 560px; margin: 18px auto 0; }
.pr-slot, .pr-day { font-family: inherit; }
.bk-details .pr-seg label { min-width: 180px; justify-content: center; }
.cn-check[hidden], .cn-consent[hidden] { display: none; }

/* Ask a doctor (/ask/) */
.ak-ask, .ak-login { max-width: 860px; margin-left: auto; margin-right: auto; }
.ak-ask > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ak-ask > summary::-webkit-details-marker { display: none; }
.ak-ask > summary b { font-size: 20px; }
.ak-ask-ico { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 8px; border-radius: 18px; font-size: 28px; background: linear-gradient(135deg, rgba(0, 144, 224, .12), rgba(58, 168, 21, .14)); }
.ak-login h2 { margin: 0 0 6px; }
.ak-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed #dfe8f1; }
.ak-form .dr-sel { flex: 1 1 180px; max-width: 240px; }
.ak-form .ak-full { flex-basis: 100%; max-width: 640px; }
.ak-form input { background-image: none !important; padding: 10px 14px !important; }
.ak-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #dce7f1; border-radius: 12px; background: #f8fbfe; font-family: inherit; font-size: 15px; text-align: center; resize: vertical; }
.ak-form textarea:focus { outline: 0; border-color: #00a3b8; box-shadow: 0 0 0 4px rgba(0, 163, 184, .12); background: #fff; }
.ak-form .cn-check { justify-content: center; }
.ak-go { display: flex; justify-content: center; }
.ak-go .pr-btn { min-width: 220px; height: 48px; font-size: 15.5px; font-weight: 800; }
.ak-qs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ak-q { flex: 0 1 calc((100% - 16px) / 2); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 18px; border-radius: 20px; border: 1px solid #e3edf5; background: #fff;
    color: var(--ink) !important; text-decoration: none !important; box-shadow: 0 10px 28px -20px rgba(0, 90, 160, .45); transition: transform .15s, box-shadow .15s; }
.ak-q:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(0, 90, 160, .5); }
.ak-q b { font-size: 17px; }
.ak-state { font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: #fff4e0; color: #8a5300; }
.ak-state.ok { background: #e7f8ee; color: #138a43; }
.ak-pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
@media (max-width: 720px) {
  .ak-q { flex-basis: 100%; }
  .ak-form .dr-sel { max-width: none; }
}
.ak-form input::placeholder, .ak-form textarea::placeholder, .bk-wide textarea::placeholder, .cn-fields input::placeholder { color: #9aabbd; font-weight: 500; }

/* Lab tests / pharmacy (/shop/) */
a.dr-chip { text-decoration: none !important; color: #234 !important; }
a.dr-chip.on { color: #fff !important; }
.sh-basket { display: inline-block; margin-top: 10px; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; text-decoration: none !important;
    color: #fff !important; background: linear-gradient(90deg, #0090e0, #2fb36b); box-shadow: 0 10px 22px -12px rgba(0, 120, 190, .7); }
.sh-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.sh-item { flex: 0 1 260px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 14px; border-radius: 20px; border: 1px solid #e3edf5; background: linear-gradient(180deg, #f7fbfe, #fff); }
.sh-item > b { font-size: 16.5px; }
.sh-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0; }
.sh-tags i { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef6ff; color: #0b4fb3; }
.sh-price b { font-size: 21px; }
.sh-item .pr-add { margin-top: 8px; width: 100%; }
.sh-item .pr-add .pr-btn { width: 100%; height: 42px; }
@media (max-width: 720px) {
  .sh-item { flex-basis: 100%; }
}

/* Input boxes must read as boxes: a clear border, white fill, teal focus ring (owner's request, 2026-10-24) */
.dr-sel select, .dr-sel input, .bk-wide textarea, .ak-form textarea, .cn-fields input,
.pr-label input:not([type=checkbox]):not([type=radio]), .pr-label select, .pr-label textarea {
  border: 1.5px solid #9db4ca; background-color: #fff; box-shadow: inset 0 1px 2px rgba(20, 40, 70, .06); }
.dr-sel select:hover, .dr-sel input:hover, .bk-wide textarea:hover, .ak-form textarea:hover, .cn-fields input:hover,
.pr-label input:not([type=checkbox]):not([type=radio]):hover, .pr-label select:hover, .pr-label textarea:hover { border-color: #6f93b5; }
.dr-sel select:focus, .dr-sel input:focus, .bk-wide textarea:focus, .ak-form textarea:focus, .cn-fields input:focus,
.pr-label input:focus, .pr-label select:focus, .pr-label textarea:focus { outline: 0; border-color: #00a3b8; box-shadow: 0 0 0 4px rgba(0, 163, 184, .15); background-color: #fff; }
.dr-bar { background: #fff; border: 1.5px solid #9db4ca; box-shadow: 0 6px 18px -12px rgba(0, 90, 160, .35); }
.dr-bar:focus-within { border-color: #00a3b8; box-shadow: 0 0 0 4px rgba(0, 163, 184, .12); }
.dr-city { border-left-color: #c9d8e6; }
@media (max-width: 720px) { .dr-city { border-top-color: #c9d8e6; } }

/* Search bars are one box with borderless fields inside, so the bar itself carries the clear border */
.dr-bar { background: #fff; border: 1.5px solid #9db4ca; box-shadow: 0 6px 18px -12px rgba(0, 90, 160, .35); }
.dr-bar:focus-within { border-color: #00a3b8; box-shadow: 0 0 0 4px rgba(0, 163, 184, .12); }
.dr-bar .dr-in input, .dr-bar .dr-in select { box-shadow: none !important; }
.dr-city { border-left-color: #c9d8e6; }
.dr-sel select, .dr-sel input, .bk-wide textarea, .ak-form textarea { background-color: #fff; border-width: 1.5px; }
@media (max-width: 720px) { .dr-city { border-top-color: #c9d8e6; } }
/* the search bar is the box around its borderless fields: same soft gradient, full gradient while typing */
.dr-bar { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #8fd3ff, #a8e77a) border-box; }
.dr-bar:focus-within { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #00a8ff, #64dd17) border-box; box-shadow: 0 0 0 4px rgba(0, 168, 255, .12); }

/* Membership (/membership/) */
.mb-mine { background: radial-gradient(120% 90% at 50% 0%, rgba(0, 168, 255, .12), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(58, 168, 21, .14), transparent 60%), #fff; }
.mb-mine h2 { margin: 6px 0 2px; font-size: 26px; }
.mb-badge, .mb-flag { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px; color: #fff; background: linear-gradient(90deg, #0090e0, #2fb36b); }
.mb-cards { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 18px; margin-bottom: 14px; }
.mb-card { position: relative; flex: 0 1 300px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 20px 22px; border-radius: 24px; background: #fff;
    border: 1px solid #e3edf5; box-shadow: 0 14px 34px -24px rgba(0, 90, 160, .5); }
.mb-card h2 { margin: 0 0 4px; font-size: 22px; }
.mb-card .pr-soft { margin: 0; }
.mb-top { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #00a8ff, #64dd17) border-box; transform: translateY(-6px);
    box-shadow: 0 22px 44px -24px rgba(0, 120, 190, .6); }
.mb-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.mb-amt { margin: 16px 0 14px; font-size: 38px; font-weight: 800; line-height: 1; }
.mb-amt small { font-size: 14px; font-weight: 600; color: #6b7d90; }
.mb-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.mb-list li::before { content: '✓'; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; font-size: 11px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #0090e0, #2fb36b); vertical-align: 1px; }
.mb-card .pr-btn { height: 48px; font-size: 15.5px; font-weight: 800; }
.mb-fine { text-align: center; max-width: 760px; margin: 18px auto 0; }
.mb-hist { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mb-hist div { flex: 0 1 260px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px; border-radius: 16px; border: 1px solid #e3edf5; }
@media (max-width: 720px) {
  .mb-card { flex-basis: 100%; }
  .mb-top { transform: none; margin-top: 8px; }
}
.mb-how { margin-top: 30px; }
.mb-cards { margin-top: 26px; }

/* Emergency & free beds (/emergency/) */
.em-sos { text-align: center; padding: 24px 18px; margin-bottom: 20px; border-radius: 24px; color: #8f1d1d; background: linear-gradient(135deg, #fff1f1, #ffe4e4); border: 1.5px solid #f5b5b5; }
.em-sos-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 32px; background: #fff; box-shadow: 0 10px 24px -12px rgba(200, 30, 30, .6); }
.em-sos h2 { margin: 10px 0 4px; font-size: 26px; color: #a01818; }
.em-sos p { margin: 0 0 16px; font-weight: 600; }
.em-sos a:not(.pr-btn) { color: #a01818; }
.em-sos-acts, .em-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.em-call { background: linear-gradient(135deg, #e53935, #c62828) !important; color: #fff !important; border: 0; min-width: 200px; height: 50px; font-size: 17px; font-weight: 800;
    box-shadow: 0 12px 26px -12px rgba(198, 40, 40, .8); }
.em-call2 { min-width: 150px; height: 50px; font-size: 16px; font-weight: 800; }
.em-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.em-card { flex: 0 1 calc((100% - 18px) / 2); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px 18px; border-radius: 22px; background: #fff;
    border: 1px solid #e3edf5; box-shadow: 0 14px 34px -24px rgba(0, 90, 160, .5); }
.em-name { font-size: 19px; font-weight: 800; color: var(--ink) !important; text-decoration: none !important; }
.em-247 { font-size: 12.5px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: #e7f8ee; color: #138a43; }
.em-beds { display: flex; justify-content: center; gap: 10px; margin: 8px 0 2px; }
.em-beds div { width: 96px; padding: 10px 6px; border-radius: 16px; display: flex; flex-direction: column; gap: 2px; }
.em-beds b { font-size: 26px; line-height: 1.1; }
.em-beds small { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.em-beds .ok { background: #e9f9ef; color: #127a3c; }
.em-beds .none { background: #fdeeee; color: #a01818; }
.em-stale { margin: 6px 0 0; padding: 8px 14px; border-radius: 12px; background: #fff4e0; color: #8a5300; font-weight: 600; font-size: 14px; }
.em-acts { margin-top: 10px; }
.em-acts .pr-btn { height: 44px; min-width: 160px; font-size: 15px; }
@media (max-width: 720px) {
  .em-card { flex-basis: 100%; }
  .em-call, .em-call2 { min-width: 0; flex: 1 1 140px; }
}
@media (max-width: 720px) { .em-acts .pr-btn { flex: 1 1 100%; } }

/* ═════ Public redesign layer (2026-10-24, owner's rules: everything centred and symmetric) ═════
   Restyles the shared pieces every public page is built from; HMS does not load this file. */

/* page header: title centred, the first action on the left, the second on the right, equal sizes */
.pr-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 4px 0 22px; }
.pr-head > :first-child { grid-column: 2; grid-row: 1; text-align: center; min-width: 0; }
.pr-head > :first-child h1 { margin-bottom: 4px; }
.pr-head > :nth-child(2) { grid-column: 1; grid-row: 1; justify-self: start; }
.pr-head > :nth-child(2):last-child { grid-column: 3; justify-self: end; }
.pr-head > :nth-child(3) { grid-column: 3; grid-row: 1; justify-self: end; }
.pr-head > :nth-child(n+4) { grid-column: 1 / -1; justify-self: center; }
.pr-head > .pr-btn, .pr-head > .pr-inline > .pr-btn { min-width: 190px; height: 46px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.pr-head > .pr-inline { justify-content: center; }
@media (max-width: 720px) {
  .pr-head { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pr-head > :first-child { grid-column: 1 / -1; grid-row: 1; }
  .pr-head > :nth-child(2), .pr-head > :nth-child(3), .pr-head > :nth-child(2):last-child { grid-row: 2; justify-self: stretch; }
  .pr-head > :nth-child(2) { grid-column: 1; }
  .pr-head > :nth-child(3) { grid-column: 2; }
  .pr-head > :nth-child(2):last-child { grid-column: 1 / -1; }
  .pr-head > .pr-btn, .pr-head > .pr-inline > .pr-btn { min-width: 0; width: 100%; height: 44px; font-size: 13.5px; white-space: nowrap; }
}

/* banners and flash messages: message centred, its button centred under it */
.pr-banner { flex-direction: column; justify-content: center; text-align: center; padding: 18px 16px; }
.pr-msg { text-align: center; }

/* cards: softer, rounder; headings and intro lines centred */
.pr-card { border-radius: 22px; padding: 24px 22px; box-shadow: 0 10px 30px -22px rgba(20, 33, 61, .35); }
.pr-card > h2, .pr-card > h3, .pr-card > header h2 { text-align: center; }
.pr-card > .pr-soft, .pr-card > .pr-fine, .pr-card > p.pr-soft { text-align: center; }
.pr-page h2 { font-size: 19px; }

/* forms: labels and values centred, the submit button centred */
.pr-label { text-align: center; }
.pr-label > small { display: block; margin-top: 2px; }
.pr-label input:not([type=checkbox]):not([type=radio]), .pr-label select, .pr-label textarea { text-align: center; text-align-last: center; margin-top: 8px; }
.pr-label:has(> input[type=checkbox]), .pr-label:has(> input[type=radio]) { text-align: left; }
.pr-form > button.pr-btn, .pr-form .pr-full:has(> .pr-btn) { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pr-form > button.pr-btn { justify-self: center; grid-column: 1 / -1; min-width: 220px; }
.pr-form .pr-full > .pr-btn.pr-main, .pr-card > form > .pr-btn.pr-main:last-child { min-width: 220px; height: 48px; }
.pr-card > form > .pr-btn.pr-main:last-child { display: flex; margin: 8px auto 0; }

/* old filter bars: one centred row */
.pr-filters { justify-content: center; align-items: flex-end; }
.pr-filters .pr-btn { height: 46px; min-width: 130px; }

/* tabs, inline rows and steps centred */
.pr-tabs { justify-content: center; margin-bottom: 18px; }
.pr-inline { justify-content: center; }

/* stats: centred tiles with a brand number */
.pr-stat { text-align: center; border-radius: 18px; padding: 16px 12px; }
.pr-stat b { font-size: 26px; background: linear-gradient(90deg, #0090e0, #2fb36b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pr-stat small { display: block; text-transform: uppercase; letter-spacing: .05em; font-size: 11.5px; }

/* empty states: a friendly centred card */
.pr-empty { padding: 30px 18px; border-radius: 20px; font-weight: 600; }
.pr-empty::before { content: '🗂️'; display: block; width: 56px; height: 56px; line-height: 56px; margin: 0 auto 10px; border-radius: 16px; font-size: 26px;
    background: linear-gradient(135deg, rgba(0, 144, 224, .12), rgba(58, 168, 21, .14)); }

/* key/value lists: centred pairs */
.pr-kv { grid-template-columns: 1fr 1fr; }
.pr-kv dt { text-align: right; }

/* sign-in, sign-up and account cards (site.css .au-card / .fld) */
.au-card { text-align: center; }
.au-card .fld { text-align: center; }
.au-card .fld input, .au-card .fld select, .au-card .fld textarea { text-align: center; text-align-last: center; }
.au-card .au-check { justify-content: center; text-align: left; }
.au-card form > .btn, .au-card form > button { width: 100%; }

/* About, privacy, terms and refunds (.prose in site.css): centred headings and text, lists in a centred block */
.prose { text-align: center; }
.prose h1 { font-size: 32px; }
.prose h2 { position: relative; padding-top: 18px; }
.prose h2::before { content: ''; position: absolute; top: 0; left: 50%; width: 46px; height: 3px; margin-left: -23px; border-radius: 3px; background: linear-gradient(90deg, #00a8ff, #64dd17); }
.prose ul, .prose ol { display: inline-block; text-align: left; max-width: 680px; margin: 0 auto; }

/* patient dashboard (/my/): centred greeting, centred tiles, centred card headers */
.pr-hello { flex-direction: column; text-align: center; gap: 10px; padding: 26px 22px;
    background: radial-gradient(120% 90% at 50% 0%, rgba(0, 168, 255, .10), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(58, 168, 21, .10), transparent 60%), #fff; }
.pr-hello > div { flex: none; min-width: 0; }
.pr-hello .ht-av { box-shadow: 0 0 0 5px #fff, 0 0 0 7px rgba(0, 163, 184, .35); }
.pr-tiles a { align-items: center; text-align: center; padding: 16px 10px; border-radius: 18px; }
.pr-cardhead { flex-direction: column; align-items: center; gap: 4px; text-align: center; margin-bottom: 10px; }

/* language picker (/lang/): centred title, search and grid */
.ht-langpage { text-align: center; }
.ht-langpage .ht-langfind { display: block; margin: 0 auto 18px; text-align: center; }
.ht-langpage .ht-langgrid { max-width: 1100px; margin: 0 auto; }

/* header with its actions wrapped together: spread them either side of the title */
.pr-head > :nth-child(2):last-child:is(div, .pr-inline):has(> :nth-child(2)) { display: contents; }
.pr-head > :nth-child(2):last-child:is(div, .pr-inline):has(> :nth-child(2)) > :first-child { grid-column: 1; grid-row: 1; justify-self: start; }
.pr-head > :nth-child(2):last-child:is(div, .pr-inline):has(> :nth-child(2)) > :nth-child(2) { grid-column: 3; grid-row: 1; justify-self: end; }
.pr-head > :nth-child(2):last-child:is(div, .pr-inline):has(> :nth-child(2)) > :nth-child(n+3) { grid-column: 1 / -1; justify-self: center; }
.pr-head > :nth-child(2):last-child:is(div, .pr-inline):has(> :nth-child(2)) > .pr-btn { min-width: 190px; height: 46px; }
@media (max-width: 720px) {
  .pr-head > :nth-child(2):last-child:is(div, .pr-inline):has(> :nth-child(2)) > :first-child { grid-row: 2; grid-column: 1; justify-self: stretch; }
  .pr-head > :nth-child(2):last-child:is(div, .pr-inline):has(> :nth-child(2)) > :nth-child(2) { grid-row: 2; grid-column: 2; justify-self: stretch; }
  .pr-head > :nth-child(2):last-child:is(div, .pr-inline):has(> :nth-child(2)) > .pr-btn { min-width: 0; width: 100%; height: 44px; font-size: 13.5px; }
}

/* card content centred: paragraphs, lone buttons and form submit buttons */
.pr-card > p { text-align: center; }
.pr-card > .pr-btn, .pr-card > a.pr-btn { display: flex; width: fit-content; min-width: 200px; margin: 12px auto 0; }
.pr-card form > .pr-btn.pr-main, .pr-card form > button.pr-main { display: flex; margin: 12px auto 0; min-width: 220px; height: 48px; }
.pr-card form > .pr-inline, .pr-card form > p:has(> .pr-btn) { justify-content: center; text-align: center; }

/* loose notes directly on the page (above or below the cards): centred */
.pr-page > .container > p.pr-fine, .pr-page > .container > p.pr-soft, .pr-page > .container > p.ht-msg { text-align: center; }

/* stat tiles: centred row, however many there are */
.pr-stats { display: flex; flex-wrap: wrap; justify-content: center; }
.pr-stats > .pr-stat { flex: 0 1 230px; }
@media (max-width: 760px) { .pr-stats > .pr-stat { flex-basis: calc(50% - 6px); } }
/* a Save button on its own line inside a card form */
.pr-card form > div:only-child:has(> .pr-btn), .pr-card form > div:last-child:has(> .pr-btn.pr-main:only-child) { display: flex; justify-content: center; }

/* a tab menu inside the page header: its own full-width centred row under the title */
.pr-head > .pr-tabs { grid-column: 1 / -1 !important; grid-row: 2 !important; justify-self: center !important; margin: 4px 0 0; }
.pr-head:has(> .pr-tabs) > :first-child { grid-column: 1 / -1; }

/* number tiles used on analytics pages (.cn-stat): centred */
.cn-stat { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* a whole card that is a form: centred headings, checkbox grids and submit button */
form.pr-card > h2, form.pr-card > p { text-align: center; }
form.pr-card > .pr-btn.pr-main { display: flex; margin: 16px auto 0 !important; min-width: 220px; height: 48px; }
.pr-checkgrid { max-width: 1000px; margin-left: auto; margin-right: auto; }

/* two-column forms: centre a field left alone on its row, and the tick-box rows */
.pr-form > .pr-label:not(.pr-full):nth-last-child(1 of .pr-label:not(.pr-full)):nth-child(odd of .pr-label:not(.pr-full)) { grid-column: 1 / -1; justify-self: center; width: min(100%, 420px); }
.pr-form > .au-check, .pr-form > label:has(> input[type=checkbox]) { justify-self: center; grid-column: 1 / -1; }

/* anything given the hidden attribute stays hidden, whatever display a redesign rule sets */
.pr-page [hidden] { display: none !important; }
/* headings and h1 straight on the page, and the question page title card */
.pr-page > .container > h2, .cm-qtitle { text-align: center; }
.pr-card:has(> .cm-qtitle) { text-align: center; }
.pr-card:has(> .cm-qtitle) > p:not(.pr-soft) { text-align: left; max-width: 760px; margin-left: auto; margin-right: auto; }
/* a bare back link at the top of a page becomes a small centred pill */
.pr-page > .container > a.pr-soft:first-child { display: table; margin: 0 auto 6px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #d6e6f2; font-weight: 600; font-size: 14px; text-decoration: none; }
.pr-seller { text-align: center; }

/* keep small inline forms compact: add-to-basket and filter rows are not centred card submits */
.pr-card form.pr-add > .pr-btn, .pr-card form.pr-filters > .pr-btn, .pr-card form.pr-inline > .pr-btn, .pr-row form > .pr-btn { display: inline-flex !important; margin: 0 !important; min-width: 0 !important; height: auto !important; }
form.pr-card.pr-filters > .pr-btn.pr-main { margin: 0 !important; height: 46px; min-width: 130px; }
/* FAQ lists (help centre): a centred column */
.pr-card > details { max-width: 820px; margin-left: auto; margin-right: auto; }

/* inline forms: a growing field gets a real width, and a tick-box line on its own is centred */
.pr-inline > .pr-grow { flex: 1 1 320px; max-width: 520px; }
.pr-inline > .pr-btn { height: 46px; }
.pr-card form div:has(> label:only-child > input[type=checkbox]) { text-align: center; grid-column: 1 / -1; }

/* ═════ Home page polish (templates/pages/home.html) ═════ */
/* hero search: one bold white bar, borderless fields with thin dividers, gradient button */
.hm-search { grid-template-columns: 3fr 1.1fr 1.2fr auto; gap: 0; padding: 8px; border-radius: 20px; max-width: 980px; margin: 0 auto;
    box-shadow: 0 24px 60px -24px rgba(0, 30, 60, .55), 0 0 0 1px rgba(255, 255, 255, .6); }
.hm-search input, .hm-search select { border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; height: 52px; padding: 0 18px;
    font-size: 15.5px; font-weight: 500; text-align: left; text-align-last: auto; }
.hm-search input + input, .hm-search input + select { border-left: 1px solid #dfe8f1 !important; }
.hm-search input::placeholder { color: #8a9bb0; }
.hm-search button { border-radius: 14px; padding: 0 30px; font-size: 16px; font-weight: 800; margin-left: 6px; box-shadow: 0 12px 26px -12px rgba(0, 120, 190, .8); }
.hm-quick a { font-weight: 700; padding: 7px 15px; backdrop-filter: blur(3px); background: rgba(255, 255, 255, .12); }
@media (max-width: 760px) {
  .hm-search { grid-template-columns: 1fr; gap: 0; border-radius: 18px; }
  .hm-search input + input, .hm-search input + select { border-left: 0 !important; border-top: 1px solid #dfe8f1 !important; }
  .hm-search button { margin: 8px 0 0; height: 50px; }
}
/* reassurance strip under the hero */
.hm-trust { background: #fff; border-bottom: 1px solid #e6eef6; }
.hm-trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 20px; padding-bottom: 20px; }
.hm-trust .container > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; justify-content: center; padding: 6px 14px; }
.hm-trust .container > div + div { border-left: 1px solid #e6eef6; }
.hm-trust i { grid-row: 1 / 3; font-style: normal; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 18px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #0090e0, #2fb36b); box-shadow: 0 8px 18px -10px rgba(0, 120, 190, .8); }
.hm-trust b { font-size: 15px; color: var(--ink); line-height: 1.2; }
.hm-trust span { font-size: 13px; color: var(--soft); }
@media (max-width: 860px) {
  .hm-trust .container { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .hm-trust .container > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 460px) { .hm-trust span { display: none; } .hm-trust .container > div { padding: 4px 8px; } }
/* service cards read as buttons: bigger icon tile, a 'go' arrow, lift on hover */
.hm-card { text-align: center; padding: 26px 20px 22px; border-radius: 22px; transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; }
.hm-card .ic { width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, rgba(0, 144, 224, .14), rgba(58, 168, 21, .16)); }
.hm-card h3 { font-size: 18px; font-weight: 700; }
.hm-card::after { content: '→'; display: inline-grid; place-items: center; width: 34px; height: 34px; margin-top: 14px; border-radius: 50%; font-weight: 800; color: #0b6fb8;
    background: #eef6ff; transition: background .18s, color .18s; }
.hm-card:hover { border-color: #9fd3ef; box-shadow: 0 22px 44px -24px rgba(0, 90, 160, .55); }
.hm-card:hover::after { background: linear-gradient(135deg, #0090e0, #2fb36b); color: #fff; }
@media (max-width: 900px) { .hm-cards { grid-template-columns: 1fr 1fr; } }
/* hospital placeholder in the marquee: show the hospital icon in white */
.hm-doc .ht-av .ht-i { width: 30px; height: 30px; color: #fff; }
.hm-doc { border-radius: 20px; box-shadow: 0 12px 28px -22px rgba(0, 90, 160, .5); }
.hm-doc span.ht-av, .hm-doc .ht-av b { color: #fff !important; font-size: 22px; }
.hm-trust i { width: 38px; height: 38px; font-size: 16px; border-radius: 11px; }

/* ═════ Patient dashboard polish (/my/, practice/patient_home.html) ═════ */
.pr-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 4px 0 18px; }
.pr-tiles a { flex: 0 1 calc((100% - 72px) / 7); min-width: 132px; gap: 4px; padding: 16px 10px 14px; border-radius: 20px; border-color: #e3edf5;
    box-shadow: 0 10px 26px -22px rgba(0, 90, 160, .5); transition: transform .18s, box-shadow .18s, border-color .18s; }
.pr-tiles a:hover { transform: translateY(-3px); border-color: #9fd3ef; box-shadow: 0 20px 36px -22px rgba(0, 90, 160, .55); }
.pr-tiles i { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 6px; border-radius: 16px; font-size: 24px;
    background: linear-gradient(135deg, rgba(0, 144, 224, .12), rgba(58, 168, 21, .14)); }
.pr-tiles b { font-size: 14.5px; line-height: 1.25; }
.pr-tiles small { font-size: 12px; line-height: 1.3; }
@media (max-width: 900px) { .pr-tiles a { flex-basis: calc((100% - 24px) / 3); min-width: 0; } }
@media (max-width: 460px) { .pr-tiles a { flex-basis: calc((100% - 12px) / 2); } }
/* the quick-links pill row: a quiet, labelled shelf */
.pr-hello ~ .pr-tabs { padding: 14px 16px; border-radius: 20px; background: #fff; border: 1px dashed #cfe0ee; gap: 8px; }
.pr-hello ~ .pr-tabs a { font-size: 13.5px; background: #f5f9fd; border-color: #e1ecf5; }
.pr-hello ~ .pr-tabs a:hover { border-color: #00a3b8; background: #fff; }
/* card headers: title centred, its 'All' link as a small pill */
.pr-cardhead > a { font-size: 12.5px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: #eef6ff; color: #0b6fb8 !important; text-decoration: none !important; }
.pr-cardhead > a:hover { background: linear-gradient(90deg, #0090e0, #2fb36b); color: #fff !important; }
/* list rows inside cards: softer, with a hover when they are links */
.pr-card .pr-row { border-color: #e8f0f7; border-radius: 16px; }
.pr-card a.pr-row { transition: border-color .15s, box-shadow .15s; }
.pr-card a.pr-row:hover { border-color: #9fd3ef; box-shadow: 0 10px 24px -18px rgba(0, 90, 160, .5); }
.pr-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .pr-two { grid-template-columns: minmax(0, 1fr); } }

/* ═════ Shared polish: the building blocks every public page is made of ═════ */
/* section headings inside cards: a short brand underline */
.pr-card > h2, .pr-cardhead h2, form.pr-card > h2 { position: relative; padding-bottom: 10px; margin-bottom: 14px; }
.pr-card > h2::after, .pr-cardhead h2::after, form.pr-card > h2::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 40px; height: 3px; margin-left: -20px; border-radius: 3px;
    background: linear-gradient(90deg, #00a8ff, #64dd17); }
.pr-cardhead h2 { margin-bottom: 4px !important; }
/* dates at the start of list rows: a calendar-style chip */
.pr-row .pr-when { min-width: 86px; padding: 7px 8px; border-radius: 14px; text-align: center; background: linear-gradient(180deg, #eef7ff, #f3fbee); color: #0b4f86; font-size: 14px; line-height: 1.2; }
.pr-row .pr-when small { color: #4a7aa0; font-size: 12px; margin-top: 2px; }
/* tables: a soft header band, roomy rows, hover */
.pr-table { border-collapse: separate; border-spacing: 0; }
.pr-table th { background: #f3f8fc; color: #4a6077; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 11px 10px; border-bottom: 0; }
.pr-table th:first-child { border-radius: 12px 0 0 12px; }
.pr-table th:last-child { border-radius: 0 12px 12px 0; }
.pr-table td { padding: 13px 10px; border-bottom: 1px solid #eef3f8; }
.pr-table tbody tr:hover td { background: #f8fbfe; }
/* badges: crisper pills */
.pr-badge { padding: 4px 11px; letter-spacing: .01em; }
/* ghost and danger buttons: clear hover */
.pr-ghost { border-color: #d6e4f0; transition: border-color .15s, background .15s, box-shadow .15s; }
.pr-ghost:hover { border-color: #00a3b8; background: #f3fbfd; }
.pr-danger:hover { background: #fff5f5; border-color: #e99a9a; }
.pr-main { transition: transform .15s, box-shadow .15s; }
.pr-main:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(0, 140, 200, .7); }
/* textareas in cards fill the column and read as boxes */
.pr-card textarea { width: 100%; border-radius: 14px; padding: 12px 14px; font-family: inherit; font-size: 15px; }
/* page header title: a touch larger, balanced wrapping */
.pr-head h1 { font-size: 28px; text-wrap: balance; }
.pr-head > :first-child .pr-soft { max-width: 680px; margin-left: auto; margin-right: auto; }

/* empty states: no box-in-a-box inside cards, and an icon that fits the page */
.pr-card .pr-empty { border: 0; background: transparent; padding: 20px 12px 8px; }
.pr-empty { color: #4f6378; }
[data-page="practice-medicines"] .pr-empty::before { content: '💊'; }
[data-page="practice-reminders"] .pr-empty::before { content: '⏰'; }
[data-page="practice-referrals"] .pr-empty::before, [data-page="practice-referral"] .pr-empty::before { content: '↗'; color: #0b6fb8; font-weight: 800; }
[data-page="practice-econsults"] .pr-empty::before { content: '✍️'; }
[data-page="notifications"] .pr-empty::before { content: '🔔'; }
[data-page="my-shares"] .pr-empty::before { content: '🔗'; }
[data-page="my-access"] .pr-empty::before { content: '👁'; }
[data-page="practice-records"] .pr-empty::before { content: '📁'; }
[data-page="practice-family"] .pr-empty::before { content: '👪'; }
[data-page="practice-payments"] .pr-empty::before { content: '🧾'; }
[data-page="practice-my"] .pr-empty::before { content: '📅'; }
[data-page="shop-orders"] .pr-empty::before, [data-page="shop-basket"] .pr-empty::before { content: '🧺'; }
[data-page="practice-clinic"] .pr-empty::before, [data-page="practice-patients"] .pr-empty::before { content: '🩺'; }
[data-page^="practice-overview"] .pr-empty::before { content: '✅'; }

/* lists inside cards: a centred block whose lines read left to right */
.pr-card > ol, .pr-card > ul:not(.mb-list), .pr-card form > ol, .pr-card form > ul { display: table; margin: 10px auto; text-align: left; max-width: 720px; padding-left: 22px; }
/* a lone small button or form on its own line in a card: centred */
.pr-card > form:only-of-type:has(> .pr-btn:only-child), .pr-card > form:last-child:has(> .pr-btn.pr-sm:only-of-type) { display: flex; justify-content: center; }

/* tick-box lines inside two-column forms: centred across the form */
.pr-form > div:has(> label > input[type=checkbox]), .pr-form > .pr-full:has(> label > input[type=checkbox]) { grid-column: 1 / -1; text-align: center; }
/* FAQ accordions (help centre): rows that read as tappable */
.pr-card > details { border: 1px solid #e3edf5; border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; background: #fbfdff; text-align: left; transition: border-color .15s; }
.pr-card > details[open] { border-color: #9fd3ef; background: #fff; box-shadow: 0 10px 24px -20px rgba(0, 90, 160, .5); }
.pr-card > details > summary { cursor: pointer; font-weight: 700; }
/* any consent / option tick-box line inside a card form: a centred block, text beside the box */
.pr-card form label:has(> input[type=checkbox]):not(.pr-label):not(.cn-check) { display: flex; gap: 8px; align-items: flex-start; justify-content: center; text-align: left; max-width: 640px; margin: 6px auto 12px; }
.pr-card form label:has(> input[type=checkbox]):not(.pr-label):not(.cn-check) > input { margin-top: 3px; flex: none; accent-color: #00a3b8; }

/* weekday pickers (Hours & fee, schedules): a centred row of day pills */
.pr-week { justify-content: center; gap: 8px; margin: 6px auto 16px; }
.pr-week label { min-width: 74px; justify-content: center; border-radius: 12px; padding: 9px 12px; }
.pr-week label:has(input:checked) { border-color: #00a3b8; background: linear-gradient(135deg, rgba(0, 144, 224, .10), rgba(58, 168, 21, .12)); }
.pr-week input { accent-color: #00a3b8; }
/* Days off form: fields on one centred row, the refund option and the button centred underneath */
.hr-off .pr-inline { justify-content: center; }
.hr-cancel { display: flex !important; gap: 8px; align-items: center; justify-content: center; margin: 14px auto 6px !important; font-weight: 600; color: #34465a; }
.hr-cancel input { accent-color: #00a3b8; width: 17px; height: 17px; }
.hr-go { display: flex; justify-content: center; margin-top: 10px; }
.hr-go .pr-btn { min-width: 200px; height: 46px; }

/* two-column forms: boxes on the same row line up even when one label has an extra note under it */
.pr-form { align-items: end; }
/* a submit area in a form: the button centred, any note centred underneath it */
.pr-form .pr-full:has(> .pr-btn) { flex-direction: column; align-items: center; gap: 8px; }
.pr-form .pr-full:has(> .pr-btn) > .pr-fine, .pr-form .pr-full:has(> .pr-btn) > p { margin: 0; text-align: center; }
.pr-form .pr-full > .pr-btn.pr-main { min-width: 260px; height: 50px; }
/* a full-width agreement tick-box label in a form: a centred block, text beside the box */
.pr-label.pr-full:has(> input[type=checkbox]) { display: flex; gap: 10px; align-items: flex-start; justify-content: center; text-align: left; max-width: 760px; margin: 8px auto 14px; justify-self: center; }
.pr-label.pr-full:has(> input[type=checkbox]) > input { flex: none; margin-top: 4px !important; accent-color: #00a3b8; }

/* profile photo pickers (doctor and patient profile): avatar, label and upload stacked in the centre */
.pr-card > .pr-row:has(> .ht-av):has(input[type=file]) { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 12px; border: 0; padding: 4px 0 18px; margin-bottom: 18px !important;
    border-bottom: 1px dashed #dfe8f1; border-radius: 0; }
.pr-card > .pr-row:has(> .ht-av):has(input[type=file]) .ht-av { box-shadow: 0 0 0 5px #fff, 0 0 0 7px rgba(0, 163, 184, .35), 0 14px 30px -14px rgba(0, 90, 160, .5); }
.pr-card > .pr-row:has(> .ht-av):has(input[type=file]) .pr-label { width: min(100%, 440px); margin: 0 auto !important; }
.pr-card > .pr-row:has(> .ht-av):has(input[type=file]) > div { display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(100%, 440px); }
input[type=file] { cursor: pointer; }
input[type=file]::file-selector-button { font: 700 14px/1 inherit; font-family: inherit; padding: 9px 16px; margin-right: 12px; border: 0; border-radius: 10px; color: #fff; cursor: pointer;
    background: linear-gradient(90deg, #0090e0, #2fb36b); }
.pr-week { display: flex !important; flex-wrap: wrap; justify-content: center !important; max-width: 760px; }
.pr-week label { flex: 0 0 auto !important; width: auto !important; }
/* inline field rows: every box sits on the same baseline whatever its label holds */
.pr-inline { align-items: flex-end; }
.pr-inline > .pr-label { display: flex; flex-direction: column; justify-content: flex-end; }
.pr-inline > .pr-label > input, .pr-inline > .pr-label > select { height: 46px; box-sizing: border-box; margin-top: 8px; }
.pr-inline > .pr-btn { height: 46px; align-self: flex-end; }

/* front desk "Now seeing" bar: three centred rows - who is in, the counts, then the call button */
.fd-now { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 24px 22px; border-radius: 22px;
    background: radial-gradient(120% 90% at 50% 0%, rgba(0, 168, 255, .10), transparent 60%), #fff; }
.fd-now-main { flex: none; min-width: 0; flex-direction: column; align-items: center; gap: 4px; order: 1; }
.fd-now-main b { font-size: 54px; }
.fd-now-main span { font-size: 19px; }
.fd-now .fd-stats { order: 2; justify-content: center; gap: 10px; flex-wrap: wrap; display: flex; }
.fd-now .fd-stats span { padding: 6px 14px; border-radius: 999px; background: #f2f8fd; border: 1px solid #e1ecf5; font-size: 14px; }
.fd-now > form { order: 3; margin: 0; }
.fd-now .fd-next { min-width: 260px; height: 52px; font-size: 17px; }

/* tick-box grids (notification settings, insurers): a centred, even grid */
.pr-checkgrid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto 6px; }
.pr-checkgrid label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid #e1ecf5; border-radius: 12px; background: #fff; font-weight: 600; cursor: pointer; }
.pr-checkgrid label:has(input:checked) { border-color: #00a3b8; background: linear-gradient(135deg, rgba(0, 144, 224, .08), rgba(58, 168, 21, .10)); }
.pr-checkgrid input { accent-color: #00a3b8; }
/* consent lines written as a full-width label in a two-column form (blood donors) */
.pr-form > label.pr-full:has(> input[type=checkbox]) { display: flex; gap: 8px; align-items: flex-start; justify-content: center; text-align: left; max-width: 640px; justify-self: center; margin: 4px auto 12px; }
.pr-form > label.pr-full:has(> input[type=checkbox]) > input { margin-top: 4px; flex: none; accent-color: #00a3b8; }

/* bare dropdowns sitting in a sentence row (quiet hours): full-size boxes */
.pr-inline > select { height: 42px; padding: 0 30px 0 14px; border-radius: 12px; border: 1.5px solid #9db4ca; font-family: inherit; font-size: 15px; background-color: #fff; }
.pr-inline > .pr-soft { align-self: center; }
.pr-inline > label.pr-soft:has(> input[type=checkbox]) { display: inline-flex; align-items: center; gap: 8px; align-self: center; margin: 0; }
/* filter rows inside cards: tidy, evenly spaced, buttons the same height as the boxes */
.pr-card > form.pr-inline, form.pr-card.pr-inline { gap: 12px; }
.pr-card > form.pr-inline > .pr-btn, form.pr-card.pr-inline > .pr-btn { height: 46px; min-width: 120px; }
