#pwa-update-banner {
    position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #0f766e;
  color: #ecfeff;
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.35);
}

#pwa-update-banner.is-visible {
  display: flex;
}

#pwa-update-banner__text {
  font-size: 0.92rem;
  line-height: 1.6;
}

#pwa-update-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pwa-update-btn {
  border: 0;
  border-radius: 0.65rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.pwa-update-btn--primary {
  background: #ecfeff;
  color: #115e59;
  font-weight: 700;
}

.pwa-update-btn--ghost {
  background: transparent;
  color: #ecfeff;
  border: 1px solid rgba(236, 254, 255, 0.45);
}

[data-theme="dark"] #pwa-update-banner {
  background: #134e4a;
  color: #ccfbf1;
}

[data-theme="dark"] .pwa-update-btn--primary {
  background: #ccfbf1;
  color: #134e4a;
}

.offline-shell {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.offline-card {
  max-width: 28rem;
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--tb-surface, #fff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.offline-card h1 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.offline-card p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
