.supply-back{display:inline-block;margin-bottom:14px;color:var(--olive)}.supply-date{display:flex;gap:12px;align-items:end;margin:20px 0}.supply-date .form-field{margin:0}.supply-date button{min-height:48px}.supply-summary{display:flex;gap:30px;flex-wrap:wrap}.supply-summary strong{display:block;font-size:30px}.supply-summary span{display:block;font-size:14px;color:var(--muted)}.supply-warning{border-color:#c8a66a}.supply-issue{display:flex;gap:15px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:15px 0}.supply-issue p{font-size:14px;margin:5px 0}.supply-table{width:100%;border-collapse:collapse;text-align:left}.supply-table th,.supply-table td{padding:15px 10px;border-bottom:1px solid var(--line);vertical-align:middle}.supply-table th:first-child{padding-left:0}.supply-table th:last-child,.supply-table td:last-child{padding-right:0}.supply-table tbody th{font-weight:600}.supply-table small{display:block;color:var(--muted);font-size:12px;font-weight:normal}.supply-table input{width:108px;min-height:48px;padding:10px;border:1px solid var(--line);border-radius:10px;background:white}.supply-actions{display:flex;gap:12px;flex-wrap:wrap}.supply-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:48px;padding:12px 18px}.supply-actions [aria-disabled=true]{opacity:.55;cursor:default}.supply-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#supplyMessage{width:100%;min-height:200px;padding:14px;border-radius:12px;border:1px solid var(--line);font:inherit;background:var(--paper);resize:vertical}
@media(max-width:600px){.supply-date{align-items:end;gap:10px}.supply-date .form-field{flex:1;min-width:0}.supply-date input{min-width:0;width:100%}.supply-issue{display:block}.supply-issue button{margin-top:8px}.supply-table thead{font-size:12px}.supply-table td,.supply-table th{padding:12px 4px;overflow-wrap:anywhere}.supply-table td{font-size:13px}.supply-table input{width:76px;max-width:100%;padding:8px}.supply-table tbody th{font-size:14px}.supply-table small{font-size:11px}.supply-table-wrap{max-width:100%}.supply-actions a,.supply-actions button{width:100%}.supply-summary{gap:20px}.supply-summary strong{font-size:26px}}
/* Magazzino e forniture (MAGAZZINO-20261003.md): period, table per product and day, split among suppliers, one card each. */
.supply-tabs{flex-wrap:wrap;margin:16px 0 4px}.supply-tabs button{flex:1 1 150px}.supply-tabs a{display:inline-flex;align-items:center;justify-content:center;flex:1 1 150px;min-height:48px}
.supply-date{flex-wrap:wrap}.supply-quick{display:flex;flex-wrap:wrap;gap:8px;margin:-8px 0 18px}.supply-quick button{min-height:44px}
.supply-summary div{min-width:120px}.supply-notes{margin:8px 0;padding-left:20px}.supply-notes li{margin:5px 0}
.supply-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.stock-needs{min-width:640px}.stock-needs th,.stock-needs td{padding:10px 8px;font-variant-numeric:tabular-nums;white-space:nowrap}.stock-needs tbody th{white-space:normal;min-width:150px}
.stock-needs thead th{font-size:12px;color:var(--muted);font-weight:600}.stock-needs tbody th,.stock-needs thead th:first-child{position:sticky;left:0;z-index:1;background:var(--white)}.stock-needs td:last-child strong{font-size:16px}
.supply-unit{color:var(--muted);font-weight:400;font-size:12px}.supply-flags{color:#8a4b12!important}.supply-none{color:var(--muted)}
.supply-short{color:#a3401b!important;font-weight:600!important}.supply-before{color:var(--muted)}
.supply-order{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;border-top:1px solid var(--line);padding:12px 0}.supply-order small{display:block;color:var(--muted);font-size:12px}
.supply-order.is-cancelled strong{text-decoration:line-through;color:var(--muted)}.supply-order details summary{cursor:pointer;color:var(--olive)}
.supply-alloc{border-top:1px solid var(--line);padding:14px 0}.supply-alloc-name small{display:block;color:var(--muted);font-size:13px}
.supply-alloc-inputs{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0 4px}
.supply-alloc-field{display:flex;align-items:center;gap:8px;font-size:13px}.supply-alloc-field input{width:96px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:10px;background:white;font:inherit}
.supply-alloc-add select{min-height:44px;border:1px solid var(--line);border-radius:10px;background:white;padding:8px;font:inherit;max-width:100%}
.supply-rest{display:block;color:var(--muted);font-size:12px}
.supply-subtitle{margin:26px 0 4px}.supply-card h3{margin:0 0 8px}.supply-card-lines{margin:0 0 10px;padding-left:20px}
.supply-card textarea{width:100%;min-height:170px;padding:12px;border-radius:12px;border:1px solid var(--line);font:inherit;font-weight:400;background:var(--paper);resize:vertical}.supply-card .quiet-note:empty,[data-supplier-status]:empty{display:none}
.supply-regen{margin:0 0 10px}.supply-confirm{background:#8a4b12}.supply-stale{background:#fff6e8;border-color:#c8a66a;color:#8a4b12;font-weight:600}
.supply-products{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:12px 0;max-height:320px;overflow:auto}.supply-products legend{font-weight:600;font-size:13px;padding:0 4px}
.supply-product-search{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:8px;margin:4px 0 8px;font:inherit}
.supply-products-group>strong{display:block;font-size:12px;color:var(--muted);margin:8px 0 2px}.supply-products .checkline{margin:4px 0}.supply-products .checkline[hidden]{display:none}
.supply-supplier{border-top:1px solid var(--line);padding:10px 0}.supply-supplier summary{cursor:pointer}
@media(max-width:600px){.supply-date .form-field{flex:1 1 40%}.supply-date button{flex:1 1 100%}.supply-tabs button,.supply-tabs a{flex:1 1 45%}.supply-order{display:block}.supply-alloc-field{flex-wrap:wrap}.supply-alloc-field input{width:110px}.supply-alloc-add,.supply-alloc-add select{width:100%}}
