/* The Artist Area, Tapetown artist area (2026-11-11, Gustav's approved design): a dark charcoal and green
   ground with a soft glow taken from the band's cover, Instrument Sans, muted sage for what is chosen, the
   menu opening from the left, the songs as one list, and the real player at the bottom with the choice of
   approving the newest mix or making revision notes. Prototype route: /design/artist-area. */
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url(/design/fonts/instrument-sans-400.ttf) format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url(/design/fonts/instrument-sans-500.ttf) format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url(/design/fonts/instrument-sans-600.ttf) format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-display: swap; src: url(/design/fonts/instrument-sans-700.ttf) format("truetype"); }

:root {
  --glow: 165, 76, 32;
  --page-top: #34281c;
  --bg: #111613; --bg-2: #1b201b; --panel: #1b221c; --panel-2: #202820; --raise: rgba(206, 220, 190, .045);
  --text: #eeeee5; --muted: #acb4a9; --soft: #c7cfbf; --line: rgba(224, 231, 215, .11); --line-2: rgba(180, 197, 166, .2);
  --sage: #c4d1b4; --sage-ink: #233020; --cream: #e6e7da; --cream-ink: #243026;
  --bad: #f1a090; --bad-bg: rgba(200, 80, 60, .16);
  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --player-h: 0px;
  --page-backdrop: radial-gradient(ellipse 90% 560px at 24% 0%, rgba(var(--glow), .24), transparent 100%), linear-gradient(180deg, var(--bg-2), var(--bg) 640px);
  --page-surface: var(--page-backdrop);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100dvh; color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5;
  isolation: isolate;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--page-surface), var(--bg);
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; opacity: .45; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 400; background: var(--cream); color: var(--cream-ink); padding: 10px 14px; border-radius: 5px; }
.skip-link:focus { top: 12px; }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.grow { flex: 1; min-width: 0; }

