/* Lieferbetrieb-App - mobil zuerst, große Bedienflächen */
* { box-sizing: border-box; }
body { margin:0; font-family:-apple-system,'Segoe UI',Roboto,sans-serif; background:#f2f4f1; color:#1c211d; }
main { max-width:960px; margin:0 auto; padding:12px 12px 90px; }
nav { background:#1d5c33; position:sticky; top:0; z-index:50; }
.nav-inner { max-width:960px; margin:0 auto; display:flex; align-items:center; gap:2px; overflow-x:auto; }
nav .brand { color:#fff; font-weight:700; padding:12px 10px; white-space:nowrap; }
nav a { color:#d8e8dc; text-decoration:none; padding:14px 12px; white-space:nowrap; font-size:15px; }
nav a.akt { background:#164727; color:#fff; font-weight:600; }
nav a.right { margin-left:auto; }
h1 { font-size:22px; margin:14px 4px 10px; } h2 { font-size:17px; margin:18px 4px 8px; }
.flash { padding:12px 14px; border-radius:10px; margin:10px 0; font-weight:500; }
.flash.ok { background:#d9efdc; color:#1d5c33; } .flash.warn { background:#fdeeda; color:#8a5a13; }
.flash.err { background:#fadcdc; color:#a12626; }
.karte { background:#fff; border-radius:12px; padding:14px; margin:10px 0; box-shadow:0 1px 3px rgba(0,0,0,.08); }
.karte a.titel { font-weight:600; color:#1c211d; text-decoration:none; font-size:16px; }
.zeile { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.badge { color:#fff; border-radius:20px; padding:3px 11px; font-size:13px; font-weight:600; white-space:nowrap; }
.muted { color:#6a736c; font-size:14px; }
.btn { display:inline-block; border:0; border-radius:10px; padding:13px 18px; font-size:16px; font-weight:600;
       cursor:pointer; text-decoration:none; text-align:center; background:#1d5c33; color:#fff; }
.btn.sek { background:#e4e9e4; color:#1c211d; }
.btn.warn { background:#c2701d; } .btn.err { background:#b03434; } .btn.blau { background:#3a62c4; }
.btn.gross { padding:18px 20px; font-size:18px; width:100%; margin:6px 0; }
.btn:disabled { opacity:.4; }
input[type=text],input[type=password],input[type=number],input[type=date],select,textarea {
  width:100%; padding:12px; border:1px solid #c8cfc9; border-radius:10px; font-size:16px; background:#fff; }
label { display:block; margin:10px 0 4px; font-weight:600; font-size:14px; }
table { width:100%; border-collapse:collapse; background:#fff; border-radius:12px; overflow:hidden; }
th,td { padding:10px 8px; text-align:left; border-bottom:1px solid #edf0ed; font-size:14px; vertical-align:top; }
th { background:#e9efe9; font-size:13px; }
.mengenfeld { display:inline-block; min-width:52px; text-align:center; padding:9px 6px; border-radius:9px;
              color:#fff; font-weight:700; font-size:16px; cursor:pointer; user-select:none; }
.pack-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(58px,1fr)); gap:8px; margin:10px 0; }
.pack-grid button { padding:14px 4px; font-size:17px; font-weight:700; border:2px solid #c8cfc9; background:#fff;
                    border-radius:10px; cursor:pointer; }
.pack-grid button.vorgewaehlt { border-color:#1d5c33; background:#d9efdc; }
.pos-prominent { text-align:center; padding:22px 10px; }
.pos-prominent .artnr { font-size:15px; color:#6a736c; }
.pos-prominent .bez { font-size:21px; font-weight:700; margin:8px 0; }
.pos-prominent .menge { font-size:44px; font-weight:800; color:#1d5c33; }
.fortschritt { height:7px; background:#e0e5e0; border-radius:5px; overflow:hidden; margin:8px 0 14px; }
.fortschritt div { height:100%; background:#1d5c33; }
.stop-nr { background:#1d5c33; color:#fff; width:34px; height:34px; border-radius:50%; display:flex;
           align-items:center; justify-content:center; font-weight:700; flex-shrink:0; }
.stop-nr.fertig { background:#8a8a8a; }
.packliste li { padding:7px 4px; font-size:16px; border-bottom:1px dashed #dfe4df; list-style:none; }
.packliste { padding:0; margin:8px 0; }
.vergleich { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.vergleich .neu-pos { background:#eaf3ff; } .vergleich .weg-pos { background:#ffecec; text-decoration:line-through; }
.vergleich .diff-pos { background:#fff4dd; }
canvas.sig { border:1px dashed #9aa39b; border-radius:10px; background:#fff; width:100%; height:150px; touch-action:none; }
.offline-hinweis { position:fixed; bottom:0; left:0; right:0; background:#c2701d; color:#fff; text-align:center;
                   padding:9px; font-weight:600; display:none; z-index:99; }
@media(min-width:700px){ .cols2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; } }
