/* EVM intern
   Helle, kühle Arbeitsfläche mit weißen Karten, Menü in Logo-Anthrazit (Firmenfarben Schwarz, Weiß, Grau). Keine Creme- oder Warmtöne.
   Regeln: DESIGN.md im Projektordner. Neue Farben, Radien und Schriften nur über die Variablen in :root.
   Farbe trägt nur Bedeutung: Rot = überfällig oder kaputt, Gelb = wartet auf dich, Grün = Zusage, Blau = im Gespräch. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800; font-display: swap; }

:root {
  --ink: #16171a; --coal: #232428; --iron: #3a3c42; --ash: #9ba0a8;
  --fog: #dfe2e7; --mist: #eef0f3; --paper: #f2f3f5; --white: #ffffff; --slate: #5c616a;
  --line: #e6e8ec; --tint: #f7f8fa;
  --bad: #b3261e; --bad-bg: #fde8e6;
  --warn: #8a5300; --warn-bg: #fdf0d3;
  --ok: #1d7347; --ok-bg: #e1f4e8;
  --info: #1e5aa0; --info-bg: #e4eefb;
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rail: 14rem;
  --pad: clamp(1rem, 3.2vw, 2.75rem);
  --r: 10px;
  --r-lg: 16px;
  --lift: 0 1px 2px rgba(22, 23, 26, 0.04), 0 4px 16px -6px rgba(22, 23, 26, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.5; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; padding: 0.5rem 0.9rem; background: var(--paper); color: var(--ink); border-radius: var(--r); }
.skip:focus { top: 0.75rem; }

/* ---------- Gerüst ---------- */
.app { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.rail { background: var(--ink); color: var(--paper); display: flex; flex-direction: column; padding: 1.5rem 1rem 1.25rem;
  position: sticky; top: 0; height: 100vh; height: 100dvh; }
.rail :focus-visible { outline-color: var(--paper); }
.rail__logo { display: flex; align-items: flex-end; gap: 0.5rem; text-decoration: none; padding: 0 0.5rem; margin-bottom: 2.25rem; }
.rail__logo img { width: 6.5rem; height: auto; }
.rail__logo span { font-family: var(--f-display); font-stretch: 70%; font-weight: 600; font-size: 1.05rem; line-height: 1; color: var(--ash); padding-bottom: 0.1rem; }
.rail { overflow-y: auto; }
.rail__nav { display: grid; gap: 0.2rem; }
.rail__sub { display: grid; gap: 0.05rem; margin: 0.1rem 0 0.35rem 2.55rem; }
.rail__nav .rail__sub a { padding: 0.32rem 0.6rem; font-size: 0.9375rem; font-weight: 450; }
.rail__nav .rail__sub a[aria-current] { font-weight: 650; }
.rail__group { margin-top: 0.9rem; }
.rail__nav a.rail__label { padding: 0.3rem 0.6rem; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.rail__group .rail__sub { margin-left: 0; }
.rail__settings { margin-top: 0.9rem; }
.rail__mobile, .rail__gear { display: none !important; }
.rail__nav a { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.6rem; border-radius: var(--r);
  text-decoration: none; color: var(--ash); font-weight: 500; }
.rail__nav a:hover { color: var(--paper); background: var(--coal); }
.rail__nav a[aria-current] { color: var(--ink); background: var(--paper); font-weight: 650; }
.rail__user { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.6rem; align-items: center; padding: 0 0.5rem; }
.rail__user .avatar { grid-row: span 2; }
.rail__name { font-size: 0.9375rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail__user .linkbtn { color: var(--ash); font-size: 0.875rem; }
.rail__user .linkbtn:hover { color: var(--paper); }

main { padding: clamp(1.25rem, 3vw, 2.5rem) var(--pad) 4rem; min-width: 0; max-width: 88rem; width: 100%; }
main:focus { outline: none; }
.demo-note { background: var(--warn-bg); color: var(--warn); padding: 0.5rem 0.8rem; border-radius: var(--r); font-size: 0.875rem; margin-bottom: 1.25rem; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head h1 { font-family: var(--f-display); font-stretch: 66%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 0.95; letter-spacing: 0.005em; text-wrap: balance; }
.page-head__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.page-head__sub { margin-top: 0.5rem; color: var(--slate); display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; }
.back { margin-bottom: 0.75rem; font-size: 0.9375rem; }
.back a { color: var(--slate); }
.back a::before { content: "\2039\00a0"; }
.foot-note { margin-top: 1rem; color: var(--slate); font-size: 0.875rem; }
.foot-note a { color: var(--ink); }
.foot-note--warn { color: var(--warn); padding: 0 1.1rem 0.9rem; }
.eyebrow { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.35rem; }
.nowrap { white-space: nowrap; }

/* ---------- Bausteine ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 2.5rem; padding: 0.45rem 1rem;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: var(--r);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--iron); border-color: var(--iron); }
.btn svg { width: 1.05rem; height: 1.05rem; stroke-width: 2.2; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ash); }
.btn--ghost:hover { background: var(--mist); border-color: var(--slate); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: var(--white); border-color: var(--white); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px;
  color: var(--slate); font-size: 0.9375rem; text-align: left; }
.linkbtn:hover { color: var(--ink); }
.linkbtn--bad { color: var(--bad); }
.linkbtn--inverse { color: var(--ash); }
.linkbtn--inverse:hover { color: var(--paper); }

.avatar { display: inline-grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--fog); color: var(--ink); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1; }
.avatar--me { background: var(--ink); color: var(--paper); }
.avatar--inverse { background: var(--paper); color: var(--ink); width: 2rem; height: 2rem; }
.avatar--none { background: transparent; border: 1px dashed var(--ash); color: var(--slate); }
.avatars { display: inline-flex; }
button.avatars { background: none; border: 0; padding: 0.3rem; margin: -0.3rem; border-radius: 999px; }
button.avatars:hover { background: var(--mist); }
button.avatars:hover .avatar--none { border-color: var(--ink); color: var(--ink); }
.avatars .avatar + .avatar { margin-left: -0.2rem; box-shadow: 0 0 0 2px var(--white); }

.count { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; color: var(--slate); margin-left: 0.35rem; }
.tag { font-size: 0.75rem; color: var(--slate); background: var(--mist); border-radius: 3px; padding: 0.05rem 0.4rem; white-space: nowrap; }
.tag--label { background: transparent; box-shadow: inset 0 0 0 1px var(--fog); }
.tag--board { background: var(--ink); color: var(--paper); }
.group__board { font-family: var(--f-body); font-stretch: 100%; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-right: 0.55rem; }
.flag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--warn); background: var(--warn-bg); border-radius: 3px; padding: 0.1rem 0.45rem; white-space: nowrap; }
.flag--bad { color: var(--bad); background: var(--bad-bg); }
.sub { display: block; font-size: 0.8125rem; color: var(--slate); }
.sub--bad { color: var(--bad); }
.sub-inline { font-size: 0.875rem; color: var(--slate); }
.quiet { color: var(--slate); font-size: 0.9375rem; }
.pre { white-space: pre-line; }

.notice { padding: 0.6rem 0.9rem; border-radius: var(--r); margin-bottom: 1rem; font-size: 0.9375rem; }
.notice--ok { background: var(--ok-bg); color: var(--ok); }
.notice--bad { background: var(--bad-bg); color: var(--bad); }
.notice--warn { background: var(--warn-bg); color: var(--warn); }

.sheet { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); }
.sheet + .sheet { margin-top: 1.25rem; }
.sheet__title, .panel__title { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 1.125rem; line-height: 1.2; }
.sheet__title { padding: 0.9rem 1.1rem 0.6rem; }
.sheet--form { padding: 0 1.1rem 1.1rem; max-width: 52rem; }
.sheet--form .sheet__title { padding-left: 0; padding-right: 0; }
.sheet--form > p { margin-bottom: 0.8rem; max-width: 65ch; }

.empty { padding: 2.5rem 1.25rem; text-align: center; color: var(--slate); display: grid; gap: 0.5rem; justify-items: center; }
.empty__title { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 1.375rem; color: var(--ink); }
.empty p { max-width: 42ch; }
.empty .btn { margin-top: 0.6rem; }

/* ---------- Aufgaben ---------- */
.day { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.day__tasks > div, .day__tasks > div > .group:first-child { min-width: 0; }
.day__tasks { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); }
.group__title { display: flex; align-items: baseline; padding: 1rem 1.1rem 0.4rem;
  font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 1.125rem; line-height: 1.2; }
.group + .group { border-top: 1px solid var(--fog); }
.group--late .group__title { color: var(--bad); }
.group--late .count { color: var(--bad); }

.task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.25rem 0.75rem;
  padding: 0.35rem 1.1rem 0.35rem 0.7rem; border-top: 1px solid var(--mist); min-height: 3.25rem; }
.tasks > .task:first-child { border-top: 0; }
.task:hover { background: var(--tint); }
.task.is-done { opacity: 0.45; }
.task.is-done .task__name { text-decoration: line-through; }
.check { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; }
.check::before { content: ""; grid-area: 1 / 1; width: 1.375rem; height: 1.375rem; border: 1.5px solid var(--slate); border-radius: 50%; }
.check svg { grid-area: 1 / 1; width: 0.875rem; height: 0.875rem; stroke-width: 2.6; opacity: 0; }
.check:hover::before { border-color: var(--ink); background: var(--mist); }
.check:hover svg { opacity: 0.55; }
.is-done .check::before { background: var(--ink); border-color: var(--ink); }
.is-done .check svg { opacity: 1; color: var(--paper); }
.task--late .check::before { border-color: var(--bad); }
.task__main { display: grid; gap: 0.15rem; text-align: left; background: none; border: 0; padding: 0.35rem 0; min-width: 0; }
.task__name { font-weight: 500; overflow-wrap: anywhere; }
.task__main:hover .task__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.task__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.task__tags:empty { display: none; }
.due { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; grid-column: 3; }
.task .avatars { grid-column: 4; }
.due--today { color: var(--ink); font-weight: 650; }
.due--late { color: var(--bad); font-weight: 650; }

.who { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.who a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0.25rem 0.85rem 0.25rem 0.35rem;
  border: 1px solid var(--fog); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.9375rem; background: var(--white); }
.who a:not(:has(.avatar)) { padding-left: 0.85rem; }
.who a:hover { border-color: var(--slate); }
.who a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.who a[aria-current] .count { color: var(--ash); }
.who a[aria-current] .avatar { background: var(--paper); color: var(--ink); }

/* ---------- Seitenspalte ---------- */
.day__side { display: grid; gap: 1.75rem; }
.panel__title { padding-bottom: 0.5rem; border-bottom: 2px solid var(--ink); margin-bottom: 0.25rem; }
.panel__sub { font-size: 0.8125rem; font-weight: 600; color: var(--slate); margin: 1rem 0 0.1rem; }
.panel > .quiet, .panel > p { padding-top: 0.6rem; }
.panel > .linkbtn { display: inline-block; margin-top: 0.5rem; }
.panel--flag p { color: var(--warn); }
.panel--flag a { font-weight: 650; }
.agenda__item, .shows li { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--fog); }
.agenda__time { font-family: var(--f-mono); font-size: 0.8125rem; font-weight: 500; padding-top: 0.15rem; }
.agenda--next .agenda__time { color: var(--slate); font-family: var(--f-body); }
.agenda__what { font-weight: 500; overflow-wrap: anywhere; }
.agenda__what a, .shows a { text-decoration: none; }
.agenda__what a:hover, .shows a:hover { text-decoration: underline; }
.agenda__where { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--slate); }
.shows li { grid-template-columns: 4.25rem minmax(0, 1fr) auto; align-items: baseline; }
.shows__date { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; }
.shows__date b { font-family: var(--f-mono); font-weight: 600; color: var(--ink); }
.shows__what { font-weight: 500; }
.shows__in { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; }
.mails li { border-bottom: 1px solid var(--fog); }
.mails a, .mails li > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 0.75rem; padding: 0.55rem 0; text-decoration: none; }
.mails__from { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mails__ago { font-size: 0.8125rem; color: var(--slate); grid-row: 1; grid-column: 2; white-space: nowrap; }
.mails__subject { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mails a:hover .mails__subject { color: var(--ink); text-decoration: underline; }
.team a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px solid var(--fog); text-decoration: none; }
.team a:hover .team__name { text-decoration: underline; }
.team__name { font-weight: 500; }
.team__nums { display: flex; gap: 0.6rem; align-items: baseline; }
.team__open { font-size: 0.8125rem; color: var(--slate); }

/* ---------- Formulare ---------- */
.field { display: grid; gap: 0.3rem; margin-bottom: 0.9rem; min-width: 0; }
.field > span, .field > legend { font-size: 0.875rem; font-weight: 600; }
.field > legend { margin-bottom: 0.3rem; padding: 0; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], input[type=date], input[type=time], input[type=number], select, textarea {
  width: 100%; min-height: 2.5rem; padding: 0.45rem 0.65rem; background: var(--white); border: 1px solid var(--ash); border-radius: var(--r); }
textarea { resize: vertical; min-height: 4.25rem; line-height: 1.45; }
select { appearance: none; padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1rem) 50%, calc(100% - 0.7rem) 50%; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--ash); opacity: 1; }
input[type=checkbox] { width: 1.125rem; height: 1.125rem; accent-color: var(--ink); margin: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0 0.9rem; }
.checkline { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; font-size: 0.9375rem; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-actions .linkbtn { margin-right: auto; }
.form-sub { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 1.125rem; margin: 0.75rem 0 0.75rem; padding-top: 1rem; border-top: 1px solid var(--fog); }
.form-error { color: var(--bad); font-size: 0.9375rem; margin-bottom: 0.75rem; }
.sheet--form > form:first-of-type { padding-top: 0.25rem; }
.sheet--form > .notice { margin-top: 1rem; }

.dialog { width: min(34rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); overflow: auto; }
.dialog::backdrop { background: rgba(22, 23, 26, 0.6); }
.dialog__form { padding: 1.4rem 1.4rem 1.25rem; }
.dialog h2 { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; margin-bottom: 1.1rem; }
.dialog__actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.6rem; margin-top: 0.4rem; flex-wrap: wrap; }
.dialog__actions .linkbtn { margin-right: auto; }
.people { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.person { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0.25rem 0.85rem 0.25rem 0.35rem;
  border: 1px solid var(--ash); border-radius: 999px; background: var(--white); cursor: pointer; font-weight: 500; font-size: 0.9375rem; }
.person input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.person:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.person:has(input:checked) .avatar { background: var(--paper); color: var(--ink); }
.person:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.people--stack { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.people--stack .person { border-radius: var(--r); }
.dialog--small { width: min(24rem, calc(100vw - 1.5rem)); }
.assign__task { margin: -0.6rem 0 1rem; }
.quick-dates { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: -0.35rem 0 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; min-height: 2rem; padding: 0.15rem 0.75rem; border: 1px solid var(--fog); border-radius: 999px;
  background: var(--white); font-size: 0.875rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--slate); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-current] .count { color: var(--ash); }
.chip--flag:not([aria-current]) { background: var(--warn-bg); border-color: var(--warn-bg); color: var(--warn); }
.chip--flag:not([aria-current]) .count { color: var(--warn); }

/* ---------- Festivals ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0 0.9rem; align-items: flex-end; margin-bottom: 0.25rem; }
.field--inline { min-width: 9rem; }
.field--grow { flex: 1 1 14rem; }
.filters .btn { margin-bottom: 0.9rem; }
.js .js-hide { display: none; }

.fest { width: 100%; border-collapse: collapse; }
.fest th { text-align: left; font-size: 0.8125rem; font-weight: 600; color: var(--slate); padding: 0.7rem 0.75rem 0.55rem; border-bottom: 1px solid var(--fog); white-space: nowrap; }
.fest td { padding: 0.65rem 0.75rem; border-top: 1px solid var(--mist); vertical-align: top; }
.fest tbody tr:first-child td { border-top: 0; }
.fest tbody tr:hover { background: var(--tint); }
.fest tr:has(input:checked) { background: var(--mist); }
.fest__check { width: 2.5rem; padding-right: 0 !important; }
.fest__check input { margin-top: 0.2rem; }
.fest__name a { font-weight: 600; text-decoration: none; }
.fest__name a:hover { text-decoration: underline; }
.fest__person { display: block; font-weight: 500; }
.fest__status { white-space: nowrap; }
.fest__status .flag { display: table; margin-top: 0.25rem; }
.fest__last { white-space: nowrap; font-variant-numeric: tabular-nums; }
.copy { background: none; border: 0; padding: 0; font-size: 0.9375rem; text-align: left; overflow-wrap: anywhere; color: var(--ink);
  text-decoration: underline dotted var(--ash); text-underline-offset: 0.2em; }
.copy:hover { text-decoration-style: solid; text-decoration-color: var(--ink); }
.copy--bad { color: var(--bad); text-decoration: line-through; }
.copy.is-copied { text-decoration: none; }

.status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9375rem; white-space: nowrap; }
.status::before { content: ""; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--ink); flex: none; }
.status--geplant::before, .status--none::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ash); }
.status--none { color: var(--slate); }
.status--follow_up::before { background: var(--ink); box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--ink); }
.status--gespraech { color: var(--info); font-weight: 600; }
.status--gespraech::before { background: var(--info); }
.status--zusage { color: var(--ok); font-weight: 700; }
.status--zusage::before { background: var(--ok); }
.status--absage { color: var(--slate); }
.status--absage::before { background: var(--bad); }
.status--zurueckgezogen { color: var(--slate); }
.status--zurueckgezogen::before { background: var(--ash); }
.status--nicht_zugestellt { color: var(--bad); }
.status--nicht_zugestellt::before { background: transparent; box-shadow: inset 0 0 0 2px var(--bad); }

.bulk { position: sticky; top: 0.75rem; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem;
  background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 0.6rem 0.9rem; margin-bottom: 0.75rem; }
.bulk__count { font-weight: 600; margin-right: auto; }
.bulk select { width: auto; background-color: var(--coal); color: var(--paper); border-color: var(--iron);
  background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%), linear-gradient(135deg, var(--paper) 50%, transparent 50%); }
.bulk :focus-visible { outline-color: var(--paper); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.detail .sheet > .quiet { padding: 0 1.1rem 0.9rem; }
.row-edit { border-top: 1px solid var(--mist); }
.row-edit summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; padding: 0.75rem 1.1rem; cursor: pointer; list-style: none; }
.row-edit summary::-webkit-details-marker { display: none; }
.row-edit summary:hover { background: var(--tint); }
.row-edit__meta { font-size: 0.875rem; color: var(--slate); }
.row-edit__hint { margin-left: auto; font-size: 0.875rem; color: var(--slate); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.row-edit[open] .row-edit__hint { visibility: hidden; }
.row-edit--add summary .row-edit__lead { color: var(--slate); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; font-size: 0.9375rem; }
.row-edit--add summary .row-edit__lead::before { content: "+ "; }
.row-edit__note { flex: 0 0 100%; color: var(--slate); font-size: 0.9375rem; max-width: 70ch; }
.row-edit__form { padding: 0.5rem 1.1rem 1.1rem; background: var(--paper); border-top: 1px solid var(--mist); }
.row-edit__danger { padding: 0 1.1rem 1rem; background: var(--paper); }
.facts { padding: 0 1.1rem 0.6rem; display: grid; gap: 0.5rem; }
.facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.75rem; }
.facts dt { color: var(--slate); font-size: 0.9375rem; }
.facts dd { overflow-wrap: anywhere; }
.note-form { display: grid; gap: 0.5rem; padding: 0.75rem 0 0.5rem; justify-items: start; }
.history li { padding: 0.6rem 0; border-top: 1px solid var(--fog); font-size: 0.9375rem; overflow-wrap: anywhere; }
.history__when { display: block; font-size: 0.8125rem; color: var(--slate); }

.pick { width: 100%; border-collapse: collapse; margin-bottom: 0.75rem; }
.pick th { text-align: left; font-size: 0.8125rem; font-weight: 600; color: var(--slate); padding: 0.4rem 0.75rem 0.4rem 0; }
.pick td { padding: 0.5rem 0.75rem 0.5rem 0; border-top: 1px solid var(--mist); }
.pick th:not(:first-child), .pick td:not(:first-child) { width: 7.5rem; text-align: center; }
.plain li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.45rem 0; border-top: 1px solid var(--mist); }
.plain li:first-child { border-top: 0; }
.plain + .quiet { margin-top: 0.6rem; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 1rem;
  background: var(--ink); color: var(--paper); padding: 0.7rem 1rem; border-radius: var(--r); font-size: 0.9375rem; max-width: calc(100vw - 2rem);
  box-shadow: 0 6px 24px rgba(22, 23, 26, 0.28); }
.toast--bad { background: var(--bad); }
.toast button { background: none; border: 0; padding: 0; color: var(--paper); font-weight: 650; text-decoration: underline; text-underline-offset: 0.18em; }
.toast :focus-visible { outline-color: var(--paper); }

/* ---------- Band-Seiten ---------- */
.bandpage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.bandpage__side { display: grid; gap: 1.75rem; }
.bandpage__side .foot-note { margin-top: 0.6rem; }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 1fr); gap: 0.75rem; overflow-x: auto;
  padding-bottom: 0.75rem; scroll-snap-type: x proximity; }
.kanban__col { background: var(--mist); border-radius: var(--r); padding: 0.6rem 0.5rem 0.5rem; scroll-snap-align: start; min-width: 0; align-self: start; }
.kanban__title { display: flex; align-items: baseline; padding: 0.15rem 0.4rem 0.5rem; font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 1.0625rem; }
.kanban .tasks { display: grid; gap: 0.4rem; }
.task--card { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.35rem 0.6rem 0.35rem 0.15rem; min-height: 0; gap: 0 0.3rem; align-items: start; }
.tasks > .task--card:first-child { border-top: 1px solid var(--fog); }
/* Titel über die volle Kartenbreite; Fälligkeit und Personen teilen sich die Zeile darunter */
.task.task--card .check { width: 2rem; height: 2rem; margin-top: 0.1rem; }
.task.task--card .check::before { width: 1.125rem; height: 1.125rem; }
.task.task--card .task__main { grid-column: 2 / -1; grid-row: 1; }
.task.task--card .due { grid-column: 2; grid-row: 2; padding-bottom: 0.4rem; align-self: center; }
.task.task--card .avatars { grid-column: 3; grid-row: 2; align-self: center; padding-bottom: 0.4rem; }
.task--card .avatar { width: 1.5rem; height: 1.5rem; font-size: 0.625rem; }
.task--card .task__name { font-size: 0.9375rem; }
.kanban__add { width: 100%; margin-top: 0.4rem; padding: 0.45rem; background: none; border: 1px dashed transparent; border-radius: var(--r);
  color: var(--slate); font-size: 0.9375rem; text-align: left; }
.kanban__add:hover { border-color: var(--ash); color: var(--ink); background: var(--paper); }
.boardlist { display: grid; gap: 0.6rem; max-width: 44rem; }
.boardlist a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.4rem 1rem; padding: 1rem 1.1rem;
  background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); text-decoration: none; }
.boardlist a:hover { border-color: var(--slate); }
.boardlist__name { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.boardlist__nums { display: flex; gap: 0.75rem; align-items: baseline; }
.boardlist .sub { display: inline; }
.boardlist__group { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin: 1.75rem 0 0.6rem; }
.pick--wide th:not(:first-child), .pick--wide td:not(:first-child) { width: auto; text-align: left; }
.pick--wide td { vertical-align: top; }
.pick--wide .sub { margin-top: 0.2rem; }
.facts--side { padding: 0.6rem 0 0.4rem; }
.facts--side div { grid-template-columns: minmax(0, 1fr); gap: 0; }
.people-table td { font-size: 0.9375rem; }

/* ---------- Uhren und Stand der Daten ---------- */
.page-head--day .page-head__actions { align-items: flex-end; gap: 0.75rem 1.5rem; }
.clocks { display: flex; align-items: center; gap: 1.25rem; }
.clocks__list { display: flex; gap: 1.5rem; }
.clocks__list dt { font-size: 0.6875rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.clocks__list dd { font-family: var(--f-mono); font-size: 1.5rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.clocks__note { font-size: 0.75rem; color: var(--slate); min-height: 1.1em; }
.clocks__note.is-bad { color: var(--bad); font-weight: 600; }

/* ---------- Shows je Band, Geburtstage ---------- */
.panel__band { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin: 1.1rem 0 0; }
.panel__title + .panel__band { margin-top: 0.75rem; }
.panel__band a { text-decoration: none; }
.panel__band a:hover { color: var(--ink); text-decoration: underline; }
.panel > .panel__none { padding-top: 0.3rem; }
.panel > .panel__more { margin-top: 0.35rem; font-size: 0.875rem; }

/* ---------- Was an einer Karte hängt ---------- */
.badge { display: inline-flex; align-items: center; gap: 0.2rem; font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; color: var(--slate); white-space: nowrap; }
.badge svg { width: 0.875rem; height: 0.875rem; stroke-width: 1.8; }
.badge--done { color: var(--ok); }
.task__tags { align-items: center; }

/* ---------- Karte aus Trello ---------- */
.dialog--card { width: min(60rem, calc(100vw - 1.5rem)); }
.card-body { padding: 1.25rem 1.4rem 1.4rem; }
.card__loading { padding: 2rem 0; text-align: center; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card__head .eyebrow { margin: 0; }
.iconbtn { display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; background: none; border: 0; border-radius: 50%; color: var(--slate); }
.iconbtn:hover { background: var(--mist); color: var(--ink); }
.iconbtn--small { width: 1.75rem; height: 1.75rem; }
.iconbtn--small svg { width: 0.875rem; height: 0.875rem; stroke-width: 2.2; }
textarea.card__title { display: block; font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.1;
  background: transparent; border-color: transparent; padding: 0.2rem 0.4rem; margin: 0.35rem 0 0.4rem -0.4rem; width: calc(100% + 0.4rem); min-height: 0;
  resize: none; overflow: hidden; }
textarea.card__title:hover { border-color: var(--fog); }
textarea.card__title:focus-visible { background: var(--white); }
.card__labels { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.4rem; }
.card__grid { display: grid; grid-template-columns: minmax(0, 1fr) 15.5rem; gap: 0.5rem 2rem; align-items: start; margin-top: 0.6rem; }
.card__sec { padding: 0.9rem 0 1rem; border-top: 1px solid var(--fog); }
.card__main > .card__sec:first-child { border-top: 0; padding-top: 0.2rem; }
.card__h { display: flex; align-items: baseline; gap: 0.35rem; font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 1.125rem; line-height: 1.2; margin-bottom: 0.55rem; }
.card__h .linkbtn { margin-left: auto; font-family: var(--f-body); font-weight: 400; font-size: 0.875rem; }
.card__desc { overflow-wrap: anywhere; max-width: 68ch; }
.card__desc a, .comments a, .checks a { text-decoration: underline; }
.card__blank { width: 100%; text-align: left; background: var(--mist); border: 0; border-radius: var(--r); padding: 0.7rem 0.8rem; color: var(--slate); }
.card__blank:hover { background: var(--fog); color: var(--ink); }
.card__row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.card__add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; margin-top: 0.5rem; }
.card__upload { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-top: 0.25rem; }
.filebtn { cursor: pointer; }
.filebtn:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.card__comment { display: grid; gap: 0.5rem; justify-items: start; }
.card__side { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); padding: 0.9rem 0.9rem 1rem; }
.card__side .people--stack { margin-bottom: 0; }
.card__side .person { min-height: 2.25rem; }
.card__actions { display: grid; gap: 0.5rem; justify-items: start; margin-top: 0.4rem; padding-top: 0.9rem; border-top: 1px solid var(--fog); }
.card .form-error { margin: 0.9rem 0 0; }

.checks li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.25rem; border-radius: var(--r); }
.checks li:hover { background: var(--mist); }
.checks label { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.35rem 0.3rem; cursor: pointer; overflow-wrap: anywhere; }
.checks input { margin-top: 0.2rem; flex: none; }
.checks .is-done span { color: var(--slate); text-decoration: line-through; }
.checks .iconbtn { opacity: 0; }
.checks li:hover .iconbtn, .checks .iconbtn:focus-visible { opacity: 1; }

.files li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; padding: 0.45rem 0; border-top: 1px solid var(--mist); }
.files li:first-child { border-top: 0; }
.files > li > svg { color: var(--slate); }
.files__name { font-weight: 500; overflow-wrap: anywhere; }
.files__name .sub { font-weight: 400; }
.files + .card__upload { margin-top: 0.6rem; }

