/* ===== Shared App Chrome (Lesson Planner source of truth) =====
 * Include this file after app styles. Override --chrome-* in :root to theme.
 * --chrome-primary: app accent (welcome-back hover, etc.)
 * --chrome-text-secondary, --chrome-text-muted, --chrome-bg, --chrome-border,
 * --chrome-font-display, --chrome-transition, --chrome-shadow, --chrome-radius-full
 */

/* Override these in your app :root to theme (e.g. --chrome-primary: var(--lt-primary)) */

/* Welcome screen: storage note */
.welcome-storage-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  padding: 10px 16px;
  background: var(--chrome-bg, #ffffff);
  border-radius: var(--chrome-radius-full, 100px);
  font-size: 12px;
  color: var(--chrome-text-muted, #9ca3af);
}

.welcome-storage-note svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* Welcome screen: Back to Dashboard link */
.welcome-back {
  position: absolute;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--chrome-font-display, 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--chrome-text-secondary, #6b7280);
  text-decoration: none;
  transition: color var(--chrome-transition, 0.25s cubic-bezier(0.4, 0, 0.2, 1));
}

.welcome-back:hover {
  color: var(--chrome-primary, #10b981);
}

.welcome-back svg {
  width: 18px;
  height: 18px;
}

/* Exit button (X) – top-right, visible in focus/editing mode */
.exit-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chrome-bg, #ffffff);
  border: 1px solid var(--chrome-border, #e5e7eb);
  border-radius: 50%;
  color: var(--chrome-text-secondary, #6b7280);
  text-decoration: none;
  z-index: 1000;
  transition: all var(--chrome-transition, 0.25s cubic-bezier(0.4, 0, 0.2, 1));
  box-shadow: var(--chrome-shadow, 0 4px 24px rgba(0, 0, 0, 0.08));
}

.exit-btn:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #ef4444;
}

.exit-btn svg {
  width: 20px;
  height: 20px;
}
