/* Safety (safety.js): Get help, damage reports, the Safety page. Same tokens as app.css. */
.sf-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--chip); color: var(--ink); }
.sf-help .sf-ic { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.sf-help b, .sf-item b { font-weight: 500; }
.sf-help .grow, .sf-item .grow { min-width: 0; }
.sf-item + .sf-item { padding-top: 16px; border-top: 1px solid var(--line); }
.sf-damage p { line-height: 1.45; }
.sf-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.sf-photos img, .sf-ph { aspect-ratio: 1; width: 100%; border-radius: 12px; object-fit: cover; background: var(--chip); }
.sf-ph { position: relative; overflow: hidden; }
.sf-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-ph.busy img { opacity: .5; }
.sf-ph .icon-btn { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; }
.sf-ph.add { display: grid; place-items: center; color: var(--muted); cursor: pointer; border: 1px dashed var(--border); background: transparent; }
.sf-ph.add:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 480px) { .sf-help { flex-wrap: wrap; } .sf-help .btn { width: 100%; } }
