/* Look nach dem Unknown Inc Design System (Vorlage: norco.unknowninc.de):
   Stealth Black, weiße Schrift, Display-Titel in Versalien, Mono für alles andere,
   Pillen für Buttons, Haarlinien statt Kästen. Signalrot heißt hier immer "erledigt".
   Nur dunkel, für Handy zuerst gebaut. */
@font-face { font-family: "Inter Tight"; font-weight: 700; font-display: swap; src: url("fonts/inter-tight-700.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 800; font-display: swap; src: url("fonts/inter-tight-800.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-600.woff2") format("woff2"); }

:root {
  --ground: #231f20;
  --raise: #3a3536;
  --ink: #ffffff;
  --soft: #eaece8;
  --mute: #a7a5a2;
  --line: #ffffff40;
  --line-strong: #ffffff;
  --signal: #ff073b;
  --on-signal: #000000;
  --head: "Neue Haas Grotesk Display Pro", "NeueHaasDisplay", "Inter Tight", Helvetica, Arial, sans-serif;
  --mono: "GT Pressura Mono", "IBM Plex Mono", ui-monospace, monospace;
  --pad: 20px;
  --panel: #0e0c0d;   /* Fläche des Kopfs */
  --tab-h: 46px;                                          /* Tippfläche der Reiter, nicht unter 44px */
  --tab-gap: max(calc(env(safe-area-inset-bottom) - 10px), 6px);   /* Abstand zum Home-Balken */
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 14px/1.45 var(--mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.label { font: 500 11px/1.3 var(--mono); letter-spacing: 0.08em; color: var(--mute); }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 64px; height: 44px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 100px;
  font: 600 11px/1 var(--mono); letter-spacing: 0.08em; white-space: nowrap;
}
.pill.fill { background: var(--ink); color: var(--ground); }
.tag {
  display: inline-block; background: var(--ink); color: var(--ground); border-radius: 100px;
  font: 600 10px/1 var(--mono); letter-spacing: 0.08em; padding: 5px 10px;
}

/* ------------------------------------------------------------ Kopf */
/* Die Zeile mit Marke und Countdown klebt oben am Bildschirmrand. Der Rest des Kopfs scrollt mit,
   in Schedule und Assets aber nur so weit, dass die Fortschrittsleiste stehen bleibt.
   Unten schließt er gerade ab. */
.bar { position: sticky; top: 0; z-index: 5; background: var(--panel); padding-top: calc(env(safe-area-inset-top) + 6px); }
.top { background: var(--panel); overflow: hidden; }   /* gerade Unterkante, keine Rundung (Ares, 30.11.2026) */
/* Schedule und Assets: Kopf klebt unter der Markenzeile, sichtbar bleibt die Fortschrittsleiste (top setzt app.js). */
.top.stick { position: sticky; z-index: 4; }
.hud { position: relative; }
.hud-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 24px 11px; border-bottom: 1px solid var(--line);
  font: 500 11px/1 var(--mono); letter-spacing: 0.08em;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 13px; width: auto; display: block; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: pulse 1.4s ease-in-out infinite; }   /* Ausnahme: pulsiert dunkelgrau/rot */
.status.off { background: var(--ink); color: var(--ground); border-radius: 100px; padding: 4px 10px; font-weight: 600; }
@keyframes pulse { 0%, 100% { background: var(--raise); } 50% { background: var(--signal); } }
@media (prefers-reduced-motion: reduce) { .status .dot { animation: none; } }
/* Zeile 1: Kunde links, kleiner Zähler rechts. Zeile 2: Titel links, Vorsprung oder Rückstand rechts. */
.head { padding: 14px 24px 12px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.head-row + .head-row { margin-top: 6px; }
.title { font: 800 30px/0.9 var(--head); letter-spacing: -0.02em; min-width: 0; }
.count { font: 500 11px/1.3 var(--mono); letter-spacing: 0.08em; color: var(--mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
.count b { font-weight: 600; color: var(--ink); }
.delta { flex: none; display: flex; align-items: flex-end; gap: 5px; height: 38px; white-space: nowrap; font-variant-numeric: tabular-nums; }   /* feste Höhe, damit der Kopf beim Wechsel nicht springt */
.delta b { font: 800 44px/0.85 var(--head); letter-spacing: -0.04em; }
.delta b.ok { font-size: 24px; line-height: 1; letter-spacing: -0.01em; }
.delta span { font: 500 11px/1.2 var(--mono); letter-spacing: 0.08em; color: var(--mute); padding-bottom: 3px; }
.cells { display: flex; gap: 3px; height: 3px; padding: 0 24px; }   /* Fortschritt als Striche, ein Strich je Shot */
/* Roter Punkt unter den Strichen: Dort steht der Plan jetzt. Die Position setzt app.js jede Sekunde. */
.plan { position: relative; height: 16px; margin: 0 24px; }
.plan i { position: absolute; top: 4px; left: 0; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--signal); transition: left 1s linear; }
@media (prefers-reduced-motion: reduce) { .plan i { transition: none; } }
.cells-off { height: 14px; }
.cells i { flex: 1; background: #ffffff38; }
.cells i.on { background: var(--signal); }

main { padding: 22px var(--pad) calc(var(--tab-h) + var(--tab-gap) + 28px); max-width: 720px; margin: 0 auto; }

/* ------------------------------------------------------------ Reiter */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; gap: 0;
  background: var(--ground);
  border-top: 1px solid var(--line);
  padding: 0 12px var(--tab-gap);
}
.tabs button {
  flex: 1; height: var(--tab-h);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.08em;
  opacity: 0.55; border-top: 2px solid transparent; margin-top: -1px;
}
.tabs .n { opacity: 0.6; }
.tabs button[aria-selected="true"] { opacity: 1; border-top-color: var(--signal); font-weight: 600; }   /* Ausnahme: aktiver Reiter in Signalrot */

/* ------------------------------------------------------------ Blöcke */
.card { border-top: 2px solid var(--line-strong); margin-bottom: 30px; }
.section { margin: 34px 0 10px; display: flex; gap: 10px; align-items: baseline; color: var(--ink); font: 800 24px/1 var(--head); letter-spacing: -0.01em; }
main > .section:first-child { margin-top: 6px; }
.section .n { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; color: var(--mute); }
/* Callsheet: Abschnitte zum Auf- und Zuklappen, Zeile über die volle Breite, rechts +/− */
.fold { width: 100%; min-height: 56px; margin: 0; padding: 16px 0 14px; text-align: left; border-top: 1px solid var(--line); align-items: center; }
.fold:first-child { border-top: 0; }
.fold-name { flex: 1; }
.fact-actions { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.fact-actions .pill.go { margin-top: 0; }
.chips.days { margin: 4px 0 6px; gap: 6px; }
.chips.days .chip { font-variant-numeric: tabular-nums; }
/* Drehtag im Timing: Ablauf als kompakte Tabelle */
.timing { margin: 4px 0 6px; }
.timing-row { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font: 500 12px/1.35 var(--mono); letter-spacing: 0.04em; }
.timing-time { font-variant-numeric: tabular-nums; color: var(--mute); }
.timing-title { color: var(--ink); }
.timing-row.rest .timing-title { color: var(--mute); }
.fold-sign { font: 400 24px/1 var(--mono); width: 24px; text-align: center; }
.folded-card { border-top: 0; margin-bottom: 22px; }
.sub { padding: 14px 0 4px; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; color: var(--mute); }
.sub + .person { border-top: 0; }

.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.fact { padding: 12px 0 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.fact.wide { grid-column: 1 / -1; }
.fact b { display: block; font: 800 24px/0.95 var(--head); letter-spacing: -0.01em; margin-top: 8px; overflow-wrap: anywhere; }
.fact small { display: block; color: var(--soft); margin-top: 8px; font-size: 13px; line-height: 1.45; }
.tbd.tbc { font-size: 10px; padding: 4px 9px; }
.tbd { display: inline-block; border: 2px solid var(--ink); border-radius: 100px; padding: 5px 12px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; vertical-align: middle; }
.go { margin-top: 12px; }

.person { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.person-main { flex: 1; min-width: 0; }
.person-main b { display: block; font: 800 20px/1 var(--head); letter-spacing: -0.01em; }
.round { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.round.fill { background: var(--ink); color: var(--ground); }
.round::before { content: ''; width: 20px; height: 20px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.ico-call::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ico-mail::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }
.person-main small { display: block; color: var(--mute); font-size: 11px; letter-spacing: 0.06em; margin-top: 5px; }

.note { padding: 14px 0; border-bottom: 1px solid var(--line); }
.note .label { color: var(--ink); font-weight: 600; }
.note p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--soft); }
.kv { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv .label { flex: 0 0 118px; padding-top: 2px; }
/* Icons vor Hinweisen (Strich, 2px, in Schriftfarbe) */
.ic { display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.ic-shield { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.ic-nocam { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l20 20'/%3E%3Cpath d='M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.3'/%3E%3Cpath d='M14.1 14.2a3 3 0 1 1-4.2-4.3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l20 20'/%3E%3Cpath d='M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.3'/%3E%3Cpath d='M14.1 14.2a3 3 0 1 1-4.2-4.3'/%3E%3C/svg%3E"); }
.ic-info { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); }
.ic-thermo { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z'/%3E%3C/svg%3E"); }
.ic-door { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v19M3 22h18'/%3E%3Cpath d='M15 12h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v19M3 22h18'/%3E%3Cpath d='M15 12h.01'/%3E%3C/svg%3E"); }
.ic-size { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3'/%3E%3C/svg%3E"); }
.ic-bolt { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); }
.ic-plug { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2v6M15 2v6M6 8h12v4a6 6 0 0 1-12 0V8zM12 18v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2v6M15 2v6M6 8h12v4a6 6 0 0 1-12 0V8zM12 18v4'/%3E%3C/svg%3E"); }
.ic-wind { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.6 4.6A2 2 0 1 1 11 8H2M12.6 19.4A2 2 0 1 0 14 16H2M17.7 7.7A2.5 2.5 0 1 1 19.5 12H2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.6 4.6A2 2 0 1 1 11 8H2M12.6 19.4A2 2 0 1 0 14 16H2M17.7 7.7A2.5 2.5 0 1 1 19.5 12H2'/%3E%3C/svg%3E"); }
.ic-gauge { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14l4-4'/%3E%3Cpath d='M3.34 19a10 10 0 1 1 17.32 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14l4-4'/%3E%3Cpath d='M3.34 19a10 10 0 1 1 17.32 0'/%3E%3C/svg%3E"); }
.ic-flame { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E"); }

.kv span:last-child { flex: 1; font-size: 13px; line-height: 1.5; color: var(--soft); }

/* ------------------------------------------------------------ Drehplan */
/* Jeder Zeitblock ist eine Karte. Die Karten liegen gestapelt übereinander, eine ist aufgeklappt.
   Hell und dunkel wechseln sich ab, ein komplett erledigter Block wird signalrot. */
.stack { display: flex; flex-direction: column; margin: 0 calc(-1 * var(--pad)); }   /* Karten reichen bis an den Bildschirmrand (Test, 30.11.2026; vorher -12px) */
.slot { position: relative; border-radius: 24px 24px 0 0; margin-top: -22px; padding-bottom: 22px; background: var(--ground); color: var(--ink); overflow: hidden; }
.slot:first-child { margin-top: 0; }
.slot:last-child { border-radius: 24px; padding-bottom: 0; }
.slot.light { --ground: #e7e7e7; --ink: #231f20; --soft: #231f20; --mute: #5f5f51; --line: #23202033; --raise: #d6d6d3; }
.slot.dark { --ground: #0e0c0d; --raise: #231f20; }
.slot.done { --ground: #ff073b; --ink: #000000; --soft: #000000; --mute: #000000b3; --line: #00000040; --raise: #e00634; --signal: #000000; --on-signal: #ff073b; }
.slot.rest { --ground: #3a3536; --ink: #a7a5a2; }
.slot-head { display: flex; align-items: stretch; width: 100%; min-height: 60px; }
.slot-main, .slot.rest .slot-head { display: flex; align-items: baseline; gap: 12px; flex: 1; min-width: 0; padding: 18px 18px 16px; text-align: left; }
.slot-check { flex: 0 0 62px; display: flex; align-items: flex-start; justify-content: flex-start; padding-top: 12px; }
.slot-check i { width: 34px; height: 34px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font: 700 20px/1 var(--head); font-style: normal; color: transparent; }
.slot-check.on i { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
/* Haken = U-Logo aus u.svg, in der Farbe des Hakens (currentColor). Unabgehakt ist die Farbe transparent. */
.shot-box i::after, .slot-check i::after {
  content: ''; width: 68%; aspect-ratio: 1933 / 1119; background: currentColor;
  -webkit-mask: url("u.svg") center / contain no-repeat; mask: url("u.svg") center / contain no-repeat;
}
.slot-time { flex: 0 0 auto; font: 600 13px/1.2 var(--mono); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.slot-title { flex: 1; min-width: 0; font: 800 19px/1 var(--head); letter-spacing: -0.01em; }
.slot-count { flex: 0 0 auto; font: 500 13px/1.2 var(--mono); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.slot .tag { align-self: center; }
.slot.rest .slot-head { min-height: 48px; padding: 14px 18px 12px; align-items: baseline; }
.slot.rest .slot-title { font: 500 12px/1.2 var(--mono); letter-spacing: 0.08em; }
.slot.rest .slot-time { font-weight: 500; font-size: 12px; }
.slot-body { padding: 0 18px; }
.slot-note { font-size: 12px; line-height: 1.5; color: var(--soft); margin-bottom: 10px; }
.slot-note b { color: var(--mute); font: 500 11px/1 var(--mono); letter-spacing: 0.08em; }
.slot-body .shot:first-of-type { margin-top: 6px; }
.slot-giant-label { margin-top: 26px; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; color: var(--mute); }
.slot-giant { font: 800 clamp(96px, 34vw, 150px)/0.8 var(--head); letter-spacing: -0.05em; margin: 10px 0 -0.1em -0.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tally { border: 2px solid var(--ink); border-radius: 100px; padding: 5px 10px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tally.full { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }

/* ------------------------------------------------------------ Shots */
.shot { display: flex; align-items: flex-start; gap: 14px; border-top: 1px solid var(--line); width: 100%; }
.shot-side { flex: 0 0 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 0 15px; }
.shot-box { display: block; }
.shot-thumb { width: 38px; height: 38px; overflow: hidden; background: var(--raise); display: block; }
.shot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-box i {
  width: 38px; height: 38px; border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font: 700 22px/1 var(--head); font-style: normal; color: transparent;
}
.shot.done .shot-box i { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.shot-body { flex: 1; min-width: 0; padding: 14px 0 15px; display: block; text-align: left; align-self: stretch; }
.shot-top { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.shot-id { font: 600 14px/1.2 var(--mono); letter-spacing: 0.04em; }
.shot-desc { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--soft); }
.shot.done .shot-id, .shot.done .shot-desc { color: var(--mute); }
.shot-meta { display: block; margin-top: 8px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.08em; color: var(--mute); }
.shot-meta.pending { color: var(--ink); }
.zoom { position: fixed; inset: 0; z-index: 20; background: #231f20f2; color: #ffffff; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: calc(env(safe-area-inset-top) + 20px) 16px calc(env(safe-area-inset-bottom) + 24px); cursor: zoom-out; }
.zoom img { width: 100%; max-height: 62vh; object-fit: contain; background: #0e0c0d; min-height: 120px; }
.zoom-cap { font-size: 13px; line-height: 1.5; color: #eaece8; }
.zoom-cap b { display: block; font: 800 28px/1 var(--head); letter-spacing: -0.01em; color: #ffffff; margin-bottom: 8px; }
.zoom-x { align-self: flex-end; border: 2px solid #ffffff; border-radius: 100px; padding: 9px 14px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; }

.chips { display: flex; gap: 8px; margin-bottom: 22px; }
.chip { flex: 1; height: 44px; border: 2px solid var(--ink); border-radius: 100px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.group-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0 14px; }
.group-head h3 { font: 800 24px/0.95 var(--head); letter-spacing: -0.01em; margin-top: 6px; }
.empty { color: var(--mute); padding: 40px 8px; text-align: center; font-size: 12px; letter-spacing: 0.08em; }

/* ------------------------------------------------------------ Login */
.login {
  position: relative;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(env(safe-area-inset-top) + 76px) 28px calc(env(safe-area-inset-bottom) + 40px) 24px;
  max-width: 480px; margin: 0 auto;
}
.login .mark { position: absolute; left: 24px; top: calc(env(safe-area-inset-top) + 24px); height: 24px; width: auto; }
.login .side {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font: 600 10px/1 var(--mono); letter-spacing: 0.08em; color: var(--mute);
}
.login h1 { font: 800 clamp(48px, 15vw, 76px)/0.88 var(--head); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.login .kicker { margin: 22px 0 18px; font-size: 12px; letter-spacing: 0.06em; color: var(--soft); }
.field { display: block; margin-bottom: 12px; }
.field .label { display: block; margin: 0 0 8px 2px; }
.field input {
  display: block; width: 100%; height: 50px; padding: 0 20px;
  font: 600 15px var(--mono); letter-spacing: 0.04em; color: var(--ink); background: transparent;
  border: 2px solid var(--ink); border-radius: 100px; outline: none;
}
.field input::placeholder { color: #ffffff59; font-weight: 400; }
.field input:focus { box-shadow: 0 0 0 3px #ffffff40; }
.primary {
  width: 100%; height: 50px; margin-top: 8px; background: var(--ink); color: var(--ground);
  border: 2px solid var(--ink); border-radius: 100px;
  font: 600 13px/1 var(--mono); letter-spacing: 0.06em;
}
.primary:disabled { opacity: 0.35; }
.error { min-height: 20px; margin-top: 14px; font-size: 12px; letter-spacing: 0.06em; }
.foot { margin-top: 22px; color: var(--mute); font-size: 11px; letter-spacing: 0.06em; line-height: 1.5; }
.linkish { font: 600 11px/1 var(--mono); letter-spacing: 0.08em; border-bottom: 1px solid currentColor; padding: 12px 0 2px; color: var(--ink); }

/* ------------------------------------------------------------ Wer bist du? */
.who { justify-content: flex-start; }
.who h1 { font-size: clamp(40px, 12vw, 60px); }
.who-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.who-btn { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 100%; min-height: 54px; padding: 8px 22px; text-align: left; border: 2px solid var(--ink); border-radius: 28px; }
.who-btn b { font: 800 18px/1 var(--head); letter-spacing: -0.01em; }
.who-btn small { font: 500 10px/1.2 var(--mono); letter-spacing: 0.08em; color: var(--mute); }
.who-btn:active { background: var(--ink); color: var(--ground); }
.who-btn:disabled { opacity: 0.35; }

/* ------------------------------------------------------------ Tablet und Desktop */
/* Ab 760px stehen Schedule und Assets nebeneinander (Callsheet als Reiter), ab 1100px alle drei.
   Die Seite selbst scrollt dann nicht mehr, jede Spalte scrollt für sich. Das Handy bleibt unverändert. */
#app.cols { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
#app.cols > .bar, #app.cols > .top, #app.cols > .tabs { flex: none; }
#app.cols .tabs { position: static; }
main.cols { flex: 1; min-height: 0; display: grid; padding: 0; max-width: none; margin: 0; }
.mode-mid main.cols { grid-template-columns: 1fr 1fr; }
.mode-wide main.cols { grid-template-columns: minmax(300px, 0.8fr) minmax(400px, 1.1fr) minmax(380px, 1.2fr); }
.col { min-width: 0; min-height: 0; overflow-y: auto; padding: 0 24px 48px; border-left: 1px solid var(--line); overscroll-behavior: contain; }
.col:first-child { border-left: 0; }
.col-head {
  position: sticky; top: 0; z-index: 3; display: flex; gap: 10px; align-items: baseline;
  margin: 0 -24px 14px; padding: 18px 24px 14px; background: var(--ground); border-bottom: 1px solid var(--line);
  font: 800 22px/1 var(--head); letter-spacing: -0.01em;
}
.col-head .n { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; color: var(--mute); }
.col .stack { margin: 0; }
.col { container-type: inline-size; }
.col .slot-giant { font-size: min(150px, 31cqi); }   /* Restzeit richtet sich nach der Spaltenbreite, nicht nach dem Fenster */
.col > .section:nth-child(2) { margin-top: 6px; }

/* Assets als Raster mit großen Storyboard-Bildern (nur in der Spaltenansicht) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 16px; padding: 6px 0 10px; }
.tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile-img { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--raise); cursor: zoom-in; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-img.none { display: flex; align-items: center; justify-content: center; cursor: default; font: 500 10px/1 var(--mono); letter-spacing: 0.08em; color: var(--mute); }
.tile-row { display: flex; gap: 12px; align-items: flex-start; }
.tile .shot-box i { width: 34px; height: 34px; }
.tile-body { flex: 1; min-width: 0; text-align: left; padding-top: 2px; }
.tile .shot-desc { margin-top: 4px; font-size: 12px; }
.tile.done .shot-box i { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.tile.done .shot-id, .tile.done .shot-desc { color: var(--mute); }
.tile.done .tile-img { outline: 3px solid var(--signal); outline-offset: -3px; }

/* Tagesauswahl: Hauptdrehtag rot umrandet */
.chip.shoot { border-color: var(--signal); }
/* Wetter unter Location: eine Kachel je Projekttag, Drehtag rot umrandet */
.wx-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 6px; margin: 4px 0 8px; }
.wx { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.wx.shoot { border: 2px solid var(--signal); padding: 11px 9px; }
.wx b { font: 800 26px/0.9 var(--head); letter-spacing: -0.03em; }
.wx small { font: 500 11px/1.2 var(--mono); letter-spacing: 0.04em; color: var(--mute); }
.wx .wx-meta { font-size: 10px; }
.wx-none { font: 800 26px/1 var(--head); color: var(--mute); }
.wx-ic { width: 26px; height: 26px; background: var(--ink); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.wx-note { font: 500 10px/1.4 var(--mono); letter-spacing: 0.06em; color: var(--mute); margin-bottom: 8px; }
.wx-sun { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.wx-partly { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v2M4.9 4.9l1.4 1.4M20 12h2M19.1 4.9l-1.4 1.4'/%3E%3Cpath d='M15.9 13.1A4 4 0 0 0 8.1 11'/%3E%3Cpath d='M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v2M4.9 4.9l1.4 1.4M20 12h2M19.1 4.9l-1.4 1.4'/%3E%3Cpath d='M15.9 13.1A4 4 0 0 0 8.1 11'/%3E%3Cpath d='M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6z'/%3E%3C/svg%3E"); }
.wx-cloud { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9z'/%3E%3C/svg%3E"); }
.wx-fog { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.9A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.24'/%3E%3Cpath d='M16 17H7M17 21H9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.9A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.24'/%3E%3Cpath d='M16 17H7M17 21H9'/%3E%3C/svg%3E"); }
.wx-rain { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.9A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.24'/%3E%3Cpath d='M16 14v6M8 14v6M12 16v6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.9A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.24'/%3E%3Cpath d='M16 14v6M8 14v6M12 16v6'/%3E%3C/svg%3E"); }
.wx-snow { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.9A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.24'/%3E%3Cpath d='M8 15h.01M8 19h.01M12 17h.01M12 21h.01M16 15h.01M16 19h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.9A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.24'/%3E%3Cpath d='M8 15h.01M8 19h.01M12 17h.01M12 21h.01M16 15h.01M16 19h.01'/%3E%3C/svg%3E"); }
.wx-storm { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.3A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.97'/%3E%3Cpath d='M13 11l-4 6h6l-4 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.3A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 .5 8.97'/%3E%3Cpath d='M13 11l-4 6h6l-4 6'/%3E%3C/svg%3E"); }

/* Projektbilder als klickbare Vorschau (z. B. Picture Car) */
.pics { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.pic { flex: 0 0 auto; width: 96px; height: 128px; overflow: hidden; background: var(--raise); cursor: zoom-in; }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-pic { display: block; width: 100%; margin-top: 12px; }
.map-pic .pic { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Tagestitel im Timing (andere Tage als der Drehtag) */
.day-title { padding: 10px 0 8px; }
.day-title b { display: block; margin-top: 6px; font: 800 24px/0.95 var(--head); letter-spacing: -0.01em; }
.timing-title .tbd.tbc { margin-left: 2px; vertical-align: 1px; }

/* Weather: Kacheln kompakter, damit fünf Tage in eine Reihe passen */
.wx-row { grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); }
.wx { padding: 10px 7px; gap: 5px; border-radius: 16px; }
.wx.shoot { padding: 9px 6px; }
.wx b { font-size: 22px; }
.wx .wx-meta { font-size: 9px; line-height: 1.3; }
.wx-ic { width: 22px; height: 22px; }
/* Lichtphasen als Tabelle: Zeilen = Phasen, Spalten = Tage, Drehtag rot */
.light { margin: 4px 0 8px; }
.light-row { display: grid; grid-template-columns: 84px repeat(var(--days), 1fr); gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--line); font: 500 11px/1.2 var(--mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.light-row span { text-align: center; }
.light-row .light-label { text-align: left; color: var(--mute); letter-spacing: 0.06em; }
.light-head span { color: var(--mute); font-size: 10px; }
.light-row span.shoot { color: var(--ink); font-weight: 700; }
.light-head span.shoot { color: var(--ink); box-shadow: inset 0 -2px var(--signal); padding-bottom: 4px; }

/* Timing: Fahrten mit Routen-Knopf (Google Maps) */
.timing-row { grid-template-columns: 52px 1fr auto; align-items: center; }
.timing-row .round { grid-column: 3; }
.ico-route::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='3'/%3E%3Cpath d='M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15'/%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='3'/%3E%3Cpath d='M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15'/%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3C/svg%3E"); }

/* Namen im Text: unterstrichen, Tipp ruft an */
.name-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* WhatsApp-Knopf bei People */
.ico-wa::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5l1.3-4A8.5 8.5 0 1 1 8 19.6l-4.5.9z'/%3E%3Cpath d='M9 8.5c.3 2.6 2.4 5 5 5.6l1.2-1.2 2 1-.4 1.6c-3.8.3-8.3-4.2-8-8l1.6-.4 1 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5l1.3-4A8.5 8.5 0 1 1 8 19.6l-4.5.9z'/%3E%3Cpath d='M9 8.5c.3 2.6 2.4 5 5 5.6l1.2-1.2 2 1-.4 1.6c-3.8.3-8.3-4.2-8-8l1.6-.4 1 2z'/%3E%3C/svg%3E"); }
.person { gap: 6px; }

/* Post: senkrechte Zeitleiste. Punkt weiß = Produktion, Ring = Kunde ist dran, groß gefüllt = Abgabe */
.post-intro { font: 500 11px/1.5 var(--mono); letter-spacing: 0.06em; color: var(--mute); margin: 4px 0 18px; }
.post { list-style: none; margin: 0; padding: 0; position: relative; }
.post::before { content: ''; position: absolute; left: 63px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.post-step { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 0 0 22px; position: relative; }
.post-step::before { content: ''; position: absolute; left: 59px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.post-step.client::before { background: var(--ground); border: 2px solid var(--ink); width: 9px; height: 9px; left: 58px; }
.post-step.final::before { width: 15px; height: 15px; left: 56px; top: 1px; }
.post-date { font: 500 12px/1.2 var(--mono); letter-spacing: 0.04em; color: var(--mute); font-variant-numeric: tabular-nums; padding-top: 2px; }
.post-body b { display: block; font: 800 20px/1 var(--head); letter-spacing: -0.01em; }
.post-step.final .post-body b { font-size: 26px; }
.post-body small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--soft); }
.post-body .label { display: block; margin-top: 6px; }
.post-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 500 10px/1 var(--mono); letter-spacing: 0.08em; color: var(--mute); padding: 8px 0 4px; border-top: 1px solid var(--line); }
.post-key { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); margin-left: 6px; }
.post-key:first-child { margin-left: 0; }
.post-key.client { background: var(--ground); border: 2px solid var(--ink); }
.post-key.final { width: 13px; height: 13px; }
/* Desktop: vier Spalten, Post schmal rechts */
.mode-wide main.cols { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, 0.75fr); }

/* Assets: Gruppen klappen über +/− auf und zu */
.fold-group { width: 100%; text-align: left; min-height: 56px; }
.fold-group > div { flex: 1; min-width: 0; }
.fold-group .tally { margin-left: auto; }
.fold-group .fold-sign { flex: none; }

/* Post: Deliverables je Asset (Vorlage: ID, Type, Prio, Status, Termine, Frame.io, Notes) */
.dl { border-top: 2px solid var(--line-strong); padding: 14px 0 18px; }
.dl + .dl { margin-top: 4px; }
.dl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dl-head h3 { font: 800 22px/0.95 var(--head); letter-spacing: -0.01em; margin-top: 6px; }
.dl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.tag-pill { border: 2px solid var(--ink); border-radius: 100px; padding: 5px 10px; font: 600 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.tag-pill.done { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.dl-dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.dl-date b { display: block; margin-top: 4px; font: 800 18px/1 var(--head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dl-notes { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--soft); }
.dl-frame { margin-top: 12px; }
.col-post .dl-dates { grid-template-columns: repeat(2, 1fr); }

/* People: Person aufklappbar, Details wie Gästeliste (Status, Mobile, Mail, An-/Abreise, Transfer, Hotel) */
.person-wrap { border-bottom: 1px solid var(--line); }
.person-wrap .person { border-bottom: 0; }
button.person-main { text-align: left; min-height: 44px; }
.person-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 4px 0 16px; }
.pd { min-width: 0; font-size: 12px; line-height: 1.45; color: var(--soft); overflow-wrap: anywhere; }
.pd .label { display: block; margin-bottom: 3px; }
.pd .tbd.tbc { font-size: 9px; padding: 3px 7px; }
.fold-mini { color: var(--ink); font-weight: 600; margin-left: 4px; }

/* People: +/− links vor dem Namen, gut sichtbar */
button.person-main { display: flex; align-items: flex-start; gap: 10px; }
.person-sign { flex: none; width: 18px; font: 400 24px/0.8 var(--mono); color: var(--ink); text-align: center; padding-top: 1px; }
.person-text { min-width: 0; }
.person-text b, .person-text small { display: block; }
.person-details { padding-left: 28px; }

/* ============================================================ Desktop (ab 1100px)
   Heller Grund nach dem Design-System (#E7E7E7, Schrift Stealth Black), halbtransparente Glas-Karten,
   keine Schatten, keine Verläufe. Signalrot weiter nur für erledigt (Fortschritt, Haken). */
#app.desk {
  --ground: #e7e7e7; --panel: #ffffff; --ink: #231f20; --soft: #231f20; --mute: #231f2099; --line: #231f201f; --line-strong: #231f20; --raise: #d4d2cf;
  min-height: 100vh; background: #e7e7e7; color: var(--ink); padding: 0 0 40px 96px; position: relative; overflow-x: hidden;
}
#app.desk::before { content: ''; position: fixed; right: -12vw; top: 18vh; width: 70vw; aspect-ratio: 1933 / 1119; background: #231f20; opacity: 0.045; -webkit-mask: url("u.svg") center / contain no-repeat; mask: url("u.svg") center / contain no-repeat; pointer-events: none; }
/* Bearbeiten: Panel liegt als Schublade über der Seite, die Seite selbst bleibt unverändert */
.desk-page { position: relative; max-width: 1640px; margin: 0 auto; padding: 0 28px; }
/* Leiste links */
.desk-rail { position: fixed; left: 20px; top: 20px; bottom: 20px; width: 56px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; border-radius: 28px; background: #ffffff8c; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid #231f2014; z-index: 8; }
.rail-mark { width: 26px; height: auto; filter: invert(1); margin-bottom: 14px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid #231f201f; background: #ffffffb3; color: var(--ink); }
.rail-btn::before { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.rail-btn:hover, .rail-btn.on { background: var(--ink); color: #fff; }
.rail-gap { flex: 1; }
.rail-me { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
/* Kopf */
.desk-top { position: sticky; top: 0; z-index: 7; display: flex; align-items: center; gap: 18px; padding: 22px 0 18px; background: #e7e7e7e6; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.desk-brand { font: 800 26px/1 var(--head); letter-spacing: -0.02em; }
.desk-brand small { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; color: var(--mute); }
.desk-pills { display: flex; gap: 6px; margin: 0 auto; padding: 5px; border-radius: 100px; background: #ffffff8c; border: 1px solid #231f2014; }
.desk-pills button { height: 38px; padding: 0 18px; border-radius: 100px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; }
.desk-pills button:hover { background: var(--ink); color: #fff; }
.desk-status { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 100px; border: 1px solid #231f2026; background: #ffffffb3; font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
.desk-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: pulse 1.4s ease-in-out infinite; }
.desk-edit { height: 44px; min-width: 96px; }
#app.desk .pill.fill { background: var(--ink); color: #fff; border-color: var(--ink); }
/* Raster und Karten */
.desk-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: start; }
.dcard { grid-column: span 4; min-width: 0; padding: 22px 24px 24px; border-radius: 30px; background: #ffffff8c; -webkit-backdrop-filter: blur(20px) saturate(1.1); backdrop-filter: blur(20px) saturate(1.1); border: 1px solid #ffffffb3; outline: 1px solid #231f2012; scroll-margin-top: 96px; }
.dcard-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dcard-title { font: 600 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.dround { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #231f2026; background: #ffffffcc; font: 600 14px/1 var(--mono); }
.dround:hover { background: var(--ink); color: #fff; }
.dcard.hero { grid-column: span 5; min-height: 340px; display: flex; flex-direction: column; }
.dcard.chartcard { grid-column: span 7; min-height: 340px; }
.dcard.progress { grid-column: span 6; }
.dcard.next { grid-column: span 3; }
.dcard.weather { grid-column: span 3; }
.dcard.schedule { grid-column: span 5; }
.dcard.assets { grid-column: span 7; }
.dcard.deliv, .dcard.posttl, .dcard.light, .dcard.w4 { grid-column: span 4; }
.dcard.w6 { grid-column: span 6; }
.desk-sep { grid-column: 1 / -1; padding: 22px 4px 0; scroll-margin-top: 96px; }
.desk-foot { grid-column: 1 / -1; font: 500 10px/1 var(--mono); letter-spacing: 0.08em; color: var(--mute); text-transform: uppercase; padding: 8px 4px; }
/* Schwarze Karte: nächster Meilenstein */
.dcard.black { background: #231f20; border-color: #231f20; outline: 0; color: #fff; --ink: #fff; --mute: #ffffff99; --line: #ffffff2e; }
.dcard.black .dround { background: #ffffff1a; color: #fff; border-color: #ffffff33; }
.next-big { display: block; font: 800 30px/0.95 var(--head); letter-spacing: -0.02em; margin: 6px 0 16px; }
.next-list { list-style: none; margin: 0; padding: 0; }
.next-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font: 500 11px/1.3 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.next-list li span { color: var(--mute); }
/* Hero */
.hero-title { font: 800 46px/0.92 var(--head); letter-spacing: -0.03em; margin: 10px 0 22px; text-transform: uppercase; }
.hero-lite { display: block; font: 400 20px/1.2 var(--mono); letter-spacing: 0; text-transform: none; color: var(--mute); margin-top: 10px; }
.hero-days { display: flex; align-items: flex-end; gap: 8px; margin-top: auto; }
.hero-day { flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 6px; font: 600 11px/1 var(--mono); letter-spacing: 0.04em; }
.hero-day-bar { display: block; border-radius: 14px 14px 6px 6px; border: 1px solid #231f2033; background: repeating-linear-gradient(135deg, #231f201a 0 2px, transparent 2px 7px); }
.hero-day.shoot .hero-day-bar { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 6px 0 var(--signal); }
.hero-day.on .hero-day-bar { outline: 2px solid var(--ink); outline-offset: 2px; }
.hero-next { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero-next b { font: 800 22px/1 var(--head); letter-spacing: -0.01em; }
/* Balken am Drehtag */
.chart { display: flex; align-items: flex-end; gap: 8px; height: 220px; padding-top: 10px; border-bottom: 1px solid var(--line-strong); }
.chart-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; justify-content: flex-end; }
.chart-bar { position: relative; width: 100%; max-width: 64px; border-radius: 16px 16px 6px 6px; background: #ffffffcc; border: 1px solid #231f2033; overflow: hidden; }
.chart-col.rest .chart-bar { background: repeating-linear-gradient(135deg, #231f201f 0 2px, transparent 2px 7px); }
.chart-fill { position: absolute; left: 0; right: 0; bottom: 0; background: var(--signal); }
.chart-time { font: 600 11px/1 var(--mono); font-variant-numeric: tabular-nums; }
.chart-count { font: 500 10px/1 var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: 0.06em; }
/* Fortschritt */
.prog-num b { font: 800 64px/0.85 var(--head); letter-spacing: -0.04em; }
.prog-num span { font: 600 14px/1 var(--mono); color: var(--mute); }
.prog-num small { font: 600 12px/1 var(--mono); }
.prog-bar { position: relative; height: 28px; margin: 18px 0 6px; border-radius: 100px; background: repeating-linear-gradient(135deg, #231f2026 0 2px, transparent 2px 8px); border: 1px solid #231f2026; }
.prog-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 100px; background: var(--signal); min-width: 28px; }
.prog-knob { position: absolute; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #fff; border: 1px solid #231f2033; }
/* Inhalte in Karten: helle Fassung der Handy-Bausteine */
#app.desk .stack { margin: 0; }
#app.desk .slot.dark { --ground: #231f20; }
#app.desk .slot.light { --ground: #ffffff; }
#app.desk .slot-giant { font-size: min(130px, 9vw); }
#app.desk .tiles { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
#app.desk .card { border-top-color: var(--ink); }
#app.desk .chip { border-color: var(--ink); }
#app.desk .chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
#app.desk .chips.days .chip[aria-pressed="true"] { color: #fff; }
#app.desk .wx { background: #ffffff8c; }
#app.desk .wx-ic { background: var(--ink); }
#app.desk .tile-img, #app.desk .shot-thumb, #app.desk .pic { background: var(--raise); }
#app.desk .dl:first-of-type { border-top: 0; padding-top: 0; }
#app.desk .round.fill { background: var(--ink); color: #fff; }
#app.desk .tbd { border-color: var(--ink); }
#app.desk .zoom { --ink: #fff; }
#app.desk .post::before { background: #231f2033; }
#app.desk .post-step.client::before { background: #fff; }
/* Edit-Panel rechts */
.desk-drawer { position: fixed; top: 16px; right: 16px; bottom: 16px; width: 430px; z-index: 9; display: flex; flex-direction: column; border-radius: 30px; background: #ffffffe6; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid #231f201f; color: #231f20;
  --ink: #231f20; --mute: #231f2099; --line: #231f201f; }
.desk-drawer[hidden] { display: none; }
.de-head { display: flex; align-items: center; gap: 8px; padding: 20px 20px 8px; }
.de-head > div { flex: 1; min-width: 0; }
.de-head b { display: block; font: 800 26px/1 var(--head); letter-spacing: -0.02em; margin-top: 4px; }
.de-head .pill { height: 40px; min-width: 0; padding: 0 14px; }
.de-note { padding: 0 20px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--mute); }
.de-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.de-tabs button { height: 30px; padding: 0 12px; border-radius: 100px; border: 1px solid #231f2033; font: 600 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.de-tabs button.on { background: var(--ink); color: #fff; }
.de-body { flex: 1; overflow-y: auto; padding: 14px 20px 30px; overscroll-behavior: contain; }
.fe-field { display: block; margin: 0 0 10px; }
.fe-field .label, .fe-bool .label { display: block; margin-bottom: 4px; text-transform: none; }
.fe-in { width: 100%; padding: 9px 12px; border: 1px solid #231f2033; border-radius: 12px; background: #fff; color: #231f20; font: 500 13px/1.35 var(--mono); }
textarea.fe-in { resize: vertical; }
.fe-in:focus { outline: 2px solid #231f20; outline-offset: 0; }
.fe-bool { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.fe-obj { border: 1px solid #231f201f; border-radius: 16px; padding: 10px 12px 2px; margin: 0 0 12px; }
.fe-obj legend { padding: 0 6px; }
.fe-arr { margin: 0 0 14px; }
.fe-arr-head { margin: 4px 0 8px; }
.fe-item { border: 1px solid #231f201f; border-radius: 14px; margin: 0 0 8px; background: #ffffffb3; }
.fe-item > summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; font: 600 12px/1.2 var(--mono); list-style: none; }
.fe-item > summary::-webkit-details-marker { display: none; }
.fe-item > summary > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe-item[open] > summary { border-bottom: 1px solid #231f201f; }
.fe-item > :not(summary) { margin-left: 12px; margin-right: 12px; }
.fe-item > .fe-field:first-of-type, .fe-item > :nth-child(2) { margin-top: 10px; }
.fe-tools { display: inline-flex; gap: 4px; }
.fe-tools button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #231f2033; font: 600 12px/1 var(--mono); }
.fe-tools button:hover { background: #231f20; color: #fff; }
.fe-row { display: flex; gap: 6px; align-items: flex-end; }
.fe-row > .fe-field { flex: 1; }
.fe-add { height: 36px; min-width: 0; padding: 0 14px; font-size: 10px; }
.fe-add-field { margin: 0 12px 12px; font: 600 10px/1 var(--mono); letter-spacing: 0.06em; text-decoration: underline; }
.de-modal { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: #231f2066; }
.de-login { width: 380px; display: flex; flex-direction: column; gap: 6px; background: #ffffffee; color: #231f20; --ink: #231f20; --mute: #231f2099; }
.de-login .de-note { padding: 0; margin: 4px 0 8px; }
.de-title { font: 800 26px/1 var(--head); letter-spacing: -0.02em; margin-bottom: 8px; }
.de-actions { display: flex; gap: 8px; }
.de-login .pill.fill { background: #231f20; color: #fff; }
.ri-home::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 3l9 7.5V21H3z'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 3l9 7.5V21H3z'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E"); }
.ri-list::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E"); }
.ri-grid::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.ri-film::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 4v16M17 4v16M3 9h4M3 15h4M17 9h4M17 15h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 4v16M17 4v16M3 9h4M3 15h4M17 9h4M17 15h4'/%3E%3C/svg%3E"); }
.ri-sheet::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.ri-edit::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); }
#app.desk main.desk-grid { max-width: none; margin: 0; padding: 0; }
.dcard.next .next-big { font-size: clamp(22px, 1.8vw, 30px); }

/* Desktop: Kartenbreiten (12er-Raster) */
.dcard.progress { grid-column: span 4; }
.dcard.next { grid-column: span 3; }
.dcard.weather { grid-column: span 5; }
.dcard.schedule, .dcard.deliv, .dcard.posttl { grid-column: span 4; }
.dcard.assets { grid-column: 1 / -1; }
.dcard.w8 { grid-column: span 8; }
.dcard.light { grid-column: span 4; }
#app.desk .wx-row { grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); }

/* Desktop: doppelte Zwischentitel unter dem Kartentitel ausblenden; Kopf beim Bearbeiten kompakt */
#app.desk .dcard-head + .sub, #app.desk .dcard-head + .chips + .sub { display: none; }
.desk-brand { white-space: nowrap; }
#app.desk.editing .desk-pills, #app.desk.editing .desk-brand small { display: none; }
/* Desktop: dunkle Schedule-Blöcke mit heller Schrift, Restzeit passt sich der Kartenbreite an */
#app.desk .slot.dark { --ground: #231f20; --ink: #ffffff; --soft: #eaece8; --mute: #a7a5a2; --line: #ffffff40; --raise: #3a3536; }
#app.desk .slot.rest { --ground: #d4d2cf; --ink: #231f20; --mute: #231f2099; }
#app.desk .dcard { container-type: inline-size; }
#app.desk .slot-giant { font-size: min(130px, 27cqi); }

/* Desktop: Lageplan oben über die volle Breite */
.dcard.siteplan { grid-column: 1 / -1; }
.siteplan-pic { display: block; }
.siteplan-pic .pic { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.siteplan-pic .pic img { width: 100%; height: 100%; object-fit: cover; }
.siteplan-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.siteplan-foot .pill.go { margin-top: 0; }

/* Desktop ohne "Shots done": Meilensteine und Wetter teilen sich die Reihe */
.dcard.next { grid-column: span 4; }
.dcard.weather { grid-column: span 8; }

/* ============================================================ Desktop nach Callsheet-Vorlage (01.12.2026) */
.dcard.band { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 28px; align-items: start; }
.band-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.band-item { display: flex; gap: 12px; align-items: flex-start; color: inherit; text-decoration: none; min-width: 0; }
a.band-item:hover b { text-decoration: underline; text-underline-offset: 3px; }
.band-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); position: relative; }
.band-ic::before { content: ''; position: absolute; inset: 8px; background: #fff; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.bi-sos { background: var(--signal); }
.band-text { min-width: 0; }
.band-text b { display: block; font: 600 12px/1.25 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.band-text small { display: block; margin-top: 3px; font: 500 11px/1.35 var(--mono); color: var(--mute); }
.band-center { text-align: center; min-width: 0; }
.band-title { font: 800 64px/0.9 var(--head); letter-spacing: -0.03em; text-transform: uppercase; margin: 6px 0 16px; }
.band-days { display: flex; flex-direction: column; gap: 6px; }
.band-day { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 38px; padding: 0 6px 0 16px; border: 2px solid var(--ink); border-radius: 100px; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; text-align: left; }
.band-day b { font-weight: 700; }
.band-day-time { background: var(--ink); color: #fff; border-radius: 100px; padding: 7px 14px; font: 700 13px/1 var(--mono); font-variant-numeric: tabular-nums; }
.band-day.shoot { background: var(--ink); color: #fff; }
.band-day.shoot .band-day-time { background: var(--signal); color: #000; }
.band-day { transition: border-color .15s ease; }
.band-day:hover { border-color: #FF073B; }
.band-keys { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.band-key { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 100px; overflow: hidden; font: 700 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.band-key > span { padding: 8px 12px; }
.band-key > b { padding: 8px 14px; background: var(--ink); color: #fff; font-variant-numeric: tabular-nums; }
/* Lageplan mit Zoom */
.zp { position: relative; }
.zp-stage { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; background: var(--raise); cursor: zoom-in; touch-action: none; }
.zp-stage.zoomed { cursor: grab; }
.zp-stage.dragging { cursor: grabbing; }
.zp-stage img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.zp-tools { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 6px; }
.zp-btn { width: 40px; height: 40px; border-radius: 50%; background: #ffffffe6; border: 1px solid #231f2033; font: 600 18px/1 var(--mono); color: #231f20; }
.zp-btn:hover { background: #231f20; color: #fff; }
.zp-hint { position: absolute; left: 14px; bottom: 12px; padding: 6px 10px; border-radius: 100px; background: #231f20cc; color: #fff; font: 500 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; pointer-events: none; }
/* Tabellen: Crew list und Drehtag */
.dcard.crew-card, .dcard.shootcard { grid-column: 1 / -1; }
.dtable { width: 100%; font: 500 12px/1.35 var(--mono); }
.dt-row { display: grid; gap: 14px; padding: 10px 12px; border-bottom: 1px solid var(--line); align-items: baseline; }
.dt-head { background: var(--ink); color: #fff; border-radius: 12px 12px 0 0; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 0; }
.dt-row:nth-child(odd):not(.dt-head) { background: #ffffff66; }
.crew-table .dt-row { grid-template-columns: 1.3fr 1.4fr 1.6fr 1.1fr 1.6fr 1.6fr 1.6fr; }
.crew-table .dt-row.client b { font-weight: 600; }
.dt-mail { overflow-wrap: anywhere; }
.shoot-table .dt-row { grid-template-columns: 64px 1.3fr 2.4fr 56px; }
.shoot-table .dt-row.hl { background: #ffffffcc; }
.shoot-table .dt-row.hl > b:nth-child(2) { font-weight: 800; }
.shoot-table .dt-row.rest { color: var(--mute); }
.dt-details span { display: block; }
.dt-ids { color: var(--mute); margin-top: 3px; }
.dt-done { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.dt-done.full { color: var(--signal); }
.dcard.weather { grid-column: span 8; }
.dcard.next { grid-column: span 4; }
.dcard.w12 { grid-column: 1 / -1; }
/* Bearbeiten-Knopf je Karte: Stift statt Pfeil */
.dround.dedit { display: flex; align-items: center; justify-content: center; }
.dround.dedit::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); }
/* Upload-Feld im Edit-Panel */
.dz { margin: 4px 0 14px; padding: 18px 14px; border: 2px dashed #231f2066; border-radius: 16px; text-align: center; cursor: pointer; background: #ffffffb3; }
.dz.over, .dz:hover { border-color: #231f20; background: #fff; }
.dz-status { font: 500 11px/1.4 var(--mono); letter-spacing: 0.04em; color: #231f20b3; }
.bi-sos::before, .ri-sos::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E"); }
.bi-car::before, .ri-car::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14M3 17v-4l2-5h14l2 5v4'/%3E%3Ccircle cx='7.5' cy='17' r='2'/%3E%3Ccircle cx='16.5' cy='17' r='2'/%3E%3Cpath d='M3 13h18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14M3 17v-4l2-5h14l2 5v4'/%3E%3Ccircle cx='7.5' cy='17' r='2'/%3E%3Ccircle cx='16.5' cy='17' r='2'/%3E%3Cpath d='M3 13h18'/%3E%3C/svg%3E"); }
.bi-pin::before, .ri-pin::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 1 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 1 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.bi-bed::before, .ri-bed::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18V6M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-8v5'/%3E%3Ccircle cx='7' cy='11' r='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18V6M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-8v5'/%3E%3Ccircle cx='7' cy='11' r='2'/%3E%3C/svg%3E"); }
.bi-cutlery::before, .ri-cutlery::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v8a2 2 0 0 0 4 0V3M9 11v10M17 3c-2 0-3 2-3 6s1 4 3 4v8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v8a2 2 0 0 0 4 0V3M9 11v10M17 3c-2 0-3 2-3 6s1 4 3 4v8'/%3E%3C/svg%3E"); }
.bi-cup::before, .ri-cup::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h13v5a6 6 0 0 1-6 6h-1a6 6 0 0 1-6-6z'/%3E%3Cpath d='M17 10h1.5a2.5 2.5 0 0 1 0 5H17M8 3v2M12 3v2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h13v5a6 6 0 0 1-6 6h-1a6 6 0 0 1-6-6z'/%3E%3Cpath d='M17 10h1.5a2.5 2.5 0 0 1 0 5H17M8 3v2M12 3v2'/%3E%3C/svg%3E"); }
.bi-nocam::before, .ri-nocam::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l20 20'/%3E%3Cpath d='M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.3'/%3E%3Cpath d='M14.1 14.2a3 3 0 1 1-4.2-4.3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l20 20'/%3E%3Cpath d='M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.3'/%3E%3Cpath d='M14.1 14.2a3 3 0 1 1-4.2-4.3'/%3E%3C/svg%3E"); }
.bi-people::before, .ri-people::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2 21v-1a6 6 0 0 1 12 0v1'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 0 1 0 7M22 21v-1a6 6 0 0 0-4-5.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2 21v-1a6 6 0 0 1 12 0v1'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 0 1 0 7M22 21v-1a6 6 0 0 0-4-5.6'/%3E%3C/svg%3E"); }

/* Desktop: Timing als Matrix (Zeit als Spalten, Zeilen je Person), seitlich scrollbar */
.dcard.matrixcard { grid-column: 1 / -1; }
.mx-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mx-top .chips.days { margin: 0; flex: 1; max-width: 560px; }
.mx-toggle { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border-radius: 100px; border: 2px solid var(--ink); font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.mx-toggle .person-sign { font-size: 20px; width: 14px; padding: 0; }
.mx-title { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; }
.mx-title b { font: 800 24px/1 var(--head); letter-spacing: -0.01em; text-transform: uppercase; }
.mx-title .label { margin-left: auto; }
.mx-scroll { overflow-x: auto; overscroll-behavior-x: contain; border-radius: 14px; border: 1px solid var(--line); background: #ffffff66; }
.mx-grid { display: grid; width: max-content; min-width: 100%; font: 500 11px/1.3 var(--mono); }
.mx-grid > span { padding: 9px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.mx-h { position: sticky; top: 0; background: var(--ink); color: #fff; font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; border-color: #ffffff26 !important; }
.mx-time { text-align: center; font-variant-numeric: tabular-nums; }
.mx-name { position: sticky; left: 0; z-index: 2; background: #f3f3f2; }
.mx-h.mx-name { z-index: 3; background: var(--ink); }
.mx-name b { display: block; font: 700 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; }
.mx-name small { display: block; margin-top: 2px; color: var(--mute); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.mx-c { text-align: center; display: flex; align-items: center; justify-content: center; background: #ffffffb3; }
.mx-c.empty { background: transparent; }
.mx-plan { background: #231f20 !important; color: #fff; font-weight: 700; }
.mx-plan.mx-name b { color: #fff; }
.mx-d { color: var(--soft); overflow-wrap: anywhere; }
.ri-clock::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.mx-grid > span { overflow-wrap: anywhere; hyphens: auto; }
.mx-c { line-height: 1.25; }
.mx-grid .name-link { overflow-wrap: normal; word-break: normal; white-space: normal; }
.mx-grid > span { overflow-wrap: break-word; }
button.band-item { appearance: none; background: none; border: 0; font: inherit; color: inherit; text-align: left; width: 100%; cursor: zoom-in; padding: 0; }
a.band-item, button.band-item { border-radius: 10px; }
a.band-item:hover b, button.band-item:hover b { text-decoration: underline; text-underline-offset: 3px; }
.addr-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.addr-link small { color: inherit; }
/* Extender: Doppelstrich mit +/− zwischen Namen und erstem Zeitslot */
.mx-ext { position: sticky; left: 180px; z-index: 4; appearance: none; padding: 0; margin: 0; border: 0; cursor: pointer;
  background: linear-gradient(90deg, transparent 2px, var(--ink) 2px, var(--ink) 3px, transparent 3px, transparent 7px, var(--ink) 7px, var(--ink) 8px, transparent 8px), #f3f3f2; }
.mx-ext.open { position: relative; left: auto; }
.mx-ext-sign { position: sticky; top: 0; display: grid; place-items: center; width: 24px; height: 24px; margin: 6px 0 0 -7px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 600 16px/1 var(--mono); box-shadow: 0 0 0 3px #f3f3f2; }
.mx-ext:hover .mx-ext-sign { background: var(--red, #e30613); }
.mx-ext { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.mx-ext-sign { flex: none; }
.dcard.band { position: relative; }
.dedit-float { position: absolute; top: 18px; right: 18px; z-index: 2; }
/* Extender-Kreis immer mittig in der Tabelle, Plus/Minus als gezeichnete Striche (sitzen genau in der Mitte) */
.mx-ext { justify-content: center; }
.mx-ext-sign { position: relative; top: auto; margin: 0 0 0 -7px; font-size: 0; color: transparent; }
.mx-ext-sign::before, .mx-ext-sign::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: #fff; transform: translate(-50%, -50%); border-radius: 1px; }
.mx-ext-sign::after { width: 2px; height: 10px; }
.mx-ext.open .mx-ext-sign::after { display: none; }
/* Drehtag in der Tagesauswahl rot wie auf dem Handy */
#app .chip.shoot, #app.desk .chip.shoot { border-color: var(--signal, #e30613); }
#app.desk .chip.shoot[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--signal, #e30613); box-shadow: inset 0 0 0 1px var(--signal, #e30613); }
/* Kopfband: Tage in halber Höhe, Schrift bleibt gleich */
.band-days { gap: 4px; }
.band-day { height: 26px; padding: 0 3px 0 14px; border-width: 1.5px; }
.band-day-time { padding: 3px 10px; font-size: 12px; }
/* Timing / Crew list: Crew-Spalten, WhatsApp, Personen ohne Plan für den Tag */
.mx-phone { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mx-wa { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: inline-block; }
.mx-wa::before { content: ''; position: absolute; inset: 6px; background: #fff; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.mx-wa:hover { background: #25d366; }
.mx-name.mx-off b { color: var(--soft); }
/* Inline-Bearbeitung */
.mx-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mx-bar .label { margin-right: 6px; }
.mx-bar .pill { height: 36px; }
.mx-inline .mx-scroll { outline: 2px solid var(--signal, #e30613); outline-offset: 2px; }
.mx-edit { cursor: text; outline: none; }
.mx-c.mx-edit { min-height: 38px; }
.mx-edit:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.mx-edit:focus { box-shadow: inset 0 0 0 2px var(--signal, #e30613); background: #fff !important; color: var(--ink) !important; }
.mx-name .mx-name-in { display: block; padding: 2px 4px; margin: -2px -4px; font: 700 12px/1.2 var(--mono); text-transform: uppercase; }
.mx-name { position: sticky; }
.mx-th-edit { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 4px 6px !important; }
.mx-time-in { min-width: 48px; padding: 4px; border-radius: 6px; }
.mx-time-in:focus { color: var(--ink); }
.mx-x { appearance: none; border: 0; background: none; color: inherit; font: 600 14px/1 var(--mono); cursor: pointer; opacity: 0.55; padding: 2px 4px; }
.mx-x:hover { opacity: 1; color: var(--signal, #e30613); }
.mx-name .mx-x { position: absolute; top: 6px; right: 6px; }
.dcard.band > .band-col:last-of-type { padding-right: 48px; }

/* Location notes in der Kachel "Shooting location", unter dem Lageplan */
.siteplan-notes { margin-top: 28px; }
.siteplan-notes-head { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.siteplan-notes-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 1099px) { .siteplan-notes-list { grid-template-columns: 1fr; } }

/* Ohne "Next milestones": Deliverables und Post timeline je halbe Breite, damit keine Lücke bleibt */
@media (min-width: 1100px) { #app.desk .dcard.deliv, #app.desk .dcard.posttl { grid-column: span 6; } }

/* Timing senkrecht: Zeit von oben nach unten, Spalten Plan und Personen (01.12.2026) */
.mx-v .mx-grid { width: 100%; min-width: 0; }
.mx-v .mx-h { position: sticky; top: 0; z-index: 2; }
.mx-v .mx-colh { text-align: left; }
.mx-v .mx-colh b { display: block; font: 700 11px/1.2 var(--mono); letter-spacing: 0.04em; }
.mx-v .mx-colh small { display: block; margin-top: 3px; color: #ffffff99; font: 500 9px/1.2 var(--mono); letter-spacing: 0.04em; }
.mx-v .mx-colh.mx-off b { color: #ffffff80; }
.mx-v .mx-colh { position: sticky; }
.mx-v .mx-colh .mx-x { position: absolute; top: 6px; right: 4px; color: #fff; }
.mx-v .mx-corner { left: 0; z-index: 4; }
.mx-v .mx-rowh { position: sticky; left: 0; z-index: 1; background: #f3f3f2; font: 700 12px/1.2 var(--mono); display: flex; align-items: center; justify-content: center; }
.mx-v .mx-c { justify-content: flex-start; text-align: left; min-height: 38px; }
.mx-v .mx-c.mx-plan { font-weight: 700; }
.mx-v .mx-th-edit { justify-content: space-between; }
.ri-people::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18.5 14.4c1.9.8 3 2.8 3 5.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18.5 14.4c1.9.8 3 2.8 3 5.6'/%3E%3C/svg%3E"); }
.crew-table .mx-phone { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.crew-table .mx-phone { justify-content: flex-start; }
.crew-table .mx-phone .name-link { white-space: nowrap; }
#app.desk .crew-table .dt-row { grid-template-columns: 1.3fr 1.3fr 1.5fr 1.5fr 1.7fr 1.5fr 1.5fr; }
.mx-inline.mx-v .mx-colh { padding-right: 20px; }
.mx-v .mx-c.mx-all { justify-content: center; text-align: center; font-weight: 600; letter-spacing: 0.04em; }

/* Location-Fotos unter dem Lageplan (location.gallery) */
.loc-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.loc-pic { appearance: none; border: 0; padding: 0; margin: 0; background: none; color: inherit; text-align: left; cursor: zoom-in; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.loc-pic-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--raise); }
.loc-pic-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loc-pic .label { font-size: 10px; }
.loc-pic:hover .loc-pic-img { outline: 2px solid var(--signal); outline-offset: 2px; }
@media (min-width: 1100px) { .dcard.siteplan .loc-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; } .loc-pic-img { border-radius: 14px; } }
.band-tel { color: inherit; text-decoration: none; } .band-tel:hover { text-decoration: underline; }

/* Wetter des gewählten Tags rechts oben im Timing */
.mx-wx { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mx-wx .wx-ic { width: 28px; height: 28px; }
.mx-wx b { font: 800 26px/1 var(--head); }
.mx-wx-min { font: 600 14px/1 var(--mono); color: var(--mute); }
.mx-wx .label { max-width: 230px; }
/* Ohne Weather-Kachel: Licht über die volle Breite */
@media (min-width: 1100px) { #app.desk .dcard.light { grid-column: 1 / -1; } }

/* Props je Shot und Props-Liste (01.12.2026) */
.prop-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.prop-chip { display: inline-block; padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 100px; font: 600 9px/1.2 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.prop-chip.ok { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.chips.types { margin-top: 8px; }
.props-list { font: 500 12px/1.4 var(--mono); text-transform: uppercase; }
.pl-row { display: grid; grid-template-columns: 1.8fr 0.9fr 0.9fr 1.6fr 1.6fr; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); align-items: start; }
.pl-head { background: var(--ink); color: var(--ground); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; border-radius: 10px 10px 0 0; }
#app.desk .pl-head { background: var(--ink); color: #fff; }
.pl-row b { font-weight: 700; }
.pl-shots, .pl-notes { color: var(--soft); }
.prop-status { display: inline-block; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 100px; font: 600 10px/1.2 var(--mono); letter-spacing: 0.05em; }
.prop-status.st-done { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.prop-status.st-ordered { border-style: dashed; }
.prop-status.st-todo, .prop-status.st-to-buy { color: var(--mute); }
.dcard.propscard { grid-column: 1 / -1; }
.props-section { margin-top: 28px; }
.props-title { display: block; margin-bottom: 10px; }
@media (max-width: 759px) {
  .pl-head { display: none; }
  .pl-row { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 0; }
  .pl-row b { grid-column: 1; }
  .pl-row .pl-owner { grid-column: 2; grid-row: 1; text-align: right; color: var(--mute); }
  .pl-row > :nth-child(3) { grid-column: 1 / -1; }
  .pl-shots, .pl-notes { grid-column: 1 / -1; font-size: 11px; }
}
.chips.types { margin-top: -12px; }

/* Assets (01.12.2026): Storyboard 16:9, abgerundet; Desktop 5 Spalten über die volle Breite */
.tile-img { aspect-ratio: 16 / 9; border-radius: 12px; }
.tile.done .tile-img { outline-offset: 0; }
@media (min-width: 1100px) { #app.desk .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; } }
/* Props-Etiketten: Pillen, eine Zeile, gleiche Höhe; voller Name im Tooltip */
.prop-chip { display: inline-block; height: 24px; line-height: 22px; padding: 0 10px; border-radius: 100px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Avatar wie iOS: Initialen auf fester Farbe je Person, oder Profilbild (crew[].avatar) */
.avatar { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; color: #fff; font: 700 11px/1 var(--mono); letter-spacing: 0.04em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-sm { width: 30px; height: 30px; font-size: 10px; }
.crew-name { display: flex; align-items: center; gap: 10px; }
.person-main { display: flex; align-items: center; gap: 10px; }
/* Crew-Liste sortierbar: Doppelpfeil im Kopf, aktive Richtung hervorgehoben */
.crew-table .dt-head .sort-head { appearance: none; background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.sort-ic { position: relative; width: 8px; height: 12px; flex: none; opacity: 0.5; }
.sort-ic::before, .sort-ic::after { content: ''; position: absolute; left: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.sort-ic::before { top: 0; border-bottom: 5px solid currentColor; }
.sort-ic::after { bottom: 0; border-top: 5px solid currentColor; }
.sort-head:hover .sort-ic, .sort-head.on .sort-ic { opacity: 1; }
.sort-ic.asc::after { opacity: 0.25; }
.sort-ic.desc::before { opacity: 0.25; }
.pl-head .sort-head { appearance: none; background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
/* Status-Auswahl in der Props-Liste: Pille mit Pfeil, speichert sofort */
.prop-select { appearance: none; -webkit-appearance: none; height: 28px; padding: 0 26px 0 10px; border: 1px solid var(--line-strong); border-radius: 100px; background: transparent no-repeat right 9px center / 8px 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath d='M0 0h8L4 5z' fill='%23231f20'/%3E%3C/svg%3E");
  color: var(--ink); font: 600 10px/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; }
#app:not(.desk) .prop-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath d='M0 0h8L4 5z' fill='%23ffffff'/%3E%3C/svg%3E"); }
.prop-select.st-done { background-color: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.prop-select.st-ordered { border-style: dashed; }
.prop-select:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.prop-select option { color: #231f20; background: #fff; }
/* Status-Farben (Props), angelehnt an die Miro-Packliste; "done" bleibt Signalrot wie überall in der App */
.prop-select, .prop-status { border-style: solid !important; }
.st-todo { background-color: #e4e2df !important; border-color: #c9c6c2 !important; color: #231f20 !important; }
.st-requested { background-color: #ffe3b3 !important; border-color: #f2a93b !important; color: #6b4300 !important; }
.st-to-buy { background-color: #cfe3ff !important; border-color: #4a86e8 !important; color: #123d7a !important; }
.st-ordered { background-color: #c8f0d8 !important; border-color: #34a868 !important; color: #0e4d2a !important; }
.st-done { background-color: var(--signal) !important; border-color: var(--signal) !important; color: #fff !important; }
/* Wetter im Timing: 5 Kacheln im Tagesverlauf */
.mx-wx-hours { gap: 8px; }
.wx-h { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto auto; align-items: center; column-gap: 8px; row-gap: 3px; min-width: 104px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff80; }
.wx-h .label { grid-column: 1 / -1; font-size: 10px; }
.wx-h .wx-ic { width: 22px; height: 22px; }
.wx-h b { font: 800 20px/1 var(--head); }
.wx-h small { grid-column: 1 / -1; font: 500 9px/1.2 var(--mono); letter-spacing: 0.04em; color: var(--mute); text-transform: uppercase; white-space: nowrap; }
.dcard.cs.w6 { grid-column: span 6; }

/* Kompakte Filter (Desktop, Assets): Pillen mit Label und Auswahl, wie "Status Any ▾" */
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.fsel { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 28px 0 12px; border-radius: 100px; background: #ffffffb3; border: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); cursor: pointer; }
.fsel::after { content: ''; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.fsel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0; margin: 0; font: 700 11px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); cursor: pointer; max-width: 220px; }
.fsel select:focus-visible { outline: none; }
.fsel:focus-within { outline: 2px solid var(--signal); outline-offset: 2px; }
.fsel.on { background: var(--ink); border-color: var(--ink); color: #ffffffb3; }
.fsel.on select { color: #fff; }
.fsel.on::after { border-color: #fff; }
.fsel option { color: #231f20; background: #fff; text-transform: none; }
.fclear { appearance: none; border: 0; background: none; padding: 0 6px; height: 32px; font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); cursor: pointer; text-decoration: underline; }
/* Kleiner Umschalter (Shooting day: Table / Gantt) */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 100px; background: #ffffffb3; border: 1px solid var(--line); margin-bottom: 16px; }
.seg-btn { appearance: none; border: 0; height: 26px; padding: 0 14px; border-radius: 100px; background: none; font: 600 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); cursor: pointer; }
.seg-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Gantt (Shooting day) */
.gantt { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #ffffff66; }
.gt-lane { display: grid; grid-template-columns: 200px 1fr; min-height: 52px; border-bottom: 1px solid var(--line); }
.gt-who { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-right: 1px solid var(--line); min-width: 0; }
.gt-who b { display: block; font: 700 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; }
.gt-who small { display: block; margin-top: 2px; font: 500 9px/1.2 var(--mono); color: var(--mute); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-who > span:last-child { min-width: 0; }
.gt-unit-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.gt-track { position: relative; }
.gt-axis { min-height: 34px; background: var(--ink); color: #fff; }
.gt-axis .gt-who { border-color: #ffffff26; }
.gt-tick { position: absolute; top: 50%; transform: translate(-50%, -50%); font: 600 10px/1 var(--mono); letter-spacing: 0.06em; }
.gt-tick:first-child { transform: translate(4px, -50%); }
.gt-tick:last-child { transform: translate(calc(-100% - 4px), -50%); }
.gt-body { position: relative; }
.gt-grid { position: absolute; inset: 0 0 0 200px; pointer-events: none; }
.gt-grid span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.gt-now { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: calc(200px - 1px); background: var(--signal); z-index: 3; pointer-events: none; }
.gt-body .gt-now { left: 0; }
.gt-sec { padding: 10px 12px 6px; border-bottom: 1px solid var(--line); background: #ffffff80; }
.gt-bar { position: absolute; top: 7px; bottom: 7px; margin-left: 2px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 10px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.gt-bar b { position: relative; font: 700 10px/1.15 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-bar small { position: relative; font: 500 9px/1 var(--mono); color: var(--mute); white-space: nowrap; }
.gt-bar.shots { background: var(--ink); color: #fff; border-color: var(--ink); }
.gt-bar.shots small { color: #ffffffb3; }
.gt-bar.rest { background: repeating-linear-gradient(135deg, #00000008 0 6px, transparent 6px 12px); border-style: dashed; border-color: var(--line); color: var(--mute); }
.gt-bar.crew { background: #ffffffd9; border-color: var(--line); }
.gt-bar.done { box-shadow: inset 0 -3px 0 var(--signal); }
.gt-prog { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--signal); }
.gt-nowwrap { position: absolute; inset: 0 0 0 200px; pointer-events: none; z-index: 3; }
.gt-nowwrap .gt-now { margin-left: -1px; }
.gt-bar { z-index: 1; }
.fsel select { field-sizing: content; max-width: 170px; text-overflow: ellipsis; }
@media (min-width: 1100px) { .dcard.siteplan .loc-pic-img { aspect-ratio: 8 / 3; } }  /* Galerie halb so hoch, Klick vergrößert im Overlay */
/* Assets Desktop: eine Reihe je Asset, 5 sichtbar, mehr per Querscrollen (01.12.2026) */
@media (min-width: 1100px) {
  #app.desk .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 14px; }
  #app.desk .tiles > .tile { scroll-snap-align: start; }
}
/* Musik-Knopf im Desktop-Kopf: Lautsprecher, durchgestrichen solange stumm */
.desk-sound { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; }
.snd-ic { position: relative; width: 16px; height: 16px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5L6 9H2v6h4l5 4z'/%3E%3Cpath d='M22 9l-6 6M16 9l6 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5L6 9H2v6h4l5 4z'/%3E%3Cpath d='M22 9l-6 6M16 9l6 6'/%3E%3C/svg%3E"); }
.snd-ic.on { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5L6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5L6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }
.desk-sound.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Kopfband direkt bearbeiten: Anordnung bleibt, Texte werden beschreibbar */
.dcard.band.band-inline { outline: 2px solid var(--signal); outline-offset: 2px; }
.band-bar { grid-column: 1 / -1; justify-content: flex-end; margin-bottom: 10px; padding-right: 48px; }
.band-edit { cursor: text; outline: none; border-radius: 4px; padding: 0 2px; margin: 0 -2px; box-shadow: inset 0 -1px 0 var(--line-strong); }
.band-edit:hover { background: #ffffffb3; }
.band-edit:focus { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--signal); }
.band-edit:empty::before { content: attr(data-ph); color: var(--mute); }
.band-day .band-edit { box-shadow: inset 0 -1px 0 currentColor; }
/* Bearbeiten (01.12.2026): Anordnung der Kacheln bleibt gleich, das Panel nimmt nur rechts Platz weg */

/* Desktop-Kopf (01.12.2026, Stil norco): gerahmte Leiste mit Eckmarken, bleibt oben stehen und liegt über dem Inhalt */
.desk-top.hd { position: sticky; top: 12px; z-index: 20; display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 0;
  margin: 12px 0 18px; padding: 0; min-height: 72px; border: 1px solid #231f2040; border-radius: 4px; background: #e9e9e8eb; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px #231f2014; }
.hd-c { position: absolute; width: 10px; height: 10px; border-color: var(--ink); border-style: solid; border-width: 0; }
.hd-c.tl { left: -6px; top: -6px; border-left-width: 1px; border-top-width: 1px; }
.hd-c.tr { right: -6px; top: -6px; border-right-width: 1px; border-top-width: 1px; }
.hd-c.bl { left: -6px; bottom: -6px; border-left-width: 1px; border-bottom-width: 1px; }
.hd-c.br { right: -6px; bottom: -6px; border-right-width: 1px; border-bottom-width: 1px; }
.hd-brand { display: flex; align-items: center; gap: 12px; padding: 0 22px; height: 100%; border-right: 1px solid #231f2026; }
.hd-mark { height: 18px; width: auto; }
.hd-brand .label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); white-space: nowrap; }
.hd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: pulse 1.4s ease-in-out infinite; }
.hd-dot.off { background: var(--mute); animation: none; }
.hd-count { display: flex; flex-direction: column; gap: 6px; padding: 0 22px; white-space: nowrap; }
.hd-count .label { color: var(--ink); }
.hd-count b { font: 700 20px/1 var(--mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.hd-ticks { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 22px 0 4px; min-width: 0; }
.hd-pct { align-self: flex-end; font: 500 9px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.hd-lines { display: flex; justify-content: space-between; height: 26px; overflow: hidden; }
.hd-lines i { flex: none; width: 1px; height: 100%; background: #231f2033; }
.hd-lines i.on { background: #FF073B; }
.desk-top.hd .desk-sound { margin-right: 10px; }
.desk-top.hd .desk-edit { margin-right: 18px; height: 40px; }
.dcard { scroll-margin-top: 110px; }
.hd-mark { filter: invert(1); }
.desk-drawer { box-shadow: -18px 0 50px #231f2033; } .hd-ticks { min-width: 140px; }

/* Deliverables als Asset-Liste (Desktop) */
.dcard.alistcard { grid-column: 1 / -1; }
.alist-scroll { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 14px; background: #ffffff80; }
.alist { min-width: 1500px; font: 500 11px/1.35 var(--mono); }
.al-row { display: grid; grid-template-columns: 34px 1.6fr 0.8fr 0.7fr 1fr 1.1fr 1fr 1.1fr 0.8fr 0.75fr 0.75fr 0.75fr 0.75fr 0.7fr 1.4fr; gap: 10px; align-items: start; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.al-row:last-child { border-bottom: 0; }
.al-head { background: var(--ink); color: #fff; font: 600 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; align-items: center; position: sticky; top: 0; }
.al-head .sort-head { appearance: none; background: none; border: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.al-n { color: var(--mute); }
.al-id { font: 700 11px/1.3 var(--mono); text-transform: uppercase; }
.al-id small { display: block; margin-top: 3px; font: 500 9px/1 var(--mono); color: var(--mute); }
.al-stack { display: flex; flex-wrap: wrap; gap: 4px; }
.al-text { color: var(--soft); text-transform: uppercase; }
.al-date { font-variant-numeric: tabular-nums; }
.atag { display: inline-block; padding: 4px 8px; border-radius: 6px; font: 600 10px/1.1 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.t-violet { background: #5b3fd6; color: #fff; } .t-green { background: #2f7d3a; color: #fff; } .t-dark { background: #4a4a4a; color: #fff; }
.t-blue { background: #2d6cdf; color: #fff; } .t-pink { background: #f6c6cc; color: #7a1e2c; } .t-amber { background: #b7891a; color: #fff; }
.t-red { background: #b3261e; color: #fff; } .t-grey { background: #e2e0dd; color: #231f20; } .t-sky { background: #bcd4f6; color: #12366b; }
.t-outline { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.bi-film::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 4v16M17 4v16M3 9h4M3 15h4M17 9h4M17 15h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 4v16M17 4v16M3 9h4M3 15h4M17 9h4M17 15h4'/%3E%3C/svg%3E"); }
/* Kopf fest oben (02.12.2026): sticky greift wegen overflow-x am #app nicht, deshalb fixed über der Inhaltsbreite; alles scrollt darunter durch */
#app.desk .desk-top.hd { position: fixed; top: 12px; margin: 0; z-index: 8;
  left: calc(96px + 28px + max(0px, (100vw - 96px - 1640px) / 2)); right: calc(28px + max(0px, (100vw - 96px - 1640px) / 2)); }
#app.desk .desk-page { padding-top: 104px; }
.dcard { scroll-margin-top: 112px; }
#app.desk .desk-top.hd::before { content: ""; position: absolute; left: -20px; right: -20px; top: -13px; height: 12px; background: #e7e7e7; pointer-events: none; }

/* Konten (Login, Registrieren, Projekte, Admin) */
.acc-photo { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 14px; padding: 0; background: none; border: 0; color: inherit; font: 500 12px/1.3 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; text-align: left; cursor: pointer; }
.acc-photo-prev { width: 56px; height: 56px; font-size: 22px; background: var(--raise); border: 1px dashed var(--line-strong); }
.acc-group { margin: 18px 0 6px; }
.acc-group > .label { display: block; margin-bottom: 8px; }
a.acc-proj { display: block; text-decoration: none; color: inherit; }
.acc-admin { max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px; color: var(--ink); }
.acc-admin-head { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.acc-admin-head .mark { height: 22px; width: auto; }
.acc-admin-head .linkish { margin-left: auto; }
.acc-admin h1 { font: 800 clamp(40px, 7vw, 72px)/0.9 var(--head); letter-spacing: -0.02em; text-transform: uppercase; }
.acc-admin .kicker { margin: 16px 0 26px; font-size: 12px; letter-spacing: 0.04em; color: var(--soft); text-transform: uppercase; }
.acc-row { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 12px 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.acc-row.st-pending { background: linear-gradient(90deg, #ff073b14, transparent 60%); }
.acc-row.st-disabled { opacity: 0.55; }
.acc-who { display: flex; gap: 14px; align-items: center; min-width: 0; }
.acc-who .avatar { width: 44px; height: 44px; background: var(--raise); color: var(--ink); }
.acc-who b { display: block; font: 700 14px/1.2 var(--mono); text-transform: uppercase; }
.acc-who small { display: block; font: 500 11px/1.4 var(--mono); color: var(--mute); overflow-wrap: anywhere; }
.acc-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.acc-sel { height: 40px; padding: 0 12px; border-radius: 100px; border: 1px solid var(--line-strong); background: transparent; color: inherit; font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.acc-projs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.acc-check { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1.3 var(--mono); text-transform: uppercase; }
.acc-link { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acc-link:empty { display: none; }
.acc-link input { flex: 1 1 420px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: inherit; font: 500 11px/1 var(--mono); }
.acc-link small { flex-basis: 100%; font: 500 10px/1.3 var(--mono); color: var(--mute); text-transform: uppercase; }
@media (max-width: 700px) { .acc-row { grid-template-columns: 1fr; } .acc-ctl { justify-content: flex-start; } }

/* Startseite mit Konten: Kunden als Kacheln (Logo unverändert, sonst Name), Kundenseite mit Projekten nach Serie */
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 10px 0 30px; }
.cl-tile { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--raise); color: inherit; text-decoration: none; transition: border-color .15s; }
.cl-tile:hover { border-color: var(--line-strong); }
.cl-logo { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 12px; background: #1a1718; padding: 18px; }
.cl-logo img { max-width: 80%; max-height: 70%; object-fit: contain; }
.cl-logo b { font: 800 24px/1 var(--head); letter-spacing: -0.01em; text-transform: uppercase; text-align: center; }
.cl-tile small { font: 500 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.cl-page .acc-group { margin: 22px 0 8px; }

/* Profilbild zuschneiden: runder Ausschnitt, Ziehen und Zoom */
.crop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: #000000b3; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.crop-card { width: min(380px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; border-radius: 28px; background: #231f20; color: #fff; border: 1px solid #ffffff26; }
.crop-card .label { align-self: flex-start; color: #ffffffb3; }
.crop-title { align-self: flex-start; font: 800 22px/1 var(--head); text-transform: uppercase; letter-spacing: -0.01em; }
.crop-stage { position: relative; overflow: hidden; border-radius: 16px; background: #111; cursor: grab; touch-action: none; user-select: none; max-width: 100%; }
.crop-stage:active { cursor: grabbing; }
.crop-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px #000000a6; outline: 2px solid #fff; outline-offset: -2px; pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: 12px; width: 100%; font: 700 18px/1 var(--mono); }
.crop-zoom input { flex: 1; accent-color: var(--signal); }
.crop-actions { display: flex; gap: 10px; justify-content: flex-end; width: 100%; }
.crop-actions .pill { height: 44px; padding: 0 20px; }
.cl-logo.on-light { background: #f2f1ee; }

/* Kundenseite als Portfolio (Vorbild Cosmos): hell, links Name, Mitte Bildstreifen, rechts Angaben zum aktiven Projekt */
#app.pv-mode { background: #fff; color: #111; min-height: 100vh; }
.pv { position: relative; display: grid; grid-template-columns: 1fr minmax(160px, 220px) 1fr; align-items: center; min-height: 100vh; height: 100vh; padding: 0 32px; overflow: hidden; }
.pv-top { position: absolute; left: 32px; right: 32px; top: 22px; display: flex; align-items: center; justify-content: space-between; z-index: 2; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.pv-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.pv-brand .mark { height: 18px; width: auto; filter: invert(1); }
.pv-top nav { display: flex; gap: 22px; }
.pv-top nav a, .pv-top nav button { color: inherit; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.pv-top nav a:hover, .pv-top nav button:hover { text-decoration: underline; }
.pv-name { font: 800 clamp(40px, 6vw, 96px)/0.9 var(--head); letter-spacing: -0.02em; text-transform: uppercase; overflow-wrap: anywhere; padding-right: 24px; }
.pv-strip { height: 100vh; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; display: flex; flex-direction: column; align-items: center; gap: 12px; outline: none; }
.pv-strip::-webkit-scrollbar { display: none; }
.pv-pad { flex: none; height: calc(50vh - 90px); }
.pv-item { flex: none; scroll-snap-align: center; width: 112px; transition: width .35s ease; display: block; }
.pv-item.on { width: 100%; }
.pv-pic { display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; background: #e9e8e5; }
.pv-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-pic b { font: 800 28px/1 var(--head); color: #b9b6b0; }
.pv-info { display: flex; flex-direction: column; gap: 6px; padding-left: 28px; max-width: 420px; font: 500 12px/1.45 var(--mono); }
.pv-title { font: 700 18px/1.15 var(--head); letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 4px; }
.pv-meta { color: #6d6a66; text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; }
.pv-teaser { margin: 10px 0 4px; }
.pv-open { align-self: flex-start; margin-top: 10px; color: inherit; font: 700 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.pv-empty { grid-column: 2 / 4; font: 500 12px/1.4 var(--mono); text-transform: uppercase; }
@media (max-width: 760px) {
  .pv { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; height: auto; min-height: 100vh; padding: 70px 16px 24px; }
  .pv-name { padding: 0; margin-bottom: 12px; }
  .pv-strip { height: 52vh; }
  .pv-pad { height: calc(26vh - 90px); }
  .pv-info { padding: 14px 0 0; }
}
/* Platzhalter am Ende des Bildstreifens */
.pv-ph .pv-pic { background: repeating-linear-gradient(135deg, #f1f0ed 0 10px, #e7e5e1 10px 20px); border: 1px dashed #c9c6c1; }
.pv-ph .pv-pic b { font: 300 48px/1 var(--head); color: #9c9891; }
.pv-ph.on .pv-pic b { color: var(--signal); }

/* Mit Konten: Login, Registrieren, Reset, Kundenauswahl und Admin hell wie die Kundenseite (02.12.2026) */
#app.acc-light { --ground: #ffffff; --ink: #111111; --soft: #3a3735; --mute: #6d6a66; --line: #1111111f; --line-strong: #111111; --raise: #f1f0ed;
  min-height: 100vh; min-height: 100dvh; background: #fff; color: #111; }
body:has(#app.acc-light) { background: #fff; }
#app.acc-light .mark { filter: invert(1); }
#app.acc-light .field input::placeholder { color: #11111266; }
#app.acc-light .field input:focus { box-shadow: 0 0 0 3px #11111222; }
#app.acc-light .acc-photo-prev { background: #f1f0ed; color: #111; }
#app.acc-light .cl-tile { background: #f6f5f2; }
#app.acc-light .acc-sel, #app.acc-light .acc-link input { color: #111; }
#app.acc-light .acc-who .avatar { background: #ecebe7; color: #111; }
#app.acc-light .error { color: var(--signal); }
/* Automatisch ausgefüllte Felder (Browser) in den Farben der Seite statt grau-blau */
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink); -webkit-box-shadow: 0 0 0 100px var(--ground) inset; transition: background-color 9999s; }

/* Kunden- und Projektauswahl auf einer Seite: Spalte Kunden | Spalte Projekte | Angaben (02.12.2026) */
.pv.pv-combo { grid-template-columns: minmax(220px, 280px) minmax(160px, 220px) 1fr; column-gap: 48px; padding: 0 32px; }
.pv-col { height: 100vh; overflow-y: auto; scrollbar-width: thin; padding: 84px 4px 40px 0; display: flex; flex-direction: column; gap: 12px; }
.pv-col-head { display: block; margin-bottom: 2px; color: #6d6a66; }
.pv-clients .cl-tile { appearance: none; text-align: left; font: inherit; color: inherit; cursor: pointer; background: #f6f5f2; border: 1px solid #1111111a; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.pv-clients .cl-tile:hover { border-color: #11111266; }
.pv-clients .cl-tile.on { border-color: #111; box-shadow: 0 0 0 1px #111; }
.pv-clients .cl-tile .label { color: #111; }
.pv-clients .cl-tile small { font: 500 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #6d6a66; }
.pv-strip-empty { height: 100vh; }
.pv-combo .pv-strip { border-left: 1px solid #1111110f; border-right: 1px solid #1111110f; }
.pv-combo:not(.has-client) .pv-strip-empty { border: 0; }
.pv-hint { font-size: clamp(28px, 3.4vw, 52px); line-height: 0.95; }
@media (max-width: 760px) {
  .pv.pv-combo { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: 66px 16px 24px; height: auto; }
  .pv-col { height: auto; max-height: 44vh; padding: 0 0 12px; }
  .pv-clients { flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  .pv-clients .cl-tile { flex: 0 0 180px; }
  .pv-col-head { display: none; }
  .pv-strip-empty { display: none; }
  .pv-combo .pv-strip { height: 52vh; border: 0; }
}

/* Auswahl wie Portfolio: Name links fett, zwei Streifen (Kunden, Projekte) mittig, Angaben rechts (02.12.2026) */
.pv.pv-combo { grid-template-columns: 1fr minmax(150px, 200px) minmax(150px, 200px) 1fr; column-gap: 28px; padding: 0 32px; }
.pv-combo .pv-strip { border: 0; }
.pv-slot { height: 100vh; }
.pv-slot .pv-strip { height: 100vh; }
.pv-citem .cl-logo { aspect-ratio: 4 / 3; padding: 14px; border-radius: 10px; }
.pv-citem .cl-logo b { font-size: 16px; }
.pv-citem:not(.on) { opacity: 0.55; transition: width .35s ease, opacity .35s ease; }
.pv-citem.on { opacity: 1; }
@media (max-width: 760px) {
  .pv.pv-combo { grid-template-columns: 1fr 1fr; grid-template-rows: auto 52vh auto; padding: 66px 16px 24px; height: auto; column-gap: 12px; }
  .pv-combo .pv-name { grid-column: 1 / -1; }
  .pv-slot, .pv-slot .pv-strip, .pv-combo .pv-strip { height: 52vh; }
  .pv-combo .pv-info { grid-column: 1 / -1; }
}
.pv-combo .pv-name { font-size: clamp(28px, 3.8vw, 84px); overflow-wrap: normal; word-break: normal; hyphens: none; }

/* Nicht gewählte Kacheln in den Streifen: weniger klein und mit Milchglas statt ausgegraut (02.12.2026) */
.pv-item { position: relative; width: 74%; transition: width .35s ease; }
.pv-item.on { width: 100%; }
.pv-citem:not(.on) { opacity: 1; }
.pv-item > .pv-pic, .pv-item > .cl-logo { transition: filter .35s ease; }
.pv-item:not(.on) > .pv-pic, .pv-item:not(.on) > .cl-logo { filter: blur(3px) saturate(0.9); }
.pv-item::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: opacity .35s ease;
  background: linear-gradient(135deg, #ffffff59, #ffffff26); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid #ffffff80; opacity: 1; }
.pv-citem::after { border-radius: 10px; }
.pv-item.on::after { opacity: 0; }
.pv-item:not(.on):hover::after { opacity: 0.6; }
/* Milchglas dezenter, Logos bleiben erkennbar; Kundenkacheln ohne Rundung (02.12.2026) */
.pv-item:not(.on) > .pv-pic, .pv-item:not(.on) > .cl-logo { filter: blur(1.4px) saturate(0.9); }
.pv-item::after { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); background: linear-gradient(135deg, #ffffff47, #ffffff1a); }
.pv-citem .cl-logo, .pv-citem::after { border-radius: 0; }
.pv-combo .pv-name { font-variant-numeric: tabular-nums; }

/* Anmeldung: Marke „UNPROD“ im Rahmen, Intro mit Zufallszeichen (02.12.2026) */
.acc-brand { align-self: flex-start; display: inline-block; margin-bottom: 26px; padding: 8px 14px 6px; border: 2px solid var(--ink); border-radius: 12px; will-change: transform; position: relative; z-index: 3; background: var(--ground); }
.acc-brand b { display: block; font: 800 22px/1 var(--head); letter-spacing: 0.04em; text-transform: uppercase; font-variant-numeric: tabular-nums; min-width: 6.2ch; text-align: center; }
.intro-wait { opacity: 0; transform: translateY(14px); }
.login > * { transition: opacity .5s ease, transform .5s ease; }
/* E-Mail erkannt: Licht läuft auf der Rahmenlinie */
@property --ring { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.field { position: relative; }
.field.valid::after { content: ''; position: absolute; inset: 0; border-radius: 100px; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ring), transparent 0deg 230deg, #ff073b 300deg, #ffc2cd 335deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ring-run 1.6s linear infinite; }
@keyframes ring-run { to { --ring: 360deg; } }
@media (prefers-reduced-motion: reduce) { .field.valid::after { animation: none; background: #ff073b; } }

/* 02.12.2026: Licht läuft auf dem Button, sobald E-Mail und Passwort drinstehen (nicht mehr am E-Mail-Feld) */
.field.valid::after { content: none; }
.primary { position: relative; }
.primary.ready::after { content: ''; position: absolute; inset: -2px; border-radius: 100px; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ring), transparent 0deg 230deg, #ff073b 300deg, #ffc2cd 335deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ring-run 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .primary.ready::after { animation: none; background: #ff073b; } }
/* „UNPROD“ ohne Rahmen, oben neben dem U */
.acc-brand { position: absolute; left: 76px; top: calc(env(safe-area-inset-top) + 24px); margin: 0; padding: 0; border: 0; border-radius: 0; background: none; height: 24px; display: flex; align-items: center; }
.acc-brand b { font: 800 21px/1 var(--head); letter-spacing: 0.02em; min-width: 0; text-align: left; }
.acc-flag { color: var(--signal) !important; font-weight: 700; }

/* Anmeldeseiten: ASCII-Feld im Hintergrund, reagiert auf die Maus (03.12.2026) */
#app.acc-light { position: relative; overflow: hidden; }
#app.acc-light > .login { position: relative; z-index: 1; }
.acc-ascii { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
/* Anmelden, Registrieren, Passwort vergessen: senkrecht mittig statt oben (02.12.2026) */
#app.acc-light > .login.who:has(> form) { justify-content: safe center; padding-top: calc(env(safe-area-inset-top) + 88px); padding-bottom: calc(env(safe-area-inset-bottom) + 88px); }
/* Schriftzug „Unknown Inc / UNPROD“ immer am rechten Fensterrand (02.12.2026) */
.login .side { position: fixed; right: 14px; top: 50%; z-index: 2; }
@media (max-width: 760px) { .login .side { right: 6px; } }
/* Projektstatus auf der Auswahlseite: Active rot (Signal), Inactive grau (02.12.2026) */
.pv-state { align-self: flex-start; margin-bottom: 6px; padding: 5px 12px 4px; border-radius: 999px; border: 1.5px solid #11111140; background: transparent; color: #6d6a66; font: 700 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.pv-state.on { background: #FF073B; border-color: #FF073B; color: #000; }
button.pv-state { cursor: pointer; }
button.pv-state:hover { filter: brightness(0.94); }
/* Props: Kiste statt Dokument (02.12.2026) */
.ri-box::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 7.5 12 3 3 7.5v9L12 21l9-4.5z'/%3E%3Cpath d='M3 7.5l9 4.5 9-4.5M12 12v9M7.5 5.25l9 4.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 7.5 12 3 3 7.5v9L12 21l9-4.5z'/%3E%3Cpath d='M3 7.5l9 4.5 9-4.5M12 12v9M7.5 5.25l9 4.5'/%3E%3C/svg%3E"); }
/* Lichtzeiten im Shooting day: gleiche Kacheln wie das Wetter, nur Uhrzeit (02.12.2026) */
.shoot-top { margin-bottom: 14px; }
.shoot-top .view-toggle { margin: 0; }
.light-tiles .lt-h { grid-template-columns: auto; min-width: 96px; }
/* Asset-Liste: Typ, Auflösung, Status, Editor als Dropdown im Tag-Look (02.12.2026) */
select.tag-select { -webkit-appearance: none; appearance: none; cursor: pointer; border: 0; padding-right: 18px; max-width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='currentColor' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center; background-size: 8px 5px; font: inherit; }
select.tag-select:disabled { cursor: default; background-image: none; padding-right: 8px; opacity: 1; }
select.tag-select:focus-visible { outline: 2px solid #FF073B; outline-offset: 2px; }
select.tag-select { field-sizing: content; width: auto; min-width: 0; padding: 4px 18px 4px 8px; }
select.tag-select.t-outline { border: 1px solid var(--line-strong); }
.al-row > span:has(> select.tag-select) { white-space: nowrap; }
/* Asset-Liste ohne #-Spalte; Uhr unter der ID klappt die Zeitleiste auf (02.12.2026) */
.al-row { grid-template-columns: 1.6fr 0.8fr 0.7fr 1fr 1.1fr 1fr 1.1fr 0.8fr 0.75fr 0.75fr 0.75fr 0.75fr 0.7fr 1.4fr; }
.al-tl-btn { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 4px 8px 4px 6px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.al-tl-btn:hover, .al-row.open .al-tl-btn { background: var(--ink); color: #fff; }
.al-tl-btn .ic-clock { width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.al-tl-btn .chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.al-row.open .al-tl-btn .chev { transform: translateY(1px) rotate(-135deg); }
.al-row.open { border-bottom-color: transparent; }
/* Zeitleiste */
.dtl { padding: 6px 14px 16px; border-bottom: 1px solid var(--line); background: #ffffffa0; }
.dtl-grid { display: grid; grid-template-columns: 220px repeat(var(--n), minmax(20px, 1fr)); column-gap: 0; }
.dtl-left { grid-column: 1; grid-row: 1 / span 2; padding-right: 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.dtl-left small { font: 500 9px/1.2 var(--mono); color: var(--mute); letter-spacing: 0.04em; }
.dtl-left b { font: 800 15px/1 var(--head); text-transform: uppercase; letter-spacing: -0.01em; }
.dtl-head { border-bottom: 1.5px solid var(--ink); padding-bottom: 6px; }
.dtl-month { font: 700 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 8px; border-left: 1.5px solid var(--ink); background: #ffffff; margin-bottom: 8px; white-space: nowrap; overflow: hidden; }
.dtl-day { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.dtl-day small { font: 500 9px/1 var(--mono); color: var(--mute); }
.dtl-day b { font: 700 11px/1 var(--mono); min-width: 20px; padding: 3px 0; text-align: center; border-radius: 999px; }
.dtl-day.we b, .dtl-day.we small { color: #b3b0ab; }
.dtl-day.today b { background: #FF073B; color: #fff; }
.dtl-body { position: relative; min-height: 64px; align-items: center; }
.dtl-body .dtl-left { grid-row: 1; padding: 10px 14px 10px 0; }
.dtl-cell { align-self: stretch; border-left: 1px solid #1111110d; min-height: 64px; }
.dtl-cell.we { background: repeating-linear-gradient(135deg, #11111114 0 1px, transparent 1px 6px); }
.dtl-today { align-self: stretch; justify-self: center; width: 2px; background: #FF073B; z-index: 3; }
.dtl-bar { align-self: center; z-index: 2; height: 22px; margin: 0 2px; border-radius: 999px; display: flex; align-items: center; padding: 0 10px; font: 700 9px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.dtl-bar.edit { background: var(--ink); color: #fff; }
.dtl-bar.fb { background: #8d8a86; color: #fff; }
.dtl-dia { align-self: center; justify-self: center; z-index: 4; width: 22px; height: 22px; display: grid; place-items: center; }
.dtl-dia i { width: 13px; height: 13px; transform: rotate(45deg); background: var(--ink); outline: 2px solid #fff; }
.dtl-dia.client i { background: #FF073B; width: 15px; height: 15px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #FF073B; outline: 0; }
.dtl-dia.next i { background: #fff; border: 2px solid #FF073B; outline: 0; }
.dtl-rev { align-self: center; z-index: 2; height: 22px; margin: 0 2px; border: 1.5px dashed var(--ink); border-radius: 999px; display: flex; align-items: center; padding: 0 8px; font: 700 9px/1 var(--mono); letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; background: #fff; }
.dtl .assumed.dtl-bar { background-image: repeating-linear-gradient(90deg, transparent 0 6px, #ffffff40 6px 9px); }
.dtl .assumed.dtl-dia i { opacity: .55; }
.dtl-none { align-self: center; font: 500 10px/1 var(--mono); color: var(--mute); text-transform: uppercase; padding-left: 8px; }
.dtl-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font: 600 9px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.dtl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dtl-legend i { display: inline-block; }
.lg-edit, .lg-fb { width: 22px; height: 9px; border-radius: 999px; background: var(--ink); }
.lg-fb { background: #8d8a86; }
.lg-ukn, .lg-client, .lg-next { width: 8px; height: 8px; transform: rotate(45deg); background: var(--ink); }
.lg-client { background: #FF073B; }
.lg-next { background: #fff; border: 1.5px solid #FF073B; }
.lg-rev { width: 22px; height: 9px; border-radius: 999px; border: 1.2px dashed var(--ink); }
.lg-we { width: 14px; height: 10px; background: repeating-linear-gradient(135deg, #11111140 0 1px, transparent 1px 4px); }
.lg-today { width: 2px; height: 11px; background: #FF073B; }
.lg-note { color: var(--mute); }
/* Kopf flacher (02.12.2026): Countdown kleiner, weniger Höhe */
.desk-top.hd { min-height: 54px; }
.hd-count { gap: 4px; }
.hd-count b { font: 600 13px/1 var(--mono); letter-spacing: 0.06em; }
.hd-lines { height: 18px; }
.desk-top.hd .desk-edit { height: 34px; }
.desk-top.hd .desk-sound { height: 34px; }
#app.desk .desk-page { padding-top: 86px; }
.dcard { scroll-margin-top: 94px; }

/* Frame.io-Vorschau (02.12.2026): Link „Preview“ unter „Open“, Overlay mit dem neuesten Schnitt */
.al-fio { gap: 6px; }
.al-preview { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: 600 11px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.al-preview:hover { color: #FF073B; }
.pv-play { width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.fp { position: fixed; inset: 0; z-index: 40; background: rgba(35, 31, 32, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow: auto; }
.fp-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(400px, 100%); max-height: 100%; }
.fp-x { align-self: flex-end; border: 1.5px solid #fff; border-radius: 100px; background: none; color: #fff; padding: 9px 14px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.fp-stage { position: relative; width: 100%; max-height: calc(100vh - 230px); border-radius: 22px; overflow: hidden; background: #1c191a repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 9px); display: flex; align-items: center; justify-content: center; }
.fp-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.fp-msg { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; text-align: center; padding: 20px; }
.fp-msg b { font: 800 34px/1 var(--head); letter-spacing: -0.02em; }
.fp-msg small { font: 500 10px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #9a9597; }
.fp-title { align-self: stretch; color: #fff; }
.fp-title b { display: block; font: 800 24px/1 var(--head); letter-spacing: -0.01em; text-transform: uppercase; }
.fp-meta { margin: 6px 0 0; font: 500 10px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #cfcacc; }
.fp-note { margin: 0; align-self: stretch; font: 500 10px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #cfcacc; }
.fp-open { align-self: stretch; justify-content: center; text-align: center; border: 1.5px solid #fff; color: #fff; }
.fp-open.off { opacity: 0.5; }

/* Kopf (02.12.2026): Schriftzug UNPROD statt U-Zeichen, das U steht schon in der Leiste links */
.hd-word { font: 800 19px/1 var(--head); letter-spacing: 0.02em; text-transform: uppercase; color: inherit; text-decoration: none; white-space: nowrap; }
/* Edit oben mit Stift statt Pfeil (02.12.2026) */
.desk-edit { gap: 8px; }
.ic-pen { display: inline-block; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Ortsangaben führen zu Google Maps (02.12.2026) */
.place-link { cursor: pointer; }
/* Timing-Tage am Desktop so hoch wie die Tageszeilen im Kopfband (02.12.2026) */
#app.desk #d-timing .chip { height: 26px; min-height: 0; border-width: 1px; padding: 0 16px; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; }
#app.desk #d-timing .chip:hover { border-color: #FF073B; }
/* Licht-Kacheln im Shooting Day (02.12.2026): in der Kopfzeile links neben dem Stift, mit Icons wie die Wetter-Kacheln */
.dcard-head.has-extra { align-items: flex-start; }
.dcard-head.has-extra > .dcard-title { align-self: center; }
.dcard-head.has-extra > .light-tiles { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.dcard-head.has-extra > .dedit { flex: none; }
.light-tiles .lt-h { grid-template-columns: auto auto; min-width: 0; }
.light-tiles .lt-ic { width: 22px; height: 22px; }
.lt-sunrise { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 18a5 5 0 0 0-10 0'/%3E%3Cpath d='M12 2v7M4.2 10.2l1.4 1.4M1 18h2M21 18h2M18.4 11.6l1.4-1.4M23 22H1M8 6l4-4 4 4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 18a5 5 0 0 0-10 0'/%3E%3Cpath d='M12 2v7M4.2 10.2l1.4 1.4M1 18h2M21 18h2M18.4 11.6l1.4-1.4M23 22H1M8 6l4-4 4 4'/%3E%3C/svg%3E"); }
.lt-high-noon { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M6.3 17.7l-1.4 1.4M19.1 4.9l-1.4 1.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M6.3 17.7l-1.4 1.4M19.1 4.9l-1.4 1.4'/%3E%3C/svg%3E"); }
.lt-golden-hour { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 18a5 5 0 0 0-10 0'/%3E%3Cpath d='M12 9v2M4.2 10.2l1.4 1.4M1 18h2M21 18h2M18.4 11.6l1.4-1.4M23 22H1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 18a5 5 0 0 0-10 0'/%3E%3Cpath d='M12 9v2M4.2 10.2l1.4 1.4M1 18h2M21 18h2M18.4 11.6l1.4-1.4M23 22H1'/%3E%3C/svg%3E"); }
.lt-sunset { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 18a5 5 0 0 0-10 0'/%3E%3Cpath d='M12 9V2M4.2 10.2l1.4 1.4M1 18h2M21 18h2M18.4 11.6l1.4-1.4M23 22H1M16 5l-4 4-4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 18a5 5 0 0 0-10 0'/%3E%3Cpath d='M12 9V2M4.2 10.2l1.4 1.4M1 18h2M21 18h2M18.4 11.6l1.4-1.4M23 22H1M16 5l-4 4-4-4'/%3E%3C/svg%3E"); }
.lt-blue-hour { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z'/%3E%3Cpath d='M3 21h18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z'/%3E%3Cpath d='M3 21h18'/%3E%3C/svg%3E"); }
.lt-dark { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z'/%3E%3Cpath d='M19 3v4M17 5h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9z'/%3E%3Cpath d='M19 3v4M17 5h4'/%3E%3C/svg%3E"); }
.shoot-top { margin-bottom: 10px; }
/* × im aktiven Filter (02.12.2026) */
.fsel.on { padding-left: 4px; }
.fsel-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 2px; border: 0; border-radius: 50%; background: #ffffff26; color: #fff; font: 400 16px/1 var(--mono); cursor: pointer; }
.fsel-x:hover { background: #FF073B; }
.fsel-x { position: relative; font-size: 0; }
.fsel-x::before, .fsel-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; }
.fsel-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.fsel-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
/* Kachel-Überschriften in der Display-Schrift, so groß wie der Tagestitel im Timing (02.12.2026) */
.dcard-title { font: 800 24px/1 var(--head); letter-spacing: -0.01em; text-transform: uppercase; }
/* Frame.io in der Admin-Ansicht (02.12.2026) */
.fio-admin { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.fio-admin h2 { font: 800 24px/1 var(--head); text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 10px; }
.fio-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
/* Anfrage ablehnen (02.12.2026) */
.acc-decline:hover { border-color: #FF073B; color: #FF073B; }
/* Leiste unten (02.12.2026): Admin-Knopf und Abmelden als Symbol */
.ri-admin { margin-bottom: 8px; }
.ri-admin::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.rail-me.ri-logout { display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; }
.rail-me.ri-logout::before { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") center / contain no-repeat; }
.rail-me.ri-logout:hover { background: #FF073B; }
/* Heller Desktop und Konto-Seiten: Browser-Steuerelemente und Scrollleisten hell, Leisten dezent (02.12.2026) */
#app.desk, #app.acc-light { color-scheme: light; }
#app.desk * { scrollbar-color: #231f2040 transparent; scrollbar-width: thin; }
.rail-home { display: flex; }

/* Sign in: Unknown-Icon unten mittig, darunter das Zitat (03.12.2026) */
.acc-sig { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 22px); transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.acc-sig img { height: 22px; width: auto; filter: invert(1); }
.acc-sig p { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 400 10px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); text-align: center; white-space: nowrap; }
@media (max-width: 420px) { .acc-sig p { font-size: 8.5px; letter-spacing: 0.04em; } }
@media (max-height: 640px) { .acc-sig { display: none; } }

/* Sign in / Reset: kein U oben, „UNPROD“ oben mittig (03.12.2026) */
#app.acc-light .login:has(> .acc-brand) > .mark { display: none; }
#app.acc-light .login > .acc-brand { left: 0; right: 0; justify-content: center; }
/* Wenn sich das ASCII-Feld zu Schriftzug oder U formt, scheinen die Zeichen zart hinter das Formular: Felder weiß, kleine Texte mit weißem Rand */
#app.acc-light .login .field input { background: #fff; }
#app.acc-light .login > .kicker, #app.acc-light .login > .foot, #app.acc-light .login .error { text-shadow: 0 0 3px #fff, 0 0 8px #fff, 0 0 14px #fff; }
/* Plus im Profilfoto-Kreis: mit CSS gezeichnet, damit es exakt mittig sitzt (Schriftzeichen sitzt je nach Schrift tiefer) */
.acc-plus { position: relative; width: 14px; height: 14px; }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.acc-plus::before { width: 14px; height: 2px; }
.acc-plus::after { width: 2px; height: 14px; }

/* Thank you und andere Anmeldeseiten ohne Formular ebenso senkrecht mittig wie Sign in (03.12.2026) */
#app.acc-light > .login.who.acc-screen { justify-content: safe center; padding-top: calc(env(safe-area-inset-top) + 88px); padding-bottom: calc(env(safe-area-inset-bottom) + 88px); }

/* Kunden- und Projektübersicht: dasselbe ASCII-Feld wie bei Sign in im Hintergrund (03.12.2026) */
#app.pv-mode > .pv { z-index: 1; background: transparent; }

/* Band: Info-Zeile für Callsheet-Einträge ohne festen Abschnitt */
.bi-info::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E"); }
/* Timing: Wetterkacheln im Kartenkopf rechts neben dem Stift, wie die Lichtkacheln beim Shooting day (02.12.2026) */
.dcard-head.has-extra > .mx-wx { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.dcard-head.has-extra > .mx-wx .wx-h { min-width: 0; }

/* Taskliste rechts (02.12.2026): Lasche am rechten Rand, Panel klappt darüber auf */
.tk { position: fixed; z-index: 60; color: #111; font: 500 12px/1.4 var(--mono); }
.tk[hidden] { display: none; }
.tk-tab { position: fixed; right: 0; bottom: 120px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 9px 12px; border: 1px solid #1111111f; border-right: 0; border-radius: 14px 0 0 14px; background: #fff; color: #111; box-shadow: 0 6px 24px #11111118; cursor: pointer; }
.tk-tab:hover { color: #FF073B; }
.tk-tab-ic { width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='M3.5 6l1.5 1.5L7.5 5M3.5 12l1.5 1.5L7.5 11M3.5 18l1.5 1.5L7.5 17'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='M3.5 6l1.5 1.5L7.5 5M3.5 12l1.5 1.5L7.5 11M3.5 18l1.5 1.5L7.5 17'/%3E%3C/svg%3E") center / contain no-repeat; }
.tk-tab-n { font: 700 11px/1 var(--mono); writing-mode: vertical-rl; letter-spacing: 0.06em; }
.tk-panel { position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(400px, calc(100vw - 24px)); display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 16px; border: 1px solid #1111111f; border-radius: 22px; background: #fff; box-shadow: 0 20px 60px #1111112e; transform: translateX(calc(100% + 24px)); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.tk.open .tk-panel { transform: none; }
.tk.open .tk-tab { opacity: 0; pointer-events: none; }
.tk-head { display: flex; align-items: center; justify-content: space-between; }
.tk-head h2 { margin: 0; font: 800 24px/1 var(--head); text-transform: uppercase; letter-spacing: -0.01em; }
.tk-close { position: relative; width: 32px; height: 32px; border: 1px solid #11111140; border-radius: 50%; background: #fff; cursor: pointer; }
.tk-close::before, .tk-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #111; transform: translate(-50%, -50%) rotate(45deg); }
.tk-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.tk-close:hover { border-color: #FF073B; }
.tk-form { display: flex; flex-direction: column; gap: 8px; }
.tk-form[hidden] { display: none; }
.tk-form-row { display: flex; gap: 8px; align-items: center; }
.tk-in, .tk-sel { min-width: 0; height: 36px; padding: 0 14px; border: 1px solid #11111140; border-radius: 999px; background: #fff; color: #111; font: 500 12px/1 var(--mono); }
.tk-in:focus, .tk-sel:focus { outline: none; border-color: #111; }
.tk-owner-box { flex: 1; min-width: 0; display: flex; }
.tk-sel { flex: 1; width: 100%; }
.tk-due-in { width: 132px; flex: none; }
.tk-form .pill { flex: none; height: 36px; }
.tk-filter { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid #1111111f; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-chip { display: inline-flex; align-items: center; gap: 6px; }
.tk-chip small { opacity: .6; font-size: 10px; }
.tk-done-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.tk-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; }
.tk-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 12px 2px; border-bottom: 1px solid #1111111a; }
.tk-item.mine { box-shadow: inset 3px 0 0 #FF073B; padding-left: 10px; }
.tk-check { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #111; cursor: pointer; }
.tk-title { font: 700 13px/1.35 var(--head); text-transform: uppercase; letter-spacing: 0; outline: none; border-radius: 4px; overflow-wrap: anywhere; }
.tk-title[contenteditable]:hover { background: #f1f0ed; }
.tk-title[contenteditable]:focus { background: #f1f0ed; box-shadow: 0 0 0 4px #f1f0ed; }
.tk-item.done .tk-title { text-decoration: line-through; color: #6d6a66; }
.tk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: #6d6a66; }
.tk-who-sel { max-width: 190px; height: 24px; padding: 0 10px; border: 1px solid #11111140; border-radius: 999px; background: #fff; color: #111; font: 600 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; }
.tk-who-sel.none { color: #6d6a66; border-style: dashed; }
.tk-who { color: #111; font-weight: 600; }
.tk-due { padding: 3px 8px; border-radius: 999px; background: #111; color: #fff; font-weight: 700; }
.tk-del { position: relative; width: 22px; height: 22px; border: 0; border-radius: 50%; background: none; cursor: pointer; opacity: .35; }
.tk-del::before, .tk-del::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: #111; transform: translate(-50%, -50%) rotate(45deg); }
.tk-del::after { transform: translate(-50%, -50%) rotate(-45deg); }
.tk-item:hover .tk-del { opacity: .8; }
.tk-del:hover::before, .tk-del:hover::after { background: #FF073B; }
.tk-empty { padding: 18px 0; }
@media (max-width: 760px) { .tk-tab { bottom: 92px; } }

/* Deliverables: Zeitleiste über der Zeile (02.12.2026) */
.al-row.open { border-bottom-color: var(--line); }
.dtl { border-bottom: 0; padding-top: 14px; }
.al-tl-btn .chev { transform: translateY(1px) rotate(-135deg); }
.al-row.open .al-tl-btn .chev { transform: translateY(-2px) rotate(45deg); }
