:root{color-scheme:light;--navy:#111827;--deep:#0b1220;--primary:#1678f5;--accent:#f59e0b;--success:#31965a;--warning:#b7791f;--danger:#d9463e;--bg:#f7f7f8;--panel:#ffffff;--line:#e8e8ec;--muted:#686c76;--text:#111827;--soft:#f0f1f4;--warm:#fff7ed;--shadow:0 20px 55px rgba(17,24,39,.14)}*{box-sizing:border-box}body,html{min-height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.56}.login-screen{min-height:100dvh;display:grid;place-items:center;padding:18px;background:var(--bg)}.login-panel{width:min(100%,430px);background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.72);border-radius:8px;padding:20px;box-shadow:0 4px 20px rgba(17,24,39,.04)}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:var(--navy);color:white;font-weight:900}.login-panel h1{margin:14px 0 2px}.login-subtitle{margin:0;color:var(--muted);font-weight:750}.field-entry-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px;border-top:1px solid var(--line)}.field-entry-links a{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--muted);font-size:13px;text-decoration:none}.field-entry-links a[aria-current=page]{color:var(--primary);font-weight:600}.field-entry-links svg{width:18px;height:18px}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.08;margin-bottom:10px}h2{font-size:20px;margin-bottom:0}h3{font-size:15px;margin:16px 0 8px}.muted{color:var(--muted);line-height:1.45}.form-stack{display:grid;gap:12px;margin-top:20px}label{display:grid;gap:6px;font-weight:500;text-transform:none}.login-required-hint,label{color:var(--muted);font-size:12px}.login-required-hint{line-height:1.35}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}input,select{min-height:46px;border:1px solid var(--line);border-radius:8px;padding:0 12px;color:var(--text);background:white}.danger-button,.draft-actions button,.ghost-button,.price-block button,.primary-button,.secondary-button,.sync-strip button{min-height:46px;border:0;border-radius:8px;font-weight:600}.primary-button{background:var(--primary);color:white;box-shadow:none}.ghost-button,.secondary-button{background:var(--soft);color:var(--navy)}.ghost-button{padding:0 12px}.danger-button{background:#fde7e5;color:#9f2c26}.legal-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;font-size:13px}.legal-links a{min-height:44px;min-width:44px;display:inline-flex;align-items:center;color:var(--primary);font-weight:800}.native-app-strip{min-height:58px;margin-top:16px;padding:14px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.native-app-strip div{min-width:0;display:grid;gap:4px}.native-app-strip b,.native-app-strip span{overflow-wrap:anywhere}.native-app-strip span{color:var(--muted);font-size:12px;line-height:1.35}.native-app-strip a{min-height:44px;min-width:96px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:var(--navy);color:white;font-size:13px;font-weight:900;text-decoration:none}.app-shell{min-height:100dvh;padding:12px 12px 86px;max-width:820px;margin:0 auto}.app-shell:not(.tab-start) .field-command-strip{display:none}.app-shell:not(.tab-start) .topbar{padding:8px 10px;margin-bottom:8px}.app-shell:not(.tab-start) .brand-cluster{gap:8px}.app-shell:not(.tab-start) .field-logo{width:38px;height:38px}.app-shell:not(.tab-start) .topbar h1{font-size:16px;margin-top:0;line-height:1.04;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-shell:not(.tab-start) .topbar p{margin-top:1px;font-size:12px}.app-shell:not(.tab-start) .top-actions{gap:6px}.app-shell:not(.tab-start) .connection-pill{min-height:24px;padding:0 7px;font-size:11px}.app-shell:not(.tab-start) .topbar .ghost-button{min-height:44px;padding:0 8px;font-size:14px}.app-shell:not(.tab-start) .sync-strip{padding:10px 12px;margin-bottom:8px}.app-shell:not(.tab-start) .sync-strip b{font-size:15px}.app-shell:not(.tab-start) .sync-strip button{min-height:44px;min-width:44px}.app-shell:not(.tab-start) .sync-strip span{display:none}.app-shell.tab-auftrag{padding-bottom:114px}.app-shell.tab-produkte{padding-bottom:132px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;margin-bottom:10px;border-radius:8px;color:white;background:linear-gradient(135deg,rgba(13,19,34,.98),rgba(36,86,224,.9)),var(--deep);box-shadow:var(--shadow)}.topbar h1{margin:2px 0 0;font-size:22px}.topbar p{margin:3px 0 0;color:rgba(255,255,255,.76);font-size:13px;font-weight:750;overflow-wrap:anywhere}.brand-cluster{min-width:0;display:flex;align-items:center;gap:10px}.brand-cluster>div:last-child{min-width:0}.field-logo{width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.22);color:white;font-weight:950;letter-spacing:0}.top-actions{display:grid;justify-items:end;gap:8px;flex:0 0 auto}.connection-pill{min-height:28px;display:inline-flex;align-items:center;border-radius:999px;padding:0 10px;color:white;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);font-size:12px;font-weight:900}.connection-pill.ok{color:#dffced}.connection-pill.warn{color:#ffe9b8}.topbar .ghost-button{background:rgba(255,255,255,.14);color:white;border:1px solid rgba(255,255,255,.22)}.eyebrow{color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase}.topbar .eyebrow{color:rgba(255,255,255,.7)}.install-strip,.mode-card,.notice,.screen,.sync-strip{background:var(--panel);border:1px solid var(--line);border-radius:8px;margin-bottom:10px}.sync-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding:12px}.cart-line span,.draft-card span,.history-row span,.mode-card span,.product-card span,.sync-strip span{color:var(--muted);font-size:13px}.sync-strip button{grid-column:2;grid-row:1/span 2;min-width:96px;padding:0 14px;background:var(--navy);color:white}.sync-strip .sync-refresh-button{width:44px;min-width:44px;padding:0;display:inline-grid;place-items:center}.sync-refresh-button svg{width:20px;height:20px}.sync-strip.ok{border-left:5px solid var(--success)}.sync-strip.ok,.sync-strip.warn{box-shadow:0 10px 24px rgba(17,24,39,.06)}.sync-strip.warn{border-left:5px solid var(--warning)}.install-strip{min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px}.install-strip div{display:grid;gap:4px;min-width:0}.install-strip span{color:var(--muted);font-size:13px;line-height:1.35;overflow-wrap:anywhere}.install-strip button{min-width:108px;padding:0 12px}.install-strip.ok{border-left:5px solid var(--success)}.install-strip.ready{border-left:5px solid var(--primary)}.install-strip.hint{border-left:5px solid var(--accent)}.mode-card{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}.mode-card div{display:grid;gap:4px}.mode-card small{color:var(--muted);text-align:left}.notice{padding:12px;border-left:5px solid var(--accent)}.notice p{margin:4px 0;color:var(--muted);line-height:1.42}.notice small{color:var(--muted);font-weight:800}.notice-meta{display:grid;gap:6px;margin:8px 0 6px}.notice-meta span{display:grid;gap:2px;min-width:0;color:var(--muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere}.notice-meta strong{color:var(--text);font-size:11px;text-transform:uppercase}.notice.error{border-left-color:var(--danger)}.notice.warn{border-left-color:var(--warning)}.notice.success{border-left-color:var(--success)}.workload-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.workload-item{min-height:58px;display:grid;align-content:center;gap:3px;padding:9px 10px;border:1px solid var(--line);border-left-width:5px;border-radius:8px;background:rgba(255,255,255,.9);box-shadow:0 8px 22px rgba(17,24,39,.05)}.workload-item.ok{border-left-color:var(--success)}.workload-item.warn{border-left-color:var(--warning)}.workload-item.danger{border-left-color:var(--danger)}.workload-item span{color:var(--muted);font-size:10px;font-weight:900;text-transform:uppercase}.workload-item b{font-size:14px;line-height:1.15;overflow-wrap:anywhere}.screen{padding:2px 0 0;background:transparent;border:0;border-radius:0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:12px}.section-head span{color:var(--muted);font-size:13px;font-weight:800}.section-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.section-actions button{min-height:44px;padding:0 12px}.start-screen{display:grid;gap:10px}.start-hero-card{min-height:142px;border:1px solid rgba(255,255,255,.28);border-radius:8px;padding:16px;display:grid;gap:12px;background:linear-gradient(135deg,rgba(13,19,34,.98),rgba(36,86,224,.86) 58%,rgba(31,169,113,.82)),var(--deep);color:#fff;box-shadow:0 22px 52px rgba(17,24,39,.18)}.start-hero-copy{display:grid;gap:5px;min-width:0}.start-hero-copy b,.start-hero-copy small{overflow-wrap:anywhere}.start-hero-copy b{font-size:21px;line-height:1.12;letter-spacing:0}.start-hero-copy small{color:rgba(255,255,255,.74);font-size:13px;line-height:1.45}.start-hero-card .eyebrow{color:rgba(255,255,255,.68)}.start-hero-actions{display:flex;gap:8px}.start-hero-actions button{min-width:148px;padding-inline:16px}.start-hero-card .primary-button{background:#fff;color:var(--navy);box-shadow:0 14px 28px rgba(0,0,0,.18)}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.summary-tile{min-height:64px;border:1px solid var(--line);border-radius:8px;padding:10px;background:rgba(255,255,255,.92);display:grid;align-content:center;gap:3px;color:var(--text);text-align:left;box-shadow:0 9px 24px rgba(17,24,39,.05)}.summary-tile b{font-size:21px;line-height:1}.summary-tile span{color:var(--muted);font-size:12px;font-weight:800;overflow-wrap:anywhere}.summary-tile.emphasis{border-color:rgba(36,86,224,.22);background:linear-gradient(180deg,#f7faff,#eef3ff)}.summary-tile.warning{border-color:rgba(183,121,31,.28);background:linear-gradient(180deg,#fffdfa,#fff7ed)}.field-focus-grid{display:grid;gap:10px}.field-focus-card{min-height:92px;border:1px solid var(--line);border-radius:8px;padding:12px;background:rgba(255,255,255,.94);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;box-shadow:0 10px 26px rgba(17,24,39,.06)}.field-focus-card>div{min-width:0;display:flex;align-items:baseline;gap:8px}.field-focus-card span{color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase}.field-focus-card b{font-size:17px;line-height:1.15}.field-focus-card b,.field-focus-card small{overflow-wrap:anywhere}.field-focus-card small{color:var(--muted);line-height:1.4}.field-focus-card button{grid-column:2;grid-row:1/span 2;width:fit-content;min-width:148px;padding:0 14px;align-self:center}.start-card{min-height:72px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.94);padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;box-shadow:0 8px 20px rgba(17,24,39,.05)}.start-card div{display:grid;gap:4px;min-width:0}.start-card span{color:var(--muted);font-size:13px;overflow-wrap:anywhere}.critical-stock-card{border-color:rgba(194,65,12,.36);background:#fff7ed}.critical-stock-card b{color:#9a3412}.cart-lines,.customer-list,.draft-list,.history-list,.product-list,.storage-grid,.sync-status-grid{display:grid;gap:10px}.cart-line,.customer-card,.customer-context-card,.draft-card,.history-row,.order-review,.product-card,.product-context-strip,.storage-card,.sync-state{border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.95)}.sync-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.sync-state{min-height:82px;padding:12px;display:grid;align-content:center;gap:4px}.sync-state b,.sync-state small,.sync-state span{overflow-wrap:anywhere}.sync-state span{width:fit-content;border-radius:999px;padding:3px 8px;background:#eef3ff;color:var(--navy);font-size:12px;font-weight:900}.sync-state small{color:var(--muted);font-size:12px;line-height:1.35}.sync-state.ok small{display:none}.sync-state.ok{border-left:5px solid var(--success)}.sync-state.warn{border-left:5px solid var(--warning)}.sync-state.danger{border-left:5px solid var(--danger)}.customer-card{min-height:64px;padding:12px;text-align:left}.customer-card.active{border-color:var(--primary);box-shadow:inset 4px 0 0 var(--primary)}.customer-card b,.customer-card small,.customer-card span{display:block;overflow-wrap:anywhere}.customer-card small,.customer-card span{margin-top:4px;color:var(--muted)}.customer-card small{font-size:12px;line-height:1.35}.customer-context-card{min-height:76px;margin-bottom:12px;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.customer-context-card div{min-width:0;display:grid;gap:5px}.customer-context-card b,.customer-context-card small{overflow-wrap:anywhere}.customer-context-card small{color:var(--muted);font-size:12px;line-height:1.3}.customer-context-card button{min-width:92px;padding-inline:12px}.product-context-strip{min-height:72px;margin-bottom:12px;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.product-context-strip div{min-width:0;display:grid;gap:5px}.product-context-strip b,.product-context-strip small{overflow-wrap:anywhere}.product-context-strip small{color:var(--muted);font-size:12px;line-height:1.3}.product-context-strip button{width:44px;min-width:44px;padding:0}.icon-button{min-height:44px;display:inline-grid;place-items:center}.icon-button svg{width:20px;height:20px}.search-control{position:relative;margin-bottom:12px}.search-input{width:100%;margin-bottom:0;padding-right:52px}.search-clear-button{position:absolute;top:50%;right:6px;width:36px;height:36px;transform:translateY(-50%);border:0;border-radius:8px;background:var(--soft);color:var(--navy);font-size:18px;font-weight:900;line-height:1}.order-customer-select{display:grid;gap:6px;padding:12px;margin-bottom:12px;border:1px solid var(--line);border-radius:8px;background:white}.order-customer-select span{color:var(--muted);font-size:13px;font-weight:900}.order-workbench-card{border:1px solid rgba(15,118,110,.18);border-radius:8px;padding:12px;margin-bottom:12px;display:grid;gap:12px;background:linear-gradient(135deg,rgba(15,118,110,.08),rgba(255,255,255,.98)),white}.order-workbench-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.order-workbench-head>div{min-width:0;display:grid;gap:4px}.order-workbench-head b,.order-workbench-head small{overflow-wrap:anywhere}.order-workbench-head small{color:var(--muted);font-size:13px;line-height:1.4}.order-workbench-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:-2px}.order-workbench-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-workbench-grid div{min-height:68px;border:1px solid var(--line);border-radius:8px;padding:10px;display:grid;align-content:center;gap:4px;background:rgba(255,255,255,.84)}.order-workbench-grid span{color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.order-workbench-grid b{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.order-workbench-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.order-workbench-actions button{min-width:0;padding:10px 8px}.order-jump-button{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-items:start;gap:8px;text-align:left}.order-jump-icon{width:34px;height:34px;display:inline-grid;place-items:center;border-radius:8px;background:rgba(15,118,110,.08);color:var(--teal-700)}.order-jump-icon svg{width:18px;height:18px;display:block}.order-jump-copy{min-width:0;display:grid;gap:2px}.order-jump-copy b,.order-jump-copy small{overflow-wrap:anywhere}.order-jump-copy b{font-size:12px;line-height:1.1}.order-jump-copy small{color:var(--muted);font-size:10px;line-height:1.1}.order-customer-select select{width:100%;min-height:44px}.quick-scan-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:12px;margin-bottom:12px}.quick-scan-card label{min-width:0;display:grid;gap:6px}.quick-scan-card label span{color:var(--muted);font-size:13px;font-weight:900}.quick-scan-card input{width:100%}.quick-scan-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.quick-scan-card button{min-height:44px;padding:0 12px}.scan-status{grid-column:1/-1;font-weight:900;overflow-wrap:anywhere}.scan-status.ok{color:#1f7a4d}.scan-status.danger{color:#9f2c26}.chip-row{display:flex;gap:8px;margin:-2px 0 12px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.chip-row button{flex:0 0 auto;min-height:44px;max-width:160px;border:1px solid var(--line);border-radius:999px;padding:0 12px;background:#f9fbff;color:var(--navy);font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip-row button.active{border-color:var(--primary);background:var(--primary);color:white}.product-cart-summary{position:sticky;bottom:92px;z-index:20;min-height:72px;margin:0 0 12px;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid rgba(36,86,224,.18);border-left:5px solid var(--primary);border-radius:8px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(238,243,255,.94)),white;box-shadow:0 18px 42px rgba(17,24,39,.16);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.product-cart-summary-copy{min-width:0;display:grid;gap:3px}.product-cart-summary b,.product-cart-summary small,.product-cart-summary span{overflow-wrap:anywhere}.product-cart-summary b{font-size:16px;line-height:1.15}.product-cart-summary small{color:var(--muted);font-size:12px;line-height:1.35}.product-cart-summary button{min-width:118px;padding:0 12px}.cart-line,.draft-card,.product-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px}.product-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;box-shadow:0 10px 26px rgba(17,24,39,.06);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.product-card.detail-open,.product-card:hover{border-color:rgba(36,86,224,.26);box-shadow:0 16px 34px rgba(17,24,39,.09)}.product-card:hover{transform:translateY(-1px)}.cart-line div:first-child,.draft-card div:first-child,.product-card-copy,.product-card-main{display:grid;gap:4px;min-width:0}.product-card-main{grid-template-columns:64px minmax(0,1fr);align-items:start;gap:12px}.product-card-copy{align-content:start}.product-card-media{position:relative;width:64px;height:64px;display:grid;place-items:center;overflow:hidden;border-radius:8px;border:1px solid rgba(36,86,224,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.product-image-open{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:zoom-in;z-index:2}.product-image-open:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}.product-image-dialog{width:min(920px,94vw);max-width:94vw;padding:0;border:0;border-radius:8px;background:#fff;color:#182323}.product-image-dialog[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);overflow:hidden}.product-image-dialog::backdrop{background:#000b}.product-image-dialog header{display:flex;flex:0 0 auto;align-items:center;gap:8px;padding:12px;border-bottom:1px solid #dce3e2}.product-image-dialog header b{flex:1 1;min-width:0;overflow-wrap:anywhere}.product-image-dialog button{flex:0 0 44px;width:44px;height:44px;font-size:24px;border:1px solid #dce3e2;background:#fff;border-radius:4px}.product-image-viewport{height:min(72dvh,720px);min-height:0;overflow:auto;touch-action:pan-x pan-y pinch-zoom}.product-image-viewport img{display:block;max-width:none;height:100%;object-fit:contain}.product-image-viewport[data-zoomed=true] img{height:200%}.price-input[aria-invalid=true]{border-color:#b42318}.product-card-media.indigo{background:linear-gradient(135deg,#e8edff,#f5f7ff)}.product-card-media.teal{background:linear-gradient(135deg,#dcf7f2,#f4fffc)}.product-card-media.amber{background:linear-gradient(135deg,#fff0d8,#fff9ef)}.product-card-media.slate{background:linear-gradient(135deg,#edf3f8,#f8fbfd)}.product-image-fallback-label{grid-area:1/1;width:100%;height:100%;display:grid;place-items:center;color:var(--primary);font-size:18px;font-weight:950;letter-spacing:0}.product-card-media img{grid-area:1/1;position:relative;z-index:1;width:100%;height:100%;display:block;object-fit:cover}.product-card-media.image-missing{border-style:dashed}.product-card-topline{display:flex;flex-wrap:wrap;gap:6px}.product-category-badge,.product-pack-pill{width:fit-content;min-height:24px;display:inline-flex;align-items:center;border-radius:999px;padding:0 8px;font-size:11px;font-weight:900}.product-category-badge{color:var(--navy)!important;background:#eef3ff}.product-pack-pill{color:#235b7a!important;background:#e8f5fb}.cart-line b,.cart-line small,.cart-line span,.draft-card b,.draft-card small,.draft-card span,.history-row b,.history-row span,.product-card b,.product-card small,.product-card span{overflow-wrap:anywhere}.product-card small{color:var(--muted)}.line-gross-preview{color:var(--text);font-weight:850}.tax-badge{border-radius:8px;border:1px solid var(--line);padding:0 8px;background:#f7f9fe;color:var(--muted)}.availability-badge,.tax-badge{width:fit-content;min-height:28px;display:inline-flex;align-items:center;font-size:12px;font-weight:900}.availability-badge{border-radius:999px;padding:4px 9px;color:var(--navy);background:#eef3ff}.availability-badge.ok{background:#e7f7ef;color:#1f7a4d}.availability-badge.warn{background:#fff3d5;color:#93660c}.availability-badge.danger{background:#fde7e5;color:#9f2c26}.availability-badge.critical{background:#fee2e2;color:#991b1b}.stock-correction-note{width:fit-content;border-radius:8px;padding:5px 8px;background:#fff7ed;color:#9a3412!important;font-weight:900}.draft-card{display:grid;align-items:stretch}.draft-card small{color:var(--muted);font-size:12px}.draft-guardrail{width:fit-content;border-radius:8px;padding:5px 8px;background:#fff3d5;color:#93660c!important;font-weight:900}.storage-grid{margin-top:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.storage-detail-panel,.storage-title-row{grid-column:1/-1;display:grid;gap:10px}.storage-title-row{grid-template-columns:minmax(0,1fr) auto;align-items:start;min-width:0}.storage-title-row>div:first-child{display:grid;gap:4px;min-width:0}.storage-title-row h3{margin-bottom:0}.storage-title-row>div:first-child span{color:var(--muted);font-size:13px;line-height:1.4;overflow-wrap:anywhere}.storage-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}.storage-actions button{min-height:44px;padding:0 12px;flex:0 1 auto;max-width:220px}.storage-summary-card{grid-column:1/-1;min-height:74px;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;background:#f9fbff}.storage-summary-copy{display:grid;gap:4px;min-width:0}.storage-summary-copy b,.storage-summary-copy span{overflow-wrap:anywhere}.storage-summary-copy span{color:var(--muted);font-size:13px;line-height:1.4}.storage-detail-toggle{min-width:146px}.storage-detail-grid{display:contents}.storage-card{min-height:74px;padding:12px;display:grid;align-content:center;gap:4px}.storage-card span{color:var(--muted);font-size:13px;line-height:1.35;overflow-wrap:anywhere}.history-row{min-height:132px;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,auto);align-items:start;gap:12px}.history-main,.history-meta{min-width:0;display:grid;gap:5px}.history-meta{justify-items:end;text-align:right}.history-detail-toggle{min-height:44px;min-width:86px;border:0;border-radius:8px;padding:0 12px;background:#e8eefb;color:var(--navy);font-weight:900}.history-row small{color:var(--muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere}.history-status{width:fit-content;min-height:28px;display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;background:#eef3ff;color:var(--navy);font-size:12px;font-weight:900}.history-status.ok{background:#e7f7ef;color:#1f7a4d}.history-status.warn{background:#fff3d5;color:#93660c}.history-status.danger{background:#fde7e5;color:#9f2c26}.history-detail-panel{grid-column:1/-1;border:1px solid var(--line);border-radius:8px;padding:12px;display:grid;gap:10px;background:#f9fbff}.history-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.history-detail-grid div{min-height:68px;border:1px solid var(--line);border-radius:8px;padding:10px;display:grid;align-content:center;gap:5px;background:white}.history-detail-grid span{color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.history-detail-grid b,.history-detail-guardrail,.history-detail-line small,.history-detail-line span{overflow-wrap:anywhere}.history-detail-lines{display:grid;gap:8px}.history-detail-line{min-height:54px;border:1px solid var(--line);border-radius:8px;padding:9px 10px;display:grid;gap:4px;background:white}.history-detail-line span{font-weight:900}.history-detail-guardrail{min-height:44px;margin:0;border-radius:8px;padding:10px 12px;background:#fff3d5;color:#93660c;font-size:13px;font-weight:900;line-height:1.35}.draft-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:8px}.draft-actions button{padding:0 8px;min-width:0}.price-block{display:grid;justify-items:end;gap:8px;min-width:92px}.price-label{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.price-block button{width:44px;height:44px;background:var(--primary);color:white;font-size:22px;box-shadow:0 10px 18px rgba(36,86,224,.2)}.price-block .detail-button{width:44px;min-width:44px;height:44px;padding:0;display:inline-grid;place-items:center;background:#e8eefb;color:var(--navy);box-shadow:none}.product-detail-panel{grid-column:1/-1;border:1px solid var(--line);border-radius:8px;padding:12px;display:grid;gap:10px;background:#f9fbff}.product-detail-header{display:grid;gap:4px;min-width:0}.product-detail-grid b,.product-detail-guardrail,.product-detail-header b,.product-detail-header small{overflow-wrap:anywhere}.product-detail-header small{color:var(--muted);font-size:13px;line-height:1.4}.product-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-detail-grid div{min-height:70px;border:1px solid var(--line);border-radius:8px;padding:10px;display:grid;align-content:center;gap:5px;background:white}.product-detail-grid span{color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.product-detail-grid b,.product-detail-guardrail{font-size:13px;line-height:1.35}.product-detail-guardrail{min-height:44px;margin:0;border-radius:8px;padding:10px 12px;background:#fff3d5;color:#93660c;font-weight:900}.product-detail-add{width:min(100%,230px)}.cart-controls{display:grid;justify-items:end;gap:6px;min-width:126px}.stepper{display:grid;grid-template-columns:48px 56px 48px;align-items:center;gap:4px;text-align:center}.stepper button{width:48px;min-height:48px;height:48px;border:0;background:#e8eefb}.quantity-input,.stepper button{border-radius:8px;font-weight:900}.quantity-input{width:56px;min-height:44px;padding:0 6px;text-align:center}.price-edit-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 86px;align-items:center;gap:6px;text-transform:none;color:var(--muted);font-size:12px}.price-edit-row span{font-weight:900}.price-input{width:86px;min-height:44px;border-radius:8px;padding:0 8px;text-align:right;font-weight:900}.remove-line-button{min-height:44px;width:100%;border:0;border-radius:8px;background:#fde7e5;color:#9f2c26;font-size:12px;font-weight:900}.warning-line{border-color:#f0c27b;box-shadow:inset 4px 0 0 var(--warning)}.warning-line small{color:var(--warning);font-weight:850}.order-review{min-height:0;margin-top:12px;padding:12px;display:grid;gap:10px;border:1px solid rgba(15,118,110,.12);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(238,247,243,.78)),white}.order-review-summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;color:var(--navy);font-weight:900;list-style-position:inside}.order-review-summary b{margin-left:auto}.order-review:not([open]){gap:0}.order-review-header{display:grid;gap:4px}.order-review-header div{display:grid;gap:4px;min-width:0}.order-review-header span,.order-review-row span{color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.order-review-header b,.order-review-header small,.order-review-row b{overflow-wrap:anywhere}.order-review-header small{color:var(--muted);font-size:12px;line-height:1.4}.order-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-review-row{min-height:66px;border:1px solid var(--line);border-radius:8px;padding:9px 10px;display:grid;align-content:center;gap:4px;background:linear-gradient(180deg,#fbfffd,#f4f8fb)}.order-review-row b{font-size:13px;line-height:1.35}.order-dock{position:static;z-index:18;width:100%;display:grid;gap:12px;padding:14px;margin-top:12px;border:1px solid rgba(15,118,110,.16);border-radius:8px;background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(244,247,244,.94)),rgba(255,255,255,.96);box-shadow:0 18px 38px rgba(16,24,22,.16);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.order-dock.ok{border-color:rgba(20,133,95,.24)}.order-dock.idle,.order-dock.warn{border-color:rgba(183,121,31,.24)}.order-dock-summary{display:flex;align-items:start;justify-content:space-between;gap:10px}.order-dock-copy{min-width:0;display:grid;gap:4px}.order-dock-copy b{font-size:20px;line-height:1.05}.order-dock-copy b,.order-dock-copy small,.order-dock-metrics b{overflow-wrap:anywhere}.order-dock-badges{display:flex;flex-wrap:wrap;gap:6px}.order-chip{min-height:26px;display:inline-flex;align-items:center;border-radius:999px;padding:0 10px;background:rgba(15,118,110,.08);border:1px solid rgba(15,118,110,.12);color:var(--navy);font-size:11px;font-weight:900}.order-dock-copy small{color:var(--muted);font-size:12px;line-height:1.4}.order-dock-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.order-dock-metrics div{min-height:52px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;display:grid;align-content:center;gap:4px;background:rgba(255,255,255,.88)}.order-dock-metrics div.emphasis{border-color:rgba(15,118,110,.24);background:linear-gradient(180deg,#fbfffd,#eef7f3)}.order-dock-metrics span{color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase}.order-dock-metrics b{font-size:13px;line-height:1.3}.order-dock-metrics div.emphasis b{font-size:15px;color:var(--navy)}.order-dock-actions{display:grid;grid-template-columns:.92fr 1.08fr;gap:8px}.empty{color:var(--muted);margin:8px 0}.driver-route-screen{display:grid;gap:10px}.driver-only{padding-bottom:24px;max-width:680px}.driver-topbar .eyebrow,.driver-topbar p{display:none}.driver-refresh-button{width:44px;height:44px;display:inline-grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--navy)}.driver-refresh-button svg{width:20px;height:20px}.driver-route-head>div{min-width:0}.driver-route-head h2,.driver-route-head span{overflow-wrap:anywhere}.driver-empty-state,.driver-network-note{margin:0;padding:12px;border:1px solid var(--line);border-left:5px solid var(--warning);border-radius:8px;background:#fff8e8;color:var(--text);line-height:1.45}.driver-empty-state{display:grid;gap:4px;border-left-color:var(--navy);background:var(--soft)}.driver-empty-state span{color:var(--muted)}.driver-route-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:8px;overflow-x:auto;padding-bottom:2px}.driver-route-tabs button{min-height:56px;display:grid;gap:3px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.9);color:var(--text);text-align:left;box-shadow:0 8px 20px rgba(17,24,39,.05)}.driver-route-tabs button.active{border-color:var(--navy);background:var(--navy);color:#fff}.driver-route-tabs span{color:inherit;font-size:11px}.driver-route-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:14px;border:1px solid rgba(36,86,224,.14);border-radius:8px;background:rgba(255,255,255,.94);box-shadow:0 10px 26px rgba(17,24,39,.06)}.driver-route-title{display:grid;justify-items:start;gap:4px;min-width:0}.driver-route-title h3{margin:0;font-size:20px;overflow-wrap:anywhere}.driver-progress-copy span,.driver-route-title small{color:var(--muted)}.driver-progress-copy{display:grid;align-content:center;justify-items:end;gap:2px}.driver-progress-copy b{font-size:18px}.driver-progress-track{grid-column:1/-1;height:9px;overflow:hidden;border-radius:999px;background:#e5e7eb}.driver-progress-track span{display:block;height:100%;border-radius:inherit;background:var(--success);transition:width .2s ease}.driver-stop-list{display:grid;gap:12px}.driver-stop{display:grid;gap:0;padding:0;border:1px solid var(--line);border-left:5px solid #94a3b8;border-radius:8px;background:rgba(255,255,255,.96);box-shadow:0 12px 28px rgba(17,24,39,.07);overflow:hidden}.driver-stop.ok{border-left-color:var(--success)}.driver-stop.warn{border-left-color:var(--warning)}.driver-stop.danger{border-left-color:var(--danger)}.driver-stop-toggle{width:100%;min-height:76px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:0;background:transparent;color:inherit;text-align:left}.driver-stop-heading-copy{display:grid;gap:3px;min-width:0}.driver-stop-heading-copy b,.driver-stop-heading-copy small{overflow-wrap:anywhere}.driver-stop-contact span,.driver-stop-heading-copy small{color:var(--muted)}.driver-stop-body{display:grid;gap:12px;padding:0 14px 14px}.driver-stop-number{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--navy),var(--primary));font-weight:900}.driver-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border-radius:999px;background:#e5e7eb;color:var(--text);font-size:11px;font-weight:900;white-space:nowrap}.driver-status.ok{background:#dcfce7;color:#166534}.driver-status.warn{background:#fef3c7;color:#92400e}.driver-status.danger{background:#fee2e2;color:#991b1b}.driver-stop-contact{display:grid;gap:4px}.driver-link-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.driver-link-row a{padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#eef3ff;color:var(--navy);font-weight:900;text-decoration:none}.driver-delivery-note{display:grid;gap:3px;margin:0;padding:10px;border-radius:8px;background:#f8fafc;line-height:1.4;overflow-wrap:anywhere}.driver-stop-actions{display:grid;gap:10px;padding-top:10px;border-top:1px solid var(--line)}.driver-completion-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:8px;background:var(--soft)}.driver-completion-tabs button{min-height:42px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-weight:900}.driver-completion-tabs button.active{background:var(--panel);color:var(--navy);box-shadow:0 2px 8px rgba(16,24,22,.1)}.driver-completion-tabs button.active.danger{color:var(--danger)}.driver-returnable-form{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(110px,.65fr);align-items:end;gap:8px;padding-top:10px;border-top:1px solid var(--line)}.driver-returnable-form>b{grid-column:1/-1}.driver-returnable-form label:last-of-type{grid-column:1}.driver-returnable-form>button{grid-column:2;width:100%}.driver-returnable-form label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:900}.driver-returnable-form input,.driver-returnable-form select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:8px 9px;background:#fff;color:var(--text);font:inherit}.driver-action-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.driver-action-form label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:900}.driver-action-form input,.driver-action-form textarea{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:9px 10px;background:#fff;color:var(--text);font:inherit;resize:vertical}.driver-action-form button{min-width:138px}.bottom-nav{position:fixed;left:max(10px,calc((100vw - 820px) / 2 + 10px));right:max(10px,calc((100vw - 820px) / 2 + 10px));bottom:10px;z-index:30;width:100%;display:grid;grid-template-columns:repeat(6,1fr);gap:6px;padding:7px;max-width:800px;margin:0 auto;background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 46px rgba(17,24,39,.16);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav button{min-height:52px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:12px;font-weight:900;padding:4px 4px 6px;overflow-wrap:anywhere;display:grid;grid-template-rows:auto auto;justify-items:center;align-content:center;gap:3px;position:relative;transition:background .16s ease,color .16s ease,transform .16s ease}.bottom-nav button.active{background:linear-gradient(135deg,var(--navy),var(--primary));color:white;box-shadow:0 10px 22px rgba(36,86,224,.2)}.bottom-nav button:active{transform:translateY(1px)}.nav-icon{width:20px;height:20px;display:inline-grid;place-items:center}.nav-icon svg{width:18px;height:18px;display:block}.nav-label{line-height:1}.nav-badge{position:absolute;top:4px;right:6px;display:inline-grid;min-width:20px;height:20px;place-items:center;border-radius:999px;background:var(--accent);color:var(--deep);padding:0 5px;font-size:11px;font-weight:900}@media (min-width:720px){.app-shell{padding-top:24px}.mode-card{grid-template-columns:minmax(0,1fr) auto auto;align-items:start}.app-shell.tab-auftrag{padding-bottom:114px}.mode-card small{text-align:right}.start-screen{grid-template-columns:1fr 1fr}.start-screen .field-focus-grid,.start-screen .section-head,.start-screen .start-hero-card,.start-screen .summary-grid{grid-column:1/-1}.product-list{grid-template-columns:repeat(2,minmax(0,1fr))}.screen{padding:16px}.draft-card{grid-template-columns:minmax(0,1fr) auto}.draft-actions{min-width:280px}}@media (max-width:420px){.field-focus-grid,.history-detail-grid,.product-detail-grid,.storage-grid{grid-template-columns:minmax(0,1fr)}.sync-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sync-state{min-height:70px;padding:9px}.workload-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.driver-stop-toggle{grid-template-columns:36px minmax(0,1fr)}.driver-stop-toggle .driver-status{grid-column:2;justify-self:start}.driver-action-form{grid-template-columns:minmax(0,1fr)}.driver-action-form button{width:100%}.driver-returnable-form{grid-template-columns:minmax(0,1.3fr) minmax(104px,.7fr)}.driver-returnable-form>b{grid-column:1/-1}.driver-returnable-form label:last-of-type{grid-column:1}.driver-returnable-form>button{grid-column:2;width:100%}.bottom-nav{gap:2px}.bottom-nav button{padding-inline:2px;font-size:11px}.order-workbench-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.order-review-grid,.order-workbench-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-cart-summary{bottom:86px}.product-cart-summary-copy small{display:none}.product-cart-summary button{min-width:106px;padding-inline:10px}.topbar{align-items:center;flex-direction:row;padding:8px 10px;margin-bottom:8px}.topbar .eyebrow,.topbar p{display:none}.brand-cluster{gap:8px}.field-logo{width:38px;height:38px}.topbar h1{max-width:160px;margin:0;font-size:16px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-shell.tab-auftrag .section-head{align-items:center;margin-bottom:8px}.app-shell.tab-auftrag .section-head span{display:none}.app-shell.tab-auftrag .order-customer-select{gap:4px;padding:10px;margin-bottom:8px}.app-shell.tab-auftrag .order-customer-select span{display:none}.app-shell.tab-auftrag .quick-scan-card{gap:8px;padding:10px;margin-bottom:8px}.app-shell.tab-auftrag .quick-scan-card label{gap:4px}.app-shell.tab-auftrag .quick-scan-card label span{display:none}.app-shell.tab-auftrag .quick-scan-card button{min-height:42px}.app-shell.tab-auftrag .order-workbench-card{gap:10px;padding:10px;margin-bottom:10px}.app-shell.tab-auftrag .order-workbench-head,.app-shell.tab-auftrag .order-workbench-head small{display:none}.app-shell.tab-auftrag .order-workbench-badges{flex-wrap:nowrap;overflow-x:auto;gap:4px;padding-bottom:2px}.app-shell.tab-auftrag .order-workbench-badges .order-chip{flex:0 0 auto}.app-shell.tab-auftrag .order-workbench-grid div{min-height:54px;padding:8px}.app-shell.tab-auftrag .order-workbench-grid div:nth-child(n+3){display:none}.app-shell.tab-auftrag .order-workbench-actions button{min-height:48px;padding:8px}.app-shell.tab-auftrag .order-jump-button{gap:6px}.app-shell.tab-auftrag .order-jump-icon{width:28px;height:28px}.app-shell.tab-auftrag .order-jump-copy,.app-shell.tab-auftrag .order-jump-copy small{display:none}.app-shell.tab-auftrag .order-jump-button{display:grid;place-items:center}.order-dock{position:sticky;bottom:86px;padding:8px;gap:6px}.order-dock-summary{display:block}.order-dock-badges,.order-dock-copy .eyebrow,.order-dock-copy>b,.order-dock-summary>.hero-pill{display:none}.order-dock-copy small{font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-dock-metrics{grid-template-columns:minmax(0,1fr)}.order-dock-metrics div:not(.emphasis){display:none}.order-dock-metrics div{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:6px 8px}.order-dock-metrics b{font-size:12px}.order-dock-metrics div.emphasis b{font-size:14px}.order-dock-actions{grid-template-columns:.92fr 1.08fr}.order-review-row{min-height:60px;padding:8px 9px}.top-actions{grid-template-columns:auto auto;align-items:center;justify-content:space-between;justify-items:stretch}.app-shell:not(.tab-start) .top-actions{justify-items:end}.start-hero-card{min-height:108px;padding:12px}.start-hero-copy b{font-size:19px}.start-hero-actions button{width:100%}.summary-grid{gap:6px}.summary-tile{min-height:58px;padding:8px}.summary-tile b{font-size:19px}.summary-tile span{font-size:11px}.field-focus-card{grid-template-columns:minmax(0,1fr);padding:10px}.field-focus-card button{grid-column:1;grid-row:auto;width:100%}.customer-context-card,.product-context-strip{margin-bottom:10px}.customer-context-card .eyebrow,.product-context-strip .eyebrow{display:none}.customer-context-card b,.product-context-strip b,.product-context-strip small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-context-card small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.customer-context-card button{min-width:84px}.product-card{grid-template-columns:minmax(0,1fr) 70px;gap:8px;padding:10px}.product-card-main{grid-template-columns:48px minmax(0,1fr);gap:8px}.product-card-media{width:48px;height:48px;border-radius:8px}.product-image-fallback-label{font-size:15px}.product-card-topline{gap:4px}.product-category-badge,.product-pack-pill{min-height:22px;padding:0 7px;font-size:10px}.product-card-copy>b{font-size:15px;line-height:1.18}.product-card-copy>small:not(.availability-badge):not(.stock-correction-note),.product-card-copy>span{font-size:12px;line-height:1.3}.availability-badge{min-height:24px;padding:3px 7px;font-size:11px}.price-block{min-width:70px;gap:6px}.price-label{font-size:9px}.price-block>b{font-size:15px}.history-row{grid-template-columns:minmax(0,1fr)}.history-meta{justify-items:start;text-align:left}.storage-title-row{align-items:stretch;grid-template-columns:minmax(0,1fr)}.storage-actions{justify-content:stretch}.storage-actions button{width:min(100%,220px);max-width:100%}.storage-summary-card{grid-template-columns:minmax(0,1fr)}.storage-detail-toggle{width:100%}.install-strip,.native-app-strip{grid-template-columns:minmax(0,1fr)}.install-strip button,.native-app-strip a{grid-column:1;grid-row:auto;width:min(100%,220px)}.native-app-strip a{justify-self:start}.sync-strip{grid-template-columns:minmax(0,1fr) auto;align-items:center}.sync-strip span{display:none}.sync-strip.warn span{display:block}.sync-strip button{grid-column:2;grid-row:1/span 2;width:auto}}.app-shell{max-width:720px;padding:0 16px calc(88px + env(safe-area-inset-bottom));background:#fff}.app-shell .topbar{min-height:60px;margin:0 -16px 12px;padding:8px 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;color:var(--text);background:#fff;box-shadow:none}.topbar .brand-cluster{flex:1 1;gap:8px}.topbar .brand-cluster>div:last-child{flex:1 1}.app-shell .topbar h1{max-width:none;margin:0;font-size:16px;line-height:1.3;font-weight:600;white-space:normal;overflow-wrap:anywhere}.app-shell .topbar .eyebrow,.app-shell .topbar p{display:none}.app-shell .field-logo{width:36px;height:36px;flex:0 0 36px;border:0;border-radius:0;background:transparent;color:var(--text);font-size:22px;font-weight:700}.header-back{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;background:transparent;color:var(--text);font-size:32px;line-height:1}.header-back svg{width:20px;height:20px}.app-shell .top-actions{display:flex;align-items:center;gap:8px}.app-shell .connection-pill{min-height:24px;padding:0;border:0;background:transparent;color:#287546;font-size:10px;font-weight:500}.connection-pill:before{content:"";width:6px;height:6px;margin-right:4px;border-radius:50%;background:currentColor}.app-shell .connection-pill.warn{color:#9c650b}.app-shell .topbar .ghost-button{min-height:44px;padding:0 4px;border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:500}.app-shell .topbar .logout-button{display:grid;place-items:center;width:44px;padding:0}.tab-produkte .topbar,.tab-route .topbar{display:grid;grid-template-columns:70px minmax(0,1fr) 70px;gap:4px}.tab-produkte .topbar .brand-cluster,.tab-produkte .topbar .brand-cluster>div:last-child,.tab-route .topbar .brand-cluster,.tab-route .topbar .brand-cluster>div:last-child{display:contents}.tab-produkte .topbar h1,.tab-route .topbar h1{grid-column:2;grid-row:1;text-align:center}.tab-produkte .top-actions,.tab-route .top-actions{grid-column:3;grid-row:1;justify-content:flex-end;gap:4px}.tab-produkte .connection-pill.ok,.tab-route .connection-pill.ok{font-size:0}.tab-produkte .connection-pill.ok:before,.tab-route .connection-pill.ok:before{margin:0}.tab-produkte .connection-pill.warn,.tab-route .connection-pill.warn{font-size:10px}.tab-produkte .top-actions:has(.warn),.tab-route .top-actions:has(.warn){flex-direction:column;gap:0}.app-shell .screen{padding:0;border:0;border-radius:0;box-shadow:none}.app-shell h2{font-size:18px;font-weight:600}.app-shell .eyebrow{font-weight:500;text-transform:none}.app-shell .start-hero-card{min-height:0;padding:12px 0 18px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;color:var(--text);box-shadow:none}.app-shell .start-hero-copy b{color:var(--text);font-size:20px;font-weight:600}.app-shell .start-hero-copy .eyebrow,.app-shell .start-hero-copy small{color:var(--muted)}.app-shell .start-hero-card .primary-button{background:var(--primary);color:#fff;box-shadow:none}.app-shell .summary-tile{background:#f6f7f8;box-shadow:none}.app-shell .summary-tile b{font-weight:600}.app-shell .customer-context-card,.app-shell .field-focus-card,.app-shell .order-dock,.app-shell .order-review,.app-shell .order-workbench-card,.app-shell .product-context-strip{border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;box-shadow:none}.app-shell .order-dock{border-top:1px solid var(--line)}.app-shell .order-dock-metrics div.emphasis{background:#f1f8f3}.app-shell .sync-strip{border-radius:4px;box-shadow:none}.app-shell .notice b,.app-shell .sync-strip b{font-size:13px;font-weight:600}.app-shell .notice{padding:10px 12px;border-radius:4px}.app-shell .notice p{font-size:12px}.app-shell .sync-strip button{background:var(--soft);color:var(--text)}.app-shell .bottom-nav{left:0;right:0;bottom:0;max-width:720px;width:100%;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:2px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);border-radius:0;background:#fff;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.app-shell .bottom-nav button{min-width:0;height:52px;padding:4px 0;font-weight:500;font-size:11px}.bottom-nav button.active{background:#edf4ff;color:#1264d6;box-shadow:none}.nav-badge{background:var(--primary);color:#fff;font-weight:600}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.app-shell.tab-produkte{padding-bottom:calc(160px + env(safe-area-inset-bottom))}.catalog-screen .product-context-strip{min-height:44px;padding:0 0 8px;margin:0 0 8px;gap:8px}.catalog-screen .product-context-strip .eyebrow{display:none}.catalog-screen .product-context-strip b{font-size:12px;font-weight:600}.catalog-screen .product-context-strip small{font-size:11px}.catalog-screen .product-context-strip b,.catalog-screen .product-context-strip small{white-space:normal}.catalog-screen .product-context-strip .icon-button{background:transparent}.catalog-screen .search-control{margin-bottom:4px}.catalog-screen .search-input{min-height:44px;background:#f6f6f8;font-size:13px}.catalog-screen .chip-row{gap:6px;margin:0 0 8px;padding:0}.catalog-screen .chip-row button{position:relative;isolation:isolate;min-width:44px;min-height:44px;padding:0 12px;border:0;border-radius:0;background:transparent;color:#414651;font-size:11px;font-weight:500}.catalog-screen .chip-row button:before{content:"";position:absolute;inset:7px 0;z-index:-1;border:1px solid var(--line);border-radius:999px;background:#f1f1f4}.catalog-screen .chip-row button.active{background:transparent;color:#fff}.catalog-screen .chip-row button.active:before{background:var(--primary);border-color:var(--primary)}.catalog-screen .product-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.catalog-screen .product-list>.empty{grid-column:1/-1}.catalog-screen .product-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:1px solid var(--line);border-radius:8px;background:#fafafb;box-shadow:none;transform:none;overflow:hidden}.catalog-screen .product-card.detail-open,.catalog-screen .product-card:hover{border-color:#bdcfe8;box-shadow:none;transform:none}.catalog-screen .product-card-main{display:flex;flex-direction:column;align-items:stretch;gap:0}.catalog-screen .product-card-media{width:100%;height:auto;aspect-ratio:1.12;max-height:250px;border:0;border-radius:0;background:#f6f6f8;box-shadow:none}.catalog-screen .product-card-media img{position:absolute;inset:0;padding:10px;object-fit:contain}.catalog-screen .product-image-fallback-label{padding:12px;color:var(--muted);font-size:15px;font-weight:500}.catalog-screen .product-card-copy{padding:0 8px;gap:4px}.product-name-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:2px}.product-name-row>b{font-size:12px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}.catalog-screen .catalog-search-match{font-size:10px;line-height:1.4}.product-add-button{width:44px;height:44px;padding:0;border:8px solid #fafafb;border-radius:50%;background:#e9ebf0;color:var(--text);font-size:22px;line-height:1}.catalog-screen .availability-badge{min-height:0;padding:3px 5px;border-radius:4px;font-size:10px;font-weight:500}.catalog-screen .stock-correction-note{padding:4px;font-size:10px;font-weight:500;line-height:1.4}.catalog-screen .price-block{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:4px;padding:0 8px 4px}.catalog-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 5px}.catalog-price b{font-size:12px;font-weight:500}.catalog-screen .price-label{font-size:9px;font-weight:400;text-transform:none}.catalog-screen .price-block .detail-button{min-width:44px;width:44px;min-height:44px;padding:0;background:transparent;color:var(--muted)}.catalog-screen .product-detail-panel{margin:0;padding:10px 8px;border:0;border-top:1px solid var(--line);border-radius:0;background:#fff}.catalog-screen .product-detail-grid{grid-template-columns:minmax(0,1fr)}.catalog-screen .product-detail-header b{font-size:13px}.catalog-screen .product-detail-guardrail,.catalog-screen .product-detail-header small{font-size:11px;line-height:1.4}.catalog-screen .product-detail-add{width:100%;padding:8px;font-size:12px}.catalog-screen .product-cart-summary{position:fixed;z-index:25;left:0;right:0;bottom:calc(65px + env(safe-area-inset-bottom));max-width:720px;min-height:72px;margin:0 auto;padding:10px 16px;grid-template-columns:48px minmax(0,1fr) minmax(100px,1.3fr);gap:10px;border:0;border-top:1px solid var(--line);border-radius:0;background:#fff;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.catalog-screen .product-cart-summary button{min-width:0;min-height:48px;font-size:13px;font-weight:600}.catalog-screen .product-cart-summary-copy b{font-size:13px;font-weight:600}.catalog-screen .product-cart-summary-copy small{display:block;font-size:10px}.catalog-cart-button{position:relative;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:8px;background:var(--soft);color:var(--text)}.catalog-cart-button svg{width:24px;height:24px}.catalog-cart-count{position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;padding:0 4px;border-radius:50%;background:var(--primary);color:#fff;font-size:10px;display:grid;place-items:center}.app-shell.driver-only{max-width:720px;padding-bottom:calc(94px + env(safe-area-inset-bottom))}.app-shell.tab-route:not(.driver-only){padding-bottom:calc(158px + env(safe-area-inset-bottom))}.driver-route-screen{gap:8px}.driver-route-head{margin:0;min-height:44px}.driver-route-head h2{font-size:13px;color:var(--muted)}.driver-refresh-button{background:transparent;border:0}.driver-route-tabs button{min-height:48px;box-shadow:none;font-weight:500}.driver-route-tabs button.active{background:#edf4ff;color:#1264d6;border-color:#cbdfff}.driver-route-summary{padding:0 0 12px;gap:6px 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}.driver-route-title{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px}.driver-route-title h3{grid-column:1;grid-row:1;font-size:13px;font-weight:600}.driver-route-title>.driver-status{grid-column:2;grid-row:1}.driver-route-title small{grid-column:1/-1;font-size:11px}.driver-progress-copy b{font-size:12px;font-weight:500;color:var(--muted)}.driver-progress-track{height:3px}.driver-stop-list{gap:0}.driver-stop{position:relative;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.driver-stop:not(:last-child):before{content:"";position:absolute;left:17px;top:36px;bottom:-36px;width:2px;background:#d9dbe0}.driver-stop[data-stop-status=delivered]:before{background:#a8d7b5}.driver-stop.current:before{background:#abcaf8}.driver-stop-row{display:flex;align-items:center;gap:8px;min-height:80px}.driver-stop-toggle{position:relative;min-width:0;flex:1 1;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;min-height:80px;padding:10px 0}.driver-stop-toggle:after{content:"";position:absolute;left:46px;right:0;bottom:0;height:1px;background:#f0f0f2}.driver-stop:last-child .driver-stop-toggle:after{display:none}.driver-stop-number{position:relative;width:36px;height:36px;border:3px solid #fff;background:#979ba3;color:#fff;font-size:13px;font-weight:500}.driver-stop.current .driver-stop-number{background:var(--primary)}.driver-stop[data-stop-status=delivered] .driver-stop-number{background:var(--success)}.driver-stop[data-stop-status=failed] .driver-stop-number{background:var(--danger)}.driver-stop-heading-copy b{font-size:13px;font-weight:500;line-height:1.4}.driver-stop-heading-copy small{font-size:11px;line-height:1.4}.driver-status{font-size:10px;font-weight:500;min-height:22px;padding:3px 6px;border-radius:4px}.driver-stop-toggle .driver-status{display:grid;justify-items:center;gap:3px;grid-column:3;padding:0;background:transparent;color:var(--muted);white-space:normal}.driver-stop-status-mark{width:19px;height:19px;border:1px solid #c7cad0;border-radius:50%;display:grid;place-items:center;font-size:12px}.driver-stop[data-stop-status=delivered] .driver-stop-status-mark{border-color:var(--success);background:var(--success);color:#fff}.driver-stop[data-stop-status=failed] .driver-stop-status-mark{border-color:var(--danger);background:var(--danger);color:#fff}.driver-stop-status-label{font-size:9px}.driver-stop.current .driver-stop-status-mark{border-color:var(--primary);background:#edf4ff}.driver-arrive-button{flex:0 0 auto;min-height:44px;padding:0 10px;font-size:11px}.driver-stop-body{position:relative;margin-left:46px;padding:0 0 14px;gap:8px}.driver-stop-contact{font-size:12px}.driver-link-row a{min-height:44px;padding:6px 10px;background:#f3f4f6;font-size:12px;font-weight:500}.driver-delivery-note{padding:8px 0;border-radius:0;background:transparent;color:var(--muted);font-size:12px}.driver-stop-actions{gap:8px;padding-top:8px}.driver-completion-tabs button,.driver-returnable-form button,.driver-stop-actions button{min-height:44px;font-size:12px;font-weight:500;padding:8px}.driver-action-form label,.driver-returnable-form label{font-weight:500;text-transform:none}.driver-returnable-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.driver-action-form input,.driver-action-form textarea,.driver-returnable-form input,.driver-returnable-form select{min-width:0;max-width:100%;width:100%;font-size:13px}.driver-route-dock{position:fixed;z-index:25;bottom:calc(65px + env(safe-area-inset-bottom));left:0;right:0;max-width:720px;margin:0 auto;padding:12px 16px;border-top:1px solid var(--line);background:#fff}.driver-only .driver-route-dock{bottom:0;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.driver-deliver-button{width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--success);font-size:15px;font-weight:600}.driver-deliver-button svg{width:22px;height:22px}.driver-route-complete{margin:0;padding:14px 0;text-align:center;color:#287546;font-size:14px}.history-guardrail{margin:4px 0 12px;padding:10px 0;border-block:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.5}.app-shell .draft-guardrail{padding:0;border-radius:0;background:transparent;font-weight:500}.session-pending{display:grid;gap:12px}.session-pending h1,.session-pending p{margin:0}.access-blocked .notice{margin:16px 0 8px}.access-blocked-hint{margin:0 0 18px;color:var(--muted);font-size:12px}.app-shell .icon-button,.app-shell .remove-line-button,.app-shell .storage-detail-toggle{display:inline-grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;flex:0 0 44px}.app-shell .notice-meta:not(:has(span:not(.sr-only))){margin:0;padding:0}.app-shell .history-detail-grid div,.app-shell .order-review-row,.app-shell .order-workbench-grid div{min-height:48px;padding:8px 0;border:0;border-radius:0;background:transparent}.app-shell .order-dock-copy>b{font-size:16px;line-height:1.35}.app-shell .order-dock-metrics div{border:0;border-radius:4px}.app-shell .order-dock-actions button{min-width:0;min-height:44px;padding:8px;white-space:normal}.app-shell .draft-actions{align-items:center}.app-shell .storage-card{min-height:44px;padding:8px 0;border:0;border-radius:0;background:transparent}.app-shell .history-detail-panel{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;padding:12px 0 0}.app-shell.tab-auftrag .quick-scan-card button{min-height:44px}.weight-catalog-count{grid-column:1/-1;color:var(--muted);font-size:11px}.weight-pack-barcode{overflow-wrap:anywhere;font-size:12px}.weight-pack-warning{color:var(--danger);font-size:12px}.quantity-input[readonly]{background:var(--soft);color:var(--muted)}.app-shell .search-clear-button{width:44px;height:44px;min-width:44px;min-height:44px}.driver-link-row a{display:inline-flex;align-items:center;gap:6px}.driver-stop-body{scroll-margin-block:16px 160px}.driver-location-sharing{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 0;border-bottom:1px solid var(--line)}.driver-location-sharing>div{min-width:0;flex:1 1;display:grid;gap:3px;font-size:12px}.driver-location-sharing span{overflow-wrap:anywhere}.driver-location-sharing small{color:var(--muted);font-size:11px}.driver-location-sharing button{min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:8px 10px;font-size:12px}.driver-location-sharing .danger{color:var(--danger)}.driver-action-form input[aria-invalid=true],.driver-action-form textarea[aria-invalid=true]{border-color:var(--danger);background:#fff5f5}.driver-delivery-note,.driver-stop-contact,.driver-stop-heading-copy,.driver-stop-toggle{overflow-wrap:anywhere}@media (max-width:600px){.app-shell.tab-auftrag{padding-bottom:calc(224px + env(safe-area-inset-bottom))}.app-shell.tab-auftrag .order-workbench-badges{flex-wrap:wrap;overflow:visible}.app-shell .order-chip{max-width:100%;height:auto;padding:4px 8px;white-space:normal;overflow-wrap:anywhere}.app-shell.tab-auftrag .order-dock{position:fixed;z-index:25;bottom:calc(65px + env(safe-area-inset-bottom));left:0;right:0;width:100%;max-width:720px;margin:0 auto;padding:8px 16px;background:#fff}.app-shell .order-dock-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.app-shell .order-dock-metrics div,.app-shell .order-dock-metrics div:not(.emphasis){display:grid;justify-content:start;min-width:0;padding:6px}.app-shell .order-dock-metrics b,.app-shell .order-dock-metrics div.emphasis b{font-size:12px}.app-shell .order-dock-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.app-shell .cart-line{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.app-shell .cart-controls{min-width:0;width:100%;grid-template-columns:minmax(0,1fr) 44px;gap:8px}.app-shell .price-edit-row{grid-column:1/-1;min-width:0}.app-shell .stepper{justify-self:start}.app-shell .remove-line-button{justify-self:end}.app-shell .history-row{grid-template-columns:minmax(0,1fr);min-height:0}.app-shell .history-meta{justify-items:start;text-align:left}.app-shell .draft-card{display:grid;grid-template-columns:minmax(0,1fr);min-height:0}.app-shell .draft-actions{display:flex;flex-wrap:wrap;justify-content:flex-start}.driver-stop-body{margin-left:36px}.driver-stop-toggle{grid-template-columns:36px minmax(0,1fr) 64px;gap:6px}.driver-stop-status-label{overflow-wrap:normal}.driver-arrive-button{max-width:104px;white-space:normal}.driver-action-form{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important}}