.comments { margin-top: 0.9rem; display: grid; gap: 0.9rem; }
.comments li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem; }
.comments__meta { font-size: 0.875rem; }
.comments__meta span { color: var(--slate); margin-left: 0.3rem; }
.comments .pre { overflow-wrap: anywhere; }

/* Labels: Farbe als Punkt wie in Trello, der Text bleibt schwarz auf hell */
.lbl { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; font-weight: 500; line-height: 1.2; color: var(--ink);
  background: var(--white); border: 1px solid var(--fog); border-radius: 999px; padding: 0.2rem 0.6rem 0.2rem 0.45rem; white-space: nowrap; }
.lbl::before { content: ""; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--ash); flex: none; }
.lbl--green::before { background: #4bce97; } .lbl--yellow::before { background: #e2b203; } .lbl--orange::before { background: #faa53d; }
.lbl--red::before { background: #e2483d; } .lbl--purple::before { background: #9f8fef; } .lbl--blue::before { background: #579dff; }
.lbl--sky::before { background: #6cc3e0; } .lbl--lime::before { background: #94c748; } .lbl--pink::before { background: #e774bb; }
.lbl--black::before { background: #44546f; }
.lblpick { display: flex; flex-wrap: wrap; gap: 0.3rem; }
button.lbl:hover { border-color: var(--slate); }
button.lbl.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Eine Trello-Liste als Seite ---------- */
.listview .tasks { border-top: 1px solid var(--mist); }
.listview__empty { padding: 0.25rem 1.1rem 0.75rem; }
.listview .kanban__add { width: auto; margin: 0.25rem 0.6rem 0.6rem; }
.kanban__board { font-size: 0.75rem; color: var(--slate); padding: 0 0.4rem 0.45rem; margin-top: -0.4rem; }

/* ---------- Kontakte: Reiter, Bands, Team ---------- */
.tabs { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--fog); margin-bottom: 1.25rem; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 0.5rem 0 0.6rem; text-decoration: none; font-weight: 500; color: var(--slate); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); font-weight: 650; border-bottom-color: var(--ink); }
.tabs .count { margin-left: 0.3rem; font-size: 0.75rem; color: var(--slate); }
.bandnav { margin-top: -0.5rem; }
.bandnav__ext { display: inline-flex; align-items: center; gap: 0.3rem; margin-left: auto; }
.bandnav__ext svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.band { scroll-margin-top: 1rem; }
.band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 0.75rem 1.5rem; padding: 1rem 1.1rem 0.9rem; }
.band__name { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: 1.625rem; text-transform: uppercase; line-height: 1; }
.band__facts { display: flex; flex-wrap: wrap; gap: 0.15rem 1.1rem; margin-top: 0.45rem; font-size: 0.9375rem; color: var(--slate); }
.band__note { margin-top: 0.35rem; font-size: 0.9375rem; color: var(--slate); max-width: 70ch; }
.band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.band .fest { border-top: 1px solid var(--fog); }
.band__empty { padding: 0 1.1rem 1rem; }
.addband { margin-top: 1.25rem; padding-top: 0; }
.addband summary { padding: 0.9rem 0; cursor: pointer; color: var(--slate); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.addband[open] summary { margin-bottom: 0.25rem; }
.team-name { display: flex; align-items: center; gap: 0.55rem; }
.field--date { max-width: 13rem; }
.facts--inline { padding: 0 0 0.9rem; }

/* ---------- Einstellungen: Listen je Seite ---------- */
.listpick summary { cursor: pointer; font-weight: 500; padding: 0.15rem 0; }
.listpick summary:hover { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.listpick__board { margin: 0.5rem 0 0.25rem; padding: 0.5rem 0.7rem 0.15rem; background: var(--paper); border-radius: var(--r); }
.listpick__board legend { float: left; width: 100%; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.4rem; }
.listpick .checkline { clear: both; margin-bottom: 0.4rem; }

/* ---------- Anmeldung ---------- */
.gate { background: var(--ink); color: var(--paper); min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 1.5rem; }
.gate :focus-visible { outline-color: var(--paper); }
.gate__box { width: min(25rem, 100%); padding: 0; }
.gate__logo { width: 11rem; height: auto; }
.gate h1 { font-family: var(--f-display); font-stretch: 64%; font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 14vw, 4.5rem); line-height: 0.9; margin: 0.6rem 0 1rem; }
.gate__lead { color: var(--ash); margin-bottom: 1.75rem; max-width: 34ch; }
.gate__hint { color: var(--ash); font-size: 0.875rem; margin-top: 0.75rem; }
.gate__demo { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }

/* ---------- Aktualisieren-Knopf neben den Uhren ---------- */
.refresh { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; align-self: center; flex: none;
  background: var(--white); border: 1px solid var(--fog); border-radius: 50%; color: var(--ink); }
.refresh:hover { border-color: var(--slate); background: var(--mist); }
.refresh svg { width: 1.1rem; height: 1.1rem; stroke-width: 2; }
.refresh.is-bad { color: var(--bad); border-color: var(--bad); background: var(--bad-bg); }
.refresh.is-done { color: var(--ok); border-color: var(--ok); }
.refresh[aria-busy="true"] { cursor: progress; }
@media (prefers-reduced-motion: no-preference) { .refresh[aria-busy="true"] svg { animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }
.page-head--day .page-head__actions { align-items: center; }
.btn__short { display: none; }
.avail-sheet .foot-note { padding: 0 1.1rem 0.75rem; }

/* ---------- Releases ---------- */
.dialog__hint { margin: -0.4rem 0 0.9rem; font-size: 0.875rem; }
.meter { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 0.375rem; border: 0; border-radius: 999px;
  background: var(--mist); overflow: hidden; color: var(--ink); }
.meter::-webkit-progress-bar { background: var(--mist); border-radius: 999px; }
.meter::-webkit-progress-value { background: var(--ink); border-radius: 999px; }
.meter::-moz-progress-bar { background: var(--ink); border-radius: 999px; }
.meter--big { height: 0.625rem; margin: 0.75rem 0 0.25rem; }
.relgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.relcard { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); }
.relcard:hover { border-color: var(--slate); }
.relcard--late { border-left: 3px solid var(--bad); }
.relcard__link { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.45rem; padding: 1rem 1.1rem 1.1rem; text-decoration: none; height: 100%; align-content: start; }
.relcard__band { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.relcard__title { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: 1.6rem; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.relcard__meta { font-size: 0.9375rem; color: var(--slate); }
.relcard__meta b { color: var(--ink); font-weight: 650; }
.relcard__foot { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.8125rem; color: var(--slate); }
.relcard__foot .status { font-size: 0.8125rem; }
.relcard__next { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.1rem; padding-top: 0.6rem; border-top: 1px solid var(--mist); font-size: 0.9375rem; font-weight: 500; }
.relcard__next .due { font-weight: 500; grid-column: auto; }
.status--rel-planung::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ash); }
.status--rel-laeuft { color: var(--info); font-weight: 600; }
.status--rel-laeuft::before { background: var(--info); }
.status--rel-veroeffentlicht { color: var(--ok); font-weight: 650; }
.status--rel-veroeffentlicht::before { background: var(--ok); }
.status--rel-abgesagt { color: var(--slate); text-decoration: line-through; }
.status--rel-abgesagt::before { background: var(--ash); }

.release { grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); }
.release__phases { display: grid; gap: 1.25rem; min-width: 0; }
.release__phases .sheet + .sheet { margin-top: 0; }
.release__side { display: grid; gap: 1.75rem; position: sticky; top: 1.25rem; }
.phase { scroll-margin-top: 1rem; }
.phase__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-right: 1.1rem; }
.phase__head .sheet__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.5rem; padding-bottom: 0.2rem; }
.phase__head .linkbtn { margin-top: 1rem; font-size: 0.875rem; white-space: nowrap; }
.phase__intro { padding: 0 1.1rem 0.6rem; color: var(--slate); font-size: 0.9375rem; }
.phase--skipped { background: transparent; border-style: dashed; }
.phase--skipped .sheet__title { color: var(--slate); }
.phase__skipped { padding: 0 1.1rem 1rem; color: var(--slate); font-size: 0.9375rem; }
.rtasks { border-top: 1px solid var(--mist); }
.rtask { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(2rem, auto) auto; align-items: center; gap: 0.25rem 0.75rem;
  padding: 0.3rem 0.6rem 0.3rem 0.7rem; border-top: 1px solid var(--mist); min-height: 3.25rem; }
.rtasks > .rtask:first-child { border-top: 0; }
.rtask:hover { background: var(--tint); }
.rtask form { margin: 0; }
.rtask__main { display: grid; gap: 0.1rem; padding: 0.35rem 0; min-width: 0; }
.rtask__name { font-weight: 500; overflow-wrap: anywhere; }
.rtask__hint { font-size: 0.8125rem; color: var(--slate); }
.rtask__due { display: grid; justify-items: end; text-align: right; }
.rtask__due .due { grid-column: auto; }
.rtask__due .sub { font-size: 0.75rem; }
.rtask.is-done .rtask__name { text-decoration: line-through; color: var(--slate); }
.rtask.is-done .rtask__due, .rtask.is-done .rtask__who { opacity: 0.45; }
.rtask--late .check::before { border-color: var(--bad); }
.rtask__edit { grid-column: 5; position: relative; }
.rtask__edit summary { list-style: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: var(--slate); cursor: pointer; }
.rtask__edit summary::-webkit-details-marker { display: none; }
.rtask__edit summary:hover, .rtask__edit[open] summary { background: var(--mist); color: var(--ink); }
.rtask__edit[open] { grid-column: 1 / -1; grid-row: 2; }
.rtask__edit[open] summary { position: absolute; right: 0; top: -2.75rem; }
.rtask__form { padding: 0.75rem 0.4rem 0.6rem 2.95rem; }
.rtask-add { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-end; padding: 0.75rem 1.1rem 1rem; border-top: 1px solid var(--mist); background: var(--paper); border-radius: 0 0 var(--r) var(--r); }
.rtask-add .field { margin: 0; }
.rtask-add input[type=text] { min-width: 0; }
.phaselist { margin-top: 0.75rem; display: grid; }
.phaselist a { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding: 0.45rem 0; border-top: 1px solid var(--mist); text-decoration: none; }
.phaselist a:hover span:first-child { text-decoration: underline; }
.note-form__row { display: flex; gap: 0.5rem; width: 100%; justify-content: space-between; }
.note-form .field { width: 100%; margin: 0; }
.note-form textarea { width: 100%; }
.notes { margin-top: 0.9rem; display: grid; gap: 0.9rem; }
.notes li { border-top: 1px solid var(--mist); padding-top: 0.6rem; }
.notes__meta { font-size: 0.8125rem; color: var(--slate); display: flex; flex-wrap: wrap; gap: 0 0.3rem; align-items: baseline; }
.notes__meta b { color: var(--ink); }
.notes .pre { overflow-wrap: anywhere; margin-top: 0.15rem; }
.inline-form { display: inline; margin-left: auto; }
.inline-form .linkbtn { font-size: 0.8125rem; }

.relmini { display: grid; }
.relmini a { display: grid; gap: 0.25rem; padding: 0.65rem 0; border-top: 1px solid var(--mist); text-decoration: none; }
.relmini li:first-child a { border-top: 0; }
.relmini a:hover .relmini__title { text-decoration: underline; }
.relmini__top { display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.relmini__title { font-weight: 600; }
.relmini__when { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; }
.relmini__when--soon { color: var(--warn); font-weight: 650; }
.relmini__meta { font-size: 0.8125rem; color: var(--slate); }
.reltodo { display: grid; margin-bottom: 0.5rem; }
.reltodo a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 0.6rem; padding: 0.5rem 0; border-top: 1px solid var(--mist); text-decoration: none; }
.reltodo li:first-child a { border-top: 0; }
.reltodo__name { font-weight: 500; }
.reltodo__meta { grid-column: 1; font-size: 0.8125rem; color: var(--slate); }
.reltodo .due { grid-column: 2; grid-row: 1; }
.panel__more { display: inline-block; margin-top: 0.4rem; }
.panel__title--row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.panel__title--row .linkbtn { font-family: var(--f-body); font-stretch: 100%; font-weight: 500; font-size: 0.8125rem; }

/* ---------- Google Drive ---------- */
.drive-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 0.6rem; align-items: center; margin-top: 0.75rem; padding: 0.6rem 0.75rem;
  background: var(--ink); color: var(--paper); border-radius: var(--r); text-decoration: none; }
.drive-main svg { grid-row: span 2; }
.drive-main span { font-weight: 600; }
.drive-main .sub { color: var(--ash); font-weight: 400; font-size: 0.75rem; }
.drive-main:hover { background: var(--iron); }
.drive { display: grid; margin-top: 0.4rem; }
.drive > li { border-top: 1px solid var(--mist); }
.drive > li:first-child { border-top: 0; }
.drive__item summary, a.drive__item { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; min-height: 2.75rem; cursor: pointer; text-decoration: none; list-style: none; }
.drive__item summary::-webkit-details-marker { display: none; }
.drive__item svg { width: 1.1rem; height: 1.1rem; color: var(--slate); }
.drive__label { font-weight: 500; flex: 1; }
.drive__item summary:hover .drive__label { text-decoration: underline; }
.drive__item--empty .drive__label { color: var(--slate); font-weight: 400; }
.drive__item--empty .sub { font-size: 0.8125rem; }
.drive__open { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; }
.drive__open:hover { background: var(--mist); }
.drive__open:hover svg { color: var(--ink); }
.drive__files { padding: 0 0 0.6rem 1.7rem; }
.drive__files .quiet { font-size: 0.875rem; padding: 0; }
.drive__list a:not(.drive__open) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.5rem; align-items: center; padding: 0.3rem 0; font-size: 0.875rem; text-decoration: none; }
.drive__list a:not(.drive__open):hover .drive__fname { text-decoration: underline; }
.drive__fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drive__list .sub { font-size: 0.75rem; }
.ficon { width: 0.75rem; height: 0.9rem; border-radius: 2px; background: var(--fog); }
.ficon--folder { width: 0.95rem; height: 0.7rem; background: var(--ash); }
.ficon--doc { background: var(--info-bg); box-shadow: inset 0 0 0 1px var(--info); }
.ficon--sheet { background: var(--ok-bg); box-shadow: inset 0 0 0 1px var(--ok); }
.ficon--image { background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn); }
.folder-rows { display: grid; gap: 0; }
.folder-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0 0.9rem; }
.bandpage__stack { display: grid; gap: 1.75rem; }

/* ---------- Wer ist wann belegt ---------- */
.avail-sheet { margin-bottom: 1.25rem; }
.avail-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-right: 0.8rem; }
.weeknav { display: flex; align-items: center; gap: 0.25rem; }
.weeknav__label { font-size: 0.875rem; color: var(--slate); min-width: 6.5rem; text-align: center; }
.iconbtn.is-off { opacity: 0.3; }
.avail__scroll { overflow-x: auto; }
.avail { width: 100%; border-collapse: collapse; min-width: 52rem; }
.avail th, .avail td { padding: 0.5rem 0.4rem; border-top: 1px solid var(--mist); vertical-align: top; text-align: left; }
.avail thead th { font-size: 0.8125rem; font-weight: 600; color: var(--slate); border-top: 0; padding-top: 0.2rem; }
.avail thead th.is-today { color: var(--ink); }
.avail th:first-child { padding-left: 1.1rem; width: 15rem; position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--mist); }
.avail td:last-child, .avail th:last-child { padding-right: 1.1rem; }
.avail .is-weekend { background: var(--tint); }
.avail td.is-today { background: var(--mist); }
.avail__who { font-weight: 400; }
.avail__who .team-name { margin-bottom: 0.15rem; }
.avail__now { display: block; font-size: 0.8125rem; color: var(--ok); padding-left: 2.35rem; }
.avail__now.is-busy { color: var(--warn); font-weight: 600; }
.avail__now.is-bad { color: var(--slate); }
.avail__book { display: flex; align-items: center; gap: 0.25rem; padding: 0.4rem 0 0 2.35rem; }
.btn--small { min-height: 2rem; padding: 0.25rem 0.7rem; font-size: 0.8125rem; }
.avail__bar { width: 100%; height: 0.75rem; background: var(--ok-bg); border-radius: 2px; margin-top: 0.3rem; }
.avail__bar line { stroke: var(--white); stroke-width: 2; vector-effect: non-scaling-stroke; }
.avail__bar rect { fill: var(--ink); }
.avail__text { display: block; font-size: 0.75rem; color: var(--slate); margin-top: 0.3rem; line-height: 1.3; }
.avail-more { padding: 0.5rem 1.1rem 1rem; border-top: 1px solid var(--mist); }
.avail-more summary { cursor: pointer; font-size: 0.875rem; color: var(--slate); padding: 0.3rem 0; }
.avail-more > .quiet { margin: 0.4rem 0 0.6rem; font-size: 0.875rem; }
.extra-mails { display: grid; gap: 0.2rem; margin-bottom: 0.6rem; font-size: 0.9375rem; }
.extra-mails li { display: flex; gap: 0.75rem; align-items: baseline; }
.extra-mails .inline-form { margin-left: 0; }
.inline-add { display: flex; gap: 0.5rem; align-items: flex-end; max-width: 32rem; }
.inline-add .field { margin: 0; }
.field-help { margin: -0.6rem 0 0.9rem; font-size: 0.8125rem; }

/* ---------- Release-Aufgaben auf Heute, Karten ziehen ---------- */
.tag--release { background: var(--info-bg); color: var(--info); font-weight: 600; }
a.task__main { text-decoration: none; color: inherit; }
.task--release.is-done { opacity: 0.45; }
.task--release.is-done .task__name { text-decoration: line-through; }
.task--release.is-done .check::before { background: var(--ink); border-color: var(--ink); }
.task--release.is-done .check svg { opacity: 1; color: var(--paper); }
.kanban .task--card { cursor: grab; -webkit-touch-callout: none; }
.kanban .task--card .task__main { -webkit-user-select: none; user-select: none; }
.dnd-ghost { position: fixed; left: 0; top: 0; z-index: 90; margin: 0; pointer-events: none; list-style: none;
  box-shadow: 0 12px 28px rgba(22, 23, 26, 0.22); border-color: var(--slate) !important; opacity: 0.96; }
.dnd-ph { border: 2px dashed var(--ash); border-radius: var(--r); background: rgba(255, 255, 255, 0.5); list-style: none; }
body.is-dragging, body.is-dragging * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }
body.is-dragging .kanban__col { outline: 1px dashed transparent; }

/* ---------- Tagesübersicht anpassen ---------- */
.dash__col { display: grid; gap: 1.75rem; align-content: start; min-width: 0; }
.dash__col--main .panel, .dash__col--main .day__tasks { min-width: 0; }
.dash__col--side .day__tasks { font-size: 0.9375rem; }
.widget { min-width: 0; }
.widget:not(:has(*)) { display: none; }
.refresh[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.arrange-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; margin-bottom: 1.25rem; padding: 0.75rem 1rem;
  background: var(--ink); color: var(--paper); border-radius: var(--r); position: sticky; top: 0.5rem; z-index: 30; }
.arrange-bar p { flex: 1 1 22rem; font-size: 0.9375rem; }
.arrange-bar__tray { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; flex-basis: 100%; }
.arrange-bar__tray:empty { display: none; }
.arrange-bar__label { font-size: 0.8125rem; color: var(--ash); }
.arrange-bar .chip { background: var(--coal); border-color: var(--iron); color: var(--paper); }
.arrange-bar .chip:hover { border-color: var(--paper); }
.arrange-bar__actions { display: flex; align-items: center; gap: 1rem; }
.arrange-bar .linkbtn { color: var(--ash); }
.arrange-bar .linkbtn:hover { color: var(--paper); }
.arrange-bar .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.is-arranging .dash__col { min-height: 6rem; padding: 0.5rem; margin: -0.5rem; border: 1.5px dashed var(--ash); border-radius: 10px; }
.is-arranging .widget { position: relative; padding: 0.4rem 0.6rem 0.7rem; background: var(--paper); border: 1px solid var(--fog);
  border-radius: var(--r); box-shadow: 0 1px 0 var(--fog); max-height: 18rem; overflow: hidden; }
.is-arranging .widget > :not(.wtools) { pointer-events: none; opacity: 0.55; }
.is-arranging .widget::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5rem;
  background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.wtools { display: flex; align-items: center; gap: 0.15rem; margin: -0.1rem -0.2rem 0.4rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--fog); }
.wtools__grip { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--r); cursor: grab; touch-action: none; color: var(--slate); }
.wtools__grip:hover { background: var(--mist); color: var(--ink); }
.wtools__grip svg { stroke-width: 3; }
.wtools__name { flex: 1; font-weight: 650; font-size: 0.9375rem; }
.widget.is-lifted { position: fixed; left: 0; top: 0; z-index: 95; box-shadow: 0 16px 36px rgba(22, 23, 26, 0.25); max-height: 12rem; }
.widget-ph { border: 2px dashed var(--slate); border-radius: var(--r); background: rgba(255, 255, 255, 0.6); }

/* ---------- Hauptmenü: Unterpunkte erst beim Aufklappen ---------- */
.rail__row { display: flex; align-items: center; gap: 0.15rem; }
.rail__row > a { flex: 1; min-width: 0; }
.rail__toggle { display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; border: 0; border-radius: var(--r);
  background: none; color: var(--ash); }
.rail__toggle:hover { background: var(--coal); color: var(--paper); }
.rail__toggle svg { width: 0.95rem; height: 0.95rem; stroke-width: 2.2; transition: transform 0.15s ease; }
.rail__item.is-open .rail__toggle svg { transform: rotate(90deg); }
.rail__item:not(.is-open) > .rail__sub { display: none; }

/* ---------- Touren ---------- */
.tour__dates { display: grid; gap: 1rem; min-width: 0; }
.tour__dates .sheet + .sheet { margin-top: 0; }
.tour__side { display: grid; gap: 1.75rem; align-content: start; }
.tdate { scroll-margin-top: 1rem; }
.tdate--past { opacity: 0.6; }
.tdate__head { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto auto; align-items: baseline; gap: 0.25rem 1rem; padding: 0.9rem 0.6rem 0.4rem 1.1rem; position: relative; }
.tdate__day { font-family: var(--f-mono); font-size: 0.875rem; font-weight: 600; }
.tdate__where { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
.tdate__where span { display: block; font-family: var(--f-body); font-stretch: 100%; text-transform: none; font-weight: 500; font-size: 0.9375rem; color: var(--slate); margin-top: 0.15rem; }
.tdate__in { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; }
.tdate__in.is-soon { color: var(--warn); font-weight: 650; }
.tdate__head .rtask__edit { grid-column: 4; }
.tdate__head .rtask__edit[open] { grid-column: 1 / -1; grid-row: 2; }
.tdate__head .rtask__edit[open] summary { top: -2.6rem; }
.tdate__notes { padding: 0 1.1rem 0.75rem 9.6rem; font-size: 0.9375rem; color: var(--slate); }
.tcontacts { border-top: 1px solid var(--mist); }
.tcontact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0.15rem 1rem; align-items: start; padding: 0.6rem 0.6rem 0.6rem 1.1rem; border-top: 1px solid var(--mist); position: relative; }
.tcontacts > .tcontact:first-child { border-top: 0; }
.tcontact__who b { font-weight: 600; }
.tcontact__who .sub:empty { display: none; }
.tcontact__how { display: grid; justify-items: start; gap: 0.1rem; font-size: 0.9375rem; min-width: 0; overflow-wrap: anywhere; }
.tcontact__note { grid-column: 1 / 3; font-size: 0.8125rem; color: var(--slate); }
.tcontact__edit { grid-column: 3; grid-row: 1; }
.tcontact__edit[open] { grid-column: 1 / -1; grid-row: auto; }
.tcontact__edit[open] summary { position: absolute; right: 0.6rem; top: 0.4rem; }
.tcontact__edit .rtask__form { padding-left: 0; }
.tcontacts--side { border-top: 0; }
.tcontacts--side .tcontact { grid-template-columns: minmax(0, 1fr) auto; padding-left: 0; padding-right: 0; }
.tcontacts--side .tcontact__how, .tcontacts--side .tcontact__note { grid-column: 1; }
.tcontacts--side .tcontact__edit { grid-column: 2; }
.tadd { padding: 0.5rem 1.1rem 0.9rem; border-top: 1px solid var(--mist); }
.panel .tadd { padding-left: 0; padding-right: 0; }
.tadd summary { cursor: pointer; font-size: 0.9375rem; color: var(--slate); padding: 0.25rem 0; }
.tadd summary:hover { color: var(--ink); }
.tadd[open] summary { margin-bottom: 0.6rem; }
.tour__notes { font-size: 0.9375rem; padding-top: 0.6rem; }
.tour__dateform { padding-top: 0.75rem; }

