/* Carer app: phone-first layout with big tap targets. Builds on /shared/ui.css */
body.carer { background: var(--bg); }
.cshell { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.chead { position: sticky; top: 0; z-index: 20; background: var(--brand); color: var(--brand-ink); padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chead .brand { color: inherit; padding: 0; } .chead .brand i { background: var(--brand-ink); color: var(--brand); }
.cmain { flex: 1; padding: 14px 14px 96px; }
.cnav { position: fixed; bottom: 0; left: 0; right: 0; max-width: 560px; margin: 0 auto; background: var(--surface); border-top: 1px solid var(--line); display: flex; padding-bottom: env(safe-area-inset-bottom, 0px); z-index: 20; }
.cnav button { flex: 1; border: 0; background: transparent; padding: 9px 4px; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted); position: relative; min-height: 56px; }
.cnav button.on { color: var(--brand); } .cnav button b { display: block; font-size: 20px; line-height: 1.2; }
.cnav .badge { position: absolute; top: 4px; right: 22%; background: var(--bad); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 6px; }
.syncchip { border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; cursor: pointer; background: var(--okbg); color: var(--ok); }
.syncchip.warn { background: var(--warnbg); color: var(--warn); } .syncchip.bad { background: var(--badbg); color: var(--bad); } .syncchip.info { background: var(--infobg); color: var(--info); }
.vc { display: block; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px; margin-bottom: 10px; cursor: pointer; box-shadow: var(--shadow); }
.vc.progress { border-color: var(--accent); } .vc .t { font-weight: 700; } .vc .name { font-size: 1.05rem; margin-top: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; min-height: 48px; }
.check input { width: 24px; height: 24px; margin-top: 1px; flex: none; }
.scale { display: flex; gap: 6px; margin: 8px 0 4px; } .scale button { flex: 1; min-height: 48px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.scale button.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.medrow { padding: 12px 0; border-bottom: 1px solid var(--line); } .medrow:last-child { border-bottom: 0; }
.btn { min-height: 44px; } .btn.sm { min-height: 34px; }
input[type=text], input[type=number], select, textarea { min-height: 44px; font-size: 16px; }
details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 8px; } summary { padding: 13px 14px; cursor: pointer; font-weight: 700; } details > div { padding: 0 14px 12px; }

a.btn { display: inline-block; text-decoration: none; color: inherit; }
.cmain > div > a.btn.sm { margin-bottom: 10px; }

.bell { position: relative; border: 0; background: transparent; font-size: 22px; cursor: pointer; padding: 2px 6px; line-height: 1; }
.bell .badge { position: absolute; top: -4px; right: -2px; background: var(--bad); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 5px; font-weight: 700; }
