:root {
  color-scheme: dark;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #edf3ff;
  background: #071329;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 90% 0, #143677, transparent 55%);
  min-height: 100vh;
}
header,
main,
footer {
  max-width: 1050px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #274366;
}
a {
  color: #a8c9ff;
  text-underline-offset: 4px;
}
.brand {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.13em;
  font-size: 16px;
}
.brand span {
  display: block;
  font-size: 11px;
  color: #ffdd67;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
main {
  padding-top: 64px;
  min-height: 70vh;
}
h1 {
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 12px 0 28px;
}
h2 {
  line-height: 1.2;
}
p {
  max-width: 650px;
  font-size: 18px;
  color: #c3d0e6;
}
em {
  font-style: normal;
  color: #ffdd67;
}
.eyebrow {
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 750;
  color: #ffdd67;
}
.panel {
  padding: 28px;
  border: 1px solid #31527d;
  border-radius: 14px;
  background: #102447;
  margin: 36px 0;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #518cff;
  border-radius: 8px;
  background: #205acb;
  color: white;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.quiet {
  background: transparent;
  border-color: #476382;
}
button:hover,
.button:hover {
  background: #326bd9;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ffdd67;
  outline-offset: 4px;
}
.monogram {
  width: 112px;
  height: 112px;
  object-fit: contain;
}
ul {
  list-style: none;
  padding: 0;
}
.person {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #274366;
  padding: 20px 0;
}
.person span,
.person small {
  display: block;
  overflow-wrap: anywhere;
}
.person small {
  color: #ffdd67;
}
.person form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
input {
  font: inherit;
  padding: 12px;
  border: 1px solid #476382;
  border-radius: 8px;
  background: #102447;
  color: white;
  width: min(100%, 450px);
  min-height: 48px;
}
label {
  display: block;
  margin-bottom: 8px;
}
footer {
  color: #91a5c5;
  font-size: 13px;
}
footer span {
  color: #ffdd67;
  margin: 0 8px;
}
.subtle {
  font-size: 14px;
  color: #91a5c5;
}
@media (max-width: 600px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  main {
    padding-top: 36px;
  }
  .person {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel {
    padding: 20px;
  }
  nav {
    gap: 14px;
  }
}
.auth-form {
  display: grid;
  gap: 14px;
  max-width: 460px;
  margin: 24px 0;
}
.auth-form input {
  width: 100%;
}
.auth-form label {
  margin: 0;
}
.auth-form details {
  border: 1px solid #476382;
  padding: 16px;
  border-radius: 8px;
}
.auth-form summary {
  cursor: pointer;
  min-height: 32px;
}
.auth-form details label {
  margin: 14px 0 6px;
}

.password-signin {
  max-width: 460px;
  margin: 20px 0;
}
.password-signin > summary {
  cursor: pointer;
  padding: 12px 0;
}
.password-signin .auth-form {
  margin-top: 12px;
}

.sync-issues {
  overflow-wrap: anywhere;
}

.information {
  max-width: 720px;
  overflow-wrap: anywhere;
}
.information h2 {
  margin-top: 36px;
}

.music-search {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0;
}
.music-search > div {
  flex: 1 1 230px;
}
.music-search input,
.music-search select {
  width: 100%;
}
select {
  font: inherit;
  padding: 12px;
  min-height: 48px;
  border: 1px solid #476382;
  border-radius: 8px;
  background: #102447;
  color: white;
  max-width: 100%;
}
select:focus-visible {
  outline: 3px solid #ffdd67;
  outline-offset: 4px;
}
.music-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid #274366;
}
.music-file > div:first-child {
  flex: 1 1 320px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.music-file h2 {
  font-size: 20px;
  margin: 0;
}
.music-file p {
  margin: 8px 0 0;
}
.music-actions,
.music-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.music-pagination {
  margin-top: 28px;
}
.music-access {
  max-width: 650px;
}
.music-access fieldset {
  border: 1px solid #476382;
  border-radius: 8px;
  margin: 24px 0;
  padding: 20px;
}
.music-access label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.music-access input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  accent-color: #ffdd67;
}

.music-access textarea {
  width: 100%;
  font: inherit;
  padding: 12px;
  color: inherit;
  background: #102447;
  border: 1px solid #476382;
  border-radius: 8px;
}
.music-access + form {
  margin-top: 1rem;
}

/* Approved compact roster: consistent type, readable text and touch controls. */
@font-face {
  font-family: "DM Sans";
  src: url("/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: "DM Sans", system-ui, sans-serif;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 18px;
}
.brand img {
  width: 48px;
  height: 48px;
}
.brand span {
  color: #edf3ff;
  font-size: inherit;
}
.brand small {
  display: block;
  color: #ffdd67;
  font-size: 13px;
  font-weight: 500;
}
h1 {
  font-weight: 600;
}
.member-admin,
.member-editor {
  max-width: 900px;
  margin: auto;
}
main:has(.member-admin),
main:has(.member-editor) {
  padding-top: 28px;
}
.member-admin h1,
.member-editor h1 {
  font-size: 28px;
  letter-spacing: -0.025em;
  margin: 4px 0 12px;
}
.member-admin p,
.member-editor p {
  font-size: 16px;
}
.member-admin .subtle,
.member-editor .subtle {
  font-size: 14px;
}
.roster-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.roster-heading .eyebrow {
  font-size: 11px;
  margin: 0;
}
.roster-heading .button {
  background: #ffdd67;
  border-color: #ffdd67;
  color: #071329;
}
.roster-search {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.roster-search > div:first-child {
  flex: 1 1 220px;
}
.roster-search input {
  width: 100%;
}
.roster-search label {
  font-size: 14px;
  margin-bottom: 4px;
}
.roster-head,
.person.roster-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 52px 244px 100px;
  gap: 10px;
  padding: 10px 12px;
  align-items: center;
}
.roster-head {
  font-size: 12px;
  color: #91a5c5;
  border-bottom: 1px solid #274366;
}
.roster {
  margin: 0;
}
.roster-row .identity {
  min-width: 0;
}
.roster-row .identity strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.roster-row .identity span {
  font-size: 13px;
  line-height: 1.4;
  margin-top: 3px;
  color: #a3b4ce;
}
.roster-row .identity small {
  font-size: 12px;
}
.icon-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 5px;
  color: #a3b4ce;
  text-decoration: none;
  cursor: pointer;
}
.icon-control svg {
  width: 22px;
  height: 22px;
  display: block;
}
.icon-control:hover {
  background: #203656;
}
.role-icon {
  border: 1px solid #8f824e;
  color: #ffdd67;
  background: #273b4b;
}
.role-icon.is-pending {
  color: #a3b4ce;
  background: transparent;
  border-color: #476382;
}
.section-icons {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}
.section-icon {
  color: #6f91bd;
}
.section-icon.enabled {
  color: #ffdd67;
}
.section-icon.all-parts {
  border-left: 1px solid #476382;
  border-radius: 0;
  margin-left: 4px;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.roster-row .row-actions form {
  display: flex;
  gap: 4px;
}
.small-button {
  min-height: 36px;
  padding: 4px 8px;
  font-size: 13px;
}
.decline-link {
  font-size: 13px;
}
.row-menu {
  position: relative;
}
.row-menu summary {
  list-style: none;
}
.row-menu summary::-webkit-details-marker {
  display: none;
}
.row-menu > div {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 2;
  min-width: 160px;
  padding: 12px;
  border: 1px solid #476382;
  background: #102447;
  border-radius: 8px;
}
.row-menu a {
  display: block;
  font-size: 14px;
  padding: 8px 0;
}
.roster-row.is-dormant {
  filter: grayscale(1);
  background: #0c192c;
}
.roster-row.is-dormant .identity,
.roster-row.is-dormant .identity span,
.roster-row.is-dormant .identity small,
.roster-row.is-dormant .icon-control {
  color: #97a3b5;
}
.empty-roster {
  padding: 24px 12px;
}
.roster-invitations {
  border-top: 1px solid #274366;
  margin-top: 24px;
  padding-top: 12px;
}
.roster-invitations h2 {
  font-size: 20px;
}
.roster-invitations .person {
  padding: 12px 0;
}
.roster-invitations .person strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.roster-invitations .person small {
  font-size: 13px;
}
.member-editor {
  max-width: 650px;
}
.name-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid #274366;
}
.name-form label {
  flex-basis: 100%;
  margin: 0;
}
.name-form input {
  flex: 1 1 210px;
}
.music-access .access-mode {
  display: flex;
  gap: 20px;
}
.music-access input[type="radio"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  accent-color: #ffdd67;
}
.grant-editor:has([value="member"]:checked) .dep-fields,
.grant-editor:has([value="dep"]:checked) .member-fields {
  display: none;
}
.music-access .member-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.music-access .member-fields .all-parts-choice,
.music-access .member-fields p {
  grid-column: 1/-1;
}
.music-access .all-parts-choice {
  border-top: 1px solid #476382;
  padding-top: 16px;
}
.music-access .dep-fields select,
.music-access .dep-fields input {
  width: 100%;
}
summary:focus-visible {
  outline: 3px solid #ffdd67;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  header,
  main,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .roster-head {
    display: none;
  }
  .person.roster-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 12px 8px;
  }
  .roster-row .identity {
    grid-column: 1/-1;
  }
  .roster-row .role-icon {
    grid-column: 1;
    grid-row: 2;
  }
  .roster-row .row-actions {
    grid-column: 2;
    grid-row: 2;
    justify-content: end;
  }
  .roster-row .section-icons {
    grid-column: 1/-1;
    grid-row: 3;
    gap: 2px;
  }
  .icon-control {
    width: 44px;
    height: 44px;
  }
  .small-button,
  .decline-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .section-icon.all-parts {
    margin-left: 0;
  }
  .roster-search > div {
    flex: 1 1 180px;
  }
  .roster-search select {
    width: 100%;
  }
  .roster-heading h1 {
    font-size: 25px;
  }
  .music-access fieldset {
    padding: 14px;
  }
}
@media (pointer: coarse) {
  .icon-control {
    min-width: 44px;
    min-height: 44px;
  }
  .section-icons {
    flex-wrap: wrap;
  }
}

.music-pagination:empty {
  display: none;
}

/* Gig planning and printable books share the member application's type and palette. */
[hidden] {
  display: none !important;
}
.gig-page {
  max-width: 900px;
  margin: auto;
}
main:has(.gig-page) {
  padding-top: 28px;
}
.gig-page h1 {
  font-size: clamp(26px, 5vw, 38px);
  margin: 8px 0 20px;
  overflow-wrap: anywhere;
}
.gig-page h2 {
  font-size: 23px;
}
.gig-page p {
  font-size: 16px;
}
.gig-page .eyebrow {
  font-size: 12px;
}
.gig-page .subtle {
  font-size: 14px;
}
.gig-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #274366;
}
.gig-card h3 {
  font-size: 21px;
  margin: 0;
}
.gig-card p {
  margin: 6px 0;
}
.gig-details {
  display: grid;
  gap: 10px;
  max-width: 550px;
  margin: 20px 0;
}
.gig-details input {
  width: 100%;
}
.gig-details label {
  margin: 4px 0 0;
}
.gig-details button {
  justify-self: start;
}
.gig-metadata,
.past-gigs {
  padding: 16px 0;
  border-bottom: 1px solid #274366;
}
.gig-metadata summary,
.past-gigs summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.set-heading {
  margin-top: 22px;
  border-bottom: 1px solid #476382;
  color: #ffdd67;
}
.set-heading h2,
.set-heading h3 {
  margin: 10px 0;
}
.set-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #274366;
}
.set-entry > div:first-child {
  min-width: 0;
}
.set-entry strong,
.published-set strong,
.book-charts strong {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.set-entry span,
.published-set span,
.book-charts span {
  display: block;
  font-size: 14px;
  color: #a3b4ce;
}
.entry-controls,
.entry-controls form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.entry-controls {
  flex-shrink: 0;
}
.entry-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 12px;
}
.entry-controls summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.entry-controls details[open] {
  flex-basis: 100%;
}
.entry-controls label {
  margin: 0;
}
.publish-controls,
.add-controls,
.book-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.publish-controls {
  margin: 24px 0 12px;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
#find-charts {
  border-top: 1px solid #476382;
  margin-top: 32px;
  padding-top: 16px;
}
.chart-picker li {
  border-bottom: 1px solid #274366;
}
.chart-picker label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  cursor: pointer;
}
.chart-picker input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  accent-color: #ffdd67;
}
.chart-picker small {
  display: block;
  color: #a3b4ce;
  font-size: 14px;
}
.chart-picker strong {
  font-weight: 500;
}
.add-controls {
  position: sticky;
  bottom: 0;
  background: #102447;
  padding: 12px;
  border-radius: 8px;
}
.published-set li:not(.set-heading) {
  padding: 12px 0;
  border-bottom: 1px solid #274366;
}
.book-options {
  align-items: end;
  margin: 24px 0;
}
.book-options > div {
  flex: 1 1 180px;
}
.book-options select {
  width: 100%;
}
.book-charts {
  padding-left: 24px;
}
.book-charts li {
  padding: 16px 0;
  border-bottom: 1px solid #274366;
}
.book-charts label {
  margin-top: 12px;
}
.book-charts select {
  width: 100%;
}
.book-issue {
  color: #ffdd67;
  margin: 8px 0 0;
}
.book-generate {
  margin-top: 24px;
  padding: 20px;
  background: #102447;
  border: 1px solid #476382;
  border-radius: 8px;
}
.book-generate p {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .set-entry {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .entry-controls {
    width: 100%;
    justify-content: space-between;
  }
  .entry-controls details[open] form {
    padding: 8px 0;
  }
  .gig-page .roster-heading {
    align-items: flex-start;
  }
  .gig-page input,
  .gig-page select {
    font-size: 16px;
  }
  .add-controls {
    position: static;
  }
}

/* Gig logistics use the same readable form controls on mobile and desktop. */
.gig-details textarea,
.feedback-page textarea {
  width: 100%;
  resize: vertical;
  min-height: 6rem;
  font: inherit;
  padding: 12px;
  color: inherit;
  background: #102447;
  border: 1px solid #476382;
  border-radius: 8px;
}
.gig-details textarea:focus-visible,
.feedback-page textarea:focus-visible {
  outline: 3px solid #ffdd67;
  outline-offset: 4px;
}
.gig-details input,
.gig-details textarea,
.feedback-page textarea {
  box-sizing: border-box;
  min-width: 0;
}
.gig-details .subtle {
  margin: 0.35rem 0 0.8rem;
}
.gig-timing {
  border: 0;
  padding: 0;
  margin: 1rem 0;
  min-width: 0;
}
.gig-timing legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.gig-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: 1rem;
}
.gig-field-grid > div {
  min-width: 0;
}
.gig-logistics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem 1.5rem;
  margin: 1.2rem 0;
}
.gig-logistics > div {
  min-width: 0;
}
.gig-logistics dt {
  font-weight: 600;
  color: #a8c9ff;
}
.gig-logistics dd {
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
}
.gig-logistics a {
  display: block;
}
.gig-directions {
  white-space: pre-wrap;
}