/* ---- the top: menu on the left, the name in the middle, the symbol on the right ---- */
.topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 14px max(20px, env(safe-area-inset-left));
}
/* Hide scrolling content under the header using the same gradient as the page. */
body.is-scrolled .topbar { background: var(--page-surface), var(--bg); }
.menu-button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(182, 192, 175, .16); border-radius: 5px; color: #d8dfd1; font-size: 13px; }
.menu-button:hover { background: var(--raise); }
.top-center { position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; max-width: 62%; color: #b3bbaa; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.top-artist { overflow: hidden; max-width: 100%; text-overflow: ellipsis; letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--text); }
.top-artist:empty { display: none; }
.brand { display: flex; align-items: center; width: 66px; height: 44px; margin-inline-start: auto; }
.brand img { display: block; width: 66px; height: auto; }

/* ---- the menu: a drawer from the left ---- */
.backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(8, 5, 4, .45); border: 0; }
.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 70; width: 338px; max-width: 100%; display: flex; flex-direction: column;
  background: var(--panel); border-right: 1px solid rgba(202, 213, 190, .13); box-shadow: 25px 0 80px rgba(0, 0, 0, .2);
  padding: calc(22px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto;
  animation: drawer-in .22s var(--ease-out);
}
@keyframes drawer-in { from { transform: translateX(-35px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.drawer-head h2 { font-size: 18px; font-weight: 500; letter-spacing: -.4px; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 4px; color: #bfccb5; font-size: 14px; text-align: left; }
.nav-button:hover, .nav-button.active { background: rgba(206, 220, 190, .06); color: #f0f3e8; }
.nav-button.active { box-shadow: inset 0 0 0 1px var(--line-2); }
.drawer-bottom { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.profile { display: flex; align-items: center; gap: 11px; }
.profile .name { display: block; font-weight: 500; }
.profile .role { display: block; font-size: 12px; color: var(--muted); }
.avatar { width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(196, 209, 180, .14); color: var(--sage); font-size: 12px; font-weight: 600; }
.sign-in { display: flex; flex-direction: column; gap: 10px; }
.sign-in p { font-size: 13px; color: var(--muted); }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--soft); flex: none; }
.icon-button:hover { background: rgba(255, 255, 255, .07); }

/* ---- the page ---- */
.main { max-width: 860px; margin: 0 auto; padding: 22px max(22px, env(safe-area-inset-left)) calc(40px + var(--player-h)); }
.main:focus { outline: none; }
.view { display: flex; flex-direction: column; gap: 22px; }
.notice-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 6px; background: rgba(196, 209, 180, .07); border: 1px solid var(--line); font-size: 13px; color: var(--soft); margin-bottom: 18px; }
.notice-box.quiet { color: var(--muted); }
.notice-box.is-error { background: var(--bad-bg); border-color: rgba(241, 160, 144, .3); color: #f6d4cc; }
.notice-box .btn { margin-left: auto; }
.notice-box strong { display: block; color: var(--text); font-weight: 500; margin-bottom: 2px; }

/* ---- the hero: the cover, the band's name, the newest mix ---- */
.hero { display: flex; gap: 38px; align-items: center; padding: 18px 0 34px; }
.cover {
  position: relative; display: block; aspect-ratio: 1; border-radius: 5px; overflow: hidden; flex: none;
  background: radial-gradient(ellipse at 19% 15%, #e7d98f 0%, #b9a75a 24%, transparent 58%), radial-gradient(ellipse at 85% 80%, #a4543a 0%, #7f4a33 31%, transparent 63%), linear-gradient(145deg, #8f8a55, #5d6a4c 60%, #2b3528);
  background-size: cover; background-position: center;
}
.cover.has-art { background-image: var(--art); }
.hero-cover { width: 200px; box-shadow: 0 15px 65px rgba(14, 8, 8, .3); }
.cover-button { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 11px; border-radius: 4px; background: rgba(21, 28, 22, .86); color: var(--text); font-size: 12px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cover-button .icon { width: 15px; height: 15px; }
.cover.is-busy::after { content: ""; position: absolute; inset: 0; background: rgba(17, 22, 19, .55); }
.hero-text { flex: 1; min-width: 0; }
.project-format { margin: 0 0 .45rem; color: var(--muted); font-size: .75rem; letter-spacing: .11em; text-transform: uppercase; }
.archive-status { padding: .7rem 0; color: var(--muted); }
.hero h1 { font-size: clamp(36px, 5.3vw, 54px); line-height: 1.06; letter-spacing: -1.8px; font-weight: 500; overflow-wrap: anywhere; }
#hero-title-edit, #hero-title-input { font: inherit; letter-spacing: inherit; text-align: inherit; overflow-wrap: inherit; }
#hero-title-edit { max-width: 100%; cursor: text; }
#hero-title-input { display: block; border: 0; border-radius: 0; background: transparent; min-height: 1.06em; margin: 0; padding: 0; resize: none; overflow: hidden; }
#hero-title-input:focus-visible { outline: 0; box-shadow: 0 1px var(--line-2); }
.subtitle { margin-top: 14px; color: #aeb6a9; font-size: 14px; }
.hero-actions { margin-top: 24px; display: flex; gap: 15px; align-items: center; flex-wrap: wrap; font-size: 12px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 5px; border: 1px solid var(--line-2); background: rgba(196, 209, 180, .04); color: var(--text); font-size: 13px; font-weight: 500; text-decoration: none; }
.btn:hover:not(:disabled) { background: rgba(196, 209, 180, .1); }
.btn.primary { background: var(--sage); border-color: var(--sage); color: var(--sage-ink); }
.btn.primary:hover:not(:disabled) { background: #d1dcc3; }
.btn.light { background: var(--cream); border-color: var(--cream); color: var(--cream-ink); padding: 11px 22px; }
.btn.light:hover:not(:disabled) { background: #f0f0e6; }
.btn.approve { background: var(--sage); border-color: var(--sage); color: #263321; }
.btn.approve:hover:not(:disabled) { background: #d5dfc8; border-color: #d5dfc8; }
.btn.big { min-height: 48px; padding: 12px 18px; }
.btn .icon { width: 16px; height: 16px; }
.text-link { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; min-height: 32px; padding: 4px 2px; }
.text-link.danger { color: var(--bad); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 11px; border-radius: 4px; border: 1px solid var(--line); background: rgba(196, 209, 180, .03); color: var(--soft); font-size: 12px; text-decoration: none; }
.chip[aria-pressed="true"] { border-color: var(--sage); color: var(--sage); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--soft); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.badge.mint { color: var(--sage); } .badge.mint::before { background: currentColor; }
.badge.purple { color: #d8c9e6; }
.badge.orange { color: #f0c79a; } .badge.orange::before { background: currentColor; }

/* ---- the songs ---- */
.group { display: flex; flex-direction: column; }
.list-head { padding: 0 0 14px; border-bottom: 1px solid var(--line); color: #bbc4b4; font-size: 11px; font-weight: inherit; letter-spacing: 1.5px; text-transform: uppercase; }
.rows { list-style: none; margin: 0; padding: 0; }
.song-row {
  width: 100%; display: grid; grid-template-columns: 22px 42px minmax(0, 1fr) auto; gap: 17px; align-items: center; padding: 16px 12px;
  border-bottom: 1px solid rgba(218, 226, 210, .06); border-radius: 3px; text-align: left; color: var(--text); transition: background .2s;
}
.song-row:hover:not(:disabled) { background: rgba(255, 255, 255, .03); }
.song-row.is-current { background: rgba(189, 205, 182, .05); }
.song-row.is-empty { opacity: .5; cursor: default; }
.song-row .num { color: #899781; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.song-row.is-current .num { color: var(--sage); }
.song-row .mini { width: 42px; border-radius: 3px; }
.song-row .title { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-row .meta { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.song-row .time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.eq i { width: 3px; background: var(--sage); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.empty { padding: 18px 0; color: var(--muted); font-size: 14px; }

/* ---- the player: the real one, at the bottom ---- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: linear-gradient(180deg, var(--panel), #171d19); border-top: 1px solid rgba(198, 212, 188, .14); box-shadow: 0 -12px 40px rgba(13, 18, 13, .2);
  max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain;
}
.player-inner { max-width: 940px; margin: 0 auto; padding: 18px max(24px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
.player-header { display: flex; align-items: center; gap: 22px; justify-content: space-between; }
.now { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.now-cover { width: 48px; }
.now-text { min-width: 0; display: block; }
.now-title { display: block; max-width: 100%; text-align: left; color: var(--text); font-size: 17px; letter-spacing: -.3px; }
.now-title strong { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-meta { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mix-group { display: flex; align-items: center; gap: 12px; }
.mixes { display: flex; flex-wrap: wrap; gap: 5px; }
.mix-button { min-width: 62px; min-height: 40px; padding: 8px 13px; border-radius: 4px; border: 1px solid rgba(180, 197, 166, .14); background: rgba(194, 208, 183, .03); color: #b5c0af; font-size: 13px; }
.mix-button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.mix-button[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--sage-ink); font-weight: 600; }
.player .toggle { border: 1px solid rgba(255, 255, 255, .08); }
.player .toggle .icon { transition: transform .2s; }
.player.is-collapsed .toggle .icon { transform: rotate(180deg); }
.player.is-collapsed .player-detail, .player.is-collapsed .sync, .player.is-collapsed .rev-slot, .player.is-collapsed .player-extras { display: none; }
.player.is-collapsed .player-bottom { margin-top: 12px; }
.player-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.wave-wrap { position: relative; padding-top: 18px; }
.markers { position: absolute; left: 0; right: 0; top: 0; height: 18px; }
.pin { position: absolute; top: 0; transform: translateX(-50%); min-width: 22px; height: 18px; padding: 0 5px; border-radius: 3px; background: rgba(196, 209, 180, .16); color: var(--sage); font-size: 10px; font-weight: 600; }
.pin.is-hot { background: var(--sage); color: var(--sage-ink); }
.wave { position: relative; height: 70px; cursor: pointer; --wave-played: #bfcaa9; --wave-rest: #4f5a4b; }
.wave canvas { display: block; width: 100%; height: 100%; }
.playhead { position: absolute; top: -6px; bottom: -6px; width: 1px; background: #dfe5ce; pointer-events: none; box-shadow: 0 0 10px rgba(191, 202, 169, .35); }
.playhead::before { content: ""; position: absolute; top: 0; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: #dfe5ce; }
.playhead-time { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--sage); font-variant-numeric: tabular-nums; opacity: 0; }
.wave:hover .playhead-time, .wave:focus-visible .playhead-time { opacity: 1; }
.times { display: flex; justify-content: space-between; margin-top: 10px; color: #a5b29b; font-size: 11px; font-variant-numeric: tabular-nums; }
.player-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.controls { display: flex; align-items: center; gap: 9px; }
.step { position: relative; color: var(--soft); }
.step span { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font-size: 9px; font-weight: 600; }
.play { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--cream); color: #263025; }
.play svg { width: 18px; height: 18px; fill: currentColor; }
.play .pause-symbol, .play.on .play-symbol { display: none; }
.play.on .pause-symbol { display: block; }
.sync { color: #a8b49f; font-size: 12px; }
.player-extras { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---- the choice and the revision notes, under the player ---- */
.rev-slot:empty { display: none; }
.decision { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.decision h2 { font-size: 16px; font-weight: 500; letter-spacing: -.2px; }
.decision p { font-size: 12px; color: var(--muted); margin-top: 4px; max-width: 360px; }
.decision-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.revise { background: rgba(196, 209, 180, .03); border: 1px solid rgba(175, 190, 157, .3); color: #e2e7d8; }
.revise[aria-expanded="true"] { background: var(--sage); border-color: var(--sage); color: var(--sage-ink); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sage); color: var(--sage-ink); font-size: 11px; font-weight: 600; }
.result { display: flex; gap: 10px; align-items: center; color: var(--sage); font-size: 14px; }
.result .icon { width: 18px; height: 18px; }
.notes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; }
.notes-grid h2 { font-size: 13px; font-weight: 500; color: #d3deca; }
.notes-grid h2 + p { font-size: 12px; color: var(--muted); margin-top: 3px; }
textarea, input[type="text"], input[type="email"], input[type="tel"], input:not([type]), select, .composer input {
  width: 100%; background: #121811; border: 1px solid #51604a; border-radius: 5px; color: var(--text); padding: 11px 12px; font-size: 14px;
}
textarea { min-height: 96px; resize: vertical; margin-top: 9px; }
textarea::placeholder, input::placeholder { color: #99a68f; }
.save-line { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.composer { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.composer input { flex: 1 1 180px; min-width: 0; }
.changes { list-style: none; margin: 12px 0 0; padding: 0; }
.changes li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.changes li.is-hot { background: rgba(196, 209, 180, .05); }
.time-chip { flex: none; min-height: 28px; padding: 3px 7px; border-radius: 4px; background: rgba(255, 255, 255, .05); color: var(--sage); font-size: 12px; font-variant-numeric: tabular-nums; }
.change-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.change-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.change-actions { display: flex; gap: 6px; align-items: center; }
.changes-empty { margin-top: 12px; font-size: 12px; color: var(--muted); }
.general-read { margin-top: 9px; padding: 12px; border-radius: 5px; background: rgba(255, 255, 255, .03); white-space: pre-wrap; font-size: 13px; }
.rev-foot { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ---- the other pages: invoices, release, artwork, access ---- */
.page-heading { padding: 10px 0 6px; }
.page-heading h1 { font-size: clamp(32px, 4.6vw, 44px); font-weight: 500; letter-spacing: -1.4px; line-height: 1.08; }
.page-heading p { margin-top: 8px; color: var(--muted); }
.panel { background: rgba(32, 40, 32, .55); border: 1px solid var(--line); border-radius: 8px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 17px; font-weight: 500; letter-spacing: -.3px; }
.panel-head p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.panel-body { padding: 18px 20px; }
.panel > .empty { padding: 18px 20px; }
.invoice-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.invoice-row:last-child { border-bottom: 0; }
.invoice-row small { display: block; font-size: 12px; color: var(--muted); }
.invoice-row strong { font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--soft); }
.field.wide { grid-column: 1 / -1; }
.form-foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.bill textarea { margin-top: 0; min-height: 84px; }
.bill.is-locked input, .bill.is-locked textarea { background: rgba(232, 238, 224, .04); border-color: transparent; color: var(--muted); cursor: pointer; resize: none; }
.bill.is-locked input:hover, .bill.is-locked textarea:hover { border-color: var(--line-2); color: var(--soft); }
.bill.is-locked .field { color: var(--muted); }
.bill .form-foot { justify-content: flex-end; gap: 10px; }
.bill.is-editing { box-shadow: 0 0 0 1px var(--line-2); }
.q-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; font-size: 13px; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; }
.chip-check span { display: inline-flex; min-height: 36px; align-items: center; padding: 6px 12px; border-radius: 4px; border: 1px solid var(--line-2); font-size: 13px; color: var(--soft); }
.chip-check input:checked + span { background: var(--sage); border-color: var(--sage); color: var(--sage-ink); }
.chip-check input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.outlet { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.outlet h3 { font-size: 15px; font-weight: 500; }
.outlet .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.outlet .why { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.outlet .actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.outlet .rules { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.outlet .rules strong { color: var(--soft); font-weight: 500; margin-right: 6px; }
.outlet.is-more h3 { color: var(--soft); }
.outlet h3 a { color: inherit; text-decoration: none; }
.outlet h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sent-mark { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 14px; font-weight: 600; color: var(--sage); }
.draft-mark { font-size: 12px; color: var(--muted); }

/* Udgivelse (2026-11-17): a lighter page than the player's. Brighter surfaces and words, firmer lines. */
.rel, #rel-send { --muted: #c2cabd; --soft: #dfe5d8; --line: rgba(228, 235, 219, .2); --line-2: rgba(214, 226, 202, .38); }
.rel { display: flex; flex-direction: column; gap: 18px; }
.rel .panel { background: rgba(232, 238, 224, .1); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset; }
.rel .page-heading p { font-size: 16px; }
.rel input, .rel select, #rel-send textarea, #rel-send input { background: rgba(10, 14, 10, .35); }
.rel-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.rel-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(232, 238, 224, .07); }
.rel-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: none; color: var(--soft); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.rel-tab[aria-selected="true"] { background: var(--cream); color: var(--cream-ink); font-weight: 600; }
.rel-count { display: inline-flex; min-width: 22px; height: 22px; align-items: center; justify-content: center; padding: 0 6px; border-radius: 999px; background: rgba(232, 238, 224, .16); font-size: 12px; font-weight: 600; }
[aria-selected="true"] > .rel-count, [aria-pressed="true"] > .rel-count { background: rgba(36, 48, 38, .16); }
.rel-song { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: var(--muted); }
.rel-song select { min-width: 200px; }
.rel-song strong { color: var(--text); font-size: 15px; font-weight: 600; }
.rel-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; }
.rel-summary p { margin: 0; font-size: 14px; color: var(--soft); }
.rel-more-form { margin: 0 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rel-more-form summary { padding: 0 16px; }
.rel-more-form summary::before { content: "+"; width: 16px; font-size: 18px; line-height: 1; text-align: center; }
.rel-more-form[open] summary::before { content: "\2212"; }
.rel-more-form summary::-webkit-details-marker { display: none; }
.rel-more-form[open] { padding-bottom: 14px; }
.rel-wizard { max-width: 680px; width: 100%; margin: 6px auto 0; padding: 28px 28px 24px; border-color: var(--glass-line, var(--line)); box-shadow: 0 18px 60px rgba(8, 10, 8, .3), 0 1px 0 rgba(255, 255, 255, .05) inset; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.rel-step.is-moving { animation: step-in .34s var(--ease-out) backwards; }
.rel-dots { display: flex; gap: 6px; margin-bottom: 22px; }
.rel-dot { flex: 1; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(232, 238, 224, .16); cursor: pointer; }
.rel-dot { transition: background-color .3s; }
.rel-dot.is-done { background: color-mix(in srgb, var(--sage) 55%, transparent); }
.rel-dot[aria-current="step"] { background: var(--cream); }
.rel-dot:disabled { cursor: default; }
.rel-wizard h2 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 600; letter-spacing: -.6px; line-height: 1.15; outline: none; }
.rel-step-help { margin: 6px 0 20px; font-size: 15px; color: var(--muted); }
.rel-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.rel-pick { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease-out); }
.rel-pick:hover { border-color: var(--sage); }
.rel-pick:active { transform: scale(.97); }
.rel-pick[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--sage-ink); font-weight: 600; }
.rel-pick { transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease-spring, ease), box-shadow .2s; }
.rel-pick:hover { transform: translateY(-1px); }
.rel-pick[aria-pressed="true"] { box-shadow: 0 6px 20px rgba(196, 209, 180, .18); }
.rel-picks.is-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rel-picks.is-big .rel-pick { justify-content: center; min-height: 64px; border-radius: var(--r-m, 16px); font-size: 16px; font-weight: 600; }
.rel-pick .kind-icon { width: 20px; height: 20px; }
#rel-similar { width: 100%; min-height: 52px; font-size: 16px; background: rgba(10, 14, 10, .35); }
.rel-from { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--soft); }
.rel-from select { width: auto; min-width: 180px; }
.rel-from-help { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.rel-wizard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.rel-wizard-foot .btn.primary { min-width: 140px; font-size: 15px; font-weight: 600; }
.rel-wizard-foot .btn:disabled { opacity: .4; cursor: default; }
.rel-howto { max-width: 680px; width: 100%; margin: 4px auto 0; padding: 0 4px; }
.rel-howto h2 { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rel-howto ol { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.rel-howto li { counter-increment: step; display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.rel-howto li strong { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.rel-howto li strong::before { content: counter(step); display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); font-size: 11px; color: var(--soft); }
.rel-hero { display: flex; align-items: center; gap: 22px; padding: 10px 0 4px; }
.rel-cover { width: 96px; border-radius: var(--r-m, 16px); box-shadow: 0 12px 44px rgba(14, 8, 8, .34); }
.rel-hero-text { min-width: 0; }
.rel-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.rel-hero h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 500; letter-spacing: -1.3px; line-height: 1.06; overflow-wrap: anywhere; }
.rel-line { margin: 8px 0 0; font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-body { display: flex; flex-direction: column; gap: 18px; }
.rel-body.is-swapped { animation: body-in .2s ease-out; }
@keyframes body-in { from { opacity: 0; } to { opacity: 1; } }
.rel-song.is-away { visibility: hidden; }
.rel-wait { min-height: 320px; }

/* The list of places (2026-11-29, Gustav: "more overview, the icons do not work, it gets messy"): each kind is one
   panel with its icon and name once in the heading, a place is one calm row of words, and the rest is under the row. */
.rel-overview { display: flex; flex-direction: column; gap: 20px; }
.rel-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 0 24px; min-width: 0; border-bottom: 1px solid var(--line); }
.rel-bar.is-bare { justify-content: flex-end; border-bottom: 0; }
.rel-bar-links { display: flex; flex: none; gap: 0 22px; }
.rel-bar-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; color: var(--soft); font-size: 14px; font-weight: 500; white-space: nowrap; }
.rel-bar-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.rel-bar-link span { font-size: 16px; line-height: 1; color: var(--sage); }
.rel-section { --k: var(--cream); overflow: hidden; }
.rel-section.is-blog { --k: #c4d6ae; }
.rel-section.is-radio { --k: #efc79a; }
.rel-section.is-playlist { --k: #cbbdea; }
.rel-section-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.rel-section-icon { display: inline-flex; flex: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; color: var(--k); background: color-mix(in srgb, var(--k) 15%, transparent); }
.rel-section-icon .kind-icon { width: 20px; height: 20px; }
.rel-section-head h2 { display: flex; align-items: baseline; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.3px; line-height: 1.25; color: var(--text); }
.rel-section-count { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.rel-section-head p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.rel-section > .empty { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.kind-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rel-pick .kind-icon { width: 20px; height: 20px; }
.places-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.places-fold.is-open { grid-template-rows: 1fr; }
.places.places-rest { overflow: hidden; min-height: 0; opacity: 0; transition: opacity .35s; }
.places-fold.is-open .places.places-rest { opacity: 1; transition: opacity .35s .08s; }
.rel-more-button, .rel-quiet summary { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 20px; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.rel-more-button:hover, .rel-quiet summary:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.rel-more-button i, .rel-quiet summary i, .place-open { flex: none; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease-out); }
.rel-more-button[aria-expanded="true"] i, .rel-quiet[open] summary i, .place.is-open .place-open { transform: translateY(2px) rotate(225deg); }
.rel-quiet summary { justify-content: space-between; list-style: none; text-align: left; }
.rel-quiet summary::-webkit-details-marker { display: none; }
.rel-quiet-help { max-width: 62ch; margin: 0; padding: 2px 20px 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.place { border-top: 1px solid var(--line); transition: background-color .22s; }
.rel-overview.is-fresh .place { animation: rise-in .42s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 32ms + 60ms); }
.place-head, .place-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto 16px; grid-template-areas: "name why action open" "where why action open"; align-items: center; column-gap: 20px; row-gap: 1px; min-height: 68px; padding: 12px 20px; cursor: pointer; outline: none; }
.place-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; grid-template-areas: "name why action" "where why action"; cursor: default; }
.place-head:hover { background: rgba(255, 255, 255, .035); }
.place-head:focus-visible { box-shadow: inset 0 0 0 2px var(--sage); }
.place-name { grid-area: name; align-self: end; font-size: 16px; font-weight: 600; letter-spacing: -.15px; line-height: 1.3; color: var(--text); overflow-wrap: anywhere; }
.place-where { grid-area: where; align-self: start; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place-where:empty { display: none; }
.place-where:empty + .place-why, .place-name:has(+ .place-where:empty) { align-self: center; }
.place-name:has(+ .place-where:empty) { grid-row: 1 / -1; }
.place-why { grid-area: why; font-size: 13px; line-height: 1.4; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.place-action { grid-area: action; display: flex; align-items: center; justify-content: flex-end; min-width: 84px; }
.place-send { min-height: 40px; min-width: 84px; padding: 6px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; background: none; border-color: var(--line-2); color: var(--text); }
.place-head:hover .place-send, .place.is-open .place-send, .place-send:hover { background: var(--sage); border-color: var(--sage); color: var(--sage-ink); }
.place-action .sent-mark { min-height: 0; }
.place-open { grid-area: open; justify-self: center; color: var(--muted); }
.place-head:hover .place-open, .place.is-open .place-open { color: var(--text); }
.place-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease-out); }
.place.is-open .place-fold { grid-template-rows: 1fr; }
.place-more { overflow: hidden; min-height: 0; padding: 0 20px; opacity: 0; transform: translateY(-4px); transition: opacity .24s, transform .34s var(--ease-out), padding .34s var(--ease-out); }
.place.is-open .place-more { padding-bottom: 18px; opacity: 1; transform: none; }
.place.is-open { background: rgba(232, 238, 224, .07); }
.place.is-open .place-head:hover { background: none; }
.place-more .rules { max-width: 62ch; font-size: 14px; line-height: 1.55; color: var(--soft); }
.place-more .rules strong { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.place-facts { max-width: 62ch; margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.place-facts:first-child { margin-top: 0; }
.place-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin: 6px 0 0; }
.place-links:empty { display: none; }
.place-links .text-link { font-size: 14px; }
.place.is-quiet .place-name { font-weight: 500; color: var(--soft); }
.place.is-quiet .place-action .text-link { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .rel-body.is-swapped, .rel-overview.is-fresh .place, .rel-step.is-moving { animation: none; } .places-fold, .places-rest, .place-fold, .place-more, .place-open, .rel-more-button i, .rel-quiet summary i { transition: none; } }

.rel-own-entry { display: flex; width: 100%; align-items: center; gap: 14px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 16px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s, transform .3s var(--ease-spring, ease); }
.rel-own-entry:hover { background: rgba(255, 255, 255, .035); border-color: var(--sage); }
.rel-own-entry:active { transform: scale(.992); }
.rel-own-entry strong { display: block; font-size: 15px; font-weight: 600; }
.rel-own-entry small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.rel-own-plus { position: relative; flex: none; width: 38px; height: 38px; border-radius: 12px; background: rgba(196, 209, 180, .14); transition: background-color .2s, transform .3s var(--ease-spring, ease); }
.rel-own-plus::before, .rel-own-plus::after { content: ""; position: absolute; left: 12px; top: 18px; width: 14px; height: 2px; border-radius: 2px; background: var(--sage); }
.rel-own-plus::after { transform: rotate(90deg); }
.rel-own-entry:hover .rel-own-plus { background: var(--sage); transform: rotate(90deg); }
.rel-own-entry:hover .rel-own-plus::before, .rel-own-entry:hover .rel-own-plus::after { background: var(--sage-ink); }
.rel-own-wrap { max-width: 680px; width: 100%; margin: 0 auto; }
#rel-own h2 { margin-bottom: 6px; }
.rel-own-help { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
#rel-own .field { margin-top: 16px; }
#rel-own .field input { width: 100%; min-height: 48px; font-size: 16px; background: rgba(10, 14, 10, .35); }
#rel-own .rel-pick { min-height: 44px; padding: 8px 16px; }
#rel-own .notice-box { margin: 16px 0 0; }
#rel-own .dialog-foot { margin-top: 22px; }
#rel-own { --muted: #c2cabd; --soft: #dfe5d8; --line: rgba(228, 235, 219, .2); --line-2: rgba(214, 226, 202, .38); }
.sent-row.place { border-top: 0; --k: var(--cream); }
.sent-row.place.is-blog { --k: #c4d6ae; } .sent-row.place.is-radio { --k: #efc79a; } .sent-row.place.is-playlist { --k: #cbbdea; }
.sent-kind { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--k); }
.sent-kind .kind-icon { width: 14px; height: 14px; }
.sent-kind span { margin-left: 4px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 10px; letter-spacing: .06em; color: var(--soft); }
.rel-link, .rel-where { margin-top: 16px; padding: 16px; border-radius: var(--r-s, 12px); border: 1px solid var(--line); }
.rel-link { background: rgba(196, 209, 180, .1); border-color: var(--line-2); }
.rel-link h3, .rel-where h3 { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.rel-link-row { display: flex; gap: 8px; }
.rel-link-row input { flex: 1; min-width: 0; font-size: 14px; }
.rel-link-why { margin: 12px 0 8px; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--soft); }
.rel-link-why li + li { margin-top: 4px; }
.rel-where-line { margin: 0; font-size: 15px; }
.rel-where-line a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.rel-where > .muted { margin: 4px 0 0; font-size: 13px; }
.rel-where .rules { margin-top: 12px; }
.rel-filters { display: flex; gap: 0 24px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.rel-filters::-webkit-scrollbar { display: none; }
.rel-filter { display: inline-flex; flex: none; align-items: baseline; gap: 6px; min-height: 44px; padding: 11px 1px 9px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 15px; white-space: nowrap; transition: color .2s, border-color .2s; }
.rel-filter span { font-size: 12px; font-variant-numeric: tabular-nums; }
.rel-filter:hover { color: var(--text); }
.rel-filter[aria-selected="true"] { border-bottom-color: var(--cream); color: var(--text); font-weight: 600; }
.rel-answer { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--soft); font: inherit; font-size: 14px; cursor: pointer; }
.rel-answer[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--sage-ink); font-weight: 600; }
.rel-answer[aria-pressed="true"]::before { content: "\2713"; }
.rel-answer.is-no[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); }
.rel-answer.is-no[aria-pressed="true"]::before { content: "\00d7"; }
.rel .outlet { padding: 18px 20px; }
.rel .outlet h3 { font-size: 17px; font-weight: 600; }
.rel .outlet .meta, .rel .sent-row .meta { font-size: 13px; }
.rel .outlet .rules { font-size: 13px; line-height: 1.5; }
.rel .outlet .actions { justify-content: center; }
.rel .outlet .btn.primary { min-width: 104px; font-size: 14px; font-weight: 600; }
.rel-show-all { margin: 0; }
.sent-list { list-style: none; margin: 0; padding: 0; }
.sent-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 24px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sent-row:last-child { border-bottom: 0; }
.sent-row h3 { font-size: 17px; font-weight: 600; }
.sent-row .meta { color: var(--muted); margin-top: 2px; }
.sent-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sent-side.is-row { flex-direction: row; align-items: center; justify-content: flex-end; }
.rel-answers, .sent-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.rel-note { min-height: 32px; padding: 4px 0; border: 0; border-bottom: 1px dashed transparent; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: text; }
.rel-note:hover { border-bottom-color: var(--line-2); }
.rel-note.is-empty { color: var(--muted); }
#rel-note-input { width: 100%; }
.listen { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; font-weight: 500; }
.listen-bar { position: relative; width: 96px; height: 8px; border-radius: 999px; border: 1px solid var(--line-2); overflow: hidden; flex: none; }
.listen-bar i { position: absolute; inset: 0 auto 0 0; background: var(--sage); }
.listen.is-waiting { color: var(--muted); font-weight: 400; }
.listen.is-opened .listen-bar { border-style: dashed; }
#rel-send h2 { margin-bottom: 12px; }
#rel-send .field { margin-top: 16px; }
#rel-send .field input, #rel-send textarea { width: 100%; }
#rel-send textarea { min-height: 200px; margin-top: 0; font-size: 14px; line-height: 1.5; }
#rel-send .rules { padding: 12px 14px; border-radius: var(--r-s, 12px); background: rgba(232, 238, 224, .08); font-size: 13px; color: var(--soft); }
#rel-send .rules strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.rel-to { margin: 14px 0 0; font-size: 14px; color: var(--text); }
.rel-to span { color: var(--muted); margin-right: 6px; }
.rel-send-foot p { margin: 0 auto 0 0; font-size: 13px; align-self: center; }
.rel-answers { align-items: center; }
.rel-answers-label { font-size: 13px; color: var(--muted); }
.rel-send-go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.rel-send-preview { margin: 10px 0 0; }
.rel-dm { margin: 14px 0 0; font-size: 14px; color: var(--soft); }
.rel-send-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide h3 { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.guide p { font-size: 13px; color: var(--muted); }
.people { list-style: none; margin: 0; padding: 0; }
.people li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.people .who { flex: 1; min-width: 0; }
.people .who strong { display: block; font-weight: 500; }
.people .who span { display: block; font-size: 12px; color: var(--muted); }
.access-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 16px; }
.welcome { padding: 60px 0; }
.welcome h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 500; letter-spacing: -1.4px; }
.welcome p { color: var(--muted); margin-top: 10px; }

/* ---- dialogs and the toast ---- */
.dialog { width: min(480px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); color: var(--text); }
.dialog.wide { width: min(680px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(8, 10, 8, .6); }
.dialog h2 { font-size: 19px; font-weight: 500; letter-spacing: -.3px; margin-bottom: 10px; }
.dialog p { font-size: 14px; color: var(--soft); }
.dialog .muted { margin-top: 10px; color: var(--muted); }
.dialog-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.dialog-close { display: flex; justify-content: flex-end; margin-top: 16px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 16px); transform: translateX(-50%); z-index: 90; max-width: min(92vw, 520px); padding: 11px 17px; border-radius: 6px; background: #f3f0e6; color: #263025; font-size: 13px; box-shadow: 0 5px 30px rgba(0, 0, 0, .3); text-align: center; }
.toast.is-error { background: #f6d4cc; color: #4a1a12; }

body.is-look .cover-button, body.is-look #rev-slot button:not([data-seek]) { display: none !important; }

@media (max-width: 800px) {
  .decision { flex-direction: column; align-items: flex-start; gap: 14px; }
  .decision p { max-width: none; }
}
@media (max-width: 720px) {
  .topbar { padding-left: 16px; padding-right: 16px; }
  .main { padding: 14px 16px calc(32px + var(--player-h)); }
  .hero { gap: 24px; }
  .hero-cover { width: 170px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.4px; }
  .song-row { grid-template-columns: 16px 38px minmax(0, 1fr) auto; gap: 12px; padding: 14px 6px; }
  .song-row .mini { width: 38px; }
  .player-inner { padding: 14px 16px calc(12px + env(safe-area-inset-bottom)); }
  .player-header { gap: 12px; flex-wrap: wrap; }
  .mix-group { order: 3; width: 100%; justify-content: space-between; }
  .now-title { font-size: 16px; }
  .wave { height: 54px; }
  .sync { display: none; }
  .notes-grid { grid-template-columns: 1fr; gap: 20px; }
  .rev-foot { flex-direction: column; align-items: stretch; }
  .form-grid, .guides, .access-form { grid-template-columns: 1fr; }
  .invoice-row { grid-template-columns: minmax(0, 1fr) auto; }
  .outlet { grid-template-columns: 1fr; }
  .outlet .actions { align-items: flex-start; }
  .sent-row { grid-template-columns: 1fr; }
  .sent-side.is-row { justify-content: flex-start; }
  .rel-tabs { width: 100%; }
  .rel-bar { flex-direction: column-reverse; align-items: stretch; }
  .rel-bar-links { justify-content: space-between; }
  .rel-filters { justify-content: space-between; gap: 0 12px; }
  .rel-filter span { display: none; }
  .rel-send-foot { flex-wrap: wrap; }
  .rel-send-foot p { flex-basis: 100%; margin-bottom: 4px; }
  .rel-send-foot .btn { flex: 1; }
  .place-head, .place-row { grid-template-columns: minmax(0, 1fr) auto 14px; grid-template-areas: "name action open" "where action open" "why why why"; column-gap: 12px; padding: 14px 16px; }
  .place-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name action" "where action" "why why"; }
  .place-why { margin-top: 6px; }
  .place-why:empty { display: none; }
  .place-action { min-width: 0; }
  .place-send { min-height: 44px; }
  .place-more { padding-left: 16px; padding-right: 16px; }
  .rel-section-head { align-items: flex-start; gap: 12px; padding: 16px; }
  .rel-section-head h2 { font-size: 18px; }
  .rel-section-head p { font-size: 13px; }
  .rel-more-button, .rel-quiet summary { padding: 8px 16px; }
  .rel-quiet-help { padding: 2px 16px 14px; }
  .rel-answers-label { flex-basis: 100%; }
  .rel-hero { gap: 16px; }
  .rel-cover { width: 72px; }
  .rel-link-row { flex-direction: column; }
  .rel-wizard { padding: 22px 18px 18px; }
  .rel-picks.is-big { grid-template-columns: 1fr; }
  .rel-picks.is-big .rel-pick { justify-content: flex-start; min-height: 56px; }
  .rel-howto ol { grid-template-columns: 1fr; gap: 10px; }
  .rel-wizard-foot .btn.primary { flex: 1; }
  .rel-wizard-foot > span:empty { display: none; }
  .rel-tab { flex: 1; justify-content: center; }
  .rel-song, .rel-song select { width: 100%; }
  .rel-song.is-away { display: none; }
  .rel-summary { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
  .rel-send-go .btn, .rel-send-foot .btn { width: 100%; }
}
@media (max-width: 480px) {
  .top-center { display: none; }
  .hero { flex-direction: column; text-align: center; gap: 22px; padding-bottom: 28px; }
  .hero-text { width: 100%; }
  .hero-actions { justify-content: center; }
  .hero h1 { font-size: 38px; }
  .song-row .title { font-size: 15px; }
  .now-cover { width: 40px; }
  .mix-button { min-width: 54px; padding: 8px 10px; }
  .decision-actions { width: 100%; }
  .decision-actions .btn { width: 100%; }
  .brand, .brand img { width: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.mini-dock { display: none; }

/* Transport, mix choices and review actions have their own layout tracks. */
.player { max-height: 82dvh; overflow-y: auto; }
.player-inner { max-width: 1220px; padding: 14px 24px; display: grid; grid-template-columns: minmax(145px, 230px) auto minmax(140px, 1fr) 44px; gap: 10px 16px; align-items: center; }
.player-header, .player-bottom, .player.is-collapsed .player-bottom { display: contents; }
.now { grid-column: 1; grid-row: 1; }
.controls { grid-column: 2; grid-row: 1; justify-content: center; }
.player-detail, .player.is-collapsed .player-detail { display: block; grid-column: 3; grid-row: 1; }
.mix-group { grid-column: 1 / 3; grid-row: 2; justify-content: flex-start; min-width: 0; }
.mixes { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding: 2px; }
.sync, .player-note, .player-extras, .player .toggle, .mini-play, .player-handle { display: none; }
.wave-wrap { padding-top: 0; }
.wave { height: 36px; }
.markers { top: -14px; }
.times { margin-top: 1px; font-size: 10px; }
.rev-slot, .player.is-collapsed .rev-slot { display: block; grid-column: 3 / -1; grid-row: 2; min-width: 0; }
.rev-slot .decision { display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 6px 14px; border: 0; padding: 0; margin: 0; }
.rev-slot .decision h2 { font-size: 13px; color: var(--soft); white-space: normal; }
.rev-slot .decision.has-context h2 { display: none; }
.rev-slot .decision.has-context p { max-width: 600px; }
.decision-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.decision-actions .btn { min-height: 44px; white-space: normal; font-size: 13px; padding: 10px 16px; }
.mix-button { flex: none; min-height: 44px; min-width: 54px; padding: 8px 11px; }
.revision-panel { grid-column: 1 / -1; min-width: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.audio-options { grid-column: 4; grid-row: 1; position: relative; color: var(--soft); }
.audio-options summary { cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; list-style: none; }
.audio-options summary::-webkit-details-marker { display: none; }
.audio-options[open] .player-extras { display: flex; position: absolute; top: 100%; right: 0; width: 230px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px #0006; z-index: 3; }
.audio-options .chip { min-height: 44px; }
body.is-look #rev-slot button:not([data-seek]) { display: inline-flex !important; }
.toast { bottom: 24px; z-index: 100; }
@media (min-width: 721px) and (max-width: 1000px) {
  .player-inner { grid-template-columns: minmax(120px, 180px) auto minmax(130px, 1fr) 44px; gap: 8px 12px; }
  .decision-actions { gap: 8px; }
  .decision-actions .btn { padding: 8px 12px; }
}
@media (max-width: 720px) {
  /* Safari uses the root background to fill areas beyond the page. Match the
     top of the painted surface to it before fading into the artwork glow. */
  :root {
    --page-surface: linear-gradient(180deg, var(--page-top), transparent calc(120px + env(safe-area-inset-top, 0px))), var(--page-backdrop);
  }
  html { background-color: var(--page-top); }
  body.player-open { overflow: hidden; }
  .player { --sheet-progress: 1; --dock-height: calc(80px + env(safe-area-inset-bottom)); inset: 0; height: 100dvh; max-height: none; z-index: 60; overflow: visible; border: 0; background: none; box-shadow: none; pointer-events: none; }
  .player-inner { position: absolute; inset: 0; display: block; min-height: 0; max-width: none; margin: 0; padding: 4px 24px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; pointer-events: auto; border-radius: 18px 18px 0 0; background: linear-gradient(180deg, var(--page-top), var(--panel) 120px, #171d19 460px); transform: translate3d(0, var(--sheet-offset, 0px), 0); transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s; visibility: visible; }
  .player-inner > * { opacity: clamp(0, calc(var(--sheet-progress) * 2 - .12), 1); transition: opacity .32s; }
  .player.is-collapsed { --sheet-progress: 0; }
  .player.is-dragging .player-inner, .player.is-dragging .player-inner > * { transition: none; user-select: none; }
  .player.is-collapsed .player-inner { transform: translate3d(0, var(--sheet-offset, calc(100% - var(--dock-height))), 0); pointer-events: none; visibility: hidden; transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s .32s; }
  .player.is-collapsed.is-dragging .player-inner { visibility: visible; transition: none; }
  .player-inner > *, .player-header > * { flex: none; min-width: 0; }
  .player-handle { display: flex; justify-content: center; align-items: center; height: 44px; width: 100%; touch-action: none; }
  .player-handle span { width: 38px; height: 4px; border-radius: 4px; background: #87907e; }
  .player-header { display: block; position: static; }
  .now { display: block; }
  .now-cover { display: block; width: min(100%, 30svh); height: auto; aspect-ratio: 1; max-width: 320px; margin: 6px auto 18px; border-radius: 9px; box-shadow: 0 14px 44px #0004; touch-action: none; }
  .now-text { display: block; }
  .player-header .now-text, .player-header .now-title { text-align: center; }
  .player-header .now-title { width: 100%; }
  .player-header .mixes { justify-content: center; }
  .now-title { font-size: clamp(22px, 6vw, 28px); letter-spacing: -.6px; }
  .now-meta { font-size: 14px; margin-top: 4px; }
  .mix-group { display: block; width: auto; margin-top: 16px; }
  .player-detail, .player.is-collapsed .player-detail { display: block; margin-top: 18px; }
  .wave { height: 52px; overflow: hidden; }
  .wave[data-scrolling="true"] { touch-action: none; -webkit-user-select: none; user-select: none; cursor: ew-resize; }
  .wave-wrap .markers { display: none; }
  .times { margin-top: 8px; font-size: 12px; }
  .player-bottom, .player.is-collapsed .player-bottom { display: block; position: relative; margin: 16px 0; }
  .controls { display: flex; width: 100%; justify-content: space-evenly; padding: 0 30px; }
  .play { width: 56px; height: 56px; }
  .play svg { width: 23px; height: 23px; }
  .audio-options { position: absolute; right: -8px; top: 6px; }
  .audio-options[open] .player-extras { top: auto; bottom: 100%; }
  .player .toggle { display: grid; position: absolute; right: 12px; top: 4px; width: 44px; height: 44px; border: 0; }
  .rev-slot, .player.is-collapsed .rev-slot { display: block; margin: 18px 0 0; padding: 0; }
  .rev-slot .decision { flex-direction: column; align-items: stretch; text-align: center; }
  .decision-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
  .decision-actions:has(> :only-child) { grid-template-columns: 1fr; }
  .decision-actions .btn { width: 100%; min-height: 48px; padding: 10px; font-size: 13px; }
  .decision-actions .text-link { grid-column: 1 / -1; }
  .revision-panel { margin-top: 20px; }
  .revision-panel input, .revision-panel textarea { font-size: 16px; }
  .mini-dock { display: flex; align-items: center; gap: 12px; position: absolute; bottom: 0; left: 0; right: 0; min-height: 80px; padding: 20px 16px calc(12px + env(safe-area-inset-bottom)); touch-action: none; user-select: none; border-top: 1px solid var(--line); background: var(--panel); border-radius: 18px 18px 0 0; z-index: 2; transform: translate3d(0, var(--dock-offset, calc(-100dvh + var(--dock-height))), 0); pointer-events: none; opacity: 0; visibility: hidden; transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .22s, visibility 0s .32s; }
  .mini-dock::before { content: ""; position: absolute; top: 7px; left: 50%; width: 32px; height: 3px; border-radius: 3px; background: #87907e; transform: translateX(-50%); pointer-events: none; }
  .player.is-docked .mini-dock { transform: translate3d(0, var(--dock-offset, 0px), 0); pointer-events: auto; opacity: 1; visibility: visible; }
  .player.is-dragging .mini-dock { opacity: clamp(0, calc(1 - var(--sheet-progress) * 4), 1); visibility: visible; transition: none; }
  .mini-track { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-align: left; min-height: 48px; }
  .mini-track .cover { width: 46px; }
  .mini-track strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 500; }
  .mini-dock .now-meta { font-size: 11px; margin-top: 2px; }
  .mini-dock .play { width: 44px; height: 44px; flex: none; }
  .top-center { display: flex; }
  .area-label { font-size: 11px; }
}
/* The phone sheet in motion (19 November, fifth pass). Nothing fades and nothing changes colour: the sheet is one
   solid surface that slides, all the way off the screen, over a small bar that stays exactly where and as it is.
   Two things move, both by transform alone, which a phone runs without redrawing: the sheet (softly up, at once
   down), and one cover that flies from the small cover in the bar to the large one's place and back (flyCover in
   artist-area.js; the curves and the times here and there are the same). */
@media (max-width: 720px) {
  .player { --sheet-ease: cubic-bezier(.3, .08, .12, 1); --sheet-ease-down: cubic-bezier(.3, .7, .1, 1); }
  .player-inner { z-index: 3; transition: transform .42s var(--sheet-ease), visibility 0s; will-change: transform; overscroll-behavior: none; box-shadow: 0 -10px 34px rgba(4, 7, 5, .38); }
  .player.is-collapsed .player-inner { transform: translate3d(0, var(--sheet-offset, 100%), 0); transition: transform .3s var(--sheet-ease-down), visibility 0s .3s; box-shadow: none; }
  .player.is-collapsed.is-dragging .player-inner { box-shadow: 0 -10px 34px rgba(4, 7, 5, .38); }
  .player-inner > *, .player.is-dragging .player-inner > * { opacity: 1; transition: none; }
  .player .mini-dock, .player.is-docked .mini-dock, .player.is-dragging .mini-dock { transform: none; opacity: 1; visibility: visible; transition: none; }
  .sheet-flyer { position: absolute; z-index: 5; transform-origin: 0 0; pointer-events: none; will-change: transform; }
  .sheet-flyer-art { width: 100%; height: 100%; box-shadow: 0 14px 44px #0004; }
  .player.is-flying .now-cover, .player.is-flying .mini-track .cover { visibility: hidden; }
  /* The decision and the notes do not rise in on a phone: they are part of the sheet, which is already moving. */
  .rev-slot .decision, .revision-panel:not([hidden]) { animation: none; }
  .mini-dock .now-meta.is-waiting { color: var(--sage); font-weight: 600; }
  .mini-dock .now-meta.is-waiting::after { content: " \203A"; }
}
@media (prefers-reduced-motion: reduce) {
  .player-inner, .player-inner > *, .player.is-collapsed .player-inner, .mini-dock, .player.is-docked .mini-dock { transition: none; }
}


@media (max-width: 480px) {
  .topbar { gap: 10px; padding-top: calc(10px + env(safe-area-inset-top)); padding-bottom: 10px; }
  .menu-button { width: 44px; padding: 0; justify-content: center; border-color: transparent; }
  .menu-button > span { display: none; }
  .top-center { letter-spacing: 1.2px; }
  .brand, .brand img { width: 50px; }
  .hero { padding-top: 12px; gap: 18px; }
  .hero-cover { width: clamp(130px, 37vw, 160px); }
  .hero h1 { font-size: clamp(28px, 8.5vw, 36px); letter-spacing: -1px; }
  .subtitle { margin-top: 10px; }
  .hero-actions { margin-top: 18px; }
}

/* Keep the desktop fields in the dock's normal flow. Only the phone sheet has a separate notes scroller. */
.player-review-header { display: contents; }
.player.has-revision .rev-slot { display: none; }
.review-desktop-label { display: none; }
.revision-close { grid-column: 4; grid-row: 2; justify-self: end; white-space: nowrap; }
.revision-status { margin-top: 10px; font-size: 12px; }
.revision-panel .changes { margin-top: 6px; }
.revision-panel .changes li { padding: 7px 0; }
@media (min-width: 721px) {
  .player.has-revision .player-inner { row-gap: 8px; }
  .revision-panel textarea { min-height: 72px; }
}
@media (max-width: 720px) {
  .player-review-header { display: block; }
  .player.has-revision .player-inner { display: flex; flex-direction: column; overflow: hidden; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .player.has-revision .player-review-header { width: 100%; flex: none; padding-bottom: 8px; }
  .player.has-revision .now-cover { display: none; }
  .player.has-revision .now-title { font-size: 20px; }
  .player.has-revision .now-meta { font-size: 12px; }
  .player.has-revision .mix-group { margin-top: 6px; }
  .player.has-revision .player-detail { margin-top: 6px; }
  .player.has-revision .wave { height: 34px; }
  .player.has-revision .times { margin-top: 4px; }
  .player.has-revision .player-bottom { margin: 4px 0 0; }
  .player.has-revision .play { width: 44px; height: 44px; }
  .player.has-revision .audio-options { top: 0; }
  .revision-close { position: absolute; top: 4px; right: 56px; z-index: 2; border-color: transparent; background: none; }
  .player.has-revision .revision-panel { width: 100%; flex: 1; min-height: 0; margin: 0; padding: 8px 0; overflow-y: auto; overscroll-behavior: contain; }
  .revision-panel .notes-grid { gap: 12px; }
  .revision-panel textarea { min-height: 64px; padding-block: 8px; }
  .revision-panel textarea, .revision-panel .composer, .revision-panel .save-line { margin-top: 6px; }
  .revision-panel .rev-foot { margin-top: 8px; padding-top: 8px; }
}

/* The waveform spans the dock, with mixes and review above and transport below. */
@media (min-width: 721px) {
  .player-inner {
    grid-template-columns: minmax(130px, 1fr) minmax(0, 1.25fr) fit-content(384px);
    gap: 8px 16px;
    padding-block: 10px;
  }
  .now { grid-column: 1; grid-row: 1; }
  .now-cover { width: 40px; }
  .mix-group { grid-column: 2; grid-row: 1; justify-content: center; }
  .audio-options { grid-column: 3; grid-row: 3; justify-self: end; }
  .audio-options[open] .player-extras { top: auto; bottom: 100%; }
  .player-detail, .player.is-collapsed .player-detail { grid-column: 1 / -1; grid-row: 2; }
  .wave-wrap { padding-top: 8px; }
  .wave { height: 64px; }
  .markers { top: -2px; }
  .times { margin-top: 3px; }
  .controls { grid-column: 1 / -1; grid-row: 3; justify-self: center; }
  .rev-slot, .player.is-collapsed .rev-slot { grid-column: 3; grid-row: 1; }
  .review-choice .decision-copy h2, .review-choice .decision-copy:not(:has(p)) { display: none; }
  .review-choice .decision-actions { gap: 6px; }
  .review-choice .decision-actions .btn { min-height: 40px; padding: 8px 10px; gap: 6px; font-size: 12px; }
  .review-choice .count { min-width: 16px; height: 16px; padding-inline: 4px; }
  .review-mobile-label { display: none; }
  .review-desktop-label { display: inline; }
  .review-choice .approve { background: rgba(196, 209, 180, .12); border-color: var(--line-2); color: var(--sage); }
  .review-choice .approve:hover:not(:disabled) { background: rgba(196, 209, 180, .2); border-color: var(--sage); }
  /* Mirror the columns on either side so Play stays centred with the notes open. */
  .player.has-revision .player-inner {
    grid-template-columns: 64px 44px minmax(0, 1fr) auto minmax(0, 1fr) 44px 64px;
    column-gap: 8px;
  }
  .player.has-revision .now { grid-column: 1 / 4; }
  .player.has-revision .controls { grid-column: 4; grid-row: 1; }
  .player.has-revision .mix-group { grid-column: 5; justify-content: flex-end; }
  .player.has-revision .audio-options { grid-column: 6; grid-row: 1; }
  .player.has-revision .audio-options[open] .player-extras { top: 100%; bottom: auto; }
  .player.has-revision .revision-close { grid-column: 7; grid-row: 1; justify-self: stretch; padding-inline: 8px; }
  .player.has-revision .wave { height: 40px; }
}

@media (min-width: 721px) and (max-width: 850px) {
  .player.has-revision .mixes { gap: 3px; }
  .player.has-revision .mix-button { min-width: 40px; padding-inline: 4px; font-size: 12px; }
}

@media (min-width: 1001px) {
  .player-inner { grid-template-columns: minmax(130px, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---- completed projects ---- */
.archive-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.archive-heading > .btn, .archive-project-head > .btn { flex: none; }
.archive-card .archive-project-head h2 { font-size: 18px; }
.archive-card { overflow: hidden; }
.archive-project-head { align-items: center; min-height: 66px; }
.archive-project-head h2 { overflow-wrap: anywhere; }
.archive-project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.archive-project-actions .text-link { min-height: 44px; }
.archive-credit { overflow-wrap: anywhere; }
.archive-files { margin: 0; padding: 0; list-style: none; }
.archive-file { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 20px; }
.archive-file + .archive-file { border-top: 1px solid var(--line); }
.archive-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--sage); border-radius: 6px; background: rgba(196, 209, 180, .10); }
.archive-file-title { overflow-wrap: anywhere; }
.archive-file-title strong, .archive-file-title small { display: block; }
.archive-file-title strong { font-size: 15px; font-weight: 600; }
.archive-file-title small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.archive-file-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.archive-file-actions .text-link { min-height: 44px; white-space: nowrap; }
.archive-open { justify-self: start; white-space: nowrap; }
.archive-mixes { border-top: 1px solid var(--line); }
.archive-mixes summary { padding: 12px 20px; cursor: pointer; color: var(--soft); font-size: 13px; }
.archive-mixes .rows { padding-inline: 12px; }
.no-covers .song-row { grid-template-columns: 24px minmax(0, 1fr) auto; }
.archive-fields { display: grid; gap: 12px; }
.archive-fields input { width: 100%; background: #121811; border: 1px solid #51604a; border-radius: 5px; padding: 11px 12px; }
#archive-error { margin: 12px 0 0; }
.archive-remove { margin-right: auto; }
@media (max-width: 540px) {
  .archive-heading { flex-wrap: wrap; align-items: flex-start; }
  .archive-project-head { flex-wrap: wrap; padding-inline: 14px; }
  .archive-file { grid-template-columns: 34px minmax(0, 1fr); padding-inline: 14px; column-gap: 10px; row-gap: 6px; }
  .archive-icon { width: 34px; height: 34px; }
  .archive-file-actions, .archive-file > .archive-open { grid-column: 2; }
  .archive-fields input, .archive-fields select { font-size: 16px; }
  #archive-dialog .dialog-foot { flex-wrap: wrap; }
}

.review-choice .btn:disabled { color: #8c9489; background: rgba(135, 144, 126, .08); border-color: var(--line); opacity: .5; }

.mix-group { position: relative; }
.compare-state { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10px; line-height: 12px; color: var(--soft); }
.compare-state .text-link { padding: 0 4px; font-size: inherit; min-height: 24px; }
.mix-button { position: relative; }
.mix-button[data-preparing="true"] { cursor: progress; }
.mix-button[data-preparing="true"]::after { content: ""; position: absolute; right: 3px; top: 3px; width: 7px; height: 7px; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: mix-wait .8s linear infinite; }
@keyframes mix-wait { to { transform: rotate(360deg); } }
@media (min-width: 721px) { .player-inner { padding-top: 14px; } }
@media (max-width: 720px) {
  .player.has-revision .compare-state:not(.has-error) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .player.has-revision .compare-state.has-error { position: static; display: block; transform: none; margin: 4px 0; }
}
@media (prefers-reduced-motion: reduce) { .mix-button[data-preparing="true"]::after { animation: none; } }

/* ---- 2026-11-13: rounder shapes, glass and motion. The layout above is unchanged. ---- */
:root { --r-xs: 8px; --r-s: 12px; --r-m: 16px; --r-l: 24px; --ease-spring: cubic-bezier(.2, .8, .2, 1); --glass-line: rgba(235, 242, 225, .15); }

/* shapes */
.btn, .menu-button, .nav-button, .song-row, .notice-box, .general-read, .archive-icon { border-radius: var(--r-s); }
textarea, input[type="text"], input[type="email"], input[type="tel"], input:not([type]), select, .composer input, .archive-fields input { border-radius: var(--r-s); }
.chip, .chip-check span, .time-chip, .cover-button, .toast { border-radius: 999px; }
.cover { border-radius: var(--r-xs); }
.hero-cover { border-radius: var(--r-m); }
.panel, .audio-options[open] .player-extras { border-radius: var(--r-m); }
.dialog { border-radius: var(--r-l); }
.drawer { border-radius: 0 var(--r-l) var(--r-l) 0; }
.pin { border-radius: 6px; }
/* The mixes are one rounded control with the chosen mix filled in. */
.mixes { gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(194, 208, 183, .05); }
.mix-button { border: 0; border-radius: 999px; background: none; min-height: 38px; }
.mix-button[aria-pressed="true"] { box-shadow: 0 1px 8px rgba(8, 12, 8, .3); }

/* touch and hover answer softly */
.btn, .chip, .mix-button, .nav-button, .menu-button, .icon-button, .play, .song-row, .cover-button, .text-link, .time-chip, .chip-check span {
  transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s, opacity .18s, transform .18s var(--ease-out);
}
.btn:active:not(:disabled), .mix-button:active:not(:disabled), .chip:active, .menu-button:active, .cover-button:active { transform: scale(.97); }
.icon-button:active:not(:disabled) { transform: scale(.92); }
.play:hover:not(:disabled) { transform: scale(1.04); }
.play:active:not(:disabled) { transform: scale(.94); }
.song-row:active:not(:disabled) { transform: scale(.992); }
.cover { transition: opacity .25s; }
.cover.is-busy { opacity: .7; }

/* a page arrives: its parts rise in, the songs one after the other */
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero.is-entering > *, .view.is-entering > * { animation: rise-in .44s var(--ease-out) backwards; }
.hero.is-entering > :nth-child(2) { animation-delay: .05s; }
.view.is-entering > :nth-child(2) { animation-delay: .06s; }
.view.is-entering > :nth-child(3) { animation-delay: .12s; }
.view.is-entering .rows > li { animation: rise-in .44s var(--ease-out) backwards; animation-delay: .08s; }
.view.is-entering .rows > li:nth-child(2) { animation-delay: .11s; }
.view.is-entering .rows > li:nth-child(3) { animation-delay: .14s; }
.view.is-entering .rows > li:nth-child(4) { animation-delay: .17s; }
.view.is-entering .rows > li:nth-child(5) { animation-delay: .2s; }
.view.is-entering .rows > li:nth-child(6) { animation-delay: .23s; }
.view.is-entering .rows > li:nth-child(n+7) { animation-delay: .26s; }
/* the notes open under the player */
.revision-panel:not([hidden]) { animation: rise-in .32s var(--ease-out) backwards; }
.rev-slot .decision { animation: rise-in .28s var(--ease-out) backwards; }
/* the same choice for another mix takes its place without moving, and waits out of reach until its answer is here */
.rev-slot.is-steady .decision { animation: none; }
.rev-slot.is-pending { pointer-events: none; }

/* the menu, the dialogs and the toast leave as softly as they come (browsers without this keep the plain way) */
.dialog::backdrop { background: rgba(8, 10, 8, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@supports (transition-behavior: allow-discrete) {
  .drawer { animation: none; transition: transform .36s var(--ease-spring), opacity .24s, display .36s allow-discrete; }
  .drawer[hidden] { transform: translateX(-104%); opacity: .5; }
  .backdrop { transition: opacity .3s, display .3s allow-discrete; }
  .backdrop[hidden] { opacity: 0; }
  .toast { transition: opacity .25s, transform .32s var(--ease-out), display .32s allow-discrete; }
  .toast[hidden] { opacity: 0; transform: translate(-50%, 14px); }
  .dialog { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .22s, transform .3s var(--ease-out), overlay .3s allow-discrete, display .3s allow-discrete; }
  .dialog[open] { opacity: 1; transform: none; }
  .dialog::backdrop { opacity: 0; transition: opacity .3s, overlay .3s allow-discrete, display .3s allow-discrete; }
  .dialog[open]::backdrop { opacity: 1; }
  @starting-style {
    .drawer:not([hidden]) { transform: translateX(-104%); opacity: .5; }
    .backdrop:not([hidden]) { opacity: 0; }
    .toast:not([hidden]) { opacity: 0; transform: translate(-50%, 14px); }
    .dialog[open] { opacity: 0; transform: translateY(14px) scale(.98); }
    .dialog[open]::backdrop { opacity: 0; }
  }
}

/* The desktop player: glass over the page, a handle to make it small, a compact bar when it is. */
@media (min-width: 721px) {
  .player {
    background: linear-gradient(180deg, rgba(31, 39, 32, .8), rgba(20, 26, 22, .9)); border-top: 1px solid var(--glass-line);
    border-radius: var(--r-l) var(--r-l) 0 0; box-shadow: 0 -18px 60px rgba(6, 10, 7, .36);
    backdrop-filter: blur(26px) saturate(1.4); -webkit-backdrop-filter: blur(26px) saturate(1.4);
  }
  .player.is-morphing { overflow: hidden; }
  .player-handle { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: 50%; z-index: 2; width: 88px; height: 16px; transform: translateX(-50%); }
  .player-handle span { width: 36px; height: 4px; border-radius: 4px; background: rgba(200, 212, 188, .3); transition: background-color .18s, width .18s var(--ease-out); }
  .player-handle:hover span, .player-handle:focus-visible span { width: 46px; background: rgba(200, 212, 188, .62); }
  .now-cover { border-radius: 10px; }
  .player.is-collapsed { cursor: pointer; }
  .player.is-collapsed .player-inner, .player.is-collapsed.has-revision .player-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 0; }
  .player.is-collapsed .now { grid-column: 1; grid-row: 1; }
  .player.is-collapsed .controls { grid-column: 2; grid-row: 1; }
  .player.is-collapsed .toggle { display: grid; grid-column: 3; grid-row: 1; justify-self: end; }
  .player.is-collapsed .player-detail, .player.is-collapsed .mix-group, .player.is-collapsed .rev-slot, .player.is-collapsed .revision-panel,
  .player.is-collapsed .audio-options, .player.is-collapsed .revision-close { display: none; }
}

/* The phone: the small player floats as one rounded piece of glass; the open player has rounder shoulders. */
@media (max-width: 720px) {
  .player { --dock-height: calc(86px + env(safe-area-inset-bottom)); }
  .player-inner { border-radius: 28px 28px 0 0; }
  .now-cover { border-radius: var(--r-m); }
  .mix-group { text-align: center; }
  .mixes { display: inline-flex; max-width: 100%; }
  .mini-dock {
    min-height: 0; height: calc(86px + env(safe-area-inset-bottom)); padding: 18px 23px calc(22px + env(safe-area-inset-bottom)) 22px;
    border: 0; border-radius: 0; background: none;
  }
  .mini-dock::before {
    top: 6px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; width: auto; height: auto; transform: none; z-index: -1;
    border-radius: 999px; border: 1px solid var(--glass-line);
    /* Solid on a phone, in the colours the glass had over the page: a blur is redrawn for every frame something
       moves behind it, and switching it off and on showed as a shift in colour. */
    background: linear-gradient(180deg, #283028, #151c17);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 12px 36px rgba(4, 8, 5, .46);
  }
  .mini-dock::after { content: ""; position: absolute; top: 11px; left: 50%; width: 30px; height: 3px; border-radius: 3px; background: rgba(222, 232, 210, .34); transform: translateX(-50%); pointer-events: none; }
  .mini-track { min-height: 46px; }
  .mini-track .cover { border-radius: 50%; }
  .mini-dock .play { box-shadow: 0 2px 12px rgba(4, 8, 5, .35); }
}
@media (min-width: 721px) { .player-inner { padding-top: 20px; } }

/* Share access: the band's own link, to copy and pass on */
.share-link { display: grid; gap: 10px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.share-link input { font-size: 13px; color: var(--soft); }
.share-link-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* The page a link opens: the symbol, one calm card, a name. */
.join-page { display: grid; min-height: 100dvh; place-items: center; padding: calc(24px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)); }
.join { width: min(440px, 100%); display: grid; gap: 26px; }
.join-brand { display: grid; justify-items: center; gap: 14px; color: #b3bbaa; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; }
.join-brand img { width: 74px; height: auto; }
.join .panel { animation: rise-in .44s var(--ease-out) backwards; }
.join .panel-head h1 { font-size: 26px; font-weight: 500; letter-spacing: -.6px; line-height: 1.15; }
.join .panel-head p { margin-top: 8px; font-size: 14px; }
.join-form { display: grid; gap: 14px; }
.join-form .muted { font-size: 13px; }
.join-form input { font-size: 16px; }
.join-form .btn { width: 100%; }

.join-you { display: grid; gap: 12px; }
.join-you p { color: var(--soft); font-size: 14px; }
.join-you .btn { width: 100%; }

/* ---- before the mix (public/design/premix.js, 2026-11-19): each song in four steps, one open at a time.
   Light text on a lighter card, 15 to 17 px, one clear button per step (Gustav: the first version was too dark
   and nobody could see what to do). ---- */
#hero-premix { margin-top: 18px; }
.pm-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: #e3e8dc; }
.pm-state strong { font-weight: 600; color: #fff; }
.pm-state .badge { font-size: 14px; }
.pm-state .badge.orange { color: #ffd2a3; }
.pm-intro { margin-top: 10px; max-width: 560px; font-size: 16px; line-height: 1.5; color: #e3e8dc; }
.pm-rows .pm-item { list-style: none; }
.song-row.pm-row { cursor: pointer; }
.song-row .pm-meta { display: block; margin-top: 3px; font-size: 13px; color: #d3dacb; }
.song-row .pm-meta .miss { color: #ffd2a3; }
.song-row .chev { width: 20px; height: 20px; color: #d3dacb; transition: transform .25s var(--ease-out); }
.pm-item.is-open > .song-row { background: rgba(214, 228, 200, .07); border-radius: 8px 8px 0 0; }
.song-row.pm-row[aria-expanded="true"] .chev { transform: rotate(180deg); }
.pm-right { display: flex; align-items: center; gap: 12px; }
.pm-right .badge { font-size: 13px; }
.pm-right .badge.orange { color: #ffd2a3; }
.pm-empty { padding: 20px 0; font-size: 15px; color: #e3e8dc; }

.pm-song { padding: 14px 12px 26px; background: rgba(214, 228, 200, .04); border-radius: 0 0 8px 8px; margin-bottom: 10px; }
.pm-song.is-new { animation: pm-in .25s var(--ease-out); }
@keyframes pm-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pm-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pm-step { border-radius: 8px; border: 1px solid rgba(224, 231, 215, .16); background: #1e261f; }
.pm-step.is-now { border-color: var(--sage); background: #232c24; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.pm-step-head { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; text-align: left; color: #fff; min-height: 60px; }
.pm-step-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 600; border: 1.5px solid rgba(224, 231, 215, .5); color: #fff; }
.pm-step-n .icon { width: 17px; height: 17px; }
.pm-step.is-now .pm-step-n { background: var(--sage); border-color: var(--sage); color: var(--sage-ink); }
.pm-step.is-done .pm-step-n { background: rgba(196, 209, 180, .2); border-color: transparent; color: var(--sage); }
.pm-step-title { font-size: 17px; font-weight: 500; letter-spacing: -.2px; }
.pm-opt { margin-left: 6px; font-size: 13px; font-weight: 400; color: #c9d1c1; }
.pm-step-sum { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: #d3dacb; }
.pm-step-warn { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: #ffd2a3; }
.pm-step-state { font-size: 13px; color: #c9d1c1; white-space: nowrap; }
.pm-step.is-now .pm-step-state { color: var(--sage); }
.pm-step-body { padding: 0 18px 20px 64px; display: flex; flex-direction: column; gap: 14px; }
.pm-lead { font-size: 16px; line-height: 1.5; color: #eef1e8; max-width: 620px; }
.pm-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pm-rules li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #e3e8dc; }
.pm-rules .icon { width: 18px; height: 18px; color: var(--sage); margin-top: 2px; }
.pm-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pm-links li { display: flex; align-items: center; gap: 12px; }
.pm-links a { display: block; color: #fff; overflow-wrap: anywhere; text-decoration: none; }
.pm-links a:hover { text-decoration: underline; }
.pm-links .sub { display: block; font-size: 13px; color: #c9d1c1; overflow-wrap: anywhere; }
.pm-links li { padding: 10px 12px; border-radius: 8px; background: #151c16; border: 1px solid rgba(224, 231, 215, .16); }
.pm-links li { font-size: 15px; }
.pm-links li > .icon { color: #c9d1c1; width: 18px; height: 18px; }
.pm-form { display: flex; flex-direction: column; gap: 12px; }
.pm-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #e3e8dc; }
.pm-field input, .pm-field textarea, .pm-field select { width: 100%; margin-top: 0; padding: 11px 13px; font-size: 16px; color: #fff; border-radius: 6px; border: 1px solid rgba(224, 231, 215, .35); background: #121813; }
.pm-field input:focus, .pm-field textarea:focus, .pm-field select:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px rgba(196, 209, 180, .2); }
.pm-field input::placeholder, .pm-field textarea::placeholder { color: #9aa592; }
.pm-form-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.pm-next { display: flex; justify-content: flex-end; }
.pm-alt { font-size: 15px; color: #d3dacb; }
.pm-add { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #fff; min-height: 40px; text-decoration: underline; text-underline-offset: 3px; }
.pm-add .icon { width: 18px; height: 18px; }
.extra-links { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; padding: 20px; border-radius: 10px; border: 1px solid rgba(224, 231, 215, .14); background: #1a211b; }
.extra-links-title { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.2px; color: #fff; }
.extra-links .pm-add { align-self: flex-start; }
.pm-note { padding: 12px 14px; border-radius: 6px; background: rgba(255, 255, 255, .05); white-space: pre-wrap; font-size: 15px; color: #eef1e8; }
#hero-recording { margin-top: 18px; }
.pm-field-label { display: block; font-size: 14px; color: #e3e8dc; margin-bottom: 6px; }
.rec-place { margin-top: 6px; font-size: 15px; }
.rec-place a { color: #e3e8dc; text-decoration: none; }
.rec-place a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rec-days { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.4; color: #fff; }
.profile-name { display: flex; align-items: center; min-width: 0; }
.profile-name .name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-edit { width: 44px; height: 44px; margin-block: -10px; }
.profile-edit .icon { width: 15px; height: 15px; }
.band-hint { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.rec-sections { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rec-section { border-radius: 10px; border: 1px solid rgba(224, 231, 215, .14); background: #1a211b; }
.rec-section.is-open { border-color: rgba(224, 231, 215, .3); background: #1e261f; }
.rec-section-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; min-height: 64px; text-align: left; color: #fff; }
.rec-section-title { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.2px; }
.rec-section-sum { display: block; margin-top: 3px; font-size: 14px; color: #c9d1c1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-section-head .chev { width: 20px; height: 20px; color: #c9d1c1; flex: none; transition: transform .25s var(--ease-out); }
.rec-section.is-open .chev { transform: rotate(180deg); }
.rec-section-body { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.rec-songs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rec-song { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(224, 231, 215, .16); background: #151c16; }
.rec-song-head { display: flex; align-items: center; gap: 10px; }
.rec-song-head strong { flex: 1; font-size: 16px; font-weight: 500; color: #fff; }
.pm-song-done { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; padding: 16px 18px; border-radius: 8px; background: rgba(196, 209, 180, .12); font-size: 15px; color: #eef1e8; }
.pm-song-done > .icon { color: var(--sage); width: 22px; height: 22px; }
.pm-song-done strong { display: block; color: #fff; font-weight: 600; }
.pm-song-done .btn { margin-left: auto; }
.pm-ready { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 20px 22px; border-radius: 10px; border: 1px solid rgba(224, 231, 215, .2); background: #1e261f; }
.pm-ready > .icon { color: var(--sage); width: 24px; height: 24px; }
.pm-ready strong { display: block; font-weight: 600; font-size: 17px; color: #fff; }
.pm-ready span { display: block; margin-top: 2px; font-size: 15px; color: #e3e8dc; }
.pm-ready .btn { margin-left: auto; white-space: nowrap; }
.pm-ready.is-go { border-color: var(--sage); }
.pm-ready.is-waiting { background: transparent; border-style: dashed; }
.pm-ready.is-waiting strong { color: #e3e8dc; font-weight: 500; }
.pm-late { margin-top: 18px; font-size: 15px; color: #e3e8dc; }
@media (max-width: 720px) {
  .pm-song { padding: 10px 6px 20px; }
  .pm-step-head { grid-template-columns: 30px minmax(0, 1fr); padding: 12px; gap: 12px; }
  .pm-step-n { width: 30px; height: 30px; }
  .pm-step-state { display: none; }
  .pm-step-body { padding: 0 14px 18px; }
  .pm-form-foot .btn.primary, .pm-next .btn, .pm-song-done .btn { width: 100%; min-height: 52px; }
  .pm-ready { flex-direction: column; align-items: stretch; }
  .pm-ready .btn { margin-left: 0; min-height: 56px; }
  .pm-state { justify-content: center; text-align: center; }
  .pm-intro { text-align: center; margin-inline: auto; }
  .rec-days { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .pm-song.is-new { animation: none; } }

.rough-listen { margin: 0; font-size: 15px; color: #e3e8dc; }
/* Rough mixes (2026-11-19): they play as versions in the page's own player; under it one quiet line instead of the
   choice and the notes. In pre-mix a song's newest rough mix is a row that plays it in that player (data-song). */
.pm-rough { width: 100%; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 12px 16px; min-height: 64px; border-radius: 10px; border: 1px solid rgba(224, 231, 215, .2); background: #1a211b; color: #fff; text-align: left; }
.pm-rough:hover { border-color: rgba(224, 231, 215, .45); }
.pm-rough .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #f1f4ec; fill: #121612; stroke: none; flex: none; }
.pm-rough-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c9d1c1; }
.pm-rough-title { display: block; font-size: 16px; font-weight: 500; }
.pm-rough-time { font-size: 14px; color: #dfe5d8; font-variant-numeric: tabular-nums; }

/* Before the mix, for the whole project (2026-11-25, Gustav: "everything at once"): four steps, then the songs, plain. */
.pm-flow { margin-bottom: 34px; }
.pm-songs-head { margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line); color: #e3e8dc; font-size: 15px; font-weight: 500; letter-spacing: -.1px; }
.song-row.pm-plain { cursor: default; }
.song-row.pm-plain:hover { background: none; }
/* Plain since 2026-11-26 (Gustav: "Should be much simpler", "De skal ikke altid være åbne"): the recording page's sections, one field each. */
.pm-box-lead { margin: 0; font-size: 16px; line-height: 1.5; color: #eef1e8; }
.pm-inline { display: flex; gap: 10px; align-items: stretch; }
.pm-inline .pm-field { flex: 1; min-width: 0; }
.pm-inline .btn { flex: none; min-height: 46px; padding-inline: 22px; }
@media (max-width: 720px) {
  .pm-flow { margin-bottom: 28px; }
  .pm-inline { flex-direction: column; }
  .pm-inline .btn, .pm-flow .pm-form-foot .btn { width: 100%; min-height: 52px; }
}
