/* ============================================================
   FORGE TEENS LYRICS APP — Brand-Aligned Stylesheet
   Colors: Orange #F26A44 | Black #0D0D0D | Cream #F5F5EF | White #FFFFFF
   Fonts: Antonio (headlines) + League Spartan (UI/body)
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@400;700&family=League+Spartan:wght@300;400;600;700&display=swap');

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:      #F26A44;
  --orange-dark: #d95835;
  --orange-glow: rgba(242, 106, 68, 0.25);
  --black:       #0D0D0D;
  --surface:     #161616;
  --surface2:    #1e1e1e;
  --border:      rgba(255, 255, 255, 0.08);
  --cream:       #F5F5EF;
  --white:       #FFFFFF;
  --text:        #f0f0ea;
  --muted:       #888880;
  --danger:      #ef4444;
  --success:     #22c55e;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'League Spartan', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Brand Wordmark ─────────────────────────────────────── */
.ft-wordmark {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.18em;
}
.ft-wordmark .w1 { color: var(--white); }
.ft-wordmark .w2 { color: var(--orange); }
.ft-wordmark-sm  { font-size: 1.1rem; }
.ft-wordmark-md  { font-size: 1.5rem; }
.ft-wordmark-lg  { font-size: 2.2rem; }

/* ── Typography ─────────────────────────────────────────── */
.headline {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}
.label-tag {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.mobile-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem 1rem 5rem;
}

/* ── Cards / Surfaces ───────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.card-sm { padding: 1rem 1.25rem; }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar-divider {
  width: 1px;
  height: 1rem;
  background: var(--border);
}
.navbar-sub {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ── Form elements ──────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
textarea,
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}
textarea:focus,
input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange-glow);
}
textarea::placeholder,
input::placeholder { color: var(--muted); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.625rem 1.25rem;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 3px 12px var(--orange-glow);
}
.btn-primary:hover:not(:disabled) {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px var(--orange-glow);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.12); }

.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
}
.btn-danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.1);
}

/* ── Admin Grid ─────────────────────────────────────────── */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
}

/* ── Login Screen ───────────────────────────────────────── */
#login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--black);
  /* Subtle topographic texture */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(242, 106, 68, 0.02) 40px,
      rgba(242, 106, 68, 0.02) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(242, 106, 68, 0.02) 40px,
      rgba(242, 106, 68, 0.02) 41px
    );
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}
.login-card .login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}
.login-accent-bar {
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 1rem auto 1.5rem;
}
.login-error {
  color: #f87171;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.75rem;
}

/* ── Song Sections Editor ───────────────────────────────── */
#sections-container { min-height: 60px; }

.song-section {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem;
  margin-bottom: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: border-color 0.15s;
}
.song-section:hover { border-color: rgba(255,255,255,0.14); }

.section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.drag-icon {
  color: var(--muted);
  cursor: grab;
  font-size: 1.1rem;
  padding: 0 0.2rem;
  user-select: none;
  flex-shrink: 0;
}
.drag-icon:active { cursor: grabbing; }

.section-label {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--orange);
  background: rgba(242, 106, 68, 0.1);
  border: 1px solid rgba(242, 106, 68, 0.25);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  width: 130px;
}
.section-label:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange-glow);
}

.section-actions {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
  flex-shrink: 0;
}
.section-content-edit {
  min-height: 72px;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.25);
}

/* ── Lineup Songs ───────────────────────────────────────── */
#lineup-container { min-height: 60px; }

.lineup-song {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-bottom: 0.625rem;
  transition: border-color 0.15s;
}
.lineup-song:hover { border-color: rgba(255,255,255,0.14); }

.lineup-song-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.lineup-drag-handle {
  color: var(--muted);
  cursor: grab;
  font-size: 1.1rem;
  user-select: none;
  flex-shrink: 0;
}
.lineup-drag-handle:active { cursor: grabbing; }
.lineup-song-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lineup-song-meta {
  font-size: 0.72rem;
  color: var(--orange);
  margin-top: 0.1rem;
  letter-spacing: 0.05em;
}
.lineup-song-actions {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
.lineup-count-badge {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Publish / Status ───────────────────────────────────── */
.btn-publish {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-family: 'Antonio', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.18s;
  box-shadow: 0 3px 16px var(--orange-glow);
}
.btn-publish:hover:not(:disabled) {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--orange-glow);
}
.btn-publish:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.status-banner {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.875rem;
  display: none;
}
.status-success {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
  display: block;
}
.status-error {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: block;
}

/* ── Empty Hint ─────────────────────────────────────────── */
.empty-hint {
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 8px;
  line-height: 1.6;
}

/* ── Drag ghost ─────────────────────────────────────────── */
.sortable-ghost { opacity: 0.3; }

/* ── Panel Tabs ─────────────────────────────────────────── */
.panel-tabs {
  display: flex;
  gap: 0.2rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.2rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}
.tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.5rem;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.tab-btn.active {
  background: var(--surface2);
  color: var(--text);
}
.tab-btn:hover:not(.active) { color: var(--text); }
.tab-badge {
  font-size: 0.65rem;
  background: rgba(242, 106, 68, 0.18);
  color: var(--orange);
  padding: 0.08rem 0.45rem;
  border-radius: 99px;
  font-weight: 800;
  min-width: 1.3em;
  text-align: center;
}

/* ── Library Song Cards ─────────────────────────────────── */
#library-container { min-height: 60px; }

.library-song {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-bottom: 0.625rem;
  transition: border-color 0.15s;
}
.library-song:hover { border-color: rgba(255, 255, 255, 0.14); }

.library-song-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.library-song-info {
  flex: 1;
  min-width: 0;
}
.library-song-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--white);
}
.library-song-sections {
  font-size: 0.68rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.library-song-meta {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.library-song-actions {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0.1rem;
}

/* ── Student: Song Cards ────────────────────────────────── */
.student-header {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}
.student-week-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.25rem;
}
.student-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  font-weight: 600;
}

