/* Rishtey Dhaage Calling - big, plain and high-contrast: some callers are elderly (Dheeraj 19 Nov 2026). */
:root { --brand: #8a1538; --ink: #1a1a1a; --mute: #555; --line: #d9d9d9; --bg: #f7f5f2; --card: #fff; --ok: #1b6e2e; --warn: #9a5b00; --bad: #b00020; }
* { box-sizing: border-box; }
html { font-size: 19px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.4; }
header { background: var(--brand); color: #fff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 5; }
.brand { font-weight: 700; font-size: 1.05rem; }
.who { font-size: 0.85rem; text-align: right; }
.who button { margin-left: 8px; }
main { max-width: 720px; margin: 0 auto; padding: 12px 16px 96px; }
h1 { font-size: 1.35rem; margin: 8px 0 12px; }
h2 { font-size: 1.15rem; margin: 18px 0 8px; }
.hi { display: block; font-size: 0.85em; color: var(--mute); font-weight: 400; }
label { display: block; font-weight: 600; margin: 12px 0 6px; }
input[type=text], input[type=search], input[type=password], textarea { width: 100%; font-size: 1.1rem; padding: 14px; border: 2px solid #888; border-radius: 10px; background: #fff; }
textarea { min-height: 84px; }
input:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid #f0a000; outline-offset: 2px; }
button, .btn { display: block; width: 100%; min-height: 56px; font-size: 1.1rem; font-weight: 600; border-radius: 12px; border: 2px solid var(--brand); background: var(--brand); color: #fff; padding: 10px 14px; margin: 10px 0; text-align: center; text-decoration: none; cursor: pointer; }
button.light, .btn.light { background: #fff; color: var(--brand); }
button.small { display: inline-block; width: auto; min-height: 40px; font-size: 0.9rem; padding: 6px 12px; margin: 0; }
button:disabled { opacity: 0.6; }
.row2 { display: flex; gap: 10px; }
.row2 > * { flex: 1; }
.tabs { display: flex; gap: 8px; margin: 8px 0; }
.tabs button { margin: 0; }
.tabs button[aria-pressed=false] { background: #fff; color: var(--brand); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 10px 0; }
.card.tap { cursor: pointer; }
.card .name { font-size: 1.2rem; font-weight: 700; }
.card .meta { color: var(--mute); margin-top: 2px; }
.card .last { margin-top: 6px; font-weight: 600; }
.outcome { text-align: left; background: #fff; color: var(--ink); border: 2px solid #999; }
.outcome[aria-pressed=true] { background: var(--brand); color: #fff; border-color: var(--brand); }
.outcome .hi { color: inherit; opacity: 0.85; }
.phone { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.5px; }
.err { color: var(--bad); font-weight: 600; }
.okmsg { color: var(--ok); font-weight: 600; }
.note { color: var(--mute); font-size: 0.9rem; }
.pending { background: #fff3cd; color: #5c4400; padding: 10px 16px; text-align: center; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1b6e2e; color: #fff; padding: 14px 22px; border-radius: 30px; font-size: 1.1rem; font-weight: 700; z-index: 10; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.toast.bad { background: var(--bad); }
.loading { text-align: center; color: var(--mute); margin-top: 40px; }
table.counts { width: 100%; border-collapse: collapse; }
table.counts td { padding: 4px 0; border-bottom: 1px solid #eee; }
table.counts td:last-child { text-align: right; font-weight: 700; }
.problems { background: #fdecea; border: 1px solid #f5c2c0; border-radius: 10px; padding: 10px 14px; }
.problems li { margin: 4px 0; }
.back { display: inline-block; margin: 6px 0 4px; color: var(--brand); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
