:root {
  font-family: Inter, system-ui, sans-serif;
  color: #eef5ff;
  background: #061322;
  /* BandHouse colours (26 Oct 2026), taken from the BND icon: navy, electric blue and silver. */
  --blue: #1e9bff;
  --purple: #2f6bff; /* deep blue: what purple did (editing, second actions) */
  --pink: #d3dce7; /* silver: what pink did (owner, markers) */
  --silver: #d3dce7;
  --action: linear-gradient(90deg, #1a86ff, #2350f0);
  --panel: #0e1c30;
  --muted: #c4d3e3; /* secondary writing; brightened 24 Oct 2026 for dark venues (was #9fb0c4) */
  --green: #23df88;
  /* Dark native scrollbars, date pickers and checkboxes to match the theme. */
  color-scheme: dark;
  scrollbar-color: #36506e #0b192b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: flex;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0, #0b2a5a 0, transparent 32%), #061322;
}
.sidebar {
  width: 240px;
  padding: 32px 20px;
  background: #081524;
  border-right: 1px solid #20334b;
  position: fixed;
  inset: 0 auto 0 0;
}
.brand {
  font-size: 26px;
  font-weight: 900;
}
.brand small {
  color: var(--pink);
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
}
.sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 44px;
}
.sidebar nav button {
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: center;
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 700;
}
.sidebar nav button.active,
.sidebar nav button:hover {
  background: #142740;
  color: white;
}
.tagline {
  position: absolute;
  bottom: 28px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
main {
  margin-left: 240px;
  padding: 38px 48px;
  width: calc(100% - 240px);
}
header,
.sectionHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h1 {
  font-size: 36px;
  margin: 3px 0 24px;
}
.eyebrow {
  color: var(--blue);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 2px;
}
button {
  cursor: pointer;
}
.sectionHead button,
.actions button,
#newGig,
#saveMyName,
#landingSignIn {
  background: var(--action);
  border: 0;
  color: white;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 900;
}
.hero {
  padding: 28px;
  border: 1px solid #2e83b5;
  border-radius: 22px;
  background: linear-gradient(120deg, #0d2138, #0f2547);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero h2 {
  font-size: 28px;
  margin: 5px 0;
}
/* A long gig name or venue wraps instead of pushing + NEW GIG off the page (round 4). */
.hero > div:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.hero p {
  color: var(--muted);
}
.ready {
  text-align: center;
  color: var(--green);
  border: 1px solid #237e62;
  padding: 15px 22px;
  border-radius: 16px;
  font-size: 11px;
}
.ready strong {
  font-size: 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 34px;
}
.grid article,
.card,
.placeholder {
  background: var(--panel);
  border: 1px solid #263b55;
  border-radius: 18px;
  padding: 20px;
}
/* The Dashboard's four summary cards: centred and brighter, to read at a glance (24 Oct 2026). */
.grid article {
  text-align: center;
  background: #13284a;
  border-color: #3d5d86;
}
.grid span {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #d6e4f3;
  font-weight: 800;
}
.grid strong {
  display: block;
  font-size: 34px;
  margin-top: 8px;
  color: #ffffff;
}
.grid article p {
  color: #c9d8e8;
  font-size: 15px;
  margin-bottom: 0;
}
.grid p,
.card p,
.placeholder p {
  color: var(--muted);
}
.cards {
  display: grid;
  gap: 12px;
}
.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card h4 {
  margin: 0 0 5px;
  font-size: 18px;
}
.pill {
  font-size: 10px;
  font-weight: 900;
  color: var(--green);
}
/* Something to sort out before the gig, in the app's warning amber. */
.pill.warn {
  color: #ffb347;
}
/* Badges side by side (GIG, TENTATIVE) need a gap so they don't read as one word. */
.pill + .pill {
  margin-left: 8px;
}
/* Information, neither good nor a problem (an event you are not playing). */
.pill.quiet {
  color: #dce8f6;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
dialog {
  border: 1px solid #3c5572;
  border-radius: 20px;
  background: #0b192b;
  color: white;
  width: min(560px, 92vw);
  padding: 26px;
}
dialog::backdrop {
  background: #000a;
}
form {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
input,
textarea,
select {
  background: #071321;
  color: white;
  border: 1px solid #53677e;
  border-radius: 10px;
  padding: 13px;
  font: inherit;
  /* Let form fields shrink inside dialog grids instead of widening the dialog. */
  min-width: 0;
  max-width: 100%;
}
textarea {
  min-height: 72px;
}
select {
  appearance: auto;
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.actions .secondary {
  background: #1b2a3d;
}
@media (max-width: 800px) {
  .sidebar {
    width: 76px;
  }
  .brand {
    font-size: 0;
  }
  .brand:after {
    content: none;
    font-size: 20px;
  }
  .brand small,
  .sidebar nav button {
    font-size: 0;
  }
  .sidebar nav button:before {
    content: "•";
    font-size: 20px;
  }
  .tagline {
    display: none;
  }
  main {
    margin-left: 76px;
    width: calc(100% - 76px);
    padding: 25px 18px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    align-items: flex-start;
    gap: 15px;
  }
  .two {
    grid-template-columns: 1fr;
  }
}
/* Account and display controls live in one place in the sidebar (design review, 2 Oct). */
.sidebar {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sidebar nav {
  margin-top: 32px;
}
.account {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  gap: 8px;
}
.account button {
  border: 1px solid #36506e;
  background: #12233a;
  color: #dce8f6;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 12px;
  text-align: center;
}
.account button:hover {
  background: #1a3150;
}
.account button:disabled {
  opacity: 0.55;
}
#cloudState {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--muted);
}
#cloudState::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5c6f86;
}
#cloudState.connected {
  color: var(--green);
}
#cloudState.connected::before {
  background: var(--green);
}
#cloudState.problem {
  color: #ffb3c1;
}
#cloudState.problem::before {
  background: #ff7b8c;
}
.tagline {
  position: static;
  margin-top: 18px;
}
header {
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 8px;
}
.heroActions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.syncBanner[hidden] {
  display: none;
}
/* Card actions share one quiet style; deletes share the red one. */
.gigOpen,
.gigRunSheet,
.gigShare,
.moneyEdit,
.memberRole,
.inviteRevoke {
  border: 1px solid #2e6d96;
  background: #102942;
  color: var(--blue);
  border-radius: 10px;
  padding: 9px 13px;
  font-weight: 900;
}
.gigDelete,
.memberRemove {
  border: 1px solid #dc668a;
  background: #2b1830;
  color: #ffd3df;
  border-radius: 10px;
  padding: 9px 13px;
  font-weight: 800;
}
.roleBadge {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #36506e;
  color: #dce8f6;
  text-transform: uppercase;
}
.roleBadge.role-owner {
  border-color: var(--pink);
  color: #eef3f9;
}
.roleBadge.role-leader {
  border-color: var(--blue);
  color: #bfeaff;
}
.memberCard h4 small {
  color: var(--muted);
  font-weight: 600;
}
.inviteList {
  margin-top: 12px;
}
.contactsHead {
  margin-top: 36px;
}
#inviteCode {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
/* Month calendar. */
.monthHead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.monthHead h3 {
  margin: 0 8px;
  min-width: 170px;
  text-align: center;
}
.monthHead button {
  border: 1px solid #2a4561;
  background: #0c1b2c;
  color: #eef5ff;
  border-radius: 9px;
  min-width: 44px;
  min-height: 40px;
  font-weight: 900;
  font-size: 16px;
}
#thisMonth {
  font-size: 11px;
  padding: 0 12px;
}
.monthGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 18px;
}
.dayName {
  font-size: 10px;
  font-weight: 900;
  color: var(--muted);
  text-align: center;
  padding: 4px 0;
}
.day {
  min-height: 84px;
  background: var(--panel);
  border: 1px solid #1f3248;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.day.blank {
  background: transparent;
  border-color: transparent;
}
.day.today {
  border-color: var(--blue);
}
.dayNum {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}
.day.today .dayNum {
  color: var(--blue);
}
.dayGig {
  border: 0;
  border-left: 3px solid var(--blue);
  background: #12294a;
  color: #eef5ff;
  border-radius: 6px;
  padding: 3px 5px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 24px;
}
.dayGig.type-rehearsal {
  border-left-color: var(--blue);
}
.dayGig.type-travel {
  border-left-color: #f5bf68;
}
.dayGig.type-other {
  border-left-color: var(--muted);
}
/* Front page for signed-out visitors. */
.landing {
  display: none;
}
body.signedOut .landing {
  display: block;
}
body.signedOut .view,
body.signedOut .sidebar nav,
body.signedOut main > header,
body.signedOut #refreshCloud {
  display: none;
}
.landingHero {
  padding: 40px 36px;
  border: 1px solid #2e83b5;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, #123d78 0, transparent 45%),
    linear-gradient(120deg, #0d2138, #0f2547);
}
.landingHero h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.1;
  margin: 8px 0 16px;
  max-width: 820px;
}
.landingHero p {
  color: #c4d2e2;
  font-size: 17px;
  line-height: 1.6;
  max-width: 680px;
}
.landingActions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}
#landingSignIn {
  min-height: 48px;
  padding: 13px 28px;
  font-size: 15px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.features article {
  background: var(--panel);
  border: 1px solid #263b55;
  border-radius: 18px;
  padding: 20px;
}
.features h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.features p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
#songFilter {
  width: 100%;
  margin: 0 0 16px;
}
.view > h2 {
  margin-top: 0;
}
.directions {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}
.moneyline {
  font-size: 10px;
  margin: 7px 0 0;
}
.card > div {
  min-width: 0;
}
.card h4 {
  word-break: break-word;
  overflow-wrap: anywhere;
}
/* A very long word in a title wraps instead of pushing the buttons off-screen (26 Oct 2026 fault test). */
.card > div {
  min-width: 0;
}
.card p {
  overflow-wrap: anywhere;
}

