/* Component additions only. The agreed product design lives in style.css:
   blue palette, dark floating rounded bottom nav pill with a blue active tab,
   light rounded-square header icon buttons, rounded bordered cards, QR ticket page. */
/* chat-style list (patients) */
.clist{background:#fff;border:1px solid var(--ln);border-radius:14px;overflow:hidden;margin-bottom:12px}
.crow{display:flex;align-items:center;gap:12px;padding:10px 14px;color:var(--t);position:relative}
.crow+.crow:before{content:"";position:absolute;top:0;inset-inline-start:70px;inset-inline-end:0;border-top:.5px solid var(--ln)}
.crow:active{background:#f2f6fb}
.av{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:18px;flex:none}
.cmain{flex:1;min-width:0}.cmain b{display:block;font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmain span{display:block;color:var(--m);font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmeta{color:var(--m);font-size:12px;text-align:end;flex:none}
/* settings: grouped list with coloured icon squares */
.sgroup{background:#fff;border:1px solid var(--ln);border-radius:14px;overflow:hidden;margin-bottom:18px}
.srow{display:flex;align-items:center;gap:12px;padding:10px 14px;color:var(--t);position:relative}
.srow+.srow:before{content:"";position:absolute;top:0;inset-inline-start:58px;inset-inline-end:0;border-top:.5px solid var(--ln)}
.srow:active{background:#f2f6fb}
.sico{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;flex:none}
.srow .st{flex:1;font-size:16px}.srow .chev{color:#c7c7cc;font-size:22px;line-height:1}
.sback{display:inline-flex;align-items:center;gap:4px;color:var(--b);font-size:16px;margin:2px 0 6px}
.sprofile{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--ln);border-radius:14px;padding:14px;margin-bottom:18px}
.sprofile .av{width:62px;height:62px;font-size:26px}
/* service cards with images on the public booking page */
.svgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.svcard{border:1px solid var(--ln);border-radius:14px;padding:10px;text-align:center;background:#fff}
.svcard .svic{width:64px;height:64px;margin:0 auto 6px;border-radius:16px;background:var(--bl);display:grid;place-items:center;color:var(--b)}
.svcard .svic svg{width:40px;height:40px}
.svcard b{display:block;font-size:14px}
.svcard .chip{margin-top:4px}
.svcard.on{border-color:var(--b);background:var(--bl)}
@media print{.top,.bottom,.pwa-bar,#pwa-bar{display:none!important}html,body,main,.layout,#frame{background:#fff!important;min-height:0!important}body:has(#pwa-bar){padding-bottom:0!important}}
/* desktop: install banner sits bottom-left (away from the right-hand menu), menu keeps room to scroll fully */
body.v-desktop .pwa-bar{inset-inline:auto;left:16px;right:auto;bottom:16px;max-width:460px}
body.v-desktop .side{padding-bottom:90px}
