:root{--background:#f4f6f8;--surface:#fff;--surface-strong:#f8fafc;--border:#d7dde5;--text:#111827;--muted:#687386;--blue:#2563eb;--green:#047857;--orange:#c2410c;--red:#dc2626;--yellow:#f59e0b;--shadow:0 1px 2px #1118270f}*{box-sizing:border-box}body{background:var(--background);color:var(--text);margin:0;font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}button,input,select{font:inherit}button{border:1px solid var(--blue);background:var(--blue);color:#fff;cursor:pointer;border-radius:8px;padding:9px 13px;font-weight:800}button:disabled{opacity:.64;cursor:wait}.secondary-button{border-color:var(--border);color:var(--text);background:#fff}.secondary-link-button{border:1px solid var(--border);min-height:38px;color:var(--text);background:#fff;border-radius:8px;justify-content:center;align-items:center;padding:9px 13px;font-size:.84rem;font-weight:850;display:inline-flex}.secondary-link-button:hover,.secondary-link-button:focus-visible{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe;outline:0}a{color:inherit;text-decoration:none}.app-shell{grid-template-columns:236px minmax(0,1fr);width:100%;min-height:100vh;display:grid;overflow-x:clip}.app-sidebar{border-right:1px solid var(--border);background:#fff;flex-direction:column;gap:18px;min-width:0;height:100vh;padding:16px 12px;display:flex;position:sticky;top:0}.app-brand{border-bottom:1px solid #e5e7eb;align-items:center;gap:10px;padding:4px 6px 10px;display:flex}.app-brand-mark{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex:none;place-items:center;width:38px;height:38px;display:grid;overflow:hidden}.app-brand-mark img{object-fit:contain;width:34px;height:34px;display:block}.app-brand strong,.app-brand span{display:block}.app-brand strong{font-size:.95rem;line-height:1.2}.app-brand span{color:var(--muted);margin-top:2px;font-size:.76rem;font-weight:800}.app-nav{gap:6px;display:grid}.app-nav-link{color:var(--muted);border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;padding:9px;display:flex}.app-nav-link:hover,.app-nav-link:focus-visible{color:#1d4ed8;background:#eff6ff;border-color:#dbeafe;outline:0}.app-nav-link.active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.app-nav-icon{width:30px;height:30px;color:var(--text);background:#f1f5f9;border-radius:7px;flex:none;place-items:center;font-size:.72rem;font-weight:900;display:grid}.app-nav-link.active .app-nav-icon,.app-nav-link:hover .app-nav-icon,.app-nav-link:focus-visible .app-nav-icon{color:#1d4ed8;background:#dbeafe}.app-nav-link strong,.app-nav-link small{display:block}.app-nav-link strong{color:inherit;font-size:.9rem}.app-nav-link small{color:var(--muted);margin-top:2px;font-size:.72rem;font-weight:750}.app-sidebar-footer{background:var(--surface-strong);border:1px solid #e5e7eb;border-radius:8px;margin-top:auto;padding:10px}.app-user-card{align-items:center;gap:8px;min-width:0;margin-bottom:8px;display:flex}.app-user-card img,.app-user-card>span{color:#1d4ed8;background:#dbeafe;border-radius:999px;flex:none;place-items:center;width:32px;height:32px;font-size:.72rem;font-weight:900;display:grid}.app-user-card img{object-fit:cover}.app-user-card div{min-width:0}.app-user-card strong,.app-user-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.app-user-card strong{font-size:.82rem}.app-user-card small{color:var(--muted);font-size:.7rem;font-weight:750}.security-pill{color:#b45309;text-transform:uppercase;background:#fffbeb;border-radius:999px;padding:3px 7px;font-size:.68rem;font-weight:900;display:inline-flex}.app-signout-button{border-color:var(--border);width:100%;color:var(--text);background:#fff;margin-top:10px;font-size:.78rem}.app-main{min-width:0;overflow-x:clip}.app-topbar{z-index:20;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f8fafcf0;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 18px;display:flex;position:sticky;top:0}.app-topbar .eyebrow{margin-bottom:2px;font-size:.68rem}.app-topbar strong{font-size:.94rem;display:block}.app-last-commit{color:var(--muted);margin-top:3px;font-size:.72rem;font-weight:800;display:block}.app-topbar-actions{color:var(--muted);align-items:center;gap:8px;font-size:.82rem;font-weight:800;display:inline-flex}.app-status-dot{background:var(--green);border-radius:999px;width:8px;height:8px;box-shadow:0 0 0 4px #0478571f}.platform-page{gap:18px;min-width:0;max-width:100%;padding:24px;display:grid;overflow-x:auto}.platform-page>*{min-width:0}.platform-page-header{max-width:760px}.placeholder-panel{border:1px solid var(--border);max-width:760px;box-shadow:var(--shadow);background:#fff;border-radius:8px;padding:18px}.placeholder-panel h2{margin-bottom:8px;font-size:1rem}.placeholder-panel p{color:var(--muted);margin:0;line-height:1.5}.release-notes-panel,.backlog-panel{border:1px solid var(--border);max-width:900px;box-shadow:var(--shadow);background:#fff;border-radius:8px;gap:14px;padding:18px;display:grid}.release-notes-panel h2,.backlog-panel h2{margin:0;font-size:1rem}.release-notes-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.release-notes-list li{background:var(--surface-strong);border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:10px;padding:10px;display:grid}.release-notes-list code{color:#fff;background:#111827;border-radius:6px;width:fit-content;padding:4px 6px;font-size:.74rem;font-weight:900;display:inline-flex}.release-notes-list strong,.release-notes-list span{display:block}.release-notes-list strong{color:var(--text);font-size:.88rem}.release-notes-list span{color:var(--muted);margin-top:3px;font-size:.76rem;font-weight:800}.release-notes-empty{color:var(--muted);margin:0;font-weight:800}.backlog-panel{max-width:none}.backlog-section-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px;display:grid}.backlog-section-card{background:var(--surface-strong);border:1px solid #e5e7eb;border-radius:8px;min-width:0;padding:12px}.backlog-section-card h3{color:var(--text);margin:0 0 10px;font-size:.9rem}.backlog-section-card ul{color:var(--muted);gap:8px;margin:0;padding-left:18px;font-size:.82rem;font-weight:760;line-height:1.42;display:grid}.backlog-section-card li::marker{color:#94a3b8}.receiving-page{gap:16px}.receiving-page-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.receiving-workspace{gap:14px;display:grid}.receiving-summary-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.receiving-summary-tile{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:8px;gap:4px;padding:12px;display:grid}.receiving-summary-tile span{color:var(--muted);text-transform:uppercase;font-size:.74rem;font-weight:900}.receiving-summary-tile strong{font-size:1.35rem;line-height:1}.receiving-queue-panel,.receiving-detail-panel,.receiving-action-rail,.receiving-empty-detail{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:8px}.receiving-toolbar{border-bottom:1px solid var(--border);background:var(--surface-strong);flex-wrap:wrap;align-items:center;gap:8px;padding:10px;display:flex}.receiving-tabs{border:1px solid var(--border);background:#fff;border-radius:8px;display:inline-flex;overflow:hidden}.receiving-tabs button{border:0;border-right:1px solid var(--border);min-height:34px;color:var(--muted);background:#fff;border-radius:0;padding:7px 12px;font-size:.82rem}.receiving-tabs button:last-child{border-right:0}.receiving-tabs button.active{color:#1d4ed8;background:#eff6ff}.receiving-search,.receiving-shop-filter{border:1px solid var(--border);background:#fff;border-radius:8px;align-items:center;gap:6px;min-height:36px;padding:5px 9px;display:inline-grid}.receiving-search{grid-template-columns:auto minmax(160px,1fr);width:min(340px,100%)}.receiving-shop-filter{grid-template-columns:auto minmax(170px,1fr)}.receiving-search span,.receiving-shop-filter span{color:var(--muted);text-transform:uppercase;font-size:.7rem;font-weight:900}.receiving-search input,.receiving-shop-filter select{min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-size:.84rem;font-weight:800}.receiving-source-note{color:#92400e;background:#fffbeb;border-bottom:1px solid #e5e7eb;margin:0;padding:8px 10px;font-size:.78rem;font-weight:850}.receiving-table-wrap,.receiving-line-table-wrap{overflow:auto}.receiving-po-table,.receiving-line-table,.receiving-order-link-table{border-collapse:collapse;width:100%;min-width:1120px;color:var(--text);font-size:.8rem}.receiving-po-table th,.receiving-po-table td,.receiving-line-table th,.receiving-line-table td,.receiving-order-link-table th,.receiving-order-link-table td{white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:7px 8px}.receiving-po-table th,.receiving-line-table th,.receiving-order-link-table th{color:#374151;text-align:left;background:#eef2f7;font-size:.72rem;font-weight:900}.receiving-po-table tbody tr{cursor:pointer}.receiving-po-table tbody tr:hover,.receiving-po-table tbody tr:focus-visible,.receiving-po-table tbody tr.selected{outline-offset:-2px;background:#eff6ff;outline:2px solid #bfdbfe}.receiving-po-table tbody tr.receiving-po-row-deleted{color:#7f1d1d;background:#fff7f7}.receiving-po-table tbody tr.receiving-po-row-deleted:hover,.receiving-po-table tbody tr.receiving-po-row-deleted:focus-visible{background:#fef2f2;outline-color:#fecaca}.receiving-po-link{color:#1d4ed8;font-weight:900}.receiving-empty,.receiving-empty-detail,.receiving-notes-panel p{color:var(--muted);margin:0;font-weight:800}.receiving-empty{padding:14px}.receiving-detail-layout{grid-template-columns:minmax(0,1fr) 210px;align-items:start;gap:12px;display:grid}.receiving-detail-panel{overflow:hidden}.receiving-detail-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;padding:14px;display:flex}.receiving-detail-header h2{margin:6px 0 0;font-size:1.35rem}.receiving-status-chip{color:#1d4ed8;background:#eff6ff;border-radius:4px;padding:4px 8px;font-size:.76rem;font-weight:900;display:inline-flex}.receiving-status-closed{color:#047857;background:#ecfdf5}.receiving-status-deleted{color:#b91c1c;background:#fef2f2}.receiving-live-status{justify-items:end;gap:5px;display:grid}.receiving-live-status span{color:var(--muted);font-size:.76rem;font-weight:900}.receiving-live-status strong{color:#fff;text-transform:uppercase;background:green;border-radius:4px;padding:8px 18px;font-size:.82rem}.receiving-detail-meta,.receiving-delivery-grid{border-bottom:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px;padding:12px 14px;display:grid}.receiving-detail-meta span,.receiving-delivery-grid span{min-width:0;color:var(--text);font-size:.82rem;font-weight:800}.receiving-detail-meta strong,.receiving-delivery-grid strong{color:#526170;margin-right:5px;font-size:.78rem}.receiving-detail-tabs{border-bottom:1px solid var(--border);background:var(--surface-strong);gap:4px;padding:8px 8px 0;display:flex}.receiving-detail-tabs button{border-color:var(--border);color:var(--text);background:#fff;border-bottom-color:#0000;border-radius:7px 7px 0 0;padding:8px 12px;font-size:.82rem}.receiving-detail-tabs button.active{color:#1d4ed8}.receiving-tab-panel{padding:12px 14px}.receiving-order-link-table{min-width:720px}.receiving-line-panel>header{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface-strong);justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;display:flex}.receiving-line-panel h3{margin:0;font-size:.95rem}.receiving-line-panel header div{gap:6px;display:inline-flex}.receiving-line-panel header button{min-height:30px;padding:5px 9px;font-size:.76rem}.receiving-line-table{min-width:1180px}.receiving-line-table td:nth-child(6),.receiving-line-table td:nth-child(7),.receiving-line-table td:nth-child(8),.receiving-line-table tfoot td{text-align:right}.receiving-line-table tfoot td{background:#e5e7eb;font-weight:900}.receiving-checkbox-label{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.receiving-color-chip{color:#111827;border:1px solid #1118272e;border-radius:0;justify-content:center;min-width:82px;padding:5px 8px;font-weight:850;display:inline-flex}.receiving-qty-input{text-align:right;border:1px dashed #b6c1d1;border-radius:4px;width:86px;padding:5px 7px}.receiving-action-rail{gap:8px;padding:12px;display:grid;position:sticky;top:74px}.receiving-action-rail h3{color:#fff;text-transform:uppercase;background:#1e88e5;border-radius:8px 8px 0 0;margin:-12px -12px 4px;padding:10px 12px;font-size:.82rem}.receiving-action-rail button{text-align:left;justify-content:flex-start;width:100%}.receiving-empty-detail{padding:18px}.receiving-empty-detail h2{margin-bottom:6px;font-size:1rem}.login-shell{background:linear-gradient(180deg, #f8fafceb, #f4f6f8), var(--background);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border:1px solid var(--border);background:#fff;border-radius:8px;gap:18px;width:min(420px,100%);padding:24px;display:grid;box-shadow:0 18px 60px #1118271f}.login-logo{object-fit:contain;width:58px;height:58px;margin-bottom:12px;display:block}.login-card h1{margin-bottom:8px}.login-form{gap:10px;display:grid}.login-form button{min-height:44px}.login-notice{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;margin:0;padding:10px 12px;font-size:.86rem;font-weight:800;line-height:1.4}.login-domain-note{color:var(--muted);margin:0;font-size:.8rem;font-weight:750}.scheduler-shell{min-height:calc(100vh - 58px);padding:18px}.scheduler-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:12px;display:flex}.eyebrow{color:var(--blue);text-transform:uppercase;margin:0 0 4px;font-size:.78rem;font-weight:900}h1,h2,h3,p{margin-top:0}h1{margin-bottom:6px;font-size:1.6rem}.subtitle{color:var(--muted);margin:0}.header-actions{justify-items:end;gap:8px;display:grid}.schedule-control-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.schedule-toolbar{justify-content:space-between;align-items:center;gap:10px 16px;margin:0 0 14px;display:flex}.schedule-find-group{flex:auto;justify-content:flex-start}.schedule-data-group{flex:none;gap:6px}.schedule-view-toggle,.schedule-range-controls{align-items:center;min-height:38px;display:inline-flex}.schedule-view-toggle{border:1px solid var(--border);background:#fff;border-radius:8px;overflow:hidden}.schedule-view-toggle button{border:0;border-right:1px solid var(--border);min-height:36px;color:var(--muted);background:#fff;border-radius:0;padding:8px 10px;font-size:.82rem;font-weight:850}.schedule-view-toggle button:last-child{border-right:0}.schedule-view-toggle button.active{color:#1d4ed8;background:#eff6ff}.schedule-range-controls{border:1px solid var(--border);background:#fff;border-radius:8px;gap:6px;padding:4px}.schedule-range-controls span{min-width:102px;color:var(--text);text-align:center;white-space:nowrap;font-size:.82rem;font-weight:850}.schedule-range-controls button{border-radius:6px;min-height:28px;padding:5px 8px;font-size:.76rem}.schedule-search{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-columns:auto minmax(150px,1fr) auto auto;align-items:center;gap:7px;width:min(420px,100%);min-height:38px;padding:4px 6px 4px 10px;display:inline-grid;position:relative}.schedule-search:focus-within{border-color:#bfdbfe;box-shadow:0 0 0 3px #2563eb1f}.schedule-search span{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:900}.schedule-search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;padding:5px 0;font-size:.84rem;font-weight:800}.schedule-search input::placeholder{color:#9aa3b2;font-weight:750}.schedule-search button{border-color:var(--border);background:var(--surface-strong);width:26px;height:26px;color:var(--muted);border-radius:6px;place-items:center;padding:0;font-size:.72rem;display:grid}.schedule-search small{min-width:44px;color:var(--muted);text-align:right;white-space:nowrap;font-size:.72rem;font-weight:900}.process-filter-dropdown{min-height:38px;position:relative}.refresh-button{min-height:38px}.process-filter-dropdown summary{border:1px solid var(--border);min-height:38px;color:var(--text);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:8px;padding:8px 30px 8px 10px;font-size:.86rem;font-weight:800;list-style:none;display:inline-flex}.process-filter-dropdown summary::-webkit-details-marker{display:none}.process-filter-dropdown summary:after{content:"v";color:var(--muted);font-size:.7rem;font-weight:900;position:absolute;right:11px}.process-filter-dropdown[open] summary{border-color:#bfdbfe;box-shadow:0 0 0 3px #2563eb1f}.process-filter-menu{z-index:30;border:1px solid var(--border);background:#fff;border-radius:8px;gap:6px;min-width:230px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 18px 48px #11182729}.schedule-filter-dropdown{z-index:31}.schedule-filter-menu{min-width:320px;max-height:min(680px,100vh - 150px);overflow:auto}.process-filter-actions{border-bottom:1px solid #e5e7eb;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding-bottom:6px;display:grid}.process-filter-actions button{border-color:var(--border);background:var(--surface-strong);min-height:30px;color:var(--text);padding:5px 8px;font-size:.78rem}.process-filter-option{cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:7px 6px;display:flex}.process-filter-option:hover{background:var(--surface-strong)}.process-filter-option input{width:16px;height:16px;margin:0}.schedule-filter-group{gap:4px;padding-top:6px;display:grid}.schedule-filter-group+.schedule-filter-group{border-top:1px solid #e5e7eb;margin-top:4px}.schedule-filter-group h3{color:var(--muted);text-transform:uppercase;margin:0;padding:4px 2px;font-size:.72rem;font-weight:900}.schedule-filter-group>div{gap:2px;display:grid}.schedule-filter-option{min-height:32px;font-size:.82rem;font-weight:800}.schedule-filter-option .status-pill{font-size:.72rem}.schedule-filter-empty{color:var(--muted);margin:0;padding:6px 2px;font-size:.78rem;font-weight:800}.toggle-control{border:1px solid var(--border);min-height:38px;color:var(--text);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:.86rem;font-weight:800;display:inline-flex}.toggle-control input{width:16px;height:16px;margin:0}.unscheduled-panel,.day-column{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px}.unscheduled-panel{margin-bottom:16px}.unscheduled-panel-collapsed{margin-bottom:12px}.unscheduled-panel-collapsed .panel-header{border-bottom:0}.panel-header,.day-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;padding:12px;display:flex}.panel-header h2,.day-header h2{margin:0 0 3px;font-size:1rem}.panel-header span,.day-header p{color:var(--muted);margin:0;font-size:.86rem}.panel-header-actions{align-items:center;gap:10px;display:inline-flex}.panel-header-actions span{white-space:nowrap;font-weight:850}.panel-header-actions button{min-height:32px;padding:6px 10px;font-size:.78rem}.scheduler-board{grid-template-columns:repeat(5,minmax(230px,1fr));align-items:start;gap:14px;display:grid}.scheduler-board-week{grid-template-columns:repeat(5,minmax(230px,1fr))}.scheduler-board-two-week{grid-template-columns:repeat(5,minmax(190px,1fr))}.month-calendar{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;overflow:auto}.month-weekday-row,.month-day-grid{grid-template-columns:repeat(7,minmax(130px,1fr));min-width:910px;display:grid}.month-weekday{border-right:1px solid var(--border);border-bottom:1px solid var(--border);color:#4b5563;text-align:center;text-transform:uppercase;background:#eef2f7;padding:8px 10px;font-size:.78rem;font-weight:900}.month-weekday:last-child{border-right:0}.month-day{border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:#f8fafc;min-height:150px}.month-day:nth-child(7n){border-right:0}.month-day-outside{background:#eef1f4}.month-day-today{background:#eaf3fb}.month-day-due{background:#fffbeb}.month-day-late{background:#f8d7da}.month-drop-zone{grid-template-rows:auto minmax(0,1fr);min-height:150px;padding:7px;display:grid}.month-day-header{color:#374151;text-align:center;margin-bottom:7px;line-height:1.1}.month-day-header-button{width:100%;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-items:center;gap:2px;padding:2px;display:grid}.month-day-header-button[aria-disabled=true]{cursor:default}.month-day-header-button:not([aria-disabled=true]):hover,.month-day-header-button:not([aria-disabled=true]):focus-visible{background:#2563eb14;outline:0}.month-day-header strong{font-size:.82rem;font-weight:900}.month-day-header span{color:#4b5563;font-size:.68rem;font-weight:750}.month-day-outside .month-day-header,.month-day-outside .month-job-row{opacity:.62}.month-job-list{align-content:start;gap:4px;display:grid;overflow:hidden}.month-job-row{border:1px solid #e5e7eb;border-left:4px solid var(--muted);min-width:0;color:var(--text);cursor:pointer;background:#fff;border-radius:4px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;padding:3px 4px;font-size:.72rem;line-height:1.2;display:grid;box-shadow:0 1px 2px #1118270d}.month-job-row:focus-visible{outline-offset:1px;outline:2px solid #2563eb52}.month-job-row.late{background:#fff1f2;border-color:#ef4444}.month-job-row.due{background:#fffbeb;border-color:#f59e0b}.month-job-row.priority .month-job-title:before{content:"! ";color:var(--red);font-weight:900}.month-job-screenprint{border-left-color:#2563eb}.month-job-embroidery{border-left-color:#047857}.month-job-dtf{border-left-color:#f97316}.month-job-promo,.month-job-trf{border-left-color:#0284c7}.month-job-title,.month-job-meta{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.month-job-title{color:#1d4ed8;font-weight:850}.month-job-meta{color:var(--muted);font-size:.66rem;font-weight:850}.month-more-button{color:#1d4ed8;text-align:center;background:#eff6ff;border-color:#bfdbfe;border-radius:4px;min-height:24px;padding:3px 5px;font-size:.72rem;font-weight:900}.month-day-modal{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-rows:auto minmax(0,1fr);width:min(720px,100vw - 32px);max-height:min(780px,100vh - 32px);display:grid;overflow:hidden;box-shadow:0 24px 90px #1118273d}.month-day-modal-header{border-bottom:1px solid var(--border);background:var(--surface-strong);justify-content:space-between;align-items:flex-start;gap:12px;padding:14px;display:flex}.month-day-modal-header h2{margin:0 0 4px;font-size:1.05rem}.month-day-modal-header p,.month-day-modal-empty{color:var(--muted);margin:0;font-size:.84rem;font-weight:800}.month-day-modal-list{align-content:start;gap:8px;padding:12px;display:grid;overflow:auto}.month-day-modal-row{border:1px solid var(--border);color:var(--text);text-align:left;background:#fff;border-left:4px solid #d1d5db;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px;display:grid}.month-day-modal-row:hover,.month-day-modal-row:focus-visible{background:#f8fbff;border-color:#bfdbfe;outline:0}.month-day-modal-row.priority{border-left-color:var(--red)}.month-day-modal-row.due{background:#fffbeb}.month-day-modal-row.late{background:#fef2f2}.month-day-modal-main,.month-day-modal-main strong,.month-day-modal-main span,.month-day-modal-stats,.month-day-modal-stats span{min-width:0;display:block}.month-day-modal-main strong,.month-day-modal-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.month-day-modal-main strong{font-size:.95rem;font-weight:900}.month-day-modal-main span,.month-day-modal-stats{color:var(--muted);font-size:.78rem;font-weight:800}.month-day-modal-stats{text-align:right;white-space:nowrap}.month-day-modal-row .status-pill{justify-self:end;margin-top:0}.month-day-modal-empty{padding:14px}.drop-zone{min-height:120px;padding:12px}.card-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:12px;display:grid}.day-card-stack{gap:10px;display:grid}.job-card{border:1px solid var(--border);box-shadow:var(--shadow);cursor:grab;background:#fff;border-left:4px solid #0000;border-radius:8px;gap:9px;padding:12px;display:grid}.job-card:focus-visible{outline-offset:2px;outline:3px solid #2563eb47}.job-card.priority{border-left-color:var(--red)}.job-card.due{background:#fffbeb;border-color:#f59e0b7a}.job-card.late{background:#fef2f2;border-color:#dc262666}.job-card-compact{border-left-width:3px;gap:6px;padding:9px}.job-card-compact .badge{padding:3px 6px;font-size:.66rem}.job-card-compact .status-pill{font-size:.72rem}.job-card-compact h3{font-size:.98rem}.job-card-compact .customer{display:none}.job-card-compact .metrics{gap:5px}.job-card-compact .metric{padding:6px}.job-card-compact .metric span{font-size:.62rem}.job-card-compact .metric strong{font-size:.82rem}.job-card-compact .job-card-footer{gap:6px;padding-top:6px;font-size:.74rem}.job-card-header,.job-card-footer,.exception-item-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.job-card-header>div:first-child,.job-card-status-stack{flex:auto;min-width:0;max-width:100%}.job-card-status-stack{justify-items:start;gap:4px;display:grid}.job-card-header .status-pill{text-overflow:ellipsis;vertical-align:top;max-width:100%;display:inline-block;overflow:hidden}.badge{text-transform:uppercase;border-radius:4px;width:fit-content;padding:4px 8px;font-size:.74rem;font-weight:900;display:inline-flex}.process-screenprint{color:#1d4ed8;background:#2563eb1f}.process-embroidery{color:#047857;background:#0478571f}.process-dtf{color:#c2410c;background:#f9731624}.process-promo,.process-trf{color:#0369a1;background:#0ea5e924}.customer{color:var(--muted);margin:4px 0 0;font-size:.82rem;font-weight:700}.status-pill{width:fit-content;max-width:100%;color:var(--muted);white-space:nowrap;border:1px solid #0000;border-radius:4px;margin-top:5px;padding:2px 6px;font-size:.72rem;font-weight:800;line-height:1.35;display:flex}.job-card .status-pill{margin-top:0}.job-card .status-pill-long{overflow-wrap:anywhere;white-space:normal;max-width:100%;padding:2px 4px;font-size:.58rem;line-height:1.2}.status-pill-deco-digitizing{color:#fff;background:#9fc9f5}.status-pill-deco-awaiting-transfers{color:#fff;background:#ff8a2a}.status-pill-deco-transfers-printing{color:#fff;background:#ff5b00}.status-pill-deco-films{color:#fff;background:#f350b8}.status-pill-deco-screens{color:#fff;background:#c9c626}.status-pill-deco-purchase-order{color:#fff;background:#9568b6}.status-pill-deco-ready{color:#fff;background:green}.status-pill-complete{color:#fff;background:#000}.status-pill-error{color:#fff;background:red}.status-pill-mixed,.status-pill-neutral,.status-pill-empty{color:var(--muted);background:#f8fafc;border-color:#e5e7eb}.job-card h3{margin:0;font-size:1.1rem}.card-icons{flex:none;align-items:center;gap:6px;display:inline-flex}.priority-mark{width:26px;height:26px;color:var(--red);background:#fef2f2;border:1px solid #fecaca;border-radius:999px;place-items:center;font-weight:900;display:inline-grid}.note-mark{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:999px;place-items:center;width:26px;height:26px;font-size:.78rem;font-weight:900;display:inline-grid}.rep-review-mark,.shortfall{color:#c2410c;background:#fff7ed;border-radius:999px;padding:5px 7px;font-size:.72rem;font-weight:900}.metrics,.exception-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.metric{background:var(--surface-strong);border:1px solid #e5e7eb;border-radius:7px;gap:2px;min-width:0;padding:8px;display:grid}.metric span{color:var(--muted);text-transform:uppercase;font-size:.7rem;font-weight:900}.metric strong{overflow-wrap:anywhere;min-width:0;font-size:.92rem}.job-card-footer{color:var(--text);border-top:1px solid #e5e7eb;align-items:center;padding-top:9px;font-size:.84rem;font-weight:800}.footer-item{align-items:center;gap:6px;min-width:0;display:inline-flex}.footer-item-estimate{justify-content:flex-end}.footer-label{color:var(--muted);letter-spacing:0;background:#f1f5f9;border-radius:999px;padding:2px 5px;font-size:.62rem;font-weight:900}.capacity-stack{gap:6px;min-width:150px;display:grid}.capacity-row{gap:3px;font-size:.72rem;font-weight:900;display:grid}.capacity-row strong{color:var(--muted)}.capacity-bar{background:#e5e7eb;border-radius:999px;height:5px;overflow:hidden}.capacity-bar span{border-radius:inherit;background:var(--green);height:100%;display:block}.empty-state{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:8px;margin:0;padding:16px}.modal-backdrop{z-index:50;background:#1118277a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.job-modal{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:min(1080px,100%);max-height:min(760px,100vh - 40px);overflow:auto;box-shadow:0 24px 80px #11182747}.job-modal-header{border-bottom:1px solid var(--border);background:var(--surface-strong);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px;display:flex}.job-modal-badges{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.modal-priority-badge{width:fit-content;color:var(--red);text-transform:uppercase;background:#fef2f2;border:1px solid #fecaca;border-radius:4px;padding:4px 8px;font-size:.74rem;font-weight:900;display:inline-flex}.job-modal-header h2{margin:10px 0 4px;font-size:1.25rem;line-height:1.25}.job-modal-header p{color:var(--muted);margin:0;line-height:1.4}.job-modal-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.job-modal-action{border:1px solid var(--border);min-height:36px;color:var(--text);background:#fff;border-radius:8px;justify-content:center;align-items:center;padding:8px 10px;font-size:.82rem;font-weight:800;display:inline-flex}.job-modal-action.primary{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.job-modal-action.danger{color:#b91c1c;background:#fff7f7;border-color:#fecaca}.modal-close{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--text);border-radius:8px;flex:none;place-items:center;padding:0;font-size:1rem;display:grid}.job-modal-body{background:#f8fafc;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;display:grid}.detail-section{border:1px solid var(--border);background:#fff;border-radius:8px;min-width:0;padding:14px;box-shadow:0 1px 2px #1118270a}.detail-section h3{border-bottom:1px solid var(--border);background:var(--surface-strong);color:var(--text);text-transform:uppercase;margin:-14px -14px 12px;padding:10px 14px;font-size:.82rem;font-weight:850;line-height:1.2}.notes-section{background:#fffbeb;border-color:#fbbf24;grid-column:1/-1}.notes-section h3{color:#92400e;background:#fef3c7;border-bottom-color:#fde68a}.notes-section p{white-space:pre-wrap;color:#111827;margin:0;font-size:.96rem;font-weight:700;line-height:1.55}.detail-section dl{grid-template-columns:minmax(96px,.42fr) minmax(0,1fr);gap:8px 14px;margin:0;display:grid}.detail-section dt{color:var(--muted);font-size:.86rem}.detail-section dd{overflow-wrap:anywhere;min-width:0;color:var(--text);margin:0;font-size:.9rem;font-weight:650}.detail-empty{color:var(--muted);margin:0;font-size:.86rem;font-weight:800;line-height:1.45}.linked-po-list{gap:8px;display:grid}.linked-po-card{color:var(--text);background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;display:grid}.linked-po-card:hover,.linked-po-card:focus-visible{outline-offset:1px;border-color:#93c5fd;outline:2px solid #bfdbfe}.linked-po-card span,.linked-po-meta{min-width:0}.linked-po-card strong,.linked-po-card small,.linked-po-meta span{display:block}.linked-po-card strong{color:#1d4ed8;font-size:.92rem}.linked-po-card small,.linked-po-meta{color:var(--muted);font-size:.76rem;font-weight:850}.linked-po-meta{text-align:right}.artwork-section{grid-column:1/-1}.artwork-line-list,.artwork-location-list{gap:12px;display:grid}.artwork-line-item,.artwork-location-item{border:1px solid var(--border);background:var(--surface-strong);border-radius:8px;overflow:hidden}.artwork-location-item{background:#fff}.artwork-line-header,.artwork-location-header{cursor:pointer;background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;list-style:none;display:flex}.artwork-line-header::-webkit-details-marker{display:none}.artwork-location-header::-webkit-details-marker{display:none}.artwork-line-item[open] .artwork-line-header,.artwork-location-item[open] .artwork-location-header{border-bottom:1px solid var(--border)}.artwork-line-title-block{gap:7px;min-width:0;display:grid}.artwork-line-title{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;font-weight:800;line-height:1.25;overflow:hidden}.artwork-line-meta{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.product-meta-chip{background:var(--surface-strong);color:#4b5563;white-space:nowrap;border:1px solid #e5e7eb;border-radius:999px;align-items:center;gap:5px;min-width:0;padding:3px 7px;font-size:.74rem;font-weight:800;line-height:1.1;display:inline-flex}.product-meta-quantity{color:var(--text)}.product-meta-art-colors{color:#1d4ed8;background:#eff6ff;border-color:#dbeafe}.product-meta-screens{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.product-meta-swatch{border:1px solid #11182733;border-radius:999px;flex:none;width:10px;height:10px}.artwork-line-toggle,.artwork-location-toggle{color:var(--blue);flex:none;font-size:.78rem;font-weight:850}.artwork-line-item[open] .artwork-line-toggle,.artwork-location-item[open] .artwork-location-toggle{font-size:0}.artwork-line-item[open] .artwork-line-toggle:after{content:"Collapse";font-size:.78rem}.artwork-location-item[open] .artwork-location-toggle:after{content:"Hide";font-size:.74rem}.product-line-body,.artwork-location-body{gap:12px;padding:10px;display:grid}.product-subheading{color:var(--text);margin:0;font-size:.82rem;font-weight:800}.product-matrix{gap:8px;display:grid}.size-matrix-scroll{border:1px solid var(--border);background:#fff;border-radius:8px;overflow-x:auto}.size-matrix-table{border-collapse:collapse;width:100%;min-width:520px;color:var(--text);text-align:right;font-size:.78rem}.size-matrix-table th,.size-matrix-table td{border-bottom:1px solid var(--border);padding:7px 10px}.size-matrix-table th:first-child,.size-matrix-table td:first-child{text-align:left}.size-matrix-table th{background:var(--surface-strong);color:var(--muted);text-transform:uppercase;font-size:.68rem;font-weight:900}.size-matrix-table td{font-weight:800}.size-matrix-table tbody tr.size-matrix-row-damaged{color:#991b1b;background:#fef2f2}.size-matrix-table tbody tr.size-matrix-row-complete{color:#065f46;background:#ecfdf5}.size-matrix-table tbody tr.size-matrix-row-progress{color:#92400e;background:#fffbeb}.size-matrix-table tfoot td{background:var(--surface-strong);border-bottom:0;font-weight:900}.product-matrix-empty,.artwork-empty{border:1px dashed var(--border);color:var(--muted);background:#fff;border-radius:8px;margin:0;padding:10px;font-size:.82rem;font-weight:700}.artwork-empty{background:var(--surface-strong)}.artwork-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px;display:grid}.artwork-preview{border:1px solid var(--border);color:var(--muted);cursor:zoom-in;text-align:left;background:#fff;border-radius:8px;padding:0;text-decoration:none;display:grid;overflow:hidden}.artwork-preview strong{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;padding:8px 10px;font-size:.78rem;font-weight:800;overflow:hidden}.artwork-media{background:#fff;place-items:center;min-height:180px;display:grid;position:relative;overflow:hidden}.artwork-media img{object-fit:contain;width:100%;max-height:260px;display:block}.artwork-zoom-badge{color:#fff;background:#111827c2;border-radius:999px;place-items:center;width:28px;height:28px;font-weight:900;display:grid;position:absolute;top:8px;right:8px}.production-file-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:8px;display:grid}.production-file-item{border:1px solid var(--border);background:var(--surface-strong);border-radius:6px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex}.production-file-label{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.82rem;font-weight:700;overflow:hidden}.production-file-link{background:var(--blue);color:#fff;border-radius:6px;flex:none;justify-content:center;align-items:center;min-height:30px;padding:6px 9px;font-size:.78rem;font-weight:800;text-decoration:none;display:inline-flex}.image-viewer-backdrop{z-index:80;background:#111827b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.image-viewer{border:1px solid var(--border);background:#fff;border-radius:8px;grid-template-rows:auto minmax(0,1fr);width:min(1120px,100%);height:min(760px,100vh - 36px);display:grid;overflow:hidden;box-shadow:0 24px 80px #11182757}.image-viewer-header{border-bottom:1px solid var(--border);background:var(--surface-strong);justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 16px;display:flex}.image-viewer-header h2{margin:0 0 4px;font-size:1.1rem}.image-viewer-header p{color:var(--muted);margin:0;font-size:.86rem;font-weight:800}.image-viewer-tools{align-items:center;gap:6px;display:flex}.image-viewer-tools button{border-color:var(--border);min-width:42px;min-height:34px;color:var(--text);background:#fff;padding:6px 10px}.image-viewer-body{background:#111827;place-items:center;padding:18px;display:grid;overflow:auto}.image-viewer-body.is-zoomed{cursor:move}.image-viewer-body img{transform-origin:50%;max-width:100%;max-height:100%;transition:transform .12s;display:block}.product-workflow-actions{flex-wrap:wrap;gap:8px;display:flex}.product-workflow-button{border:1px solid var(--border);min-height:32px;color:var(--text);background:#fff;border-radius:6px;padding:7px 10px;font-size:.8rem;font-weight:800}.product-workflow-complete{color:#047857}.product-workflow-damage{color:#b91c1c}.artwork-location-title{min-width:0;color:var(--text);font-size:.86rem;line-height:1.25}.artwork-location-meta{color:var(--muted);text-align:right;flex:auto;font-size:.78rem;font-weight:700}.artwork-color-badge{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;flex:none;padding:3px 7px;font-size:.72rem;font-weight:850;line-height:1}.exception-modal{border:1px solid var(--border);background:#fff;border-radius:8px;width:min(920px,100%);max-height:min(760px,100vh - 40px);overflow:auto;box-shadow:0 24px 80px #11182747}.exception-header,.exception-footer{border-bottom:1px solid var(--border);background:var(--surface-strong);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px;display:flex}.exception-footer{border-top:1px solid var(--border);border-bottom:none;justify-content:flex-end;position:sticky;bottom:0}.exception-header h2{margin-bottom:4px}.exception-header p{color:var(--muted);margin:0}.icon-button{width:36px;height:36px;padding:0}.exception-list{gap:12px;padding:16px;display:grid}.exception-item{border:1px solid var(--border);border-radius:8px;gap:12px;padding:12px;display:grid}.exception-options{gap:8px;display:grid}.exception-options label{color:var(--text);align-items:center;gap:8px;font-weight:800;display:flex}.exception-options select{border:1px solid var(--border);border-radius:7px;width:100%;min-height:36px;padding:6px 8px}@media (max-width:920px){.app-shell{grid-template-columns:1fr}.app-sidebar{z-index:30;border-right:0;border-bottom:1px solid var(--border);gap:10px;height:auto;position:sticky}.app-brand{border-bottom:0;padding-bottom:0}.app-nav{padding-bottom:2px;display:flex;overflow-x:auto}.app-nav-link{min-width:158px}.app-sidebar-footer{display:none}.app-topbar{position:static}.scheduler-header,.panel-header,.day-header{flex-direction:column}.header-actions,.schedule-toolbar,.schedule-control-group,.schedule-search{width:100%}.header-actions,.schedule-toolbar{justify-items:stretch}.schedule-toolbar{flex-direction:column;align-items:stretch}.schedule-control-group{justify-content:flex-start}.schedule-find-group{padding:0}.scheduler-board{grid-template-columns:1fr}.metrics,.exception-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.month-day-modal-row{grid-template-columns:minmax(0,1fr)}.month-day-modal-row .badge,.month-day-modal-row .status-pill{justify-self:start}.month-day-modal-stats{text-align:left}.receiving-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.receiving-page-header{flex-direction:column}.receiving-search,.receiving-shop-filter{width:100%}.receiving-detail-layout{grid-template-columns:1fr}.receiving-detail-header{flex-direction:column}.receiving-live-status{justify-items:start}.receiving-detail-meta,.receiving-delivery-grid{grid-template-columns:1fr}.receiving-action-rail{position:static}}