/* ---------- Influencer ---------- */
.infl-table .num { text-align: right; white-space: nowrap; }
.reach { font-family: var(--f-mono); font-weight: 600; }
.promo { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; white-space: nowrap; }
.promo::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ash); }
.promo--ja { color: var(--ok); font-weight: 650; }
.promo--ja::before { background: var(--ok); }
.promo--nein { color: var(--slate); }
.promo--nein::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ash); }
.promo__price { display: block; font-weight: 650; font-size: 0.875rem; margin-top: 0.1rem; }
.infl-links { padding-top: 0; }
.infl-links__list { display: grid; gap: 0.3rem; padding: 0.6rem 0; }
.infl-links__list a { overflow-wrap: anywhere; }
.infl-link-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0 0.5rem; }
.infl-link-row .field { margin-bottom: 0.4rem; }
.danger-row { margin-top: 1.5rem; }

/* ---------- Wer ist wann belegt: Tages-Zeitleiste ---------- */
.daytabs { display: flex; gap: 0.35rem; overflow-x: auto; padding: 0 1.1rem 0.75rem; scrollbar-width: none; }
.daytab { flex: none; display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.2rem 0.8rem; border: 1px solid var(--fog);
  border-radius: 999px; text-decoration: none; font-size: 0.875rem; font-weight: 500; background: var(--white); white-space: nowrap; }
.daytab:hover { border-color: var(--slate); }
.daytab--we { color: var(--slate); }
.daytab[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tl { border-top: 1px solid var(--mist); }
.tl__head, .tl__row { display: grid; grid-template-columns: 15rem minmax(0, 1fr); column-gap: 1.25rem; padding: 0 1.1rem; }
.tl__head { align-items: end; padding-top: 0.75rem; padding-bottom: 0.3rem; }
.tl__day { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 1.0625rem; }
.tl__scale { position: relative; height: 1.1rem; }
.tl__scale span { position: absolute; bottom: 0; transform: translateX(-50%); font-family: var(--f-mono); font-size: 0.75rem; color: var(--slate); }
.tl__scale span:first-child { transform: none; }
.tl__scale span:last-child { transform: translateX(-100%); }
.tl__row { grid-template-rows: auto auto; align-items: center; padding-top: 0.7rem; padding-bottom: 0.6rem; border-top: 1px solid var(--mist); }
.tl__row--me { background: var(--tint); }
.tl__who { grid-row: 1 / span 2; display: grid; gap: 0.2rem; align-content: center; min-width: 0; }
.tl__status { font-size: 0.8125rem; color: var(--slate); padding-left: 2.35rem; }
.tl__row--free .tl__status { padding-left: 0; }
.tl__status--free { color: var(--ok); }
.tl__status--busy { color: var(--warn); font-weight: 600; }
.tl__status--bad { color: var(--slate); font-style: italic; }
.tl__book { display: flex; align-items: center; gap: 0.25rem; padding: 0.2rem 0 0 2.35rem; }
.tl__track { position: relative; height: 2.25rem; background: var(--ok-bg); border-radius: 4px; overflow: hidden; }
.tl__track--unknown { background: repeating-linear-gradient(-45deg, var(--mist) 0 6px, var(--paper) 6px 12px); }
.tl__unknown { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.8125rem; color: var(--slate); }
.tl__grid { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.9); }
.tl__busy, .tl__free { position: absolute; top: 3px; bottom: 3px; border-radius: 3px; display: flex; align-items: center; overflow: hidden; min-width: 3px; }
.tl__busy { background: var(--ink); color: var(--paper); }
.tl__busy.is-past { background: var(--slate); }
.tl__free { background: var(--ok); color: var(--white); }
.tl__busy span, .tl__free span { padding: 0 0.4rem; font-size: 0.75rem; font-family: var(--f-mono); white-space: nowrap; }
.tl__now { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--bad); z-index: 2; }
.tl__sum { font-size: 0.8125rem; color: var(--slate); padding-top: 0.25rem; }
.tl__row--free { background: #f2f6ee; }
.tl__row--free .tl__track { background: var(--mist); }
.tl__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.5rem; padding: 0.75rem 1.1rem 0.9rem; font-size: 0.8125rem; color: var(--slate); border-top: 1px solid var(--mist); }
.tl__key { display: inline-block; width: 0.9rem; height: 0.6rem; border-radius: 2px; vertical-align: middle; }
.tl__key--busy { background: var(--ink); }
.tl__key--free { background: var(--ok); margin-left: 0.5rem; }
.tl__key--now { width: 2px; height: 0.9rem; background: var(--bad); margin-left: 0.5rem; }
.avail-head { padding-right: 0.8rem; }

/* ---------- Geburtstage auf dem Dashboard ---------- */
.bday-group { display: inline-block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; padding: 0 0.35rem; border-radius: 3px;
  background: var(--mist); color: var(--iron); margin-right: 0.15rem; }
.bday-group--team { background: var(--ink); color: var(--paper); }
.shows li.is-soon .shows__in { color: var(--warn); font-weight: 650; }

/* ---------- Festival-Antworten ---------- */
.flag--reply { color: var(--info); background: var(--info-bg); text-decoration: none; }
a.flag--reply:hover { text-decoration: underline; }
.reply-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 1.1rem 0.75rem; padding: 0.6rem 0.8rem;
  background: var(--info-bg); color: var(--info); border-radius: var(--r); font-size: 0.9375rem; }
.reply-note p { flex: 1 1 18rem; }

/* ---------- Wichtige Kontakte (Stern) ---------- */
.star { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; margin: -0.25rem 0.2rem -0.25rem -0.35rem; padding: 0;
  vertical-align: middle; background: none; border: 0; border-radius: 50%; color: var(--ash); }
.star svg { width: 1.05rem; height: 1.05rem; stroke-width: 1.8; }
.star:hover { color: var(--warn); background: var(--mist); }
.star.is-on { color: #c08a00; }
.star.is-on svg { fill: #e2b23a; stroke: #b07d00; }
.h1-star { display: flex; align-items: center; gap: 0.3rem; }
.h1-star .star { width: 2.5rem; height: 2.5rem; margin: 0; }
.h1-star .star svg { width: 1.6rem; height: 1.6rem; }
tr:has(.star.is-on) td { background: var(--mist); }
.tcontact:has(> .tcontact__who .star.is-on) { background: var(--mist); }
.fest__name .star + a { vertical-align: middle; }

/* ---------- Tour: Kalkulation und Ticketverkäufe ---------- */
.tour-tabs { margin-bottom: 1.25rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.kpi { display: grid; gap: 0.3rem; align-content: start; padding: 0.9rem 1rem 1rem; background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); }
.kpi__label { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.kpi__value { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: 2rem; line-height: 1; }
.kpi__value small { font-size: 1.1rem; color: var(--slate); font-weight: 700; }
.kpi__sub { font-size: 0.8125rem; color: var(--slate); }
.kpi--main { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.kpi--main .kpi__label, .kpi--main .kpi__sub, .kpi--main .kpi__value small { color: var(--ash); }
.kpi--main .kpi__sub a { color: var(--paper); }
.kpi--main.is-pos .kpi__value { color: #b9e3c3; }
.kpi--main.is-neg .kpi__value { color: #ffb4a8; }
.kpi.is-neg:not(.kpi--main) .kpi__value { color: var(--bad); }
.kpi--main .meter { background: var(--iron); }
.kpi--main .meter::-webkit-progress-bar { background: var(--iron); }
.kpi--main .meter::-webkit-progress-value { background: var(--paper); }
.kpi--main .meter::-moz-progress-bar { background: var(--paper); }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; align-items: start; }
.calc-grid .sheet + .sheet { margin-top: 0; }
.calc-grid--lower { margin-top: 1.25rem; }
.calc-chart__svg { padding: 0 1.1rem 1rem; }
.calc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.5rem; padding: 0 1.1rem 0.6rem; font-size: 0.8125rem; color: var(--slate); }
.key { display: inline-block; width: 0.9rem; height: 0.6rem; border-radius: 2px; margin-left: 0.4rem; }
.key--now { background: var(--ink); margin-left: 0; }
.key--full { background: var(--ash); }
.key--neg { background: var(--bad); }
.calc-empty, .calc-intro { padding: 0 1.1rem 1rem; }
.calc-intro { padding-bottom: 0.6rem; }
.bars { width: 100%; height: auto; overflow: visible; }
.bars text { font-family: "Hanken Grotesk", system-ui, sans-serif; font-weight: 400; font-stretch: 100%; }
.bars__label { font-size: 13px; fill: var(--ink); font-weight: 500 !important; }
.bars__bar { fill: var(--ink); }
.bars__bar.is-alt { fill: var(--ash); }
.bars__bar.is-neg { fill: var(--bad); }
.bars__bar.is-neg.is-alt { fill: #d98f84; }
.bars__value { font-size: 11.5px; fill: var(--slate); }
.bars__value.is-neg { fill: var(--bad); }
.bars__zero { stroke: var(--slate); stroke-width: 1; }
.calc-table { border-top: 1px solid var(--mist); }
.calc-row { display: grid; grid-template-columns: minmax(9rem, 1.4fr) minmax(9rem, 1.6fr) repeat(7, minmax(5.2rem, 0.8fr)); gap: 0.5rem;
  align-items: center; padding: 0.6rem 1.1rem; border-top: 1px solid var(--mist); font-size: 0.9375rem; }
.calc-row--head { font-size: 0.75rem; font-weight: 650; color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; border-top: 0; }
.calc-show > summary { list-style: none; cursor: pointer; }
.calc-show > summary::-webkit-details-marker { display: none; }
.calc-show > summary:hover { background: var(--tint); }
.calc-show[open] > summary { background: var(--mist); }
.calc-row .r { text-align: right; }
.calc-row .sub { display: block; }
.calc-row--sum { border-top: 2px solid var(--ink); }
.calc-row--tour { color: var(--slate); }
.money { font-family: var(--f-mono); font-size: 0.875rem; }
.money.is-neg, .is-neg > .money { color: var(--bad); }
.calc-deal { padding: 0.75rem 1.1rem 1rem; background: var(--paper); border-top: 1px solid var(--mist); }
.calc-explain { font-size: 0.8125rem; margin: -0.3rem 0 0.6rem; }
.deal-pill { display: inline-block; font-size: 0.8125rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--mist); color: var(--iron); text-decoration: none; }
a.deal-pill:hover { background: var(--fog); }
.deal-pill--open { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.support-pill { display: inline-block; font-size: 0.8125rem; padding: 0.1rem 0.5rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--fog); color: var(--slate); }
.tdate__deal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; padding: 0 1.1rem 0.6rem 9.6rem; }
.supports { display: grid; }
.supports li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 0.5rem; padding: 0.55rem 0; border-top: 1px solid var(--mist); position: relative; }
.supports li:first-child { border-top: 0; }
.supports .rtask__edit { grid-column: 2; grid-row: 1; }
.supports .rtask__edit[open] { grid-column: 1 / -1; grid-row: 2; }
.supports .rtask__edit[open] summary { top: -2.4rem; }
.supports .rtask__form { padding-left: 0; }
.costs { border-top: 1px solid var(--mist); }
.cost { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 0.75rem; align-items: center; padding: 0.5rem 0.6rem 0.5rem 1.1rem; border-top: 1px solid var(--mist); position: relative; }
.costs > .cost:first-child { border-top: 0; }
.cost__amount { font-family: var(--f-mono); font-size: 0.875rem; white-space: nowrap; }
.cost--in .cost__amount { color: var(--ok); }
.cost .rtask__edit { grid-column: 3; grid-row: 1; }
.cost .rtask__edit[open] { grid-column: 1 / -1; grid-row: 2; }
.cost .rtask__edit[open] summary { top: -2.6rem; }
.cost .rtask__form { padding-left: 0; }
#kosten .tadd, #supports.sheet .tadd { border-top: 1px solid var(--mist); }
.sales-form { padding: 0 1.1rem 1rem; }
.sales-form > .quiet { margin-bottom: 0.6rem; font-size: 0.875rem; }
.sales-inputs { display: grid; border-top: 1px solid var(--mist); margin-bottom: 0.8rem; }
.sales-inputs li { display: grid; grid-template-columns: minmax(0, 1fr) auto 6.5rem; gap: 0.75rem; align-items: center; padding: 0.45rem 0; border-bottom: 1px solid var(--mist); }
.sales-inputs label { display: grid; cursor: pointer; }
.sales-inputs input { text-align: right; font-family: var(--f-mono); }
.sales-last { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; }
.ak-form { display: grid; grid-template-columns: minmax(10rem, 2fr) minmax(5rem, 0.7fr) minmax(7rem, 0.9fr) minmax(8rem, 1.5fr) auto; gap: 0.6rem; align-items: end; padding: 0 1.1rem 1rem; }
.ak-form .form-actions { margin: 0; }
.ak-form input[name="count"], .ak-form input[name="price"] { text-align: right; font-family: var(--f-mono); }
#abendkasse > .quiet { padding: 0 1.1rem 0.6rem; font-size: 0.875rem; }
#abendkasse .sales-table tr.is-sum td { font-weight: 700; border-top: 2px solid var(--line); }
@media (max-width: 760px) { .ak-form { grid-template-columns: 1fr 1fr; } .ak-form label:first-of-type, .ak-form label:nth-of-type(4), .ak-form .form-actions { grid-column: 1 / -1; } }
.lines { width: calc(100% - 2.2rem); height: auto; margin: 0 1.1rem; font-family: var(--f-body); }
.lines__grid { stroke: var(--mist); stroke-width: 1; }
.lines__y, .lines__x { font-size: 10px; fill: var(--slate); font-family: var(--f-mono); }
.lines__line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.lines__legend { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; padding: 0.4rem 1.1rem 1rem; font-size: 0.8125rem; }
.lines__legend li { display: inline-flex; align-items: center; gap: 0.35rem; }
.lines__key { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 2px; }
.sales-shows { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0; border-top: 1px solid var(--mist); }
.sales-show { display: grid; gap: 0.3rem; align-content: start; padding: 0.8rem 1.1rem 1rem; border-bottom: 1px solid var(--mist); border-right: 1px solid var(--mist); }
.sales-show__num b { font-family: var(--f-display); font-stretch: 72%; font-size: 1.8rem; font-weight: 800; }
.sales-show__num span { color: var(--slate); }
.delta { display: inline-block; margin-left: 0.4rem; font-size: 0.8125rem; color: var(--ok); font-weight: 600; }
.delta.is-neg { color: var(--bad); }
.sales-show__money { font-size: 0.875rem; }
.sales-scroll { overflow-x: auto; }
.sales-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.sales-table th, .sales-table td { padding: 0.45rem 0.6rem; border-top: 1px solid var(--mist); white-space: nowrap; }
.sales-table th { font-size: 0.75rem; color: var(--slate); text-align: left; }
.sales-table th:first-child, .sales-table td:first-child { padding-left: 1.1rem; }
.sales-table .r { text-align: right; font-family: var(--f-mono); }
.sales-table .is-carried { color: var(--ash); }

/* ---------- schmale Bildschirme ---------- */
@media (max-width: 62rem) {
  .day, .detail, .bandpage { grid-template-columns: minmax(0, 1fr); }
  .release__side { position: static; }
}
@media (max-width: 52rem) {
  .app { display: block; padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .rail { position: static; height: auto; flex-direction: row; align-items: center; justify-content: space-between; padding: 0.7rem var(--pad); }
  .rail__logo { margin: 0; padding: 0; }
  .rail__logo img { width: 4.75rem; }
  .rail__user { margin: 0; padding: 0; grid-template-columns: auto; }
  .rail__user .avatar, .rail__name { display: none; }
  .rail { overflow: visible; }
  .rail__sub, .rail__group, .rail__settings, .rail__toggle { display: none !important; }
  .rail__row { display: contents; }
  .rail__mobile { display: block !important; }
  .rail__gear { display: inline-grid !important; place-items: center; width: 2.5rem; height: 2.5rem; color: var(--ash); }
  .rail__user { grid-template-columns: auto auto; gap: 0.5rem; }
  .rail__nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0;
    background: var(--ink); padding: 0.3rem 0.4rem calc(0.3rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--iron); }
  .rail__nav a { flex-direction: column; gap: 0.15rem; padding: 0.4rem 0.2rem; font-size: 0.6875rem; min-height: 3.25rem; justify-content: center; }
  .rail__nav a[aria-current] { background: transparent; color: var(--paper); }
  .rail__nav a[aria-current] svg { stroke-width: 2.4; }
  .toast { bottom: calc(4.75rem + env(safe-area-inset-bottom)); width: max-content; }
  .task { grid-template-columns: auto minmax(0, 1fr) auto; padding-right: 0.8rem; }
  .task .due { grid-column: 2; grid-row: 2; padding-bottom: 0.35rem; }
  .task .avatars { grid-column: 3; grid-row: 1 / span 2; }
  .team__nums .due { grid-column: auto; }
  .task__main { padding-bottom: 0.1rem; }

  .fest thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .fest, .fest tbody, .fest tr, .fest td { display: block; }
  .fest tr { position: relative; padding: 0.75rem 0.9rem 0.75rem 2.9rem; border-top: 1px solid var(--mist); }
  .fest tbody tr:first-child { border-top: 0; }
  .fest td { padding: 0; border: 0; }
  .fest td + td { margin-top: 0.3rem; }
  .fest__check { position: absolute; left: 0.9rem; top: 0.8rem; width: auto; }
  .fest__status .flag { display: inline-block; margin: 0 0 0 0.5rem; }
  .fest__last:empty { display: none; }
  .fest__last .sub { display: inline; margin-left: 0.4rem; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pick th:not(:first-child), .pick td:not(:first-child) { width: 4.75rem; }
  .page-head .btn { flex: 1 1 auto; }
  .page-head__actions form { display: contents; }
  .people-table tr { padding-left: 0.9rem; }
  .kanban { grid-auto-columns: min(80vw, 17rem); margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); scrollbar-width: none; }
  .card__grid { grid-template-columns: minmax(0, 1fr); }
  .card-body { padding: 1rem 1rem 1.25rem; }
  .dialog--card { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .checks .iconbtn { opacity: 1; }
  .clocks__list dd { font-size: 1.25rem; }
  .page-head--day .page-head__actions { width: 100%; justify-content: space-between; }
  .page-head--day .btn { flex: 0 0 auto; }
  .band__actions { width: 100%; }
  .pick--wide, .pick--wide tbody, .pick--wide tr, .pick--wide td { display: block; }
  .pick--wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pick--wide td { border-top: 0; padding: 0.15rem 0 0.5rem; }
  .pick--wide tr { border-top: 1px solid var(--mist); padding: 0.6rem 0 0.2rem; }
  .rtask { grid-template-columns: auto minmax(0, 1fr) auto; padding-right: 0.4rem; }
  .rtask__due { grid-column: 2; grid-row: 2; justify-items: start; text-align: left; display: flex; gap: 0.5rem; padding-bottom: 0.35rem; }
  .rtask__who { grid-column: 3; grid-row: 1; }
  .rtask__edit { grid-column: 3; grid-row: 2; justify-self: end; }
  .rtask__edit[open] { grid-row: 3; }
  .rtask__edit[open] summary { top: -2.6rem; }
  .rtask__form { padding-left: 0.4rem; }
  .rtask-add .field--grow { flex-basis: 100%; }
  .tl__head, .tl__row { grid-template-columns: minmax(0, 1fr); }
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-row { grid-template-columns: minmax(0, 1fr) auto; }
  .calc-row--head { display: none; }
  .calc-row > :nth-child(n+3):not(:nth-child(7)) { display: none; }
  .calc-row > :nth-child(7) { grid-column: 2; grid-row: 1 / span 2; }
  .calc-row > :nth-child(2) { grid-column: 1; }
  .tdate__deal { padding-left: 1.1rem; }
  .sales-inputs li { grid-template-columns: minmax(0, 1fr) 5.5rem; }
  .sales-last { grid-column: 1; grid-row: 2; }
  .tl__head .tl__day { margin-bottom: 0.4rem; }
  .tl__who { grid-row: auto; margin-bottom: 0.45rem; }
  .tl__busy span, .tl__free span { font-size: 0.6875rem; padding: 0 0.25rem; }
  .tdate__head { grid-template-columns: minmax(0, 1fr) auto; }
  .tdate__day { grid-column: 1; }
  .tdate__where { grid-column: 1; }
  .tdate__in { grid-column: 1; }
  .tdate__head .rtask__edit { grid-column: 2; grid-row: 1; }
  .tdate__notes { padding-left: 1.1rem; }
  .tcontact { grid-template-columns: minmax(0, 1fr) auto; }
  .tcontact__how, .tcontact__note { grid-column: 1; }
  .tcontact__edit { grid-column: 2; }
  .folder-row { grid-template-columns: minmax(0, 1fr); padding-bottom: 0.6rem; border-bottom: 1px solid var(--mist); margin-bottom: 0.6rem; }
  .page-head--day .page-head__actions { flex-wrap: nowrap; }
  .clocks, .clocks__list { gap: 0.9rem; }
  .btn__long { display: none; }
  .avail th:first-child { width: 10.5rem; min-width: 10.5rem; padding-left: 0.8rem; }
  .avail { min-width: 46rem; }
  .avail__now, .avail__book { padding-left: 0; }
  .avail__who .avatar { display: none; }
  .btn__short { display: inline !important; }
  .rail__nav a { font-size: 0.625rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .task { transition: opacity 0.2s ease; }
  .dialog[open] { animation: rise 0.16s ease-out; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
}
/* Diagramme: kein geerbter Icon-Strich auf Text und Balken */
.bars text, .lines text, .bars rect { stroke: none; }
.sales-show__money b { white-space: nowrap; }
.sales-table thead th { white-space: normal; vertical-align: bottom; min-width: 4.5rem; line-height: 1.25; }
.sheet > .foot-note { padding: 0.2rem 1.1rem 0.9rem; }

/* ------------------------------------------------------------------ Company › Finanzen */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.yearnav { display: flex; gap: 0.3rem; }
.yearnav .chip { min-height: 2.5rem; }
.sheet__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; padding-right: 1.1rem; }
.sheet__head .calc-legend { margin: 0; padding: 0 0 0 1.1rem; }
.key--in { background: var(--ink); margin-left: 0; }
.key--out { background: var(--ash); }
.key--dot { width: 0.6rem; border-radius: 50%; background: var(--ok); }
.kpi--flag { border-color: var(--warn); box-shadow: inset 0 3px 0 var(--warn); }
.is-neg-text { color: var(--bad); }
.fin-chart { padding-bottom: 0.4rem; }
.mbars { display: block; width: calc(100% - 1.6rem); height: auto; margin: 0.2rem 0.8rem 0; overflow: visible; }
.mbars text { font-family: var(--f-mono); stroke: none; }
.mbars__grid { stroke: var(--mist); stroke-width: 1; }
.mbars__grid.is-zero { stroke: var(--slate); }
.mbars__axis { font-size: 10px; fill: var(--slate); }
.mbars__bar { stroke: none; }
.mbars__bar--in { fill: var(--ink); }
.mbars__bar--out { fill: var(--ash); }
.mbars__line { fill: none; stroke: var(--ok); stroke-width: 1.6; stroke-dasharray: 3 3; }
.mbars__dot { fill: var(--ok); stroke: var(--white); stroke-width: 1.5; }
.mbars__dot.is-neg { fill: var(--bad); }
.mbars__month { font-size: 11px; fill: var(--slate); font-family: var(--f-body); }
.mbars a:hover .mbars__month, .mbars__month.is-on { fill: var(--ink); font-weight: 700; text-decoration: underline; }
.fin-hint { padding: 0 1.1rem 0.8rem; font-size: 0.8125rem; }
.fin-empty { padding: 1.2rem 1.1rem 1.4rem; display: grid; gap: 0.5rem; justify-items: start; }
.fin-open.is-late { box-shadow: inset 3px 0 0 var(--bad); }
.cost .cost__amount.is-in, .fin-row.is-in .fin-row__amount { color: var(--ok); }
.cost form { margin: 0; }
.cost__amount small { font-size: 0.7rem; color: var(--slate); }
#fixkosten .cost { grid-template-columns: minmax(0, 1fr) auto auto auto; }
#fixkosten .cost .rtask__edit { grid-column: 4; }
#offen .cost { grid-template-columns: minmax(0, 1fr) auto auto; }
.fin-search { margin: 0.6rem 0 0; min-width: min(22rem, 100%); }
.fin-search .field { margin-bottom: 0.4rem; }
.fin-chips { padding: 0 1.1rem; margin-bottom: 0.6rem; }
.fin-list { border-top: 1px solid var(--mist); }
.fin-row { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto auto 2.2rem; gap: 0 0.75rem; align-items: center;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem; border-top: 1px solid var(--mist); position: relative; }
.fin-list > .fin-row:first-child { border-top: 0; }
.fin-row__day { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--slate); }
.fin-row__what { display: grid; min-width: 0; }
.fin-row__what b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fin-row__what .sub { font-size: 0.8125rem; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fin-row__state { display: flex; gap: 0.5rem; align-items: center; }
.fin-row__amount { font-family: var(--f-mono); font-size: 0.9375rem; white-space: nowrap; text-align: right; min-width: 7.5rem; }
.fin-row .rtask__edit { grid-column: 5; grid-row: 1; }
.fin-row .rtask__edit[open] { grid-column: 1 / -1; grid-row: 2; }
.fin-row .rtask__edit[open] summary { top: -2.6rem; }
.fin-row .rtask__form { padding-left: 0; }
.fin-sum { padding: 0.6rem 1.1rem 0.9rem; border-top: 1px solid var(--mist); font-size: 0.8125rem; }
.pill { display: inline-flex; align-items: center; padding: 0.05rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 650; }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.seg { display: inline-flex; border: 1px solid var(--fog); border-radius: 999px; padding: 0.2rem; margin: 0 0 0.9rem; gap: 0.2rem; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg__opt span { display: inline-flex; align-items: center; min-height: 2.2rem; padding: 0 1rem; border-radius: 999px; font-weight: 650; color: var(--slate); }
.seg__opt input:checked + span { background: var(--ink); color: var(--paper); }
.seg__opt--in input:checked + span { background: var(--ok); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 40rem) {
  .yearnav { display: none; }
  .fin-row { grid-template-columns: minmax(0, 1fr) auto 2.2rem; }
  .fin-row__day { grid-column: 1; grid-row: 2; font-size: 0.75rem; }
  .fin-row__what { grid-column: 1; grid-row: 1; }
  .fin-row__state { grid-column: 2; grid-row: 2; justify-content: flex-end; }
  .fin-row__amount { grid-column: 2; grid-row: 1; min-width: 0; }
  .fin-row .rtask__edit { grid-column: 3; }
  .fin-row .rtask__edit[open] { grid-row: 3; }
  #fixkosten .cost { grid-template-columns: minmax(0, 1fr) auto auto; }
  #fixkosten .cost form { grid-column: 1; grid-row: 2; }
  #fixkosten .cost .rtask__edit { grid-column: 3; }
}
.fin-month { padding: 0.9rem 1.1rem 0.35rem; border-top: 1px solid var(--mist); font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 0.9375rem; color: var(--slate); }
.fin-list > .fin-month:first-child { border-top: 0; padding-top: 0.5rem; }
.fin-month + .fin-row { border-top-color: transparent; }
.sheet + .calc-grid, .calc-grid + .sheet { margin-top: 1.25rem; }
.mbars-wrap { overflow-x: auto; }
@media (max-width: 40rem) {
  .fin-kpis { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .fin-kpis .kpi--main { grid-column: 1 / -1; }
  .fin-kpis .kpi { padding: 0.75rem 0.8rem 0.85rem; }
  .fin-kpis .kpi__value { font-size: 1.5rem; }
  .mbars { min-width: 640px; }
  #offen .cost { grid-template-columns: minmax(0, 1fr) auto; }
  #offen .cost form { grid-column: 2; grid-row: 2; justify-self: end; padding-bottom: 0.3rem; }
}

/* ------------------------------------------------------------------ Tour: Fahrplan (Nachtrag 09.10. abends) */
.tour-kpis { margin-top: 0.25rem; }
.tour-kpis .kpi--main .kpi__value { font-size: 1.75rem; }
.tour-kpis .kpi__sub a { color: inherit; }
.todo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: -0.25rem 0 1.25rem; }
.todo-strip__title { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warn); margin-right: 0.25rem; }
.todo-chip { display: inline-flex; gap: 0.35rem; align-items: center; min-height: 2rem; padding: 0.15rem 0.7rem; border-radius: 999px;
  background: var(--warn-bg); color: var(--warn); font-size: 0.8125rem; text-decoration: none; }
.todo-chip:hover { box-shadow: inset 0 0 0 1px var(--warn); }
.tplan { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.tplan__gap { display: flex; align-items: center; gap: 0.75rem; padding: 0.15rem 0 0.15rem 1.1rem; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0; color: var(--ash); }
.tplan__gap::before, .tplan__gap::after { content: ""; height: 1px; background: var(--fog); flex: 0 0 2.6rem; }
.tplan__gap::after { flex: 1; }
.tstop { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); scroll-margin-top: 1rem; }
.tstop.is-next { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--ink); }
.tstop.is-past { opacity: 0.6; }
.tstop__row { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) 8.5rem 9.5rem 6rem 1.25rem; gap: 0.25rem 1rem; align-items: center;
  padding: 0.8rem 0.9rem 0.8rem 1rem; cursor: pointer; list-style: none; }
.tstop__row::-webkit-details-marker { display: none; }
.tstop__row:hover .tstop__city { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tstop__date { display: grid; justify-items: start; line-height: 1.05; }
.tstop__wd { font-size: 0.75rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); }
.tstop__dm { font-family: var(--f-mono); font-size: 1.05rem; font-weight: 600; }
.tstop__where { display: grid; min-width: 0; gap: 0.1rem; }
.tstop__city { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: 1.45rem; line-height: 1; text-transform: uppercase; }
.tstop__venue { font-size: 0.875rem; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tstop__addr { color: var(--ash); }
.tstop__times { display: flex; flex-wrap: wrap; gap: 0.15rem 0.8rem; font-size: 0.8125rem; color: var(--slate); margin-top: 0.15rem; }
.tstop__times b { font-family: var(--f-mono); font-weight: 600; color: var(--ink); }
.tstop__tix { display: grid; gap: 0.3rem; }
.tstop__num { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: 1.25rem; line-height: 1; }
.tstop__num small { font-size: 0.85rem; color: var(--slate); font-weight: 700; }
.meter--thin { height: 0.35rem; }
.tstop__state { display: flex; flex-wrap: wrap; gap: 0.3rem; justify-content: flex-start; }
.cbadge { display: inline-flex; align-items: center; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 650; white-space: nowrap; }
.cbadge--unterschrieben { background: var(--ok-bg); color: var(--ok); }
.cbadge--mail { background: var(--mist); color: var(--slate); }
.cbadge--fehlt { background: var(--warn-bg); color: var(--warn); }
.cbadge--wrap { white-space: normal; }
.tstop__money { text-align: right; font-size: 0.9375rem; font-weight: 600; }
.tstop__chev { width: 1.1rem; height: 1.1rem; color: var(--slate); transition: transform 0.15s ease; }
.tstop__box[open] .tstop__chev { transform: rotate(180deg); }
.tstop__box[open] .tstop__row { border-bottom: 1px solid var(--mist); }
.tstop__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 1.5rem; padding: 0.9rem 1.1rem 0.6rem; }
.tstop__info .tadd, .tstop__people .tadd { margin: 0.4rem 0 0.4rem; padding-left: 0; }
.facts { display: grid; gap: 0.45rem; margin-bottom: 0.6rem; }
.facts > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; }
.facts dt { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); }
.facts dd { font-size: 0.9375rem; }
.tstop__notes { font-size: 0.875rem; color: var(--slate); padding: 0.6rem 0.8rem; background: var(--paper); border-radius: var(--r); margin-bottom: 0.4rem; }
.tstop__h { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.3rem; }
.tcontacts--compact { border-top: 0; }
.tcontacts--compact .tcontact { grid-template-columns: minmax(0, 1fr) auto; padding-left: 0; }
.tcontacts--compact .tcontact__how { grid-column: 1; font-size: 0.875rem; }
.tcontacts--compact .tcontact__note { grid-column: 1; }
.tcontacts--compact .tcontact__edit { grid-column: 2; }
.field-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tour-about > summary { cursor: pointer; list-style: none; }
.tour-about > summary::-webkit-details-marker { display: none; }
.tour-about > summary::after { content: " +"; color: var(--slate); }
.tour-about[open] > summary::after { content: " –"; }
.tour-about .tour__notes { padding: 0 1.1rem 1rem; max-width: 75ch; color: var(--slate); }
.contact-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 32rem), 1fr)); gap: 1rem; align-items: start; }
.contact-cols .sheet + .sheet { margin-top: 0; }
.sheet__intro { padding: 0 1.1rem 0.6rem; font-size: 0.875rem; }
.sheet__title-sub { font-family: var(--f-body); font-stretch: 100%; font-weight: 500; font-size: 0.875rem; color: var(--slate); margin-left: 0.35rem; }
.contact-cols .tadd { padding: 0.2rem 1.1rem 0.9rem; }
@media (max-width: 62rem) {
  .tstop__row { grid-template-columns: 3.6rem minmax(0, 1fr) auto 1.1rem; }
  .tstop__tix { grid-column: 2; grid-row: 2; grid-template-columns: auto minmax(5rem, 9rem); align-items: center; gap: 0.6rem; }
  .tstop__state { grid-column: 2 / 4; grid-row: 3; }
  .tstop__money { grid-column: 3; grid-row: 1; }
  .tstop__chev { grid-column: 4; grid-row: 1; }
  .tstop__body { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
}
@media (max-width: 40rem) {
  .tstop__city { font-size: 1.2rem; }
  .tstop__venue { white-space: normal; }
  .field-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tourenliste */
.tourlist { display: grid; gap: 1.25rem; }
.tourcard { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); overflow: hidden; }
.tourcard.is-done { opacity: 0.7; }
.tourcard__head { display: grid; gap: 0.3rem; padding: 1.1rem 1.25rem 0.9rem; text-decoration: none; }
.tourcard__head:hover .tourcard__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tourcard__band { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.tourcard__title { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; text-transform: uppercase; }
.tourcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.9rem; font-size: 0.9375rem; color: var(--slate); }
.tourcard__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--mist); }
.tstat { display: grid; gap: 0.25rem; align-content: start; padding: 0.8rem 1.25rem 0.9rem; border-left: 1px solid var(--mist); }
.tstat:first-child { border-left: 0; }
.tstat__label { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.tstat__value { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; font-size: 1.6rem; line-height: 1; text-decoration: none; }
.tstat__value small { font-size: 1rem; color: var(--slate); }
.tstat__value.money { font-family: var(--f-display); }
.tstat__value--text { font-size: 1.35rem; }
.tstat__value--warn { color: var(--warn); }
.tstat__value--ok { color: var(--ok); }
.tstat__sub { font-size: 0.8125rem; color: var(--slate); }
.tourcard__dates { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(6.5rem, 1fr); overflow-x: auto; border-top: 1px solid var(--mist); background: var(--paper); }
.tourcard__dates li { border-left: 1px solid var(--mist); }
.tourcard__dates li:first-child { border-left: 0; }
.tourcard__dates a { position: relative; display: grid; gap: 0.1rem; padding: 0.6rem 0.8rem 0.8rem; text-decoration: none; height: 100%; }
.tourcard__dates a:hover { background: var(--white); }
.tourcard__dates .is-past { opacity: 0.55; }
.tourcard__dates .is-next a { background: var(--white); box-shadow: inset 0 3px 0 var(--ink); }
.tourcard__dm { font-family: var(--f-mono); font-size: 0.75rem; color: var(--slate); }
.tourcard__city { font-weight: 650; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tourcard__pct { font-size: 0.8125rem; color: var(--slate); }
.tourcard__bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--ink); width: 0; }
@media (max-width: 52rem) {
  .tourcard__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tstat:nth-child(3) { border-left: 0; }
  .tstat:nth-child(n+3) { border-top: 1px solid var(--mist); }
}
.tstop__num { white-space: nowrap; }
@media (max-width: 40rem) {
  .tour-kpis { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .tour-kpis .kpi--main { grid-column: 1 / -1; }
  .tour-kpis .kpi { padding: 0.75rem 0.8rem 0.85rem; }
  .tour-kpis .kpi__value { font-size: 1.5rem; }
  .tstop__addr { display: none; }
  .tstop__times { gap: 0.1rem 0.6rem; }
  .tstop__row { gap: 0.3rem 0.75rem; padding: 0.7rem 0.6rem 0.7rem 0.8rem; }
}

/* Tour › Kontakte: Shows links, Tour-Team rechts */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem); gap: 1.5rem; align-items: start; }
.contact-main { display: grid; gap: 1rem; min-width: 0; }
.contact-main .sheet + .sheet { margin-top: 0; }
.contact-main .tadd { padding: 0.2rem 1.1rem 0.9rem; }
.contact-side { position: sticky; top: 1rem; display: grid; gap: 0.6rem; padding: 1rem 1.1rem 1.1rem; background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); }
.contact-side__title { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: 1.25rem; text-transform: uppercase; }
.contact-side__intro { font-size: 0.8125rem; margin-top: -0.4rem; }
.slot { border-top: 1px solid var(--mist); padding-top: 0.55rem; }
.slot__title { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.slot--empty { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.slot--empty .slot__title { color: var(--ash); }
.slot--empty .slot__add[open] { flex-basis: 100%; }
.slot__add > summary { cursor: pointer; list-style: none; font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
.slot__add > summary::-webkit-details-marker { display: none; }
.slot__add > summary:hover { color: var(--ink); text-decoration: underline; }
.slot__add form { padding-top: 0.5rem; }
.slot__add .field-row { grid-template-columns: minmax(0, 1fr); }
.contact-side .tcontacts--compact .tcontact { padding: 0.45rem 0; }
@media (max-width: 62rem) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-side { position: static; order: -1; }
}
.cshow .sheet__title { padding-bottom: 0.3rem; }
.cgroup { border-top: 1px solid var(--mist); padding: 0.55rem 0 0.2rem; }
.cgroup__title { padding: 0 1.1rem 0.2rem; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.cgroup__empty { padding: 0.1rem 1.1rem 0.5rem; font-size: 0.875rem; }
.cgroup .tcontacts { border-top: 0; }
.cmore { padding: 0 1.1rem 0.45rem; }
.cmore > summary { cursor: pointer; font-size: 0.875rem; color: var(--slate); padding: 0.2rem 0; }
.cmore > summary:hover { color: var(--ink); }
.cmore[open] > summary { margin-bottom: 0.2rem; }
.cmore .tcontacts { margin: 0 -1.1rem; }
.cmore--add > summary { color: var(--warn); font-weight: 600; }
.cband + .cband { border-top: 1px dashed var(--mist); }
.cband__name { padding: 0.3rem 1.1rem 0; font-size: 0.9375rem; }
.cband__name .sub { font-size: 0.8125rem; color: var(--slate); }
.newc { padding-top: 0.4rem; }
.slot__missing { font-size: 0.8125rem; border-top: 1px solid var(--mist); padding-top: 0.55rem; }
.slot__add--new > summary { list-style: none; display: inline-flex; }
.slot__add--new > summary::-webkit-details-marker { display: none; }
.slot__add--new[open] > summary { margin-bottom: 0.4rem; }
.slot__add--new .field-row { grid-template-columns: minmax(0, 1fr); }
.cband__name .sub { display: inline; }

/* Booking-Start: Tour oder Festival anlegen */
.bookstart { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; align-items: start; margin-bottom: 2rem; }
.bookstart .sheet + .sheet { margin-top: 0; }
.bookstart__card { max-width: none; }
.bookstart__card .sheet__title { display: flex; align-items: center; gap: 0.5rem; }
.bookstart__card .sheet__title svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--ink, currentColor); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bookstart__card > .quiet { margin-bottom: 0.8rem; }
.bookstart__flags { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--mist); display: grid; gap: 0.35rem; }
.bookstart__flags a { color: var(--warn); font-weight: 650; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 1.25rem; margin-bottom: 0.9rem; }
.section-title .linkbtn { font-family: var(--f-body); font-stretch: 100%; font-size: 0.875rem; font-weight: 500; }

.tourmini .money { font-family: inherit; font-size: inherit; font-weight: 650; color: var(--ink); }
.tourmini .money.is-neg { color: var(--bad); }

/* Einstellungen › Team und Rechte */
.flag--ok { color: var(--ok); background: var(--ok-bg); }
.table-scroll { overflow-x: auto; }
.perms th { white-space: nowrap; }
.perms th abbr { text-decoration: none; cursor: help; }
.perms td:first-child { min-width: 16rem; }
.perms td:not(:first-child), .perms th:not(:first-child) { text-align: center; }
.perms input:disabled { opacity: 0.55; }
.perm-legend { display: grid; gap: 0.25rem; margin: 0.8rem 0; font-size: 0.875rem; color: var(--slate); }
.perm-legend b { color: var(--ink); }

/* Talents */
.talentlist { overflow: hidden; }
.talentrow { display: grid; grid-template-columns: minmax(12rem, 2.2fr) minmax(9rem, 1.2fr) minmax(7rem, 1fr) 7.5rem minmax(10rem, 1.3fr);
  gap: 0.4rem 1.25rem; align-items: center; padding: 0.85rem 1.1rem; border-top: 1px solid var(--mist); }
.talentrow:first-child { border-top: 0; }
.talentrow--head { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); padding-top: 0.6rem; padding-bottom: 0.6rem; background: var(--paper); }
.talentrow > div { display: grid; gap: 0.15rem; min-width: 0; }
.talentrow__name a { text-decoration: none; font-size: 1.0625rem; }
.talentrow__name a:hover b { text-decoration: underline; }
.talentrow .sub { font-size: 0.8125rem; color: var(--slate); }
.talentrow .sub--next { color: var(--ink); }
.stars { color: var(--warn); letter-spacing: 0.05em; }
.stars__off { color: var(--fog); }
.tstage { display: inline-flex; align-items: center; gap: 0.4rem; justify-self: start; font-size: 0.8125rem; font-weight: 650; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--mist); color: var(--iron); white-space: nowrap; }
.tstage--angeschrieben, .tstage--app-angehoert { background: var(--info-bg); color: var(--info); }
.tstage--in_kontakt, .tstage--videocall { background: var(--ok-bg); color: var(--ok); }
.tstage--verhandlung, .tstage--app-neu { background: var(--warn-bg); color: var(--warn); }
.tstage--unter_vertrag, .tstage--app-uebernommen { background: var(--ink); color: var(--paper); }
.tstage--passt_nicht, .tstage--app-abgesagt { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1px var(--fog); }
.sizeclass { justify-self: start; font-size: 0.75rem; font-weight: 650; color: var(--slate); border: 1px solid var(--fog); border-radius: 3px; padding: 0 0.35rem; }
.tpartners { display: flex; gap: 0.25rem; }
.tpartner { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-decoration: none; cursor: help; }
.tpartner--ja { background: var(--ink); color: var(--paper); }
.tpartner--nein { background: var(--white); color: var(--slate); box-shadow: inset 0 0 0 1px var(--fog); text-decoration: line-through; }
.tpartner--offen { background: var(--mist); color: var(--ash); }
.listen { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.listen__btn { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2rem; padding: 0.2rem 0.65rem 0.2rem 0.5rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; text-decoration: none; border: 1px solid var(--fog); color: var(--ink); background: var(--white); }
.listen__btn svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.listen__btn--spotify:hover { border-color: #1db954; color: #127a37; }
.listen__btn--youtube:hover { border-color: #e62117; color: #b3140c; }
.talentrow__listen { display: flex !important; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.talentrow__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; }
.btn--small { min-height: 2rem; padding: 0.25rem 0.75rem; font-size: 0.8125rem; }
.talentgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1.25rem; align-items: start; }
.talentgrid .sheet + .sheet { margin-top: 0; }
.talentgrid .sheet--form { max-width: none; }
.talentform__actions { position: sticky; bottom: 0; padding: 0.9rem 0; background: linear-gradient(transparent, var(--paper) 35%); }
.talent-delete { margin-top: 0.5rem; }
.partnerrow { align-items: end; }
.linkline { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.875rem; }
.appbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 0.8rem 1.1rem; margin-bottom: 1.25rem; }
.appbar__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
@media (max-width: 900px) {
  .talentrow { grid-template-columns: 1fr auto; }
  .talentrow--head { display: none; }
  .talentrow__name { grid-column: 1 / -1; }
  .talentrow__listen { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  .rail__nav a { padding-left: 0; padding-right: 0; letter-spacing: -0.01em; }
  .rail__nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}


/* =====================================================================
   Frischer Look (10/2026): leichter, luftiger, besser lesbar.
   Überschriften in normaler Schreibweise statt Versalien, Zahlen in der Textschrift,
   Karten statt dicker schwarzer Linien. Steht am Ende, damit es die älteren Regeln übersteuert.
   ===================================================================== */
body { font-size: 1rem; line-height: 1.55; font-variant-numeric: tabular-nums; background: var(--paper); }
main { padding-top: clamp(1.5rem, 3.4vw, 2.75rem); }

/* Überschriften: kräftig, leicht schmal, aber nicht mehr in Großbuchstaben */
.page-head h1, .dialog h2, .gate h1, .boardlist__name, .band__name, .relcard__title, .tdate__where, .tstop__city,
.tourcard__title, .contact-side__title, textarea.card__title {
  text-transform: none; font-stretch: 86%; font-weight: 760; letter-spacing: -0.015em; }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.05; }
.page-head { margin-bottom: 1.75rem; align-items: flex-end; }
.page-head__sub { margin-top: 0.6rem; font-size: 1.0625rem; line-height: 1.5; max-width: 62ch; }
.dialog h2 { font-size: 1.6rem; }
.tourcard__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.1; }
.tstop__city, .tdate__where { font-size: 1.3rem; line-height: 1.1; }
.boardlist__name, .band__name, .relcard__title { font-size: 1.375rem; line-height: 1.1; }
.sheet__title, .panel__title, .form-sub, .fin-month { font-stretch: 92%; font-weight: 720; letter-spacing: -0.01em; }
.sheet__title, .panel__title { font-size: 1.125rem; }

