/* Video-Studio – Handy zuerst (390 px), am Laptop mittig */
:root{--bg:#F6F5F2;--text:#18181B;--leise:#57534E;--rand:#E4E2DD;--rand2:#D6D3CC;--linie:#EFEDE8;
  --gruen:#0E7C66;--gruen-dunkel:#0A5C4C;--gruen-hell:#E3F1EC;--gelb:#FCEFD9;--gelb-text:#7A4B00;--warn:#E07A00;--rot:#B42318;}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;font-size:16px;-webkit-text-size-adjust:100%}
a{color:var(--gruen)}a:hover{color:var(--gruen-dunkel)}
h1{margin:0;font-family:'Space Grotesk',Inter,sans-serif;font-size:28px;font-weight:600;line-height:1.15}
.seite{max-width:480px;min-height:100vh;min-height:100dvh;margin:0 auto;padding:20px 20px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:18px}
.kopf,.zeile-kopf{display:flex;align-items:center;justify-content:space-between}
.kopf-rechts{display:flex;align-items:center;gap:10px}
.marke-studio{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:20px;color:var(--text);text-decoration:none}
.avatar{width:36px;height:36px;border-radius:18px;background:var(--text);color:#fff;border:0;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.pille{font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;text-decoration:none}
.pille.dunkel{background:var(--text);color:#fff}
.inline{display:inline;margin:0}
.zurueck{font-size:15px;text-decoration:none;font-weight:500}
.knopf{display:flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 16px;border-radius:14px;border:1px solid var(--rand2);background:#fff;color:var(--text);font:inherit;font-weight:600;font-size:16px;text-decoration:none;cursor:pointer;width:100%}
.knopf.gross{height:56px;font-size:17px}
.knopf.gruen{background:var(--gruen);border-color:var(--gruen);color:#fff}
.knopf.gruen:hover{background:var(--gruen-dunkel);color:#fff}
.knopf.hell:hover{border-color:var(--gruen)}
.knopf.mini{height:32px;width:auto;padding:0 12px;font-size:13px;border-radius:8px}
.knopf[disabled]{opacity:.5;cursor:not-allowed}
.abschnitt{font-size:13px;font-weight:600;color:var(--leise);letter-spacing:.04em;text-transform:uppercase}
.liste{display:flex;flex-direction:column;gap:12px}
#projekte{display:flex;flex-direction:column;gap:20px}
.karte{background:#fff;border:1px solid var(--rand);border-radius:14px;padding:14px 16px}
.karte.projekt{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--text)}
a.karte.projekt:hover{border-color:var(--rand2)}
.nur-lesen{opacity:.85}
.titel{font-weight:600;font-size:16px;overflow-wrap:anywhere}
.markenzeile{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--leise)}
.punkt{display:inline-block;width:8px;height:8px;border-radius:4px;flex:none}
.punkt.gross{width:10px;height:10px;border-radius:5px}
.badge{align-self:flex-start;font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px}
.badge.gelb{background:var(--gelb);color:var(--gelb-text)}
.badge.rot{background:#FDECEA;color:var(--rot)}
.leise{color:var(--leise)}.klein{font-size:13px;line-height:1.45}.mitte{text-align:center}.fett{font-weight:600}
.gruen-text{color:var(--gruen);font-weight:600}.rot-text{color:var(--rot)}
.leer{font-size:14px;color:var(--leise);padding:4px 2px}
.balken{height:6px;border-radius:3px;background:var(--rand);overflow:hidden;position:relative}
.balken.dick{height:8px;border-radius:4px}
.balken-fuell{height:100%;border-radius:inherit;background:var(--gruen)}
.balken-fuell.warnfarbe{background:var(--warn)}
.balken-laeuft{position:absolute;inset:0;width:35%;border-radius:3px;background:var(--gruen);animation:laeuft 1.6s ease-in-out infinite}
@keyframes laeuft{0%{left:-35%}100%{left:100%}}
@media (prefers-reduced-motion:reduce){.balken-laeuft{animation:none;width:100%;opacity:.5}}
.hinweis{background:var(--gruen-hell);border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.5}
.hinweis.warn{background:var(--gelb);color:var(--gelb-text)}
.stapel{display:flex;flex-direction:column;gap:18px;flex:1}
.stapel-eng{display:flex;flex-direction:column;gap:8px}
.feld{display:flex;flex-direction:column;gap:8px;border:0;margin:0;padding:0;min-width:0}
.label{font-size:13px;font-weight:600;color:var(--leise);padding:0}
summary.label{cursor:pointer}
.raster2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.wahl input{position:absolute;opacity:0;pointer-events:none}
.wahl span{height:48px;border-radius:12px;border:1px solid var(--rand2);background:#fff;font-weight:500;font-size:15px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.wahl input:checked+span{border:2px solid var(--gruen);background:var(--gruen-hell);font-weight:600}
.wahl input:focus-visible+span{outline:2px solid var(--gruen);outline-offset:2px}
.eingabe{width:100%;font:inherit;font-size:16px;padding:12px 14px;border-radius:12px;border:1px solid var(--rand2);background:#fff;color:var(--text)}
textarea.eingabe{line-height:1.5;resize:vertical}
.eingabe:focus{outline:2px solid var(--gruen);outline-offset:0;border-color:var(--gruen)}
.unten{margin-top:auto}
.dateiliste{display:flex;flex-direction:column;gap:4px}
.dateizeile,.zeile{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}
.dateiname{overflow-wrap:anywhere}
.pruefung{margin:-2px 0 6px}
.liste-zeilen{padding:4px 14px;display:flex;flex-direction:column}
.liste-zeilen>.zeile{padding:10px 0;border-top:1px solid var(--linie)}
.liste-zeilen>.zeile:first-child{border-top:0}
.liste-zeilen>.zeile.unterzeile{padding:4px 0 8px 12px;border-top:0}
.zeilen-titel{padding:10px 0 6px;font-size:14px;font-weight:600}
.auftragstext{font-size:15px;line-height:1.5;white-space:pre-wrap}
.mikro-platz{display:flex;flex-direction:column;align-items:center;gap:8px}
.mikro{width:72px;height:72px;border-radius:36px;background:var(--gruen);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 8px var(--gruen-hell)}
.mikro.aus{opacity:.35}
details.terminal summary{cursor:pointer;list-style:none}
details.terminal summary::after{content:" ▾"}
details.terminal .liste{margin-top:12px}
.login{flex:1;display:flex;flex-direction:column;justify-content:center;gap:28px;padding:12px 4px}
.login-kopf{display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}
.login-kopf h1{font-size:32px}.login-kopf p{margin:0;font-size:15px;line-height:1.5}
.logo{width:64px;height:64px;border-radius:18px;background:var(--gruen);display:flex;align-items:center;justify-content:center}
.logo.grau{background:var(--leise)}
/* Uppy an das Studio angleichen */
#upload .uppy-Dashboard-inner{border-radius:14px;border-color:var(--rand);background:#fff;font-family:Inter,system-ui,sans-serif}
#upload .uppy-Dashboard-AddFiles{border-radius:12px}
#upload .uppy-StatusBar-actionBtn--upload,#upload .uppy-c-btn-primary{background:var(--gruen)}
