/* Code guide | Atmos Dash
 * Purpose: Distinguish isolated test deployments and style the keyboard-accessible environment switch.
 */
.environment-button { white-space: nowrap; }
.environment-dialog { box-sizing: border-box; width: min(440px, calc(100vw - 32px)); border: 1px solid #94a3b8; border-radius: 12px; padding: 24px; background: var(--qs-surface, #fff); color: var(--qs-text, #17212b); }
.environment-dialog::backdrop { background: #0d192ab3; }
.environment-dialog h2 { margin: 0 0 12px; }
.environment-dialog p { line-height: 1.5; }
.environment-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.environment-dialog button { min-height: 44px; }
.environment-badge { display: inline-block; padding: 4px 8px; border-radius: 5px; font-weight: 800; background: #1e3a5f; color: #fff; }
.environment-badge--test { background: #92400e; }
.environment-banner { position: fixed; inset: 0 0 auto; z-index: 1000; min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 4px 10px; background: #92400e; color: #fff; font: 700 13px/1.4 system-ui, sans-serif; }
.environment-banner button { background: transparent; border: 1px solid #fed7aa; color: #fff; border-radius: 5px; padding: 2px 8px; font: inherit; cursor: pointer; }
html[data-data-environment="test"] body { padding-top: 34px; }
html[data-data-environment="test"] :is(.app-shell, .app-main) { min-height: calc(100vh - 34px); }
html[data-data-environment="test"] .sidebar { top: 34px; }
html[data-data-environment="test"] .topbar { top: 34px; }
.environment-error { max-width: 620px; margin: 48px auto; padding: 24px; }
@media (max-width: 600px) { .environment-button { max-width: 105px; white-space: normal; } .environment-banner { justify-content: space-between; font-size: 12px; } }