/* Kleine Beschriftungen: normale Schreibweise, ruhiges Grau */
.eyebrow, .group__board, .boardlist__group, .clocks__list dt, .panel__band, .listpick__board legend, .relcard__band,
.kpi__label, .calc-row--head, .todo-strip__title, .tstop__wd, .facts dt, .tstop__h, .tourcard__band, .tstat__label,
.slot__title, .cgroup__title, .talentrow--head, .rail__nav a.rail__label {
  text-transform: none; letter-spacing: 0; font-size: 0.8125rem; font-weight: 600; }
.eyebrow { color: var(--slate); margin-bottom: 0.4rem; font-weight: 550; }
.eyebrow a { color: var(--slate); text-decoration: none; }
.eyebrow a:hover { color: var(--ink); text-decoration: underline; }
.count { font-variant-numeric: tabular-nums; font-weight: 600; }

/* Flächen: weiße Karten mit weichem Schatten statt Rahmen */
.sheet, .day__tasks { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--lift); }
.sheet__title { padding: 1.1rem 1.25rem 0.5rem; }
.sheet--form { padding: 0 1.25rem 1.25rem; }
.sheet + .sheet { margin-top: 1.5rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 1rem 1.15rem 1.1rem; }
.panel__title { border-bottom: 0; padding-bottom: 0.15rem; margin-bottom: 0.2rem; }
.panel--flag { background: var(--warn-bg); border-color: transparent; box-shadow: none; }
.day__side { gap: 1rem; }
.day { gap: clamp(1.25rem, 2.5vw, 2rem); }

/* Bedienelemente */
.btn { border-radius: var(--r); min-height: 2.6rem; padding: 0.5rem 1.1rem; font-weight: 620; }
.btn--ghost { background: var(--white); border-color: var(--fog); }
.btn--ghost:hover { background: var(--white); border-color: var(--ash); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], input[type=date], input[type=time], input[type=number], select, textarea {
  border-color: var(--fog); border-radius: var(--r); min-height: 2.65rem; padding: 0.5rem 0.75rem; background-color: var(--white); }
select { padding-right: 2.25rem; }
input:hover, select:hover, textarea:hover { border-color: var(--ash); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(22, 23, 26, 0.12); outline-offset: 0; border-color: var(--ink); }
.field > span, .field > legend { font-size: 0.875rem; font-weight: 600; color: var(--iron); }
.chip { background: var(--white); border-color: var(--line); min-height: 2.1rem; padding: 0.2rem 0.85rem; box-shadow: 0 1px 1px rgba(22, 23, 26, 0.03); }
.chip:hover { border-color: var(--ash); }
.who a { border-color: var(--line); box-shadow: 0 1px 1px rgba(22, 23, 26, 0.03); }
.tabs { border-bottom-color: var(--line); gap: 1.75rem; }
.tabs a { font-weight: 550; }
.tabs a[aria-current] { color: var(--ink); border-bottom-width: 2.5px; }
.notice { border-radius: var(--r); padding: 0.7rem 1rem; }
.tag { border-radius: 6px; padding: 0.1rem 0.45rem; }
.flag { border-radius: 6px; }
.avatar { background: var(--mist); box-shadow: inset 0 0 0 1px var(--fog); }
.avatar--me { background: var(--ink); color: var(--white); box-shadow: none; }
.avatar--inverse { background: var(--white); color: var(--ink); box-shadow: none; }
.avatar--none { background: transparent; box-shadow: none; }
.dialog { border-radius: var(--r-lg); background: var(--white); box-shadow: 0 24px 60px -12px rgba(22, 23, 26, 0.35); }
.demo-note { border-radius: var(--r); }

