/* WORLD-ONE HOST CSS — not a shared AIPP primitive. */
/* ── Auth / startup recovery overlays (auth-client.js, index bootstrap) ── */
.ones-auth-recovery,
#ones-page-startup-failure {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: color-mix(in srgb, var(--aipp-bg) 78%, transparent);
  color: var(--aipp-text);
  font: 14px var(--aipp-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}
.ones-auth-recovery[hidden],
#ones-page-startup-failure[hidden] {
  display: none !important;
}
.ones-recovery-card {
  width: min(420px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid var(--aipp-border);
  border-radius: 14px;
  background: var(--aipp-surface);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--aipp-bg) 55%, transparent);
}
.ones-recovery-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--aipp-text);
}
.ones-recovery-message {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
  color: var(--aipp-text-dim);
}
.ones-recovery-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ones-recovery-actions .aipp-btn {
  min-height: 36px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
}
.ones-recovery-detail {
  white-space: pre-wrap;
  margin: 14px 0 0;
  color: var(--aipp-text-dim);
  font: 12px/1.55 var(--aipp-font-mono, ui-monospace, monospace);
}
/* Host-only emphasis used when navigation jumps to a resource's source message. */
.resource-jump-flash{animation:resource-jump 1.6s ease}@keyframes resource-jump{0%,50%{box-shadow:0 0 0 3px var(--aipp-accent)}100%{box-shadow:none}}
#apps-mount{width:100%;color:var(--aipp-text)}
#apps-mount .aipp-list--boxed{margin:0;border:0;border-radius:0;background:transparent;padding:0}
#apps-mount .aipp-list-item--flat{border-radius:0}
#apps-mount .aipp-item-desc{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
