:root{--ink:#18221d;--forest:#26372e;--green:#557b5e;--lime:#b8dc5a;--paper:#f5f3ed;--card:#fff;--line:#d8ddd8;--muted:#66706a;--danger:#9b3a2e;--amber:#ae7325;--shadow:0 12px 35px rgba(26,40,31,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.topbar{height:76px;background:var(--forest);color:#fff;display:flex;align-items:center;padding:0 4vw;gap:34px;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;margin-right:auto}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--lime);color:var(--forest);font-size:24px;font-weight:900}.brand small{display:block;color:#cdd6d0;font-size:11px;letter-spacing:.04em}.topbar nav{display:flex;gap:25px}.topbar nav a,.link-button{color:#e7ece9;text-decoration:none;font:inherit;font-size:14px;background:none;border:0;cursor:pointer}.page-shell{width:min(1180px,92vw);margin:0 auto;padding:48px 0 80px}.hero,.batch-header{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;margin-bottom:34px}.hero h1,.narrow-header h1,.batch-header h1{font-size:clamp(32px,4vw,55px);line-height:1.02;letter-spacing:-.045em;margin:4px 0 14px;max-width:760px}.hero p,.narrow-header p,.batch-header p{max-width:680px;color:var(--muted);font-size:17px;line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:11px!important;font-weight:800;color:var(--green)!important;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;padding:11px 17px;text-decoration:none;font-weight:750;font-size:14px;cursor:pointer}.button.large{padding:15px 21px}.button.primary{background:var(--lime);color:var(--forest)}.button.secondary{background:#fff;color:var(--forest);border-color:var(--line)}.button.dark{background:var(--forest);color:#fff}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:25px 0 55px}.stat-card{padding:24px;display:grid;gap:5px;background:var(--forest);color:#fff;border-radius:16px}.stat-card.warning{background:#fff;color:var(--ink);border:1px solid #ead3ad}.stat-card span{color:#c9d3cd}.stat-card.warning span{color:var(--amber)}.stat-card strong{font-size:36px}.stat-card a{color:inherit}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:32px 0 14px}.section-heading h2{margin:4px 0;font-size:27px}.table-card{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:14px 16px;text-align:left;border-bottom:1px solid #e7eae7;font-size:14px}th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.number{text-align:right;font-weight:800}.empty{text-align:center;color:var(--muted);padding:35px}.status{display:inline-flex;border-radius:100px;padding:5px 9px;font-size:11px;font-weight:800}.status.ready{background:#dfeedd;color:#31553a}.status.review{background:#fff0cf;color:#744c13}.status.processing{background:#e1ebf2;color:#28516c}.text-link{color:var(--green);font-weight:800;text-decoration:none}.narrow-header{max-width:800px;margin-bottom:28px}.form-card{max-width:760px;padding:28px}.stack-form p{display:grid;gap:7px;margin:0 0 20px}.stack-form label{font-weight:750;font-size:13px}.stack-form input,.stack-form select,.stack-form textarea,.filter-bar input,.filter-bar select{width:100%;border:1px solid #bdc6bf;border-radius:9px;background:#fff;padding:12px;font:inherit}.stack-form textarea{min-height:100px}.stack-form ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px}.stack-form ul label{display:flex;gap:6px;align-items:center;background:#f1f4f1;padding:8px 10px;border-radius:8px}.stack-form ul input{width:auto}.form-actions,.button-row{display:flex;gap:10px;justify-content:flex-end}.messages{display:grid;gap:8px;margin-bottom:20px}.message{padding:12px 15px;border-radius:9px;background:#e4efe5}.message.error{background:#f7dfdc;color:var(--danger)}.review-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff3d8;border:1px solid #e6c98d;padding:20px;border-radius:14px;margin:20px 0 35px}.review-banner div{display:grid;gap:5px}.review-banner span{color:#69522c;font-size:14px}.distribution-list{display:grid;gap:12px}.product-card{overflow:hidden}.product-card summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:18px 20px}.product-card summary::-webkit-details-marker{display:none}.product-card summary>span:first-child{display:flex;align-items:center;gap:15px}.product-card summary>span:first-child b{color:var(--green);min-width:55px}.product-total{color:var(--muted)}.product-total b{font-size:20px;color:var(--ink)}.product-body{border-top:1px solid var(--line);padding:0 10px 10px}.customer-note{text-align:right;padding:0 14px;color:var(--danger)}.filter-bar{display:grid;grid-template-columns:1fr 230px auto;gap:10px;padding:14px;margin-bottom:18px}.tag{display:inline-flex;background:#e6efe7;color:#36563e;padding:4px 7px;border-radius:6px;margin:2px;font-size:11px;font-weight:750}.missing{color:var(--danger);font-weight:750}.login-panel{max-width:450px;margin:6vh auto;padding:35px}.login-panel h1{font-size:36px;margin:5px 0}.muted{color:var(--muted)}.error-text{color:var(--danger)}
.bulk-form-card{max-width:900px}.upload-field{display:grid;gap:9px;margin-bottom:22px}.upload-field>label{font-weight:750;font-size:13px}.drop-zone{border:2px dashed #aebbb2;border-radius:14px;background:#f8faf8;min-height:230px;padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;transition:.2s ease;cursor:pointer}.drop-zone:hover,.drop-zone.dragging{border-color:var(--green);background:#edf4ee;box-shadow:inset 0 0 0 2px rgba(85,123,94,.12)}.drop-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--lime);color:var(--forest);font-size:27px;font-weight:900}.drop-zone>strong{font-size:18px}.drop-zone>span{color:var(--muted)}.upload-buttons{display:flex;gap:9px;margin-top:10px;flex-wrap:wrap;justify-content:center}.selection-summary{display:flex;align-items:center;justify-content:space-between;background:#e9f1ea;border-radius:10px;padding:12px 14px}.selection-summary>div{display:flex;gap:10px;align-items:baseline}.selection-summary span{color:var(--muted);font-size:13px}.link-button.danger{color:var(--danger)}.file-preview{list-style:none!important;padding:0!important;margin:0!important;display:grid!important;gap:4px!important}.file-preview li{display:block!important;background:none!important;padding:3px 5px!important;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-preview .more{font-weight:800;color:var(--green)}.processing-state{align-items:center;gap:13px;padding:14px;background:#edf3e4;border-radius:10px;margin-bottom:18px}.processing-state:not([hidden]){display:flex}.processing-state div{display:grid;gap:3px}.processing-state small{color:var(--muted)}.spinner{width:25px;height:25px;border:3px solid #c7d1c9;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}button:disabled{opacity:.65;cursor:wait}
@media(max-width:760px){.topbar{height:auto;min-height:72px;padding:12px 4vw;flex-wrap:wrap}.topbar nav{order:3;width:100%;overflow:auto;padding-bottom:5px}.brand small{display:none}.page-shell{padding-top:30px}.hero,.batch-header{align-items:flex-start;flex-direction:column}.stats-grid{grid-template-columns:1fr}.button-row{width:100%;flex-wrap:wrap}.review-banner{align-items:flex-start;flex-direction:column}.product-card summary{align-items:flex-start;gap:10px;flex-direction:column}.filter-bar{grid-template-columns:1fr}.table-card table{min-width:700px}.form-actions{justify-content:stretch}.form-actions .button{flex:1}.selection-summary{align-items:flex-start;gap:8px;flex-direction:column}.selection-summary>div{align-items:flex-start;flex-direction:column}.drop-zone{padding:20px 12px}}

.user-chip{display:grid;color:#fff;text-decoration:none;font-size:13px;line-height:1.2}.user-chip small{color:#cdd6d0;font-size:10px}.branch-shell{width:min(1380px,94vw)}.branch-hero{margin-bottom:20px}.delivery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}.delivery-card{display:grid;gap:7px;padding:20px;color:var(--ink);text-decoration:none;transition:transform .15s ease,border-color .15s ease}.delivery-card:hover{transform:translateY(-2px);border-color:var(--green)}.delivery-card strong{font-size:25px}.delivery-card small{color:var(--muted)}.delivery-weekday{color:var(--green);font-weight:800}.status.draft{background:#fff0cf;color:#744c13}.status.submitted{background:#dfeedd;color:#31553a}.branch-order-header{margin-bottom:22px}.submitted-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#dfeedd;color:#31553a;border:1px solid #b9d5b6;padding:17px 20px;border-radius:14px;margin-bottom:24px}.order-toolbar{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:14px;padding:15px 18px;position:sticky;top:86px;z-index:4}.order-toolbar label{font-weight:800}.order-toolbar input{border:1px solid #bdc6bf;border-radius:9px;padding:11px 13px;font:inherit}.order-toolbar span{color:var(--muted);font-size:13px}.order-section{scroll-margin-top:160px}.branch-order-table table{min-width:880px}.branch-order-table th:nth-child(1){width:100px}.branch-order-table th:nth-child(3){width:180px}.branch-order-table th:nth-child(4),.branch-order-table th:nth-child(5){width:170px}.quantity-cell input{width:135px;border:1px solid #aebbb2;border-radius:8px;padding:10px;text-align:right;font:inherit;font-weight:800}.quantity-cell input:focus{outline:3px solid rgba(184,220,90,.45);border-color:var(--green)}.quantity-cell input:disabled{background:#eef1ee;color:#66706a}.article-marker,.order-note{display:block;color:var(--muted);font-size:10px;margin-top:3px}.order-actions{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:20px;background:rgba(245,243,237,.96);backdrop-filter:blur(8px);border-top:1px solid var(--line);padding:16px 0;margin-top:25px;z-index:4}.order-actions>span{color:var(--muted);font-size:13px}
@media(max-width:760px){.branch-topbar .user-chip{order:2}.order-toolbar{top:126px;grid-template-columns:1fr}.order-toolbar label{display:none}.order-actions{align-items:stretch;flex-direction:column}.submitted-banner{align-items:flex-start;flex-direction:column}.delivery-grid{grid-template-columns:1fr}}