/* Menü links: etwas ruhiger */
.rail { padding-top: 1.6rem; }
.rail__nav a { border-radius: 9px; color: #b9bdc4; }
.rail__nav a:hover { background: #26282d; }
.rail__nav a[aria-current] { background: var(--white); color: var(--ink); }
.rail__nav .rail__sub a[aria-current] { background: #2b2d33; color: var(--white); }

/* Listen und Zeilen bekommen mehr Luft */
.task { padding-top: 0.8rem; padding-bottom: 0.8rem; }
.relmini a { padding: 0.75rem 0; border-top-color: var(--line); }
meter, progress.meter { border-radius: 999px; }

/* Zahlen in Karten groß, aber in der Textschrift */
.kpi__value, .tstat__value { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

@media (max-width: 760px) {
  .page-head h1 { font-size: 1.85rem; }
  .sheet, .panel, .day__tasks { border-radius: 14px; }
}
.dash__col { gap: 1rem; }
.bandpage .dash__col--main { gap: 1.25rem; }
.dash__col--main .panel { padding: 1.1rem 1.25rem 1.2rem; }
@media (min-width: 62.01rem) { .bandpage { grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem); } }
.kpi__value, .tstat__value, .tstop__num, .tourcard__title { font-stretch: 86%; }
@media (max-width: 52rem) {
  .rail__nav a[aria-current] { background: transparent; color: var(--white); }
}
/* Nächste Shows: eine Zeile je Show */
.shows li { grid-template-columns: 4.6rem minmax(0, 1fr) auto; align-items: baseline; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.shows__what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shows__what a { text-decoration: none; }
.shows__what a:hover { text-decoration: underline; }
/* Kalender-Stand (Tour, Show, Festival) */
.calbar { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; padding: 0.6rem 0.9rem; margin-bottom: 1rem; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line); font-size: 0.9375rem; }
.calbar svg { flex: none; color: var(--slate); }
.calbar p { flex: 1 1 18rem; }
.calbar--ok svg { color: var(--ok); }
.calbar--kein_kalender, .calbar--kein_recht { background: var(--warn-bg); border-color: transparent; color: var(--warn); }
.calbar a { font-weight: 600; }
/* Booking › Shows */
.showlist { padding: 0.25rem 0 0.5rem; }
.showlist__month { padding: 1rem 1.25rem 0.35rem; font-family: var(--f-display); font-stretch: 92%; font-weight: 720; font-size: 1rem; color: var(--slate); }
.showrow { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--line); text-decoration: none; }
.showlist__month + .showrow { border-top: 0; }
.showrow:hover { background: var(--paper); }
/* Einzelshows zur Tour: Haken vor der Zeile */
.showpick { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; border-top: 1px solid var(--line); }
.showlist__month + .showpick { border-top: 0; }
.showpick > input[type=checkbox] { justify-self: end; width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--ok); }
.showpick > .showrow { border-top: 0; padding-left: 0.75rem; }
.showlist__tour { border-top: 1px solid var(--line); margin-top: 0.5rem; }
.zurtour { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem 0.9rem; padding: 0.4rem 1.25rem 0.9rem; }
.zurtour__wrap .zurtour { padding: 0; }
.zurtour__field { display: grid; gap: 0.25rem; font-size: 0.8125rem; color: var(--slate); flex: 1 1 13rem; max-width: 22rem; }
.zurtour__field select, .zurtour__field input { font-size: 0.9375rem; }
.zurtour__hint { flex-basis: 100%; margin: 0; font-size: 0.8125rem; max-width: 70ch; }
.showrow.is-off { opacity: 0.55; }
.showrow__date { display: grid; justify-items: center; line-height: 1.15; padding: 0.3rem 0; border-radius: var(--r); background: var(--mist); }
.showrow__date span { font-size: 0.75rem; color: var(--slate); }
.showrow__date b { font-size: 0.9375rem; }
.showrow__main { min-width: 0; display: grid; }
.showrow__main b { font-size: 1.0625rem; }
.showrow__venue { color: var(--iron); }
.showrow__main > b + .showrow__venue::before { content: ", "; }
.showrow__main { grid-template-columns: auto 1fr; }
.showrow__main .sub { grid-column: 1 / -1; }
.showrow__tags { display: flex; align-items: center; gap: 0.6rem; }
.showrow__cal { color: var(--ash); }
.showrow__cal.is-in { color: var(--ok); }
.tstage--show-option { background: var(--info-bg); color: var(--info); }
.tstage--show-angefragt { background: var(--warn-bg); color: var(--warn); }
.tstage--show-abgesagt { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1px var(--fog); }
.showday { border: 0; padding: 0; margin: 0; }
.showday__note { margin: -0.4rem 0 0.8rem; font-size: 0.875rem; }
.form-actions--left { justify-content: flex-start; margin-bottom: 0.5rem; }
.form-actions--left .linkbtn { margin-right: 0; }
/* Verfügbarkeit: Lücken zum Anklicken */
button.tl__free--book { border: 0; padding: 0; font: inherit; cursor: pointer; }
button.tl__free--book:hover, button.tl__free--book:focus-visible { filter: brightness(0.92); outline: 2px solid var(--ok); outline-offset: 1px; }
.guestpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.2rem 1rem; }
.guestpick .checkline { margin-bottom: 0.3rem; }
/* Ganzer Bandkalender (Monatsansicht) */
.monthnav .btn { min-width: 2.6rem; }
.month { overflow: hidden; }
.month__head, .month__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.month__head span { padding: 0.55rem 0.6rem; font-size: 0.8125rem; font-weight: 600; color: var(--slate); background: var(--paper); }
.month__day { min-height: 7.2rem; padding: 0.35rem 0.4rem 0.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.month__day:first-child { border-left: 0; }
.month__day.is-out { background: #fafbfc; }
.month__day.is-out .month__num { color: var(--ash); }
.month__num { font-size: 0.8125rem; font-weight: 600; align-self: flex-start; min-width: 1.6rem; text-align: center; border-radius: 999px; padding: 0.05rem 0.3rem; }
.month__day.is-today .month__num { background: var(--ink); color: var(--white); }
.mev { display: block; font-size: 0.75rem; line-height: 1.3; padding: 0.15rem 0.35rem; border-radius: 5px; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--mist); color: var(--iron); }
.mev:hover { filter: brightness(0.95); }
.mev--show { background: var(--ink); color: var(--white); }
.mev--release { background: var(--info-bg); color: var(--info); }
.mev--serie { background: transparent; color: var(--ash); box-shadow: inset 0 0 0 1px var(--line); }
.mev--more { background: transparent; color: var(--slate); }
.mev-key { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 3px; vertical-align: -0.1em; margin-left: 0.6rem; padding: 0; }
.month-list { display: none; padding: 0.4rem 1rem 0.8rem; }
.month-list__day { font-size: 0.875rem; font-weight: 650; margin: 0.9rem 0 0.35rem; }
.month-list ul { display: grid; gap: 0.3rem; }
.month-list li.mev { white-space: normal; font-size: 0.875rem; padding: 0.4rem 0.6rem; }
.month-list li.mev .sub { color: inherit; opacity: 0.8; }
@media (max-width: 52rem) {
  .month { display: none; }
  .month-list { display: block; }
}
/* Zahlen je Band */
.platlink { display: inline-block; margin: 0.3rem 0.5rem 0 0; font-size: 0.875rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.platlink:hover { border-color: var(--ash); }
.statgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.statcard { display: grid; gap: 0.2rem; align-content: start; padding: 1rem 1.15rem 0.9rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--lift); min-width: 0; }
.statcard--main { background: var(--ink); color: var(--white); border-color: var(--ink); }
.statcard__label { font-size: 0.8125rem; font-weight: 600; color: var(--slate); display: flex; align-items: center; gap: 0.4rem; }
.statcard--main .statcard__label, .statcard--main .statcard__sub, .statcard--main .statcard__parts { color: #b9bdc4; }
.statcard__value { font-family: var(--f-display); font-stretch: 86%; font-weight: 760; font-size: 2rem; line-height: 1.1; letter-spacing: -0.015em; }
.statcard__sub { font-size: 0.8125rem; color: var(--slate); }
.statcard__parts { font-size: 0.8125rem; margin-top: 0.4rem; }
.statcard__range { font-size: 0.6875rem; color: var(--ash); text-align: right; }
.is-up { color: var(--ok); font-style: normal; font-weight: 650; }
.is-down { color: var(--bad); font-style: normal; font-weight: 650; }
.statcard--main .is-up { color: #7fd6a2; }
.spark { width: 100%; height: 3.6rem; margin-top: 0.5rem; }
.spark__line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark__area { fill: var(--mist); stroke: none; }
.spark--spotify .spark__line { stroke: #1a9e4b; } .spark--spotify .spark__area { fill: #e3f5ea; }
.spark--youtube .spark__line { stroke: #d6271c; } .spark--youtube .spark__area { fill: #fde8e6; }
.spark--instagram .spark__line { stroke: #b0337d; } .spark--instagram .spark__area { fill: #f9e6f1; }
.spark--tiktok .spark__line { stroke: #16171a; } .spark--tiktok .spark__area { fill: #eceef1; }
.spark--facebook .spark__line { stroke: #1e5aa0; } .spark--facebook .spark__area { fill: #e4eefb; }
.dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; margin-right: 0.4rem; background: var(--ash); flex: none; }
.dot--spotify { background: #1a9e4b; } .dot--youtube { background: #d6271c; } .dot--instagram { background: #b0337d; }
.dot--tiktok { background: #16171a; } .dot--facebook { background: #1e5aa0; }
.stattable { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.stattable th { text-align: left; font-size: 0.8125rem; font-weight: 600; color: var(--slate); padding: 0.55rem 1.25rem; background: var(--paper); }
.stattable td { padding: 0.6rem 1.25rem; border-top: 1px solid var(--line); white-space: nowrap; }
.stattable .num { text-align: right; }
.stattable small { color: var(--slate); }
.statforms { margin-top: 1.5rem; }
.statlog { display: grid; padding: 0 1.25rem 0.8rem; }
.statlog li { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto auto auto; gap: 0.75rem; align-items: baseline; padding: 0.45rem 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.statlog li:first-child { border-top: 0; }
.statlog__none { padding: 0 1.25rem 1rem; }
.statmini { display: grid; margin-top: 0.3rem; }
.statmini li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.6rem; align-items: baseline; padding: 0.45rem 0; border-top: 1px solid var(--line); font-size: 0.875rem; }
.statmini li:first-child { border-top: 0; }
.statmini span { color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.statmini b { font-size: 1rem; }
.statmini em { font-size: 0.8125rem; }
.platlinks { margin-top: 0.5rem; }
.platlink { display: inline-flex; align-items: center; }
/* Aufgaben: Uhrzeit neben dem Datum, Checkliste und Links beim Anlegen */
.field-row--tight { grid-template-columns: minmax(0, 1fr) 7.5rem; }
.task-more { margin-bottom: 0.9rem; }
.task-more summary { cursor: pointer; font-size: 0.9375rem; font-weight: 600; color: var(--iron); padding: 0.3rem 0; }
.task-more[open] summary { margin-bottom: 0.5rem; }
.calacts { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin-top: 0.4rem; }
/* Social-Bereich auf der Künstlerseite */
.panel__meta { font-family: var(--f-body); font-stretch: 100%; font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
.social { display: grid; margin-top: 0.3rem; }
.social__row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.5rem 0; border-top: 1px solid var(--line); }
.social__row:first-child { border-top: 0; }
.social__row.is-empty { opacity: 0.55; }
.social__icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px; background: var(--mist); color: var(--iron); }
.social__icon svg { width: 1.1rem; height: 1.1rem; }
.social__icon--spotify { background: #e3f5ea; color: #1a9e4b; }
.social__icon--youtube { background: #fde8e6; color: #d6271c; }
.social__icon--instagram { background: #f9e6f1; color: #b0337d; }
.social__icon--tiktok { background: var(--mist); color: var(--ink); }
.social__icon--facebook { background: #e4eefb; color: #1e5aa0; }
.social__name a { text-decoration: none; font-weight: 600; }
.social__name a:hover { text-decoration: underline; }
.social__num { display: grid; justify-items: end; line-height: 1.2; }
.social__num b { font-size: 1.0625rem; }
.social__num em { font-size: 0.75rem; }
.social__num .sub { font-size: 0.75rem; }
.social__acts { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: flex-start; margin-top: 0.6rem; }
.social__edit { flex-basis: 100%; }
.social__edit summary { cursor: pointer; display: inline; list-style: none; }
.social__edit summary::-webkit-details-marker { display: none; }
.social__edit[open] form { margin-top: 0.75rem; }
.social__field { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 0.6rem; }
.social__acts form { display: inline; }
/* Deutlicher Weg zurück auf Unterseiten */
.backbtn { display: inline-flex; align-items: center; gap: 0.35rem; margin-bottom: 1rem; padding: 0.4rem 0.9rem 0.4rem 0.6rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(22, 23, 26, 0.04); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.backbtn:hover { border-color: var(--ash); }
.backbtn svg { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }
.back { margin-bottom: 1rem; }
.back a { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.4rem 0.9rem 0.4rem 0.7rem; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(22, 23, 26, 0.04); text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.back a:hover { border-color: var(--ash); }
.back a::before { content: "\2039"; font-size: 1.25rem; line-height: 1; margin-right: 0.25rem; }
/* Brotkrumen oben links als deutliche Zurück-Knöpfe */
.eyebrow a:first-child { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.35rem 0.85rem 0.35rem 0.65rem; margin-bottom: 0.35rem;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(22, 23, 26, 0.04);
  text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.eyebrow a:first-child::before { content: "\2039"; font-size: 1.25rem; line-height: 1; margin-right: 0.25rem; }
.eyebrow a:first-child:hover { border-color: var(--ash); text-decoration: none; }
.back + .page-head .eyebrow a:first-child { padding: 0; border: 0; background: none; box-shadow: none; font-weight: 550; font-size: 0.8125rem; color: var(--slate); margin: 0; }
.back + .page-head .eyebrow a:first-child::before { content: none; }
.card__add--checklist { margin: 0.25rem 0 1.25rem; }
.card__side .field-row--tight { grid-template-columns: minmax(0, 1fr); }

/* ---------- Künstler-Übersicht: Kacheln mit Bild und den wichtigsten Angaben ---------- */
.artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr)); gap: 1.25rem; }
.artist { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--lift); overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.artist:hover, .artist:focus-within { border-color: var(--ash); box-shadow: 0 2px 4px rgba(22, 23, 26, 0.05), 0 10px 28px -10px rgba(22, 23, 26, 0.18); }
.artist__cover { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.artist__cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.artist__cover--none { display: grid; place-items: center; background: linear-gradient(135deg, var(--coal), var(--ink) 60%); }
.artist__initials { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 3.75rem; line-height: 1; letter-spacing: 0.02em; color: var(--iron); }
.artist__badge { position: absolute; left: 0.75rem; top: 0.75rem; padding: 0.15rem 0.55rem; border-radius: 6px; background: var(--bad); color: var(--white);
  font-size: 0.75rem; font-weight: 650; }
.artist__body { padding: 1rem 1.15rem 0.4rem; flex: 1; }
.artist__name { font-family: var(--f-display); font-stretch: 86%; font-weight: 760; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.015em; }
.artist__name a { text-decoration: none; }
.artist__name a:hover { text-decoration: underline; }
.artist__sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--slate); }
.artist__facts { display: grid; margin-top: 0.75rem; }
.artist__facts > div { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; padding: 0.55rem 0; border-top: 1px solid var(--line); }
.artist__facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
.artist__facts dd { font-size: 0.9375rem; line-height: 1.35; overflow-wrap: anywhere; }
.artist__facts dd a { text-decoration: none; }
.artist__facts dd a:hover { text-decoration: underline; }
.artist__facts .sub { margin-top: 0.1rem; }
.artist__none { color: var(--ash); }
.artist__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 0.75rem; min-height: 3.1rem; padding: 0.55rem 1.15rem 0.7rem;
  border-top: 1px solid var(--line); background: #fafbfc; }
.artist__who { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.875rem; font-weight: 550; flex: 0 0 auto; white-space: nowrap; }
.artist__who .sub-inline { font-weight: 400; font-size: 0.8125rem; white-space: nowrap; }
.artist__links { display: inline-flex; gap: 0.35rem; flex: 0 0 auto; margin-left: auto; }
.artist__links .social__icon { flex: none; }
.artist__links .social__icon { width: 1.9rem; height: 1.9rem; }
.artist__links .social__icon:hover { filter: brightness(0.94); }

/* Künstlerseite: Bild neben dem Namen, Profil-Fenster */
.bandhead { display: flex; align-items: flex-end; gap: 1.1rem; min-width: 0; }
.bandhead__pic { position: relative; flex: none; width: 5.5rem; height: 5.5rem; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--ink);
  color: var(--white); box-shadow: var(--lift); }
.bandhead__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.bandhead__pic > span { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 1.9rem; color: var(--ash); }
.bandhead__pic > svg { position: absolute; right: 0.3rem; bottom: 0.3rem; width: 1.6rem; height: 1.6rem; padding: 0.3rem; border-radius: 50%;
  background: rgba(22, 23, 26, 0.72); color: var(--white); opacity: 0; transition: opacity 0.15s; }
.bandhead__pic:hover > svg, .bandhead__pic:focus-visible > svg, .bandhead__pic--none > svg { opacity: 1; }
.picpick { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.1rem; }
.picpick__view { flex: none; display: grid; place-items: center; width: 9.5rem; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.picpick__view img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.picpick__view span { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 2rem; color: var(--iron); }
.picpick__side { display: grid; gap: 0.5rem; justify-items: start; min-width: 0; }
.picpick__side .quiet { font-size: 0.8125rem; overflow-wrap: anywhere; }
.picpick__side .checkline { margin: 0; }

/* Kontaktfelder: Vorschläge aus dem Adressbuch */
.has-suggest { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; margin-top: 0.25rem; padding: 0.3rem; min-width: min(22rem, 86vw); max-height: 19rem; overflow-y: auto;
  background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); box-shadow: 0 6px 24px -6px rgba(22, 23, 26, 0.28); }
.suggest__item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.45rem 0.6rem; border-radius: 7px; cursor: pointer; }
.suggest__item:hover, .suggest__item.is-active { background: var(--mist); }
.suggest__main { min-width: 0; font-size: 0.9375rem; font-weight: 400; }
.suggest__main b { font-weight: 650; }
.suggest__main .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest__src { flex: none; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0.1rem 0.45rem; border-radius: 6px;
  background: var(--mist); color: var(--slate); font-size: 0.75rem; font-weight: 600; }
.suggest__item.is-active .suggest__src, .suggest__item:hover .suggest__src { background: var(--white); }
.suggest__src--team, .suggest__item.is-active .suggest__src--team, .suggest__item:hover .suggest__src--team { background: var(--ink); color: var(--white); }
.abook { align-items: flex-start; padding: 0.55rem 0.7rem; border-radius: var(--r); background: var(--info-bg); color: var(--info); font-weight: 600; }
.abook input { margin-top: 0.2rem; accent-color: var(--info); }
.abook .sub-inline { display: block; font-weight: 400; color: var(--info); }

/* Company › Verträge */
.lockline { display: flex; align-items: flex-start; gap: 0.5rem; margin: -0.5rem 0 1.25rem; font-size: 0.875rem; color: var(--slate); }
.lockline svg { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; }
.contracts .sheet__title .count { margin-left: 0.5rem; }
.contractlist > li { border-top: 1px solid var(--line); }
.contractrow { display: grid; grid-template-columns: minmax(0, 1.7fr) 9.5rem minmax(0, 1.2fr) 7rem; gap: 0.3rem 1.25rem; align-items: center; padding: 0.8rem 1.25rem; text-decoration: none; }
.contractrow:hover { background: #fafbfc; }
.contractrow:hover b { text-decoration: underline; }
.contractlist > li:last-child .contractrow { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.contractrow__what b { font-weight: 650; overflow-wrap: anywhere; }
.contractrow__term { font-size: 0.9375rem; }
.contractrow__soon { color: var(--warn); font-weight: 600; }
.contractrow__files { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; color: var(--slate); white-space: nowrap; }
.contractrow__files svg { width: 0.95rem; height: 0.95rem; }
.cstate { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.12rem 0.6rem; border-radius: 999px; background: var(--mist); color: var(--iron);
  font-size: 0.8125rem; font-weight: 650; white-space: nowrap; }
.cstate::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.cstate--entwurf::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.cstate--verhandlung { background: var(--info-bg); color: var(--info); }
.cstate--aktiv { background: var(--ok-bg); color: var(--ok); }
.cstate--gekuendigt { background: var(--bad-bg); color: var(--bad); }
.cstate--beendet { color: var(--slate); }
.upline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-bottom: 0.9rem; }
.upline .quiet { font-size: 0.8125rem; overflow-wrap: anywhere; min-width: 0; flex: 1 1 12rem; }
.upform { display: grid; gap: 0.5rem; justify-items: start; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.upform .field { width: 100%; margin: 0.2rem 0 0.2rem; }
.upform .quiet { font-size: 0.8125rem; overflow-wrap: anywhere; }
.files form { display: contents; }
@media (max-width: 52rem) {
  .contractrow { grid-template-columns: minmax(0, 1fr) auto; }
  .contractrow__term, .contractrow__files { grid-column: 1 / -1; }
  .bandhead { align-items: center; gap: 0.8rem; }
  .bandhead__pic { width: 4rem; height: 4rem; border-radius: 14px; }
  .bandhead__pic > svg { display: none; }
  .picpick { align-items: flex-start; }
  .picpick__view { width: 6.5rem; }
}
.tabs--phone { display: none; }
@media (max-width: 52rem) { .tabs--phone { display: flex; } }

/* Videocall buchen: Knöpfe an den Kalender-Ansichten, Ergebnis mit Meet-Link */
.callbtn { display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.callbtn svg { width: 1rem; height: 1rem; }
.panel__title--row .callbtn { font-family: var(--f-body); font-stretch: 100%; font-weight: 500; font-size: 0.8125rem; }
.panel__links { display: inline-flex; align-items: baseline; gap: 0.9rem; }
.month__top { display: flex; align-items: center; justify-content: space-between; min-height: 1.6rem; }
.month__add { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--slate);
  opacity: 0; transition: opacity 0.12s; }
.month__add svg { width: 0.95rem; height: 0.95rem; }
.month__day:hover .month__add, .month__add:focus-visible { opacity: 1; }
.month__add:hover { background: var(--ink); color: var(--white); }
@media (hover: none) { .month__add { opacity: 0.55; } }
.calldone__link { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; padding: 0.8rem 0.9rem; margin-bottom: 1rem; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--white); }
.calldone__label { flex-basis: 100%; font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
.calldone__link a { font-weight: 600; overflow-wrap: anywhere; }
.callband { margin: 0.5rem 0 0; }
#call-dialog .field[hidden] + .field { margin-top: 0; }
.field-row--3 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 30rem) { .field-row--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .field-row--3 > :first-child { grid-column: 1 / -1; } }
.panel__title--row:has(.panel__links) { flex-wrap: wrap; }
.panel__links { flex: none; white-space: nowrap; margin-left: auto; }
.social__name { display: inline-flex; align-items: center; gap: 0.15rem; min-width: 0; }
.social__copy { color: var(--ash); }
.social__all { display: inline-flex; align-items: center; gap: 0.3rem; }
.social__all svg { width: 0.95rem; height: 0.95rem; }
.drivewait { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; }
.drivewait__note { margin-top: 0.6rem; font-size: 0.8125rem; }

/* EPK-Generator: Liste, Checkliste, Formular */
.epk--ink { --acc: #16171a; --acc-d: #eef0f3; } .epk--orange { --acc: #e8590c; --acc-d: #ff8a3d; } .epk--red { --acc: #c92a2a; --acc-d: #ff6b6b; }
.epk--pink { --acc: #c2255c; --acc-d: #f783ac; } .epk--violet { --acc: #6741d9; --acc-d: #b197fc; } .epk--blue { --acc: #1c64d8; --acc-d: #74a8ff; }
.epk--teal { --acc: #0c8599; --acc-d: #3bc9db; } .epk--green { --acc: #2b8a3e; --acc-d: #69db7c; } .epk--gold { --acc: #a87900; --acc-d: #ffd43b; }
.epks { display: grid; gap: 0.9rem; margin-bottom: 1.5rem; }
.epkcard { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: var(--white); border: 1px solid var(--fog); border-radius: var(--r-lg); box-shadow: var(--lift); }
.epkcard__pic { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--ink);
  color: var(--iron); font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 2.25rem; text-decoration: none; }
.epkcard__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.epkcard__lang { position: absolute; left: 0.45rem; top: 0.45rem; padding: 0.05rem 0.4rem; border-radius: 4px; background: var(--acc); color: var(--white);
  font-family: var(--f-body); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; }
.epk--ink .epkcard__lang { background: var(--white); color: var(--ink); }
.epkcard__name { font-family: var(--f-display); font-stretch: 78%; font-weight: 750; font-size: 1.375rem; line-height: 1.15; }
.epkcard__name a { text-decoration: none; }
.epkcard__name a:hover { text-decoration: underline; }
.epkcard__tag { margin: 0.35rem 0 0.5rem; font-size: 0.9375rem; }
.epkcard__actions { display: grid; gap: 0.4rem; justify-items: stretch; }
.epk-bad { color: var(--bad); font-weight: 600; }
.epkmeter { display: block; width: 100%; max-width: 22rem; height: 0.4rem; margin: 0 0 0.3rem; border: 0; border-radius: 99px; overflow: hidden; background: var(--mist);
  appearance: none; -webkit-appearance: none; }
.epkmeter::-webkit-progress-bar { background: var(--mist); }
.epkmeter::-webkit-progress-value { background: var(--ok); border-radius: 99px; }
.epkmeter::-moz-progress-bar { background: var(--ok); border-radius: 99px; }
.epkmeter--warn::-webkit-progress-value { background: var(--warn); }
.epkmeter--warn::-moz-progress-bar { background: var(--warn); }
.epkhow { padding-bottom: 1rem; }
.epkhow__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 0.6rem 1.75rem; padding: 0 1.1rem; font-size: 0.9375rem; color: var(--slate); }
.epkhow__list b { color: var(--ink); }
.epkchecks .epkmeter { margin: 0.5rem 0 0.7rem; max-width: none; }
.epkchecks__list { display: grid; gap: 0.5rem; }
.epkchecks__list li { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); gap: 0.5rem; align-items: start; font-size: 0.875rem; }
.epkchecks__list svg { width: 1.05rem; height: 1.05rem; margin-top: 0.1rem; }
.epkchecks__list b { font-weight: 550; }
.epkchecks__list em { font-style: normal; font-size: 0.75rem; font-weight: 650; color: var(--bad); margin-left: 0.25rem; }
.epkchecks__list .is-ok { color: var(--slate); }
.epkchecks__list .is-ok svg { color: var(--ok); stroke-width: 2.6; }
.epkchecks__list .is-ok b { font-weight: 400; }
.epkchecks__list .is-must svg { color: var(--bad); }
.epkchecks__list .is-open svg { color: var(--ash); }
.epkside { display: grid; gap: 0.6rem; padding-top: 0.4rem; justify-items: start; }
.epkside .field { width: 100%; margin: 0; }
.picpick--wide .picpick__view { width: 13rem; height: auto; aspect-ratio: 16 / 10; border-radius: var(--r); }
.picpick--wide .picpick__side { display: grid; gap: 0.5rem; }
.picpick--wide .picpick__side .field { margin: 0; width: 100%; max-width: 24rem; }
.epkform .sheet__title ~ .sheet__title { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.epkaccents { display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; }
.epkaccent { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem 0.3rem 0.4rem; border: 1px solid var(--fog); border-radius: 99px; font-size: 0.875rem; cursor: pointer; }
.epkaccent input { position: absolute; opacity: 0; }
.epkaccent span { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--acc); }
.epkaccent:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.epkaccent:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 46rem) {
  .epkcard { grid-template-columns: 6.5rem minmax(0, 1fr); align-items: start; }
  .epkcard__actions { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picpick--wide { flex-direction: column; align-items: stretch; }
  .picpick--wide .picpick__view { width: 100%; }
}

/* EPK: die Seite selbst (gleicher Aufbau wie das PDF) */
.detail--epk { grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem); }
.epk { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 2px 4px rgba(22, 23, 26, 0.05), 0 18px 48px -18px rgba(22, 23, 26, 0.28); max-width: 58rem; }
.epk a { text-decoration: none; }
.epk a:hover { text-decoration: underline; }
.epk__hero { position: relative; display: grid; align-content: space-between; min-height: clamp(19rem, 46vw, 31rem); padding: 1.2rem clamp(1.1rem, 3vw, 2rem) 1.5rem; background: var(--ink); color: var(--white); isolation: isolate; }
.epk__hero--plain { min-height: 17rem; }
.epk__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.epk__hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(22, 23, 26, 0.5) 0%, rgba(22, 23, 26, 0) 16%, rgba(22, 23, 26, 0) 32%, rgba(22, 23, 26, 0.94) 100%); }
.epk__hero--plain::after { display: none; }
.epk__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.epk__kit { font-size: 0.6875rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
.epk__logo { width: auto; height: 1.5rem; }
.epk__kicker { display: flex; align-items: center; gap: 0.7rem; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.13em; text-transform: uppercase; }
.epk__kicker::before { content: ""; flex: none; width: 2.1rem; height: 2px; background: var(--acc-d); }
.epk__name { margin: 0.35rem 0 0.3rem; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(2.6rem, 8.2vw, 5.4rem); line-height: 0.95; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.epk__tagline { max-width: 38rem; font-size: clamp(1rem, 1.6vw, 1.1875rem); color: var(--mist); }
.epk__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.9rem 1.5rem; padding: 1.1rem clamp(1.1rem, 3vw, 2rem); background: #f4f5f7; }
.epk__stats li + li { padding-left: 1.5rem; border-left: 1px solid var(--fog); }
.epk__stats b { display: block; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 2rem; line-height: 1.05; color: var(--acc); }
.epk__stats span { font-size: 0.8125rem; color: var(--slate); }
.epk__cols { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 1.5rem clamp(1.5rem, 4vw, 2.75rem); padding: 1.6rem clamp(1.1rem, 3vw, 2rem) 1.75rem; }
.epk__cols section + section { margin-top: 1.6rem; }
.epk__h { position: relative; margin-bottom: 0.7rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--fog); font-family: var(--f-body); font-size: 0.6875rem; font-weight: 650;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate); }
.epk__h::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 2.1rem; height: 2px; background: var(--acc); }
.epk__p { max-width: 64ch; }
.epk__p + .epk__p { margin-top: 0.6rem; }
.epk__bullets { display: grid; gap: 0.4rem; }
.epk__bullets li { position: relative; padding-left: 1.1rem; }
.epk__bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.4rem; height: 0.4rem; background: var(--acc); }
.epk__shows { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.epk__shows th, .epk__shows td { padding: 0.4rem 0.75rem 0.4rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.epk__shows th { font-weight: 650; white-space: nowrap; }
.epk__shows tr:last-child th, .epk__shows tr:last-child td { border-bottom: 0; }
.epk__quote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--acc); }
.epk__quote + .epk__quote { margin-top: 1rem; }
.epk__quote p { font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.epk__quote footer { margin-top: 0.3rem; font-size: 0.8125rem; color: var(--slate); }
.epk__links li + li { border-top: 1px solid var(--line); }
.epk__links a { position: relative; display: block; padding: 0.5rem 1.25rem 0.5rem 0; }
.epk__links a::after { content: "\203A"; position: absolute; right: 0.1rem; top: 50%; transform: translateY(-55%); font-size: 1.25rem; color: var(--slate); }
.epk__links b { display: block; font-weight: 650; line-height: 1.3; }
.epk__links span, .epk__sub, .epk__people span { display: block; font-size: 0.8125rem; color: var(--slate); }
.epk__item { font-weight: 650; }
.epk__small { font-size: 0.9375rem; }
.epk__people { display: grid; gap: 0.55rem; }
.epk__people b { display: block; font-weight: 650; line-height: 1.3; }
.epk__online { display: grid; gap: 0.3rem; font-size: 0.875rem; }
.epk__online div { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: 0.4rem; }
.epk__online dt { font-size: 0.8125rem; color: var(--slate); padding-top: 0.1rem; }
.epk__online dd { overflow-wrap: anywhere; }
.epk__contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 2rem; margin: 0 clamp(1.1rem, 3vw, 2rem); padding: 1.4rem 1.6rem 1.5rem; border-radius: 12px; background: var(--ink); color: var(--white); }
.epk__clabel { font-size: 0.6875rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc-d); }
.epk__cname { margin-top: 0.5rem; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 2rem; line-height: 1.05; }
.epk__crole { margin-top: 0.2rem; font-size: 0.9375rem; color: var(--mist); }
.epk__cways { display: grid; gap: 0.2rem; justify-items: start; margin-top: 0.9rem; font-weight: 500; }
.epk__contact a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); }
.epk__cother { display: grid; gap: 0.7rem; align-content: start; justify-items: start; }
.epk__cother .epk__logo { height: 1.6rem; margin-bottom: 0.3rem; }
.epk__cother p { display: grid; gap: 0.05rem; font-size: 0.875rem; }
.epk__cother span { font-size: 0.625rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.epk__cother b { font-weight: 550; }
.epk__cother i, .epk__cother a { font-style: normal; color: var(--mist); }
.epk__foot { padding: 1rem clamp(1.1rem, 3vw, 2rem) 1.2rem; font-size: 0.75rem; color: var(--slate); }
@media (max-width: 62rem) { .detail--epk { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) {
  .epk__cols { grid-template-columns: minmax(0, 1fr); }
  .epk__stats li + li { padding-left: 0; border-left: 0; }
}
/* Handy-Leiste: mit EPK sind es neun Punkte, auf schmalen Geräten die Beschriftung etwas kleiner */
/* Zehn Punkte passen am Handy nicht nebeneinander: die Leiste lässt sich seitlich schieben */
@media (max-width: 34rem) { .rail__nav { grid-auto-columns: minmax(3.5rem, 1fr); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; } .rail__nav::-webkit-scrollbar { display: none; } .rail__nav a { font-size: 0.625rem; letter-spacing: -0.01em; } .rail__nav a svg { width: 1.2rem; height: 1.2rem; } }

/* Drive: Ordnerstruktur ab dem Hauptordner, Unterordner zum Aufklappen, Vorschau im Fenster */
.drive__tree { margin-top: 0.5rem; }
.drive__tree > .quiet { font-size: 0.875rem; padding: 0.3rem 0; }
.drive__list--tree > li + li { border-top: 1px solid var(--mist); }
.drive__list--tree .drive__list--tree > li + li { border-top: 0; }
.drive__sub > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.5rem; align-items: center; min-height: 2.1rem; padding: 0.15rem 0;
  font-size: 0.875rem; font-weight: 550; cursor: pointer; list-style: none; }
.drive__sub > summary::-webkit-details-marker { display: none; }
.drive__sub > summary:hover .drive__fname { text-decoration: underline; }
.drive__sub[open] > summary .ficon--folder { background: var(--ink); }
.drive__sub .drive__open { width: 1.7rem; height: 1.7rem; opacity: 0; }
.drive__sub .drive__open svg { width: 0.95rem; height: 0.95rem; color: var(--slate); }
.drive__sub > summary:hover .drive__open, .drive__sub .drive__open:focus-visible { opacity: 1; }
@media (hover: none) { .drive__sub .drive__open { opacity: 0.7; } }
.drive__sub > .drive__files { padding: 0 0 0.3rem 0.8rem; margin-left: 0.4rem; border-left: 1px solid var(--fog); }
.drive__list--tree a[data-drive-preview] .drive__fname { text-decoration: underline; text-decoration-color: var(--fog); text-underline-offset: 0.2em; }
.drive__file { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0 0.1rem; }
.drive__file .drive__open { width: 1.7rem; height: 1.7rem; opacity: 0; }
.drive__file .drive__open svg { width: 0.95rem; height: 0.95rem; color: var(--slate); }
.drive__file:hover .drive__open, .drive__file .drive__open:focus-visible { opacity: 1; }
@media (hover: none) { .drive__file .drive__open { opacity: 0.7; } }
.drive__tree > .notice, .drive__files > .notice { margin: 0.4rem 0; font-size: 0.875rem; }
.drivepv__fail { padding: 2rem 1rem; color: var(--white); font-size: 0.9375rem; }
.drive__quick { margin-top: 0.7rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.drive__quick > summary { font-size: 0.8125rem; font-weight: 600; color: var(--slate); cursor: pointer; }
.drive__quick > summary .count { margin-left: 0.35rem; }
.dialog--wide { width: min(68rem, calc(100vw - 1.5rem)); }
.drivepv h2 { font-family: var(--f-body); font-stretch: 100%; font-weight: 650; font-size: 1rem; line-height: 1.3; text-transform: none; margin-bottom: 0.7rem; overflow-wrap: anywhere; }
.drivepv__box { display: grid; place-items: center; min-height: 12rem; margin-bottom: 0.9rem; border-radius: var(--r); background: var(--ink); overflow: hidden; }
.drivepv__box iframe { width: 100%; height: min(74dvh, 60rem); border: 0; background: var(--white); }
.drivepv__box img { max-width: 100%; max-height: 74dvh; height: auto; }
.epkfilter { margin-bottom: 0.8rem; }

/* ---------- Trello-Karte zu einem Eintrag */
.tlk { display: grid; gap: 0.7rem; margin-top: 0.6rem; }
.tlk__state { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; font-size: 0.875rem; }
.tlk__state .sub { flex-basis: 100%; font-size: 0.75rem; }
.tlk__who { border: 0; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.tlk__who legend { font-size: 0.8125rem; font-weight: 600; color: var(--slate); padding: 0; margin-bottom: 0.2rem; }
.tlk__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.tlk__all { margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; justify-items: start; }
.tlbox { margin-top: 1.25rem; }
.tlbox > summary { cursor: pointer; font-weight: 600; }
.tlbox[open] > summary { margin-bottom: 0.6rem; }
.tlbox .tlk { max-width: 28rem; }
.rtask__trello { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-left: 0.25rem; border-radius: 50%; color: var(--slate); vertical-align: middle; }
.rtask__trello:hover { background: var(--mist); color: var(--ink); }
.rtask__trello svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* ---------- Mail */
.mailsearch { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.maillist > li + li { border-top: 1px solid var(--mist); }
.maillist a { display: grid; grid-template-columns: 13rem minmax(0, 1fr) auto; gap: 0 1rem; align-items: baseline; padding: 0.6rem 1rem; text-decoration: none; color: var(--slate); }
.maillist a:hover { background: var(--paper); }
.maillist__who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.maillist__who .count { margin-left: 0.4rem; }
.maillist__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.maillist__text b { font-weight: 500; color: var(--ink); margin-right: 0.5rem; }
.maillist__when { font-size: 0.8125rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.maillist__star { color: var(--warn); margin-right: 0.35rem; }
.maillist .is-unread .maillist__who, .maillist .is-unread .maillist__text b { font-weight: 700; }
.maillist .is-unread .maillist__when { color: var(--ink); font-weight: 600; }
.maillist .is-unread a { box-shadow: inset 3px 0 0 var(--ink); }
.mailmore { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.mailsubject { text-transform: none; font-family: var(--f-body); font-stretch: 100%; font-weight: 700; font-size: 1.5rem; line-height: 1.25; letter-spacing: 0; overflow-wrap: anywhere; }
.mailthread { display: grid; gap: 0.75rem; }
.mailmsg + .mailmsg { margin-top: 0; }
.mailmsg__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 0.75rem; align-items: start; padding: 0.8rem 1rem; cursor: pointer; list-style: none; }
.mailmsg__head::-webkit-details-marker { display: none; }
.mailmsg__who { display: grid; min-width: 0; }
.mailmsg__who .sub { font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mailmsg__when { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; }
.mailmsg details[open] .mailmsg__snip { display: none; }
.mailmsg details:not([open]) .mailmsg__who .sub:not(.mailmsg__snip) { display: none; }
.mailmsg--draft { border-style: dashed; }
.mailmsg__body { padding: 0 1rem 1rem; border-top: 1px solid var(--mist); }
.mailmsg__frame { display: block; width: 100%; height: 12rem; border: 0; margin-top: 0.5rem; background: var(--white); }
.mailmsg__text { padding-top: 0.9rem; font-size: 0.9375rem; line-height: 1.55; overflow-wrap: anywhere; max-width: 46rem; }
.mailmsg__text blockquote { margin: 0.3rem 0 0.3rem 0.2rem; padding-left: 0.8rem; border-left: 2px solid var(--fog); color: var(--slate); }
.mailmsg__blocked { margin-top: 0.8rem; font-size: 0.8125rem; }
.mailmsg__acts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 0.9rem; padding-top: 0.7rem; border-top: 1px solid var(--mist); }
.mailfiles { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.mailfiles a { display: inline-flex; align-items: center; gap: 0.5rem; max-width: 22rem; padding: 0.4rem 0.7rem; border: 1px solid var(--fog); border-radius: var(--r); text-decoration: none; font-size: 0.875rem; }
.mailfiles a:hover { border-color: var(--ink); }
.mailfiles__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mailwrite { margin-top: 1.25rem; }
.mailform { display: grid; gap: 0.8rem; max-width: 52rem; }
.mailform textarea { font-size: 0.9375rem; line-height: 1.5; }
.mailform__more > summary { cursor: pointer; font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
.mailform__more[open] > summary { margin-bottom: 0.5rem; }
.mailform__fwd { border: 0; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.mailform__fwd legend { font-size: 0.8125rem; font-weight: 600; color: var(--slate); padding: 0; margin-bottom: 0.2rem; }
.mailform__guard { padding: 0.6rem 0.8rem; border-radius: var(--r); background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.mailform .form-actions { justify-content: space-between; }
.sig form { display: grid; gap: 0.8rem; max-width: 46rem; }
.sig__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.sig__link { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; margin-left: auto; }
.sig__link input { width: 14rem; padding: 0.3rem 0.6rem; font-size: 0.875rem; }
.sig__frame { display: block; width: 100%; height: 12rem; border: 1px solid var(--fog); border-radius: var(--r); background: var(--white); }
.sig__frame:focus-within { border-color: var(--ink); }
@media (max-width: 46rem) {
  .maillist a { grid-template-columns: minmax(0, 1fr) auto; padding: 0.6rem 0.8rem; }
  .maillist__text { grid-column: 1 / -1; grid-row: 2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .maillist__text b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mailmsg__head { grid-template-columns: auto minmax(0, 1fr); }
  .mailmsg__when { grid-column: 2; }
  .mailsubject { font-size: 1.25rem; }
  .sig__link { margin-left: 0; }
}
.page-head h1.mailsubject { font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.15; }
.drive__sync { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.3rem 0.8rem; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--mist); }
.drive__sync .sub { font-size: 0.75rem; }
.drive__sync .linkbtn { font-size: 0.8125rem; }

/* ---------- Vorlagen (Musterverträge) */
.vlist { display: grid; gap: 1rem; }
.vcard { padding: 1rem 1.1rem; }
.vcard + .vcard { margin-top: 0; }
.vcard__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 0.75rem 1.5rem; }
.vcard__title { font-family: var(--f-body); font-stretch: 100%; text-transform: none; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.vcard__head .sub { margin-top: 0.2rem; max-width: 44rem; font-size: 0.8125rem; }
.vcard__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.vcard__acts form { display: flex; gap: 0.4rem; align-items: center; }
.vcard__acts select { padding: 0.35rem 1.8rem 0.35rem 0.6rem; font-size: 0.875rem; }
.vdrafts { margin-top: 0.9rem; border-top: 1px solid var(--mist); }
.vdrafts li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.2rem 1rem; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid var(--mist); }
.vdrafts li:last-child { border-bottom: 0; padding-bottom: 0; }
.vdrafts__name { font-weight: 600; overflow-wrap: anywhere; }
.vwork { display: grid; grid-template-columns: minmax(18rem, 26rem) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.vform form { display: grid; gap: 0.8rem; }
.vform--text { grid-column: 1; }
.vfield--open input, .vfield--open textarea { border-color: var(--warn); }
.vhint { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--slate); }
.vband { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.vdelete { margin-top: 0.9rem; }
.vsource { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.8125rem; line-height: 1.5; }
.vhelp { display: grid; gap: 0.35rem; font-size: 0.8125rem; color: var(--slate); }
.vhelp code { font-size: 0.75rem; background: var(--mist); padding: 0.05rem 0.3rem; border-radius: 4px; color: var(--ink); }
.vpaper__note { font-size: 0.8125rem; color: var(--slate); margin-bottom: 0.5rem; }
.vdoc { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); padding: 2.2rem clamp(1.1rem, 4vw, 3rem); font-size: 0.875rem; line-height: 1.6; color: var(--ink); max-width: 50rem; overflow-wrap: anywhere; }
.vdoc p { margin-bottom: 0.65rem; }
.vdoc ul { margin: 0 0 0.65rem 1.2rem; list-style: disc; }
.vdoc li { margin-bottom: 0.3rem; }
.vdoc__title { font-family: var(--f-body); font-stretch: 100%; text-transform: none; font-weight: 800; font-size: 1.5rem; text-align: center; margin-bottom: 0.4rem; line-height: 1.2; }
.vdoc__sub { text-align: center; font-weight: 650; }
.vdoc__h { font-family: var(--f-body); font-stretch: 100%; text-transform: none; font-weight: 700; font-size: 1rem; margin: 1.3rem 0 0.45rem; }
.vdoc__sign { line-height: 2.1; margin-top: 0.3rem; }
.vf { background: #fff3bf; color: inherit; padding: 0.05em 0.25em; border-radius: 3px; }
.vf--open { background: #ffe0c2; box-shadow: inset 0 -2px 0 var(--warn); }
@media (max-width: 62rem) { .vwork { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 46rem) { .vdrafts li { grid-template-columns: minmax(0, 1fr) auto; } .vdrafts li .sub { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- Verlauf */
.vl { display: grid; }
.vl__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 0.7rem; align-items: start; padding: 0.55rem 0; border-top: 1px solid var(--mist); }
.vl__row:first-child { border-top: 0; }
.vl__row .avatar { width: 1.75rem; height: 1.75rem; font-size: 0.625rem; margin-top: 0.1rem; }
.vl__text { display: flex; flex-wrap: wrap; gap: 0 0.4rem; font-size: 0.9375rem; line-height: 1.4; min-width: 0; }
.vl__what { color: var(--slate); }
.vl__what b { color: var(--ink); font-weight: 600; }
.vl__title { flex-basis: 100%; overflow-wrap: anywhere; }
.vl__when { font-size: 0.75rem; color: var(--slate); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 0.2rem; }
.vl__row--zugewiesen .vl__what, .vl__row--entzogen .vl__what { color: var(--ink); }
.vl__row--zugewiesen .avatar { box-shadow: 0 0 0 2px var(--fog); }
.vl__row--erledigt .vl__what { color: var(--ok); }
.vl__note { margin-bottom: 0.4rem; font-size: 0.8125rem; }
.vl--compact .vl__text { font-size: 0.875rem; }
.vl--compact .vl__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlpanel { margin-top: 1.25rem; padding: 1rem 1.1rem; }
.vlday { padding: 1rem 1.1rem; }
.vlfilter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem 1rem; margin: 1.25rem 0; }
.vlfilter .field { min-width: 9rem; }
.vlfilter .checkline { padding-bottom: 0.55rem; }
.vtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 0.8rem; }
.vtile { padding: 0.9rem 1rem; display: grid; gap: 0.7rem; align-content: start; }
.vtile + .vtile { margin-top: 0; }
.vtile.is-current { border-color: var(--ink); }
.vtile__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem; align-items: center; text-decoration: none; }
.vtile__head .sub { display: block; font-size: 0.75rem; }
.vtile__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.vtile__nums div { background: var(--paper); border-radius: var(--r); padding: 0.4rem 0.5rem; }
.vtile__nums dt { font-size: 0.6875rem; color: var(--slate); }
.vtile__nums dd { font-family: var(--f-display); font-stretch: 78%; font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.vtile__list { display: grid; gap: 0.45rem; font-size: 0.8125rem; }
.vtile__list li { display: grid; gap: 0.05rem; }
.vtile__list li > span:first-child { color: var(--slate); }
.vtile__title { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtile__list .sub { font-size: 0.6875rem; }
.vtile__got { font-size: 0.8125rem; padding-top: 0.6rem; border-top: 1px solid var(--mist); overflow-wrap: anywhere; }
.cardhist { display: grid; gap: 0.35rem; font-size: 0.8125rem; }
.cardhist li { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: 0.6rem; }
.cardhist__when { color: var(--slate); font-variant-numeric: tabular-nums; }
@media (max-width: 46rem) { .cardhist li { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* Release-Aufgabe: mehreren zuweisen, Board und Liste der Trello-Karte wählen */
.rtask__who { justify-content: flex-end; cursor: pointer; }
.rtask__date { max-width: 13rem; }
.whopick { display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; margin-bottom: 0.9rem; }
.whopick legend { font-size: 0.8125rem; font-weight: 600; color: var(--slate); padding: 0; margin-bottom: 0.35rem; }
.whopick legend small { font-weight: 400; }
.whopick__one { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem 0.3rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 0.875rem; cursor: pointer; }
.whopick__one:hover { border-color: var(--ink); }
.whopick__one:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.whopick__one input { margin: 0; accent-color: var(--paper); }
.rtask__tl { border-top: 1px solid var(--mist); padding-top: 0.7rem; margin-bottom: 0.2rem; }
.rtask__tlhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; font-size: 0.8125rem; font-weight: 600; color: var(--slate); margin-bottom: 0.5rem; }
.rtask__tlhead .sub, .rtask__tlhead a { font-weight: 400; }
.tlpick { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.tlk .tlpick .field { margin-bottom: 0; }
.tlk .tlpick { gap: 0.6rem 0.9rem; }
@media (min-width: 52.01rem) {
  .rtask:has(> .rtask__edit[open]) > .rtask__who { margin-right: 2.6rem; }     /* Platz für die drei Punkte, die dann oben rechts sitzen */
}

/* ---------- Tour › Tagesablauf (Daten aus der Tour-App) ---------- */
.ta-days { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.4rem; margin-bottom: 1.25rem; scrollbar-width: thin; }
.ta-day { flex: none; display: grid; gap: 0.05rem; min-width: 6.5rem; padding: 0.55rem 0.8rem 0.6rem; border-radius: var(--r); background: var(--white);
  border: 1px solid var(--fog); text-decoration: none; position: relative; }
.ta-day::before { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--ash); }
.ta-day--show::before { background: var(--ok); }
.ta-day--off::before { background: var(--info); }
.ta-day--travel::before { background: var(--warn); }
.ta-day:hover { border-color: var(--slate); }
.ta-day.is-current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ta-day__d { font-weight: 700; font-size: 0.875rem; }
.ta-day__c { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; }
.ta-day.is-current .ta-day__c { color: var(--ash); }
.ta-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.5rem; align-items: start; }
.ta-main { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r-lg); padding: 1.25rem 1.4rem; box-shadow: var(--lift); }
.ta-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; }
.ta-city { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: 2.25rem; line-height: 1; }
.ta-list { display: grid; }
.ta-item { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 1rem; padding: 0.75rem 0.5rem; border-top: 1px solid var(--mist); align-items: start; }
.ta-item:first-child { border-top: 0; }
.ta-item.is-past { color: var(--slate); }
.ta-item.is-now { background: var(--warn-bg); border-radius: var(--r); }
.ta-item--empty { display: block; color: var(--slate); }
.ta-time { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.0625rem; }
.ta-time small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--slate); }
.ta-what b { font-weight: 700; }
.ta-note { display: block; color: var(--slate); font-size: 0.9375rem; }
.ta-who { display: flex; flex-wrap: wrap; gap: 0.25rem; justify-content: flex-end; }
.ta-changed { background: var(--warn-bg); color: var(--warn); }
.ta-foot { margin-top: 0.9rem; font-size: 0.9375rem; }
.ta-foot a, .ta-link { text-decoration: underline; }
.ta-side { display: grid; gap: 0.75rem; }
.ta-box { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); padding: 0.9rem 1rem; display: grid; gap: 0.2rem; }
.ta-box .eyebrow { margin-bottom: 0.15rem; }
.ta-box span { color: var(--slate); font-size: 0.9375rem; }
.ta-box--muted b { color: var(--slate); }
.ta-contact { display: grid; padding: 0.4rem 0; border-top: 1px solid var(--mist); font-size: 0.9375rem; }
.ta-contact:first-of-type { border-top: 0; }
.ta-contact a { color: var(--slate); text-decoration: underline; }
.ta-empty { background: var(--white); border: 1px dashed var(--ash); border-radius: var(--r-lg); padding: 1.5rem; display: grid; gap: 0.75rem; justify-items: start; max-width: 46rem; }
.ta-empty h2 { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: 1.5rem; }
.ta-empty p { color: var(--slate); }
@media (max-width: 900px) { .ta-grid { grid-template-columns: 1fr; } .ta-item { grid-template-columns: 3.75rem minmax(0, 1fr); } .ta-who { grid-column: 2; justify-content: flex-start; } }

/* ---------- Daysheets (Tour-App) ---------- */
.ds-tours { list-style: none; margin: 0; padding: 0; }
.ds-tour { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; padding: 0.8rem 1.1rem; border-top: 1px solid var(--mist); }
.ds-tour__main { display: grid; gap: 0.1rem; flex: 1 1 16rem; min-width: 0; }
.ds-tour__main a { color: inherit; }
.ds-state { font-size: 0.875rem; color: var(--slate); }
.ds-state--on { color: var(--ok); font-weight: 600; }
.ds-state--on::before { content: "\25CF\00a0"; }
.ds-foot { margin-top: 1rem; max-width: 70ch; }
.ds-intro { padding: 0 1.1rem 0.8rem; max-width: 70ch; }
/* Alle Shows einzeln + Zusammenfassen */
.ds-shows { list-style: none; margin: 0; padding: 0; }
.ds-shows__month { padding: 0.9rem 1.1rem 0.3rem; font-family: var(--f-display); font-stretch: 92%; font-weight: 720; font-size: 0.9375rem; color: var(--slate); }
.ds-show { display: grid; grid-template-columns: 1.4rem 3.6rem minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; padding: 0.55rem 1.1rem; border-top: 1px solid var(--mist); }
.ds-shows__month + .ds-show { border-top: 0; }
.ds-show input[type=checkbox] { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--ok); }
.ds-show__date { display: grid; justify-items: center; line-height: 1.15; padding: 0.25rem 0; border-radius: var(--r); background: var(--mist); }
.ds-show__date span { font-size: 0.75rem; color: var(--slate); }
.ds-show__main { display: grid; gap: 0.05rem; min-width: 0; color: inherit; text-decoration: none; }
.ds-show__main:hover b { text-decoration: underline; }
.ds-combine__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding: 0.9rem 1.1rem; border-top: 1px solid var(--mist); }
.ds-combine__bar input[type=text] { flex: 1 1 14rem; max-width: 24rem; }
@media (max-width: 40rem) {
  .ds-show { grid-template-columns: 1.4rem 3.2rem minmax(0, 1fr); }
  .ds-show .ds-state { grid-column: 3; font-size: 0.8125rem; }
}
.ds-small { font-size: 0.8125rem; margin-bottom: 0.6rem; }
.ds-quick { display: flex; gap: 0.5rem; align-items: center; margin: 0 0 0.75rem; }
.ds-quick__field { flex: 1; margin: 0; }
.ds-events { margin: 0 -1.4rem -1.25rem; border-top: 1px solid var(--mist); }
.ds-events .row-edit:first-child { border-top: 0; }
.ds-ev summary { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto auto; gap: 1rem; align-items: start; padding: 0.75rem 1.4rem; }
.ds-ev.is-past summary { color: var(--slate); }
.ds-ev.is-now summary { background: var(--warn-bg); }
.ds-ev .row-edit__hint { margin-left: 0; }
.ds-events .row-edit--add summary, .ds-events .row-edit__form { padding-left: 1.4rem; padding-right: 1.4rem; }
.ds-none { padding: 0.9rem 1.4rem; }
.ds-for { border: 0; padding: 0; margin: 0 0 0.9rem; }
.ds-checks { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.ds-checks .checkline { margin: 0.2rem 0; }
.field-hint { font-size: 0.8125rem; }
.ds-box { gap: 0.35rem; }
.ds-links { display: flex; gap: 0.9rem; }
.ds-edit { border-top: 1px solid var(--mist); padding-top: 0.45rem; }
.ds-box > .eyebrow + .ds-edit { border-top: 0; padding-top: 0; }
.ds-edit summary { display: grid; gap: 0.15rem; cursor: pointer; list-style: none; }
.ds-edit summary::-webkit-details-marker { display: none; }
.ds-edit summary span { color: var(--slate); font-size: 0.9375rem; }
.ds-edit__hint, .ds-add { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; font-size: 0.875rem; }
.ds-add::before { content: "+ "; }
.ds-edit[open] .ds-edit__hint { display: none; }
.ds-edit__form { margin-top: 0.7rem; }
.ds-edit__form .field-row { grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); }
.ds-line { display: flex; gap: 0.75rem; justify-content: space-between; align-items: flex-start; padding: 0.45rem 0; border-top: 1px solid var(--mist); font-size: 0.9375rem; }
.ds-box > .eyebrow + .ds-line { border-top: 0; }
.ds-line > div { display: grid; gap: 0.05rem; min-width: 0; overflow-wrap: anywhere; }
.ds-line a { color: var(--slate); text-decoration: underline; }
.ds-line .linkbtn { font-size: 0.8125rem; flex: none; }
.ds-table { width: 100%; border-collapse: collapse; }
.ds-table th, .ds-table td { padding: 0.4rem 0.5rem; border-top: 1px solid var(--mist); text-align: left; vertical-align: middle; }
.ds-table thead th { font-size: 0.8125rem; color: var(--slate); font-weight: 600; border-top: 0; }
.ds-table tbody th { white-space: nowrap; font-weight: 600; padding-left: 1.1rem; }
.ds-table input, .ds-table select { width: 100%; min-width: 8rem; }
.ds-table tr:target { background: var(--warn-bg); }
.ds-actions { padding: 0.9rem 1.1rem 1.1rem; }
.ds-invite { display: grid; gap: 0.4rem; }
.ds-invite__row { display: flex; gap: 0.75rem; align-items: center; }
.ds-invite__row span { width: 3rem; color: var(--slate); }
.ds-invite__row input { flex: 1; }
.ds-code { font-size: 1.25rem; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .ds-ev summary { grid-template-columns: 3.75rem minmax(0, 1fr); }
  .ds-ev .ta-who, .ds-ev .row-edit__hint { grid-column: 2; justify-content: flex-start; }
  .ds-quick { flex-wrap: wrap; }
}
.ds-file summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 0.9rem; align-items: center; }
.ds-file__ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: var(--r); background: var(--mist); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; color: var(--slate); }
.ds-file__main { display: grid; min-width: 0; overflow-wrap: anywhere; }
.ds-file__main a { color: inherit; }
.ds-file .row-edit__hint { margin-left: 0; }
.ds-upload input[type=file] { padding: 0.6rem; border: 1px dashed var(--ash); border-radius: var(--r); background: var(--paper); }
@media (max-width: 900px) {
  .ds-file summary { grid-template-columns: auto minmax(0, 1fr); }
  .ds-file .ta-who, .ds-file .ds-file__dl, .ds-file .row-edit__hint { grid-column: 2; }
}
.ds-print { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.ds-print select { width: auto; padding-top: 0.35rem; padding-bottom: 0.35rem; font-size: 0.875rem; }

/* ---------- Handy: fünf Hauptpunkte + „Mehr“ ---------- */
.rail__more { display: none; }
@media (max-width: 52rem) {
  .rail__nav > .rail__sec { display: none !important; }
  .rail__more { display: block; }
}
.menue { display: grid; gap: 1rem; max-width: 40rem; }
.menue__group { background: var(--white); border: 1px solid var(--fog); border-radius: var(--r-lg); overflow: hidden; }
.menue__head { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem; font-weight: 650; font-size: 1.0625rem; color: inherit; text-decoration: none; }
.menue__head svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.menue__head:hover { background: var(--mist); }
.menue__sub { list-style: none; margin: 0; padding: 0 0 0.4rem; border-top: 1px solid var(--mist); }
.menue__sub a { display: block; padding: 0.65rem 1.1rem 0.65rem 3.2rem; color: var(--slate); text-decoration: none; }
.menue__sub a:hover { background: var(--mist); color: var(--ink); }
/* Kalender am Handy: Videocall, ‹ Heute › in einer Zeile; „Neuer Termin“ schmal darüber */
@media (max-width: 52rem) {
  .page-head .monthnav { width: 100%; flex-wrap: nowrap; }
  .page-head .monthnav .btn { flex: 0 0 auto; }
  .page-head .monthnav .btn:first-child { flex: 1 1 auto; }
}
@media (max-width: 30rem) {
  .page-head .monthnav { flex-wrap: wrap; }
  .page-head .monthnav [data-ev-new] { order: -1; flex: 1 1 100%; }
  .page-head .monthnav > * { min-width: 0; }
}
/* Booking: vier gleich hohe Karten */
.bookstart { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); align-items: stretch; }
.bookstart__card { display: flex; flex-direction: column; }
.bookstart__card > .form-actions { margin-top: auto; justify-content: flex-start; }
/* Social ohne Profile: eine Zeile statt fünf leerer */
.social__none { padding: 0.3rem 0 0.2rem; }
/* Drive-Ordner: Erklärung aufklappbar */
.ordner__more { margin: -0.3rem 0 1rem; }
.ordner__how { margin: 0.5rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; color: var(--slate); font-size: 0.9375rem; max-width: 65ch; }
/* Daysheets am Handy: nichts breiter als der Bildschirm */
@media (max-width: 900px) {
  .ta-grid { grid-template-columns: minmax(0, 1fr); }
  .ta-head { flex-wrap: wrap; align-items: flex-start; }
  .ds-print { width: 100%; }
  .ds-print select { flex: 1 1 auto; }
  .ta-main { padding: 1rem 1rem; }
  .ds-events { margin: 0 -1rem -1rem; }
  .ds-ev summary, .ds-events .row-edit--add summary, .ds-events .row-edit__form { padding-left: 1rem; padding-right: 1rem; }
}

/* ---------- Widgets: Breite im Hauptbereich (ganz, halb, Drittel) und „Widget hinzufügen“ ---------- */
.dash__col--main { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: row dense; }
.dash__col--main > .widget, .dash__col--main > .widget-ph { grid-column: span 6; min-width: 0; }
.dash__col--main > [data-size="halb"] { grid-column: span 3; }
.dash__col--main > [data-size="drittel"] { grid-column: span 2; }
/* leere Seitenspalte: Hauptbereich über die ganze Breite (beim Anpassen bleibt sie als Ablage sichtbar) */
body:not(.is-arranging) .dash.dash--noside { grid-template-columns: minmax(0, 1fr); }
body:not(.is-arranging) .dash--noside > .dash__col--side { display: none; }
.is-arranging .dash--noside > .dash__col--side::before { content: "Seitenspalte (leer)"; color: var(--ash); font-size: 0.875rem; padding: 0.5rem; }
/* Werkzeuge: Breite nur im Hauptbereich */
.wtools__size { display: inline-flex; gap: 0.1rem; margin: 0 0.25rem; padding-left: 0.35rem; border-left: 1px solid var(--fog); }
.dash__col--side .wtools__size { display: none; }
.wtools__size [aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.wtools__size [aria-pressed="true"]:hover { background: var(--ink); }
/* schmale Widgets: Werkzeugleiste darf umbrechen */
.dash__col--main > [data-size="drittel"] .wtools { flex-wrap: wrap; }
.dash__col--main > [data-size="drittel"] .wtools__name { flex-basis: calc(100% - 2.5rem); }
/* Katalog */
.wcat { flex-basis: 100%; background: var(--coal); border: 1px solid var(--iron); border-radius: var(--r); padding: 0.75rem 0.9rem; }
.wcat__title { font-weight: 650; margin-bottom: 0.4rem; }
.wcat__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.4rem 1rem; }
.wcat__item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.45rem 0; border-top: 1px solid var(--iron); }
.wcat__txt { display: grid; gap: 0.05rem; min-width: 0; }
.wcat__txt span { font-size: 0.8125rem; color: var(--ash); }
.wcat__item.is-on b { color: var(--ash); font-weight: 500; }
.wcat__on { font-size: 0.75rem; color: var(--ash); white-space: nowrap; }
.wcat .btn--small { background: var(--paper); color: var(--ink); border-color: var(--paper); flex: none; }
/* Handy und schmale Fenster: alles untereinander */
@media (max-width: 62rem) {
  .dash__col--main > .widget, .dash__col--main > .widget-ph { grid-column: span 6; }
}
@media (min-width: 40.01rem) and (max-width: 62rem) {
  .dash__col--main > [data-size="halb"], .dash__col--main > [data-size="drittel"] { grid-column: span 3; }
}
/* Nebeneinander: gleich hohe Kästen */
.dash__col--main { align-items: stretch; }
.dash__col--main > .widget { display: flex; flex-direction: column; }
.dash__col--main > .widget > .panel, .dash__col--main > .widget > .day__tasks, .dash__col--main > .widget > section { flex: 1 1 auto; }
.dash__col--main > .widget > .wtools { flex: 0 0 auto; }
.widget.is-new > .wtools { background: var(--warn-bg); border-radius: var(--r); }

/* ---------- Neue Widgets (Künstler, Kontakte, Talents, EPK, Influencer, Verträge, Follower, Finanzen, Daysheets) ---------- */
.glist { list-style: none; margin: 0.2rem 0 0; padding: 0; }
.glist__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; border-top: 1px solid var(--mist); }
.glist__row:first-child { border-top: 0; }
.glist__main { display: grid; gap: 0.05rem; min-width: 0; color: inherit; text-decoration: none; }
.glist__main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glist__main:hover b { text-decoration: underline; text-underline-offset: 0.18em; }
.glist__main .sub { font-size: 0.8125rem; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glist__meta { display: flex; align-items: center; gap: 0.4rem; flex: none; text-align: right; }
.glist__meta .sub { font-size: 0.8125rem; color: var(--slate); }
.glist__flag { margin: 0.1rem 0 0.4rem; }
.glist__flag a { color: var(--warn); font-weight: 650; }
.gnums { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 0.6rem 1rem; margin: 0.4rem 0 0.6rem; }
.gnums dt { font-size: 0.8125rem; color: var(--slate); }
.gnums dd { font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.gnums dd.is-down { color: var(--bad); }
.gds + .gds { margin-top: 0.8rem; padding-top: 0.6rem; border-top: 1px solid var(--mist); }
.gds__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; margin-bottom: 0.3rem; }
.gds__head a { color: inherit; font-size: 1.0625rem; }
.gds__head .sub { color: var(--slate); font-size: 0.875rem; }
.gds__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.gds__list li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0.6rem; padding: 0.2rem 0.3rem; border-radius: 4px; }
.gds__list li.is-past { color: var(--slate); }
.gds__list li.is-now { background: var(--warn-bg); font-weight: 650; }
.gds__t { font-weight: 700; font-variant-numeric: tabular-nums; }
.gw-belegt .daytabs { display: none; }

/* Mail: eigene Gmail-Ordner */
.mailfolders { margin: -0.5rem 0 1rem; }
.mailfolders > summary { cursor: pointer; font-size: 0.8125rem; font-weight: 600; color: var(--slate); padding: 0.25rem 0; width: max-content; }
.mailfolders > summary:hover { color: var(--ink); }
.mailfolders ul { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.mailfolders a { display: inline-flex; align-items: center; min-height: 2rem; padding: 0.15rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: 0.875rem; color: var(--ink); }
.mailfolders a:hover { border-color: var(--ink); }
.mailfolders a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.mailfolders__d1 a::before, .mailfolders__d2 a::before, .mailfolders__d3 a::before { content: "↳"; margin-right: 0.3rem; opacity: 0.5; }

/* Mail › Kalender */
.mailcal { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1.25rem; align-items: start; }
.mailcal__list { padding: 0.4rem 1.1rem 1rem; }
.mailcal__day { font-size: 0.875rem; font-weight: 650; margin: 1rem 0 0.3rem; color: var(--slate); }
.mailcal__day.is-today { color: var(--ink); }
.mailcal__list ul { list-style: none; margin: 0; padding: 0; }
.mailcal__list li a { display: flex; gap: 0.9rem; padding: 0.5rem 0; border-top: 1px solid var(--mist); text-decoration: none; color: var(--ink); }
.mailcal__list li:first-child a { border-top: 0; }
.mailcal__list li a:hover b { text-decoration: underline; }
.mailcal__time { flex: 0 0 4.6rem; font-variant-numeric: tabular-nums; color: var(--slate); font-size: 0.875rem; padding-top: 0.05rem; }
.mailcal__text { display: grid; gap: 0.1rem; min-width: 0; }
.mailcal__text b { font-weight: 600; }
.mailcal__text span { font-size: 0.8125rem; color: var(--slate); }
.mailcal__pick { padding: 1rem 1.1rem; display: grid; gap: 1rem; }
.mailcal__pick fieldset { border: 0; padding: 0; margin: 0 0 0.8rem; display: grid; gap: 0.45rem; }
.mailcal__pick legend { font-weight: 650; margin-bottom: 0.4rem; padding: 0; }
.mailcal__opt { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.9rem; cursor: pointer; }
.mailcal__opt input { margin-top: 0.2rem; }
.mailcal__help > summary { cursor: pointer; font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
.mailcal__help ol { margin: 0.5rem 0; padding-left: 1.2rem; font-size: 0.875rem; display: grid; gap: 0.35rem; }
@media (max-width: 52rem) {
  .mailcal { grid-template-columns: 1fr; }

}

/* Daysheets: ausgeblendete freie Tage */
.ta-daygap { flex: none; align-self: center; padding: 0.15rem 0.55rem; border: 1px dashed var(--ash); border-radius: 999px; font-size: 0.75rem; color: var(--slate); white-space: nowrap; }
.ta-offdays { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: -0.75rem 0 1.25rem; font-size: 0.8125rem; color: var(--slate); }

/* Kalender (eigener Menüpunkt): Farbe je Kalender als schmaler Streifen, Rest bleibt grau */
.mycal__main { display: grid; gap: 1rem; min-width: 0; }
.mycal__phone { display: none; }
.mev.mev--cal { background: var(--mist); color: var(--ink); box-shadow: inset 3px 0 0 var(--c, var(--ash)); padding-left: 0.5rem; cursor: pointer; }
.mev.mev--cal.is-serie { background: transparent; color: var(--slate); box-shadow: inset 3px 0 0 var(--c, var(--ash)), inset 0 0 0 1px var(--line); }
.month__num { text-decoration: none; color: inherit; }
a.month__num:hover { background: var(--mist); }
.month__day.is-today a.month__num:hover { background: var(--iron); }
.caldot { display: inline-block; flex: none; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--c, var(--ash)); margin-top: 0.38rem; }
.mailcal__list li a.mev--cal { cursor: pointer; }
.mailcal__list li a.mev--cal .mailcal__time { box-shadow: inset 3px 0 0 var(--c, var(--ash)); padding-left: 0.55rem; }

.wk { overflow: hidden; }
.wk__head, .wk__allday { display: grid; grid-template-columns: 3.4rem repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.wk__dh { padding: 0.55rem 0.5rem; font-size: 0.8125rem; color: var(--slate); border-left: 1px solid var(--line); }
.wk__dh b { font-size: 1.05rem; color: var(--ink); margin-left: 0.15rem; }
.wk__dh.is-today b { display: inline-block; min-width: 1.7rem; text-align: center; border-radius: 999px; background: var(--ink); color: var(--white); padding: 0 0.3rem; }
.wk__gutter { font-size: 0.6875rem; color: var(--ash); padding: 0.4rem 0.3rem; text-align: right; align-self: center; }
.wk__adcell { border-left: 1px solid var(--line); padding: 0.25rem; display: grid; gap: 0.2rem; align-content: start; min-width: 0; }
.wk__body { position: relative; display: grid; grid-template-columns: 3.4rem repeat(7, minmax(0, 1fr)); height: min(70vh, 40rem); overflow-y: auto;
  --hour: 3rem; }
.wk__hours { display: grid; grid-template-rows: repeat(24, var(--hour)); }
.wk__hours span { font-size: 0.6875rem; color: var(--ash); text-align: right; padding-right: 0.45rem; transform: translateY(-0.45rem); font-variant-numeric: tabular-nums; }
.wk__hours span:first-child { visibility: hidden; }
.wk__col { position: relative; height: calc(24 * var(--hour)); border-left: 1px solid var(--line); cursor: copy;
  background-image: repeating-linear-gradient(to bottom, var(--line) 0, var(--line) 1px, transparent 1px, transparent var(--hour)); }
.wk__col.is-today { background-color: #fafbfc; }
.wk__col:not([data-ev-slot]) { cursor: default; }
.wk__ev { position: absolute; left: 2px; width: calc(100% - 4px); overflow: hidden; border-radius: 6px; padding: 0.2rem 0.35rem 0.2rem 0.5rem;
  background: var(--white); border: 1px solid var(--fog); box-shadow: inset 3px 0 0 var(--c, var(--ash)); font-size: 0.75rem; line-height: 1.25;
  color: var(--ink); text-decoration: none; cursor: pointer; z-index: 1; }
.wk__ev:hover { border-color: var(--ink); z-index: 2; }
.wk__ev b { font-weight: 650; font-variant-numeric: tabular-nums; }
.wk__ev span { display: block; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk__ev.is-short { white-space: nowrap; text-overflow: ellipsis; padding-top: 0; padding-bottom: 0; }
.wk__ev.is-short span { display: none; }
.wk__ev.is-serie { background: var(--paper); color: var(--slate); }

.evd__cal { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--slate); margin: 0 0 0.4rem; }
.evd__cal .caldot { margin-top: 0; }
.evd h2 { margin-bottom: 0.5rem; text-transform: none; }
.evd__when { font-weight: 600; margin: 0 0 0.6rem; }
.evd__row { margin: 0 0 0.5rem; color: var(--iron); }
.evd__notes { white-space: pre-line; background: var(--paper); border-radius: var(--r); padding: 0.7rem 0.8rem; font-size: 0.9375rem; margin: 0.4rem 0 0.8rem; max-height: 14rem; overflow: auto; }
.evd .dialog__actions form { margin: 0; }
.evd__del { color: var(--bad); }
.evd__del[data-sure="1"] { background: var(--bad); border-color: var(--bad); color: var(--white); }
#ev-edit [hidden] { display: none; }

@media (max-width: 52rem) {
  .wk { display: none; }
  .mycal__phone { display: block; }
}

/* Aufgaben ohne Datum: nur drei, Rest aufklappbar */
.tasks-more > summary { list-style: none; cursor: pointer; padding: 0.6rem 1rem 0.7rem; font-size: 0.875rem; font-weight: 600; color: var(--slate); }
.tasks-more > summary::-webkit-details-marker { display: none; }
.tasks-more > summary:hover { color: var(--ink); text-decoration: underline; }
.tasks-more__close, .tasks-more[open] .tasks-more__open { display: none; }
.tasks-more[open] .tasks-more__close { display: inline; }
.tasks-more[open] > summary { order: 2; }
.tasks-more[open] { display: flex; flex-direction: column; }
/* Verlauf: Zuweisungen an mich oder von mir hervorheben */
.vl__row.is-me { background: var(--mist); border-radius: 8px; margin: 0.15rem -0.5rem; padding: 0.55rem 0.5rem; border-top-color: transparent; }
.vl__row.is-me .vl__what { color: var(--ink); }
.vl__row.is-me + .vl__row { border-top-color: transparent; }

/* ---------- Unterlagen je Show, Tour, Termin, Festival ---------- */
.ul-box { margin-top: 1.25rem; scroll-margin-top: 1rem; }
.ul-box__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-right: 1.25rem; }
.ul-box__head .flag, .ul-box__head .tag { margin-top: 0.5rem; }
.ul-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem; padding: 0.25rem 1.25rem 1rem; }
.ul-slot { border: 1px solid var(--line); border-radius: var(--r); padding: 0.75rem 0.85rem; display: grid; gap: 0.45rem; align-content: start; background: var(--white); }
.ul-slot.is-missing { border-color: #f1c9c5; background: #fffafa; }
.ul-slot.is-ok { border-color: #cfe9d9; }
.ul-slot.is-na { background: var(--paper); }
.ul-slot__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.ul-slot__name { font-size: 0.9375rem; }
.ul-state { font-size: 0.8125rem; font-weight: 600; color: var(--ok); text-align: right; }
.ul-slot.is-missing .ul-state { color: var(--bad); }
.ul-slot.is-na .ul-state { color: var(--slate); }
.ul-slot__hint, .ul-slot__auto { font-size: 0.8125rem; }
.ul-slot__auto { color: var(--iron); }
.ul-slot__text { font-size: 0.875rem; background: var(--paper); border-radius: 6px; padding: 0.4rem 0.55rem; white-space: pre-line; }
.ul-files { display: grid; gap: 0.35rem; }
.ul-file { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 0.5rem; align-items: baseline; font-size: 0.875rem; }
.ul-file > a { font-weight: 600; overflow-wrap: anywhere; }
.ul-file__meta { grid-column: 1; font-size: 0.75rem; color: var(--slate); }
.ul-file__del { grid-column: 2; grid-row: 1 / span 2; }
.ul-file__del .linkbtn { font-size: 0.75rem; }
.ul-files--inherited .ul-file__meta { grid-column: 1; }
.ul-add > summary { cursor: pointer; font-size: 0.8125rem; font-weight: 600; color: var(--iron); width: fit-content; }
.ul-add > summary:hover { color: var(--ink); }
.ul-add[open] > summary { margin-bottom: 0.4rem; }
.ul-add__form { display: grid; gap: 0.5rem; }
.ul-add__form .field input[type="file"] { font-size: 0.8125rem; max-width: 100%; }
.ul-add__note { border-top: 1px dashed var(--fog); margin-top: 0.6rem; padding-top: 0.6rem; }
.ul-add__form .form-actions { margin: 0; }
.ul-add__form--row { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); align-items: end; }
.ul-extra { border-top: 1px solid var(--line); padding: 0.85rem 1.25rem 1.1rem; display: grid; gap: 0.5rem; }
.ul-extra__t { font-size: 0.875rem; font-weight: 700; }
.ul-foot { margin-top: 0.9rem; font-size: 0.875rem; }
.ul-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.ul-chip { font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 0.08rem 0.5rem; background: var(--ok-bg); color: var(--ok); white-space: nowrap; }
.ul-chip.is-missing { background: var(--bad-bg); color: var(--bad); }
.ul-chip.is-na { background: var(--mist); color: var(--slate); }
.ul-chips > a { font-size: 0.8125rem; margin-left: 0.25rem; }
.ul-row { grid-template-columns: 3.6rem minmax(0, 1fr) minmax(0, auto); }
.ul-row .ul-chips { justify-content: flex-end; max-width: 26rem; }
.ul-soon { color: var(--bad); font-weight: 600; }
.todo-chip--link { background: transparent; box-shadow: inset 0 0 0 1px var(--fog); color: var(--iron); }
@media (max-width: 40rem) {
  .ul-grid { grid-template-columns: minmax(0, 1fr); padding: 0.25rem 1rem 0.9rem; }
  .ul-row { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .ul-row .ul-chips { grid-column: 2; justify-content: flex-start; }
  .ul-extra { padding: 0.8rem 1rem 1rem; }
}

/* ---------- Daysheets: Advancing ---------- */
.adv-counts { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1.25rem 0.75rem; }
.adv-st { font-size: 0.75rem; font-weight: 650; border-radius: 999px; padding: 0.1rem 0.55rem; background: var(--mist); color: var(--slate); }
.adv-st--sent, .adv-st-select.adv-st--sent { background: var(--info-bg); color: var(--info); }
.adv-st--in_progress, .adv-st-select.adv-st--in_progress { background: var(--warn-bg); color: var(--warn); }
.adv-st--done, .adv-st-select.adv-st--done { background: var(--ok-bg); color: var(--ok); }
.adv-list { display: grid; }
.adv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; padding: 0.6rem 1.25rem; border-top: 1px solid var(--line); }
.adv-row__main { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; text-decoration: none; min-width: 0; }
.adv-row__main:hover b { text-decoration: underline; }
.adv-row__where { display: grid; min-width: 0; }
.adv-row__facts { display: flex; flex-wrap: wrap; gap: 0.35rem 0.6rem; justify-content: flex-end; font-size: 0.8125rem; color: var(--slate); }
.adv-st-select { border: 0; border-radius: 999px; padding: 0.3rem 0.7rem; font-size: 0.8125rem; font-weight: 650; background: var(--mist); color: var(--iron); }
.adv-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-bottom: 1rem; }
.adv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); gap: 1.25rem; align-items: start; }
.adv-main { display: grid; gap: 1rem; min-width: 0; }
.adv-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding: 1rem 1.25rem; }
.adv-city { font-family: var(--f-display); font-stretch: 85%; font-weight: 720; font-size: 1.5rem; line-height: 1.15; }
.adv-status { margin: 0; min-width: 12rem; }
.adv-note { background: var(--info-bg); color: var(--info); border-radius: var(--r); padding: 0.6rem 0.85rem; font-size: 0.9375rem; }
.adv-src { display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em; color: var(--info); background: var(--info-bg); border-radius: 4px; padding: 0 0.35rem; vertical-align: 0.1em; }
.adv-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.25rem 0.85rem; padding: 0 1.25rem 0.75rem; }
.adv-fields--times { grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); }
.adv-fields--acts { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.adv-field--auto { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; padding: 0.35rem 0; }
.adv-auto { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .adv-fields--acts { grid-template-columns: 1fr 1fr; } .adv-fields--acts .adv-field--text { grid-column: 1 / -1; } }
.adv-field--long { grid-column: 1 / -1; }
.adv-field.is-prefilled input, .adv-field.is-prefilled textarea { border-color: #b9d0ee; background: #f7faff; }
.adv-check { display: grid; gap: 0.1rem; padding: 0 1.25rem; }
.adv-check .checkline { margin-bottom: 0.4rem; }
.adv-check__new { margin: 0.25rem 1.25rem 1rem; }
.adv-actions { justify-content: flex-end; }
.adv-side { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.adv-side .panel { display: grid; gap: 0.6rem; }
.adv-link { display: flex; gap: 0.4rem; }
.adv-link input { flex: 1; min-width: 0; font-size: 0.8125rem; padding: 0.35rem 0.5rem; border: 1px solid var(--fog); border-radius: 6px; background: var(--paper); }
.adv-plan { display: grid; gap: 0.2rem; font-size: 0.9375rem; }
.adv-plan li::before { content: "→ "; color: var(--slate); }

/* ---------- Daysheets: Gästeliste ---------- */
.gl-daycount { font-size: 0.75rem; color: var(--slate); }
.gl-daycount b { color: var(--warn); }
.gl-kpis { margin-top: 1rem; }
.gl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem); gap: 1.25rem; align-items: start; }
.gl-list__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; padding-right: 1.25rem; }
.gl-export { display: flex; gap: 0.4rem; }
.gl-rows { display: grid; }
.gl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 0.9rem; align-items: center; padding: 0.7rem 1.25rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.gl-row__who { display: grid; min-width: 0; }
.gl-qty { font-weight: 700; color: var(--iron); }
.gl-note { font-style: italic; }
.gl-row__act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; align-items: center; }
.gl-status { font-size: 0.75rem; font-weight: 650; border-radius: 999px; padding: 0.1rem 0.55rem; background: var(--warn-bg); color: var(--warn); white-space: nowrap; }
.gl-status--approved { background: var(--ok-bg); color: var(--ok); }
.gl-status--rejected { background: var(--mist); color: var(--slate); }
.gl-row--rejected .gl-row__who { opacity: 0.6; }
.gl-row.is-in { background: #f6fbf8; }
.gl-side { display: grid; gap: 1rem; }
.gl-form { display: grid; gap: 0.1rem; padding: 0 1.25rem 1rem; }
.gl-hint { padding: 0 1.25rem 1rem; font-size: 0.8125rem; }
.gl-settings > summary { cursor: pointer; }
.gl-passes { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 0 0.75rem; margin: 0.25rem 0 0.5rem; }
.gl-passes legend { font-size: 0.875rem; font-weight: 650; margin-bottom: 0.4rem; }
@media (max-width: 62rem) {
  .adv-grid, .gl-grid { grid-template-columns: minmax(0, 1fr); }
  .adv-side { position: static; }
}
@media (max-width: 40rem) {
  .adv-row { grid-template-columns: minmax(0, 1fr); padding: 0.7rem 1rem; }
  .adv-row__main { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .adv-row__facts { grid-column: 2; justify-content: flex-start; }
  .adv-fields { padding: 0 1rem 0.75rem; }
  .gl-row { padding: 0.7rem 1rem; }
}
/* Daysheets: Kasten „Morgen“ */
.ta-box--morgen { background: var(--mist); border-color: var(--fog); }
.ta-box--morgen .ta-dist { margin-top: 0.35rem; color: var(--ink); font-family: var(--f-display); font-stretch: 85%; font-weight: 720; font-size: 1.15rem; }
.ta-box--morgen .ta-dist__note { font-size: 0.8125rem; }

/* ---------- Daysheets v1.1: Reisen im Ablauf, Vorlagen, Zimmer, Ausstattung, Ortssuche, Gruppen ---------- */
.ds-travel { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto auto; gap: 1rem; align-items: start; padding: 0.75rem 1.4rem;
  border-top: 1px solid var(--mist); text-decoration: none; background: var(--info-bg); }
.ds-travel:hover { background: #d9e6f8; }
.ds-travel .row-edit__hint { margin-left: 0; }
.ds-events > .ds-travel:first-child { border-top: 0; }
.ds-tpl__body { display: grid; gap: 1.1rem; }
.ds-tpl__form, .ds-tpl__save, .ds-tpl__list { display: grid; gap: 0.2rem; }
.ds-tpl__save, .ds-tpl__list { padding-top: 0.9rem; border-top: 1px solid var(--mist); }
.ds-tpl__quick { display: flex; gap: 1rem; margin-bottom: 0.4rem; font-size: 0.875rem; }
.ds-tpl__days { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 1rem; max-height: 16rem; overflow-y: auto;
  padding: 0.5rem 0.7rem; background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); }
.ds-tpl__day { margin: 0.15rem 0; }
.ds-tpl__day small { margin-left: auto; }
.ds-tpl__day.is-here b { text-decoration: underline; }
.ds-tpl__day:has(input:disabled) { opacity: 0.45; }
.ds-amen { font-size: 0.875rem; }
.ds-amen b { color: var(--ink); font-weight: 600; }
.ds-myroom { color: var(--ok) !important; font-weight: 600; }
.ds-amen-edit { display: grid; gap: 0.35rem; }
.ds-amen-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 4.5rem 4.5rem minmax(0, 1.6fr); gap: 0.4rem; align-items: center; }
.ds-amen-row .checkline { margin: 0; }
.ds-amen-row input[type=text] { min-width: 0; padding: 0.3rem 0.45rem; font-size: 0.875rem; }
.ds-amen-row:has(input[type=checkbox]:not(:checked)) input[type=text] { opacity: 0.5; }
.ds-rooms summary { padding-top: 0.2rem; }
.ds-roomlist { display: grid; gap: 0.15rem; margin: 0.35rem 0; font-size: 0.875rem; }
.ds-roomlist li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.5rem; }
.ds-rooms__form { display: grid; gap: 0.3rem; }
.ds-room { display: grid; grid-template-columns: minmax(0, 1fr) 4.2rem 5.8rem; gap: 0.35rem; align-items: center; }
.ds-room .checkline { margin: 0; font-size: 0.875rem; }
.ds-room input[type=text], .ds-room select { min-width: 0; padding: 0.3rem 0.45rem; font-size: 0.875rem; }
.ds-room:has(input[name=in]:not(:checked)) input[type=text], .ds-room:has(input[name=in]:not(:checked)) select { opacity: 0.45; }
.ds-rooms__guests { margin-top: 0.5rem; }
.ds-tz { display: inline-block; margin-top: 0.2rem; font-size: 0.6875rem; font-weight: 600; color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 0 0.45rem; white-space: nowrap; }
.place-wrap, .ds-place { position: relative; }
.place-sugg { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); min-width: 16rem; margin: 0; padding: 0.25rem; list-style: none;
  background: var(--white); border: 1px solid var(--fog); border-radius: var(--r); box-shadow: 0 12px 32px rgba(22, 23, 26, 0.16); max-height: 20rem; overflow-y: auto; }