.intro {
  color: var(--muted);
  font-size: 12px;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.largeText {
  min-height: 220px;
  font-family: ui-monospace, Consolas, monospace;
  line-height: 1.45;
}
.workshopEdit,
.songEdit,
.chartOpen,
.chartAttach {
  border: 1px solid #2e6d96;
  background: #102942;
  color: var(--blue);
  border-radius: 10px;
  padding: 9px 13px;
  font-weight: 900;
}
.picker {
  max-height: 52vh;
  overflow: auto;
  border: 1px solid #263b55;
  border-radius: 12px;
  padding: 6px;
}
.pickrow {
  display: grid;
  grid-template-columns: auto 1fr 64px;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-bottom: 1px solid #1b3047;
}
.pickrow:last-child {
  border-bottom: 0;
}
.pickrow span {
  display: grid;
}
.pickrow small {
  color: var(--muted);
}
.pickrow .order {
  width: 60px;
  padding: 7px;
}
@media (max-width: 650px) {
  .three {
    grid-template-columns: 1fr;
  }
  .largeText {
    min-height: 150px;
  }
}

.chordTools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #2b5575;
  border-radius: 14px;
  background: #0b2136;
}
.chordTools b {
  font-size: 15px;
}
.chordTools p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.chordTools button {
  background: var(--action);
  border: 0;
  color: white;
  border-radius: 11px;
  padding: 11px 16px;
  font-weight: 900;
}
.secondaryInline {
  justify-self: start;
  border: 1px solid #35536f;
  background: #14263a;
  color: var(--muted);
  border-radius: 9px;
  padding: 8px 11px;
  font-weight: 800;
  font-size: 10px;
}

