*{box-sizing:border-box}:root{--bg:#f5f6fa;--surface:#fff;--surface-soft:#f8fafc;--border:#e2e8f0;--border-strong:#cbd5e1;--text:#111827;--text-soft:#334155;--muted:#64748b;--blue:#2563eb;--blue-dark:#1e40af;--teal:#0f766e;--danger:#b91c1c;--shadow:0 10px 28px rgba(15,23,42,.07);--shadow-soft:0 1px 2px rgba(15,23,42,.05)}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:radial-gradient(circle at top left,#eff6ff 0,#f6f8fb 34%,#f8fafc);color:var(--text);line-height:1.45;font-size:15px}a{color:#1d4ed8;text-decoration:none;font-weight:750}a:hover{text-decoration:underline}input,select,textarea,button{font:inherit;color:var(--text)}button,.button{border:1px solid #bfdbfe;border-radius:11px;background:#eef5ff;color:#1e3a8a;padding:.6rem .86rem;font-weight:820;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;cursor:pointer;box-shadow:var(--shadow-soft);min-height:40px;font-size:.9rem}button:hover,.button:hover{background:#dbeafe;text-decoration:none}button:disabled{opacity:.55;cursor:not-allowed}.primary{border-color:#2563eb;background:linear-gradient(135deg,#2563eb,#0f766e);color:#fff;box-shadow:0 8px 18px #2563eb2e}.primary:hover{background:linear-gradient(135deg,#1e40af,#115e59)}.danger{border-color:#fecaca;background:#fff1f2;color:#991b1b}.danger:hover{background:#fee2e2}.wide{width:100%}.subtle{background:#fff;border-color:#d1d5db;color:#374151}.container{max-width:1480px;width:min(98vw,1480px);margin:0 auto;padding:18px clamp(10px,1.5vw,22px)}.container.app-main{margin-left:240px;width:calc(100vw - 240px);max-width:none;padding:24px 28px 36px;transition:margin-left .18s ease,width .18s ease}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#0b1020;color:#d8deea;display:flex;flex-direction:column;z-index:40;border-right:1px solid rgba(255,255,255,.08);box-shadow:18px 0 42px #0f172a29;transition:width .18s ease}.sidebar-brand{height:68px;display:flex;align-items:center;justify-content:space-between;padding:14px 12px 12px 14px}.sidebar-brand a{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;min-width:0}.brand-mark{width:34px;height:34px;border:1px solid rgba(96,165,250,.6);border-radius:10px;display:grid;place-items:center;background:#111b34;color:#60a5fa;font-weight:950;font-size:.9rem}.brand-copy{display:flex;flex-direction:column;line-height:1.05}.brand-copy strong{font-size:1rem}.brand-copy small{color:#7dd3fc;font-weight:800}.sidebar-toggle{width:36px;height:36px;min-height:36px;border:0;border-radius:10px;background:#172554;color:#93c5fd;padding:0;font-size:1.25rem;box-shadow:none}.global-search{display:flex;align-items:center;gap:8px;margin:0 12px 12px;padding:8px 10px;border-radius:12px;background:#111827;border:1px solid rgba(148,163,184,.18)}.global-search span{color:#64748b}.global-search input{width:100%;border:0;background:transparent;color:#e5e7eb;outline:0;font-size:.84rem}.global-search input::-moz-placeholder{color:#6b7280}.global-search input::placeholder{color:#6b7280}.sidebar-nav{padding:0 8px 12px;overflow:auto;flex:1}.nav-section{margin:10px 0 16px}.nav-section-label{padding:0 8px 7px;color:#6b7280;text-transform:uppercase;letter-spacing:.09em;font-size:.68rem;font-weight:900}.nav-item{height:42px;display:flex;align-items:center;gap:11px;color:#cbd5e1;border-radius:11px;padding:0 11px;text-decoration:none;font-size:.88rem;font-weight:780;margin:3px 0;cursor:pointer}.nav-item:hover{background:#111827;color:#fff;text-decoration:none}.nav-item.active{background:#2563eb;color:#fff;box-shadow:0 10px 22px #2563eb52}.nav-icon{width:18px;display:inline-grid;place-items:center;font-size:1rem;flex:0 0 18px}.sidebar-user{border-top:1px solid rgba(148,163,184,.16);padding:14px 12px;display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center}.user-avatar{width:34px;height:34px;border-radius:999px;background:#172554;color:#fff;display:grid;place-items:center;font-size:.78rem;font-weight:950}.user-copy{min-width:0}.user-copy strong{display:block;color:#fff;font-size:.79rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-copy small{display:block;color:#94a3b8;font-size:.72rem;text-transform:capitalize}.sidebar-user button{width:100%;justify-content:flex-start;background:transparent;border-color:transparent;color:#cbd5e1;box-shadow:none;padding:.5rem .65rem}.sidebar-user button:hover{background:#111827;color:#fff}body.sidebar-collapsed .sidebar{width:72px}body.sidebar-collapsed .container.app-main{margin-left:72px;width:calc(100vw - 72px)}body.sidebar-collapsed .brand-copy,body.sidebar-collapsed .nav-text,body.sidebar-collapsed .nav-section-label,body.sidebar-collapsed .global-search input,body.sidebar-collapsed .global-search span,body.sidebar-collapsed .user-copy{display:none}.page-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:22px}.page-header h1{font-size:2.15rem;line-height:1.05;font-weight:850;letter-spacing:-.04em;margin:0;color:#111827}.page-header p{margin:.35rem 0 0;color:#64748b;font-size:1rem}.page-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:clamp(14px,1.45vw,20px);box-shadow:var(--shadow-soft);margin-bottom:14px}.card h1{font-size:clamp(1.85rem,2.9vw,2.8rem);letter-spacing:-.045em;margin:0 0 .3rem}.card h2{font-size:1.18rem;font-weight:800;letter-spacing:-.02em;margin:.8rem 0 .55rem;color:#111827}.card h3{font-size:1rem;margin:.6rem 0 .4rem}.section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.section-title h1,.section-title h2{margin:0}.actions{display:flex;gap:7px;flex-wrap:wrap}table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}th,td{text-align:left;padding:9px 10px;font-size:.88rem;border-bottom:1px solid #edf2f7;color:var(--text-soft)}th{font-size:.72rem;font-weight:700;text-transform:none;letter-spacing:0;color:#64748b;background:#f8fafc;padding:14px 12px}td{color:#111827;padding:14px 12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#f9fafb}.serial{font-weight:950;color:#0f172a;cursor:pointer}.asset-num,.machine-num{display:inline-flex;align-items:center;justify-content:center;min-width:3.85em;padding:.18rem .48rem;border-radius:999px;background:#ecfeff;border:1px solid #06b6d4;color:#164e63;font-weight:950;font-size:.82rem}.machine-num{background:#fef3c7;border-color:#f59e0b;color:#78350f}.pill,.status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.25rem .6rem;font-size:.76rem;font-weight:900;white-space:nowrap;border:1px solid #cbd5e1;background:#f8fafc;color:#334155}.status-waiting-parts,.status-needed,.status-ordered,.status-on-the-way{background:#fef3c7;border-color:#f8d989;color:#7c4a03}.status-in-repair,.status-diagnosing,.status-new{background:#eaf2ff;border-color:#c9dcff;color:#1d4ed8}.status-ready-for-qc{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}.status-completed,.status-received,.status-paid{background:#e7f6dc;border-color:#cde8bd;color:#166534}.status-intake{background:#f3f4f6;border-color:#e5e7eb;color:#374151}.status-scrapped,.status-cancelled{background:#fee2e2;border-color:#fecaca;color:#991b1b}.status-invoiced{background:#f3e8ff;border-color:#d8b4fe;color:#6b21a8}.filters{display:grid;grid-template-columns:minmax(170px,.75fr) minmax(180px,220px) minmax(240px,1fr) minmax(240px,1fr) minmax(110px,130px);gap:8px;margin-bottom:12px;align-items:end}.filters input,.filters select,.form-grid input,.form-grid select,label input,label select,label textarea,.check-row input{width:100%;border:1px solid #d1d9e6;border-radius:11px;padding:.62rem .72rem;margin-top:4px;min-height:40px;background:#fff}.filters input:focus,.filters select:focus,.form-grid input:focus,.form-grid select:focus,label input:focus,label select:focus,label textarea:focus,.check-row input:focus{outline:3px solid rgba(47,111,237,.16);border-color:#2f6fed}label{display:block;font-weight:820;color:#1e293b;margin-bottom:10px;font-size:.88rem}.hint{font-size:.78rem;color:#64748b;font-weight:650}.alert{background:#fef2f2;border:1px solid #fca5a5;color:var(--danger);padding:.85rem;border-radius:12px;margin:12px 0;font-weight:750}.muted{color:var(--muted)}.login-wrap{min-height:70vh;display:grid;place-items:center}.login-card{max-width:430px;width:100%}.login-card h1{margin-bottom:4px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.serial-field{grid-column:span 2}.serial-field input{font-size:1.1rem;font-weight:950;text-transform:uppercase;letter-spacing:.04em}.machine-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.side-card{position:sticky;top:82px}.checklist{display:grid;gap:8px}.check-row{display:grid;grid-template-columns:minmax(230px,310px) 82px minmax(150px,1fr) minmax(150px,1fr) auto 38px;-moz-column-gap:14px;column-gap:14px;gap:8px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;box-shadow:var(--shadow-soft)}.check-row.ok{background:#fbfdfc}.check-row.needs-work{background:#fff8ed;border-color:#fed7aa}.check-title{display:grid;grid-template-columns:1fr;gap:3px;align-items:start;margin:0;min-width:0;max-width:310px}.check-title .check-name-input{margin:0;width:100%;border:1px solid transparent;background:transparent;border-radius:6px;padding:0 .2rem;font-size:.86rem;font-weight:720;color:#111827;line-height:1.18}.check-title .check-name-input:hover,.check-title .check-name-input:focus{background:#fff;border-color:#bfdbfe;outline:2px solid rgba(47,111,237,.12)}.check-status-line{display:flex;align-items:center;gap:6px;margin:0;color:#475569;font-weight:850;line-height:1.1;padding-left:28px}.check-status-line input[type=checkbox]{width:auto!important;min-height:0!important;margin:0 0 0 -28px!important;padding:0!important;transform:none!important;flex:0 0 auto}.check-status-line small{display:block;margin:0!important;font-size:.76rem;color:#475569;font-weight:760}.check-row.needs-work .check-status-line small{color:#9a3412}.checklist-add{background:#eff6ff;border-color:#93c5fd;grid-template-columns:minmax(230px,310px) minmax(220px,1fr) 74px 82px minmax(150px,1fr) minmax(150px,1fr);align-items:center}.checklist-add .check-title{display:flex;align-items:center;gap:8px;max-width:310px}.checklist-add .check-title input[type=checkbox]{width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;padding:0!important;transform:none!important;flex:0 0 16px}.checklist-add input[name=new_item_name]{min-width:220px;width:100%;height:42px;margin-top:0}.drag-handle{justify-self:end;align-self:center;width:32px;min-width:32px;height:46px;border:0;background:transparent;color:#64748b;cursor:grab;font-size:17px;font-weight:900;letter-spacing:-6px;line-height:1;border-radius:9px;padding-right:7px;touch-action:none;box-shadow:none;min-height:0}.drag-handle:hover,.drag-handle:focus{background:#eff6ff;color:#1d4ed8;outline:2px solid rgba(37,99,235,.18)}.check-row.dragging{opacity:.58;border-color:#3b82f6;background:#eff6ff;box-shadow:0 10px 24px #2563eb24}.progress-bar{height:8px;border-radius:999px;background:#edf2f7;overflow:hidden;margin:-4px 0 16px}.progress-bar span{display:block;height:100%;border-radius:999px;background:#2f6fed}.checklist-progress{text-align:right;border:1px solid #e5e7eb;background:#fff;border-radius:12px;padding:8px 10px;min-width:96px}.checklist-progress strong{display:block;color:#111827;font-size:1.2rem}.checklist-progress span{display:block;color:#64748b;font-size:.72rem;font-weight:800;text-transform:uppercase}.history{border-left:4px solid #2563eb;padding:7px 0 7px 10px;margin:8px 0;background:#f8fafc;border-radius:0 10px 10px 0}.history p{margin:.3rem 0 0}.timeline .history:first-child{border-left-color:#2f6fed;background:#eff6ff}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}.metric-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px 24px;box-shadow:0 1px 3px #0000000f}.metric-card span{display:block;color:#64748b;font-size:.86rem;font-weight:600}.metric-card strong{display:block;margin-top:6px;color:#111827;font-size:2rem;font-weight:800;letter-spacing:-.03em}.metric-card.orange strong{color:#8a5200}.metric-card.green strong{color:#047857}.metric-card.blue strong{color:#1f5fd6}.attention-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px}.attention-card{display:grid;grid-template-columns:38px 1fr;grid-template-areas:"icon label" "icon value";align-items:center;gap:0 10px;background:#fff;border:1px solid #e5e7eb;border-radius:13px;padding:14px;color:#111827;text-decoration:none;box-shadow:var(--shadow-soft);cursor:pointer}.attention-card:hover{text-decoration:none;border-color:#bfdbfe}.attention-card span{grid-area:icon;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f1f5f9;font-weight:950}.attention-card small{grid-area:label;color:#475569;font-weight:800}.attention-card strong{grid-area:value;font-size:1.55rem;line-height:1}.attention-card.red span{background:#fff1f2;color:#e11d48}.attention-card.red strong{color:#be123c}.attention-card.orange span{background:#fffbeb;color:#d97706}.attention-card.orange strong{color:#c2410c}.attention-card.green span{background:#ecfdf5;color:#059669}.attention-card.green strong{color:#047857}.attention-card.blue span{background:#eff6ff;color:#2563eb}.attention-card.blue strong{color:#1d4ed8}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);gap:18px}.queue-list{display:grid}.queue-item,.inventory-alert{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 16px;border-bottom:1px solid #f1f5f9;color:#111827;text-decoration:none;cursor:pointer}.queue-item:hover,.inventory-alert:hover{background:#f8fafc;text-decoration:none}.queue-item strong,.inventory-alert strong{display:block;font-size:.92rem}.queue-item small,.inventory-alert small{display:block;color:#64748b;font-size:.78rem}.queue-item em{display:block;color:#6b7280;font-size:.78rem;font-style:normal;margin-top:2px}.queue-alert{background:#fff1f2;color:#e11d48}.warning-icon{background:#fffbeb;color:#d97706}.soft-badge,.updated-pill{display:inline-flex;align-items:center;border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:.32rem .58rem;font-size:.76rem;font-weight:800;color:#64748b}.range-tabs{display:flex;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:3px;box-shadow:var(--shadow-soft)}.range-tabs a{padding:.55rem 1rem;border-radius:9px;color:#334155;font-size:.82rem;text-decoration:none;cursor:pointer}.range-tabs a.active{background:#eff6ff;color:#1d4ed8}.stats-stack{display:grid;gap:12px}.big-stat{border:1px solid #e5e7eb;border-radius:13px;padding:14px;background:#fff}.big-stat span{display:block;color:#64748b;font-size:.8rem;font-weight:800}.big-stat strong{font-size:1.85rem;color:#111827}.mini-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mini-stat{border:1px solid #e5e7eb;border-radius:12px;padding:10px;background:#fff}.mini-stat strong{display:block;font-size:1.35rem;margin-top:6px}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.tabs a{border:1px solid var(--border-strong);background:#f8fafc;color:#1e293b;border-radius:999px;padding:.5rem .78rem;font-size:.86rem;font-weight:900;cursor:pointer}.tabs a.active{background:linear-gradient(135deg,#2563eb,#0f766e);border-color:#2563eb;color:#fff;box-shadow:0 10px 22px #2563eb33}.device-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:10px 0 14px}.device-summary div,.empty-state{background:#f8fafc;border:1px solid var(--border);border-radius:13px;padding:10px}.device-summary span{display:block;color:var(--muted);font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.device-summary strong{font-size:.98rem}.empty-state p{margin:.35rem 0 0}.problem-list{display:grid;gap:9px;margin-bottom:14px}.problem-card{background:#fff7ed;border:1px solid #fdba74;border-radius:14px;padding:10px;display:grid;gap:10px}.problem-done{display:flex;gap:10px;align-items:flex-start;margin:0}.problem-done input{width:auto;margin:.25rem 0 0;transform:scale(1.25)}.problem-done small{display:block;color:#9a3412;font-weight:800;margin-top:3px}.problem-card textarea{width:100%;border:1px solid var(--border-strong);border-radius:12px;padding:.75rem;background:#fff}.completed-card{background:#f0fdf4;border-color:#86efac}.completed-card small{color:#166534;font-weight:850}.repair-note-readonly{margin:.45rem 0;padding:.55rem .65rem;border:1px solid #bbf7d0;border-radius:9px;background:#f0fdf4;color:#14532d;font-weight:760}.used-part-card{border-color:#bbf7d0;background:#f0fdf4}.group-row td{background:#e0f2fe;color:#075985;font-weight:950;text-transform:uppercase;letter-spacing:.04em;border-top:2px solid #38bdf8}.priority-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.33rem .72rem;font-size:.82rem;font-weight:750;border:1px solid #e5e7eb;background:#f3f4f6;color:#374151}.priority-low{background:#e7f6dc;border-color:#cde8bd;color:#166534}.priority-normal{background:#f3f4f6;border-color:#e5e7eb;color:#374151}.priority-high,.priority-urgent{background:#fee2e2;border-color:#fecaca;color:#991b1b}.paste-dropzone{border:2px dashed #2563eb;background:#dbeafe;border-radius:18px;padding:18px;margin:18px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;transition:.16s ease}.paste-dropzone h2{margin:.1rem 0 .35rem;color:#172554}.paste-dropzone p{margin:0;color:#1e3a8a;font-weight:700}.paste-dropzone.dragging,.paste-dropzone.has-paste{border-color:#1d4ed8;background:#bfdbfe;box-shadow:0 0 0 4px #2563eb29}.attachment-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:12px;margin:12px 0 18px}.attachment-card{border:1px solid #cbd5e1;background:#f8fafc;border-radius:14px;padding:8px;color:#1e293b;display:flex;flex-direction:column;gap:5px;min-width:0}.attachment-card img{width:100%;height:96px;-o-object-fit:cover;object-fit:cover;border-radius:10px;background:#e2e8f0}.attachment-card span{font-weight:850;font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-card small{color:#475569}.preview-card button{padding:.4rem .55rem;border-radius:9px;background:#fee2e2;color:#991b1b;border-color:#fca5a5}.completion-notice{position:fixed;right:clamp(12px,3vw,28px);bottom:clamp(12px,3vw,28px);z-index:2147483000;max-width:min(520px,calc(100vw - 24px));display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;background:#eff6ff;border:2px solid #2563eb;border-left:8px solid #0f766e;border-radius:20px;padding:16px 18px 18px;box-shadow:0 22px 55px #0f172a38;color:#172554}.completion-icon{width:42px;height:42px;border-radius:999px;background:linear-gradient(135deg,#1d4ed8,#0f766e);color:#fff;display:grid;place-items:center;font-size:1.45rem;font-weight:950}.completion-copy strong{display:block;font-size:1.04rem;line-height:1.25}.completion-copy p{margin:.35rem 0 0;color:#1e3a8a;font-weight:750}.completion-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.completion-close{position:absolute;right:10px;top:8px;width:30px;height:30px;border-radius:999px;padding:0;background:#dbeafe;border-color:#93c5fd;color:#172554;font-size:1.25rem;line-height:1;min-height:0;box-shadow:none}.label{background:#fff;color:#111;padding:18px;margin:auto;border:1px solid #ddd}.label-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.label h1{font-size:42px;line-height:.94;margin:0 0 8px;word-break:break-all}.label h2{margin:0 0 8px;font-size:22px}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:900;margin:0 0 5px}.machine-number{width:118px;height:118px;border:3px solid #111;border-radius:12px;display:grid;place-items:center;font-size:34px;line-height:1;font-weight:1000;letter-spacing:-.05em;background:#fff;color:#111}.label-meta p{margin:.35rem 0}.needed ul{margin:.35rem 0 .2rem 1.2rem;padding:0}.label.full{max-width:8.5in;min-height:10.5in}.label.full h1{font-size:54px}.label.full .machine-number{width:150px;height:150px;font-size:46px}.label.\34x6{width:4in;min-height:6in}.label.\34x6 h1{font-size:34px}.label.\31x2{width:2.625in;height:1in;padding:0 .2in;font-size:9px;line-height:1.05;overflow:hidden;border:0;display:grid;grid-template-rows:.55in 1fr;row-gap:2px}.label.\31x2 .label-head{display:grid;grid-template-columns:minmax(0,1fr) .48in;gap:3px;margin:0;align-items:start}.label.\31x2 .label-info{max-height:.55in;overflow:hidden;min-width:0}.label.\31x2 .serial-status{display:flex;align-items:baseline;white-space:nowrap;overflow:hidden;line-height:1;gap:2px;max-width:100%;min-width:0}.label.\31x2 .serial-status h1{display:block;flex:0 0 auto;width:auto;max-width:none!important;font-size:12.2px;line-height:.98;margin:0;letter-spacing:-.055em;white-space:nowrap;overflow:visible;text-overflow:clip}.label.\31x2 .serial-status .status-separator{display:inline;flex:0 0 auto;font-size:10px;line-height:1;font-weight:900;margin-left:1px}.label.\31x2 .serial-status h2{display:block;flex:1 1 auto;min-width:0;max-width:100%;font-size:10px;line-height:1;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label.\31x2 .machine-number{width:.48in;height:.48in;font-size:12.5px;border-radius:4px}.label.\31x2 .label-meta{font-size:9.8px;line-height:1.035;margin-top:1px}.label.\31x2 .label-meta p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label.\31x2 .label-meta strong{font-weight:950}.label.\31x2 .eyebrow{display:none}.label.\31x2 .needed{border-top:1px solid #111;padding-top:1px;font-size:9.4px;line-height:1.07;overflow:hidden;font-weight:800;margin:0}.label.\31x2 .needed strong{display:inline;font-size:inherit;line-height:inherit;text-transform:uppercase;letter-spacing:.01em;font-weight:950}.label.\31x2 .needed ul{display:inline;margin:0 0 0 2px;padding:0;list-style:none}.label.\31x2 .needed li{display:inline;line-height:1.07;margin:0;overflow:visible;text-overflow:clip;font-weight:805;white-space:normal}.label.\31x2 .needed li:before{content:" • ";font-weight:950}.label.\31x2.few-issues .needed,.label.\31x2.some-issues .needed{font-size:9.8px;line-height:1.08;font-weight:820}.label.\31x2.many-issues .needed{font-size:9.1px;line-height:1.055}.label.\31x2.many-issues .serial-status h2,.label.\31x2.many-issues .serial-status .status-separator{font-size:9px}.label.\31x2.many-issues h1{font-size:11.1px;letter-spacing:-.06em;max-width:none!important}.print-actions{text-align:center;margin:16px}.planner-card-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px;margin-top:12px}.planner-card{border:1px solid #e5e7eb;background:#fff;border-radius:12px;padding:12px;display:grid;gap:8px;box-shadow:0 1px 2px #0f172a0a}.planner-card .planner-pick{display:flex;align-items:center;gap:8px;font-weight:900;color:#111827}.planner-card .planner-pick input{width:15px;height:15px}.planner-card-model{color:#64748b;font-size:.78rem;font-weight:700}.planner-card-part{display:flex;align-items:center;justify-content:space-between;gap:8px}.planner-card-part strong{font-size:.82rem;color:#1d4ed8}.planner-card-part span{font-size:.86rem;font-weight:850;color:#111827}.planner-card-specs{font-size:.78rem;color:#475569;line-height:1.35}.planner-link-label{display:grid;gap:5px;font-size:.72rem;color:#64748b;font-weight:800}.planner-link-input{height:36px;border-radius:8px;border:1px solid #d1d5db;padding:8px 10px;font-size:.82rem}.order-machine-preview{display:grid;gap:8px;margin-top:8px}.order-machine-preview-row{border:1px solid #e5e7eb;background:#f8fafc;border-radius:10px;padding:10px}.order-machine-preview-row strong{display:block;color:#111827;font-size:.88rem}.order-machine-preview-row small{display:block;color:#64748b;font-weight:650;line-height:1.35;margin-top:3px}.inline-add-input{margin-top:8px;background:#fff!important;border:1px dashed #cbd5e1!important;color:#111827!important}.inline-add-input:focus{border-style:solid!important;border-color:#2f6fed!important;outline:3px solid rgba(47,111,237,.16)}.completion-stamp{margin:8px 0 16px;padding:10px 12px;border-radius:10px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-size:.9rem}.invoice-pill{margin:.25rem 0 16px}.ghost-action,.ghost-link{background:#fff!important;border:1px solid #e5e7eb!important;color:#475569!important;box-shadow:none!important}.danger-link{color:#b91c1c!important;text-decoration:none;display:inline-flex;margin-top:6px}.row-actions{display:inline-flex;gap:6px;align-items:center;flex-wrap:nowrap}.row-actions .button,.row-actions button{width:auto!important;min-width:36px!important;height:34px!important;padding:.38rem .58rem!important;border-radius:9px!important;font-size:.82rem!important;font-weight:850!important;box-shadow:0 1px 2px #0f172a0d!important}.row-actions .danger{background:#fff1f2!important;border-color:#fecaca!important;color:#991b1b!important}@media (max-width:1180px){.attention-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.container.app-main{padding:18px}.machine-grid{grid-template-columns:1fr}.side-card{position:static}.metric-grid,.machine-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.planner-card-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (max-width:850px){.sidebar{position:static;width:100%;height:auto}body.sidebar-collapsed .sidebar{width:100%}body.sidebar-collapsed .brand-copy,body.sidebar-collapsed .nav-text,body.sidebar-collapsed .nav-section-label,body.sidebar-collapsed .user-copy{display:revert}.sidebar-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.sidebar-user,.global-search,.sidebar-toggle{display:none}.container.app-main,body.sidebar-collapsed .container.app-main{margin-left:0;width:100%;padding:12px}.attention-grid{grid-template-columns:1fr}.page-header{flex-direction:column}.range-tabs{width:100%;overflow:auto}.mini-stat-grid,.filters,.form-grid,.check-row,.checklist-add{grid-template-columns:1fr}.serial-field{grid-column:auto}.table-card{overflow-x:auto}.planner-card-grid,.metric-grid{grid-template-columns:1fr}}@media print{body{background:#fff}.no-print,.sidebar{display:none!important}.container{padding:0;margin:0;max-width:none}.card{box-shadow:none;border:0}.label{border:0;margin:0;page-break-inside:avoid;box-sizing:border-box}.label.\31x2{page-break-after:avoid;-moz-column-break-after:avoid;break-after:avoid}.label.\34x6{width:4in;min-height:6in;margin:0;padding:.18in;box-sizing:border-box}.label.\31x2{width:2.625in;height:1in;padding:0 .14in;box-sizing:border-box;overflow:hidden}}
