:root {
  --bg: #f6f4ee; --bg-2: #ffffff; --bg-3: #f1eee6; --line: #e6e1d6; --line-2: #d3cdbf;
  --cream: #1f2426; --text: #24292b; --muted: #6a7275; --dim: #9aa2a4;
  --teal: #2f8a8c; --teal-2: #256f71; --coral: #d9534f; --amber: #c48a12; --green: #2f9e6e; --blue: #3b7dd8; --violet: #7c5cc4;
  --radius: 12px; --radius-s: 8px; --shadow: 0 8px 30px rgba(31, 36, 38, .10);
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.45; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 24px; } h2 { font-size: 18px; } h3 { font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
p { margin: 0 0 .8em; }
.boot { padding: 60px; text-align: center; color: var(--muted); }
.muted { color: var(--muted); } .dim { color: var(--dim); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.coral { color: var(--coral); } .teal { color: var(--teal); } .amber { color: var(--amber); } .green { color: var(--green); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-wrap; }

/* Layout */
.shell { display: flex; min-height: 100vh; }
.side { width: 232px; flex: none; background: var(--bg-3); border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--cream); }
.brand img { width: 28px; height: 28px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-s); color: var(--muted); font-weight: 500; }
.nav a:hover { background: var(--bg-3); color: var(--text); text-decoration: none; }
.nav a.active { background: #fff; color: var(--teal); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.nav a .badge { margin-left: auto; }
.nav svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.side .spacer { flex: 1; }
.me { display: flex; align-items: center; gap: 10px; padding: 10px; border-top: 1px solid var(--line); margin-top: 8px; }
.me .name { font-weight: 600; font-size: 14px; } .me .roles { font-size: 11px; color: var(--dim); }
.main { flex: 1; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(246,244,238,.92); backdrop-filter: blur(10px); z-index: 5; }
.topbar h1 { margin: 0; font-size: 18px; }
.content { padding: 24px 28px 90px; max-width: 1240px; }
.tabbar { display: none; }

@media (max-width: 900px) {
  .side { display: none; }
  .content { padding: 16px 16px 100px; }
  .topbar { padding: 12px 16px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + var(--safe-b)); z-index: 20; }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--muted); font-size: 10px; border-radius: var(--radius-s); position: relative; }
  .tabbar a.active { color: var(--teal); } .tabbar svg { width: 22px; height: 22px; }
  .tabbar .badge { position: absolute; top: 2px; right: 14%; }
}