fieldset {
  min-width: 0;
  border: 1px solid #53677e;
  border-radius: 12px;
  padding: 10px;
}
legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 0 6px;
}
.contactEdit {
  border: 1px solid #2e6d96;
  background: #102942;
  color: var(--blue);
  border-radius: 10px;
  padding: 9px 13px;
  font-weight: 900;
}

.timing {
  border: 1px solid #2b5978;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
  color: var(--blue);
  background: #0b2237;
}
.fieldHelp {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.syncBanner {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #33465c;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
}
.syncBanner b {
  color: var(--blue);
}
.syncBanner.connected {
  border-color: #247458;
}
.syncBanner.connected b {
  color: var(--green);
}
.syncBanner.welcome {
  border-color: #3a4f8a;
  color: var(--text, #e8eefc);
  font-size: 13px;
}
.calendarTools {
  display: flex;
  /* Wraps at 400% zoom (320 CSS px) instead of pushing the page sideways (27 Oct 2026). */
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.calMode {
  border: 1px solid #2a4561;
  background: #0c1b2c;
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 9px;
  font-weight: 800;
}
.calMode.active {
  color: white;
  border-color: var(--blue);
}
.packGrid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .packGrid {
    grid-template-columns: 1fr;
  }
}

.cueRows {
  display: grid;
  gap: 7px;
  margin: 8px 0;
}
.cueRow {
  display: grid;
  grid-template-columns: 74px 1fr 38px;
  gap: 8px;
  align-items: center;
  border: 1px solid #28445e;
  border-radius: 10px;
  padding: 8px;
}
.cueRow small {
  display: block;
  color: var(--muted);
}
.cueRow > button {
  border: 0;
  background: transparent;
  color: #ff7b8c;
  font-size: 20px;
}
.cueType {
  font-size: 9px;
  font-weight: 900;
  text-align: center;
  border-radius: 20px;
  padding: 6px;
  background: #153149;
}
.cueType.solo {
  color: #ffca77;
}
.cueType.ending,
.cueType.stop {
  color: #ff7b8c;
}
.cueType.vocal,
.cueType.harmony {
  color: #bcd6ff;
}
.cueType.talk,
.cueType.crowd {
  color: #6edaff;
}
.cueAdd {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.7fr auto;
  gap: 7px;
}
.cueAdd button {
  border: 1px solid #2e6d96;
  background: #102942;
  color: var(--blue);
  border-radius: 10px;
  font-weight: 900;
}
@media (max-width: 750px) {
  .cueAdd {
    grid-template-columns: 1fr;
  }
  .cueRow {
    grid-template-columns: 64px 1fr 38px;
  }
}

/* MyBand desktop setlist workshop */
.workspace {
  display: grid;
  grid-template-columns: minmax(250px, 34%) 1fr;
  gap: 16px;
  margin: 16px 0 30px;
  min-height: 520px;
}
.songTray,
.setCanvas {
  background: linear-gradient(180deg, #0b1c30, #091625);
  border: 1px solid #29435f;
  border-radius: 18px;
  padding: 14px;
}
.songTray > label {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin: 2px 0 9px;
}
.songTray input {
  width: 100%;
  margin-bottom: 10px;
}
.trayList,
.setDropzone {
  display: grid;
  gap: 7px;
}
/* Set notes and band comments under the song order (27 Oct 2026). */
.setNotes {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #ffffff1f;
}
.setNotes h4 {
  margin: 8px 0 4px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
}
.setNotes ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  gap: 6px;
}
.setNotes li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  overflow-wrap: anywhere;
}
/* A long comment wraps; its REMOVE button keeps its shape at phone width (round 4: it was squeezed
   to one letter per line). Set notes keep the line breaks they were written with. */
.setNotes li > span {
  min-width: 0;
}
.setNotes li > button {
  flex-shrink: 0;
}
#setNotesText {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.setNotes form {
  display: flex;
  gap: 8px;
}
.setNotes form input {
  flex: 1;
  min-width: 0;
}
.trayList {
  max-height: 430px;
  overflow: auto;
  padding-right: 3px;
}
.traySong,
.setSongRow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #29445e;
  background: #10233a;
  border-radius: 12px;
  padding: 10px 11px;
  min-height: 52px;
  touch-action: none;
}
.traySong {
  cursor: grab;
}
.traySong:active,
.setSongRow.dragging {
  cursor: grabbing;
  border-color: var(--blue);
  box-shadow: 0 8px 24px #0007;
  opacity: 0.9;
}
.traySong b,
.setSongRow b {
  display: block;
  font-size: 13px;
}
.traySong small,
.setSongRow small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.traySong button,
.setSongRow button {
  border: 0;
  background: #17344f;
  color: var(--blue);
  border-radius: 9px;
  min-width: 42px;
  min-height: 42px;
  font-weight: 900;
}
.canvasHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 12px;
}
.canvasHead b {
  font-size: 18px;
}
.canvasHead small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.canvasHead button {
  border: 0;
  border-radius: 10px;
  padding: 10px 13px;
  font-weight: 900;
  background: var(--action);
  color: white;
}
.canvasHead button:disabled {
  opacity: 0.35;
}
.setDropzone {
  min-height: 420px;
  border: 1px dashed #355675;
  border-radius: 14px;
  padding: 9px;
}
.setDropzone.empty:before {
  content: "Drop songs here";
  display: grid;
  place-items: center;
  min-height: 380px;
  color: var(--muted);
  font-weight: 800;
}
.setSongRow {
  grid-template-columns: 34px 1fr auto auto;
  background: linear-gradient(90deg, #102840, #10264a);
}
.setSongRow .setNo {
  font-weight: 900;
  color: var(--blue);
  text-align: center;
}
.setSongRow .grip {
  font-size: 20px;
  color: var(--muted);
  cursor: grab;
}
.dropMarker {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--silver));
}
.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .trayList {
    max-height: 250px;
  }
  .setDropzone {
    min-height: 300px;
  }
}

