/* The Hatzolah button (public/sos). HOPC colors: navy #19285A, blue #1A1FB0, red #E01F26. */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-latin-700-normal.woff2) format('woff2'); }
:root { --navy: #19285A; --blue: #1A1FB0; --red: #E01F26; --mist: #E4E6EF; --slate: #4A5270; --bg: #F4F5F8; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--navy); font: 16px/1.45 Poppins, system-ui, -apple-system, sans-serif; -webkit-text-size-adjust: 100%; }
main { max-width: 520px; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.card { background: #fff; border-radius: 20px; padding: 22px 20px; margin-top: 14px; box-shadow: 0 1px 2px rgba(25,40,90,.06); text-align: left; }
.card > img { display: block; border-radius: 18px; margin: 0 auto 10px; }
.kicker { display: block; text-align: center; font-size: 13px; color: var(--slate); }
h1 { font-size: 26px; line-height: 1.2; margin: 4px 0 8px; text-align: center; }
h2 { font-size: 18px; margin: 0 0 4px; }
p { margin: 8px 0; }
.small { font-size: 14px; color: var(--slate); }
.foot { font-size: 13px; color: var(--slate); text-align: center; margin: 16px 8px 0; }
ol { padding-left: 22px; margin: 8px 0; } li { margin: 4px 0; }
label { display: block; font-size: 14px; font-weight: 700; margin-top: 12px; }
input { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 17px; padding: 13px 14px; border: 1.5px solid var(--mist); border-radius: 12px; color: var(--navy); background: #fff; }
input:focus { outline: none; border-color: var(--blue); }
.err { color: #B3141A; font-size: 14px; font-weight: 700; }
.big { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; margin-top: 16px; border: 0; border-radius: 16px; background: var(--navy); color: #fff; font: inherit; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer; }
.big.red { background: var(--red); min-height: 72px; font-size: 22px; }
.big:disabled { opacity: .6; }
.calling { min-height: calc(100vh - 40px); min-height: calc(100dvh - 40px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; }
body:has(.calling) { background: var(--red); }
.calling h1 { color: #fff; font-size: 30px; margin-top: 22px; }
.calling p { color: rgba(255,255,255,.9); }
.calling .small { color: rgba(255,255,255,.85); }
.calling .big { background: #fff; color: var(--red); max-width: 320px; margin-top: 28px; }
.ring { width: 112px; height: 112px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; animation: pulse 1.2s ease-out infinite; }
.ring svg { width: 52px; height: 52px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 34px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } }
[hidden] { display: none !important; }
.ns { padding: 24px; text-align: center; }
.testnote { background: #FFF1C2; color: #5A4300; border-radius: 12px; padding: 8px 12px; font-size: 14px; font-weight: 700; text-align: center; }
.calling .testnote { color: #5A4300; }
.big.light { background: var(--mist); color: var(--navy); }
.warn { background: #FFF1C2; color: #5A4300; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 15px; }
.steps { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps .num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.steps .ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #EEF0FF; color: var(--blue); vertical-align: middle; margin: 0 2px; }
.arrow { position: sticky; bottom: max(10px, env(safe-area-inset-bottom)); margin: 14px auto 0; width: max-content; background: var(--blue); color: #fff; font-weight: 700; padding: 8px 14px; border-radius: 999px; animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .arrow { animation: none; } }
.notest { background: #FDE7E8; color: #8A1015; border-radius: 12px; padding: 10px 12px; font-size: 15px; margin-top: 12px; }
.notest b { color: #B3141A; }
.locstate { margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.locstate .ok { color: #16794A; }
.locstate .off { color: #8A5A00; font-weight: 500; }
/* Owner 2026-11-20: the testing note on the red calling screen in Hatzolah blue with white text. */
.calling .testnote { background: var(--blue); color: #fff; }
.ring.still { animation: none; }
.calling button.big { border: 0; cursor: pointer; }
.calling button.big:disabled { opacity: .85; }
