/* Mitarbeiter-App LA Hundewäsche (Auftrag 950).
   Farben, Maße und Bausteine aus Entwurf 2 (01_Agentur/Einmal/ENTWURF-942-mitarbeiter-app.html),
   dort der Teil MITARBEITER-APP. Geändert ist nur der Rahmen: statt des gezeichneten Handys
   füllt die App den Bildschirm und hält Abstand zu Kerbe und Home-Leiste. */
:root{
  color-scheme:light;
  --marke:#4795A6;--marke-dunkel:#2C6978;--marke-hell:#E2EFF2;
  --grund:#F4F1EC;--karte:#FFFFFF;--tinte:#0D141A;--text:#29323A;--grau:#6B737B;--linie:#E7E1DA;
  --gelb:#F2B705;--gelb-hell:#FFF3CC;--rot:#C0392B;--rot-hell:#FBE6E3;--gruen:#2D8A5A;--gruen-hell:#E1F2E8;
  --oben:env(safe-area-inset-top,0px);--unten:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
html,body{margin:0;height:100%;background:var(--grund);color:var(--text);font:16px/1.4 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,system-ui,sans-serif;-webkit-font-smoothing:antialiased;overscroll-behavior:none}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer;text-align:inherit}
svg.i{width:22px;height:22px;flex:0 0 auto;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
svg.i.klein{width:17px;height:17px}

.app{position:fixed;inset:0;max-width:560px;margin:0 auto;background:var(--grund);overflow:hidden}
.bildschirm{position:absolute;inset:0;padding-top:var(--oben);display:flex;flex-direction:column}
.toast{position:absolute;left:14px;right:14px;bottom:calc(100px + var(--unten));background:var(--tinte);color:#fff;border-radius:14px;padding:12px 14px;font-size:14.5px;z-index:40;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:opacity .25s,transform .25s;opacity:0;transform:translateY(12px);pointer-events:none}
.toast.zeigen{opacity:1;transform:none}
.laden{flex:1;display:grid;place-items:center;color:var(--grau);font-size:15px}

/* ================= MITARBEITER-APP ================= */
.m .kopf{display:flex;align-items:center;gap:10px;padding:10px 16px 10px}
.m .kopf .zurueck{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--tinte)}
.m .kopf .titel{flex:1;min-width:0}
.m .kopf .titel small{display:block;color:var(--grau);font-size:12.5px;font-weight:600}
.m .kopf .titel b{display:block;font-size:21px;color:var(--tinte);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.postausgang{display:flex;align-items:center;gap:5px;border-radius:99px;padding:6px 10px;font-size:13px;font-weight:700;background:#fff;color:var(--marke-dunkel)}
.postausgang.wartet{background:var(--gelb-hell);color:#7A5B00}
.m .inhalt{flex:1;overflow-y:auto;padding:0 14px calc(110px + var(--unten));scrollbar-width:none;-webkit-overflow-scrolling:touch}
.inhalt::-webkit-scrollbar{display:none}
.m .karte{background:var(--karte);border-radius:18px;padding:14px;margin-bottom:11px;box-shadow:0 1px 2px rgba(13,20,26,.05)}
.m .karte h3{margin:0 0 8px;font-size:15px;color:var(--tinte);display:flex;align-items:center;gap:7px}
.m .karte h3 .zahl{margin-left:auto;background:var(--marke-hell);color:var(--marke-dunkel);font-size:12.5px;padding:1px 8px;border-radius:99px}
.m .abschnitt{font-size:13px;font-weight:700;color:var(--grau);text-transform:uppercase;letter-spacing:.05em;margin:16px 4px 7px}
.m .zeile{display:flex;align-items:center;gap:11px;padding:10px 2px;border-top:1px solid var(--linie);width:100%}
.m .zeile:first-of-type{border-top:0}
.m .zeile .sym{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}
.m .zeile .mitte{flex:1;min-width:0}
.m .zeile .mitte b{display:block;font-size:15px;color:var(--tinte);font-weight:600;line-height:1.25}
.m .zeile .mitte span{display:block;font-size:13px;color:var(--grau);margin-top:1px}
.m .zeile .rechts{text-align:right;font-size:13px;color:var(--grau);flex:0 0 auto}
.m .zeile .rechts b{display:block;font-size:15px;color:var(--tinte)}
.pille{display:inline-block;font-size:12px;font-weight:700;padding:2px 8px;border-radius:99px;white-space:nowrap}
.p-offen{background:var(--gelb-hell);color:#7A5B00}.p-ok{background:var(--gruen-hell);color:var(--gruen)}
.p-rot{background:var(--rot-hell);color:var(--rot)}.p-blau{background:var(--marke-hell);color:var(--marke-dunkel)}.p-grau{background:#EEEAE5;color:#5F666D}
.c-runde{background:#E2EFF2;color:#2C6978}.c-rep{background:#E8EEF7;color:#35557F}.c-prob{background:#FBE6E3;color:#B03A2E}.c-aufg{background:#E1F2E8;color:#2D8A5A}
.c-wart{background:#ECE9F8;color:#3B2A9E}.c-zaehl{background:#FFF3CC;color:#8A6400}.c-doc{background:#EEEAE5;color:#4A5259}
.m .knopf{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border-radius:14px;padding:13px 14px;font-weight:700;font-size:16px;background:var(--marke);color:#fff}
.m .knopf.zweit{background:#fff;color:var(--marke-dunkel);border:1.5px solid #CFE3E8}
.m .knopf:disabled{opacity:.45;cursor:default}
.m .knopfreihe{display:flex;gap:9px;margin-top:10px}
.m .knopfreihe .knopf{padding:11px 10px;font-size:15px}
.hinweis{font-size:13px;color:var(--grau);margin-top:8px;display:flex;gap:6px;align-items:flex-start}
.hinweis svg{margin-top:1px}
.einsatz{background:var(--tinte);color:#fff;border-radius:22px;padding:16px}
.einsatz .oben{display:flex;justify-content:space-between;align-items:center;font-size:13.5px;color:#AFC0C8}
.einsatz .gross{font-size:34px;font-weight:700;margin:6px 0 2px;font-variant-numeric:tabular-nums}
.einsatz .klein{font-size:14px;color:#C9D3D8}
.einsatz .knopf{margin-top:12px}
.einsatz .knopfreihe .knopf.zweit{background:#1E2830;color:#fff;border-color:#33414B}
.einsatz .wahl button{background:#1E2830;border-color:#33414B;color:#DDE5E9}
.einsatz .wahl button.an{background:var(--marke);border-color:var(--marke);color:#fff}
.einsatz label{display:block;font-size:12.5px;font-weight:700;color:#8FA2AB;margin:12px 0 6px}
.ortchip{display:inline-flex;align-items:center;gap:5px;background:#1E2830;color:#fff;font-weight:600;font-size:13.5px;padding:4px 10px;border-radius:99px}
.band{display:flex;gap:11px;align-items:center;border-radius:16px;padding:12px 13px;margin-bottom:11px;width:100%}
.band.gelb{background:var(--gelb-hell);color:#5E4500}.band.rot{background:var(--rot-hell);color:#8E2A20}.band.blau{background:var(--marke-hell);color:var(--marke-dunkel)}
.band b{display:block;font-size:15px}.band span{font-size:13px}.band .mitte{flex:1}
.band .knopf{width:auto;padding:8px 12px;font-size:14px}
.feld{margin-bottom:12px}
.feld label{display:block;font-size:13px;font-weight:700;color:var(--grau);margin:0 0 5px 3px}
.feld input,.feld select,.feld textarea{width:100%;border:1.5px solid var(--linie);background:#fff;border-radius:12px;padding:11px 12px;font-size:16px;outline:none;-webkit-appearance:none;appearance:none;min-height:46px}
.feld input:focus,.feld select:focus,.feld textarea:focus{border-color:var(--marke)}
.feld input:disabled,.feld select:disabled{background:#F7F4F0;color:var(--grau)}
.feld textarea{min-height:76px;resize:vertical}
.drei{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
.zwei{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.zuletzt{font-size:12.5px;color:var(--grau);margin:4px 0 0 3px}
.pruefung{font-size:13px;font-weight:600;margin:5px 0 0 3px}
.pruefung.fehler{color:var(--rot)}.pruefung.warnung{color:#8A6400}.pruefung.gut{color:var(--gruen)}
.einheit{position:relative}.einheit input{padding-right:52px}
.einheit em{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-style:normal;color:var(--grau);font-size:14px}
.wahl{display:flex;flex-wrap:wrap;gap:7px}
.wahl button{border:1.5px solid var(--linie);background:#fff;border-radius:99px;padding:7px 12px;font-size:14px;font-weight:600;color:var(--text)}
.wahl button.an{border-color:var(--marke);background:var(--marke-hell);color:var(--marke-dunkel)}
.wahl button:disabled{opacity:.6}
.fotos{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.foto{aspect-ratio:1;border-radius:12px;overflow:hidden;position:relative;background:#DDE7EA}
.foto img{width:100%;height:100%;object-fit:cover;display:block}
.foto .marke-foto{position:absolute;left:3px;bottom:3px;right:3px;font-size:9px;font-weight:700;border-radius:6px;padding:1px 2px;text-align:center;background:rgba(255,255,255,.92);color:var(--gruen);white-space:nowrap;overflow:hidden}
.foto .marke-foto.wartet{color:#7A5B00;background:#FFF3CC}
.foto .marke-foto.laedt{color:var(--marke-dunkel)}
.foto.neu{border:1.8px dashed #B9C9CE;background:#fff;display:grid;place-items:center;color:var(--marke-dunkel);font-size:12px;font-weight:700;text-align:center}
.foto.neu div{display:flex;flex-direction:column;align-items:center;gap:2px}
.foto.neu svg.i{width:26px;height:26px}
.fotoreihe{display:flex;gap:6px;margin-top:8px;overflow:hidden}
.fotoreihe .foto{width:56px;height:56px;flex:0 0 auto}
.check{display:flex;gap:11px;align-items:flex-start;padding:11px 2px;border-top:1px solid var(--linie);width:100%}
.check:first-of-type{border-top:0}
.kreis{width:26px;height:26px;border-radius:50%;border:2px solid #C9D3D6;display:grid;place-items:center;flex:0 0 26px;color:#fff;margin-top:1px}
.kreis.an{background:var(--gruen);border-color:var(--gruen)}
.kreis svg{width:15px;height:15px}
.check .mitte{flex:1;min-width:0}
.check .mitte b{display:block;font-size:15px;color:var(--tinte);font-weight:600}
.check .mitte span{display:block;font-size:13px;color:var(--grau)}
.suche{display:flex;align-items:center;gap:8px;background:#fff;border-radius:12px;padding:9px 12px;border:1.5px solid var(--linie);margin-bottom:9px}
.suche input{border:0;outline:0;flex:1;font-size:16px;background:transparent;min-width:0}
.chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;margin-bottom:5px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips button{flex:0 0 auto;border-radius:99px;padding:6px 12px;font-size:13.5px;font-weight:700;background:#fff;color:var(--text);border:1.5px solid var(--linie)}
.chips button.an{background:var(--tinte);color:#fff;border-color:var(--tinte)}
.eintrag{background:#fff;border-radius:16px;padding:12px;margin-bottom:9px;display:block;width:100%}
.eintrag .ek{display:flex;gap:10px;align-items:flex-start}
.eintrag .sym{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}
.eintrag .et{flex:1;min-width:0}
.eintrag .et b{display:block;font-size:15px;color:var(--tinte);line-height:1.25}
.eintrag .et span{display:block;font-size:12.5px;color:var(--grau);margin-top:2px}
.kommentar{background:var(--grund);border-radius:12px;padding:9px 11px;margin-top:7px;font-size:14px}
.kommentar small{display:block;color:var(--grau);font-size:12px;font-weight:600}
.protokoll{font-size:12.5px;color:var(--grau);border-left:3px solid var(--linie);padding:2px 0 2px 9px;margin-top:6px}
.blatt{background:#fff;border-radius:6px;box-shadow:0 2px 12px rgba(0,0,0,.14);padding:18px 16px;font-size:10.5px;color:#222;margin:4px 2px 12px;overflow-x:auto}
.blatt .bk{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid var(--marke);padding-bottom:8px}
.blatt .bk b{font-size:14px;color:var(--tinte)}
.blatt table{width:100%;border-collapse:collapse;margin-top:10px}
.blatt th{text-align:left;font-weight:700;border-bottom:1px solid #bbb;padding:4px 3px;font-size:9.5px;color:#555}
.blatt td{padding:4px 3px;border-bottom:1px solid #eee;font-variant-numeric:tabular-nums}
.blatt .summe td{font-weight:700;border-top:1.5px solid #333;border-bottom:0}
.blatt .bf{margin-top:12px;color:#666;font-size:9px}
.m .leiste{position:absolute;left:0;right:0;bottom:0;height:calc(84px + var(--unten));padding:8px 6px var(--unten);background:rgba(255,255,255,.96);border-top:1px solid var(--linie);display:flex;justify-content:space-around;align-items:flex-start;z-index:10}
.m .leiste button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:600;color:#8A9096;width:64px}
.m .leiste button.an{color:var(--marke-dunkel)}
.m .leiste .plus{width:54px;height:54px;border-radius:18px;background:var(--marke);color:#fff;display:grid;place-items:center;margin-top:-18px;box-shadow:0 6px 16px rgba(71,149,166,.45)}
.m .leiste .plus svg{width:28px;height:28px}
.schleier{position:absolute;inset:0;background:rgba(13,20,26,.42);display:flex;align-items:flex-end;z-index:20}
.blatt-unten{background:var(--grund);width:100%;border-radius:24px 24px 0 0;padding:10px 14px calc(30px + var(--unten));max-height:88%;overflow-y:auto}
.blatt-unten .griff{width:40px;height:5px;border-radius:9px;background:#CFC7BE;margin:0 auto 12px}
.blatt-unten h2{margin:0 4px 10px;font-size:18px;color:var(--tinte)}
.blatt-unten label.klein{display:block;font-size:13px;font-weight:700;color:var(--grau);margin:12px 4px 6px}
.aktion{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:12px;margin-bottom:8px;width:100%}
.aktion .sym{width:40px;height:40px;border-radius:12px;display:grid;place-items:center}
.aktion b{display:block;font-size:15.5px;color:var(--tinte)}
.aktion span{display:block;font-size:13px;color:var(--grau)}
.aktion .mitte{flex:1}
.anmeldung{flex:1;display:flex;flex-direction:column;padding:26px 24px calc(30px + var(--unten));overflow-y:auto}
.logo{width:74px;height:74px;border-radius:22px;background:var(--marke);color:#fff;display:grid;place-items:center;font-weight:800;font-size:25px;margin:26px 0 16px}
.anmeldung h1{margin:0;font-size:27px;color:var(--tinte);line-height:1.15}
.anmeldung p{color:var(--grau);margin:8px 0 22px;font-size:15px}
.klein-link{color:var(--marke-dunkel);font-weight:700;font-size:14px;text-align:center;margin-top:14px;display:block;width:100%}