/* Accessible controls and narrow-screen navigation; keep MyBand's palette. */
[hidden] {
  display: none !important;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
header {
  gap: 16px;
  flex-wrap: wrap;
}
.bandSelect {
  max-width: 280px;
}
.bandSelect select {
  width: 100%;
  min-width: 180px;
}
#webError,
.formError {
  padding: 14px;
  border: 1px solid #ff7b8c;
  border-radius: 12px;
  background: #321a2b;
  color: #ffe0e5;
  line-height: 1.5;
}
.songDelete,
.chartRemove,
.contactDelete,
.setlistDelete {
  border: 1px solid #dc668a;
  background: #2b1830;
  color: #ffd3df;
  border-radius: 10px;
  padding: 10px 13px;
  margin: 4px;
  font-weight: 800;
}
.setActions,
.rowActions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.setActions button {
  min-height: 44px;
}
.traySong {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  touch-action: auto;
}
.setSongRow {
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  touch-action: auto;
}
.traySong input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
}
.traySong b,
.setSongRow b {
  overflow-wrap: anywhere;
}
#addSelectedSongs {
  width: 100%;
  border: 1px solid var(--blue);
  background: #16354d;
  color: #eef5ff;
  border-radius: 10px;
  min-height: 44px;
  margin: 4px 0 12px;
  font-weight: 800;
}
#enhancedVisibility[aria-pressed="true"] {
  outline: 2px solid var(--blue);
}
body.enhanced {
  font-size: 18px;
}
body.enhanced label,
body.enhanced .intro,
body.enhanced .fieldHelp {
  font-size: 15px;
}
body.enhanced button {
  font-size: 15px;
  min-height: 48px;
}
body.enhanced .traySong b,
body.enhanced .setSongRow b {
  font-size: 18px;
}
body.enhanced .traySong small,
body.enhanced .setSongRow small,
body.enhanced .pill {
  font-size: 14px;
}
@media (max-width: 800px) {
  body {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid #20334b;
  }
  .brand {
    font-size: 24px;
  }
  .brand:after,
  .sidebar nav button:before {
    content: none;
  }
  .brand small {
    font-size: 11px;
  }
  .sidebar nav {
    margin-top: 14px;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    gap: 6px;
  }
  .sidebar nav button {
    font-size: 14px;
    text-align: center;
    min-height: 44px;
  }
  .tagline {
    display: block;
    position: static;
    font-size: 11px;
    margin-top: 12px;
  }
  main {
    margin: 0;
    width: 100%;
    padding: 20px 16px;
  }
  header {
    align-items: flex-start;
  }
  .bandSelect {
    max-width: 100%;
  }
  .hero {
    flex-wrap: wrap;
  }
  .canvasHead {
    flex-wrap: wrap;
  }
  .card {
    gap: 10px;
    flex-wrap: wrap;
  }
  .actions {
    flex-wrap: wrap;
  }
  .syncBanner {
    flex-wrap: wrap;
  }
}
@media (max-width: 450px) {
  .setSongRow {
    grid-template-columns: 24px minmax(0, 1fr);
  }
  .setSongRow .grip {
    display: none;
  }
  .rowActions {
    grid-column: 2;
  }
  .cueAdd {
    grid-template-columns: 1fr;
  }
  .bandSelect {
    width: 100%;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  /* Two cards side by side on a phone: the big numbers and CONNECTED must still fit. */
  .grid article {
    min-width: 0;
    padding: 16px 8px;
  }
  .grid strong {
    font-size: 28px;
    overflow-wrap: anywhere;
  }
  .grid #connectionStatus {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Short sets keep natural row heights rather than stretching each song tile. */
.setDropzone {
  align-content: start;
}

/* Published snapshots use the existing MyBand accessible controls and card style. */
.showTools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin: 18px 0;
}
.showTools label {
  flex: 1;
  min-width: 200px;
}
.showTools button,
#olderShows,
.downloadShow {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #3e6486;
  border-radius: 12px;
  background: #122a43;
  color: #eef5ff;
  font: inherit;
  font-weight: 700;
}
.publishedShow {
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}
.publishedShow summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--blue);
}
.publishedShow li {
  padding: 5px 0;
  overflow-wrap: anywhere;
}
#showStatus {
  line-height: 1.6;
}
@media (max-width: 600px) {
  .showTools {
    display: grid;
  }
  .publishedShow .downloadShow {
    width: 100%;
  }
}