.set-entry-main {
  display: flex;
  align-items: center;
  gap: 10px;
}
.set-entry-main > div {
  min-width: 0;
}
.drag-handle {
  touch-action: none;
  cursor: grab;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  flex-shrink: 0;
  font-size: 24px;
}
.drag-handle:active {
  cursor: grabbing;
}
.set-entry.is-dragging {
  opacity: 0.45;
}
.drop-before {
  box-shadow: inset 0 3px #ffdd67;
}
.drop-after {
  box-shadow: inset 0 -3px #ffdd67;
}
.set-empty {
  padding: 14px 0;
  color: #a3b4ce;
  min-height: 48px;
}
.drag-preview {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  max-width: min(300px, calc(100vw - 32px));
  padding: 10px 14px;
  background: #ffdd67;
  color: #071329;
  border-radius: 8px;
  box-shadow: 0 4px 15px #0008;
  overflow-wrap: anywhere;
}

/* Announce the target without moving rows underneath the pointer. */
#drag-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.feedback-page {
  max-width: 760px;
  margin: 0 auto;
}
.feedback-list {
  list-style: none;
  padding: 0;
}
.feedback-list > li {
  padding: 20px 0;
  border-top: 1px solid #476382;
  overflow-wrap: anywhere;
}
.feedback-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.feedback-heading span {
  color: #a3b4ce;
}
.feedback-message {
  white-space: pre-wrap;
}
.feedback-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}
.feedback-filters a {
  padding: 12px 0;
}
.feedback-filters [aria-current] {
  color: #ffdd67;
  text-decoration-thickness: 3px;
}

