.production-manager{--production-paper:#fffefb;--production-brown:#794c2d;--production-rose:#f0dfd9;--production-green:#466951;min-width:0}.production-manager [hidden]{display:none!important}.production-manager .production-heading{margin-bottom:26px}.production-manager .production-heading h1{margin-bottom:10px}.production-manager .production-filters{padding:23px 25px;overflow:visible}.production-filter-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.production-manager .production-filter-heading h2{font-size:14px;margin:0 0 4px}.production-filter-heading p{font-size:11px;color:var(--muted);margin:0}.production-segment{display:flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:8px;background:#f3eee7}.production-segment button,.production-view-tabs button{border:0;background:transparent;color:var(--muted);padding:8px 14px;min-height:34px;cursor:pointer;font-size:11px;border-radius:5px;white-space:nowrap}.production-segment button[aria-pressed=true]{background:var(--production-paper);color:var(--ink);font-weight:700;box-shadow:0 1px 4px #63452213}.production-date-controls{display:flex;gap:11px;align-items:flex-end;flex-wrap:wrap;overflow:visible}.production-date-field{width:180px;flex:0 1 180px;min-width:0;overflow:visible}.production-manager .production-date-controls .field{margin:0}.production-date-controls>.button{min-height:44px;margin:0}.production-presets{display:flex;align-items:center;gap:5px;min-height:44px;flex-wrap:wrap;margin-left:4px}.production-presets button{border:0;background:transparent;color:var(--muted);padding:7px 10px;min-height:34px;font-size:11px;border-radius:6px;cursor:pointer}.production-presets button:hover{background:#f2e8dc;color:var(--caramel)}.production-date-error{color:#a14132;font-size:12px;margin:11px 0 0}.production-date-error:empty{display:none}.production-secondary-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:13px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.production-manager .production-secondary-filters .field{margin:0;font-size:10px;gap:7px}.production-manager .production-secondary-filters input,.production-manager .production-secondary-filters select{min-height:42px;font-size:11px;padding:10px}.production-secondary-filters input::placeholder{color:#a19182}.production-load-status{font-size:12px;color:var(--muted);margin:20px 0 0}.production-load-status:empty,.production-load-error:empty{display:none}.production-load-error{padding:15px 18px;border:1px solid #f0c9be;border-radius:9px;background:#fff0ec;color:#953b2d;font-size:12px;line-height:1.65;margin:20px 0 0}.production-summary-section{margin-top:26px}.production-period-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.production-manager .production-period-heading h2{font-size:15px;margin:0}.production-period-heading>span{font-size:9px;color:#958575}.production-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.production-metric{background:var(--production-paper);border:1px solid var(--line);border-radius:12px;padding:18px 20px;min-width:0}.production-metric>p{margin:0;color:var(--muted);font-size:10px;font-weight:700}.production-metric>strong{display:block;font:700 29px/1.25 KitchenInter,Arial,sans-serif;letter-spacing:-1px;margin:7px 0 5px}.production-metric>small{font-size:9px;display:block;color:#968574;line-height:1.6}.production-metric-orders{background:var(--production-rose);border-color:#ead4c5}.production-metric-orders>strong,.production-metric-remaining>strong{color:var(--production-brown)}.production-metric-completed>strong{color:var(--production-green)}.production-overdue-banner{display:flex;align-items:center;gap:15px;background:#fbf0db;border:1px solid #ebd4a8;border-radius:10px;padding:15px 17px;color:#765525;font-size:11px;margin-top:16px}.production-overdue-banner>div{flex:1}.production-overdue-banner strong{display:block;font-size:12px}.production-overdue-banner p{font-size:11px;color:#91713d;margin:4px 0 0;line-height:1.6}.production-overdue-banner label{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:10px;font-weight:700;min-height:30px;cursor:pointer}.production-overdue-banner input{width:16px;height:16px;flex-shrink:0;accent-color:var(--caramel)}.production-report{margin-top:28px}.production-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.production-manager .production-report-toolbar h2{font-size:16px;margin:0}.production-filter-note{font-size:11px;color:var(--muted);line-height:1.65;margin:5px 0 0;max-width:740px}.production-view-tabs{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;padding:3px;flex-shrink:0;background:var(--production-paper)}.production-view-tabs button{font-size:10px;padding:8px 12px}.production-view-tabs button[aria-pressed=true]{background:#ede2d5;color:var(--ink);font-weight:700}.production-grid,.production-daily-report,.production-report-content{display:grid;gap:14px}.production-product-card{border:1px solid var(--line);border-radius:12px;background:var(--production-paper);overflow:hidden;min-width:0}.production-product-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px}.production-product-heading>div{flex:1;min-width:0}.production-manager .production-product-heading h3{font-size:14px;line-height:1.6;margin:0}.production-product-meta{font-size:10px;color:var(--muted);margin:0 0 2px}.production-order-link{border:0;background:transparent;color:var(--caramel);font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:5px 0;min-height:30px;text-align:left;cursor:pointer;flex-shrink:0}.production-order-link:hover{color:#57351f}.production-table-wrap{padding:0 20px 15px;overflow-x:auto}.production-table{border-collapse:separate;border-spacing:0;width:100%;text-align:left;background:transparent;border:0;border-radius:7px;overflow:hidden}.production-table th:first-child{width:63%}.production-table th,.production-table td{vertical-align:middle}.production-table thead th{background:#f5eee5;padding:11px 12px;font-size:9px;letter-spacing:.3px;text-transform:uppercase;color:#87705d;font-weight:700;white-space:nowrap;border-bottom:1px solid var(--line)}.production-table tbody th,.production-table tbody td{padding:12px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.65}.production-table tbody th{font-weight:400;color:var(--ink);background:transparent;text-transform:none;text-align:left}.production-table tfoot th,.production-table tfoot td{font-size:11px;background:#f8f2ea;border-top:1px solid #ddcdbc;border-bottom:0;padding:11px 12px;color:var(--ink);font-weight:700}.production-table .production-count{width:12.333%;text-align:right;font-variant-numeric:tabular-nums}.production-table .production-remaining{color:#8a542e;font-weight:700}.production-table .production-completed{color:var(--production-green)}.production-table .production-total{font-weight:700}.production-product-options{padding:0 20px 17px;background:#fbf7f0;border-top:1px solid var(--line)}.production-product-options>summary{padding:12px 0 0;font-size:11px;color:var(--caramel);font-weight:700;display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer}.production-product-options>summary::-webkit-details-marker{display:none}.production-product-options>summary::before{content:'›';font:17px/1 Arial,sans-serif;display:block}.production-product-options[open]>summary::before{transform:rotate(90deg)}.production-option-note{font-size:9px;color:#9a8977;line-height:1.7;margin:7px 0 0}.production-option-summary{margin-top:12px}.production-option-summary h4{font-size:10px;font-weight:700;color:#75614f;margin:0 0 8px}.production-option-summary h4 span{font-weight:400;color:#9a8977}.production-option-chips{display:flex;flex-wrap:wrap;gap:7px}.production-option-chips>span{display:block;padding:8px 10px;font-size:10px;background:var(--production-paper);border:1px solid #e4d7c6;border-radius:6px;min-width:130px;overflow-wrap:anywhere}.production-option-chips b{font-size:13px;color:var(--caramel);margin-right:3px;font-variant-numeric:tabular-nums}.production-option-chips small{display:block;font-size:8px;color:#998471;margin-top:3px;line-height:1.6}.production-custom-note{font-size:10px;color:var(--muted);padding:0 20px 15px;margin:0;line-height:1.7}.production-warning{font-size:12px;color:#8a6325;background:#fbf0db;border:1px solid #e9d6b2;border-radius:9px;padding:12px 15px;line-height:1.65;margin:0}.production-day-card{border:1px solid var(--line);border-radius:12px;background:var(--production-paper);overflow:hidden}.production-day-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 20px;background:#f4ece2;border-bottom:1px solid var(--line)}.production-manager .production-day-heading h3{font-size:14px;margin:2px 0 4px;line-height:1.6}.production-day-heading p{font-size:10px;margin:0;color:var(--muted)}.production-day-heading .production-product-meta{font-size:9px}.production-day-products{padding:0 20px}.production-day-product{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.production-day-product:last-child{border-bottom:0}.production-day-product>div{min-width:0;flex:1}.production-day-product strong{font-size:12px}.production-day-product small{display:block;font-size:10px;margin-top:5px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}.production-day-product>span{text-align:right;white-space:nowrap;font-size:11px;flex-shrink:0}.production-day-product>span>b{font-size:18px;color:var(--caramel);margin-right:3px}.production-day-product>span>small{font-size:9px}.production-empty{padding:38px 24px;text-align:center;background:var(--production-paper);border:1px dashed #d8c7b3;border-radius:12px;color:var(--muted)}.production-manager .production-empty h3{font-size:16px;margin:0 0 8px;color:var(--ink)}.production-empty p{font-size:12px;line-height:1.7;max-width:420px;margin:0 auto}.production-empty .button{margin-top:17px}.production-loading{padding:24px;color:var(--muted);font-size:12px;margin:0}.production-order-dialog{width:min(720px,calc(100vw - 30px));max-height:calc(100dvh - 40px);padding:0;color:var(--ink);border:1px solid var(--line);background:var(--production-paper);border-radius:16px;box-shadow:0 20px 100px #2b1b1440;overflow:auto}.production-order-dialog::backdrop{background:#32241c75;backdrop-filter:blur(3px)}.production-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:23px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--production-paper);z-index:1}.production-manager .production-dialog-header h2{font-size:19px;line-height:1.4;margin:0}.production-dialog-header .eyebrow{margin:0 0 6px}.production-dialog-close{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:#f0e8dd;border:1px solid #e4d6c5;border-radius:50%;font-size:24px;cursor:pointer;color:var(--ink)}.production-dialog-content{padding:0 25px 25px}.production-dialog-note{font-size:11px;line-height:1.7;color:var(--muted);padding:15px 0 0;margin:0}.production-order-detail{padding:18px 0;border-bottom:1px solid var(--line)}.production-order-detail:last-child{border-bottom:0}.production-order-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.production-order-detail-heading>strong{font-size:12px}.production-status-pill{padding:4px 9px;border-radius:20px;background:#fbf0db;color:#875e21;font-size:9px;white-space:nowrap}.production-status-pill.production-done{background:#eaf1e9;color:var(--production-green)}.production-order-detail p{font-size:11px;color:var(--muted);line-height:1.7;margin:7px 0 0}.production-order-detail .production-customer-name{font-size:12px;font-weight:700;color:var(--ink)}.production-order-detail ul{padding-left:17px;margin:12px 0 0;font-size:11px}.production-order-detail li{margin-top:9px;line-height:1.7}.production-order-detail li small{display:block;color:var(--muted);font-size:10px;margin-top:3px;line-height:1.6}.production-order-note{border-left:2px solid #cfb594;background:#f5ece0;padding:9px 12px;border-radius:0 5px 5px 0;white-space:pre-wrap}.production-order-note strong{font-size:10px;color:var(--caramel)}.production-manager button:focus-visible,.production-manager summary:focus-visible{outline:2px solid #b48a61;outline-offset:3px}
@media(max-width:1100px){.production-secondary-filters{grid-template-columns:1fr 1fr}.production-metrics{gap:10px}.production-metric{padding:16px}.production-overdue-banner{flex-wrap:wrap;gap:8px 12px}.production-overdue-banner>div{flex-basis:100%}.production-overdue-banner>.production-order-link{margin-left:auto}.production-report-toolbar{align-items:flex-end}.production-table th:first-child{width:54%}.production-table .production-count{width:15.333%}.production-table thead th{font-size:8px;padding:10px}.production-table tbody th,.production-table tbody td,.production-table tfoot th,.production-table tfoot td{padding:10px}.production-date-field{width:170px;flex-basis:170px}.production-presets{margin-left:0}.production-filter-note{font-size:10px}}
@media(max-width:700px){.production-manager .production-heading{display:block}.production-heading .row-actions{margin-top:16px}.production-manager .production-filters{padding:19px}.production-filter-heading{align-items:flex-start}.production-filter-heading p{max-width:220px}.production-metrics{grid-template-columns:1fr 1fr}.production-period-heading{display:block}.production-period-heading>span{display:block;margin-top:5px}.production-report-toolbar{display:block}.production-view-tabs{width:max-content;margin-top:13px}.production-table-wrap{padding-inline:15px}.production-product-heading{padding:16px}.production-product-options{padding-inline:16px}.production-metric{min-height:108px}.production-manager .production-date-controls .accounting-date-picker>summary{font-size:11px;gap:6px;padding-inline:9px;min-height:44px;height:auto;line-height:18px}.production-manager .production-date-controls .accounting-date-picker>summary [data-date-label]{min-width:0}}
@media(max-width:480px){.production-manager .production-heading h1{font-size:27px}.production-manager .production-heading .button{font-size:10px;padding:9px 12px}.production-manager .production-filters{padding:17px 14px}.production-filter-heading{display:block;margin-bottom:16px}.production-filter-heading p{max-width:none;font-size:10px}.production-segment{margin-top:15px;width:100%}.production-segment button{flex:1;min-height:35px;font-size:11px}.production-date-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.production-date-field{width:auto}.production-date-controls>[data-production-start]{grid-column:1}.production-date-controls>[data-production-end]{grid-column:2;grid-row:1;width:auto;min-width:0}.production-date-controls:has([data-production-end]:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.production-date-controls:has([data-production-end]:not([hidden]))>[data-production=apply]{grid-column:1/-1;grid-row:2}.production-date-controls>[data-production=apply]{font-size:10px;padding-inline:10px;min-width:116px;min-height:44px;align-self:end}.production-presets{grid-column:1/-1;margin:0;min-height:30px;gap:7px}.production-presets button{min-height:32px;padding:6px 9px;background:#f4ede3;font-size:10px}.production-secondary-filters{gap:12px 10px;padding-top:16px;margin-top:16px}.production-secondary-filters>.field:nth-child(3),.production-secondary-filters>.production-search{grid-column:1/-1}.production-manager .production-secondary-filters .field{font-size:10px}.production-manager .production-secondary-filters input,.production-manager .production-secondary-filters select{font-size:11px;padding-inline:8px}.production-metric{padding:15px}.production-metric>p{font-size:9px}.production-metric>strong{font-size:27px}.production-metric>small{font-size:8px}.production-manager .production-period-heading h2{font-size:14px;line-height:1.6}.production-overdue-banner{padding:13px 14px}.production-overdue-banner label,.production-overdue-banner>.production-order-link{font-size:10px}.production-overdue-banner p{font-size:10px}.production-overdue-banner label{white-space:normal}.production-filter-note{font-size:10px}.production-product-heading{gap:12px;padding:15px 14px}.production-manager .production-product-heading h3{font-size:13px}.production-product-meta{font-size:10px}.production-product-heading>.production-order-link{font-size:10px}.production-table-wrap{padding:0 10px 12px}.production-table{table-layout:fixed}.production-table th:first-child{width:auto}.production-table .production-count{width:58px}.production-table thead th{font-size:9px;letter-spacing:0;padding:9px 3px;white-space:normal}.production-table tbody th{font-size:11px;line-height:1.65;padding:11px 4px;overflow-wrap:anywhere}.production-table tbody td{font-size:12px;padding:11px 4px}.production-table tfoot th,.production-table tfoot td{font-size:10px;padding:10px 4px;overflow-wrap:anywhere}.production-product-options{padding:0 14px 14px}.production-product-options>summary{font-size:11px;padding-top:11px}.production-option-note{font-size:9px}.production-option-summary h4{font-size:10px}.production-option-chips{gap:6px}.production-option-chips>span{font-size:10px;flex:1 1 120px;min-width:0;padding:7px 8px}.production-option-chips small{font-size:8px}.production-option-chips b{font-size:12px}.production-custom-note{padding:0 14px 13px}.production-day-heading{padding:14px}.production-manager .production-day-heading h3{font-size:13px}.production-day-heading .production-order-link{font-size:10px}.production-day-products{padding:0 14px}.production-day-product{gap:12px;padding:14px 0}.production-day-product strong{font-size:12px}.production-day-product>span{font-size:10px}.production-day-product>span>b{font-size:16px}.production-day-product>span>small{white-space:normal;max-width:100px;font-size:9px}.production-order-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:13px}.production-dialog-header{padding:18px}.production-manager .production-dialog-header h2{font-size:17px}.production-dialog-content{padding:0 18px 18px}.production-dialog-close{width:35px;height:35px}.production-order-detail-heading{align-items:flex-start;gap:8px}.production-order-detail-heading>strong{font-size:10px}.production-status-pill{font-size:8px;padding:4px 7px}}
@media(max-width:350px){.production-manager .production-filters{padding-inline:11px}.production-date-controls>[data-production=apply]{min-width:101px;font-size:9px;padding-inline:8px}.production-date-controls>[data-production=apply]>span{display:none}.production-table .production-count{width:55px}.production-table-wrap{padding-inline:8px}.production-table thead th{font-size:9px;padding-inline:1px}.production-manager .production-product-heading h3{font-size:12px}.production-product-heading>.production-order-link{font-size:9px}.production-option-chips>span{flex-basis:105px}.production-overdue-banner label,.production-overdue-banner>.production-order-link{font-size:9px}.production-metric>small{font-size:8px}.production-day-product>span>small{max-width:80px}}
@media print{@page{size:A4;margin:13mm}body.production-printing{background:#fff!important;color:#111}.production-printing .admin-topbar,.production-printing .admin-sidebar,.production-printing .mobile-admin-nav,.production-printing .admin-mobile-nav{display:none!important}.production-printing .admin-layout{display:block!important;min-height:0}.production-printing .admin-workspace{display:block!important;max-width:none!important;padding:0!important;margin:0!important;width:100%!important}.production-manager .production-heading .row-actions,.production-filters,.production-view-tabs,.production-overdue-banner label,.production-order-dialog,.production-load-status,.production-manager .production-order-link,.production-manager .production-empty button{display:none!important}.production-manager .production-heading{display:block;margin-bottom:17px}.production-manager .production-heading h1{font-size:23pt}.production-summary-section{margin-top:15px}.production-period-heading{display:flex}.production-manager .production-period-heading h2{font-size:12pt}.production-period-heading>span{font-size:7pt}.production-metrics{grid-template-columns:repeat(4,1fr);gap:8px}.production-metric{background:#fff!important;border:1px solid #bbb;padding:10px;min-height:0;break-inside:avoid}.production-metric>strong{font-size:21pt!important;color:#111!important}.production-metric>p{font-size:8pt}.production-metric>small{font-size:7pt;color:#444}.production-overdue-banner{background:#fff;border-color:#aaa;color:#111;padding:9px;margin-top:12px;break-inside:avoid}.production-overdue-banner strong{font-size:8pt}.production-overdue-banner p{color:#333;font-size:7pt}.production-report{margin-top:18px}.production-report-toolbar{margin-bottom:10px}.production-manager .production-report-toolbar h2{font-size:12pt}.production-filter-note{font-size:8pt;max-width:none}.production-product-card,.production-day-card{border-color:#aaa;break-inside:avoid}.production-grid,.production-daily-report{gap:12px}.production-product-heading{padding:10px 12px}.production-manager .production-product-heading h3{font-size:10pt}.production-product-meta{font-size:7pt}.production-table-wrap{padding:0 12px 10px;overflow:visible}.production-table{table-layout:auto}.production-table th:first-child{width:63%}.production-table .production-count{width:12.333%;color:#111}.production-table thead th{font-size:7pt;padding:7px 8px;background:#eee;white-space:nowrap}.production-table tbody th,.production-table tbody td,.production-table tfoot th,.production-table tfoot td{font-size:8pt;padding:7px 8px}.production-product-options{background:#fff;border-color:#ccc;padding:0 12px 10px}.production-product-options>summary{font-size:8pt;padding-top:8px}.production-product-options>summary::before{display:none}.production-option-note{font-size:6pt}.production-option-summary h4{font-size:7pt}.production-option-chips>span{font-size:7pt;padding:5px 8px;min-width:105px;border-color:#bbb;background:#fff;flex:none}.production-option-chips b{font-size:9pt;color:#111}.production-option-chips small{font-size:6pt;color:#333}.production-day-heading{padding:10px 12px;background:#fff}.production-manager .production-day-heading h3{font-size:10pt}.production-day-products{padding:0 12px}.production-day-product{padding:10px 0}.production-day-product strong{font-size:9pt}.production-day-product small{font-size:7pt}.production-day-product>span>b{font-size:12pt;color:#111}.production-day-product>span>small{font-size:7pt;max-width:none}.production-custom-note{font-size:7pt;padding:0 12px 10px}.production-warning{background:none;border-color:#aaa;font-size:8pt}}
@media(max-width:480px){.production-table thead th{text-transform:none}}
