@font-face{font-family:AeonikPro;src:url(/assets/fonts/AeonikPro-Regular.woff2) format("woff2");font-weight:400;font-style:normal}@font-face{font-family:AeonikPro;src:url(/assets/fonts/AeonikPro-Medium.woff2) format("woff2");font-weight:500;font-style:normal}@font-face{font-family:PPSupplySans;src:url(/assets/fonts/PPSupplySans-Ultralight.woff2) format("woff2");font-weight:200;font-style:normal}@font-face{font-family:PPSupplySans;src:url(/assets/fonts/PPSupplySans-Light.woff2) format("woff2");font-weight:300;font-style:normal}@font-face{font-family:PPSupplySans;src:url(/assets/fonts/PPSupplySans-Regular.woff2) format("woff2");font-weight:400;font-style:normal}@font-face{font-family:PPSupplySans;src:url(/assets/fonts/PPSupplySans-Medium.woff2) format("woff2");font-weight:500;font-style:normal}:root{color-scheme:light;--bg: #ededea;--panel: #ffffff;--panel-muted: #f4f4f1;--text: #111111;--text-muted: #5d5d5a;--border: #d3d3cd;--accent: #111111;--radius: 10px;--space-1: 5px;--space-2: 9px;--space-3: 13px;--space-4: 18px;--space-5: 24px}*{box-sizing:border-box}body{margin:0;font-family:AeonikPro,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;background:var(--bg);color:var(--text);overflow-x:hidden}#root{min-height:100vh;overflow-x:hidden}a{color:inherit}button,input,select{font:inherit}.app-shell{display:block;min-height:100vh;width:100%;overflow-x:hidden}.sidebar{border-right:1px solid var(--border);background:#fff;padding:15px;display:flex;flex-direction:column;height:100vh;position:fixed;inset:0 auto 0 0;overflow-x:hidden;overflow-y:auto;width:218px;z-index:20}.sidebar-header{display:block;width:100%}.sidebar-brand{margin-bottom:22px;margin-left:-7px}.sidebar-logo{width:min(180px,100%);height:auto;display:block;padding:0}.sidebar-brand-link{display:inline-block}.sidebar-burger{display:none}.sidebar-menu-panel{display:flex;flex:1;flex-direction:column;min-height:0}.nav-list{display:flex;flex-direction:column;gap:7px}.nav-link{display:block;padding:4px 0;text-decoration:none;color:#5f5f5c;background:transparent;font-size:15px;font-weight:600;letter-spacing:-.01em;transition:color .16s ease,opacity .16s ease}.nav-link.active{color:var(--text)}.nav-link:hover{color:var(--text);opacity:1}.sidebar-footer{margin-top:auto;position:relative;padding-bottom:14px}.sidebar-user-menu{position:relative}.sidebar-user-trigger{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:9px;border:0;padding:0;background:transparent;text-align:left;cursor:pointer;color:#5f5f5c;transition:color .16s ease,opacity .16s ease}.sidebar-user-avatar{width:56px;height:56px;border-radius:var(--radius);background:radial-gradient(circle at 50% 34%,#ffffff 0 17%,transparent 18%),radial-gradient(circle at 50% 78%,#ffffff 0 25%,transparent 26%),#111;display:block}.sidebar-user-name{margin:0;font-size:15px;font-weight:600;line-height:1.05;overflow-wrap:anywhere;max-width:120px;color:inherit}.sidebar-user-trigger:hover,.sidebar-user-menu.open .sidebar-user-trigger{color:var(--text)}.sidebar-user-dropdown{position:absolute;left:0;bottom:calc(100% + 7px);display:grid;gap:4px;padding:9px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;opacity:0;pointer-events:none;transform:translateY(6px);min-width:142px;transition:opacity .14s ease,transform .14s ease}.sidebar-user-menu.open .sidebar-user-dropdown{opacity:1;pointer-events:auto;transform:translateY(0)}.admin-shell{display:grid;gap:1.5rem}.admin-panel{display:grid;gap:1rem}.panel-header-inline{display:flex;gap:1rem;justify-content:space-between;align-items:flex-start}.admin-user-list{display:grid;gap:.65rem}.admin-user-row{border:1px solid var(--border-strong);background:var(--surface);color:inherit;padding:.85rem 1rem;display:flex;justify-content:space-between;align-items:center;text-align:left;transition:border-color .12s ease,background .12s ease}.admin-user-row span{display:grid;gap:.2rem}.admin-user-row small,.role-checkbox small{color:var(--text-muted)}.admin-user-row.active{border-color:var(--text-primary);background:var(--surface-muted)}.admin-meta-grid,.role-checkbox-list,.checkbox-grid,.section-stack{display:grid;gap:.75rem}.role-checkbox{display:flex;gap:.75rem;align-items:flex-start;border:1px solid var(--border-subtle);padding:.85rem 1rem;background:var(--surface)}.role-checkbox span{display:grid;gap:.2rem}.button-row{display:flex;gap:.75rem;justify-content:flex-end}.role-summary{border-top:1px solid var(--border-subtle);padding-top:.85rem}.role-summary:first-child{border-top:0;padding-top:0}.role-summary-header{display:flex;gap:.75rem;justify-content:space-between;align-items:center}.chip-row{display:flex;flex-wrap:wrap;gap:.5rem}.permission-chip,.user-badge{display:inline-flex;align-items:center;border:1px solid var(--border-strong);padding:.2rem .55rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}.user-badge.muted{opacity:.6}.stack-form{display:grid;gap:1rem}.input-group{display:grid;gap:.45rem}.status-note{margin:0 0 1rem;color:var(--text-primary)}.sidebar-user-action{display:block;padding:6px 0;text-decoration:none;color:var(--text)}.sidebar-user-action:hover{color:#4d4d49}.main-content{margin-left:218px;padding:var(--space-5);min-height:100vh;min-width:0;width:calc(100% - 218px)}.hero-panel{padding:4px 0 24px;text-align:center}.hero-title{margin:0;font-family:PPSupplySans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:clamp(50px,8.2vw,108px);line-height:.9;letter-spacing:-.055em;font-weight:450;font-variation-settings:"wght" 450}.page-header{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);margin-bottom:24px;text-align:center;width:100%}.page-header>div{width:100%}.page-header h2{margin:0;font-family:PPSupplySans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:clamp(40px,7.4vw,94px);line-height:.9;letter-spacing:-.055em;font-weight:450;font-variation-settings:"wght" 450;width:100%;text-align:center}.page-header p{margin:6px 0 0;color:var(--text-muted);width:100%;text-align:center}.panel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:var(--space-3)}.page-grid,.page-grid-wide{display:grid;gap:12px}.page-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.page-grid-wide{grid-template-columns:repeat(auto-fit,minmax(228px,1fr))}.profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}.span-full{grid-column:1 / -1}.home-tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(182px,1fr));gap:12px;margin-bottom:22px}.home-tile{display:block;min-height:118px;padding:13px;border-radius:var(--radius);text-decoration:none;background:#fff;border:1px solid var(--border);display:flex;align-items:flex-end;transition:transform .16s ease,border-color .16s ease,background-color .16s ease}.home-tile:hover{transform:translateY(-2px);border-color:#b8b8b2;background:#fcfcfa}.home-tile strong{display:block;margin:0;font-family:PPSupplySans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:24px;letter-spacing:-.04em;font-weight:600}.panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:9px}.panel-muted{background:var(--panel-muted)}.detail-card{min-height:172px}.profile-card{min-height:168px}.card-action{margin-top:auto}.detail-card-title{margin:0;font-family:PPSupplySans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:clamp(24px,2.7vw,34px);line-height:.95;letter-spacing:-.045em;font-weight:600}.detail-card-title-small{font-size:18px;line-height:1}.profile-card-title{font-size:clamp(22px,2.2vw,29px);line-height:.96}.eyebrow{margin:0;font-family:PPSupplySans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#6a6a67;text-transform:uppercase;letter-spacing:.12em;font-size:9px}.card-copy{margin:0;color:var(--text-muted);line-height:1.45}.card-link{text-decoration:none}.card-link:hover{color:#4d4d49}.meta-list{display:grid;gap:7px}.meta-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-top:7px;border-top:1px solid var(--border)}.meta-row span{color:var(--text-muted)}.meta-row strong{font-weight:600;text-align:right}.sample-chart{display:grid;gap:9px}.sample-chart-row{display:grid;gap:5px}.sample-chart-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.sample-chart-head span{color:var(--text-muted)}.sample-chart-head strong{font-weight:600}.sample-chart-track{width:100%;height:7px;background:#ecece8;border-radius:999px;overflow:hidden}.sample-chart-fill{height:100%;background:#111;border-radius:999px}.table-card{gap:12px}.table-toolbar{display:grid;grid-template-columns:minmax(152px,1.4fr) minmax(122px,.9fr) auto;gap:9px;align-items:end}.button-grid{display:flex;flex-wrap:wrap;gap:9px}.toolbar-button{justify-self:center;align-self:start}.button-grid-item{min-width:min(182px,100%)}.kpi{font-family:PPSupplySans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:21px;margin:0;letter-spacing:-.04em}.muted{color:var(--text-muted)}.table{width:100%;border-collapse:collapse}.table-shell{overflow:auto;max-height:min(52vh,332px)}.table thead th{position:sticky;top:0;z-index:1;background:var(--panel)}.table th,.table td{padding:9px;text-align:left;border-bottom:1px solid var(--border)}.table th{vertical-align:middle}.table-sort{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;cursor:pointer;color:var(--text);font-weight:600}.table-sort:hover{color:#4d4d49}.table-sort-label{line-height:1}.table-sort-arrow{display:inline-flex;align-items:center;justify-content:center;min-width:9px;font-size:10px;line-height:1;color:#7a7a76;transform:translateY(1px)}.table-sort-arrow.active{color:var(--text)}.field-stack{display:grid;gap:5px;width:100%}.field-stack-action{width:auto}.field-stack-placeholder{visibility:hidden}.text-input,.select-input{width:100%;min-height:38px;padding:7px 10px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--text)}.select-wrap{position:relative;width:100%;color:var(--text);border-radius:var(--radius);overflow:hidden}.select-wrap:before{content:"";position:absolute;top:7px;right:34px;bottom:7px;width:1px;background:var(--border);pointer-events:none}.select-wrap:after{content:"▾";position:absolute;top:50%;right:11px;transform:translateY(-52%);font-size:12px;line-height:1;pointer-events:none}.select-input{appearance:none;padding-right:48px}.button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--radius);border:1px solid var(--border);background:#fff;color:var(--text);padding:7px 12px;text-decoration:none;cursor:pointer;min-height:38px;width:fit-content;max-width:100%;align-self:flex-start;transition:transform .16s ease,border-color .16s ease,background-color .16s ease,color .16s ease}.button-primary{background:#111;color:#fff;border-color:#111}.button-outline{background:#fff;color:var(--text);border:2px solid #111111}.button-soft{background:#f1f1ed;color:var(--text);border-color:#f1f1ed}.button-ghost{background:transparent;color:var(--text);border-color:transparent;padding-left:0;padding-right:0}.button:hover,.button:focus-visible{transform:translateY(-2px)}.select-input:hover,.text-input:hover{border-color:#bcbcb6}.button-primary:hover,.button-primary:focus-visible{border-color:#111;background:#1d1d1d}.button-outline:hover,.button-outline:focus-visible{border-color:#111}.button-soft:hover,.button-soft:focus-visible{background:#e7e7e1;border-color:#e7e7e1}.button-ghost:hover,.button-ghost:focus-visible{border-color:transparent;color:#4d4d49}.select-wrap.select-primary{color:#fff}.select-wrap.select-primary:before{background:#fff3}.select-primary{background:#111;color:#fff;border-color:#111}.select-outline{background:#fff;color:var(--text)}.select-soft{background:#f1f1ed;color:var(--text);border-color:#f1f1ed}.empty-state,.error-state{border:1px solid var(--border);border-radius:var(--radius);padding:16px;background:#fff}.file-storage-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(264px,.85fr);gap:12px;align-items:start}.file-storage-panel{min-height:0}.folder-button{display:grid;grid-template-columns:12px minmax(0,1fr);align-items:center;gap:7px;width:100%;padding:9px 0;border:0;border-top:1px solid var(--tree-line, var(--border));background:transparent;text-align:left;cursor:pointer;color:#5f5f5c;transition:color .16s ease,transform .16s ease}.folder-button strong{font-weight:600;text-align:left}.folder-button-arrow{display:inline-flex;align-items:center;justify-content:center;width:9px;font-size:10px;line-height:1}.folder-button:hover,.folder-button.active{color:var(--text);transform:translateY(-2px)}.file-tree{border-top:1px solid var(--border)}.file-tree-children{display:grid;gap:0;padding:0 0 7px}.file-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;width:100%;padding:11px 14px;border:0;background:transparent;text-align:left;cursor:pointer;color:inherit;align-items:center}.file-list-row strong{font-weight:600}.file-list-row:hover,.file-list-row.active{color:var(--text)}.file-tree-row{position:relative;border-top:1px solid var(--tree-line, rgba(211, 211, 205, .55))}.file-list-name{display:grid;gap:0;min-width:0;justify-items:start}.file-list-name strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-list-meta{display:grid;grid-template-columns:repeat(3,auto);align-items:center;justify-content:end;gap:12px;color:var(--text-muted);white-space:nowrap}.file-preview-actions{display:flex;flex-wrap:wrap;gap:9px}.file-preview-frame{width:100%;min-height:280px;border:1px solid var(--border);border-radius:var(--radius);background:#fff}.file-preview-table{width:100%;border-collapse:collapse}.file-preview-table th,.file-preview-table td{padding:7px 0;border-bottom:1px solid var(--border);text-align:left}.file-preview-note{margin:0;color:var(--text-muted);line-height:1.45}.xrechnung-upload-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.xrechnung-page-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}.xrechnung-upload-card{grid-column:1 / -1;grid-row:1}.xrechnung-upload-field{display:grid;gap:5px;min-width:0}.xrechnung-upload-action{display:grid;gap:5px;align-self:end}.xrechnung-file-input-native{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.xrechnung-file-shell{min-height:38px;padding:5px 8px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--text);display:flex;align-items:center;gap:8px}.xrechnung-file-picker{min-height:28px;padding:0 12px;border:0;border-radius:calc(var(--radius) - 2px);background:#111;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-weight:500;white-space:nowrap;transition:transform .16s ease,background-color .16s ease,color .16s ease}.xrechnung-file-picker:hover{transform:translateY(-2px);background:#1d1d1d}.xrechnung-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xrechnung-address{display:grid;gap:3px}.xrechnung-submit-button{align-self:end;min-width:0}.xrechnung-meta-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;padding-top:7px;border-top:1px solid var(--border)}.xrechnung-meta-row span{min-width:0;color:var(--text-muted)}.xrechnung-meta-row strong{min-width:0;text-align:right;overflow-wrap:anywhere;word-break:break-word}.xrechnung-details-card{grid-column:3 / span 2;grid-row:2 / span 2}.xrechnung-customer-card{grid-column:1;grid-row:2}.xrechnung-supplier-card{grid-column:2;grid-row:2}.xrechnung-summary-card{grid-column:1 / span 2;grid-row:3}.xrechnung-table-card{grid-column:1 / -1;grid-row:4}.xrechnung-table-card .table{table-layout:fixed}.xrechnung-table-card .table th:nth-child(1),.xrechnung-table-card .table td:nth-child(1){width:7%}.xrechnung-table-card .table th:nth-child(2),.xrechnung-table-card .table td:nth-child(2){width:19%}.xrechnung-table-card .table th:nth-child(3),.xrechnung-table-card .table td:nth-child(3){width:24%}.xrechnung-table-card .table th:nth-child(4),.xrechnung-table-card .table td:nth-child(4){width:14%}.xrechnung-table-card .table th:nth-child(5),.xrechnung-table-card .table td:nth-child(5),.xrechnung-table-card .table th:nth-child(6),.xrechnung-table-card .table td:nth-child(6){width:18%;white-space:nowrap}.xrechnung-table-card .table td:nth-child(2),.xrechnung-table-card .table td:nth-child(3){overflow-wrap:anywhere}.xrechnung-table-card .table td:nth-child(3){white-space:normal}.production-toolbar{grid-template-columns:minmax(172px,1.5fr) minmax(132px,1fr) minmax(112px,.8fr)}.production-create-toolbar{grid-template-columns:repeat(3,minmax(112px,.8fr)) auto}.production-compact-panel{min-height:0;gap:12px}.production-orders-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.9fr);gap:12px;align-items:start}.production-orders-workspace{display:grid;grid-template-columns:minmax(220px,288px) minmax(0,1fr);gap:12px;align-items:start}.production-orders-sidebar,.production-orders-main,.production-orders-filters,.production-order-detail,.production-orders-table-panel{display:grid;gap:12px}.production-order-create-panel{gap:12px;min-height:0}.production-order-create-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-order-create-copy{display:grid;gap:5px}.production-orders-filter-row,.production-orders-form-row{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:9px;align-items:end}.production-orders-year-field{max-width:86px}.production-orders-filter-row .select-input{font-size:13px}.production-orders-year-field .select-input{padding-left:8px;padding-right:30px;font-size:12px}.production-orders-year-field .select-wrap:before{right:28px}.production-orders-year-field .select-wrap:after{right:9px;font-size:11px}.production-order-form{display:grid;gap:9px}.production-order-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.production-order-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.production-table-shell,.production-planning-shell{max-height:min(58vh,540px)}.production-table-shell{min-height:min(62vh,620px);max-height:min(78vh,860px)}.production-order-detail .detail-card-title-small{line-height:1.08}.production-order-detail-card{border:1px solid var(--border);border-radius:var(--radius);padding:12px;align-content:start}.production-order-detail .card-copy{overflow-wrap:anywhere}.production-order-detail .meta-row{align-items:flex-start}.production-order-detail .meta-row span{flex:0 0 108px}.production-order-detail .meta-row strong{flex:1 1 auto;max-width:100%;overflow-wrap:anywhere;white-space:normal}.production-table-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:0;padding-top:10px;border-top:1px solid var(--border)}.production-table-pagination-actions{display:flex;gap:9px}.production-orders-table tbody tr,.production-week-button,.production-run-tab{cursor:pointer}.production-orders-table tbody tr.is-selected{background:#f5f5f2}.production-orders-table th:nth-child(5),.production-orders-table td:nth-child(5){width:128px;min-width:128px;white-space:nowrap}.production-week-list,.production-run-tabs{display:grid;gap:12px}.production-week-panel{align-self:start}.production-week-groups{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;align-items:start}.production-week-group{display:grid;gap:12px}.production-week-row{display:block}.production-week-group-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.production-week-list-archived{max-height:min(28vh,260px);overflow-y:auto;padding-right:4px}.production-week-list.is-drop-target{background:#f6f6f1;border-radius:var(--radius);padding:6px}.production-week-button,.production-run-tab{width:100%;border:1px solid var(--border);border-radius:var(--radius);background:#fff;padding:10px 12px;text-align:left;color:inherit;transition:transform .16s ease,border-color .16s ease,background-color .16s ease}.production-week-button{display:grid;gap:10px;align-content:space-between;min-height:82px;cursor:grab;box-shadow:0 0 #1110}.production-week-button.is-dragging{opacity:.92;transform:scale(.985) rotate(-1deg);box-shadow:0 18px 34px #11111129}.production-week-card-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px}.production-week-button strong,.production-run-tab strong{display:block;margin-bottom:2px;font-weight:600}.production-week-button span,.production-run-tab span{color:var(--text-muted)}.production-week-button:hover,.production-run-tab:hover{transform:translateY(-2px);border-color:#bdbdb7;background:#fcfcfa}.production-week-button.is-active,.production-run-tab.is-active{border-color:#111;box-shadow:inset 0 0 0 1px #111;background:#fff}.production-week-header{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}.production-run-meta{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.05fr) minmax(0,1.05fr) 174px 174px auto;gap:9px;align-items:end}.production-run-meta-wide{min-width:0}.production-run-meta-date{max-width:174px}.production-collapsible-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.production-overlap-panel{margin-top:12px;display:grid;gap:8px}.production-overlap-list{display:grid;gap:8px}.production-overlap-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid var(--border)}.production-overlap-row strong{font-weight:600}.production-overlap-row span{color:var(--text-muted);white-space:nowrap}.production-planning-table td:nth-child(1),.production-planning-table td:nth-child(2),.production-pack-table td:nth-child(1),.production-pack-table td:nth-child(2){white-space:nowrap}.production-planning-table td:nth-child(3){min-width:240px}.production-planning-table select,.production-planning-table input,.production-pack-table input{min-width:0}.production-planning-sections{display:grid;gap:12px}.production-section-block{gap:8px}.production-section-header{margin-bottom:2px}.production-planning-layout-table td:nth-child(1){min-width:182px;vertical-align:top}.production-planning-layout-table td:nth-child(2){min-width:214px;vertical-align:top}.production-planning-layout-table td:nth-child(3),.production-planning-layout-table td:nth-child(4){min-width:250px;vertical-align:top}.production-position-stack{display:grid;gap:8px}.production-position-stack strong{font-weight:600}.production-field-cluster{display:grid;gap:8px}.production-field-cluster-core{grid-template-columns:1fr}.production-field-cluster-accessory,.production-field-cluster-cable{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.production-field-cluster .button{grid-column:1 / -1}.production-field-select{display:grid;gap:4px}.production-field-select span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--text-muted)}.production-extra-row{display:grid;grid-template-columns:minmax(0,146px) minmax(0,1fr) auto;gap:8px;align-items:center}.production-more-row{margin-top:8px}.production-inventory-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.production-inventory-form{display:grid;grid-template-columns:minmax(0,1.4fr) 120px minmax(0,1fr);gap:9px;margin-bottom:12px;align-items:end}.production-inventory-preset-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto;gap:9px;align-items:end;margin-bottom:12px}.production-inventory-helper{margin-top:-4px}.production-category-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.production-category-column{display:grid;gap:8px;align-content:start}.production-category-picker{display:grid;grid-template-columns:1fr;gap:8px}.production-category-chip{position:relative;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:var(--radius);padding:8px 11px;background:#fff;cursor:pointer;width:100%;transition:transform .16s ease,border-color .16s ease,background-color .16s ease}.production-category-chip:hover,.production-category-chip.is-active{transform:translateY(-2px);border-color:#111}.production-category-chip input{margin:0}.production-run-tabs{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.production-run-tab{min-height:0;gap:8px}.production-run-tab.is-active{background:#fff}.production-run-tab-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.production-planning-layout-table thead th{border-bottom:0;box-shadow:inset 0 -1px #111;background:var(--panel);z-index:2}.production-planning-layout-table tbody tr:first-child td{border-top:0}.production-run-editor-panel{min-height:0}.pack-status{display:inline-flex;align-items:center;justify-content:center;min-width:74px;padding:5px 9px;border-radius:var(--radius);font-size:12px;text-transform:capitalize;white-space:nowrap}.pack-status-idle{background:#efefe9;color:#5d5d5a}.pack-status-open{background:#f3d7d6;color:#7e2321}.pack-status-partial{background:#f2e2a8;color:#695313}.pack-status-done{background:#d3eac8;color:#214f18}.pack-status-over{background:#d5e1ff;color:#21407f}@media(max-width:1260px){.file-storage-layout{grid-template-columns:1fr}.xrechnung-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xrechnung-details-card,.xrechnung-summary-card{grid-column:1 / -1;grid-row:auto}.production-orders-layout,.production-orders-workspace{grid-template-columns:1fr}.production-order-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-run-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.production-week-groups,.production-inventory-preset-row,.production-inventory-form{grid-template-columns:1fr}.production-category-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.production-planning-layout-table td:nth-child(2),.production-planning-layout-table td:nth-child(3),.production-planning-layout-table td:nth-child(4){min-width:240px}.xrechnung-upload-card,.xrechnung-table-card,.xrechnung-customer-card,.xrechnung-supplier-card{grid-column:auto;grid-row:auto}}@media(max-width:960px){.app-shell{display:block;min-height:auto}.sidebar{border-right:0;border-bottom:1px solid var(--border);min-height:auto;height:auto;position:static;overflow:visible;padding:11px 13px;width:100%}.sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}.sidebar-brand{margin-bottom:0;margin-left:-6px}.sidebar-logo{width:min(148px,calc(100vw - 92px))}.sidebar-burger{width:36px;height:36px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:0 0 auto;border:0;border-radius:0;background:transparent;cursor:pointer;padding:0}.sidebar-burger span{width:15px;height:1px;background:var(--text);display:block}.sidebar-menu-panel{display:none;width:100%;margin-top:12px;padding-top:5px}.sidebar.open .sidebar-menu-panel{display:flex}.sidebar-footer{margin-top:7px;padding-bottom:0}.sidebar-user-menu{width:100%}.sidebar-user-dropdown{position:static;bottom:auto;display:none;margin-top:7px;min-width:0;width:100%;opacity:1;pointer-events:auto;transform:none;padding:0;border:0;border-radius:0;background:transparent}.sidebar-user-menu.open .sidebar-user-dropdown{display:grid}.sidebar-user-avatar{display:none}.sidebar-user-trigger{width:auto;gap:0}.main-content{margin-left:0;padding:var(--space-4);width:100%;overflow-x:hidden}.hero-panel{padding:3px 0 18px}.hero-title,.page-header h2{font-size:clamp(34px,12vw,58px);line-height:.94}.home-tile-grid{grid-template-columns:1fr}.home-tile{min-height:104px}.home-tile strong{font-size:22px}.page-grid,.page-grid-wide,.profile-grid,.file-storage-layout,.table-toolbar,.production-run-meta,.production-orders-filter-row,.production-orders-form-row,.production-order-form-grid{grid-template-columns:1fr}.production-order-create-header,.production-order-form-actions,.production-table-pagination{flex-direction:column;align-items:flex-start}.production-table-pagination-actions{flex-direction:row;align-items:center;flex-wrap:wrap}.production-week-header{flex-direction:column;align-items:flex-start}.production-week-group-header,.production-week-row,.production-overlap-row,.production-extra-row,.production-collapsible-header{grid-template-columns:1fr;display:grid}.production-planning-layout-table td:nth-child(2),.production-planning-layout-table td:nth-child(3),.production-planning-layout-table td:nth-child(4){min-width:0}.production-planning-table td:nth-child(1),.production-pack-table td:nth-child(1),.production-pack-table td:nth-child(2){white-space:normal}.production-field-cluster-accessory,.production-field-cluster-cable,.production-category-columns,.production-category-picker{grid-template-columns:1fr}.detail-card{min-height:0}.meta-row{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;padding-top:6px}.meta-row strong{text-align:left}.production-orders-sidebar{gap:9px}.production-order-detail .detail-card-title-small{font-size:16px;line-height:1.04}.production-order-detail .card-copy{line-height:1.35}.production-order-detail .meta-list{gap:5px}.production-order-detail .meta-row span,.production-order-detail .meta-row strong{font-size:13px}.file-list-row{grid-template-columns:1fr;justify-items:start;gap:4px;padding-right:0}.file-list-meta{grid-template-columns:repeat(3,auto);justify-content:start;gap:9px}.xrechnung-upload-form{grid-template-columns:1fr;align-items:stretch}.xrechnung-page-grid{grid-template-columns:1fr}.xrechnung-file-shell{flex-wrap:wrap}.xrechnung-upload-action{width:100%}.xrechnung-submit-button{align-self:stretch}.xrechnung-meta-row{grid-template-columns:1fr;gap:2px}.xrechnung-meta-row strong{text-align:left}.xrechnung-customer-card,.xrechnung-supplier-card,.xrechnung-summary-card,.xrechnung-upload-card,.xrechnung-table-card,.xrechnung-details-card{grid-column:auto;grid-row:auto}.folder-button{padding-right:0}}
