/* Ergänzungen zu style.css (unverändert aus der Demo übernommen).
   Nur, was die echte App zusätzlich braucht: keine Demo-Leiste, Anmeldung, Meldungen,
   deaktivierte Menüpunkte ("kommt bald"), Links statt Knöpfe in der Navigation und
   Breiten/Höhen als Klassen statt Inline-Styles (Content-Security-Policy). */

/* Ohne Demo-Leiste (39 px) volle Höhe */
.workspace{min-height:100vh}
.sidebar{height:100vh}
@media(max-width:700px){.workspace{min-height:100dvh}}

/* Navigation als Links */
.nav-item{text-decoration:none}
.nav-item.soon{cursor:default;opacity:.55}
.nav-item.soon:hover{background:none}
.nav-item.soon small{background:#f0f0ed;color:#8a8a85}
.mobile-nav a,.mobile-nav span.soon{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:9px;color:#9aaa8a;min-width:55px;min-height:46px;text-decoration:none}
.mobile-nav a .icon,.mobile-nav span.soon .icon{width:21px;height:21px}
.mobile-nav a.active{color:#168075}
.mobile-nav a.active:before{content:'';position:absolute;width:20px;height:3px;background:#168075;border-radius:0 0 3px 3px;top:-10px}
.mobile-nav a[data-page="capture"] .icon{background:#ecf7f6;width:34px;height:26px;padding:3px 6px;border-radius:7px;margin-top:-3px}
.mobile-nav span.soon{opacity:.45}

/* Angemeldeter Benutzer in der Kopfzeile (ersetzt den Rollenwähler der Demo) */
.user-chip{display:flex;align-items:center;gap:10px;padding:6px 10px;background:#f7f8f4;border:1px solid #e7ece2;border-radius:6px;font-size:11px;color:#334f3e}
.user-chip .avatar{width:28px;height:28px;font-size:9px}
.user-chip strong{display:block;font-size:11px}
.user-chip small{display:block;font-size:9px;color:#929b95;margin-top:2px}
.user-chip .person-color{font-size:10px}
.top-actions form{margin:0}
.user-card{text-decoration:none}
@media(max-width:700px){.user-chip .user-name{display:none}.user-chip{padding:5px 7px}}

/* Meldungen nach Aktionen: wie der Toast der Demo, aber vom Server */
#toast:empty{display:none}
.notice{display:flex;align-items:flex-start;gap:10px;padding:13px 16px;border-radius:6px;font-size:12px;line-height:1.55;margin:0 0 18px;border:1px solid #e2eceb;background:#f2faf9;color:#12685f}
.notice .icon{width:16px;height:16px;margin-top:1px}
.notice.error{border-color:#efc9a9;background:#fdf4ec;color:#8a4413}
.notice.password{border-color:#e7d39b;background:#fff8e3;color:#6b4a00;font-weight:600}

/* Anmeldung und Passwortwechsel */
.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px}
.login-panel{width:420px;max-width:100%}
.login-panel .login-brand{display:flex;justify-content:center;padding:28px 0 6px}
.login-panel .login-brand img{width:116px;height:90px;object-fit:contain}
.login-panel .page-heading{margin-bottom:6px}
.check-line{flex-direction:row;align-items:center;gap:10px;font-size:12px}
.check-line input{width:18px;height:18px;min-height:0;accent-color:#168075}

/* Filter-Reiter als Links */
.tabs a{font-size:10px;padding:9px 12px;color:#8a9780;border-radius:5px}
.tabs a.active{color:#168075;background:#ecf7f6;font-weight:600}
.focus-item{text-decoration:none}
span.focus-item{cursor:default}

/* Suchfeld ist ein <label>: Symbol und Eingabe nebeneinander */
.search-field{flex-direction:row;gap:8px}
/* Knöpfe und Kürzel in Tabellen kompakt */
td .knopfreihe{flex-wrap:nowrap}
td .btn{min-height:30px;padding:6px 10px;font-size:10px}
td .btn .icon{width:13px;height:13px}
td .person-color{flex-wrap:nowrap;font-size:11px}

/* Formularteile, die die Demo als Dialog hatte */
.form-panel.wide{max-width:1100px}
.step-table td{white-space:normal}
.step-table input{min-height:34px;padding:6px 8px;font-size:11px;width:92px}
.step-table input[type=checkbox]{width:18px;height:18px;min-height:0;accent-color:#168075}
.article-table td{white-space:normal;vertical-align:top}
.article-table td:nth-child(3){min-width:260px}
.inline-form{display:inline}
.knopfreihe{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.detail-panel{padding:24px 26px}
.detail-panel>h3{margin:22px 0 10px}
.detail-side{margin-top:22px}
.detail-side .contributors{margin:12px 22px 20px}
.color-choices .person-color{font-size:12px}
.soon-panel{padding:40px 26px;text-align:center;color:#777773}
.soon-panel .icon{width:30px;height:30px;color:#168075;margin-bottom:12px}

/* Prüfung */
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px}
.inspection-form .btn.full+.btn.full{margin-top:10px}
a.inspection-row{text-decoration:none;color:inherit}
.inspection-row.storniert{opacity:.6}
.storno-box{margin-top:18px;padding:16px;border:1px solid #efc9a9;background:#fdf4ec;border-radius:8px}
.storno-box h3{margin-bottom:8px}
.entry-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.entry-actions .btn{min-height:30px;padding:6px 10px;font-size:10px}

/* Leistung */
.segmented a{padding:8px 13px;border-radius:4px;font-size:11px;color:#8b987d;text-decoration:none;white-space:nowrap}
.segmented a.active{background:#fff;color:#168075;box-shadow:0 1px 3px #28361d12}
.perf-toolbar form{margin:0}
.perf-own{grid-template-columns:minmax(260px,1fr) 3fr}
@media(max-width:1000px){.perf-own{grid-template-columns:1fr}}

/* Büro: Arbeitstage, Positionen, Einstellungen */
.forgotten-panel{margin-bottom:22px;border-color:#efc9a9}
.forgotten-list{display:flex;flex-direction:column;gap:10px;padding:0 22px 20px}
.forgotten-list>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:#3f4b45}
.forgotten-list .btn{margin-left:auto;min-height:32px;padding:6px 12px;font-size:11px}
.period-form{display:flex;align-items:flex-end;gap:8px;margin-left:auto;flex-wrap:wrap}
.period-form label{display:grid;gap:3px;font-size:10px;color:#777773}
.period-form input{min-height:32px;padding:4px 8px;font-size:11px}
.period-form .btn{min-height:32px;padding:6px 12px;font-size:11px}
.buero-hinweis{display:block;margin-top:5px;color:#8a4413}
.interval-row .btn{min-height:38px}
.interval-meta{flex-basis:100%;margin-top:-6px;color:#777773;font-size:10px}
.interval-row{flex-wrap:wrap}
.interval-row label{min-width:120px}
.push-right{margin-left:auto}
.section-actions{display:flex;justify-content:flex-end;gap:10px;margin:0 0 14px}
.readonly-field{display:flex;align-items:center;min-height:42px}
.day-panel{padding:20px 22px;margin-bottom:22px}
.day-picker{margin-bottom:22px}
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}
@media(max-width:700px){.form-grid.three{grid-template-columns:1fr}.period-form{margin-left:0}}
.orange-text{color:#b45f1d}
.work-cell{white-space:normal;max-width:340px}
.attendance-panel td{white-space:normal}
.lock-hint{display:inline-flex;color:#9aa58f;cursor:help}
.lock-hint .icon{width:16px;height:16px}
.interval-row label .optional{white-space:nowrap}
.add-heading{margin-top:18px}
.interval-meta{margin-bottom:6px}
.notice .text-link{text-decoration:underline;color:inherit;font-weight:600}

/* Stammdaten: Kunden- und Artikelkarten, Schritte prüfen */
.customer-card .knopfreihe,.card-top .knopfreihe{gap:10px}
.customer-card .icon-text{text-decoration:none}
.card-bottom .knopfreihe{gap:12px}
.inactive-card{opacity:.7}
.highlight-card{box-shadow:0 0 0 2px #168075}
.article-card h2{overflow-wrap:anywhere}
.article-card>p{white-space:pre-line;overflow-wrap:anywhere}
.card-hints{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;align-items:center}
.klaerung{display:inline-flex;align-items:flex-start;gap:6px;font-size:10px;color:#8a4413;background:#fdf4ec;border:1px solid #efc9a9;border-radius:5px;padding:5px 8px;line-height:1.45}
.klaerung .icon{width:13px;height:13px;flex-shrink:0;margin-top:1px}
.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}
.card-actions .btn{min-height:38px;padding:8px 10px;font-size:11px}
.article-card .steps:empty{margin:10px 0}
.article-toolbar{flex-wrap:wrap;gap:12px}
.article-toolbar label{display:grid;gap:4px;font-size:10px;color:#777773}
.article-toolbar .article-customer select{min-width:260px;min-height:38px;padding:6px 10px;font-size:11px}
.article-toolbar .search-field{display:flex;align-items:center;flex-direction:row;gap:8px}
.article-toolbar .search-field input{width:260px}
.article-toolbar .check-line{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:11px;color:#3f4b45}
.article-toolbar .pill{margin-left:auto}
.confirm-table td{white-space:normal;vertical-align:top}
.confirm-table .description-cell{min-width:280px;max-width:420px}
.confirm-table .description-cell small{display:block;margin-top:6px}
.confirm-table .klaerung{margin-top:6px}
.marked-row td{background:#fff8f1}
.checkboxes.compact{gap:8px 14px;max-width:260px}
.checkboxes.compact label{font-size:10px}
.table-note{padding:0 22px 20px}
.segment{padding:8px 13px;border-radius:4px;font-size:11px;color:#8b987d;text-decoration:none;white-space:nowrap}
.segment.active{background:#fff;color:#168075;box-shadow:0 1px 3px #28361d12}
/* Produktionsziele und Auswertung */
.goal-card .card-actions{margin-top:0}
.goal-card .contributors p{font-size:11px;color:#9aab8c;padding:10px 0}
.revenue-summary strong span{font-size:13px;color:#777773;font-weight:500}
.revenue-customers{padding:0 22px 20px}
.perf-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.perf-toolbar .pill{margin-left:auto}

/* Breiten und Höhen als Klassen (statt style="width:…%") */
.w-0{width:0%}.w-1{width:1%}.w-2{width:2%}.w-3{width:3%}.w-4{width:4%}.w-5{width:5%}.w-6{width:6%}.w-7{width:7%}.w-8{width:8%}.w-9{width:9%}.w-10{width:10%}.w-11{width:11%}.w-12{width:12%}.w-13{width:13%}.w-14{width:14%}.w-15{width:15%}.w-16{width:16%}.w-17{width:17%}.w-18{width:18%}.w-19{width:19%}.w-20{width:20%}.w-21{width:21%}.w-22{width:22%}.w-23{width:23%}.w-24{width:24%}.w-25{width:25%}.w-26{width:26%}.w-27{width:27%}.w-28{width:28%}.w-29{width:29%}.w-30{width:30%}.w-31{width:31%}.w-32{width:32%}.w-33{width:33%}.w-34{width:34%}.w-35{width:35%}.w-36{width:36%}.w-37{width:37%}.w-38{width:38%}.w-39{width:39%}.w-40{width:40%}.w-41{width:41%}.w-42{width:42%}.w-43{width:43%}.w-44{width:44%}.w-45{width:45%}.w-46{width:46%}.w-47{width:47%}.w-48{width:48%}.w-49{width:49%}.w-50{width:50%}.w-51{width:51%}.w-52{width:52%}.w-53{width:53%}.w-54{width:54%}.w-55{width:55%}.w-56{width:56%}.w-57{width:57%}.w-58{width:58%}.w-59{width:59%}.w-60{width:60%}.w-61{width:61%}.w-62{width:62%}.w-63{width:63%}.w-64{width:64%}.w-65{width:65%}.w-66{width:66%}.w-67{width:67%}.w-68{width:68%}.w-69{width:69%}.w-70{width:70%}.w-71{width:71%}.w-72{width:72%}.w-73{width:73%}.w-74{width:74%}.w-75{width:75%}.w-76{width:76%}.w-77{width:77%}.w-78{width:78%}.w-79{width:79%}.w-80{width:80%}.w-81{width:81%}.w-82{width:82%}.w-83{width:83%}.w-84{width:84%}.w-85{width:85%}.w-86{width:86%}.w-87{width:87%}.w-88{width:88%}.w-89{width:89%}.w-90{width:90%}.w-91{width:91%}.w-92{width:92%}.w-93{width:93%}.w-94{width:94%}.w-95{width:95%}.w-96{width:96%}.w-97{width:97%}.w-98{width:98%}.w-99{width:99%}.w-100{width:100%}
.bar.h-0{height:0%}.bar.h-1{height:1%}.bar.h-2{height:2%}.bar.h-3{height:3%}.bar.h-4{height:4%}.bar.h-5{height:5%}.bar.h-6{height:6%}.bar.h-7{height:7%}.bar.h-8{height:8%}.bar.h-9{height:9%}.bar.h-10{height:10%}.bar.h-11{height:11%}.bar.h-12{height:12%}.bar.h-13{height:13%}.bar.h-14{height:14%}.bar.h-15{height:15%}.bar.h-16{height:16%}.bar.h-17{height:17%}.bar.h-18{height:18%}.bar.h-19{height:19%}.bar.h-20{height:20%}.bar.h-21{height:21%}.bar.h-22{height:22%}.bar.h-23{height:23%}.bar.h-24{height:24%}.bar.h-25{height:25%}.bar.h-26{height:26%}.bar.h-27{height:27%}.bar.h-28{height:28%}.bar.h-29{height:29%}.bar.h-30{height:30%}.bar.h-31{height:31%}.bar.h-32{height:32%}.bar.h-33{height:33%}.bar.h-34{height:34%}.bar.h-35{height:35%}.bar.h-36{height:36%}.bar.h-37{height:37%}.bar.h-38{height:38%}.bar.h-39{height:39%}.bar.h-40{height:40%}.bar.h-41{height:41%}.bar.h-42{height:42%}.bar.h-43{height:43%}.bar.h-44{height:44%}.bar.h-45{height:45%}.bar.h-46{height:46%}.bar.h-47{height:47%}.bar.h-48{height:48%}.bar.h-49{height:49%}.bar.h-50{height:50%}.bar.h-51{height:51%}.bar.h-52{height:52%}.bar.h-53{height:53%}.bar.h-54{height:54%}.bar.h-55{height:55%}.bar.h-56{height:56%}.bar.h-57{height:57%}.bar.h-58{height:58%}.bar.h-59{height:59%}.bar.h-60{height:60%}.bar.h-61{height:61%}.bar.h-62{height:62%}.bar.h-63{height:63%}.bar.h-64{height:64%}.bar.h-65{height:65%}.bar.h-66{height:66%}.bar.h-67{height:67%}.bar.h-68{height:68%}.bar.h-69{height:69%}.bar.h-70{height:70%}.bar.h-71{height:71%}.bar.h-72{height:72%}.bar.h-73{height:73%}.bar.h-74{height:74%}.bar.h-75{height:75%}.bar.h-76{height:76%}.bar.h-77{height:77%}.bar.h-78{height:78%}.bar.h-79{height:79%}.bar.h-80{height:80%}.bar.h-81{height:81%}.bar.h-82{height:82%}.bar.h-83{height:83%}.bar.h-84{height:84%}.bar.h-85{height:85%}.bar.h-86{height:86%}.bar.h-87{height:87%}.bar.h-88{height:88%}.bar.h-89{height:89%}.bar.h-90{height:90%}.bar.h-91{height:91%}.bar.h-92{height:92%}.bar.h-93{height:93%}.bar.h-94{height:94%}.bar.h-95{height:95%}.bar.h-96{height:96%}.bar.h-97{height:97%}.bar.h-98{height:98%}.bar.h-99{height:99%}.bar.h-100{height:100%}

/* Prüfstand (keine Demo-Seite; Aufbau wie die Prüfübersicht): je Auftrag eine Karte, je Mitarbeiter (Kürzel) eine Zeile */
.stand-summary{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0 6px;font-size:11px;color:#647263}
.stand-summary strong{font-size:14px;color:#1d1d1b;margin-right:3px}
.stand-list{display:grid;gap:12px;margin:10px 0 4px}
.stand-row{display:grid;gap:7px;padding:12px 0;border-top:1px solid #e5eae1}
.stand-row>strong{font-size:12px;color:#1d1d1b}
.stand-row>small{font-size:11px;color:#647263;line-height:1.5}
.stand-row .btn{margin-top:4px}
.stand-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.stand-progress{height:6px}
.stand-row.offen .stand-progress>span{background:#e6efee}
.stand-row.teilweise .stand-progress>span{background:#4a86b8}
.section-title .pill{margin-left:auto}
@media(max-width:700px){.stand-grid{grid-template-columns:1fr}}
/* Herkunft der geprüften Menge je Kürzel: ein Eintrag je Protokoll (gemeinsame Prüfung mit Verteilung, storniert durchgestrichen) */
.stand-herkunft{list-style:none;margin:2px 0 0;padding:0 0 0 10px;border-left:2px solid #e5eae1;display:grid;gap:6px}
.stand-herkunft li{display:grid;gap:2px;font-size:11px;color:#3f4b45;line-height:1.5}
.stand-herkunft li>a{font-weight:600;color:#168075;text-decoration:underline;text-decoration-color:#b9d9d5}
.stand-herkunft li>span{color:#647263}
.stand-herkunft li.gemeinsam>span{color:#2f5f8f}
.stand-herkunft li.storniert{text-decoration:line-through;color:#9aa58f}
.stand-herkunft li.storniert>span{text-decoration:none;color:#b45f1d}
/* Prüfen-Formular: bereits geprüft / offen je Kürzel, Summe offen als Vorschlag, Warnung über der Vorschau */
.color-choices small{line-height:1.5}
.stand-hint{color:#2f5f8f!important}
.stand-open{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin:0 0 18px;border:1px solid #dce3d9;border-radius:10px;background:#f7f8f4;font-size:12px;color:#3f4b45}
.stand-open>span{display:flex;align-items:center;gap:8px}
.stand-open .icon{width:16px;height:16px;color:#168075}
.stand-open strong{font-size:14px;color:#1d1d1b}
.notice.warn{border-color:#e7d39b;background:#fff8e3;color:#6b4a00}
/* Protokoll: Prüfmenge je Kürzel */
.pruefanteile{padding:0 0 6px}
.pruefanteile>div{gap:12px;flex-wrap:wrap}
.pruefanteile .person-color{font-size:12px}

/* Aufgaben ohne Auftrag (Büro und Mein Tag) */
.task-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px}
.task-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px;margin-bottom:22px}
@media(max-width:1000px){.task-grid{grid-template-columns:1fr}}
.task-list{padding:6px 21px 18px}
.task-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.task-item:last-child{border-bottom:0}
.task-item>div>strong{display:block;font-size:12px;color:#1d1d1b}
.task-item>div>small{display:block;margin:4px 0 6px;color:#777773;font-size:10px}
.task-item>div>p{font-size:11px;color:#3f4b45;line-height:1.5;margin:0 0 8px;white-space:pre-line}
.task-item>div>span{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.task-item>div>span .person-color{font-size:10px}
.task-item.late>div>strong{color:#8a4413}
.task-item.done{opacity:.72}
.task-item.done>div>strong{text-decoration:line-through;text-decoration-color:#9aab8c}
.task-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.task-actions .btn{min-height:32px;padding:6px 10px;font-size:10px}
.task-actions .btn .icon{width:13px;height:13px}
.task-empty{padding:12px 0}
.task-done-form{display:grid;gap:6px;min-width:150px}
.task-done-form input{min-height:34px;padding:6px 9px;font-size:11px}
.task-done-form .btn{min-height:36px;padding:7px 10px;font-size:11px}
.task-done-mark{padding-top:2px}
@media(max-width:700px){.task-item{grid-template-columns:30px minmax(0,1fr)}.task-item .focus-icon{width:30px;height:30px}
  .task-done-form,.task-actions,.task-done-mark{grid-column:2}.task-actions{justify-content:flex-start}}

/* Nachbearbeitungsauftrag (Entscheidung 05.10.2026, Punkt 15): Herkunft am Auftrag und Protokoll, Minderlieferung, Formular */
.badge.purple{background:#f0ecf6;color:#937aa5}
.herkunft-box{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;margin:12px 0 0;border:1px solid #e3dcea;border-radius:10px;background:#f8f6fb;font-size:12px;color:#3f4b45;line-height:1.55}
.herkunft-box .icon{width:16px;height:16px;color:#937aa5;flex-shrink:0}
.herkunft-box>span{flex:1 1 260px}
.herkunft-box .btn{min-height:34px;padding:7px 12px;font-size:11px}
.herkunft-box .text-link,.nacharbeit-list .text-link,.detail-panel p .text-link{color:#168075;text-decoration:underline;text-decoration-color:#b9d9d5;font-weight:600}
.nacharbeit-list li>div>strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nacharbeit-list .badge{margin-left:0}
.abschluss-form{flex-wrap:wrap}
.minderlieferung-box{display:grid;gap:10px;width:100%;padding:14px 16px;border:1px solid #e7d39b;border-radius:10px;background:#fff8e3}
.minderlieferung-box label{display:grid;gap:4px;font-size:11px;color:#6b4a00}
.minderlieferung-box textarea{min-height:56px}
.minderlieferung-box .btn{justify-self:start}
.herkunft-table td{vertical-align:middle}
.herkunft-table input[type=number]{width:110px}
.selected-order .focus-icon.orange{background:#fbf0df;color:#b18b50}
.selected-order .badge,.open-order-list .badge,.day-work-item .badge,.entries-panel td .badge{margin-left:0;font-size:8px;padding:3px 6px}
.open-order-list>div>span .badge{margin-top:4px}
.day-work-item>div>span .badge{margin-left:6px}
.selected-order small .badge{vertical-align:middle;margin-right:4px}
.selected-order .video-link{display:inline-flex;margin-top:8px;min-height:34px;padding:7px 12px;font-size:11px}

/* Doku-Schritte (Verpacken, Auspacken, Serhan 05.10.2026): Block am Auftrag, Hinweis beim Erfassen */
.doku-box{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;margin:12px 0 0;border:1px solid #e3dcea;border-radius:10px;background:#f8f6fb;font-size:12px;color:#3f4b45;line-height:1.55}
.doku-box .icon{width:16px;height:16px;color:#937aa5;flex-shrink:0;margin-top:2px}
.doku-box>span{display:grid;gap:4px}
.doku-box>span>small{color:#777773;font-size:10px;line-height:1.5}
.capture-step-hint.doku-hint .step-numbers{align-items:center}
.capture-step-hint.doku-hint .process-tag{margin-left:auto}

/* Nacharbeit-Nachweis (Serhan 05.10.2026, Punkt 3): am Nachbearbeitungsauftrag und in der Auswertung */
.nachweis{display:grid;grid-template-columns:1.2fr 1.2fr .8fr;gap:16px;margin:12px 0 0;padding:14px 16px;border:1px solid #e3dcea;border-radius:10px;background:#f8f6fb}
.nachweis>div{display:grid;gap:6px;align-content:start}
.nachweis>div>small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#937aa5;font-weight:600}
.nachweis>div>strong{font-size:18px;color:#1d1d1b}
.nachweis>div>.muted{font-size:10px}
.nachweis-zeile{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px}
.nachweis-zeile .person-color{font-size:11px}
.nachweis-zeile strong{color:#1d1d1b}
.nachweis-zeile small{color:#777773;font-size:10px}
.nachweis-table td{white-space:normal;vertical-align:top}
.nachweis-table .nachweis-zeile{margin-bottom:4px}
@media(max-width:1000px){.nachweis{grid-template-columns:1fr}}

/* Leistung mit Zeitplan (Entscheidung 17): Karte und Tagestabelle */
.perf-plan{display:grid;gap:4px;margin:14px 0 0;padding:10px 12px;border-radius:8px;background:#f7f8f4;font-size:11px;color:#3f4b45}
.perf-plan strong{display:flex;align-items:center;gap:6px;font-size:11px}
.perf-plan strong .icon{width:13px;height:13px}
.perf-plan.on{background:#ecf7f6;color:#12685f}
.perf-plan.behind{background:#fdf4ec;color:#8a4413}
.perf-plan small{font-size:10px;line-height:1.5;color:inherit}
.perf-plan small.buero-hinweis{margin-top:0}
.perf-plan-cell{white-space:normal;min-width:170px}
.perf-plan-cell strong{display:block;font-size:11px}
.perf-plan-cell small{display:block;margin-top:3px;font-size:10px;color:#777773;line-height:1.45}
.perf-plan-cell.on strong{color:#12685f}
.perf-plan-cell.behind strong{color:#8a4413}
.perf-table td small.buero-hinweis{display:block;margin-top:3px;font-size:10px}

/* Offline-Erfassung (Entscheidung 18): Zähler im Kopf, Warteschlange auf „Mein Tag“, Offline-Eingänge im Büro */
.offline-zaehler{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:6px;background:#fbf0df;color:#b18b50;border:1px solid #f0dfc2;font-size:11px;font-weight:600;text-decoration:none}
.offline-zaehler .icon{width:15px;height:15px}
.offline-zaehler[hidden]{display:none}
.offline-queue{margin-bottom:22px;border-color:#f0dfc2}
.offline-queue .panel-heading .btn{min-height:34px;padding:7px 12px;font-size:11px}
.offline-list{display:flex;flex-direction:column;gap:10px;padding:16px 22px 20px}
.offline-item{display:flex;align-items:center;gap:12px;font-size:12px;color:#3f4b45}
.offline-item>div{flex:1;min-width:0}
.offline-item strong{display:block;font-size:12px}
.offline-item small{display:block;color:#8a4413;font-size:10px;margin-top:4px;line-height:1.5}
.offline-item.freigabe small{color:#65869d}
.offline-item.abgelehnt small{color:#8a8a85}
.offline-item.abgelehnt strong{text-decoration:line-through;color:#8a8a85}
.offline-item .btn{min-height:32px;padding:6px 12px;font-size:11px;flex-shrink:0}
.offline-hinweis{margin:0 0 18px}
.job-actions+.notice,.shift-hero .notice{margin:18px 0 0;background:#ffffff14;border-color:#ffffff30;color:#eef5e3;position:relative;z-index:1}
.offline-panel{margin-bottom:22px}
.offline-table td{white-space:normal;vertical-align:top}
.konflikt-cell{max-width:320px;color:#8a4413}
.konflikt-cell small{color:#a2ab98}
.offline-actions{margin-bottom:8px}
.offline-reject{display:flex;gap:8px;align-items:center}
.offline-reject input{min-height:32px;padding:5px 9px;font-size:11px;width:220px}
.offline-reject .btn{min-height:32px;padding:6px 10px;font-size:10px}
@media(max-width:700px){.offline-list{padding:14px 16px 16px}.offline-item{flex-wrap:wrap}.offline-item .btn{margin-left:47px}.offline-queue .panel-heading{flex-wrap:wrap}}

/* Kürzel des Mitarbeiters (Entscheidung 19, 06.10.2026): kleines Badge, monospace, Rahmen – überall dort, wo die Demo den Punkt des Mitarbeiters hatte */
.kuerzel{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:22px;padding:0 6px;border:1.5px solid #1d1d1b;border-radius:6px;background:#fff;font:700 12px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em;color:#1d1d1b;flex:0 0 auto}
.kuerzel.gross{min-width:48px;height:40px;font-size:20px;border-width:2px;border-radius:9px}
.person-color .kuerzel+strong{font-weight:600}
td .kuerzel{min-width:24px;height:20px;font-size:11px}
/* Prüfen-Formular: Kacheln je Mitarbeiter mit großem Kürzel, Name darunter, Mengen wie bisher */
.kuerzel-choices>label{grid-template-columns:22px auto minmax(0,1fr);align-items:center;gap:4px 10px}
.kuerzel-choices>label .kuerzel.gross{grid-row:1/3}
.kuerzel-choices>label>strong{grid-column:3;font-size:13px;line-height:1.3}
.kuerzel-choices small{grid-column:3}
.kuerzel-choices input[type=checkbox]{grid-row:1/3}
/* Offene Prüfungen (Entscheidung 20): Tage mit ungeprüften Behältern, Ampel je Tag */
.offen-list{display:grid;gap:10px}
.offen-row{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #dce3d9;border-radius:10px;background:#fff;color:inherit;text-decoration:none}
a.offen-row:hover{border-color:#168075}
.offen-row>i{width:12px;height:12px;border-radius:50%;background:#9aa58f;box-shadow:0 0 0 3px #fff,0 0 0 4px #dce3d9}
.offen-row.rot>i{background:#e03b2f}.offen-row.gelb>i{background:#e3a008}.offen-row.gruen>i{background:#398148}
.offen-row strong{display:block;font-size:13px;color:#1d1d1b}
.offen-row small{display:block;font-size:11px;color:#647263;line-height:1.5}
.offen-row .badge{margin:0}
.offen-erledigt{margin-top:12px}
.offen-erledigt summary{cursor:pointer;font-size:12px;color:#647263;padding:6px 0}
.offen-erledigt .offen-list{margin-top:8px}
.offen-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.offen-metrics{grid-template-columns:1fr 1fr}.offen-metrics>article:last-child{grid-column:1/-1}}
/* Prüfpflicht je Auftrag (Büro): Umschalter in Qualitätsübersicht und Prüfstand */
.pflicht-form{display:inline-flex;gap:8px;align-items:center;margin:0}
.pflicht-form .btn{min-height:30px;padding:6px 10px;font-size:10px}
.pflicht-liste{display:grid}
.pflicht-liste>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e5eae1;font-size:12px}
.pflicht-liste>div:first-child{border-top:0}
.pflicht-liste>div small{display:block;color:#647263}
.pflicht-hinweis{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#6b4a00;background:#fff8e3;border:1px solid #e7d39b;border-radius:8px;padding:4px 8px}
/* Zähler in der Handy-Navigation (offene Prüftage) und Hinweis nach dem Speichern eines Protokolls */
.mobile-nav a{position:relative}
.mobile-nav .nav-zaehler{position:absolute;top:4px;right:calc(50% - 24px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#e03b2f;color:#fff;font-size:9px;font-weight:700;line-height:16px;text-align:center}
.nach-pruefung{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.nach-pruefung .knopfreihe{display:flex;gap:8px;flex-wrap:wrap}
.kuerzel-input{width:5.5em;min-width:5.5em;text-transform:uppercase;font:700 13px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;padding:7px 8px;border:1px solid #dce3d9;border-radius:8px}
td .kuerzel-input{height:30px;padding:4px 6px;font-size:12px}
.pflicht-check{align-items:flex-start;gap:10px}
.pflicht-check>span{display:grid;gap:2px}
.pflicht-check small{font-size:11px;color:#647263;font-weight:400}
.detail-stats .pflicht-form{margin-top:6px}
.stack-form .kuerzel-input{width:100%;min-width:0}
td .kuerzel-input{width:4.2em;min-width:4.2em}

/* Zuweisung je Arbeitsschritt (Entscheidung 21, 07.10.2026): Fläche im Auftragsdetail – Schrittkarten mit Chips,
   Mitarbeiterspalte (sticky), Ablage zum Entfernen; ohne JavaScript Kästchen-Matrix und Speichern-Knopf */
.zuweisung-panel{margin-top:22px}
.zuweisung-panel .panel-heading p{font-size:11px;color:#777773;margin-top:4px;line-height:1.5}
.zuweisung{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;padding:0 22px 22px;align-items:start}
.zuweisung.js .ohne-js{display:none}
.zuweisung:not(.js) .nur-js{display:none}
.zuweisung-schritte{display:grid;gap:12px}
.zuweisung-schritt{border:1px solid #dce3d9;border-radius:10px;padding:12px 14px;background:#fff;display:grid;gap:10px;transition:border-color .15s,box-shadow .15s}
.zuweisung-schritt.leer{border-style:dashed;border-color:#efc9a9;background:#fffaf5}
.zuweisung-schritt.drop-ziel{border-color:#168075;box-shadow:0 0 0 3px #16807522;background:#f2faf9}
.zuweisung-schritt-kopf{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.zuweisung-schritt-kopf strong{font-size:13px;color:#1d1d1b}
.zuweisung-schritt-kopf small{margin-left:auto;color:#647263;font-size:11px}
.zuweisung-schritt-kopf[draggable=true]{cursor:grab}
.zuweisung-chips{display:flex;flex-wrap:wrap;gap:8px;min-height:30px;align-items:center}
.zuweisung-chip{display:inline-flex;align-items:center;gap:8px;padding:3px 6px 3px 3px;border:1px solid #dce3d9;border-radius:999px;background:#f7f8f4;font-size:11px;color:#1d1d1b}
.zuweisung-chip[draggable=true]{cursor:grab}
.zuweisung-chip.dragging,.zuweisung-person.dragging,.zuweisung-schritt.dragging{opacity:.5}
.zuweisung-chip.inaktiv{background:#f0f0ed;color:#8a8a85;border-style:dashed}
.zuweisung-chip small{color:#8a8a85;font-size:10px}
.chip-entfernen{display:inline-flex;align-items:center;justify-content:center;border:0;background:#e9eee6;color:#3f4b45;width:20px;height:20px;border-radius:50%;font-size:14px;line-height:1;cursor:pointer;padding:0}
.chip-entfernen:hover{background:#efc9a9;color:#8a4413}
.zuweisung-leer{font-size:11px;color:#b45f1d;font-style:italic}
.zuweisung-matrix{display:flex;flex-wrap:wrap;gap:6px 16px;padding-top:8px;border-top:1px dashed #e5eae1}
.zuweisung-matrix .check-line{font-size:11px}
.zuweisung-matrix .check-line input{width:16px;height:16px}
.zuweisung-matrix small{color:#8a4413;font-size:10px}
.zuweisung-personen{position:sticky;top:12px;display:grid;gap:8px;align-content:start}
.zuweisung-personen h3{font-size:12px;margin:0 0 2px}
.zuweisung-person{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #dce3d9;border-radius:10px;background:#fff;font-size:11px;transition:border-color .15s,box-shadow .15s}
.zuweisung-person[draggable=true]{cursor:grab}
.zuweisung-person>span{min-width:0}
.zuweisung-person strong{display:block;font-size:12px;color:#1d1d1b}
.zuweisung-person small{display:block;color:#647263;font-size:10px;margin-top:2px;line-height:1.4}
.zuweisung-person.inaktiv{opacity:.65;background:#f0f0ed;cursor:not-allowed}
.zuweisung-person.inaktiv em{font-style:normal;color:#8a4413;font-weight:400;font-size:10px;margin-left:4px}
.zuweisung-person.ausgewaehlt,.zuweisung-person.drop-ziel{border-color:#168075;box-shadow:0 0 0 3px #16807522;background:#f2faf9}
.zuweisung-ablage{display:flex;align-items:center;gap:8px;padding:10px;border:1px dashed #dce3d9;border-radius:10px;color:#8a8a85;font-size:11px;min-height:42px}
.zuweisung-ablage .icon{width:14px;height:14px}
.zuweisung-ablage.drop-ziel{border-color:#e03b2f;color:#8a4413;background:#fdf4ec}
.zuweisung.abgeschlossen .zuweisung-schritt,.zuweisung.abgeschlossen .zuweisung-person,.zuweisung.abgeschlossen .zuweisung-chip{cursor:not-allowed}
.zuweisung-speichern{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.zuweisung-personen>.muted{font-size:11px;line-height:1.5}
.zuweisung-zelle{white-space:normal}
.zuweisung-zelle .person-color{margin-right:4px}
.detail-side-oben{margin-top:0}
/* Mein Tag: „Meine Arbeitsschritte“ – Schritte je Auftrag als Marken, verlinkt aufs Erfassen mit vorgewähltem Schritt */
.meine-schritte{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.meine-schritte a{text-decoration:none}
@media(max-width:1000px){.zuweisung{grid-template-columns:1fr}.zuweisung-personen{position:static}}
@media(max-width:700px){.zuweisung{padding:0 16px 16px}}

/* Seiten je Prozess (Planung 07.10.2026, G.3/G.5): Prozessblöcke in Artikel- und Auftragsformularen.
   Kopfzeilen-Kästchen der Auftragsformulare gibt es nur mit JavaScript (.nur-js); ohne JavaScript steht der Prozessname (.ohne-js). */
.prozess-bloecke{display:flex;flex-direction:column;gap:10px}
.prozess-block{border:1px solid #e4eadb;border-radius:7px;padding:10px 12px;background:#fbfcf8}
.prozess-block.aus{background:#fafaf8}
.prozess-block.aus .bereiche{opacity:.55}
div.prozess-kopf{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.prozess-name{font-size:12px}
.prozess-name strong{font-size:12px}
.bereiche{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:11px}
.bereiche .check-line{font-size:11px;gap:6px}
.bereiche .check-line input{width:16px;height:16px}
.bereiche-titel{font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:#97a19a}
.bereiche .ohne-seite{margin-left:6px;padding-left:14px;border-left:1px solid #e4eadb}
.prozess-matrix .nur-js,.prozess-bloecke .nur-js{display:none}
.prozess-matrix.js .nur-js,.prozess-bloecke.js .nur-js{display:flex}
.prozess-matrix.js .ohne-js,.prozess-matrix.js tr.prozess-kopf .ohne-js{display:none}
.prozess-matrix tbody.prozess-block{border:0;padding:0;background:none}
.prozess-matrix tr.prozess-kopf td{background:#f6f8f1;border-top:2px solid #e4eadb;padding:9px 12px}
.prozess-matrix tr.prozess-kopf td>*{vertical-align:middle}
.prozess-matrix tr.prozess-kopf .prozess-name{display:inline-flex;margin-right:18px}
.prozess-matrix tr.prozess-kopf .bereiche{display:none}
.prozess-matrix.js tr.prozess-kopf .bereiche{display:inline-flex}
.prozess-matrix tbody.prozess-block.aus tr.prozess-kopf td{background:#fafaf8}
.prozess-matrix tbody.rest tr.prozess-kopf .bereiche-titel{margin-left:14px}
.prozess-matrix tr[hidden]{display:none}
.prozess-matrix td small{display:block;margin-top:3px}
@media(max-width:700px){div.prozess-kopf{gap:10px}.bereiche{gap:10px}}

/* Einladungsseite zum Go-live (Planung N.3): Hülle wie die Anmeldung, Benutzername groß */
.einladung-panel{width:480px}
.einladung-panel .form-grid{margin-bottom:18px}
.einladung-benutzername{display:grid;gap:6px;justify-items:center;text-align:center;padding:22px 16px;margin:0 0 18px;border:1px solid #cfe3df;background:#f2faf9;border-radius:10px}
.einladung-benutzername span{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:#6f8a84}
.einladung-benutzername strong{font:700 26px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em;color:#12685f;word-break:break-all}
.einladung-benutzername small{font-size:11px;color:#647263;display:flex;align-items:center;gap:6px}
.notice.warn code{font:600 11px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#fff2c9;padding:1px 5px;border-radius:4px}
/* Prüfen: Fehlerzeile mit Arbeitsschritt (Entscheidung 33) – fünf Spalten statt vier; style.css bleibt unverändert */
.defect-row.mit-schritt{grid-template-columns:minmax(0,1fr) 100px minmax(0,1.4fr) minmax(0,1.2fr) 32px}
.allocation-table td.je-schritt{font-size:11px;line-height:1.7;white-space:nowrap}
.allocation-table td.je-schritt span{display:block;color:#647263}
.allocation-table td.je-schritt b{color:#1d1d1b}
.fehlerzeilen .schritt-tag{font-size:11px;padding:2px 8px;border:1px solid #dce3d9;border-radius:999px;background:#fff;color:#4c6740}
@media(max-width:700px){
 .defect-row.mit-schritt{grid-template-columns:minmax(0,1fr) 90px}
 .defect-row.mit-schritt>label:nth-child(3){grid-column:1/-1}
 .defect-row.mit-schritt>label:nth-child(4){grid-column:1}
}