.place-sugg li { display: grid; gap: 0.05rem; padding: 0.45rem 0.6rem; border-radius: 8px; cursor: pointer; }
.place-sugg li b { font-size: 0.9375rem; }
.place-sugg li small { font-size: 0.8125rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place-sugg li:hover, .place-sugg li.on { background: var(--mist); }
.place-picked { box-shadow: inset 3px 0 0 var(--ok); }
.ds-place-hint { display: block; margin: -0.6rem 0 0.7rem; font-size: 0.8125rem; }
/* Rechte je Person und Gruppe: Zusatzfelder nur, wenn „Einzelne Bereiche“ / „Auch andere Gruppen“ gewählt ist */
.row-edit__form:not(:has(.ds-perm option[value=custom]:checked)) .ds-custom { display: none; }
.row-edit__form:not(:has(.ds-vis option[value=custom]:checked)) .ds-visgroups { display: none; }
.ds-gform:not(:has(.ds-gperm input[value=custom]:checked)) .ds-gcustom { display: none; }
.ds-gform:not(:has(.ds-gvis input[value=custom]:checked)) .ds-gvisgroups { display: none; }
.ds-gperm .checkline, .ds-gvis .checkline { align-items: flex-start; margin-bottom: 0.4rem; }
.ds-gperm small, .ds-gvis small { display: block; }
.ds-gdot { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 6px; color: #fff; font-size: 0.75rem; font-weight: 800; margin-right: 0.35rem; vertical-align: middle; }
.ds-gdot--0, .ds-swatch--0 { background: #1F9D55; } .ds-gdot--1, .ds-swatch--1 { background: #3B7DD8; }
.ds-gdot--2, .ds-swatch--2 { background: #8B5CF6; } .ds-gdot--3, .ds-swatch--3 { background: #D9468F; }
.ds-gdot--4, .ds-swatch--4 { background: #E07B12; } .ds-gdot--5, .ds-swatch--5 { background: #0EA5A4; }
.ds-gdot--6, .ds-swatch--6 { background: #C28A00; } .ds-gdot--7, .ds-swatch--7 { background: #64748B; }
.ds-colors { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ds-colors legend { width: 100%; margin-bottom: 0.3rem; }
.ds-swatch { position: relative; width: 1.75rem; height: 1.75rem; border-radius: 999px; cursor: pointer; }
.ds-swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.ds-swatch:has(input:checked) { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.ds-swatch:has(input:focus-visible) { outline: 2px solid var(--info); outline-offset: 4px; }
.ds-gdelete { border-top: 1px dashed var(--fog); padding-top: 0.8rem; }
.ds-imp-pick { padding: 0 1.1rem; max-width: 40rem; }
.ds-imp { display: grid; gap: 0.1rem; padding: 0 1.1rem 1.1rem; }
.ds-imp__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; margin: 0; padding: 0.45rem 0; border-bottom: 1px solid var(--mist); }
.ds-imp__row.is-already { opacity: 0.55; }
.ds-msg { padding: 0 1.1rem 1rem; max-width: 46rem; }
.ds-sent { padding: 0 1.1rem 1.1rem; display: grid; gap: 0.3rem; }
.ds-sent .ds-line span { display: block; }
/* Reisen */
.ds-travel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: start; }
.ds-travel-grid .sheet + .sheet { margin-top: 0; }
.ds-trip { padding: 0.75rem 1.1rem; border-top: 1px solid var(--mist); scroll-margin-top: 5rem; }
.ds-trip:target { background: var(--warn-bg); }
.ds-trip__head { display: flex; flex-wrap: wrap; gap: 0.25rem 0.7rem; align-items: baseline; }
.ds-legs { margin: 0.3rem 0; display: grid; gap: 0.15rem; font-size: 0.9375rem; }
.ds-legs small { display: block; }
.ds-trip__actions { display: flex; gap: 1rem; font-size: 0.875rem; }
.ds-leg { padding: 0.6rem 0.8rem 0; border: 1px solid var(--fog); border-radius: var(--r); margin-bottom: 0.9rem; }
.ds-pax { display: grid; grid-template-columns: minmax(0, 1fr) 7rem 4.5rem; gap: 0.4rem; align-items: center; margin-bottom: 0.3rem; }
.ds-pax .checkline { margin: 0; }
.ds-pax input[type=text] { min-width: 0; padding: 0.3rem 0.45rem; font-size: 0.875rem; }
@media (max-width: 960px) {
  .ds-travel-grid { grid-template-columns: 1fr; }
  .ds-travel { grid-template-columns: 3.6rem minmax(0, 1fr); padding: 0.75rem 1rem; }
  .ds-travel .ta-who, .ds-travel .row-edit__hint { grid-column: 2; justify-content: flex-start; }
  .ds-amen-row { grid-template-columns: minmax(0, 1fr) 4rem 4rem; }
  .ds-amen-row input[name$=_info] { grid-column: 1 / -1; }
}

/* Daysheets v1.2: Tags, Kalender-Links, Tourbook */
.ds-tagdot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 3px; margin-right: 0.35rem; vertical-align: 0.05rem; }
.ds-checks--cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0 1rem; }
.ds-cal { display: flex; gap: 0.75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0.7rem 1.1rem; }
.ds-cal b { display: inline-flex; align-items: center; }
.ds-cal > div { display: grid; gap: 0.2rem; min-width: 0; flex: 1 1 16rem; }
.ds-cal__url { width: 100%; max-width: 32rem; font-size: 0.8rem; }
.ds-cal__act { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; flex: none; }
.ds-tb { display: grid; gap: 0.6rem; }

/* Tagestyp direkt im Tageskopf ändern */
.ds-dtype { margin: 0 0 0.25rem; }
.ds-dtype select { width: auto; padding: 0.2rem 1.8rem 0.2rem 0.6rem; font-size: 0.8125rem; font-weight: 600; }

/* Einzelshow-/Festival-Gruppen umbenennen */
.ds-rename { margin-top: 0.25rem; font-size: 0.8125rem; }
.ds-rename summary { cursor: pointer; color: var(--slate); display: inline-block; }
.ds-rename__form { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.4rem; flex-wrap: wrap; }
.ds-rename__form input[type=text] { flex: 1 1 14rem; max-width: 24rem; }

/* Status einer Trello-Karte: Offen · In Arbeit · Erledigt */
.statuspick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--fog); overflow: hidden; }
.statuspick__btn { font: inherit; font-size: 0.8125rem; font-weight: 600; padding: 0.45rem 0.3rem; border: 0; background: transparent; color: var(--slate); cursor: pointer; min-height: 2.25rem; }
.statuspick__btn + .statuspick__btn { box-shadow: inset 1px 0 0 var(--fog); }
.statuspick__btn:hover:not(:disabled) { background: var(--mist); color: var(--ink); }
.statuspick__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.statuspick__btn:disabled { cursor: default; }
.statuspick__btn--offen.is-on { background: var(--ink); color: var(--white, #fff); }
.statuspick__btn--in_arbeit.is-on { background: var(--warn-bg); color: var(--warn); }
.statuspick__btn--erledigt.is-on { background: var(--ok-bg); color: var(--ok); }
.tag--wip { background: var(--warn-bg); color: var(--warn); font-weight: 600; box-shadow: none; }
.task--wip .check { border-color: var(--warn); }
.cbadge--own { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1px var(--fog); }
.calc-sep__title { font-size: 1rem; margin: 1.6rem 1.1rem 0.35rem; }
.calc-table--sep .calc-show:first-child .calc-row { border-top: 1px solid var(--line); }
.ds-code--small { font-size: 0.875rem; letter-spacing: 0.08em; color: var(--ink); }
.social__extra { display: grid; justify-items: end; margin-top: 0.3rem; line-height: 1.2; }
.social__extra b { font-size: 0.9375rem; }
.social__extra em { font-size: 0.75rem; }
.card__followup { display: grid; gap: 0.4rem; margin: 0.2rem 0 0.9rem; padding: 0.7rem; border-radius: 10px; background: var(--paper); }
.card__followup-days { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; font-size: 0.8125rem; color: var(--slate); }
.card__followup-days input { width: 4.2rem; padding: 0.3rem 0.4rem; text-align: center; }
.card__followup-hint { font-size: 0.75rem; margin: 0; }

/* Jahresplan je Band */
.jp-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; font-size: 0.8125rem; color: var(--slate); margin: 0 0 0.8rem; }
.jp-key::before { content: ""; display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 3px; margin-right: 0.35rem; vertical-align: -0.1rem; background: var(--jp-bg); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.jp--fix { --jp-bg: #cfeedd; --jp-ink: #14532d; }
.jp--option { --jp-bg: #fbe7a8; --jp-ink: #6b4500; }
.jp--angefragt { --jp-bg: #d9e7f8; --jp-ink: #1e4f8f; }
.jp--abgesagt { --jp-bg: #f3d3cf; --jp-ink: #8a1f17; }
.jp--release { --jp-bg: #e3d9f6; --jp-ink: #4b2d8a; }
.jp--frei { --jp-bg: #eceef1; --jp-ink: #5c616a; }
.jp--feiertag { --jp-bg: #f6e9e6; --jp-ink: #b3261e; }
.jp-sheet { padding: 0.6rem; }
.jp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.jp-grid { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 2px; table-layout: fixed; font-size: 0.6875rem; }
.jp-grid th { font-weight: 600; text-align: left; padding: 0.3rem 0.35rem; background: var(--ink); color: #fff; border-radius: 5px; white-space: nowrap; overflow: hidden; }
.jp-grid th small { margin-left: 0.3rem; opacity: 0.7; font-weight: 500; }
.jp-grid th.jp-dn { width: 1.9rem; background: none; color: var(--slate); text-align: right; padding-right: 0.3rem; }
.jp-grid tbody th.jp-dn { font-weight: 600; }
.jp-mshort { display: none; }
.jp-c { height: 1.45rem; padding: 0 0.3rem; background: #fff; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.jp-c[class*="jp--"] { background: var(--jp-bg); color: var(--jp-ink); box-shadow: none; }
.jp-we { background: var(--paper); }
.jp-today { outline: 2px solid var(--ink); outline-offset: -2px; }
.jp-none { background: none; }
.jp-wd { display: inline-block; width: 1.25rem; color: var(--ash); font-size: 0.625rem; }
.jp-c[class*="jp--"] .jp-wd { color: inherit; opacity: 0.65; }
.jp-l { font-weight: 600; }
.jp--abgesagt .jp-l { text-decoration: line-through; font-weight: 500; }
.jp--frei .jp-l, .jp-hol { font-weight: 500; }
.jp-list { list-style: none; margin: 0; padding: 0; }
.jp-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1.4fr) 6.5rem minmax(0, 1.6fr); gap: 0.4rem 0.9rem; align-items: start; padding: 0.6rem 1.1rem; border-top: 1px solid var(--line); }
.jp-row .sub { display: block; color: var(--slate); font-size: 0.8125rem; }
.jp-row a { color: inherit; }
.jp-date { font-variant-numeric: tabular-nums; }
.jp-pill { display: inline-block; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 650; background: var(--jp-bg); color: var(--jp-ink); }
.jp-row--abgesagt .jp-where b { text-decoration: line-through; }
.jp-empty { padding: 0 1.1rem 1rem; }
@media (max-width: 720px) {
  .jp-row { grid-template-columns: 4.8rem minmax(0, 1fr) auto; padding: 0.6rem 0.8rem; }
  .jp-more { grid-column: 2 / -1; }
  .jp-grid { min-width: 760px; }
  .jp-mfull { display: none; }
  .jp-mshort { display: inline; }
}
.jp-nav { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; } .jp-nav .btn { flex: 0 0 auto; }

/* Travelparty */
.tp-intro { padding: 0 1.1rem 0.8rem; }
.tp-groups { display: grid; gap: 0.8rem; padding: 0 1.1rem 0.8rem; }
.tp-group { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tp-group__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.tp-group__head h3 { margin: 0; font-size: 1rem; }
.tp-group__n { margin-left: auto; }
.tp-group__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0.9rem; }
.tp-form { display: grid; gap: 0.5rem; }
.tp-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
.tp-nums input { text-align: center; }
.tp-files { display: grid; gap: 0.6rem; align-content: start; }
.tp-file { display: grid; gap: 0.2rem; }
.tp-file__label { font-size: 0.8125rem; }
.tp-file__none, .tp-file__hint { font-size: 0.75rem; }
.tp-shows { list-style: none; margin: 0; padding: 0; }
.tp-show { padding: 0.7rem 1.1rem; border-top: 1px solid var(--line); }
.tp-show__main { display: grid; grid-template-columns: auto 9rem minmax(0, 1fr) 6.5rem minmax(0, 11rem) auto; gap: 0.5rem 0.9rem; align-items: center; }
.tp-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.7rem 1.1rem; border-top: 1px solid var(--line); background: var(--paper); }
.tp-pick__label { font-size: 0.8125rem; color: var(--slate); margin-right: auto; }
.tp-pick select { width: auto; min-width: 0; font-size: 0.8125rem; padding-top: 0.3rem; padding-bottom: 0.3rem; }
.tp-pick__n:not(:empty)::before { content: " ("; }
.tp-pick__n:not(:empty)::after { content: ")"; }
.tp-show__date .sub, .tp-show__tot .sub { display: block; color: var(--slate); font-size: 0.8125rem; }
.tp-show__groups { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tp-chip { font-size: 0.8125rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--mist); }
.tp-chip.is-absent { text-decoration: line-through; color: var(--ash); background: none; box-shadow: inset 0 0 0 1px var(--line); }
.tp-chip.is-changed { box-shadow: inset 0 0 0 1px var(--warn); }
.tp-show__tot b { font-size: 1.125rem; }
.tp-show__diet { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tp-show__notes { margin: 0.4rem 0 0; font-size: 0.8125rem; color: var(--slate); display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; }
.tp-ovr { margin-top: 0.4rem; font-size: 0.875rem; }
.tp-ovr summary { cursor: pointer; color: var(--slate); }
.tp-ovr__row { display: grid; grid-template-columns: minmax(0, 1.2fr) 6rem minmax(0, 1.5fr); gap: 0.5rem; align-items: end; margin: 0.4rem 0; }
@media (max-width: 860px) {
  .tp-group__body { grid-template-columns: 1fr; }
  .tp-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-show__main { grid-template-columns: auto minmax(0, 1fr) auto; }
  .tp-pick__label { flex-basis: 100%; }
  .tp-show__groups, .tp-show__diet { grid-column: 1 / -1; }
  .tp-ovr__row { grid-template-columns: 1fr 5rem; }
  .tp-ovr__row .field:last-child { grid-column: 1 / -1; }
}
summary.tp-group__head { cursor: pointer; list-style: none; }
summary.tp-group__head::-webkit-details-marker { display: none; }
.tp-group:not([open]) > summary.tp-group__head { border-bottom: 0; }
.tp-group__sum { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.5rem; }
.tp-group__sum .tp-group__n { margin-left: 0.2rem; }
.tag--ok { background: var(--ok-bg); color: var(--ok); }

/* Festival-Zusage → Show */
.flag--show { color: var(--ok); background: var(--ok-bg); text-decoration: none; }
a.flag--show:hover { text-decoration: underline; }
.showfilter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.showfilter .tabs { margin-bottom: 0; }
.chips--small .chip { font-size: 0.8125rem; }
.shownoday a { font-weight: 600; }

/* Travelparty: Personen, Tage, Hospitality */
.tp-group__main { display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.tp-sub { margin: 0.3rem 0 0; font-size: 0.8125rem; font-weight: 600; color: var(--slate); }
.tp-hint { margin: 0; font-size: 0.8125rem; }
.tp-people { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tp-people > li + li { border-top: 1px solid var(--line); }
.tp-person > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; padding: 0.5rem 0.7rem; cursor: pointer; list-style: none; }
.tp-person > summary::-webkit-details-marker { display: none; }
.tp-person > summary:hover { background: var(--paper); }
.tp-person[open] > summary { background: var(--paper); border-bottom: 1px solid var(--line); }
.tp-person__name { display: grid; min-width: 9rem; }
.tp-person__name .sub { font-size: 0.8125rem; color: var(--slate); }
.tp-person__tags { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-left: auto; }
.tp-person__form { padding: 0.7rem; }
.tp-person__row { align-items: end; }
.tp-adds { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: start; }
.tp-adds .tp-add { flex: 1 1 100%; margin: 0; }
.tp-hosp { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; align-items: end; }
.tag--warn { color: var(--warn); background: var(--warn-bg); }
.tag--date { box-shadow: inset 0 0 0 1px var(--line); background: none; }
.tp-show__hosp { margin: 0.45rem 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; font-size: 0.8125rem; }
.tp-show__hosp b { color: var(--slate); font-weight: 600; margin-right: 0.15rem; }
.tp-show__more { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.tp-who { margin: 0.4rem 0 0; padding: 0; list-style: none; columns: 2 14rem; font-size: 0.8125rem; }
.tp-who li { break-inside: avoid; padding: 0.1rem 0; }
/* Tage anhaken */
.daypick { border: 0; padding: 0; margin: 0; min-width: 0; }
.daypick legend { font-size: 0.8125rem; color: var(--slate); padding: 0; margin-bottom: 0.25rem; }
.daypick__quick { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 0.3rem; font-size: 0.8125rem; }
.daypick__days { display: flex; flex-wrap: wrap; gap: 0.3rem; max-height: 11.5rem; overflow-y: auto; }
.daychip { position: relative; display: inline-flex; }
.daychip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.daychip span { font-size: 0.8125rem; padding: 0.25rem 0.6rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--slate); background: #fff; min-height: 1.9rem; display: inline-flex; align-items: center; gap: 0.25rem; }
.daychip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.daychip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
/* kleines Aufklappmenü (PDF-Auswahl) */
.popmenu { position: relative; }
.popmenu > summary { list-style: none; cursor: pointer; }
.popmenu > summary::-webkit-details-marker { display: none; }
.popmenu__list { position: absolute; right: 0; top: calc(100% + 0.35rem); z-index: 30; min-width: 15rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 0.3rem; display: grid; }
.popmenu__list a { padding: 0.55rem 0.7rem; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 0.9rem; }
.popmenu__list a:hover, .popmenu__list a:focus-visible { background: var(--mist); }
@media (max-width: 760px) {
  .tp-hosp { grid-template-columns: 1fr 1fr; }
  .tp-hosp .checkline { grid-column: 1 / -1; }
  .tp-person__tags { margin-left: 0; }
  .popmenu__list { right: auto; left: 0; }
}
.shows__cal { font-size: 0.8125rem; margin-top: 0.5rem; }

/* UX-Pilot-Check 13.10.2026 */
/* Überfällig nicht nur über Farbe: Ausrufezeichen vor dem Datum */
.due--late::before { content: "!"; display: inline-grid; place-items: center; width: 0.95rem; height: 0.95rem; margin-right: 0.3rem; border-radius: 50%; background: var(--bad); color: var(--white); font-size: 0.625rem; font-weight: 800; line-height: 1; vertical-align: 0.08em; }
/* Abhaken am Handy: Trefferfläche 44 px */
@media (pointer: coarse) { .check { width: 2.75rem; height: 2.75rem; } }
/* Verlauf: Kennzeichen für mir zugewiesene Einträge */
.vl__me { display: inline-block; font-size: 0.6875rem; font-weight: 700; padding: 0 0.4rem; border-radius: 999px; background: var(--ink); color: var(--white); line-height: 1.5; align-self: center; }
/* Platzhalter lesbarer (vorher 2,6:1, jetzt 4,7:1) */
input::placeholder, textarea::placeholder { color: #6f747d; }

/* Gästeliste: Limits je Show */
.gl-lim { list-style: none; margin: 0.4rem 0 0.6rem; padding: 0; display: grid; }
.gl-lim__row { display: grid; grid-template-columns: minmax(0, 1fr) 5rem; gap: 0.6rem; align-items: center; padding: 0.4rem 0; border-top: 1px solid var(--line, rgba(0,0,0,.08)); }
.gl-lim__row a { display: grid; text-decoration: none; color: inherit; min-width: 0; }
.gl-lim__row a .sub { font-size: 0.8rem; opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-lim__row.is-current b { text-decoration: underline; text-underline-offset: 3px; }
.gl-lim__row input { width: 100%; text-align: right; }

/* Gästeliste: Eintrag nachträglich bearbeiten */
.gl-edit { flex-basis: 100%; }
.gl-edit > summary { display: inline-block; cursor: pointer; list-style: none; }
.gl-edit > summary::-webkit-details-marker { display: none; }
.gl-edit[open] > summary { margin-bottom: 0.5rem; }
.gl-edit .gl-form { padding: 0.75rem; border: 1px solid var(--line, #ddd); border-radius: 10px; display: grid; gap: 0.5rem; max-width: 520px; }
.gl-form .field small.quiet { display: block; margin-top: 2px; font-size: 0.78rem; }

/* Tourmonster › Geld und Merch (nur lesen) */
.kpis--inset { padding: 0 1.1rem; }
.notice--inset { margin: 0 1.1rem 0.8rem; }
.tm-bar-col { width: 30%; }
.tm-wrap, .sales-table td.tm-wrap { white-space: normal; min-width: 12rem; }
.tm-detail { padding: 0 1.1rem 1rem; }
.tm-detail .sales-table { margin-bottom: 0.8rem; }
.sales-table tr.is-current td { background: var(--mist); }
.sales-table tr.is-cancelled td { color: var(--slate); text-decoration: line-through; }
.sales-table tr.is-cancelled td .tag { text-decoration: none; }
.sales-table tr.is-sub td { border-top: 0; padding-top: 0; font-size: 0.8125rem; }
.sales-table td.is-carried { color: var(--ash); }
.ist-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.ist-table th, .ist-table td { padding: 0.45rem 0.6rem; border-top: 1px solid var(--mist); white-space: nowrap; }
.ist-table th { font-size: 0.75rem; color: var(--slate); text-align: left; }
.ist-table td:first-child, .ist-table th:first-child { white-space: normal; }
.ist-table tr.is-sum td { font-weight: 700; border-top: 2px solid var(--line); }
