/* "When it breaks" panel — tokens from design-tokens.css; dv-btn from design-view.css when present */
.oops-panel { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; background: var(--surface, #fff); border: 1px solid var(--warn, #B45309); border-left-width: 4px; border-radius: var(--radius, 10px); padding: 12px 16px; margin: 12px 0; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.oops-panel[data-oops="offline"] { border-left-color: var(--muted, #6b6b6b); }
.oops-panel[data-oops="tall"] { border-left-color: var(--accent-2, #20c997); }
.oops-body { flex: 1 1 260px; min-width: 0; }
.oops-body strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.oops-body p { margin: 0; color: var(--muted, #555); font-size: .93rem; }
.oops-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.oops-actions .dv-btn { font: inherit; font-size: .9rem; padding: 6px 12px; border: 1px solid var(--line, #d4d4d0); border-radius: 999px; background: var(--surface, #fff); color: var(--ink, #1c1c1a); text-decoration: none; cursor: pointer; }
.oops-actions .dv-btn-primary { background: var(--accent, #28a745); border-color: var(--accent, #28a745); color: #fff; }
.oops-spin { display: inline-flex; align-items: center; gap: 8px; color: var(--muted, #555); font-size: .9rem; }
.oops-spin i { width: 14px; height: 14px; border: 2px solid var(--line, #d4d4d0); border-top-color: var(--accent, #28a745); border-radius: 50%; animation: oops-spin 1s linear infinite; }
@keyframes oops-spin { to { transform: rotate(360deg); } }
.oops-close { margin-left: auto; }
.oops-fixed { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 1080; margin: 0; }
@media (min-width: 768px) { .oops-fixed { left: auto; width: min(560px, calc(100vw - 24px)); } }