.lyric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  animation: fadeUp 0.4s ease-out both;
}
.lyric-card:nth-child(1) { animation-delay: 0.05s; }
.lyric-card:nth-child(2) { animation-delay: 0.1s; }
.lyric-card:nth-child(3) { animation-delay: 0.15s; }
.lyric-card:nth-child(4) { animation-delay: 0.2s; }

.lyric-card-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1rem 1.25rem 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--white);
}

.lyric-section {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lyric-section:last-child { border-bottom: none; }

.lyric-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.lyric-lines {
  font-size: 1.1rem;
  line-height: 1.85;
  white-space: pre-wrap;
  color: var(--text);
  font-weight: 300;
}

.offline-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.student-empty {
  text-align: center;
  color: var(--muted);
  margin-top: 4rem;
  font-size: 0.9rem;
  line-height: 1.7;
}
.student-empty strong {
  display: block;
  font-family: 'Antonio', sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

/* ── Footer tag ─────────────────────────────────────────── */
.student-footer {
  text-align: center;
  margin-top: 3rem;
  padding-bottom: 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.12);
  font-weight: 700;
}

/* ── Utilities ──────────────────────────────────────────── */
.mt-1  { margin-top: 0.625rem; }
.mt-2  { margin-top: 1.25rem; }
.mb-1  { margin-bottom: 0.625rem; }
.mb-2  { margin-bottom: 1.25rem; }
.flex  { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
[hidden] { display: none !important; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FORGE TEENS MUSIC — Shared Components
   (music.html, team.html, and the admin.html library attachments)
============================================================ */

/* ── Page Nav Tabs (Lyrics / Music / Team) ─────────────────── */
.app-nav-links {
  display: flex;
  gap: 0.4rem;
}
.app-nav-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s;
}
.app-nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.app-nav-link.active { color: var(--orange); background: rgba(242,106,68,0.1); }

/* ── Sheet / Tabs Segmented Toggle ──────────────────────────── */
.sheet-toggle {
  display: inline-flex;
  gap: 0.15rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.15rem;
  border-radius: 7px;
}
.sheet-toggle-btn {
  padding: 0.32rem 0.7rem;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
}
.sheet-toggle-btn.active { background: var(--surface2); color: var(--orange); }
.sheet-toggle-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.sheet-toggle-btn:hover:not(.active):not(:disabled) { color: var(--text); }

/* ── PDF Actions Row ────────────────────────────────────────── */
.pdf-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.pdf-missing {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: italic;
  margin-top: 0.5rem;
}
.pdf-attach-row {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.pdf-attach-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.15rem;
}
.pdf-attach-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
}
.pdf-file-input { display: none; }
.pdf-attach-btn {
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
}

/* ── Music Song Card (Library / This Week) ─────────────────── */
.music-song-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-bottom: 0.625rem;
  transition: border-color 0.15s;
}
.music-song-card:hover { border-color: rgba(255,255,255,0.14); }
.music-song-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.music-song-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* ── This Week banner ───────────────────────────────────────── */
.this-week-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.this-week-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(242,106,68,0.1);
  border: 1px solid rgba(242,106,68,0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
}

/* ── Schedule Slot Cards ────────────────────────────────────── */
.week-group { margin-bottom: 1.5rem; }
.week-group-label {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.slot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.5rem;
}
.slot-card.slot-open {
  border-color: rgba(242,106,68,0.35);
  background: rgba(242,106,68,0.05);
}
.slot-card.slot-mine {
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.05);
}
.slot-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.slot-open .slot-status { color: var(--orange); }
.slot-mine .slot-status { color: #4ade80; }
.slot-filled .slot-status { color: var(--muted); }
.slot-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.slot-actions { flex-shrink: 0; }

/* ── Empty / worker list rows (team.html) ───────────────────── */
.worker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.5rem;
}
.worker-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.worker-email {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* ── Library card: read-only music status (admin.html) ─────── */
.library-song-music {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.library-song-music.has-music { color: var(--orange); }
.library-song-music.no-music  { color: var(--muted); font-weight: 600; }
.library-song-music-link {
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s;
}
.library-song-music-link:hover { text-decoration-color: currentColor; }

/* ── admin.html: Next Wednesday glance card ─────────────────── */
.week-glance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.week-glance-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.week-glance-body {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}
.week-glance-names { color: var(--text); }
.week-glance-open {
  color: var(--orange);
  font-weight: 700;
}
.week-glance-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
}

.pdf-attach-busy {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border-color: var(--border);
}

/* ── This Week: songs missing music ─────────────────────────── */
.this-week-missing {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px dashed rgba(255,255,255,0.1);
  line-height: 1.6;
}
.this-week-missing strong { color: var(--text); font-weight: 700; }

/* ── PDF Preview Modal ──────────────────────────────────────── */
.pdf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 1000;
}
.pdf-modal {
  width: 100%;
  max-width: 780px;
  height: min(88vh, 900px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1.1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.pdf-modal-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
}
.pdf-modal-kind {
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 0.5rem;
}
.pdf-modal-body {
  flex: 1;
  min-height: 0;
  background: #2a2a2a;
}
.pdf-modal-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
