:root{font-family:system-ui,sans-serif;color:#142d37;background:#edf2f3;font-size:16px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{background:#122e38;color:white;padding:18px max(20px,calc((100vw - 960px)/2));display:flex;align-items:center;gap:12px}header strong,header small{display:block}header small{color:#b4cbd0;margin-top:3px}header button{margin-left:auto}.mark{background:#b4ef63;color:#142d37;padding:10px 15px;border-radius:12px;font-weight:900}main{max-width:960px;margin:auto;padding:20px}h1{font-size:clamp(24px,4vw,36px);margin:8px 0 22px}h2{font-size:21px;margin:12px 0}label{display:block;font-weight:600;margin:12px 0}input,select,textarea,button{font:inherit}input,select,textarea{width:100%;padding:12px;border:1px solid #aebfc4;border-radius:9px;background:#fff;color:#142d37}textarea{resize:vertical}button,summary{cursor:pointer;min-height:44px}button{border:1px solid #aebfc4;border-radius:9px;padding:10px 15px;background:white;color:#142d37;font-weight:600}button:disabled{opacity:.55;cursor:wait}.primary{background:#173f4c;color:white;border-color:#173f4c}.heading,.toolbar,.actions{display:flex;gap:12px;align-items:center;justify-content:space-between}.toolbar{justify-content:flex-start;font-size:14px;color:#516c77;margin-bottom:20px}.heading label{min-width:160px}.card,details,#login{background:white;border:1px solid #d5e0e3;border-radius:16px;padding:20px;margin:16px 0;box-shadow:0 4px 16px #163c4506}#login{max-width:440px;margin:40px auto}summary{font-weight:700;line-height:44px}.badge{display:inline-block;font-size:13px;font-weight:700;background:#e7edf0;padding:5px 10px;border-radius:20px}.badge.erledigt{background:#dcf4c7}.badge.problem{background:#ffe5da}.badge.in_arbeit{background:#d9ecff}.instruction{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.meta{color:#526a74;font-size:14px}.error{background:#ffe4df;color:#8d2716;padding:14px;border-radius:10px}#message:empty{display:none}.empty{padding:30px;text-align:center;color:#526a74}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #4587cb;outline-offset:3px}@media(max-width:540px){main{padding:14px}.heading{align-items:flex-start;flex-direction:column;gap:0}.heading label{width:100%}.card{padding:16px}.actions{flex-wrap:wrap}.actions button{flex:1}.toolbar{flex-wrap:wrap}}

.teamrow{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:8px 0;border-top:1px solid #d5e0e3}.hint{color:#516c77;font-size:14px}#to-prod{margin-left:auto;color:#173f4c;font-weight:600}
#setup{background:white;border:1px solid #d5e0e3;border-radius:16px;padding:20px;margin:16px 0}
.wa{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:9px;border:1px solid #1f8f4e;color:#1f6f43;font-weight:600;text-decoration:none;background:#eefaf2}.wa.primary{background:#1f8f4e;color:#fff;margin:8px 0;width:100%}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 8px}.chip{min-height:38px;padding:6px 12px;border-radius:19px;font-size:15px;font-weight:600}.chip.mein{border-color:#1f8f4e;background:#eefaf2}
.chip.kann{border-color:#1f6f43;background:#dcf4c7}.chip.lernt{border-style:dashed}

/* Leiste unten und neue Ansichten (Claude, 03.12.2026) */
header{padding-top:calc(18px + env(safe-area-inset-top,0px))}
.kopfknopf{margin-left:auto;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#ffffff1a;color:#fff}
.kopfknopf+button{margin-left:8px}
.kopfknopf svg,#leiste svg,.kamera svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.mit-leiste main{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
#leiste{position:fixed;left:0;right:0;bottom:0;z-index:10;display:flex;justify-content:space-around;align-items:flex-end;background:#fff;border-top:1px solid #d5e0e3;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px))}
#leiste>*{flex:1;max-width:120px;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;padding:6px 0 2px;min-height:52px;font-size:12px;font-weight:600;color:#6a838c;text-decoration:none;position:relative;border-radius:12px}
#leiste>[aria-current=page]{color:#173f4c}
#leiste>[aria-current=page] svg{stroke-width:2.3}
#leiste>.mitte span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#leiste>.mitte svg{width:30px;height:30px;box-sizing:content-box;padding:15px;margin-top:-26px;border-radius:50%;background:#173f4c;color:#fff;border:4px solid #edf2f3}
#leiste>.mitte[aria-current=page] svg{background:#1f8f4e}
#leiste .zahl{position:absolute;top:0;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#c94a06;color:#fff;font:700 11px/18px system-ui;font-style:normal}
.kachel{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;text-align:left;background:#fff;border:1px solid #d5e0e3;border-radius:16px;padding:16px 18px;margin:0 0 14px;font-weight:400}
.kachel b{font-size:19px}.kachel .zeile{font-size:15px}.kachel .link{color:#173f4c;font-weight:700;margin-top:4px}
.gross{width:100%;min-height:56px;font-size:17px;border-radius:14px;margin:0 0 6px}
.nachricht{background:#fff;border:1px solid #d5e0e3;border-radius:14px;padding:14px 16px;margin:10px 0}
.nachricht.neu{border-color:#c94a06;border-width:2px}
.nachricht img{display:block;width:100%;max-height:340px;object-fit:cover;border-radius:10px;margin:8px 0}
.nachricht p{margin:6px 0}.nkopf{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.nachricht .status{display:block;text-align:right}
.kamera{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:150px;background:#173f4c;color:#fff;border-radius:18px;margin:0 0 10px;cursor:pointer;font-size:18px}
.kamera svg{width:44px;height:44px}
.nebenknopf{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #aebfc4;border-radius:12px;background:#fff;margin:0 0 10px;cursor:pointer}
#n-vorschau-box{margin:0 0 10px}#n-vorschau-box img{display:block;width:100%;border-radius:12px;max-height:360px;object-fit:cover}#n-vorschau-box button{margin-top:8px}
.mehr{border:0;background:none;color:#173f4c;text-decoration:underline;padding:0;min-height:36px}
.hinweisbox{background:#fff6e6;border:1px solid #f0c98a;border-radius:12px;padding:12px 16px;margin:10px 0}.hinweisbox p{margin:0 0 8px}
@media(max-width:540px){header{padding-left:16px;padding-right:16px}}
#leiste>.mitte.zeigen span{position:static;width:auto;height:auto;overflow:visible;clip:auto}
#leiste>.mitte.zeigen svg{margin-top:-30px}
.kachel.fehler{border-color:#c94a06;background:#fff6e6}

/* Vorgänge (Claude, 04.12.2026) */
.arten{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}
.arten button{flex:1;min-height:44px;border-radius:12px;border:1px solid #aebfc4;background:#fff;font-weight:700;color:#173f4c}
.arten button[aria-checked=true]{background:#173f4c;color:#fff;border-color:#173f4c}
.pos{display:grid;grid-template-columns:minmax(0,1fr) 84px 76px;gap:6px;margin:0 0 6px}.pos input{min-width:0}
label.check{display:flex;align-items:center;gap:10px;font-weight:700;margin:4px 0 12px}label.check input{width:24px;height:24px}
.vorgang{background:#fff;border:1px solid #d5e0e3;border-radius:14px;padding:14px 16px;margin:10px 0}
.vorgang h3{margin:6px 0 4px;font-size:19px}.vorgang.dringend{border:2px solid #c94a06}.vorgang.faellig{background:#fff6e6}
.vorgang img{display:block;width:100%;max-height:300px;object-fit:cover;border-radius:10px;margin:8px 0}
.vorgang .stand{font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;background:#e8eef0;color:#173f4c}
.vorgang .stand.erledigt{background:#dff3e6;color:#1d5c36}.vorgang .stand.bestellt{background:#e6eefb;color:#1c4587}
.vorgang .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.vorgang a.btn{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid #aebfc4;border-radius:12px;color:#173f4c;text-decoration:none;font-weight:700;background:#fff}
.positionen{margin:6px 0;padding-left:20px}
.vmehr{margin-top:10px}.vmehr summary{cursor:pointer;color:#173f4c;font-weight:700;min-height:36px}
.zeile2{display:flex;gap:6px;margin:8px 0}.zeile2>*:first-child{flex:1;min-width:0}
.verlauf{margin:8px 0 0;padding-left:20px;font-size:14px;color:#4d636b}
#v-einstellungen{margin-top:18px}#v-einstellungen h3{margin:16px 0 6px}