/* Phone layout (design review, 2 Oct): brand and status on one line, a compact
   two-row menu, then one row of account buttons, so content starts near the top. */
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    overflow: visible;
  }
  .brand {
    font-size: 20px;
    flex: 1;
  }
  .account {
    display: contents;
  }
  #cloudState {
    order: 1;
    margin-left: auto;
    font-size: 10px;
  }
  .sidebar nav {
    order: 2;
    flex-basis: 100%;
    margin: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }
  .sidebar nav button {
    font-size: 13px;
    padding: 8px 4px;
    min-height: 40px;
    border: 1px solid #20334b;
  }
  .longLabel {
    display: none;
  }
  .account button {
    order: 3;
    flex: 1 1 auto;
    text-align: center;
    min-height: 40px;
    padding: 8px 10px;
  }
  .tagline {
    display: none;
  }
  header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  h1 {
    font-size: 28px;
    margin-bottom: 4px;
  }
  .bandSelect {
    width: 100%;
    max-width: none;
  }
  .day {
    min-height: 56px;
    padding: 3px;
  }
  .dayGig {
    font-size: 10px;
    padding: 2px 3px;
  }
  .monthHead h3 {
    min-width: 0;
    flex: 1;
    font-size: 16px;
  }
  .landingHero {
    padding: 26px 20px;
  }
}
@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}
body.signedOut #cloudState {
  display: none;
}
.sectionHead button:disabled,
#newGig:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
/* Drag-and-drop setlist building (2 Oct). */
.setDropzone.empty:before {
  content: attr(data-hint);
  text-align: center;
  padding: 0 20px;
}
.setDropzone.dragOver {
  border-color: var(--blue);
  border-style: solid;
  background: #0e2a44;
}
.setSongRow.dropBefore {
  box-shadow: 0 -4px 0 0 var(--pink);
}
.setSongRow.dropAfter {
  box-shadow: 0 4px 0 0 var(--pink);
}
.traySong.dragging {
  opacity: 0.5;
}
.traySong.inSet small {
  color: #ffd166;
}
.setTitle {
  min-width: 0;
  flex: 1;
}
#activeSetNameInput {
  width: 100%;
  max-width: 420px;
  font-size: 18px;
  font-weight: 800;
  padding: 9px 12px;
}
/* Chord placer (2 Oct). Chord yellow matches the phone's stage chords (#FFD166). */
#songDialog {
  width: min(880px, 94vw);
}
.chordButtons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#placeChords {
  background: #3a2f12;
  border: 1px solid #ffd166;
  color: #ffd166;
  border-radius: 11px;
  padding: 11px 16px;
  font-weight: 900;
}
#placeChords[aria-expanded="true"] {
  background: #ffd166;
  color: #1a1405;
}
.chordPlacer {
  border: 1px solid #6b5a22;
  border-radius: 14px;
  background: #0d1a2b;
  padding: 14px;
  display: grid;
  gap: 10px;
  min-width: 0;
}
.placerHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.placerHead b {
  color: #ffd166;
}
.placerTools {
  display: flex;
  gap: 6px;
}
.placerTools button,
.customChord button {
  border: 1px solid #36506e;
  background: #12233a;
  color: #dce8f6;
  border-radius: 9px;
  padding: 8px 12px;
  font-weight: 800;
  min-height: 40px;
}
.chordPalette {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: sticky;
  top: -26px;
  z-index: 1;
  background: #0d1a2b;
  padding: 6px 0;
}
.paletteChord {
  min-width: 52px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #ffd166;
  background: #2a230e;
  color: #ffd166;
  font-weight: 900;
  font-size: 16px;
  cursor: grab;
}
.paletteChord.armed {
  background: #ffd166;
  color: #1a1405;
  box-shadow: 0 0 0 3px #ffd16655;
}
.customChord {
  display: flex;
  gap: 6px;
}
.customChord input {
  flex: 1;
  padding: 9px 12px;
}
.placerLyrics {
  max-height: 46vh;
  overflow: auto;
  border: 1px solid #263b55;
  border-radius: 12px;
  padding: 10px 12px;
  background: #071321;
}
.placerLine {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  min-height: 22px;
  margin-bottom: 6px;
}
.placerWord {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 5px;
  border-radius: 6px;
}
.placerWord.dropHere {
  background: #1d3a57;
  outline: 2px dashed #ffd166;
}
.chordSlot {
  height: 22px;
}
.placedChord {
  height: 22px;
  padding: 0 5px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #ffd166;
  font-weight: 900;
  font-size: 14px;
  cursor: grab;
}
.placedChord:hover,
.placedChord:focus-visible {
  background: #3a2f12;
}
.wordTarget {
  border: 0;
  background: transparent;
  color: #eef5ff;
  font: inherit;
  font-size: 15px;
  padding: 2px 3px;
  border-radius: 5px;
  cursor: pointer;
}
.wordTarget:hover,
.wordTarget:focus-visible {
  background: #17344f;
}
.wordTarget.lineEnd {
  color: #8aa0b8;
  font-size: 13px;
}
body.enhanced .wordTarget {
  font-size: 19px;
}
body.enhanced .placedChord {
  font-size: 17px;
}
/* Privacy policy and other document pages (G8). */
body.docBody {
  display: block;
}
.docPage {
  margin: 0 auto;
  width: 100%;
  max-width: 760px;
  padding: 40px 20px 60px;
  line-height: 1.65;
  color: #dce8f6;
}
.docPage h1 {
  margin-top: 6px;
}
.docPage h2 {
  margin-top: 34px;
  font-size: 21px;
}
.docPage h3 {
  margin: 20px 0 4px;
  font-size: 16px;
}
.docPage a,
.siteLinks a {
  color: var(--blue);
}
.docPage li {
  margin: 6px 0;
}
.draftNote {
  border: 2px solid #f5bf68;
  background: #302338;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
}
.docMeta {
  color: var(--muted);
}
.siteLinks {
  font-size: 12px;
  margin-top: 10px;
}
@media (max-width: 800px) {
  /* Keeps the phone menu compact; the front page carries its own privacy link. */
  .sidebar .siteLinks {
    display: none;
  }
}
.actions button.dangerButton {
  background: #8f1d3a;
  border: 1px solid #ff7b8c;
}
.docPage form {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #6b2a3c;
  border-radius: 14px;
  background: #0e1c30;
}
/* Help page: one card per topic, tap to open (16 Oct 2026). */
.helpSearch {
  display: block;
  margin: 18px 0 14px;
  font-weight: 700;
}
.helpSearch input {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.helpTopic {
  margin: 10px 0;
  border: 1px solid #2b4566;
  border-radius: 14px;
  background: #0e1c30;
}
.helpTopic[open] {
  border-color: var(--blue);
}
.helpTopic summary {
  cursor: pointer;
  padding: 14px 16px;
}
.helpTitle {
  font-weight: 800;
  text-transform: uppercase;
}
.helpSummary {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.helpTopic ol {
  margin: 0;
  padding: 0 18px 14px 40px;
}
.headButtons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sectionHead .headButtons button.quiet {
  background: #12233a;
  border: 1px solid #36506e;
}
/* Gig availability (G5). */
.attendance {
  border: 1px solid #2b5978;
  border-radius: 14px;
  padding: 14px;
  background: #0b2136;
}
.attendance h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.attendanceButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.attendanceButtons button {
  border: 1px solid #36506e;
  background: #12233a;
  color: #dce8f6;
  border-radius: 10px;
  padding: 10px 14px;
  min-height: 44px;
  font-weight: 800;
}
.attendanceButtons button[aria-pressed="true"] {
  border-color: var(--green);
  background: #0f3a2a;
  color: #b9f5d6;
}
#attendanceList {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #dce8f6;
}
#attendanceList li {
  margin: 4px 0;
}
.attend-yes {
  color: var(--green);
}
.attend-maybe {
  color: #f5bf68;
}
.attend-no {
  color: #ff9aaa;
}
.attend-none {
  color: var(--muted);
}
/* Band Pro plan line (G6). */
.planStatus {
  border: 1px solid #36506e;
  border-radius: 12px;
  padding: 10px 14px;
  color: #dce8f6;
  background: #0e1c30;
  font-size: 14px;
}
.planStatus.pro {
  border-color: var(--green);
  color: #b9f5d6;
}
/* Information, not a notice: a plain line under the heading (26 Oct 2026). */
.planStatus.quiet {
  border: 0;
  background: none;
  padding: 0 2px;
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

/* Printed setlist (PRINT on a setlist): only the setlist, large and black on white. */
#printSetlist {
  display: none;
}
@media print {
  body > *:not(#printSetlist) {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
  #printSetlist {
    display: block;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
  }
  #printSetlist h1 {
    font-size: 26pt;
    margin: 0 0 4pt;
  }
  #printSetlist .printMeta {
    font-size: 11pt;
    color: #444;
  }
  #printSetlist ol {
    padding-left: 28pt;
    font-size: 18pt;
  }
  #printSetlist li {
    padding: 6pt 0;
    border-top: 0.5pt solid #bbb;
    break-inside: avoid;
  }
  #printSetlist li span {
    font-size: 12pt;
    color: #444;
  }
  #printSetlist li em {
    float: right;
    font-style: normal;
    font-size: 12pt;
    color: #444;
  }
  /* A printed run sheet (27 Oct 2026): every row with its clock time, not numbered. */
  #printSetlist .printRun {
    list-style: none;
    padding-left: 0;
    font-size: 14pt;
  }
  #printSetlist .printRun li span.printTime {
    display: inline-block;
    min-width: 64pt;
    font-size: 12pt;
    font-weight: 700;
    color: #000;
  }
}

