.production-module{max-width:1500px;margin:auto;color:#282b27}
.prod-heading,.prod-today header{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.prod-heading h1{font-size:1.35rem;margin:8px 0}.prod-heading>div{display:flex;gap:6px;flex-wrap:wrap}
.production-module button,.production-module select,.production-module input{min-height:32px;padding:5px 9px;font-size:.82rem}
.prod-today{margin:10px 0 16px;padding:10px 12px;background:#f1f7f4;border:1px solid #d3e1d9;border-radius:8px}
.prod-today h2{font-size:1.05rem;margin:0 0 6px}.prod-today h2 span{font-size:.85rem;color:#526777;margin-left:8px}.prod-today header>small{font-size:.75rem}
.prod-tabs,.prod-periods{display:flex;gap:5px;margin:8px 0;flex-wrap:wrap}.prod-tabs button,.prod-periods button{background:#e8eeeb;color:#284e45}.prod-tabs button.active,.prod-periods button.active{background:#687b5b;color:white}
.prod-explainer{font-size:.78rem;color:#526777;margin:6px 0}
.prod-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:8px;margin:8px 0}.prod-filters label{display:grid;gap:2px;font-size:.72rem;margin:0;min-width:0}.prod-filters input,.prod-filters select{width:100%;margin:0;min-width:0}
.prod-group{border:1px solid #d9e2dd;border-radius:6px;margin:6px 0;background:#fff;overflow:hidden}.prod-group summary{cursor:pointer;padding:7px 10px;font-size:.85rem;font-weight:750;background:#eef3f0}.prod-group summary span{color:#526777}
.prod-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px;padding:10px;background:#f5f7f6;align-items:start}
.prod-menu-section{--menu-accent:#397b73;--menu-soft:#edf6f3;min-width:0;border:1px solid #d9e2dd;border-top:4px solid var(--menu-accent);border-radius:9px;overflow:hidden;background:#fff;box-shadow:0 2px 6px #282b2708}
.prod-menu-section .prod-plan-line{grid-template-columns:minmax(0,1fr) 40px 38px;gap:5px}
.prod-menu-section .prod-menu,.prod-menu-section .prod-area,.production-module .prod-column-head{display:none}
.prod-menu-section .prod-line .prod-mobile-meta{display:block}
.prod-menu-section .prod-order-line{grid-template-columns:minmax(0,1fr) 40px 102px;gap:3px 5px}
.prod-menu-section .prod-order-line .prod-date{grid-column:1;grid-row:2;font-size:.68rem}
.prod-menu-section .prod-order-line>div:nth-child(3){grid-column:2;grid-row:1}
.prod-menu-section .prod-order-line>div:nth-child(4){grid-column:3;grid-row:1}
.prod-menu-section{--menu-accent:var(--accent,#687b5b);--menu-soft:#f3f4ed;border-color:var(--border,#e3e0d8);border-top-color:var(--menu-accent);border-radius:15px;background:var(--surface,#fff);box-shadow:0 9px 26px #282b270a}
.prod-menu-tone-1{--menu-accent:#687b5b;--menu-soft:#f1f4eb}.prod-menu-tone-2{--menu-accent:#75816a;--menu-soft:#f2f1eb}.prod-menu-tone-3{--menu-accent:#879979;--menu-soft:#f3f5ed}
.prod-rows{background:var(--surface-soft,#f7f5f0);gap:16px;padding:12px}
.prod-group{border-color:var(--border,#e3e0d8);border-radius:15px}
.prod-group summary{background:linear-gradient(120deg,#eeeee5,#f7f5f0);color:var(--ink,#282b27)}
.prod-today{border-color:#e3e0d8;border-radius:16px;background:linear-gradient(120deg,#f0f3ea,#f7f5f0)}
.prod-menu-divider{background:linear-gradient(120deg,var(--menu-soft),#faf9f5)}
.prod-menu-divider{background:var(--menu-soft);padding:9px 10px;font-size:.85rem;color:#284252}
.prod-menu-divider>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.prod-menu-divider strong{font-weight:800}.prod-menu-divider span{font-size:.7rem;color:#526777}
.prod-line{display:grid;align-items:center;gap:8px;padding:3px 9px;min-height:36px;border-top:1px solid #e6ece8;font-size:.82rem}.prod-plan-line{grid-template-columns:minmax(140px,2fr) minmax(100px,1.5fr) minmax(85px,1fr) 44px 42px}.prod-order-line{grid-template-columns:minmax(140px,1fr) 100px 44px 115px}
.prod-line>div{min-width:0;overflow-wrap:anywhere}.prod-title strong{font-size:.83rem;line-height:1.25;font-weight:650}.prod-title small{display:block;font-size:.7rem;line-height:1.2;color:#526777}.prod-menu{font-size:.75rem;line-height:1.25}.prod-column-head{font-size:.72rem;font-weight:700;color:#526777}
.prod-title-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.prod-title-head strong{min-width:0}.prod-edit{flex:0 0 auto;min-height:30px;padding:4px 8px;border:1px solid var(--border,#d9d6cc);border-radius:8px;background:var(--surface,#fff);color:var(--accent,#687b5b);font-size:.7rem;font-weight:750}.prod-edit:hover{background:var(--surface-soft,#f4f1e9)}
.prod-line .prod-mobile-meta{display:none}.prod-comment,.prod-add{background:transparent;color:#687b5b;border:1px solid #d5e1db;border-radius:5px;min-width:34px;white-space:nowrap}.prod-comment span{font-size:.7rem;margin-left:2px}.prod-line.is-selected{background:#fff6d9}.prod-add:disabled{opacity:1;color:#8d6810;background:#ffebaa}
.prod-status{font-size:.75rem;border-radius:5px;padding:5px;display:inline-block;width:100%;border:1px solid #d4e0da}.prod-status.open{background:#fff4ce;color:#72550e}.prod-status.in_progress{background:#e0efff;color:#164d83}.prod-status.done{background:#dff3e4;color:#1c6134}
.prod-date{font-size:.75rem}.prod-date small{display:block}.prod-date.overdue{color:#a13025}.prod-empty{font-size:.82rem;padding:8px;color:#526777;margin:0}
.prod-dialog{width:min(520px,calc(100vw - 24px));max-height:85dvh;border:0;border-radius:12px;padding:22px;color:#282b27}.prod-dialog::backdrop{background:#122d4055}.prod-dialog h2{font-size:1.2rem;margin-top:0}.prod-dialog textarea{width:100%;box-sizing:border-box}.prod-dialog label{display:grid;gap:5px;margin:10px 0}.prod-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.prod-comment-history{max-height:35vh;overflow:auto}.prod-comment-history article{padding:8px;background:#f0f5f2;border-bottom:1px solid #d4e0d9}.prod-comment-history p{white-space:pre-wrap;margin:0 0 3px}.prod-error{color:#a13025}
.overview-todos .prod-group{width:100%}.overview-todos .prod-order-line{grid-template-columns:minmax(100px,1fr) 80px 40px 100px}
.mobile-production-workflow{display:none}
@media(max-width:700px){.prod-filters{grid-template-columns:1fr 1fr}.prod-column-head,.prod-menu,.prod-area{display:none}.prod-plan-line{grid-template-columns:minmax(0,1fr) 44px 40px}.prod-line .prod-mobile-meta{display:block}.prod-order-line,.overview-todos .prod-order-line{grid-template-columns:minmax(0,1fr) 42px 102px}.prod-order-line .prod-date{grid-column:1;grid-row:auto;font-size:.68rem;margin-top:-3px}.prod-order-line>div:nth-child(3){grid-column:2;grid-row:1}.prod-order-line>div:nth-child(4){grid-column:3;grid-row:1}.prod-line{gap:3px 5px;padding:4px 7px}.prod-today{padding:8px}.prod-heading h1{font-size:1.2rem}.prod-title small{font-size:.7rem}.production-module{min-width:0}.prod-dialog{padding:16px}}
@media(max-width:700px){
 .mobile-production-workflow{display:block;max-width:520px;margin:0 auto;color:var(--ink,#282b27);padding:2px 0 20px}
 .mobile-prod-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 14px}.mobile-prod-header span{display:block;color:var(--muted,#6e716a);font-size:.76rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.mobile-prod-header h1{margin:2px 0 0;font-size:1.7rem;line-height:1.1}.mobile-prod-head-actions{display:flex;align-items:center;gap:7px}.mobile-prod-plan-button{min-height:44px;border:1px solid #cdd5c5;border-radius:14px;background:#eef2e9;color:var(--accent,#687b5b);padding:0 12px;font-weight:800}.mobile-prod-refresh{width:44px;height:44px;border:1px solid var(--border,#e3e0d8);border-radius:50%;background:var(--surface,#fff);color:var(--accent,#687b5b);font-size:1.25rem;padding:0;flex:0 0 auto}
 .mobile-prod-periods{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;border:1px solid var(--border,#e3e0d8);border-radius:16px;background:var(--surface,#fff);margin-bottom:14px}.mobile-prod-periods button{min-height:42px;border:0;border-radius:12px;background:transparent;color:var(--muted,#6e716a);font-weight:750}.mobile-prod-periods button.active{background:var(--accent,#687b5b);color:#fff;box-shadow:0 5px 14px #687b5b33}
 .mobile-prod-content{min-height:360px}.mobile-prod-progress{margin:0 2px 12px}.mobile-prod-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px;font-size:.75rem}.mobile-prod-progress span{color:var(--muted,#6e716a)}.mobile-prod-progress [role=progressbar]{height:7px;border-radius:99px;background:#e8e9e3;overflow:hidden}.mobile-prod-progress [role=progressbar] span{display:block;height:100%;border-radius:inherit;background:var(--accent,#687b5b);transition:width .2s ease}.mobile-prod-focus,.mobile-prod-detail,.mobile-prod-work,.mobile-prod-finish,.mobile-prod-empty,.mobile-prod-plan{border:1px solid var(--border,#e3e0d8);border-radius:22px;background:var(--surface,#fff);box-shadow:0 12px 32px #282b270c;padding:19px}.mobile-prod-kicker{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.mobile-prod-kicker span,.mobile-prod-work-state{color:var(--accent,#687b5b);font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.mobile-prod-kicker strong{border-radius:999px;background:#f0f3ea;color:#52604b;padding:6px 9px;font-size:.72rem}.mobile-prod-focus h2,.mobile-prod-detail h2,.mobile-prod-work h2,.mobile-prod-finish h2{font-family:var(--font-display,Georgia,serif);font-size:1.52rem;line-height:1.15;margin:0;color:var(--ink,#282b27);overflow-wrap:anywhere}.mobile-prod-focus-title{display:grid;grid-template-columns:66px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:12px}.mobile-prod-focus-amount,.mobile-prod-detail-amount,.mobile-prod-amount{display:grid;place-items:center;align-content:center;border-radius:15px;background:#f5d986;color:#34372f;text-align:center;line-height:1;min-width:0}.mobile-prod-focus-amount,.mobile-prod-detail-amount{width:66px;min-height:62px}.mobile-prod-amount{width:58px;min-height:54px}.mobile-prod-focus-amount strong,.mobile-prod-detail-amount strong,.mobile-prod-amount strong{font-size:1rem;overflow-wrap:anywhere;max-width:100%}.mobile-prod-focus-amount small,.mobile-prod-detail-amount small,.mobile-prod-amount small{font-size:.62rem;font-weight:800;margin-top:4px;color:#55513e;text-transform:none}
 .mobile-prod-meta{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px}.mobile-prod-meta span{border-radius:999px;background:var(--surface-soft,#f7f5f0);border:1px solid var(--border,#e3e0d8);padding:6px 9px;font-size:.72rem;color:var(--muted,#6e716a)}.mobile-prod-meta .is-overdue{background:#fff1e9;border-color:#efc8b5;color:#92462b}.mobile-prod-description{white-space:pre-wrap;color:var(--muted,#6e716a);font-size:.9rem;line-height:1.55;margin:0 0 16px}
 .mobile-prod-primary{width:100%;min-height:52px;border:0;border-radius:15px;background:var(--accent,#687b5b);color:#fff;font-weight:800;font-size:.94rem;display:flex;align-items:center;justify-content:center;gap:10px}.mobile-prod-primary span{font-size:1.15rem}.mobile-prod-primary:disabled{opacity:.6}.mobile-prod-all{margin-top:13px;border:1px solid var(--border,#e3e0d8);border-radius:18px;background:var(--surface,#fff);overflow:hidden}.mobile-prod-all h3{display:flex;align-items:center;justify-content:space-between;margin:0;padding:14px 15px;font-size:.82rem}.mobile-prod-all h3 span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:99px;background:#eef1e8;color:var(--accent,#687b5b);font-size:.7rem}.mobile-prod-list{border-top:1px solid var(--border,#e3e0d8)}.mobile-prod-list-row{width:100%;min-height:76px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:11px;align-items:center;text-align:left;border:0;border-bottom:1px solid var(--border,#e3e0d8);border-radius:0;background:var(--surface,#fff);color:var(--ink,#282b27);padding:10px 12px}.mobile-prod-list-row:last-child{border-bottom:0}.mobile-prod-list-row.is-active{background:#f2f4ec}.mobile-prod-list-row.is-done{background:#f7f7f3;color:var(--muted,#6e716a)}.mobile-prod-list-row.is-done .mobile-prod-amount{background:#e3eadc}.mobile-prod-list-row strong,.mobile-prod-list-row small{display:block}.mobile-prod-list-row strong{font-size:.88rem;line-height:1.25;overflow-wrap:anywhere}.mobile-prod-list-row small{font-size:.69rem;color:var(--muted,#6e716a);margin-top:4px;line-height:1.3}.mobile-prod-row-state{font-size:.68rem;font-weight:850;color:var(--accent,#687b5b);white-space:nowrap}
 .mobile-prod-back{min-height:44px;border:0;background:transparent;color:var(--accent,#687b5b);padding:0 0 12px;font-weight:750}.mobile-prod-detail-head{display:grid;grid-template-columns:66px minmax(0,1fr);gap:12px;align-items:center}.mobile-prod-detail-head small{color:var(--muted,#6e716a);font-weight:750}.mobile-prod-info{background:var(--surface-soft,#f7f5f0);border-radius:14px;padding:13px;margin:10px 0}.mobile-prod-info strong{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--accent,#687b5b)}.mobile-prod-info p{white-space:pre-wrap;margin:5px 0 0;font-size:.86rem;line-height:1.5}.mobile-prod-actions{display:grid;gap:9px;margin-top:16px}.mobile-prod-actions .secondary,.mobile-prod-recipe{min-height:46px;border-radius:14px}.mobile-prod-readonly{text-align:center;color:var(--muted,#6e716a)}
 .mobile-prod-work-state{display:flex;align-items:center;gap:8px;margin-bottom:13px}.mobile-prod-pulse{width:9px;height:9px;border-radius:50%;background:#d9963b;box-shadow:0 0 0 5px #d9963b22}.mobile-prod-work{border-top:5px solid #d9963b}.mobile-prod-work-actions{display:grid;gap:9px;margin-top:18px}.mobile-prod-work-actions .secondary{min-height:46px;border-radius:14px}.mobile-prod-done{background:#526a49}.mobile-prod-finish{text-align:center}.mobile-prod-finish-icon,.mobile-prod-empty>span{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;margin:2px auto 10px;background:#e7efe0;color:#526a49;font-size:1.8rem;font-weight:900}.mobile-prod-finish>small{color:#526a49;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.mobile-prod-finish p,.mobile-prod-empty p{color:var(--muted,#6e716a)}.mobile-prod-next{text-align:left;display:grid;gap:3px;margin:18px 0;padding:13px;border-radius:14px;background:var(--surface-soft,#f7f5f0)}.mobile-prod-next small{color:var(--accent,#687b5b);font-weight:800;text-transform:uppercase}.mobile-prod-next span{font-size:.75rem;color:var(--muted,#6e716a)}.mobile-prod-empty{text-align:center;padding:32px 20px}.mobile-prod-empty h2{margin:0;font-size:1.3rem}.mobile-prod-complete{display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center;margin-bottom:12px;padding:13px;border-radius:16px;background:#e7efe0;color:#3f553a}.mobile-prod-complete>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#526a49;color:#fff;font-size:1.25rem;font-weight:900}.mobile-prod-complete strong,.mobile-prod-complete small{display:block}.mobile-prod-complete small{margin-top:3px;color:#647061;font-size:.72rem}.mobile-prod-plan-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mobile-prod-plan-head small{color:var(--muted,#6e716a);font-weight:750}.mobile-prod-plan-head h2{margin:2px 0 0;font-family:var(--font-display,Georgia,serif);font-size:1.55rem}.mobile-prod-plan-head>span{border-radius:99px;background:#eef1e8;color:var(--accent,#687b5b);padding:6px 9px;font-size:.7rem;font-weight:800}.mobile-prod-plan>p{color:var(--muted,#6e716a);font-size:.84rem;line-height:1.45}.mobile-prod-plan-sections{display:grid;gap:13px;margin-top:15px}.mobile-prod-plan-section{border:1px solid var(--border,#e3e0d8);border-radius:17px;overflow:hidden;background:var(--surface,#fff)}.mobile-prod-plan-section>header{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;background:#eef1e8;color:#465240}.mobile-prod-plan-section>header strong{font-family:var(--font-display,Georgia,serif);font-size:1rem}.mobile-prod-plan-section>header span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:99px;background:#fff;color:var(--accent,#687b5b);font-size:.68rem;font-weight:850}.mobile-prod-plan-list{display:grid}.mobile-prod-plan-list article{display:grid;grid-template-columns:minmax(0,1fr) 44px auto;gap:7px;align-items:center;padding:10px;border-bottom:1px solid var(--border,#e3e0d8);background:var(--surface,#fff)}.mobile-prod-plan-list article:last-child{border-bottom:0}.mobile-prod-plan-list strong,.mobile-prod-plan-list small{display:block}.mobile-prod-plan-list strong{font-size:.82rem;line-height:1.25;overflow-wrap:anywhere}.mobile-prod-plan-list small{margin-top:3px;color:var(--muted,#6e716a);font-size:.67rem}.mobile-prod-plan-list button{min-height:44px;border:0;border-radius:12px;background:var(--accent,#687b5b);color:#fff;padding:0 10px;font-size:.7rem;font-weight:800;white-space:nowrap}.mobile-prod-plan-list button:disabled{background:#e2e6dd;color:#66715f}.mobile-prod-plan-list .mobile-prod-plan-comment{position:relative;width:44px;padding:0;background:#f2f0e9;color:#586251;font-size:1rem}.mobile-prod-plan-list .mobile-prod-plan-comment.has-comment{background:#f5d986;color:#34372f}.mobile-prod-plan-comment span{position:absolute;right:-3px;top:-3px;display:grid;place-items:center;min-width:18px;height:18px;border-radius:99px;background:#526a49;color:#fff;font-size:.6rem}
 .mobile-prod-tomorrow{display:grid;gap:12px}.mobile-prod-tomorrow>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mobile-prod-tomorrow>header small{display:block;color:var(--muted,#6e716a);font-weight:750}.mobile-prod-tomorrow>header h2{margin:2px 0 0;font-family:var(--font-display,Georgia,serif);font-size:1.55rem}.mobile-prod-tomorrow>header>strong{border-radius:99px;background:#eef1e8;color:var(--accent,#687b5b);padding:7px 10px;font-size:.72rem}.mobile-prod-tomorrow-summary{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;padding:12px;border-radius:15px;background:#eef3e8}.mobile-prod-tomorrow-summary>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#526a49;color:#fff;font-weight:900}.mobile-prod-tomorrow-summary strong,.mobile-prod-tomorrow-summary small{display:block}.mobile-prod-tomorrow-summary small{margin-top:3px;color:var(--muted,#6e716a);font-size:.7rem}.mobile-prod-edit-plan{min-height:48px;border:1px solid #cdd5c5;border-radius:14px;background:var(--surface,#fff);color:var(--accent,#687b5b);font-weight:850}.mobile-prod-tomorrow-sections{display:grid;gap:11px}.mobile-prod-tomorrow-sections>section{border:1px solid var(--border,#e3e0d8);border-radius:17px;overflow:hidden;background:var(--surface,#fff)}.mobile-prod-tomorrow-sections>section>header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#eef1e8;color:#465240}.mobile-prod-tomorrow-sections>section>header strong{font-family:var(--font-display,Georgia,serif);font-size:.95rem}.mobile-prod-tomorrow-sections>section>header span{display:grid;place-items:center;min-width:23px;height:23px;border-radius:99px;background:#fff;color:var(--accent,#687b5b);font-size:.66rem;font-weight:850}.mobile-prod-tomorrow-sections article{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;border-bottom:1px solid var(--border,#e3e0d8)}.mobile-prod-tomorrow-sections article:last-child{border-bottom:0}.mobile-prod-tomorrow-row{width:100%;min-height:74px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;border:0;background:var(--surface,#fff);color:var(--ink,#282b27);padding:9px 8px 9px 10px}.mobile-prod-tomorrow-row strong,.mobile-prod-tomorrow-row small{display:block}.mobile-prod-tomorrow-row strong{font-size:.82rem;line-height:1.25;overflow-wrap:anywhere}.mobile-prod-tomorrow-row small{margin-top:3px;color:var(--muted,#6e716a);font-size:.67rem}.mobile-prod-tomorrow-comment{position:relative;min-height:44px;align-self:center;width:40px;border:0;border-radius:12px;background:#f2f0e9;color:#586251;font-size:1rem;padding:0}.mobile-prod-tomorrow-comment.has-comment{background:#f5d986;color:#34372f}.mobile-prod-tomorrow-comment span{position:absolute;right:-3px;top:-3px;display:grid;place-items:center;min-width:18px;height:18px;border-radius:99px;background:#526a49;color:#fff;font-size:.6rem}.mobile-prod-tomorrow-empty{border:1px solid var(--border,#e3e0d8);border-radius:22px;background:var(--surface,#fff);padding:28px 19px;text-align:center}.mobile-prod-tomorrow-empty>span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 10px;border-radius:50%;background:#f5d986;color:#474434;font-size:1.55rem}.mobile-prod-tomorrow-empty h2{margin:0;font-family:var(--font-display,Georgia,serif)}.mobile-prod-tomorrow-empty p{color:var(--muted,#6e716a);line-height:1.45}
 .mobile-prod-success{position:fixed;z-index:1200;left:50%;bottom:calc(88px + env(safe-area-inset-bottom,0px));width:min(calc(100% - 28px),390px);display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center;padding:13px 15px;border:1px solid #b9c9b2;border-radius:17px;background:#f4f8ef;color:#34472f;box-shadow:0 16px 38px #2835232b;pointer-events:none;opacity:0;transform:translate(-50%,12px);transition:opacity .18s ease,transform .18s ease}.mobile-prod-success.show{opacity:1;transform:translate(-50%,0)}.mobile-prod-success>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#526a49;color:#fff;font-size:1.3rem;font-weight:900}.mobile-prod-success strong,.mobile-prod-success small{display:block}.mobile-prod-success strong{font-family:var(--font-display,Georgia,serif);font-size:1.02rem}.mobile-prod-success small{margin-top:3px;color:#5e6c59;font-size:.78rem;line-height:1.3;overflow-wrap:anywhere}
}

@media(max-width:700px) and (prefers-reduced-motion:reduce){.mobile-prod-success{transition:none}}

/* V108: getrennte mobile Produktionsarbeit nach dem freigegebenen KIRA-Ablauf. */
.desktop-production-overview .prod-heading{align-items:flex-start}.desktop-production-overview .prod-heading p{margin:5px 0 0;color:var(--muted,#6e716a)}
.desktop-production-overview .prod-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
@media(max-width:700px){
 .mobile-production-workflow{max-width:520px;padding:0 0 18px}.mobile-production-workflow button{touch-action:manipulation}
 .mobile-prod-home-head{padding:4px 3px 16px}.mobile-prod-home-head h1{margin:4px 0 2px;font-family:var(--font-display,Georgia,serif);font-size:1.75rem}.mobile-prod-home-head p{margin:0;color:var(--muted,#6e716a)}
 .mobile-prod-home-actions{display:grid;gap:12px}.mobile-prod-home-actions>button{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:13px;align-items:center;min-height:92px;padding:14px;border:1px solid var(--border,#e3e0d8);border-radius:18px;background:var(--surface,#fff);color:var(--ink,#282b27);text-align:left;box-shadow:0 8px 24px #4542380c}.mobile-prod-home-actions>button>span:first-child{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:linear-gradient(145deg,#315d4d,#58745c);color:#fff;font-size:1.4rem}.mobile-prod-home-actions strong,.mobile-prod-home-actions small{display:block}.mobile-prod-home-actions strong{font-size:1rem}.mobile-prod-home-actions small{margin-top:4px;color:var(--muted,#6e716a);font-size:.74rem;line-height:1.35}.mobile-prod-home-actions i{font-size:1.5rem;font-style:normal;color:var(--accent,#687b5b)}.mobile-prod-home-actions b{position:absolute;right:13px;top:10px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:#e6ebdf;color:#526749;font-size:.68rem}
 .mobile-prod-quick{margin-top:22px}.mobile-prod-quick h2{margin:0 0 10px;font-family:var(--font-display,Georgia,serif);font-size:1.05rem}.mobile-prod-quick>button{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:62px;margin:8px 0;padding:10px 12px;border:1px solid var(--border,#e3e0d8);border-radius:15px;background:var(--surface,#fff);color:var(--ink,#282b27);text-align:left;box-shadow:none}.mobile-prod-quick>button>span:first-child{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf1e8;color:#526749;font-size:1rem}.mobile-prod-quick strong,.mobile-prod-quick small{display:block}.mobile-prod-quick strong{font-size:.86rem}.mobile-prod-quick small{margin-top:2px;color:var(--muted,#6e716a);font-size:.68rem}.mobile-prod-quick i{color:var(--accent,#687b5b);font-size:1.25rem;font-style:normal}
 .mobile-prod-page-head{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;align-items:start;margin-bottom:12px}.mobile-prod-page-head>button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:12px;background:#eef1e8;color:#526749;font-size:1.15rem}.mobile-prod-page-head h1{margin:0;font-family:var(--font-display,Georgia,serif);font-size:1.48rem}.mobile-prod-page-head p{margin:3px 0 0;color:var(--muted,#6e716a);font-size:.75rem;text-transform:capitalize}
 .mobile-prod-progress{position:relative;margin:0 0 11px;padding:12px 13px 29px;border:1px solid var(--border,#e3e0d8);border-radius:15px;background:var(--surface,#fff)}.mobile-prod-progress>div:first-child{display:flex;justify-content:space-between;gap:12px}.mobile-prod-progress>div:first-child span,.mobile-prod-progress>div:first-child strong{font-size:.7rem}.mobile-prod-progress>div[role=progressbar]{height:9px;margin-top:8px;border-radius:99px;background:#e9ebe5;overflow:hidden}.mobile-prod-progress>div[role=progressbar] span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#73966d,#3e7f59)}.mobile-prod-progress>small{position:absolute;right:13px;bottom:8px;color:#3e7f59;font-size:.68rem;font-weight:850}
 .mobile-prod-import-cards{display:grid;gap:8px;margin-bottom:11px}.mobile-prod-import-cards article{display:grid;gap:4px;padding:13px;border:1px solid var(--border,#e3e0d8);border-radius:15px;background:var(--surface,#fff)}.mobile-prod-import-cards .tag{justify-self:start}.mobile-prod-import-cards strong{font-family:var(--font-display,Georgia,serif);font-size:1rem;line-height:1.25}.mobile-prod-import-cards small{color:var(--muted,#6e716a);font-size:.68rem;line-height:1.35;overflow-wrap:anywhere}
 .mobile-prod-status-filter{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:9px}.mobile-prod-status-filter button{min-height:40px;padding:7px 4px;border:1px solid var(--border,#e3e0d8);border-radius:99px;background:var(--surface,#fff);color:var(--muted,#6e716a);font-size:.68rem;font-weight:800}.mobile-prod-status-filter button.active{border-color:#315d4d;background:#315d4d;color:#fff}
 .mobile-prod-menu-filter{display:flex;gap:7px;overflow-x:auto;margin:0 -16px 12px;padding:0 16px 4px;scrollbar-width:none}.mobile-prod-menu-filter::-webkit-scrollbar{display:none}.mobile-prod-menu-filter button{flex:0 0 auto;min-height:38px;padding:7px 11px;border:1px solid var(--border,#e3e0d8);border-radius:10px;background:var(--surface,#fff);color:#586058;font-size:.68rem;font-weight:760;box-shadow:none}.mobile-prod-menu-filter button.active{border-color:#315d4d;background:#315d4d;color:#fff}
 .mobile-prod-add{width:100%;min-height:48px;margin:0 0 13px;border:0;border-radius:13px;background:#315d4d;color:#fff;font-weight:850;box-shadow:0 8px 20px #315d4d20}
 .mobile-prod-sections{display:grid;gap:11px}.mobile-prod-section{border:1px solid var(--border,#e3e0d8);border-radius:16px;background:var(--surface,#fff);overflow:hidden}.mobile-prod-section>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:10px 13px;background:#f7f6f1;cursor:pointer}.mobile-prod-section>summary strong{font-family:var(--font-display,Georgia,serif);font-size:1rem}.mobile-prod-section>summary span{color:var(--muted,#6e716a);font-size:.67rem}.mobile-prod-section>summary::marker{color:#526749}
 .mobile-prod-task{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:62px;padding:7px 8px;border-top:1px solid var(--border,#e3e0d8);background:var(--surface,#fff)}.mobile-prod-task.is-done{background:#f6f7f2;color:#73786f}.mobile-prod-task.is-done .mobile-prod-task-copy strong{text-decoration:line-through;text-decoration-thickness:1px}.mobile-prod-check{display:grid;place-items:center;width:32px;height:32px;padding:0;border:2px solid #9f765e;border-radius:50%;background:#fff;color:#fff;font-size:.9rem}.mobile-prod-task.is-done .mobile-prod-check{border-color:#3e7f59;background:#3e7f59}.mobile-prod-product-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#edf1e8;color:#526749}.mobile-prod-task-copy{min-width:0}.mobile-prod-task-copy strong,.mobile-prod-task-copy small{display:block}.mobile-prod-task-copy strong{font-size:.8rem;line-height:1.22;overflow-wrap:anywhere}.mobile-prod-row-amount{margin-top:2px;color:var(--muted,#6e716a);font-size:.67rem}.mobile-prod-task-copy>small:last-child{margin-top:2px;color:#8a8e85;font-size:.62rem}.mobile-prod-task-actions{display:flex;align-items:center;gap:3px}.mobile-prod-task-actions button{position:relative;display:grid;place-items:center;min-width:34px;height:36px;padding:0 7px;border:0;border-radius:10px;background:#f1f2ed;color:#435447;font-size:.86rem;box-shadow:none}.mobile-prod-task-actions button b{position:absolute;right:-2px;top:-3px;display:grid;place-items:center;min-width:16px;height:16px;border-radius:99px;background:#526749;color:#fff;font-size:.55rem}.mobile-prod-task-actions .mobile-prod-recipe-short{grid-template-columns:auto auto;gap:4px;padding:0 9px}.mobile-prod-task-actions .mobile-prod-recipe-short span{font-size:.64rem;font-weight:800}.mobile-prod-task-actions .is-danger{background:#f7e7e2;color:#9b493a}.mobile-prod-empty{padding:24px 16px}
 .mobile-prod-editor{width:min(calc(100% - 20px),480px);max-height:calc(100dvh - 24px);margin:auto;border:0;border-radius:20px;background:#fbfaf7;padding:0;box-shadow:0 22px 65px #18241d55}.mobile-prod-editor::backdrop{background:#16251e8c;backdrop-filter:blur(3px)}.mobile-prod-editor form{display:grid;gap:12px;padding:18px}.mobile-prod-editor form>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-prod-editor h2{margin:0;font-family:var(--font-display,Georgia,serif);font-size:1.35rem}.mobile-prod-editor [data-cancel]{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:12px;background:#efeee8;color:#555b54;font-size:1.25rem}.mobile-prod-editor label{display:grid;gap:5px;color:#50564f;font-size:.72rem;font-weight:800}.mobile-prod-editor input,.mobile-prod-editor select,.mobile-prod-editor textarea{width:100%;min-height:46px;border:1px solid #d8d8d0;border-radius:11px;background:#fff;color:var(--ink,#282b27);padding:10px 11px;font:inherit}.mobile-prod-editor textarea{min-height:78px;resize:vertical}.mobile-prod-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.mobile-prod-editor .mobile-prod-primary{min-height:50px;margin-top:3px}
}

/* V109 must follow V108 so the live KIRA palette wins over the visual reference. */
.prod-menu-heading{display:grid;min-width:0;gap:3px}.prod-menu-heading small{color:var(--muted,#777a73);font-size:.68rem;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:700px){
 .mobile-prod-home-actions>button>span:first-child{background:linear-gradient(145deg,var(--accent,#687b5b),var(--accent-bright,#879979))}
 .mobile-prod-home-actions b,.mobile-prod-page-head>button,.mobile-prod-quick>button>span:first-child,.mobile-prod-product-icon{color:var(--accent,#687b5b)}
 .mobile-prod-page-head>button,.mobile-prod-quick>button>span:first-child,.mobile-prod-product-icon{background:#e5ebdf}
 .mobile-prod-progress>div[role=progressbar] span{background:linear-gradient(90deg,var(--accent-bright,#879979),var(--accent,#687b5b))}
 .mobile-prod-progress>small{color:var(--accent,#687b5b)}
 .mobile-prod-status-filter button.active,.mobile-prod-menu-filter button.active,.mobile-prod-add{border-color:var(--accent,#687b5b);background:var(--accent,#687b5b)}
 .mobile-prod-add{box-shadow:0 8px 20px #687b5b20}
 .mobile-prod-section>summary{background:var(--surface-soft,#f7f5f0)}
 .mobile-prod-section>summary::marker{color:var(--accent,#687b5b)}
 .mobile-prod-section>summary>span:last-child{flex:0 0 auto}
 .mobile-prod-menu-heading{display:grid;min-width:0;gap:3px}
 .mobile-prod-menu-heading small{max-width:100%;color:var(--muted,#777a73);font-size:.63rem;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
 .mobile-prod-task.is-done .mobile-prod-check{border-color:var(--accent,#687b5b);background:var(--accent,#687b5b)}
}
.todo-module-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.todo-module-toolbar .todo-module-tabs{margin:0;min-width:0}
.todo-menu-import{flex:0 0 auto}
@media(max-width:720px){.todo-module-toolbar{align-items:stretch;flex-direction:column}.todo-menu-import{width:100%;min-height:48px}.desktop-production-overview .prod-heading-actions{width:100%;justify-content:stretch}.desktop-production-overview .prod-heading-actions button{flex:1}}

/* To-do-Baukasten für Küchenleitung und Administration. */
.prod-builder-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border-radius:22px;background:var(--surface,#fff)}
.prod-builder-dialog::backdrop{background:#1e2c2588;backdrop-filter:blur(3px)}
.prod-builder-dialog form{display:grid;gap:0;padding:24px}
.prod-builder-dialog form>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:17px;border-bottom:1px solid var(--border,#e3e0d8)}
.prod-builder-dialog form>header h2{margin:3px 0 4px;font-family:var(--font-display,Georgia,serif);font-size:1.55rem}
.prod-builder-dialog form>header p{margin:0;color:var(--muted,#6e716a);font-size:.82rem}
.prod-builder-close{width:42px;min-width:42px;height:42px;padding:0;border-radius:12px;font-size:1.25rem}
.prod-builder-section{padding:17px 0;border-bottom:1px solid var(--border,#e3e0d8)}
.prod-builder-section-head{display:flex;align-items:center;gap:10px;margin-bottom:11px}.prod-builder-section-head>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent,#687b5b);color:#fff;font-size:.72rem;font-weight:850}.prod-builder-section-head h3{margin:0;font-family:var(--font-display,Georgia,serif);font-size:1.02rem}
.prod-builder-dialog label{display:grid;gap:6px;margin:0;color:var(--ink,#282b27);font-size:.75rem;font-weight:800}.prod-builder-dialog label small{color:var(--muted,#6e716a);font-size:.68rem;font-weight:600}.prod-builder-dialog input,.prod-builder-dialog select,.prod-builder-dialog textarea{width:100%;box-sizing:border-box;border:1px solid var(--border,#e3e0d8);border-radius:12px;background:var(--surface-soft,#f7f5f0);color:var(--ink,#282b27);padding:10px 12px;font:inherit}.prod-builder-dialog textarea{resize:vertical;min-height:80px}
.prod-builder-stations,.prod-builder-allergens{display:flex;flex-wrap:wrap;gap:7px}.prod-builder-stations button,.prod-builder-allergens button{min-height:38px;border:1px solid var(--border,#e3e0d8);border-radius:999px;background:var(--surface-soft,#f7f5f0);color:var(--ink,#282b27);padding:7px 11px;font-size:.72rem}.prod-builder-stations button.selected{border-color:var(--accent,#687b5b);background:var(--accent,#687b5b);color:#fff}.prod-builder-allergens button.selected{border-color:#b59049;background:#f5e8c9;color:#493b23}.prod-builder-allergens button.notice.selected{border-color:var(--accent,#687b5b);background:#e5ebdf;color:#42523e}.prod-builder-allergens button small{display:none;margin-left:4px;font-size:.61rem}.prod-builder-allergens button.auto small{display:inline}.prod-builder-help{margin:0 0 10px;color:var(--muted,#6e716a);font-size:.73rem;line-height:1.45}.prod-builder-allergens+label{margin-top:13px}
.prod-builder-dialog .prod-error{min-height:18px;margin:10px 0 0}.prod-builder-dialog .prod-dialog-actions{position:sticky;bottom:-24px;margin:0 -24px -24px;padding:15px 24px;background:linear-gradient(180deg,#fff0,var(--surface,#fff) 25%);border-radius:0 0 22px 22px}
@media(max-width:700px){.prod-builder-dialog{width:min(calc(100% - 18px),520px);max-height:calc(100dvh - 18px);border-radius:18px}.prod-builder-dialog form{padding:17px}.prod-builder-dialog form>header h2{font-size:1.3rem}.prod-builder-section{padding:14px 0}.prod-builder-dialog .prod-dialog-actions{bottom:-17px;margin:0 -17px -17px;padding:13px 17px}.prod-builder-dialog .prod-dialog-actions button{flex:1;min-height:46px}.prod-builder-stations,.prod-builder-allergens{gap:6px}.prod-builder-stations button,.prod-builder-allergens button{font-size:.67rem;padding:6px 9px}}
.prod-title .prod-allergen-note{margin-top:3px;color:#80633b;white-space:pre-line}
@media(max-width:700px){.mobile-prod-task-copy .mobile-prod-allergen-note{margin-top:4px;color:#80633b;font-size:.61rem;line-height:1.35;white-space:pre-line}}
