/* neighboursfirst: the minutes widget and small page parts. Colours come from base.css tokens + --accent. */
.minutes{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
@media (max-width:760px){.minutes{grid-template-columns:1fr}}
.minutes .ctrl{display:grid;gap:18px}
.minutes label{display:flex;justify-content:space-between;gap:12px;font-weight:600;font-size:.95rem}
.minutes output{font-variant-numeric:tabular-nums;color:var(--accent-ink,var(--accent))}
.minutes small{display:block;color:var(--gray-500);font-size:.82rem;margin-top:2px}
.minutes input[type=range]{width:100%;accent-color:var(--accent)}
.result .big{font-size:clamp(2.6rem,7vw,3.8rem);font-weight:700;line-height:1;color:var(--accent);font-variant-numeric:tabular-nums}
.result .row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--gray-150);font-variant-numeric:tabular-nums;font-size:.95rem}
.timeline{overflow-x:auto;margin-top:8px}
.timeline svg text{fill:var(--gray-500);font-size:11px;font-family:inherit}
.receipts{width:100%;border-collapse:collapse;font-size:.93rem}
.receipts td,.receipts th{text-align:left;padding:10px;border-top:1px solid var(--gray-150);vertical-align:top}
.receipts th{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--gray-500)}
.receipts td.n{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}
.table-wrap{overflow-x:auto}
.prose{max-width:680px;margin:0 auto}
.prose p,.prose li{font-size:1.06rem;line-height:1.7}
.prose h2{margin:40px 0 12px}
.refs li{font-size:.9rem;color:var(--gray-500);margin-bottom:8px}
/* the emergency button: drawn from the Omxus app's Emergency screen */
.brand .mark.logo{width:40px;height:40px;background:none;border-radius:50%;box-shadow:none;animation:markPulse 2.6s ease-out infinite}
@keyframes markPulse{0%{box-shadow:0 0 0 0 rgba(229,44,30,.45)}70%,100%{box-shadow:0 0 0 12px rgba(229,44,30,0)}}
.sos-band{background:#ebebf5}
.sos-kicker{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gray-500)}
/* hero: the omxus.com network, with the emergency button where the ring sits */
.hero{padding-top:clamp(28px,5vw,56px)}
.web{position:relative;width:100%;max-width:760px;margin:0 auto}
.web>svg{width:100%;height:auto;display:block}
.web-line{stroke:var(--accent);stroke-dasharray:1;stroke-dashoffset:1;animation:webDraw .9s ease-out forwards}
.web-person{fill:#D1D5DB;animation:webRed .4s ease-out forwards}
@keyframes webDraw{to{stroke-dashoffset:0}}
@keyframes webRed{to{fill:var(--accent)}}
.sos-stage{position:absolute;left:50%;top:50%;width:35%;aspect-ratio:1;transform:translate(-50%,-50%)}
.sos-stage .rip{position:absolute;left:50%;top:50%;width:72%;height:72%;margin:-36% 0 0 -36%;border-radius:50%;border:2px solid var(--accent);opacity:0;animation:sosRip 3s ease-out infinite;pointer-events:none}
.sos-stage .rip:nth-child(2){animation-delay:1s}
.sos-stage .rip:nth-child(3){animation-delay:2s}
@keyframes sosRip{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.9);opacity:0}}
.sos-btn{position:relative;z-index:1;width:100%;height:100%;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:none;transition:transform .15s}
.sos-btn:active{transform:scale(.97)}
.sos-btn img{width:100%;height:100%;display:block;border-radius:50%;pointer-events:none}
.sos-btn .ring{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.sos-btn .ring .fg{fill:none;stroke:var(--accent);stroke-width:9;stroke-linecap:round;stroke-dasharray:1288;stroke-dashoffset:1288;transform:rotate(-90deg);transform-origin:50% 50%}
.sos-status{margin:10px auto 26px;font-size:.86rem;color:var(--gray-400);min-height:22px;text-align:center}
/* picture cards */
.card.pic{padding:0;overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column}
.card.pic img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top center;display:block;border-bottom:1px solid var(--gray-150)}
.card.pic .pic-body{padding:20px 22px 22px}
@media (max-width:900px){.pics{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.pics{grid-template-columns:1fr}.sos-stage{width:40%}}
@media (prefers-reduced-motion:reduce){.sos-stage .rip,.brand .mark.logo{animation:none}.web-line{animation:none;stroke-dashoffset:0}.web-person{animation:none;fill:var(--accent)}}
.hero .stat-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;align-items:start}
@media (max-width:760px){.hero .stat-strip{grid-template-columns:repeat(2,1fr)}}
/* the red of the button picture (Apple P3), so page and picture match */
@supports (color:color(display-p3 1 0 0)){:root{--accent:color(display-p3 .898 .173 .118)}}