/* Band notices (dashboard). */
.notices {
  margin-top: 18px;
}
.notices form {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}
/* POST NOTICE looks like the site's other main buttons, sized to its text. */
#postNotice {
  justify-self: start;
  background: var(--action);
  border: 0;
  color: white;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 900;
}
.notices textarea {
  width: 100%;
  font: inherit;
  resize: vertical;
}
.noticeHint,
.noticeMeta {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}
.noticeBody {
  margin: 6px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Song file import (Songs & Chords > IMPORT FILES). */
#importDialog {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.importList {
  display: grid;
  gap: 10px;
  max-height: 45vh;
  overflow: auto;
}
.importRow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}
.importRow.duplicate {
  opacity: 0.75;
}
.importRow > input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 6px;
}
.importFields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  min-width: 0;
}
.importFields .importInfo,
.importFields details {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.85rem;
}
.importFields pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.85rem;
  margin: 6px 0 0;
}
@media (max-width: 600px) {
  .importFields {
    grid-template-columns: 1fr;
  }
}

/* Setlist import (Setlists > IMPORT SETLIST). */
#setImportDialog {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
}
#setImportDialog .checkLine {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
.setImportHead {
  margin: 8px 0 0;
  font-weight: 900;
  letter-spacing: 1px;
}
.importInfo .matched {
  color: #23df88;
}
.importInfo .newSong {
  color: #f5bf68;
}
/* Join page (2.9.1). */
.joinActions { margin: 22px 0; }
.joinButton {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--action);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}
.docPage textarea { width: 100%; }
/* Store link on the signed-out front page (Android launch, 9 Nov 2026). */
.storeLinks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.landingHero .storeLinks span {
  color: var(--muted);
  font-size: 13px;
}
/* Run sheets (website 2.9.5): the same order, times and colours as the app's run sheet. */
#runSheetDialog form {
  max-width: 720px;
}
#runSheetSummary p {
  margin: 2px 0;
}
#runSheetSummary p + p {
  font-weight: 600;
  color: var(--muted);
}
.runSheet {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 4px;
  max-height: 58vh;
  overflow-y: auto;
}
.runRow {
  display: grid;
  gap: 2px;
}
.runLine {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.run-song .runLine {
  background: var(--panel);
}
.run-talk .runLine { border-color: #36d7ff88; background: #36d7ff1f; }
.run-segue .runLine { border-color: #7be49588; background: #7be4951f; }
.run-break .runLine { border-color: #ffb34788; background: #ffb3471f; }
.run-note .runLine { border-color: #ffd16688; background: #ffd1661f; }
.runTime {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.runBody {
  display: grid;
  min-width: 0;
  overflow-wrap: anywhere;
}
.runBody small {
  color: var(--muted);
}
.runKind {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.run-talk .runKind { color: #36d7ff; }
.run-segue .runKind { color: #7be495; }
.run-break .runKind { color: #ffb347; }
.run-note .runKind { color: #ffd166; }
.runLength {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.runSheet .runAdd {
  justify-self: start;
  margin-left: 92px;
  background: none;
  border: 0;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 8px;
  min-height: 32px;
}
.runLine[data-item] {
  cursor: pointer;
}
.runLine[data-item]:focus-visible,
.runSheet .runAdd:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
@media (max-width: 520px) {
  .runLine { grid-template-columns: 62px minmax(0, 1fr) auto; gap: 8px; }
  .runSheet .runAdd { margin-left: 70px; }
}

.chartOpen,
.chartAttach {
  margin: 4px;
}

/* Tentative events (2.9.16): a dashed amber edge on the calendar, and the tick in the event form. */
.dayGig.tentative {
  border-left-style: dashed;
  border-left-color: #ffb347;
}
.tentativeLine {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 4px 0 10px;
}
/* Who's playing an event (2.9.19). */
.lineupLine {
  color: var(--muted);
  font-size: 13px;
}
/* Your name in your bands (2.9.20). */
.myName {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 8px 0 16px;
}
.myName label {
  flex: 1 1 220px;
}
.myName p {
  flex-basis: 100%;
  margin: 0;
}
/* BandHouse (26 Oct 2026): the app icon beside the name, the same on phones. */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand span {
  font-size: 20px;
  letter-spacing: 0.5px;
}
.brandIcon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
}
/* The name beside the pick: BAND in white and HOUSE in the pick's MyBand colours (28 Oct 2026). */
.brand em {
  font-style: normal;
  color: #8b63ff;
  background: linear-gradient(90deg, #13b8ff, #8b63ff 55%, #ff5d9e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) {
  .brand em {
    -webkit-text-fill-color: CanvasText;
  }
}

/* Windows high contrast / forced colours (27 Oct 2026 fault test): the colours are replaced, so the
   buttons drawn only by a background lost their shape, and the open page in the menu looked like the
   others. Here only, every button gets an outline and the open page and pressed choices are marked. */
@media (forced-colors: active) {
  button,
  .pill,
  .roleBadge {
    border: 1px solid ButtonText !important;
  }
  button:disabled {
    border-color: GrayText !important;
  }
  nav button[aria-current="page"],
  .calMode[aria-pressed="true"],
  [data-attend][aria-pressed="true"] {
    border: 3px solid Highlight !important;
  }
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible,
  .runLine[data-item]:focus-visible {
    outline: 3px solid Highlight;
  }
}
/* Front page as a proper introduction (12 Nov 2026, Bradley): signed-out visitors see a
   welcome page with its own top bar, not the app's sidebar. */
body.signedOut .sidebar {
  display: none;
}
body.signedOut main {
  margin: 0;
  width: 100%;
  padding: 0 32px 40px;
}
body.signedOut .landing {
  max-width: 1180px;
  margin: 0 auto;
}
.lpTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  flex-wrap: wrap;
}
.lpBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
}
.lpBrand img {
  width: 40px;
  height: 40px;
}
.lpBrand em {
  font-style: normal;
  color: var(--blue);
}
.lpTopLinks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.lpTopLinks a {
  color: #dbe7f5;
  font-weight: 700;
  text-decoration: none;
}
.lpTopLinks a:hover {
  color: #fff;
  text-decoration: underline;
}
#landingVisibility,
#topSignIn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 900;
  color: #fff;
  border: 1px solid #36506e;
  background: #0e1c30;
}
#topSignIn {
  border: 0;
  background: var(--action);
}
#landingVisibility[aria-pressed="true"] {
  border-color: var(--blue);
  background: #12345c;
}
body.signedOut .landingHero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 48px 44px;
  overflow: hidden;
}
.lpPhones {
  display: flex;
  justify-content: center;
  align-items: center;
}
.lpPhone {
  width: 31%;
  height: auto;
  border-radius: 22px;
  border: 3px solid #2a4566;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  margin: 0 -3%;
  transform: scale(0.88);
  opacity: 0.85;
}
.lpPhone.lpPhoneMain {
  width: 36%;
  transform: none;
  opacity: 1;
  position: relative;
  z-index: 1;
  border-color: var(--blue);
}
.lpSection {
  margin-top: 64px;
}
.lpHeading {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  margin: 6px 0 24px;
}
.lpSteps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.lpSteps li {
  background: var(--panel);
  border: 1px solid #263b55;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lpSteps img,
.lpPair img {
  width: 100%;
  max-width: 240px;
  height: auto;
  align-self: center;
  border-radius: 18px;
  border: 2px solid #2a4566;
  margin-bottom: 10px;
}
.lpSteps b {
  font-size: 19px;
}
.lpSteps span,
.lpBand p,
.lpCta p {
  color: #c4d2e2;
  font-size: 16px;
  line-height: 1.6;
}
.lpBand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.lpPair {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.lpPair img {
  width: 46%;
}
.lpCta {
  margin-top: 64px;
  padding: 44px 32px;
  text-align: center;
  border: 1px solid #2e83b5;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, #123d78 0, transparent 60%),
    linear-gradient(120deg, #0d2138, #0f2547);
}
.lpCta .lpHeading {
  margin-bottom: 8px;
}
.lpCta .storeLinks {
  justify-content: center;
}
.lpFooter {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #20334b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.lpFooter p {
  margin: 0;
}
@media (max-width: 900px) {
  body.signedOut main {
    padding: 0 16px 32px;
  }
  body.signedOut .landingHero {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
  .lpSteps,
  .lpBand {
    grid-template-columns: 1fr;
  }
  .lpSection {
    margin-top: 44px;
  }
}
@media (max-width: 600px) {
  .lpTopLinks a {
    display: none;
  }
  .lpTop {
    padding: 16px 0;
  }
  .lpBrand {
    font-size: 20px;
  }
  #landingVisibility {
    font-size: 11px;
  }
}
/* On the front page, Google Play is the main button; Sign in is the quieter second one. */
body.signedOut #landingSignIn {
  background: transparent;
  border: 2px solid var(--blue);
}
@media (max-width: 900px) {
  .lpSteps img,
  .lpPair img {
    max-width: 200px;
  }
}
