/* ========================================
   Shell accents — red + one
   body[data-shell] picks the room color; chrome reads var(--shell).
   Record / btn-primary / danger stay brand red (tokens).
   ======================================== */

body[data-shell="band"] {
  --shell: var(--shell-band);
}
body[data-shell="profile"] {
  --shell: var(--shell-profile);
}
body[data-shell="woodshed"] {
  --shell: var(--shell-woodshed);
}
body[data-shell="songs"] {
  --shell: var(--shell-songs);
}

/* —— Shell buttons (color only; density/type scale lives in utilities.css) —— */
.btn-shell {
  background-color: var(--shell) !important;
  border-color: var(--shell) !important;
  color: #0a0a0a !important;
}
.btn-shell:hover,
.btn-shell:focus,
.btn-shell:active {
  background-color: var(--shell) !important;
  border-color: var(--shell) !important;
  color: #0a0a0a !important;
  filter: brightness(1.08);
}
/* Beat main.css span { color: --text-muted !important } so nested labels match ink */
.btn-shell span,
.btn-shell i,
.btn-shell .bi {
  color: inherit !important;
}
.btn-outline-shell {
  color: var(--shell) !important;
  border-color: var(--shell) !important;
  background-color: transparent !important;
}
.btn-outline-shell:hover,
.btn-outline-shell:focus,
.btn-outline-shell:active {
  color: var(--shell) !important;
  border-color: var(--shell) !important;
  background-color: color-mix(in srgb, var(--shell) 14%, transparent) !important;
}
.btn-outline-shell span,
.btn-outline-shell i,
.btn-outline-shell .bi {
  color: inherit !important;
}

/* Starred idea takes (profile + band hub cards, idea pages); beats main.css span color */
.idea-day-hub-card__player-mark.is-starred,
.idea-day-hub-card__player-mark.is-starred .bi,
.idea-day-hub-card__player-mark.is-starred .bi::before {
  color: var(--shell) !important;
}

/*
 * Identity / room headers: top accent only (no wash — Bagus).
 * Band/profile: accent on __inner (page-column card; outer is gutter).
 * Room hubs only: .catalog-header--identity (songs, woodshed, venues, …).
 * Plain .catalog-header (ideas hub, media, practice prefs, …) = pagehead-like
 *   — no accent. Same for .band-workspace-pagehead / plain .doc-header.
 * Opt-in: .doc-header--accent (e.g. Create a Band).
 * Wash tokens stay in tokens.css for mocks.
 */
body[data-shell] .band-page-header__inner,
body[data-shell] .entity-header__inner,
body[data-shell] .room-page-header__inner {
  box-shadow: inset 0 4px 0 var(--shell);
}

body[data-shell] .catalog-header--identity {
  background: var(--panel-bg-muted);
  box-shadow: inset 0 4px 0 var(--shell);
}

body[data-shell] .doc-header--accent {
  box-shadow: inset 0 4px 0 var(--shell);
}

/* —— Pagehead crumb row (D) + Help —— */
.pagehead-crumb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0 0 var(--space-3, 8px);
}
.pagehead-crumb-row__trail {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  font-size: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.pagehead-crumb-row__trail li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.pagehead-crumb-row__trail li + li::before {
  content: "/";
  color: var(--border-hover);
}
.pagehead-crumb-row__trail a {
  color: var(--gray);
  text-decoration: none;
  max-width: 24ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}
.pagehead-crumb-row__trail a:hover {
  color: var(--text);
  text-decoration: underline;
}
.pagehead-crumb-row__trail [aria-current] {
  color: var(--text);
}
.pagehead-crumb-row__help {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 0;
  font-weight: 500;
}
.pagehead-crumb-row__help:hover {
  color: var(--text);
}
.pagehead-crumb-row__help .bi {
  font-size: 14px;
}
@media (max-width: 576px) {
  .pagehead-crumb-row__help .pagehead-crumb-row__help-label {
    display: none;
  }
}
