/* ERTP Org — shared chrome: app header + conflict banner.
   Module-specific styles stay inside each page. */
:root {
  --navy: #1B2A4A;
  --blue: #3D52A1;
  --coral: #D85A30;
  --line: #C7CEDB;
}

.org-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 18px;
  background: var(--navy);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
.org-header a.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
}
.org-header .org-nav {
  display: flex;
  gap: 6px;
}
.org-header .org-nav a {
  color: #cdd6e8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
}
.org-header .org-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.org-header .org-nav a.active { background: var(--blue); color: #fff; }
.org-header .org-spacer { flex: 1; }
.org-header .org-user {
  font-size: 12px;
  color: #cdd6e8;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.org-header .org-user b { color: #fff; font-weight: 600; }

/* Non-destructive "someone else updated the data" banner.
   Shown when a save returns 409, or when we notice a newer version on refocus. */
.org-banner {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: none;
  align-items: center;
  gap: 14px;
  max-width: 92vw;
  background: #FFF4EF;
  color: #7a2e12;
  border: 1px solid var(--coral);
  border-left: 5px solid var(--coral);
  border-radius: 10px;
  padding: 11px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(20, 30, 50, .18);
}
.org-banner.show { display: flex; }
.org-banner button {
  border: none;
  background: var(--coral);
  color: #fff;
  border-radius: 7px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.org-banner button.ghost {
  background: transparent;
  color: #7a2e12;
  border: 1px solid rgba(122, 46, 18, .35);
}