.feedback-page > form {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}
.feedback-page > form label {
  margin: 0;
}
.feedback-page > form input,
.feedback-page > form select {
  width: 100%;
  box-sizing: border-box;
}
.feedback-page textarea {
  min-height: 14rem;
  box-sizing: border-box;
}
.feedback-page > form button {
  justify-self: start;
}

.home-events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.home-events .panel {
  margin: 20px 0;
}
.home-events h3 {
  font-size: 1.3rem;
}
.profile-page {
  max-width: 760px;
  margin: 0 auto;
}
.profile-heading {
  display: flex;
  align-items: center;
  gap: 24px;
}
.profile-heading h1 {
  margin-bottom: 0;
}
.profile-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #102447;
  color: #ffdd67;
  border: 1px solid #476382;
}
.profile-avatar svg {
  width: 52px;
  height: 52px;
}
.profile-signout {
  margin: 24px 0;
}
.rehearsal-history {
  list-style: none;
  padding: 0;
}
.rehearsal-history li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #274366;
  gap: 16px;
}
.rehearsal-history span {
  display: block;
  color: #a3b4ce;
  font-size: 14px;
}
@media (max-width: 600px) {
  .home-events {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .profile-heading {
    gap: 16px;
  }
  .profile-avatar {
    width: 64px;
    height: 64px;
  }
  .profile-avatar svg {
    width: 40px;
    height: 40px;
  }
}

/* Rehearsal controls keep recording prominent during practice. */
.rehearsal-cancelled {
  opacity: 0.72;
}
.rehearsal-cancellation {
  border-left: 4px solid var(--yellow, #ffd45b);
  padding: 0.6rem 1rem;
  margin-block: 1rem;
}
.rehearsal-entry-actions {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.rehearsal-entry-actions form {
  margin: 0;
}
.rehearsal-page #chart-results .chart-picker li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rehearsal-page .chart-picker li label {
  flex: 1;
  min-width: 0;
}
.rehearsal-page #chart-results button {
  flex-shrink: 0;
}
.rehearsal-page > details {
  margin-block: 1.2rem;
}
#rehearsal-status:empty {
  display: none;
}
#rehearsal-status {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: calc(100% - 2rem);
  pointer-events: none;
  z-index: 2;
  background: #102b43;
  color: #ffda65;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
}
@media (max-width: 480px) {
  .rehearsal-page .chart-picker li {
    flex-wrap: wrap;
  }
  .rehearsal-page .chart-picker li label {
    flex-basis: 100%;
  }
}

