/* Hosted-only chrome; never restyles the recorder's local instruments. */
.hosted-app [hidden] { display: none !important; }
.hosted-app .appHeader { box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; position: relative; min-height: 72px; padding: 12px 32px; background: var(--header-bg, var(--surface)); border-bottom: 1px solid var(--border); box-shadow: none; }
.hosted-app .headerLeft { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; flex: 1; min-width: 0; }
.hosted-app .brandLockup { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); text-decoration: none; flex: 0 0 auto; }
.hosted-app .brandMark { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.hosted-app .hosted-brand-title, .hosted-app .brandLockup h1 { color: var(--text-strong); font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.025em; margin: 0; }
.hosted-app .hostedNav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
.hosted-app .hostedNav a, .hosted-app .accountButton { box-sizing: border-box; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 8px 15px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--muted-strong); background: transparent; border: 1px solid transparent; box-shadow: none; }
.hosted-app .hostedNav a[aria-current], .hosted-app .hostedNav a.active { color: var(--primary-strong); background: var(--primary-soft); }
.hosted-app .hostedNav a:hover, .hosted-app .accountButton:hover { background: var(--surface-strong); }
.hosted-app .headerActions { display: flex; align-items: center; gap: 10px; width: auto; flex: 0 0 auto; }
.hosted-app .accountButton { border-color: var(--border); }
.hosted-app .accountButton[aria-current] { border-color: var(--primary-strong); color: var(--primary-strong); }
.hosted-app #auth-message:empty { display: none; }
.hosted-app #auth-message:not(:empty) { padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); margin: 0 0 20px; }
.hosted-app :focus-visible { outline: 3px solid var(--primary-strong); outline-offset: 3px; }
@media (max-width: 1099px) {
  .hosted-app .appHeader { padding: 10px 24px; gap: 12px; }
  .hosted-app .headerLeft { width: auto; gap: 16px; }
}
@media (max-width: 640px) {
  .hosted-app .appHeader { padding: 12px 18px; align-items: center; position: static; }
  .hosted-app .headerLeft { display: contents; }
  .hosted-app .brandLockup { order: 0; width: auto; }
  .hosted-app .hosted-brand-title, .hosted-app .brandLockup h1 { font-size: 20px; }
  .hosted-app .headerActions { order: 1; margin-left: auto; }
  .hosted-app .hostedNav { order: 2; width: 100%; justify-content: space-between; gap: 2px; }
  .hosted-app .hostedNav a { padding: 8px 12px; font-size: 13px; }
  .hosted-app #viewModeControl { order: 3; }
  .hosted-app:not(.tripLibraryMode) .headerActions { flex-wrap: wrap; }
}