/* Components */
.avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.15); background: var(--teal); flex: none; }
.avatar.sm { width: 22px; height: 22px; font-size: 10px; } .avatar.lg { width: 44px; height: 44px; font-size: 16px; }
.badge { display: inline-flex; align-items: center; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; justify-content: center; }
.badge.teal { background: var(--teal); } .badge.dim { background: var(--line-2); color: var(--text); }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--bg-3); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.chip.teal { color: var(--teal); border-color: rgba(47,138,140,.35); background: rgba(47,138,140,.08); } .chip.coral { color: var(--coral); border-color: rgba(217,83,79,.35); background: rgba(217,83,79,.08); }
.chip.amber { color: var(--amber); border-color: rgba(196,138,18,.35); background: rgba(196,138,18,.08); } .chip.green { color: var(--green); border-color: rgba(47,158,110,.35); background: rgba(47,158,110,.08); }
.chip.blue { color: var(--blue); } .chip.violet { color: var(--violet); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border-radius: var(--radius-s); border: 1px solid var(--line-2); background: var(--bg-3); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--line); text-decoration: none; }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; } .btn.primary:hover { background: var(--teal-2); }
.btn.danger { color: var(--coral); border-color: rgba(240,140,137,.4); } .btn.danger:hover { background: rgba(240,140,137,.12); }
.btn.success { background: var(--green); border-color: var(--green); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); } .btn.ghost:hover { color: var(--text); background: var(--bg-3); }
.btn.sm { padding: 5px 10px; font-size: 13px; } .btn.xs { padding: 1px 6px; font-size: 12px; line-height: 1.4; } .btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.btn svg { width: 16px; height: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; } .row.end { justify-content: flex-end; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 2px rgba(31,36,38,.04); }
.card.pad-0 { padding: 0; } .card h2 { font-size: 15px; margin-bottom: 12px; }
.card .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; box-shadow: 0 1px 2px rgba(31,36,38,.04); }
.kpi:hover { border-color: var(--line-2); }
.kpi .v { font-size: 28px; font-weight: 700; letter-spacing: -.02em; } .kpi .l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi.warn .v { color: var(--coral); } .kpi.ok .v { color: var(--green); } .kpi.info .v { color: var(--teal); }
.list { display: flex; flex-direction: column; }
.list > .item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.list > .item:first-child { border-top: 0; }
.list > .item:hover .title { color: var(--cream); }
.item .title { font-weight: 600; } .item .sub { font-size: 12px; color: var(--muted); margin-top: 2px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.item .grow { flex: 1; min-width: 0; } .item .due { font-size: 12px; color: var(--muted); white-space: nowrap; text-align: right; }
.item .due.over { color: var(--coral); font-weight: 600; } .item .due.soon { color: var(--amber); }
.empty { padding: 26px; text-align: center; color: var(--dim); border: 1px dashed var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); font-weight: 600; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr.click { cursor: pointer; } .table tr.click:hover td { background: var(--bg-3); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 10px 14px; color: var(--muted); font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.active { color: var(--cream); border-bottom-color: var(--teal); }
.seg { display: inline-flex; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 3px; gap: 2px; }
.seg button { background: none; border: 0; padding: 6px 12px; border-radius: 6px; color: var(--muted); font-weight: 600; font-size: 13px; cursor: pointer; }
.seg button.active { background: #fff; color: var(--teal); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.field .hint { font-size: 12px; color: var(--dim); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=url], input[type=tel], select, textarea {
  width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 9px 11px; color: var(--text); outline: none; transition: border-color .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); }
textarea { min-height: 90px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a7275' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--teal); }
.form-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.error { color: var(--coral); font-size: 13px; margin: 6px 0; }
.toggle { position: relative; width: 42px; height: 24px; border-radius: 12px; background: var(--line-2); border: 0; cursor: pointer; flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.toggle.on { background: var(--teal); } .toggle.on::after { transform: translateX(18px); background: #fff; }

/* Modal + Toast */
#modal-root:empty { display: none; }
.modal-bg { position: fixed; inset: 0; background: rgba(31,36,38,.35); z-index: 50; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.modal { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px 16px 0 0; width: 100%; max-width: 640px; max-height: 92vh; overflow: auto; padding: 20px 20px calc(20px + var(--safe-b)); box-shadow: var(--shadow); animation: up .18s ease-out; }
@media (min-width: 700px) { .modal-bg { align-items: center; padding: 20px; } .modal { border-radius: 16px; } }
@keyframes up { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { margin-bottom: 14px; }
.modal .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
#toast-root { position: fixed; left: 50%; bottom: calc(80px + var(--safe-b)); transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: #1f2426; border: 1px solid #1f2426; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); animation: up .18s; max-width: 90vw; }
.toast.err { background: var(--coral); border-color: var(--coral); color: #fff; } .toast.ok { background: var(--green); border-color: var(--green); color: #fff; }

/* Notifications panel */
.panel-bg { position: fixed; inset: 0; z-index: 40; }
.panel { position: fixed; top: 0; right: 0; width: 380px; max-width: 100vw; height: 100vh; background: var(--bg-2); border-left: 1px solid var(--line); z-index: 41; overflow: auto; padding: 18px; box-shadow: var(--shadow); }
.notif { padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.notif.unread .t { color: var(--cream); } .notif .t { font-weight: 600; font-size: 14px; } .notif .b { font-size: 13px; color: var(--muted); white-space: pre-line; }
.notif .when { font-size: 11px; color: var(--dim); margin-top: 3px; }
.bell { position: relative; background: none; border: 0; cursor: pointer; padding: 6px; border-radius: 8px; color: var(--muted); }
.bell:hover { background: var(--bg-3); color: var(--text); } .bell .badge { position: absolute; top: 0; right: 0; }

/* Login */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login .card { width: 100%; max-width: 380px; padding: 28px; box-shadow: var(--shadow); }
.login .brand { padding: 0 0 20px; justify-content: center; }

/* Workflow */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.step .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); margin-top: 6px; flex: none; }
.step.done .dot { background: var(--green); border-color: var(--green); } .step.open .dot { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 4px rgba(47,138,140,.18); }
.step.cancelled .dot { border-color: var(--dim); } .step .lbl { font-size: 14px; } .step.done .lbl { color: var(--muted); } .step.cancelled .lbl { color: var(--dim); text-decoration: line-through; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; } .progress > div { height: 100%; background: var(--teal); }
.comment { padding: 10px 0; border-top: 1px solid var(--line); } .comment .who { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.desc { white-space: pre-wrap; color: var(--text); line-height: 1.55; }
.secret { font-family: ui-monospace, Menlo, monospace; background: #fff8e1; border: 1px solid #f0d98a; padding: 6px 10px; border-radius: 6px; user-select: all; }
.logo-thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: var(--bg-3); flex: none; }
.bar { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.bar > div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; align-items: stretch; }
.bar .b { background: var(--teal); border-radius: 3px 3px 0 0; min-height: 2px; } .bar .b.exp { background: var(--coral); } .bar .b.fc { background: #d8d3c6; }
.bar .m { font-size: 10px; color: var(--dim); text-align: center; }
.kbd { font-size: 11px; padding: 1px 5px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--muted); }
@media (max-width: 600px) { .kpi .v { font-size: 22px; } .content h1 { font-size: 20px; } }

h1 svg, h2 svg, .title svg, .chip svg { width: 15px; height: 15px; vertical-align: -2px; }

/* Kompakte Aufgabenzeilen */
.item.task { gap: 10px; padding: 9px 0; }
.item.task .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.item.task .sub { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.item.task .flags { display: flex; gap: 6px; align-items: center; flex: none; }
.item.task .ic { display: inline-flex; width: 16px; height: 16px; }
.item.task .ic svg { width: 16px; height: 16px; }
.group-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 0 6px; border-bottom: 1px solid var(--line); }
.group-head .muted { font-weight: 600; letter-spacing: 0; }
.item.task .tico { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--teal); flex: none; }
.item.task .tico svg { width: 16px; height: 16px; }
.item.task .tico.pool { background: #fff; border: 1.5px dashed var(--coral); color: var(--coral); }
.item.task .tico.auto { background: #fff; border: 1.5px solid var(--violet); color: var(--violet); }
.item.task .title .sep { color: var(--dim); font-weight: 400; margin: 0 2px; }
.item.task .tcheck { flex: none; width: 36px; height: 36px; aspect-ratio: 1 / 1; padding: 0; border-radius: 9px; border: 1.5px solid var(--line-2); background: var(--bg-2); color: var(--dim); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.item.task .tcheck svg { width: 18px; height: 18px; }
.item.task .tcheck:hover { border-color: var(--green); color: var(--green); }
.item.task .tcheck.busy { opacity: .5; }
.item.task .tcheck.done { background: var(--green); border-color: var(--green); color: #fff; }
.item.task.leaving { opacity: .35; transition: opacity .3s; }
.item.task .due { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; min-width: 76px; justify-content: flex-end; font-variant-numeric: tabular-nums; }
.item.task .due svg { width: 14px; height: 14px; }
.item.task .due.none { color: var(--dim); }
.avatar.pool { background: #fff; border: 1.5px dashed var(--coral); color: var(--coral); text-shadow: none; }
.avatar.auto { background: #fff; border: 1.5px solid var(--violet); color: var(--violet); text-shadow: none; }
.avatar.pool svg, .avatar.auto svg { width: 14px; height: 14px; }
@media (max-width: 600px) { .item.task .flags { display: none; } .item.task .due { min-width: 60px; } }

/* Kundenliste als Tabelle: Kunde | Geplant bis | Nächster Dreh | Aufgaben | Paket */
.cust-head, .item.cust { display: grid; grid-template-columns: 34px minmax(0, 1fr) 128px 148px 168px; gap: 12px; align-items: center; }
.cust-head { padding: 10px 0 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.cust-head div:first-child { grid-column: 1 / 3; }
.item.cust { padding: 9px 0; }
.item.cust .title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 7px; }
.item.cust .sub { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.item.cust .sub .pk { color: var(--teal); font-weight: 700; }
.cc { min-width: 0; font-variant-numeric: tabular-nums; }
.cc .v { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc .v svg { width: 14px; height: 14px; flex: none; }
.cc .s { font-size: 11px; color: var(--dim); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc.ok .v { color: var(--green); } .cc.soon .v { color: var(--amber); font-weight: 600; } .cc.over .v { color: var(--coral); font-weight: 600; } .cc.none .v { color: var(--dim); }
.cc.pkg .v b { color: var(--teal); font-weight: 700; }
.item.cust .c { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: var(--muted); margin-right: 8px; }
.item.cust .c svg { width: 14px; height: 14px; } .item.cust .c.over { color: var(--coral); font-weight: 600; }
.sdot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }

.seg { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seg button { white-space: nowrap; }

/* Planungsstand */
.planned { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-variant-numeric: tabular-nums; min-width: 88px; justify-content: flex-end; color: var(--muted); flex: none; }
.planned svg { width: 14px; height: 14px; }
.planned.ok { color: var(--green); } .planned.soon { color: var(--amber); } .planned.over { color: var(--coral); font-weight: 600; } .planned.none { color: var(--dim); }
.planned-btn.ok { color: var(--green); } .planned-btn.soon { color: var(--amber); } .planned-btn.over { color: var(--coral); }

/* Dreh-Empfehlung */
.shoot { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; min-width: 96px; justify-content: flex-end; flex: none; font-variant-numeric: tabular-nums; }
.shoot svg { width: 14px; height: 14px; }
.shoot.ok { color: var(--green); } .shoot.warn { color: var(--amber); font-weight: 600; } .shoot.none { color: var(--dim); }
/* Kundenkarte auf dem Handy: Name + Paket oben, darunter die Kennzahlen mit Beschriftung */
@media (max-width: 760px) {
  .cust-head { display: none; }
  .item.cust { grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "logo name name" "status status status" "planned planned shoot"; row-gap: 4px; column-gap: 10px; }
  .item.cust > .avatar, .item.cust > .logo { grid-area: logo; }
  .item.cust .grow { grid-area: name; }
  .item.cust .cc.pl { grid-area: planned; padding-left: 44px; }
  .item.cust .cc.sh { grid-area: shoot; }
  .item.cust .cc.st { grid-area: status; padding-left: 44px; }
  .item.cust .cc.cnt.noitems { display: none; }
  .item.cust .title { white-space: normal; }
}
  .item.cust .grow { flex: 1 1 0; min-width: 0; }
  .item.cust .pkg { order: 2; min-width: 0; }
  .item.cust .meta { order: 3; flex-basis: 100%; padding-left: 42px; justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
  .item.cust .planned, .item.cust .shoot { min-width: 0; justify-content: flex-start; }
  .item.cust .title { white-space: normal; }
}

.nets { display: inline-flex; gap: 6px; align-items: center; }
.net { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 6px; color: #fff; }
.net svg { width: 15px; height: 15px; }
.net.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.net.tiktok { background: #111; }
.net.facebook { background: #1877f2; }
.net.youtube { background: #ff0000; }
.net.linkedin { background: #0a66c2; }
.net.twitter { background: #000; }
.net.pinterest { background: #e60023; }
.net.threads { background: #000; }

/* Mobil: „Mehr“-Menü für Zugänge, Influencer, Finanzen, Team, Einstellungen */
.more-sheet { display: none; }
@media (max-width: 760px) {
  .more-sheet:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 19; }
  .more-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.25); }
  .more-panel { position: absolute; left: 10px; right: 10px; bottom: calc(70px + var(--safe-b)); background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
  .more-title { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding: 6px 10px; }
  .more-panel a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 10px; color: var(--text); font-size: 15px; }
  .more-panel a svg { width: 20px; height: 20px; color: var(--muted); }
  .more-panel a.active { background: var(--bg-3); color: var(--teal); }
}