.coverage-summary {
  border: 1px solid #365571;
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  margin-block: 1rem;
}
.chart-coverage {
  margin-top: 0.6rem;
  max-width: 42rem;
}
.chart-coverage p {
  margin-block: 0.4rem;
}
.part-check {
  padding: 0;
  list-style: none;
}
.part-check li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #29425e;
  padding: 0.35rem 0;
}
.part-check li strong {
  font-weight: 500;
}
.part-check li span {
  text-align: right;
}
.part-assignment {
  display: grid;
  gap: 0.6rem;
}
.part-assignment select {
  width: 100%;
  max-width: 100%;
}
.set-entry-main,
.set-entry-main > div {
  min-width: 0;
}
.picker-coverage {
  color: #ffda65;
}

.score-app-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
#chart-sharing {
  color: #eaf0f7;
  background: #102b43;
  border: 1px solid #426586;
  border-radius: 0.6rem;
  max-width: min(32rem, calc(100vw - 2rem));
  padding: 1.2rem;
}
#chart-sharing::backdrop {
  background: #0009;
}
#chart-sharing .music-actions {
  flex-wrap: wrap;
}
.chart-feedback-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}
#chart-page {
  max-width: 10rem;
}
.set-entry-main {
  align-items: flex-start;
}

/* One page frame and type scale for every signed-in member/admin screen. */
.member-main {
  padding-top: 28px;
}
.member-main .page-content {
  max-width: 900px;
  margin-inline: auto;
}
.member-main
  :is(.gig-page, .feedback-page, .profile-page, .member-admin, .member-editor) {
  max-width: none;
  margin: 0;
}
.member-main h1 {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 8px 0 20px;
  overflow-wrap: anywhere;
}
.member-main h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}
.member-main p {
  font-size: 16px;
}
.member-main .subtle {
  font-size: 14px;
}
.member-main .eyebrow {
  font-size: 12px;
}
.member-main .music-file h2 {
  font-size: 21px;
  font-weight: 500;
}
.member-main .room-saying,
.member-main .page-accent,
.admin-nav-link {
  color: #ffdd67;
}
.past-gigs > summary {
  display: list-item;
  padding-block: 8px;
}
.past-gigs > summary h2 {
  display: inline;
  margin: 0;
}
.feedback-page > form {
  max-width: 760px;
}
.profile-heading {
  margin-block: 20px;
}
.admin-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.admin-links > a {
  display: block;
  padding: 24px;
  text-decoration: none;
  border: 1px solid #31527d;
  border-radius: 12px;
  background: #102447;
}
.admin-links h2 {
  margin: 0 0 8px;
}
.admin-links p {
  margin: 0;
}
.admin-links > a:hover {
  border-color: #ffdd67;
}
@media (max-width: 600px) {
  .admin-links {
    grid-template-columns: 1fr;
  }
}

.preview-banner {
  padding: 8px 16px;
  text-align: center;
  color: #071329;
  background: #ffdd67;
  font-weight: 600;
}
