.inventory-panel{gap:1.25rem;min-width:0;display:grid}.inventory-title{align-items:flex-start}.inventory-title h2,.inventory-subhead h3{align-items:center;gap:.55rem;display:flex}.inventory-title p{color:var(--muted,#887d75);margin:.45rem 0 0}.inventory-title-actions,.inventory-filters,.inventory-photo-controls{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.inventory-bulk-actions{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.inventory-bulk-actions small{color:#39764a;flex-basis:100%}.inventory-title-actions button,.inventory-filters>.picker{align-items:center;gap:.5rem;display:inline-flex}.inventory-scope-note{color:#75665d;background:#faf7f5;border:1px solid #e9ded7;border-radius:.65rem;margin:0;padding:.75rem 1rem}.inventory-scope-note strong{color:#3c281b}.inventory-notice{color:#21663a;background:#eef8f1;border-radius:.6rem;margin:0;padding:.75rem 1rem}.inventory-metrics{flex-wrap:wrap;align-items:stretch;gap:.8rem;display:flex}.inventory-metrics article{background:#fff;border:1px solid #eee5df;border-radius:.75rem;grid-template-columns:auto 1fr;align-items:center;gap:.15rem .65rem;min-width:12rem;padding:1rem 1.15rem;display:grid}.inventory-metrics article svg{color:#9b7c68;grid-row:span 2}.inventory-metrics article span{color:#887d75;font-size:.84rem}.inventory-metrics article strong{color:#3b291d;font-size:1.35rem}.inventory-metrics>small{color:#887d75;align-self:center}.inventory-city-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.75rem;display:grid}.inventory-city-card{background:#fff;border:1px solid #eee5df;border-radius:.75rem;min-width:0;padding:.9rem 1rem}.inventory-city-card>div{align-items:center;gap:.5rem;display:flex}.inventory-city-card>div svg{color:#9b7c68}.inventory-city-card>div span{color:#887d75;margin-left:auto;font-size:.86rem}.inventory-city-card ul{gap:.4rem;margin:.8rem 0 0;padding:0;list-style:none;display:grid}.inventory-city-card li{justify-content:space-between;gap:.6rem;font-size:.86rem;display:flex}.inventory-city-card li span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-city-card li b{color:#79583f}.inventory-city-card>p,.inventory-no-cities{color:#887d75;margin:.8rem 0 0;font-size:.88rem}.inventory-subhead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding-top:.35rem;display:flex}.inventory-subhead h3{margin:0}.inventory-filters{flex:1;justify-content:flex-end}.inventory-filters .search{color:#887d75;background:#fff;border:1px solid #e5dbd4;border-radius:.6rem;align-items:center;gap:.5rem;min-width:min(100%,18rem);padding:.55rem .75rem;display:flex}.inventory-filters .search input{width:100%;min-width:0;color:inherit;background:0 0;border:0;outline:0}.inventory-table-wrap{background:#fff;border:1px solid #eee5df;border-radius:.7rem;width:100%;overflow:auto}.inventory-table{border-collapse:collapse;width:100%;min-width:1050px;font-size:.88rem}.inventory-table th,.inventory-table td{text-align:left;vertical-align:top;border-bottom:1px solid #f0eae6;padding:.75rem .8rem}.inventory-table th{color:#786b63;white-space:nowrap;background:#faf8f6;font-weight:600;position:sticky;top:0}.inventory-table tr:last-child td{border-bottom:0}.inventory-vin{white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:600}.inventory-status,.inventory-issue-badge{color:#4f6c80;white-space:nowrap;background:#eef3f7;border-radius:999px;padding:.22rem .55rem;font-size:.78rem;display:inline-flex}.inventory-status-muted{color:#887d75;background:#f3f0ee}.inventory-issue-badge{color:#39764a;background:#edf7ef}.inventory-issue-badge.has-issue{color:#a34c20;background:#fff0e9}.inventory-condition{gap:.35rem;max-width:15rem;display:grid}.inventory-issue-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#795642;font-size:.8rem}.inventory-resolution-badge{color:#755b47;background:#f4f0ec;border-radius:999px;width:max-content;padding:.12rem .45rem;font-size:.72rem}.inventory-resolution-feedback{white-space:pre-wrap;overflow-wrap:anywhere;color:#76685e;font-size:.78rem}.inventory-notes{white-space:pre-wrap;overflow-wrap:anywhere;max-width:15rem}.inventory-updated{white-space:nowrap;gap:.2rem;display:grid}.inventory-updated small{color:#93877f}.inventory-actions{white-space:nowrap;align-items:center;gap:.55rem;display:flex}.inventory-photo-button{align-items:center;gap:.25rem;display:inline-flex}.inventory-history{position:relative}.inventory-history summary{cursor:pointer;color:#806957;border:1px solid #e7ded8;border-radius:.5rem;place-items:center;width:2rem;height:2rem;list-style:none;display:grid}.inventory-history summary::-webkit-details-marker{display:none}.inventory-history>div{z-index:5;white-space:normal;background:#fff;border:1px solid #e7ded8;border-radius:.65rem;width:min(22rem,80vw);max-height:22rem;padding:.85rem;position:absolute;top:calc(100% + .3rem);right:0;overflow:auto;box-shadow:0 10px 30px #3c281b24}.inventory-history article{border-bottom:1px solid #f0eae6;padding:.65rem 0}.inventory-history article:last-child{border:0}.inventory-history small{color:#897e76}.inventory-history p{overflow-wrap:anywhere;margin:.35rem 0 0;font-size:.84rem}.inventory-empty{color:#897e76;text-align:center;justify-items:center;gap:.6rem;padding:2.5rem 1rem;display:grid}.inventory-empty strong{color:#49362a}.inventory-empty p{margin:0}.inventory-load-more{justify-self:center}.inventory-dialog{max-width:min(52rem,100vw - 2rem);max-height:90vh;overflow:auto}.inventory-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.inventory-form .field{gap:.45rem;min-width:0;display:grid}.inventory-form .field>span{font-weight:500}.inventory-form input,.inventory-form textarea,.inventory-form .picker,.inventory-form .searchable-option,.inventory-date{color:#3c2b20;background:#fff;border:1px solid #e5dbd4;border-radius:.55rem;width:100%;min-height:2.75rem;padding:.65rem .75rem}.inventory-form input[readonly]{color:#76685e;background:#f7f4f2}.inventory-form textarea{resize:vertical}.inventory-form .inventory-notes-field,.inventory-form .form-actions,.inventory-form .error-box{grid-column:1/-1}.inventory-form small{color:#887d75}.inventory-date{align-items:center;gap:.5rem;padding:.35rem .65rem;display:flex}.inventory-date input{background:0 0;border:0;padding:.2rem}.inventory-form .form-actions,.inventory-photo-dialog .form-actions{border-top:1px solid #eee5df;justify-content:flex-end;gap:.65rem;padding-top:.8rem;display:flex}.inventory-problem-followup,.inventory-photo-staging{background:#faf8f6;border:1px solid #eee5df;border-radius:.65rem;gap:.7rem;padding:.85rem;display:grid}.inventory-problem-followup>small,.inventory-photo-staging>small{color:#887d75}.inventory-photo-staging>strong{color:#49362a}.inventory-staged-photo{background:#fff;border:1px solid #eee5df;border-radius:.5rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.45rem .65rem;display:flex}.inventory-staged-photo>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:grid;overflow:hidden}.inventory-staged-photo small{color:#887d75}.inventory-photo-dialog{max-width:min(56rem,100vw - 2rem);max-height:90vh;overflow:auto}.inventory-photo-controls{background:#faf8f6;border:1px solid #eee5df;border-radius:.65rem;padding:.8rem}.inventory-photo-controls small{color:#887d75;flex-basis:100%}.inventory-file-control{color:#5a4537;cursor:pointer;background:#fff;border:1px solid #dfd4cc;border-radius:.55rem;align-items:center;gap:.45rem;padding:.55rem .8rem;display:inline-flex;position:relative;overflow:hidden}.inventory-file-control input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.inventory-file-control:has(input:disabled){opacity:.55;cursor:not-allowed}.inventory-photo-grid{grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr));gap:.8rem;display:grid}.inventory-photo-grid figure{background:#fff;border:1px solid #eee5df;border-radius:.65rem;min-width:0;margin:0;overflow:hidden}.inventory-photo-grid img{object-fit:cover;background:#f4f0ed;width:100%;height:9.5rem;display:block}.inventory-photo-grid figcaption{gap:.2rem;padding:.5rem .6rem;display:grid}.inventory-photo-grid figcaption strong{text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.inventory-photo-grid figcaption small{color:#887d75;font-size:.72rem}.inventory-empty-photos{text-align:center;color:#887d75;padding:1.5rem}@media (max-width:720px){.inventory-title{gap:1rem;display:grid}.inventory-title-actions{width:100%}.inventory-title-actions button{flex:1;justify-content:center}.inventory-filters{justify-content:stretch;width:100%}.inventory-filters .search{flex:1}.inventory-form{grid-template-columns:1fr}.inventory-form .field,.inventory-form .inventory-notes-field,.inventory-form .form-actions,.inventory-form .error-box{grid-column:1}.inventory-metrics article{flex:1;min-width:9rem}.inventory-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.factory-plan-page{gap:18px;min-width:0;display:grid}.factory-plan-intro,.factory-plan-section{background:#fff;border:1px solid #ece5df;border-radius:16px;min-width:0;padding:22px}.factory-plan-intro{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.factory-plan-intro h2{margin:4px 0 8px;font-size:29px;line-height:1.2}.factory-plan-intro p{color:#74685f;margin:0;line-height:1.6}.factory-plan-kicker{letter-spacing:.13em;color:#a66034;font-size:11px;font-weight:750}.factory-plan-intro button{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.factory-plan-section h3{margin:0;font-size:19px}.factory-plan-section-head{justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.factory-plan-section-head small,.factory-plan-help{color:#776d66;font-size:13px;line-height:1.5}.factory-plan-help{margin:-5px 0 17px}.factory-plan-summary{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:11px;display:grid}.factory-plan-summary-card{text-align:left;color:#3b2a20;cursor:pointer;background:#fffaf6;border:1px solid #e9ded5;border-radius:12px;gap:8px;min-width:0;padding:15px;display:grid}.factory-plan-summary-card:hover,.factory-plan-summary-card.selected{background:#fff3e9;border-color:#e49b68}.factory-plan-summary-card strong{overflow-wrap:anywhere}.factory-plan-summary-card span{font-size:13px}.factory-plan-summary-card b{margin:0 3px;font-size:20px}.factory-plan-summary-card small{color:#796d64}.factory-plan-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.factory-plan-field{color:#5f5045;gap:6px;min-width:0;font-size:13px;font-weight:650;display:grid}.factory-plan-field input,.factory-plan-field select,.factory-plan-field textarea,.factory-plan-controls input,.factory-plan-controls select{color:#362b25;width:100%;min-width:0;min-height:42px;font:inherit;background:#fff;border:1px solid #ddd4cb;border-radius:9px;padding:8px 11px}.factory-plan-field textarea{resize:vertical}.factory-plan-field input:focus,.factory-plan-field select:focus,.factory-plan-field textarea:focus,.factory-plan-controls input:focus,.factory-plan-controls select:focus{outline-offset:1px;outline:2px solid #d99d76}.factory-plan-note{grid-column:1/-1}.factory-plan-actions{grid-column:1/-1;justify-content:flex-end;display:flex}.factory-plan-actions button{min-width:150px}.factory-plan-controls{gap:8px;width:100%;max-width:600px;display:flex}.factory-plan-controls select{max-width:215px}.factory-plan-filter{color:#8b4d28;cursor:pointer;background:#fff7ef;border:1px solid #e8c7ae;border-radius:999px;margin:0 0 12px;padding:5px 11px}.factory-plan-table-wrap{overflow-x:auto}.factory-plan-table{border-collapse:collapse;width:100%;min-width:900px;font-size:13px}.factory-plan-table th{text-align:left;color:#74675e;white-space:nowrap;background:#faf7f4;border-bottom:1px solid #e9e1da;padding:12px;font-size:12px;font-weight:650}.factory-plan-table td{vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #eee8e2;padding:12px}.factory-plan-table td:first-child{max-width:170px}.factory-plan-table td:last-child{white-space:nowrap}.factory-plan-table td small{color:#81746b;line-height:1.5}.factory-plan-note-cell{white-space:pre-wrap;max-width:230px}.factory-plan-pill{color:#57493e;white-space:nowrap;background:#f0ece8;border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;font-weight:650;display:inline-flex}.factory-plan-pill.status-scheduled{color:#845324;background:#fff0dc}.factory-plan-pill.status-assembly{color:#315b77;background:#e7f1fa}.factory-plan-pill.status-completed{color:#326f41;background:#e8f5e9}.factory-plan-pill.status-shipped{color:#19634a;background:#e6f4ee}.factory-plan-pill.status-paused{color:#9a4635;background:#f9e9e5}.factory-plan-empty{color:#817872;text-align:center;background:#faf8f6;border:1px dashed #dfd6ce;border-radius:10px;margin:0;padding:22px}.factory-plan-success{color:#275837;background:#eef8f0;border:1px solid #d0e8d3;border-radius:10px;margin:0;padding:11px 14px}@media (max-width:900px){.factory-plan-section-head{flex-direction:column;align-items:stretch}.factory-plan-controls{max-width:none}}@media (max-width:650px){.factory-plan-page{gap:13px}.factory-plan-intro,.factory-plan-section{padding:16px}.factory-plan-intro{flex-direction:column}.factory-plan-intro button{justify-content:center;width:100%}.factory-plan-form{grid-template-columns:1fr}.factory-plan-note,.factory-plan-actions{grid-column:auto}.factory-plan-actions button{width:100%}.factory-plan-controls{flex-direction:column}.factory-plan-controls select{max-width:none}.factory-plan-table{min-width:0;display:block}.factory-plan-table thead{display:none}.factory-plan-table tbody{gap:12px;display:grid}.factory-plan-table tr{border:1px solid #e9e1da;border-radius:12px;padding:10px;display:grid}.factory-plan-table td{border:0;grid-template-columns:112px minmax(0,1fr);gap:8px;padding:7px 3px;display:grid;white-space:normal!important;max-width:none!important}.factory-plan-table td:before{content:attr(data-label);color:#81746b;font-size:12px}.factory-plan-table td strong{overflow-wrap:anywhere}.factory-plan-note-cell{white-space:pre-wrap}.factory-plan-table td:last-child button{justify-self:start}}.factory-plan-controls{flex-wrap:wrap;align-items:center;max-width:none;margin-bottom:14px}.factory-plan-controls select{flex:170px;max-width:none}.factory-plan-controls input{flex:2 240px}.factory-plan-controls button{white-space:nowrap}.factory-plan-shipped-link{color:#246346;cursor:pointer;background:#eef8f1;border:1px solid #cbded4;border-radius:9px;padding:8px 12px;font-weight:650}.factory-plan-shipment{gap:4px;min-width:150px;display:grid}.factory-plan-shipment small{overflow-wrap:anywhere}.factory-plan-link-missing{color:#a34d20;font-weight:650}.factory-plan-row-actions{flex-wrap:wrap;gap:6px;display:flex}.factory-plan-row-actions button{white-space:nowrap}.production-shipping-page{gap:20px;min-width:0;display:grid}.production-shipping-jump{flex-wrap:wrap;gap:9px;display:flex}.production-shipping-jump a{color:#674632;background:#fff;border:1px solid #e4d8ce;border-radius:999px;padding:9px 14px;font-weight:650;text-decoration:none}.production-shipping-jump a:hover{background:#fff4e9}.production-shipping-page .shipment-panel{min-width:0}.shipment-link-status{font-size:12px;font-weight:650}.shipment-link-status.linked{color:#236c48}.shipment-link-status.unlinked{color:#a45126}@media (max-width:650px){.factory-plan-controls select,.factory-plan-controls input{flex-basis:100%}.factory-plan-controls button,.factory-plan-shipped-link{width:100%}}.shipment-unlinked{background:#fffaf4;border:1px solid #ead9c8;border-radius:12px;margin:14px 0;padding:14px}.shipment-unlinked p{color:#76695e;margin:5px 0 10px;font-size:13px}.shipment-unlinked-items{flex-wrap:wrap;gap:7px;display:flex}.shipment-unlinked-items button{white-space:normal;text-align:left;max-width:100%}.shipment-link-picker{margin:14px 0}.shipment-link-picker select{color:#362b25;background:#fff;border:1px solid #ddd4cb;border-radius:9px;width:100%;min-height:42px;padding:8px 11px}.shipment-link-picker small{color:#796d64}.shipment-link-picker .field{margin-bottom:10px;display:block}.shipment-link-picker .field input{width:100%}.shipment-link-help{justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.shipment-link-help small{flex:1}.shipment-dialog input[readonly]{color:#62574f;background:#f7f4f1}@media (max-width:640px){.shipment-link-help{flex-direction:column;align-items:stretch}.shipment-link-help button{width:100%}}.shipment-history-toggle{cursor:pointer;align-items:flex-start;gap:10px;margin:16px 0 10px;font-size:14px;line-height:1.5;display:flex}.shipment-history-toggle input{accent-color:#ed6b16;flex:none;width:18px;height:18px;margin:2px 0 0}.shipment-history-note{color:#76523a;background:#fff7ed;border-radius:9px;margin:0 0 12px;padding:10px 12px;font-size:13px;line-height:1.5}.factory-plan-edit-dialog{width:min(720px,100vw - 24px);max-width:none;max-height:calc(100dvh - 24px);overflow-y:auto}.factory-plan-edit-dialog .factory-plan-actions{gap:10px}@media (max-width:650px){.factory-plan-edit-dialog{padding:18px}.factory-plan-edit-dialog .factory-plan-actions{grid-template-columns:1fr 1fr;display:grid}.factory-plan-edit-dialog .factory-plan-actions button{min-width:0}}.factory-plan-delete{color:#9a4635}.factory-plan-delete-dialog{width:min(520px,100vw - 24px)}.factory-plan-delete-target{overflow-wrap:anywhere;background:#faf7f4;border:1px solid #eee1d6;border-radius:9px;padding:12px}.factory-plan-delete-dialog .factory-plan-actions{gap:10px}.factory-plan-archived-list{gap:8px;display:grid}.factory-plan-archived-item{border:1px solid #eee1d6;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.factory-plan-archived-item>div{overflow-wrap:anywhere;gap:3px;min-width:0;display:grid}.factory-plan-archived-item small{color:#81746b}@media (max-width:650px){.factory-plan-delete-dialog .factory-plan-actions{grid-template-columns:1fr 1fr;display:grid}.factory-plan-delete-dialog .factory-plan-actions button{min-width:0}}
