/* "You are not onboard" holding page (crew ashore / off duty). */
#page-not-onboard {
  max-width: 980px;
}

.nob-hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, var(--bg-card)) 0%, var(--bg-card) 70%);
}
.nob-hero-icon,
.nob-tile-icon {
  flex: none;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 16%, transparent);
}
.nob-hero-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
}
.nob-hero-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.nob-hero-text {
  flex: 1 1 18rem;
  min-width: 0;
}
.nob-hero-title {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.nob-hero-lead {
  margin: 0;
  max-width: 62ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.nob-status-pill {
  flex: none;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--warning);
  background: var(--warning-bg);
  border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent);
}

.nob-section-title {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 0.75rem;
}

.nob-tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: var(--tap-comfortable, 48px);
  padding: 1rem 1.1rem;
  font: inherit;
  text-align: left;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}
.nob-tile:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}
.nob-tile:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nob-tile:hover {
    transform: translateY(-1px);
  }
}
.nob-tile-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
}
.nob-tile-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.nob-tile-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.nob-tile-title {
  font-size: 0.9375rem;
  font-weight: 600;
}
.nob-tile-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-secondary);
}
.nob-tile-arrow {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.15s, color 0.15s;
}
.nob-tile:hover .nob-tile-arrow {
  color: var(--primary);
  transform: translateX(2px);
}

.nob-footnote {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
