:root {
  --ink: #17233d;
  --ink-2: #223253;
  --burgundy: #9d3c52;
  --burgundy-dark: #7e293d;
  --ivory: #f6f3ec;
  --paper: #fffdfa;
  --white: #fff;
  --text: #253044;
  --muted: #596274;
  --line: #e4e0d8;
  --green: #256f5a;
  --green-soft: #e5f3ed;
  --amber: #87550d;
  --amber-soft: #fbf0d9;
  --red: #aa4050;
  --red-soft: #f9e8ea;
  --teal: #21686a;
  --shadow: 0 12px 36px rgba(31, 38, 54, .08);
  --radius: 14px;
  --sidebar: 256px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--ivory); font: 15px/1.55 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--burgundy); text-decoration: none; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; border-radius: 6px; color: #fff; background: #17233d; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.025em; }
h1 { margin-bottom: 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 500; }
h2 { margin-bottom: 8px; font-size: 1.32rem; }
h3 { margin-bottom: 5px; font-size: 1.02rem; }
p { margin-bottom: 12px; }
small { display: block; color: var(--muted); line-height: 1.35; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }

.app-body { min-height: 100vh; }
.sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--sidebar); color: #e9edf4; background: var(--ink); }
.brand { display: flex; align-items: center; gap: 12px; padding: 27px 25px; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; color: var(--white); background: var(--burgundy); font-family: Georgia, serif; font-size: 20px; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--white); font-family: Georgia, serif; font-size: 17px; font-weight: 500; line-height: 1.2; }
.brand small { margin-top: 2px; color: #9ca9c0; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.brand.large { padding: 0; }
.sidebar nav { flex: 1; padding: 10px 13px; }
.sidebar nav a { display: flex; align-items: center; min-height: 44px; margin: 3px 0; padding: 0 13px; border-radius: 8px; color: #bfc8d8; font-size: 14px; font-weight: 600; }
.sidebar nav a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.sidebar nav a.active { color: var(--white); background: var(--burgundy); }
.nav-label { margin: 25px 13px 8px; color: #9ca9c0; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.sidebar-footer { display: flex; align-items: center; gap: 10px; min-height: 77px; padding: 14px 17px; border-top: 1px solid rgba(255,255,255,.09); }
.user-avatar, .avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; color: var(--ink); background: #d7dce5; font-style: normal; font-weight: 750; }
.user-avatar { color: var(--white); background: #53617b; }
.user-meta { min-width: 0; flex: 1; }
.user-meta strong { display: block; overflow: hidden; color: var(--white); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.user-meta small { overflow: hidden; color: #9ca9c0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-footer form { margin: 0; }
.sidebar-footer .icon-button { color: #bbc4d4; }
.main-content { min-height: 100vh; margin-left: var(--sidebar); padding: 42px clamp(28px, 4vw, 62px) 70px; }
.mobile-menu { display: none; }

.eyebrow { margin-bottom: 7px; color: var(--burgundy); font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.muted { color: var(--muted); }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; max-width: 1400px; margin: 0 auto 34px; }
.page-header.narrow { max-width: 980px; }
.page-header h1 { margin-bottom: 7px; }
.page-header p:last-child { margin-bottom: 0; color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--muted); font-size: 13px; font-weight: 700; }
.back-link:hover { color: var(--burgundy); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 750; line-height: 1; transition: .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 5px 15px rgba(25,31,47,.1); }
.button.primary { color: var(--white); background: var(--burgundy); }
.button.primary:hover { background: var(--burgundy-dark); }
.button.secondary { color: var(--ink); border-color: #d6d9df; background: var(--white); }
.button.ghost { color: var(--muted); background: transparent; }
.button.light { color: var(--white); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.1); }
.button.accent { color: var(--ink); background: #f0d8a2; }
.button.compact { min-height: 36px; padding: 8px 13px; }
.button.danger { color: var(--red); border-color: #e7c5ca; background: var(--red-soft); }
.button.full { width: 100%; }
.text-button { padding: 2px; border: 0; color: var(--burgundy); background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; }
.text-button.danger { color: var(--red); }
.icon-button { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; font-size: 20px; }
.icon-button:hover { background: rgba(0,0,0,.05); }
.read-only, .prototype-badge { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 11px; border-radius: 99px; color: var(--muted); background: #ece8df; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.read-only.light { color: var(--white); background: rgba(255,255,255,.12); }

.flash-stack { position: fixed; z-index: 100; top: 22px; right: 22px; display: grid; gap: 8px; width: min(390px, calc(100vw - 35px)); }
.flash { padding: 13px 16px; border: 1px solid #cbded5; border-radius: 9px; color: #205e4d; background: #eff8f4; box-shadow: var(--shadow); font-size: 13px; font-weight: 650; }
.flash.error { border-color: #ecc8ce; color: #8c2f3f; background: #fff2f3; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; max-width: 1400px; margin: 0 auto 40px; }
.stat-card { display: flex; align-items: center; gap: 14px; min-height: 98px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.stat-card strong { display: block; color: var(--ink); font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.stat-card span:last-child { color: var(--muted); font-size: 12px; }
.stat-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; font-size: 19px; }
.stat-icon.navy { color: var(--ink); background: #e7eaf0; }.stat-icon.teal { color: var(--teal); background: #e2f0ef; }.stat-icon.amber { color: var(--amber); background: var(--amber-soft); }.stat-icon.red { color: var(--red); background: var(--red-soft); }
.section-block { max-width: 1400px; margin: 0 auto 44px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading > a { font-size: 12px; font-weight: 750; }
.concert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.concert-card { display: flex; align-items: center; gap: 18px; min-height: 156px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; background: var(--paper); transition: .18s ease; }
.concert-card:hover { border-color: #c9c1b6; box-shadow: var(--shadow); transform: translateY(-2px); }
.date-tile { display: grid; place-items: center; width: 61px; height: 68px; flex: 0 0 61px; border-radius: 10px; color: var(--white); background: var(--ink); }
.date-tile strong { font-family: Georgia, serif; font-size: 25px; line-height: 1; }.date-tile span { color: #bec7d7; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.concert-card-main { min-width: 0; flex: 1; }.concert-card-main h3 { margin: 8px 0 4px; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }.concert-card-main p { margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.mini-stats { display: flex; gap: 15px; color: var(--muted); font-size: 10px; }.mini-stats b { color: var(--text); }.card-arrow { color: var(--muted); font-size: 20px; }
.prototype-callout { display: flex; align-items: center; justify-content: space-between; gap: 25px; max-width: 1400px; margin: 25px auto; padding: 19px 22px; border: 1px dashed #c9b784; border-radius: 11px; background: #fdf8e9; }
.prototype-callout strong { color: var(--ink); }.prototype-callout p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

.list-toolbar { display: flex; align-items: center; gap: 12px; max-width: 1400px; margin: 0 auto 16px; }.list-toolbar .muted { margin-left: auto; font-size: 12px; }.list-toolbar.inner { padding: 16px; margin: 0; border-bottom: 1px solid var(--line); }.list-toolbar.inner .text-button { margin-left: auto; }
.search-shell { display: flex; align-items: center; width: min(430px, 100%); height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.search-shell span { margin-right: 8px; color: var(--muted); font-size: 20px; }.search-shell input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; }
.table-card { max-width: 1400px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 3px 12px rgba(31,38,54,.025); }
.data-table { min-width: 760px; }.table-row { display: grid; align-items: center; min-height: 73px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--text); }.table-row:first-child { border-top: 0; }.table-row:not(.table-head):hover { background: #fbf9f5; }.table-row > span { min-width: 0; }
.table-row strong { display: block; overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; }.table-row small { margin-top: 3px; }
.table-head { min-height: 43px; color: var(--muted); background: #f2efe8; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.series-table .table-row { grid-template-columns: 1.35fr 1.1fr 1fr 25px; gap: 22px; }.player-table .table-row { grid-template-columns: 1.5fr 1.1fr .7fr .55fr .55fr auto; gap: 18px; }.invite-table .table-row { grid-template-columns: 35px 1.15fr 1.15fr .55fr .75fr 1.15fr; gap: 15px; }.outbox-table .table-row { grid-template-columns: 1.2fr 1.6fr .75fr .5fr 20px; gap: 17px; }.staff-table .table-row { grid-template-columns: 1.3fr 1fr 1.2fr .55fr 20px; gap: 17px; }
.person-cell { display: flex; align-items: center; gap: 11px; }.person-cell > span { min-width: 0; }.avatar.email { color: var(--teal); background: #e2f0ef; font-size: 14px; }
.tag { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 5px; color: #596276; background: #edeef1; font-size: 10px; font-weight: 750; }.tag.dark { color: var(--white); background: var(--ink); }
.status-pill { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 99px; font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }.status-pill.upcoming, .status-pill.pending, .status-pill.queued, .status-pill.submitting, .status-pill.retrying, .status-pill.deferred, .status-pill.sent { color: var(--amber); background: var(--amber-soft); }.status-pill.available, .status-pill.accepted, .status-pill.delivered { color: var(--green); background: var(--green-soft); }.status-pill.declined, .status-pill.failed, .status-pill.uncertain, .status-pill.rejected, .status-pill.bounced, .status-pill.complained, .status-pill.withdrawn { color: var(--red); background: var(--red-soft); }.status-pill.held, .status-pill.cancelled, .status-pill.none { color: var(--muted); background: #eceef1; }.status-pill.partial { color: var(--teal); background: #e1f1f1; }.status-pill.neutral { color: var(--muted); background: #eceef1; }
.progress-cell { display: grid; gap: 7px; }.response-bar { display: block; width: 100%; max-width: 180px; height: 5px; overflow: hidden; border-radius: 99px; background: #e5e3de; }.response-bar i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.empty-state { padding: 55px 25px; text-align: center; }.empty-state p { color: var(--muted); }.empty-state.prominent { max-width: 550px; margin: 15vh auto; }.empty-code { color: #d8d4cc; font-family: Georgia, serif; font-size: 70px; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 17px; max-width: 980px; margin: 0 auto; }.form-card, .content-card { padding: clamp(20px, 3vw, 31px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }.form-card-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 25px; }.form-card-heading > span { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px; border-radius: 50%; color: var(--burgundy); background: var(--red-soft); font-size: 10px; font-weight: 850; }.form-card-heading h2, .form-card-heading p { margin-bottom: 3px; }.form-card-heading p { color: var(--muted); font-size: 12px; }
.field-grid { display: grid; gap: 18px; }.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }.span-two { grid-column: span 2; }.span-three { grid-column: span 3; }.grow { flex: 1; }
label { display: grid; gap: 7px; color: #424c5f; font-size: 11px; font-weight: 750; }
input, select, textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #d7d9dc; border-radius: 7px; outline: none; color: var(--text); background: var(--white); transition: border .15s, box-shadow .15s; }
textarea { resize: vertical; line-height: 1.5; }.template-editor { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(157,60,82,.1); }.optional { display: inline; margin-left: 4px; color: #626b7b; font-size: 9px; font-weight: 500; text-transform: uppercase; }
.instrument-groups { display: grid; gap: 22px; }.instrument-groups fieldset { padding: 0; border: 0; }.instrument-groups legend { margin-bottom: 10px; color: var(--ink); font-size: 12px; font-weight: 800; }.check-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }.check-card { display: block; }.check-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }.check-card span { display: flex; align-items: center; min-height: 38px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: var(--white); font-size: 11px; cursor: pointer; }.check-card input:checked + span { border-color: var(--burgundy); color: var(--burgundy); background: #fff6f7; box-shadow: inset 3px 0 var(--burgundy); }.check-card input:focus-visible + span { outline: 3px solid rgba(157,60,82,.35); outline-offset: 3px; }
.compact-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.compact-card h2 { margin-bottom: 3px; }.compact-card p { margin: 0; color: var(--muted); font-size: 12px; }.toggle { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; white-space: normal; }.toggle input { position: absolute; z-index: 1; left: 0; top: 50%; width: 43px; height: 24px; min-height: 24px; margin: 0; padding: 0; transform: translateY(-50%); opacity: 0; }.toggle > span { flex: 0 0 43px; position: relative; width: 43px; height: 24px; border-radius: 99px; background: #c9cdd4; }.toggle > span::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.2); content: ""; transition: .16s; }.toggle input:focus-visible + span { outline: 3px solid var(--burgundy); outline-offset: 3px; }.toggle input:checked + span { background: var(--green); }.toggle input:checked + span::after { transform: translateX(19px); }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 8px 0 20px; }.form-actions.spread { justify-content: space-between; max-width: 980px; margin: auto; }.form-actions.sticky { position: sticky; z-index: 5; bottom: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,253,250,.94); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.short-field { max-width: 200px; }.placeholder-help { margin-top: 17px; padding: 15px; border-radius: 8px; background: #f3f0e9; }.placeholder-help strong { display: block; margin-bottom: 7px; font-size: 11px; }.placeholder-help div { display: flex; flex-wrap: wrap; gap: 6px; }.placeholder-help code { padding: 4px 7px; border: 1px solid #ded9cf; border-radius: 5px; color: var(--burgundy); background: var(--white); font-size: 10px; }
.rehearsal-list { display: grid; gap: 13px; margin-bottom: 14px; }.rehearsal-row { display: flex; align-items: flex-start; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf7; }.rehearsal-number { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; margin-top: 23px; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 10px; font-weight: 800; }.remove-rehearsal { margin-top: 20px; }
.large-check { width: 18px; min-height: 18px; accent-color: var(--burgundy); }.selectable-table label.table-row { cursor: pointer; }.selectable-table label.table-row:has(.large-check:checked) { background: #fff6f7; box-shadow: inset 3px 0 var(--burgundy); }
.directory-actions { display: flex; justify-content: flex-end; gap: 9px; }.sort-link { display: inline-flex; align-items: center; gap: 4px; color: inherit; }.sort-link.active { color: var(--burgundy); }.invite-filters { align-items: end; }.invite-filters label { min-width: min(300px, 100%); }.invite-filters select { min-height: 42px; }.priority-rank { color: var(--ink); font-weight: 800; }.priority-rank.unranked { color: var(--muted); font-weight: 600; }

.series-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: 1400px; margin: -42px auto 0; padding: 38px clamp(28px, 4vw, 50px); color: #d9dfeb; background: var(--ink); }.series-hero h1 { margin: 12px 0 6px; color: var(--white); font-size: clamp(2.2rem, 4vw, 3.6rem); }.series-hero p { margin: 0; color: #b6c0d1; }.back-link.light { color: #b6c0d1; }.hero-kicker { display: flex; align-items: center; gap: 10px; font-size: 11px; }.hero-actions { display: flex; gap: 8px; }.anchor-tabs { display: flex; gap: 32px; max-width: 1400px; margin: 0 auto 30px; padding: 0 5px; border-bottom: 1px solid var(--line); }.anchor-tabs a { padding: 18px 2px 14px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 12px; font-weight: 750; }.anchor-tabs a:hover { border-color: var(--burgundy); color: var(--burgundy); }.anchor-tabs span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; border-radius: 99px; background: #e7e3da; font-size: 9px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(250px, .8fr); align-items: start; gap: 17px; }.detail-main, .detail-aside { display: grid; gap: 17px; }.programme-text { margin: 20px 0 25px; white-space: pre-line; color: var(--ink); font-family: Georgia, serif; font-size: 18px; line-height: 1.65; }.credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-top: 18px; border-top: 1px solid var(--line); }.credit-grid span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.credit-grid strong { display: block; margin-top: 3px; color: var(--ink); }
.timeline { margin: 8px 0 0; padding: 0; list-style: none; }.timeline li { position: relative; display: grid; grid-template-columns: 155px 1fr auto; align-items: start; gap: 18px; min-height: 70px; padding: 0 0 24px 25px; border-left: 1px solid #d5d0c8; }.timeline li:last-child { min-height: auto; padding-bottom: 0; border-color: transparent; }.timeline-dot { position: absolute; top: 2px; left: -6px; width: 11px; height: 11px; border: 3px solid var(--paper); border-radius: 50%; background: #a7acb5; box-shadow: 0 0 0 1px #a7acb5; }.concert-event .timeline-dot { background: var(--burgundy); box-shadow: 0 0 0 1px var(--burgundy); }.timeline-date strong, .timeline-place strong { display: block; color: var(--ink); font-size: 12px; }.timeline-date span, .timeline-place span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.response-summary { padding: 25px; border-radius: var(--radius); color: #dfe5ef; background: var(--ink); }.response-summary .eyebrow { color: #dca3b0; }.response-total { display: block; margin: 8px 0 19px; color: var(--white); font-family: Georgia, serif; font-size: 40px; font-weight: 400; }.response-total small { display: inline; color: #abb6c8; font-family: inherit; font-size: 15px; }.summary-row { display: flex; align-items: center; justify-content: space-between; min-height: 35px; color: #bec7d5; font-size: 11px; }.summary-row span { display: flex; align-items: center; }.summary-row b { color: var(--white); }.summary-row.total { margin-top: 8px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.12); }.dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; }.dot.green { background: #5bc19e; }.dot.amber { background: #e6b85e; }.dot.red { background: #e07887; }
.info-card { display: flex; gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }.info-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 33px; border-radius: 8px; color: var(--amber); background: var(--amber-soft); }.info-card strong { color: var(--ink); font-size: 12px; }.info-card p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.roster-card { overflow-x: auto; }.roster-table { min-width: 1050px; }.roster-table .table-row { grid-template-columns: 1.4fr .9fr .75fr .85fr .85fr 1.35fr; gap: 12px; }.attendance { font-size: 11px; font-weight: 750; }.attendance.yes { color: var(--green); }.attendance.no { color: var(--red); }.attendance.unknown { color: var(--muted); }.rehearsal-dots { display: flex; gap: 4px; }.rehearsal-dots i, .legend-box { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 5px; font-style: normal; font-size: 9px; font-weight: 800; }.rehearsal-dots .yes, .legend-box.yes { color: var(--green); background: var(--green-soft); }.rehearsal-dots .no, .legend-box.no { color: var(--red); background: var(--red-soft); }.rehearsal-dots .unknown, .legend-box.unknown { color: var(--muted); background: #eceef1; }.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }.row-actions form { margin: 0; }.roster-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin: 12px 4px; font-size: 10px; }.roster-legend > span { display: flex; align-items: center; gap: 5px; }.roster-legend .muted { margin-left: auto; }
.activity-list { padding-top: 12px; padding-bottom: 12px; }.activity-item { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 13px; padding: 14px 0; border-top: 1px solid var(--line); }.activity-item:first-child { border: 0; }.activity-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--burgundy); background: var(--red-soft); }.activity-item strong { color: var(--ink); font-size: 12px; }.activity-item p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }.activity-item > span:last-child { color: var(--muted); font-size: 10px; text-align: right; }.activity-item > span:last-child small { margin-top: 2px; }

.guest-body { min-height: 100vh; background: var(--ink); }.guest-content { min-height: 100vh; }.login-layout { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 100vh; }.login-story { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: clamp(40px, 8vw, 120px); color: #b9c4d6; background: radial-gradient(circle at 25% 20%, #293959 0, var(--ink) 50%); }.login-story .brand { position: absolute; top: 35px; left: clamp(40px, 8vw, 120px); }.login-story > .eyebrow { color: #d9a6b2; }.login-story h1 { max-width: 590px; margin-bottom: 25px; color: var(--white); font-size: clamp(3rem, 5vw, 5rem); }.login-story h1 em { color: #e0a9b5; font-weight: 400; }.login-story > p:last-of-type { max-width: 470px; font-size: 17px; }.staff-lines { position: absolute; right: -5%; bottom: 8%; left: 45%; display: grid; gap: 11px; transform: rotate(-7deg); opacity: .13; }.staff-lines i { height: 1px; background: var(--white); }.staff-lines b { position: absolute; top: -27px; left: 30%; color: var(--white); font-family: Georgia, serif; font-size: 65px; }.login-panel { display: grid; place-items: center; padding: 35px; background: var(--ivory); }.login-card { width: min(400px, 100%); padding: 37px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }.login-card h2 { margin-bottom: 5px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; }.login-card > label { margin-top: 18px; }.login-card .button { margin-top: 23px; }.login-card > p.muted a { display: inline-flex; align-items: center; min-height: 24px; }.demo-note { display: flex; justify-content: space-between; gap: 10px; margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.demo-note strong { color: var(--ink); }

.response-body { min-height: 100vh; background: var(--ivory); }.response-header { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; color: var(--white); background: var(--ink); }.response-header .brand-mark { width: 31px; height: 31px; flex-basis: 31px; font-size: 15px; }.response-header strong { font-family: Georgia, serif; font-weight: 500; }.response-main { width: min(720px, calc(100% - 28px)); margin: 0 auto; padding: 42px 0 65px; }.response-intro { margin-bottom: 25px; text-align: center; }.response-intro h1 { margin-bottom: 7px; }.response-subtitle { color: var(--muted); font-size: 16px; }.response-event-card { display: grid; grid-template-columns: 125px 1fr; overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }.event-ribbon { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; color: var(--white); background: var(--ink); text-align: center; }.event-ribbon span { font-family: Georgia, serif; font-size: 18px; }.event-ribbon strong { color: #d6deeb; font-size: 12px; }.response-event-card > div:last-child { padding: 24px; }.response-event-card h2 { font-family: Georgia, serif; font-weight: 500; }.response-event-card dl { display: flex; flex-wrap: wrap; gap: 25px; margin-bottom: 0; }.response-event-card dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.response-event-card dd { margin: 2px 0 0; color: var(--ink); font-size: 12px; font-weight: 700; }
.response-form { display: grid; gap: 16px; }.response-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }.response-choices { display: grid; gap: 9px; }.response-choice { display: grid; grid-template-columns: 20px 38px 1fr; align-items: center; gap: 11px; min-height: 68px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); cursor: pointer; }.response-choice:hover { border-color: #bbb4aa; }.response-choice:has(input:checked) { border-color: var(--burgundy); background: #fff7f8; box-shadow: inset 3px 0 var(--burgundy); }.response-choice input { width: 17px; min-height: 17px; accent-color: var(--burgundy); }.choice-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; font-size: 17px; }.accept .choice-icon { color: var(--green); background: var(--green-soft); }.partial .choice-icon { color: var(--teal); background: #e1f1f1; }.decline .choice-icon { color: var(--red); background: var(--red-soft); }.response-choice strong { display: block; color: var(--ink); font-size: 13px; }.response-choice small { margin-top: 2px; font-size: 10px; }
.availability-list { display: grid; gap: 8px; }.availability-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; }.availability-row.concert { border-color: #c8ced9; background: #f4f6f9; }.availability-row > div:first-child { display: grid; gap: 3px; }.availability-row strong { color: var(--ink); font-size: 12px; }.availability-row small { font-size: 10px; }.segmented { display: flex; overflow: hidden; flex: 0 0 auto; border: 1px solid #d4d7dc; border-radius: 7px; }.segmented label { display: block; }.segmented input { position: absolute; opacity: 0; }.segmented span { display: grid; place-items: center; min-width: 53px; min-height: 35px; color: var(--muted); background: var(--white); cursor: pointer; font-size: 11px; }.segmented label + label span { border-left: 1px solid #d4d7dc; }.segmented input:checked + span { color: var(--white); background: var(--ink); }.warning-note { margin-top: 15px; padding: 13px 15px; border-left: 3px solid var(--amber); border-radius: 4px; background: var(--amber-soft); }.warning-note strong { color: #76501b; font-size: 11px; }.warning-note p { margin: 2px 0 0; color: #81622e; font-size: 10px; }.response-actions { padding: 0; }.response-actions .button { width: 100%; min-height: 50px; font-size: 14px; }.privacy-note { margin: 20px auto 0; max-width: 530px; color: var(--muted); font-size: 10px; text-align: center; }
.response-complete { padding: 65px 30px; text-align: center; }.complete-mark { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 29px; }.complete-mark.unavailable { color: var(--red); background: var(--red-soft); }.response-complete > p { max-width: 520px; margin-right: auto; margin-left: auto; color: var(--muted); }.confirmation-card { display: grid; width: min(360px, 100%); margin: 28px auto; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }.confirmation-card span, .confirmation-card h2 { margin: 0; color: var(--muted); font-family: inherit; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.confirmation-card strong { margin: 5px 0; color: var(--ink); font-family: Georgia, serif; font-size: 25px; }

.email-preview { max-width: 980px; margin: 0 auto 15px; overflow: hidden; border: 1px solid #d6d9df; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }.email-chrome { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 15px; background: #e9ebef; }.email-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #c3c7ce; }.email-chrome b { margin-left: 8px; color: var(--muted); font-size: 10px; }.email-meta { padding: 18px 25px; border-bottom: 1px solid var(--line); }.email-meta div { display: grid; grid-template-columns: 65px 1fr; padding: 3px 0; font-size: 11px; }.email-meta span { color: var(--muted); }.email-meta strong { color: var(--text); font-weight: 600; }.email-preview pre { margin: 0; padding: 30px 40px; color: #333b49; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }.email-link-action { display: flex; align-items: center; gap: 14px; padding: 18px 25px; border-top: 1px solid var(--line); background: #f7f5f0; }
.structure-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 22px; max-width: 1400px; margin: 0 auto; }.structure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.structure-card { min-height: 180px; padding: 19px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }.structure-card-heading { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: end; gap: 10px; }.section-symbol { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 2px; border-radius: 8px; color: var(--burgundy); background: var(--red-soft); font-family: Georgia, serif; }.structure-title-form { display: flex; align-items: end; gap: 7px; }.structure-title-form label { flex: 1; }.structure-title-form label span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.structure-title-form input { min-height: 36px; padding: 7px 9px; }.structure-instruments { display: grid; gap: 7px; margin-top: 16px; }.structure-instrument { border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; }.structure-instrument summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; cursor: pointer; }.structure-instrument summary strong { color: var(--ink); font-size: 11px; }.structure-instrument summary span { color: var(--muted); font-size: 9px; }.structure-editor { display: grid; gap: 13px; padding: 12px; border-top: 1px solid var(--line); }.structure-edit-form { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8px; }.structure-edit-form .button { grid-column: 1 / -1; }.part-editor { display: grid; gap: 7px; padding: 10px; border-radius: 7px; background: var(--white); }.part-editor h4 { margin: 0 0 2px; font-size: 10px; }.part-editor > .muted { margin: 0; font-size: 9px; }.part-row { display: flex; align-items: center; gap: 7px; }.part-edit-form, .part-add-form { display: flex; align-items: center; flex: 1; gap: 7px; }.part-edit-form input, .part-add-form input { min-height: 34px; padding: 6px 8px; font-size: 10px; }.part-add-form { margin-top: 3px; }.structure-delete-form { padding-top: 3px; border-top: 1px solid var(--line); }.structure-actions { display: grid; gap: 14px; }.structure-actions .form-card { padding: 20px; }.structure-actions form { display: grid; gap: 12px; }
.structure-edit-form label small { max-width: 240px; margin-top: 5px; font-size: 9px; }
.instrument-scope-groups { display: grid; gap: 16px; }.instrument-scope-group { min-width: 0; margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: #fbfaf7; }.instrument-scope-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 11px; }.instrument-scope-heading > strong { color: var(--ink); font-size: 13px; }.scope-shortcut { display: none; align-items: center; gap: 7px; color: var(--burgundy); cursor: pointer; font-size: 10px; font-weight: 750; }.js .scope-shortcut { display: flex; }.scope-shortcut input { width: 16px; min-height: 16px; margin: 0; accent-color: var(--burgundy); }.scope-shortcut span { white-space: nowrap; }.scope-shortcut small { min-width: 66px; font-size: 9px; text-align: right; }
.structure-order-form { max-width: 980px; margin: 0 auto; }.structure-order-list { display: grid; gap: 13px; padding: 3px; border-radius: 13px; transition: background .15s; }.structure-order-section { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 3px 12px rgba(31,38,54,.025); }.structure-order-heading { display: grid; grid-template-columns: 38px 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #faf8f3; }.structure-order-heading h2 { margin: 1px 0 0; font-size: 17px; }.structure-order-heading small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.structure-drag-handle { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 7px; color: #8d95a2; background: var(--white); cursor: grab; font-size: 19px; }.structure-drag-handle:active { cursor: grabbing; }.structure-drag-handle.small { width: 31px; height: 31px; font-size: 16px; }.structure-order-number { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 10px; font-weight: 800; }.structure-order-number.instrument-number { color: var(--burgundy); background: var(--red-soft); }.structure-order-instruments { display: grid; gap: 7px; min-height: 65px; padding: 12px; transition: background .15s, box-shadow .15s; }.structure-order-instrument { display: grid; grid-template-columns: 31px 28px minmax(130px, 1fr) minmax(185px, .65fr) auto; align-items: center; gap: 10px; min-height: 55px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; }.structure-order-instrument > strong { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; }.instrument-destination { display: grid; grid-template-columns: auto minmax(120px, 1fr); align-items: center; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 750; }.instrument-destination select { min-height: 34px; padding: 5px 27px 5px 8px; font-size: 10px; }.structure-order-actions { display: flex; gap: 4px; }.structure-order-actions .icon-button { border: 1px solid var(--line); background: var(--white); font-size: 15px; }.structure-order-actions .icon-button:disabled { cursor: default; opacity: .35; }.structure-order-empty { display: grid; place-items: center; min-height: 48px; margin: 0; border: 1px dashed #d3cec5; border-radius: 7px; color: var(--muted); font-size: 10px; }.structure-order-section.dragging, .structure-order-instrument.dragging { opacity: .45; }.structure-order-list.drop-target, .structure-order-instruments.drop-target { background: #fff6f7; box-shadow: inset 0 0 0 2px rgba(157,60,82,.28); }

.section-actions, .page-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.export-menu { position: relative; }.export-menu summary { list-style: none; }.export-menu summary::-webkit-details-marker { display: none; }.export-options { position: absolute; z-index: 20; top: calc(100% + 7px); right: 0; display: grid; min-width: 175px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: var(--shadow); }.export-options a { display: flex; justify-content: space-between; gap: 15px; padding: 11px 13px; color: var(--ink); font-size: 11px; font-weight: 700; }.export-options a + a { border-top: 1px solid var(--line); }.export-options a:hover { background: var(--ivory); }.export-options small { color: var(--muted); font-size: 9px; }
.conductor-access-grid .check-card > span { display: block; }.conductor-access-grid .check-card strong { display: block; color: var(--ink); font-size: 12px; }.conductor-access-grid .check-card small { margin-top: 2px; font-size: 10px; }.empty-inline { padding: 18px; border: 1px dashed #d3cec5; border-radius: 9px; background: #faf8f3; }.empty-inline strong { color: var(--ink); }.empty-inline p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }

.programme-preview { max-width: 1000px; margin: 0 auto; padding: 30px; border-radius: var(--radius); background: #e6e2da; }.programme-paper { width: min(760px, 100%); min-height: 920px; margin: 0 auto; padding: clamp(45px, 8vw, 85px); color: #252525; background: #fff; box-shadow: 0 18px 45px rgba(31,38,54,.16); }.programme-paper > header { padding-bottom: 35px; border-bottom: 1px solid #b9b2a6; text-align: center; }.programme-paper > header p { margin: 8px 0 12px; color: #555; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }.programme-paper > header h1 { margin-bottom: 14px; color: #161616; font-size: clamp(2.2rem, 5vw, 3.4rem); }.programme-paper > header div { color: #555; font-family: Georgia, serif; font-size: 13px; }.programme-ornament { color: var(--burgundy); font-family: Georgia, serif; font-size: 25px; }.programme-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 34px 60px; padding: 45px 0; }.programme-section { break-inside: avoid; }.programme-section h2 { margin-bottom: 13px; padding-bottom: 7px; border-bottom: 1px solid #d3cec5; color: #1a1a1a; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }.programme-section ol { margin: 0; padding: 0; list-style: none; }.programme-section li { margin: 7px 0; color: #333; font-family: Georgia, serif; font-size: 14px; }.programme-empty { padding: 100px 15px; text-align: center; }.programme-empty h2 { font-family: Georgia, serif; font-weight: 500; }.programme-empty p { color: #777; }.programme-paper > footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 20px; }.programme-paper > footer span { height: 1px; background: #c9c4ba; }.programme-paper > footer small { color: #777; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.narrow-callout { max-width: 980px; }.seating-section { padding-bottom: 22px; }.seating-list { display: grid; gap: 7px; }.seat-row { display: grid; grid-template-columns: 25px 34px minmax(0, 1fr) auto 76px; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; cursor: grab; }.seat-row.dragging { opacity: .45; }.drag-handle { color: #a2a7b0; font-size: 18px; }.seat-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 10px; font-weight: 800; }.seat-player strong { display: block; color: var(--ink); font-size: 12px; }.seat-player small { margin-top: 2px; font-size: 10px; }.seat-actions { display: flex; }.seat-actions .icon-button { border: 1px solid var(--line); background: var(--white); font-size: 15px; }.seat-actions .icon-button + .icon-button { margin-left: 4px; }
.programme-credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; padding: 28px 0; border-bottom: 1px solid #d3cec5; }.programme-credits span, .programme-repertoire > p { display: block; margin-bottom: 5px; color: #777; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.programme-credits strong { color: #222; font-family: Georgia, serif; font-size: 15px; font-weight: 500; }.programme-repertoire { padding: 28px 0; border-bottom: 1px solid #d3cec5; }.programme-repertoire > p { margin-bottom: 10px; }.programme-repertoire > div { white-space: pre-line; color: #222; font-family: Georgia, serif; font-size: 15px; line-height: 1.7; }.programme-roster-title { margin: 35px 0 0; color: #222; font-family: Georgia, serif; font-size: 26px; font-weight: 500; text-align: center; }.programme-roster-title + .programme-sections { padding-top: 30px; }.programme-part { margin: 13px 0 17px; padding-left: 12px; border-left: 1px solid #d3cec5; }.programme-part h3 { margin: 0 0 7px; color: #555; font-family: Georgia, serif; font-size: 14px; font-weight: 600; }
.rehearsal-key { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; max-width: 980px; margin: 0 auto 17px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }.rehearsal-key > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }.rehearsal-key b { color: var(--ink); }.rehearsal-key small { display: flex; align-items: center; gap: 5px; margin-left: auto; }.rehearsal-key small i, .seat-rehearsals i { display: inline-grid; place-items: center; min-width: 24px; height: 23px; padding: 0 5px; border-radius: 5px; font-style: normal; font-size: 9px; font-weight: 800; }.rehearsal-key .yes, .seat-rehearsals .yes { color: var(--green); background: var(--green-soft); }.rehearsal-key .no, .seat-rehearsals .no { color: var(--red); background: var(--red-soft); }.rehearsal-key .unknown, .seat-rehearsals .unknown { color: var(--muted); background: #eceef1; }.seat-row { grid-template-columns: 25px 34px minmax(140px, 1fr) minmax(250px, 1.15fr) minmax(115px, auto) auto 76px; }.seat-assignment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }.seat-instrument, .seat-part { display: grid; gap: 3px; }.seat-instrument > span, .seat-part > span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.seat-instrument select, .seat-part select { min-height: 34px; padding: 5px 27px 5px 8px; font-size: 10px; }.seat-rehearsals { display: flex; flex-wrap: wrap; gap: 4px; }

.music-response-intro .button { margin-top: 10px; }.music-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; max-width: 1400px; margin: 0 auto 18px; color: var(--muted); font-size: 11px; }.music-breadcrumbs a { color: var(--burgundy); font-weight: 750; }.music-create-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto 25px; }.music-quick-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; padding: 22px; }.music-quick-form > div { grid-column: 1 / -1; }.music-quick-form h2 { margin: 2px 0 0; font-size: 18px; }.music-browser { max-width: 1100px; margin: 0 auto; }.public-music-browser { max-width: 720px; }.music-item-list { display: grid; gap: 8px; }.music-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }.music-item-main { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 70px; padding: 11px 15px; color: var(--text); }.music-item-main:hover strong { color: var(--burgundy); }.music-item-main strong { display: block; overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.music-item-main small { margin-top: 3px; font-size: 10px; }.music-item-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; color: #8a6520; background: var(--amber-soft); font-size: 20px; }.music-item-icon.file { color: var(--burgundy); background: var(--red-soft); }.download-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--burgundy); background: var(--red-soft); font-weight: 800; }.music-item-actions { position: relative; margin-right: 12px; }.music-item-actions summary { list-style: none; border: 1px solid var(--line); background: var(--white); }.music-item-actions summary::-webkit-details-marker { display: none; }.music-action-panel { position: absolute; z-index: 25; top: calc(100% + 7px); right: 0; display: grid; gap: 13px; width: min(330px, calc(100vw - 35px)); padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--shadow); }.music-action-panel form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; }.music-action-panel form + form { padding-top: 12px; border-top: 1px solid var(--line); }.music-action-panel input { min-height: 36px; padding: 7px 9px; font-size: 10px; }.music-action-panel .button { white-space: nowrap; }.music-empty { grid-column: 1 / -1; }

.button:disabled, .text-button:disabled { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }
.hero-actions { flex-wrap: wrap; justify-content: flex-end; }
.multiline, .pre-line, .privacy-copy { white-space: pre-line; }
.context-body { min-height: 100vh; background: var(--ivory); }
.context-content { width: min(980px, 100%); margin: 0 auto; padding: clamp(24px, 5vw, 60px) clamp(16px, 4vw, 40px) 64px; }
.context-topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(32px, 6vw, 56px); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.context-brand { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.context-brand strong { color: var(--ink); font-family: Georgia, serif; font-size: 22px; font-weight: 500; overflow-wrap: anywhere; }
.context-account { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-width: 0; }
.context-account > span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.context-account form { margin: 0; }
.context-heading { margin-bottom: 28px; }
.context-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.context-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.context-card { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: start; gap: 14px; min-height: 154px; padding: clamp(18px, 3vw, 24px); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--paper); box-shadow: var(--shadow); }
.context-card:hover, .context-card:focus-visible { border-color: var(--burgundy); background: #fff8f8; }
.context-card h2 { margin: 3px 0 9px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; overflow-wrap: anywhere; }
.context-card p { margin: 0; color: var(--muted); font-size: 13px; }
.context-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--burgundy); background: var(--red-soft); font-size: 20px; }
.context-icon.site { color: var(--ink); background: #e7eaf0; }
.context-arrow { margin-top: 4px; color: var(--burgundy); font-size: 20px; }
.context-grid .empty-state { grid-column: 1 / -1; padding: 36px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.form-field { display: grid; gap: 7px; color: #424c5f; font-size: 11px; font-weight: 750; }.field-label { display: block; }.venue-select-row { display: flex; align-items: center; gap: 8px; }.venue-select-row select { min-width: 0; flex: 1; }.venue-select-row .button { white-space: nowrap; }[data-open-venue-dialog] { display: none; }.js [data-open-venue-dialog] { display: inline-flex; }.add-inline-venue { align-items: center; justify-content: center; width: 43px; height: 43px; flex: 0 0 43px; border: 1px solid var(--line); color: var(--burgundy); background: var(--white); font-size: 17px; }
.rehearsal-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }.rehearsal-notes { grid-column: 1 / -1; }
.venue-dialog { width: min(560px, calc(100vw - 28px)); max-height: calc(100vh - 40px); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 15px; color: var(--text); background: var(--paper); box-shadow: 0 24px 70px rgba(23,35,61,.28); }.venue-dialog::backdrop { background: rgba(23,35,61,.58); backdrop-filter: blur(2px); }.venue-dialog > form { display: grid; gap: 21px; padding: 27px; }.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.dialog-heading h2 { margin-bottom: 5px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }.dialog-heading p { margin-bottom: 0; color: var(--muted); font-size: 11px; }.dialog-heading .eyebrow { color: var(--burgundy); }.dialog-heading .icon-button { flex: 0 0 34px; border: 1px solid var(--line); background: var(--white); font-size: 18px; }.venue-dialog .form-actions { padding: 2px 0 0; }.form-error { margin: 0; padding: 10px 12px; border: 1px solid #ecc8ce; border-radius: 7px; color: #8c2f3f; background: #fff2f3; font-size: 11px; }
.venue-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; max-width: 1400px; margin: 0 auto; }.venue-card { display: grid; align-content: start; gap: 18px; }.venue-card-heading { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 13px; }.venue-card-heading h2 { margin: 2px 0 6px; }.venue-card-heading p { margin: 0; color: var(--muted); font-size: 11px; }.venue-card-heading small { margin-top: 8px; font-size: 9px; }.venue-symbol { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; color: var(--burgundy); background: var(--red-soft); font-size: 18px; }.venue-card-notes { padding: 13px 15px; border-radius: 8px; background: #f5f2eb; }.venue-card-notes strong, .venue-access-notes > strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }.venue-card-notes p { margin: 0; color: var(--muted); font-size: 11px; }.venue-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; margin-top: auto; padding-top: 2px; border-top: 1px solid var(--line); }.venue-card-actions form { margin: 0; }
.venue-information-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.venue-information-list > section { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: #fbfaf7; }.venue-information-list h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 17px; font-weight: 500; }.venue-information-list p { margin: 0; color: var(--muted); font-size: 11px; }.venue-information-list p + p { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }.venue-information.form-card { width: 100%; max-width: 980px; margin: 0 auto 17px; }.response-venue-information { margin-bottom: 16px; }.event-note { margin-top: 5px; }
.upcoming-rehearsals { margin-bottom: 16px; }.upcoming-rehearsal-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }.upcoming-rehearsal-list li { display: grid; gap: 4px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 9px; background: #fbfaf7; }.upcoming-rehearsal-list strong { color: var(--ink); font-size: 12px; }.upcoming-rehearsal-list li > span:not(.tag), .upcoming-rehearsal-list p, .upcoming-rehearsals-empty { margin: 0; color: var(--muted); font-size: 11px; }
.email-compose-form { max-width: 1400px; margin: 0 auto; }.email-compose-layout { display: grid; grid-template-columns: minmax(315px, .78fr) minmax(540px, 1.22fr); align-items: start; gap: 17px; }.email-message-card { position: sticky; top: 20px; }.email-template-editor { min-height: 310px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }.placeholder-guide { margin-top: 18px; padding: 15px; border-radius: 9px; background: #f3f0e9; }.placeholder-guide > strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 11px; }.placeholder-guide > div { display: flex; flex-wrap: wrap; gap: 6px; }.placeholder-guide code { padding: 4px 7px; border: 1px solid #ded9cf; border-radius: 5px; color: var(--burgundy); background: var(--white); font-size: 10px; }.placeholder-guide small { margin-top: 9px; }
.email-filter-grid { display: grid; grid-template-columns: 1.25fr repeat(3, minmax(125px, .75fr)); align-items: end; gap: 10px; }.email-search-field .search-shell { width: 100%; height: 43px; padding: 0 12px; }.email-search-field .search-shell:focus-within { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(157,60,82,.1); }.email-search-field .search-shell input { min-height: 39px; padding: 8px 0; box-shadow: none; }.email-picker-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 20px -31px 0; padding: 13px 31px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #faf8f3; }.email-selection-shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 15px; }.email-selection-summary { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: 11px; white-space: nowrap; }.email-selection-summary strong, .email-selection-summary b { color: var(--ink); }.email-selection-summary span { margin-left: 5px; }
.email-recipient-list { display: grid; margin: 0 -31px -31px; }.email-recipient-row { display: grid; grid-template-columns: 24px minmax(180px, 1.25fr) minmax(150px, .85fr) auto; align-items: center; gap: 14px; min-height: 73px; padding: 12px 31px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s, box-shadow .15s; }.email-recipient-row:hover { background: #fbf9f5; }.email-recipient-row.selected { background: #fff6f7; box-shadow: inset 3px 0 var(--burgundy); }.email-recipient-check { display: grid; place-items: center; }.email-recipient-row .person-cell strong, .email-recipient-context strong { display: block; overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; }.email-recipient-context small { margin-top: 3px; }.email-recipient-state { display: grid; justify-items: end; gap: 5px; min-width: 125px; }.email-recipient-state .attendance { font-size: 9px; }.email-recipient-empty, .email-filter-empty { min-height: 180px; }.email-compose-actions { max-width: 1400px; margin: 17px auto 0; }.email-compose-actions .muted, .email-confirm-actions .muted { margin: 0 auto; font-size: 10px; text-align: center; }
.email-review-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto 17px; }.email-review-summary div { display: grid; gap: 4px; }.email-review-summary span, .campaign-metadata dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.email-review-summary strong { color: var(--ink); font-size: 13px; }.email-review-list { display: grid; gap: 9px; max-width: 980px; margin: 0 auto 17px; }.email-review-recipient { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }.email-review-recipient summary { display: grid; grid-template-columns: minmax(190px, .75fr) minmax(220px, 1.25fr) 24px; align-items: center; gap: 18px; min-height: 72px; padding: 11px 18px; cursor: pointer; list-style: none; }.email-review-recipient summary::-webkit-details-marker { display: none; }.email-review-recipient[open] summary { border-bottom: 1px solid var(--line); background: #faf8f3; }.email-review-subject { overflow: hidden; color: var(--text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.review-toggle { position: relative; width: 20px; height: 20px; }.review-toggle::before, .review-toggle::after { position: absolute; top: 9px; left: 4px; width: 12px; height: 2px; border-radius: 2px; background: var(--muted); content: ""; }.review-toggle::after { transform: rotate(90deg); transition: transform .15s; }.email-review-recipient[open] .review-toggle::after { transform: rotate(0); }.email-review-preview { background: var(--white); }.email-review-preview pre { min-height: 150px; margin: 0; padding: 24px 28px; color: #333b49; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }.email-confirm-actions { max-width: 980px; margin: 0 auto; }
.campaign-table { min-width: 980px; }.campaign-table .table-row { grid-template-columns: minmax(220px, 1.45fr) minmax(125px, .7fr) minmax(130px, .68fr) 90px minmax(135px, .75fr) 20px; gap: 17px; }.campaign-title > small { display: flex; align-items: center; gap: 7px; }.delivery-totals { display: flex; flex-wrap: wrap; gap: 4px 9px; }.delivery-totals small { display: inline-flex; align-items: center; gap: 5px; margin: 0; white-space: nowrap; }.delivery-dot { width: 7px; height: 7px; border-radius: 50%; background: #a2a8b1; }.delivery-dot.sent { background: var(--green); }.delivery-dot.failed, .delivery-dot.bounced { background: var(--red); }.status-pill.queued { color: var(--muted); background: #eceef1; }.status-pill.failed { color: var(--red); background: var(--red-soft); }
.campaign-detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, .75fr); align-items: start; gap: 17px; max-width: 980px; margin: 0 auto 35px; }.campaign-message-template h2 { margin: 12px 0 20px; font-family: Georgia, serif; font-weight: 500; }.campaign-message-template pre { min-height: 180px; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; color: #333b49; background: #fbfaf7; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }.campaign-metadata dl { display: grid; gap: 0; margin: 10px 0 0; }.campaign-metadata dl > div { padding: 11px 0; border-top: 1px solid var(--line); }.campaign-metadata dl > div:first-child { border-top: 0; }.campaign-metadata dd { margin: 3px 0 0; color: var(--ink); font-size: 12px; font-weight: 700; }.email-delivery-heading { max-width: 1400px; margin-right: auto; margin-left: auto; }.delivery-table { min-width: 850px; }.delivery-table .table-row { grid-template-columns: minmax(220px, 1.1fr) minmax(220px, 1fr) 145px 80px 20px; gap: 17px; }.delivery-error { color: var(--red); }.email-delivery-error { max-width: 980px; margin: 15px auto; }
.email-template-library { display: grid; gap: 38px; max-width: 1400px; margin: 0 auto; }.email-template-group > .section-heading { align-items: center; }.email-template-group > .section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }.email-template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }.email-template-card { display: grid; align-content: start; gap: 14px; }.email-template-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.email-template-card-heading > div { min-width: 0; }.email-template-card-heading h3 { margin: 0 0 6px; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }.email-template-card-heading p { margin: 0; overflow-wrap: anywhere; color: var(--muted); font-size: 11px; }.email-template-badges { display: flex; align-items: center; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }.email-template-card > small { margin-top: auto; }.email-template-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding-top: 13px; border-top: 1px solid var(--line); }.email-template-actions form { margin: 0; }.email-template-actions .text-button:disabled { cursor: not-allowed; opacity: .45; }.email-template-empty { padding: 28px; }.email-template-empty p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }.template-placeholder-guides { display: grid; gap: 9px; margin-top: 18px; }.template-placeholder-guides details { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #faf8f3; }.template-placeholder-guides summary { padding: 11px 14px; color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 800; }.template-placeholder-guides .placeholder-help { margin: 0; border-top: 1px solid var(--line); border-radius: 0; }.template-placeholder-guides .placeholder-help small { margin-top: 10px; }
.email-template-loader { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 12px; margin-bottom: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #faf8f3; }.email-template-loader label { margin: 0; }.email-template-loader .button { min-height: 42px; }.email-template-loader > small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.staffing-summary { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 3px 12px rgba(31,38,54,.025); }.staffing-total-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--line); background: #faf8f3; }.staffing-total-grid > div { padding: 17px 20px; border-left: 1px solid var(--line); }.staffing-total-grid > div:first-child { border-left: 0; }.staffing-total-grid dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }.staffing-total-grid dd { margin: 3px 0 0; color: var(--ink); font-family: Georgia, serif; font-size: 25px; }.staffing-total-grid dd.complete, .staffing-balance.complete { color: #256f5a; }.staffing-total-grid dd.over, .staffing-balance.over, .staffing-quota-balance.over { color: #87550d; }.staffing-summary-table-wrap, .staffing-player-table-wrap { overflow-x: auto; }.staffing-summary-table-wrap:focus-visible, .staffing-player-table-wrap:focus-visible { outline-offset: -3px; }.staffing-summary-table { min-width: 590px; }.staffing-summary-table th:not(:first-child), .staffing-summary-table td:not(:first-child) { width: 13%; text-align: right; }.staffing-summary-table tbody + tbody .staffing-section-row th { border-top: 2px solid var(--line); }.staffing-summary-table .staffing-section-row th { padding-top: 9px; padding-bottom: 9px; color: var(--burgundy); background: #fffafa; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }.staffing-summary-table tbody tr:last-child td, .staffing-summary-table tbody tr:last-child th { border-bottom: 0; }.staffing-balance { font-weight: 750; white-space: nowrap; }.staffing-empty { padding: 25px; }.staffing-empty p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }.staffing-summary.compact .staffing-total-grid > div { padding: 12px 15px; }.staffing-summary.compact .staffing-total-grid dd { font-size: 20px; }.staffing-summary.compact .semantic-table th, .staffing-summary.compact .semantic-table td { padding-top: 9px; padding-bottom: 9px; }
.staffing-context-card { max-width: 980px; margin: 0 auto 17px; }.staffing-context-card > .section-heading { align-items: center; }.staffing-context-card > .section-heading a { font-size: 11px; font-weight: 750; }.staffing-settings-form { margin-bottom: 40px; }.staffing-policy-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 0; border: 0; }.staffing-policy-options .response-choice { grid-template-columns: 18px 34px 1fr; min-height: 92px; padding: 11px; }.staffing-policy-readonly { display: grid; gap: 3px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #faf8f3; }.staffing-policy-readonly strong { color: var(--ink); }.staffing-policy-readonly span { color: var(--muted); font-size: 11px; }.staffing-quota-groups, .staffing-quota-list, .staffing-player-groups { display: grid; gap: 16px; }.staffing-quota-group { min-width: 0; padding: 0; border: 0; }.staffing-quota-group > legend { margin-bottom: 9px; color: var(--ink); font-size: 12px; font-weight: 800; }.staffing-quota-list { gap: 7px; }.staffing-quota-row { display: grid; grid-template-columns: minmax(155px, 1fr) 120px 85px 85px minmax(105px, .7fr); align-items: center; gap: 12px; min-height: 64px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; }.staffing-quota-row > label { gap: 1px; }.staffing-quota-row > label strong { color: var(--ink); font-size: 12px; }.staffing-quota-row > label span, .staffing-quota-count { color: var(--muted); font-size: 9px; }.staffing-quota-row input { min-height: 38px; padding: 7px 9px; }.staffing-quota-count b { color: var(--ink); font-size: 11px; }.staffing-readonly-target { color: var(--ink); font-size: 11px; font-weight: 750; }.staffing-quota-balance { color: var(--muted); font-size: 10px; font-weight: 750; text-align: right; }.staffing-quota-balance.complete { color: #256f5a; }.staffing-player-section { margin-top: 10px; }.staffing-player-groups { gap: 17px; }.staffing-player-group { padding: 0; overflow: hidden; }.staffing-player-group > .section-heading { margin: 0; padding: 19px 22px; border-bottom: 1px solid var(--line); background: #faf8f3; }.staffing-player-group > .section-heading h3 { margin: 2px 0 0; }.staffing-player-table { min-width: 1060px; }.staffing-player-table th:first-child { width: 22%; }.staffing-player-table th:last-child { width: 35%; }.staffing-player-table th > strong { display: block; }.staffing-player-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; }.staffing-player-actions form { margin: 0; }.staffing-status-form { display: flex; align-items: center; gap: 7px; }.staffing-status-form select { min-width: 120px; min-height: 36px; padding: 6px 9px; font-size: 10px; }.status-pill.staffing-fixed { color: #256f5a; background: var(--green-soft); }.status-pill.staffing-not_needed { color: #5d6574; background: #eceef1; }.status-pill.staffing-pending { color: #87550d; background: var(--amber-soft); }.seating-heading-status { display: grid; justify-items: end; gap: 5px; }.staffing-instrument-progress { color: var(--muted); font-size: 10px; }.staffing-instrument-progress b { color: var(--ink); }.player-staffing-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 18px; margin-bottom: 16px; }.player-staffing-panel h2 { margin: 0; }.player-staffing-panel > p { grid-column: 1 / -1; margin: 2px 0 0; color: var(--muted); font-size: 11px; }.player-staffing-confirmation { margin-top: -12px; }.staffing-text-fixed { color: #256f5a !important; }.staffing-text-not_needed { color: #5d6574 !important; }.staffing-text-pending { color: #87550d !important; }
.operations-alerts { display: grid; gap: 9px; max-width: 1400px; margin: 0 auto 20px; }.operations-alert { display: flex; align-items: center; gap: 13px; padding: 13px 16px; border: 1px solid #ead8aa; border-left: 4px solid var(--amber); border-radius: 8px; color: #74501c; background: var(--amber-soft); }.operations-alert.error { border-color: #ecc8ce; border-left-color: var(--red); color: #832f3d; background: var(--red-soft); }.operations-alert strong { flex: 0 0 auto; font-size: 11px; }.operations-alert span { font-size: 12px; }.operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; max-width: 1400px; margin: 0 auto 17px; }.operations-card { margin: 0; }.operations-details { display: grid; margin: 0; }.operations-details > div { display: grid; grid-template-columns: minmax(130px, .7fr) 1fr; gap: 15px; padding: 11px 0; border-top: 1px solid var(--line); }.operations-details dt { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }.operations-details dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 12px; font-weight: 650; }.operations-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.operations-actions .button { width: 100%; }.operations-runs { max-width: 1400px; margin: 0 auto; }.semantic-table { width: 100%; border-collapse: collapse; background: var(--paper); }.semantic-table th, .semantic-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 11px; }.semantic-table thead th { color: var(--muted); background: #faf8f3; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }.semantic-table tbody th { color: var(--ink); }
.player-profile-summary { max-width: 980px; margin: 0 auto 17px; }.player-profile-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 15px 0 0; }.player-profile-details > div { padding: 13px 16px; border-top: 1px solid var(--line); }.player-profile-details dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.player-profile-details dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 12px; font-weight: 700; }.player-history-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; margin-bottom: 30px; }.history-definition { max-width: 780px; color: var(--muted); font-size: 11px; }.player-history-table-wrap { overflow-x: auto; }.player-history-table { min-width: 820px; }
.settings-toggle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }.settings-toggle-grid > div { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; }.settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 980px; margin: 24px auto 0; }.operations-alert-banner { margin: 0 auto 1.25rem; max-width: 1400px; padding: 1rem 1.25rem; border: 2px solid var(--red); border-radius: 8px; color: #65221d; background: var(--red-soft); }.operations-alert-banner ul { margin: .5rem 0; padding-left: 1.25rem; }.operations-alert-banner a { color: inherit; font-weight: 800; }

@media (max-width: 1100px) {
  :root { --sidebar: 220px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .structure-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }.detail-aside { grid-template-columns: 1fr 1fr; }
  .music-create-grid { grid-template-columns: 1fr; }
  .email-compose-layout { grid-template-columns: 1fr; }.email-message-card { position: static; }
  .operations-grid { grid-template-columns: 1fr; }
  .rehearsal-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }.rehearsal-notes { grid-column: 1 / -1; }
  .staffing-policy-options { grid-template-columns: 1fr; }
  .staffing-quota-row { grid-template-columns: minmax(155px, 1fr) 110px 75px 75px minmax(100px, .7fr); gap: 8px; }
  .player-profile-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow); }.sidebar.open { transform: translateX(0); }
  .mobile-menu { position: fixed; z-index: 40; top: 12px; left: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 9px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); font-size: 20px; }
  .main-content { margin-left: 0; padding: 75px 15px 45px; }
  .page-header { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }.page-header .button { width: 100%; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-card { min-height: 82px; padding: 13px; }.stat-icon { width: 36px; height: 36px; flex-basis: 36px; }.stat-card strong { font-size: 22px; }.stat-card span:last-child { font-size: 10px; }
  .concert-grid { grid-template-columns: 1fr; }.concert-card { min-height: 135px; padding: 17px; }.mini-stats { gap: 9px; }
  .table-card { overflow-x: auto; }.list-toolbar { align-items: stretch; flex-wrap: wrap; }.list-toolbar .search-shell { flex: 1 0 100%; }.list-toolbar.inner { flex-wrap: nowrap; }.list-toolbar.inner .search-shell { flex-basis: auto; }
  .form-actions.sticky { position: static; }
  .form-card { padding: 20px 16px; }.field-grid.two, .field-grid.three, .rehearsal-fields { grid-template-columns: 1fr; }.span-two, .span-three, .rehearsal-notes { grid-column: span 1; }.check-grid { grid-template-columns: repeat(2, 1fr); }.compact-card { align-items: flex-start; flex-direction: column; }
  .rehearsal-row { position: relative; padding: 14px; }.rehearsal-number { display: none; }.remove-rehearsal { position: absolute; top: 4px; right: 4px; margin: 0; }
  .series-hero { align-items: flex-start; flex-direction: column; margin: -75px -15px 0; padding: 76px 20px 28px; }.hero-actions { width: 100%; }.hero-actions .button { flex: 1; }.anchor-tabs { gap: 18px; overflow-x: auto; margin-right: -15px; margin-left: -15px; padding: 0 20px; white-space: nowrap; }
  .detail-aside { grid-template-columns: 1fr; }.credit-grid { grid-template-columns: 1fr; }.timeline li { grid-template-columns: 1fr auto; padding-left: 20px; }.timeline-place { grid-column: 1 / -1; }.timeline li > .tag { grid-column: 2; grid-row: 1; }.roster-legend .muted { flex-basis: 100%; margin-left: 0; }
  .login-layout { grid-template-columns: 1fr; }.login-story { min-height: 300px; padding: 100px 30px 40px; }.login-story .brand { top: 28px; left: 30px; }.login-story h1 { font-size: 2.8rem; }.login-story > p:last-of-type { font-size: 14px; }.login-panel { padding: 25px 14px 40px; }.login-card { margin-top: -10px; padding: 26px 20px; }
  .response-main { padding-top: 28px; }.response-event-card { grid-template-columns: 1fr; }.event-ribbon { flex-direction: row; gap: 8px; padding: 13px; }.response-card { padding: 20px 14px; }.response-choice { grid-template-columns: 18px 34px 1fr; padding: 11px 10px; }.availability-row { align-items: flex-start; flex-direction: column; }.segmented { width: 100%; }.segmented label { flex: 1; }.segmented span { width: 100%; }
  .email-preview pre { padding: 22px 17px; font-size: 11px; }.email-meta { padding: 15px; }.email-link-action { align-items: stretch; flex-direction: column; }.email-link-action .button { width: 100%; }.form-actions.spread { align-items: stretch; flex-direction: column; }
  .structure-layout { grid-template-columns: 1fr; }.structure-grid { grid-template-columns: 1fr; }.structure-card-heading { grid-template-columns: 31px minmax(0, 1fr); }.structure-card-heading > form:last-child { grid-column: 2; }.instrument-scope-heading { align-items: flex-start; flex-direction: column; gap: 7px; }.scope-shortcut small { min-width: 0; text-align: left; }.structure-order-heading { grid-template-columns: 36px 30px minmax(0, 1fr); padding: 12px; }.structure-order-heading > .structure-order-actions { grid-column: 3; }.structure-order-instrument { grid-template-columns: 31px 28px minmax(0, 1fr) auto; }.structure-order-instrument > .instrument-destination { grid-column: 3 / -1; }.structure-order-instrument > .structure-order-actions { grid-column: 4; grid-row: 1; }.activity-item { grid-template-columns: 31px 1fr; }.activity-item > span:last-child { grid-column: 2; text-align: left; }
  .section-heading { align-items: flex-start; flex-direction: column; }.section-actions, .page-actions { width: 100%; }.section-actions .button, .page-actions .button { flex: 1; }.page-actions .export-menu { flex: 1; }.export-menu summary { width: 100%; }.programme-preview { margin-right: -15px; margin-left: -15px; padding: 12px; border-radius: 0; }.programme-paper { min-height: 700px; padding: 38px 25px; }.programme-sections { grid-template-columns: 1fr; gap: 28px; }.seat-row { grid-template-columns: 25px 30px minmax(0, 1fr) 70px; }.seat-assignment, .seat-rehearsals, .seat-status { grid-column: 3; }.seat-actions { grid-column: 4; grid-row: 1 / span 4; flex-direction: column; }.seat-actions .icon-button + .icon-button { margin: 4px 0 0; }
  .programme-credits { grid-template-columns: 1fr; gap: 16px; }.rehearsal-key { align-items: flex-start; flex-direction: column; }.rehearsal-key small { flex-wrap: wrap; margin-left: 0; }.seat-row { grid-template-columns: 25px 30px minmax(0, 1fr) 70px; }.seat-assignment { grid-column: 3; grid-row: 2; }.seat-rehearsals { grid-column: 3; grid-row: 3; }.seat-status { grid-column: 3; grid-row: 4; }.seat-actions { grid-row: 1 / span 4; }
  .music-quick-form { grid-template-columns: 1fr; }.music-quick-form .button { width: 100%; }.music-item-main { grid-template-columns: 37px minmax(0, 1fr) auto; padding: 9px 10px; }.music-item-icon { width: 35px; height: 35px; }.music-action-panel { position: fixed; top: auto; right: 14px; bottom: 14px; left: 14px; width: auto; }.music-action-panel form { grid-template-columns: 1fr; }
  .email-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.email-picker-toolbar { align-items: flex-start; flex-direction: column; margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }.email-selection-summary { white-space: normal; }.email-recipient-list { margin-right: -16px; margin-bottom: -20px; margin-left: -16px; }.email-recipient-row { grid-template-columns: 24px minmax(0, 1fr) auto; padding-right: 16px; padding-left: 16px; }.email-recipient-context { grid-column: 2; }.email-recipient-state { grid-column: 3; grid-row: 1 / span 2; }.email-compose-actions, .email-confirm-actions { align-items: stretch; flex-direction: column; }.email-compose-actions .button, .email-confirm-actions .button { width: 100%; }.email-compose-actions .muted, .email-confirm-actions .muted { order: -1; }.email-review-summary { grid-template-columns: 1fr 1fr; }.email-review-recipient summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 8px 14px; }.email-review-subject { grid-column: 1; grid-row: 2; }.review-toggle { grid-column: 2; grid-row: 1 / span 2; }.campaign-detail-grid { grid-template-columns: 1fr; }
  .email-template-grid { grid-template-columns: 1fr; }.email-template-actions { align-items: stretch; }.email-template-actions .button { width: 100%; }.email-template-actions form { flex: 1 1 115px; }.email-template-actions .text-button { width: 100%; min-height: 36px; }.email-template-loader { grid-template-columns: 1fr; }.email-template-loader .button { width: 100%; }
  .venue-directory, .venue-information-list { grid-template-columns: 1fr; }.venue-dialog > form { padding: 21px 17px; }.venue-select-row { align-items: stretch; flex-direction: column; }.venue-select-row .button { width: 100%; }.venue-select-row .add-inline-venue { width: 43px; align-self: flex-end; }.venue-card-actions { align-items: stretch; flex-direction: column; }.venue-card-actions .button { width: 100%; }.venue-card-actions .text-button { width: 100%; text-align: center; }
  .operations-alert { align-items: flex-start; flex-direction: column; gap: 3px; }.operations-details > div { grid-template-columns: 1fr; gap: 3px; }.operations-actions { grid-template-columns: 1fr; }
  .settings-toggle-grid { grid-template-columns: 1fr; }.settings-actions { align-items: stretch; flex-direction: column; }
  .staffing-total-grid { grid-template-columns: 1fr 1fr; }.staffing-total-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }.staffing-total-grid > div:nth-child(3), .staffing-total-grid > div:nth-child(5) { border-left: 0; }.staffing-total-grid > div:nth-child(5) { grid-column: 1 / -1; }.staffing-quota-row { grid-template-columns: minmax(0, 1fr) 100px; gap: 7px 12px; }.staffing-quota-count { grid-row: 2; }.staffing-quota-balance { grid-column: 2; grid-row: 2; text-align: right; }.staffing-policy-options .response-choice { min-height: 74px; }.staffing-context-card { padding-right: 16px; padding-left: 16px; }.seating-heading-status { justify-items: start; }.player-staffing-panel { grid-template-columns: 1fr; }.player-staffing-panel > p { grid-column: 1; }
  .player-profile-details, .player-history-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 450px) {
  .stat-grid { grid-template-columns: 1fr; }.structure-grid, .check-grid { grid-template-columns: 1fr; }.structure-order-instrument { grid-template-columns: 31px 26px minmax(0, 1fr); }.structure-order-instrument > .instrument-destination { grid-column: 2 / -1; }.structure-order-instrument > .structure-order-actions { grid-column: 2 / -1; grid-row: auto; justify-content: flex-end; }.instrument-destination { grid-template-columns: 1fr; }.date-tile { width: 52px; flex-basis: 52px; }.concert-card { gap: 12px; }.hero-actions { flex-direction: column; }.credit-grid { gap: 9px; }.email-filter-grid { grid-template-columns: 1fr; }.email-selection-shortcuts { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }.email-selection-shortcuts .text-button { min-height: 32px; padding: 5px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }.email-recipient-row { grid-template-columns: 24px minmax(0, 1fr); }.email-recipient-state { grid-column: 2; grid-row: auto; justify-items: start; }.email-review-summary { grid-template-columns: 1fr; }.email-review-preview pre { padding: 20px 16px; }
}

.status-pill.staffing-not-needed { color: #5d6574; background: #eceef1; }
.staffing-text-not-needed { color: #5d6574 !important; }
.status-pill.staffing-not-available { color: var(--red); background: var(--red-soft); }
.staffing-text-not-available { color: var(--red) !important; }
.staffing-quota-label { display: grid; gap: 1px; }
.staffing-summary-table [data-staffing-player-url] { cursor: pointer; }
.staffing-summary-table [data-staffing-player-url]:hover > *, .staffing-summary-table [data-staffing-player-url]:focus-within > * { background: var(--burgundy-soft, #fff2f3); }
.staffing-summary-table [data-staffing-player-url] a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.reminder-pause { margin-top: 16px; }
.reminder-pause summary { cursor: pointer; min-height: 28px; color: var(--ink); }
.reminder-pause-form { display: grid; gap: 12px; margin: 16px 0; }
.reminder-pause-form .button { justify-self: start; }
.row-actions .reminder-notice { flex-basis: 100%; overflow-wrap: anywhere; }
.staffing-quota-label strong { color: var(--ink); font-size: 12px; }
.staffing-quota-label span { color: var(--muted); font-size: 9px; }

@media (max-width: 760px) {
  .staffing-quota-count { grid-row: auto; }
  .staffing-quota-balance { grid-column: 1 / -1; grid-row: auto; text-align: left; }
}

@media print {
  @page { margin: 15mm; }
  body, .app-body, .main-content { color: #000; background: #fff !important; }
  .sidebar, .mobile-menu, .programme-controls, .flash-stack { display: none !important; }
  .main-content { margin: 0 !important; padding: 0 !important; }
  .programme-preview { max-width: none; margin: 0; padding: 0; background: #fff; }
  .programme-paper { width: 100%; min-height: 0; margin: 0; padding: 0; box-shadow: none; }
  .programme-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.time-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.time-field legend { margin-bottom: 7px; color: #424c5f; font-size: 11px; font-weight: 750; }
.time-controls { display: flex; align-items: center; gap: 4px; }
.time-controls select { min-width: 0; flex: 1; padding-left: 7px; padding-right: 20px; }
.upload-queue { margin: 0; padding-left: 20px; overflow-wrap: anywhere; }
.upload-queue li { margin-bottom: 12px; }
.upload-queue progress { display: block; max-width: 100%; margin-top: 6px; }
.upload-queue progress[hidden] { display: none; }

.sidebar { overflow-y: auto; }
.form-field small a { text-decoration: underline; }

/* Fixer-approved deputy cover. */
.rehearsal-dots { flex-wrap: wrap; }
.rehearsal-dots .dep, .legend-box.dep, .seat-rehearsals .dep { color: #563680; background: #eee6fa; }
.dep-rehearsal { border: 1px solid var(--line, #d8dde4); border-radius: 8px; padding: 16px; margin: 16px 0; min-width: 0; }
.dep-rehearsal legend { padding: 0 6px; font-weight: 600; }
.dep-rehearsal .checkbox-line { margin-bottom: 12px; }

.inline-link { text-decoration: underline; text-underline-offset: 2px; }
.form-card .checkbox-line { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.checkbox-line input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; padding: 0; }

/* Keep radio hit areas inside their labels and action rows inside table cells. */
.segmented label { position: relative; }
.segmented input { inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; }
.segmented input:focus-visible + span { outline: 2px solid var(--burgundy); outline-offset: -3px; }
.staffing-player-groups { grid-template-columns: minmax(0, 1fr); }
.staffing-player-group { min-width: 0; }

.staffing-status-form label { position: relative; }
