:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1e2926;background:#f4f5ef;font-synthesis:none;line-height:1.5;font-weight:400;--green:#194d3b;--line:#dce2d7;--muted:#68756c}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid transparent;border-radius:9px;padding:11px 16px;background:var(--green);color:#fff;cursor:pointer;font-weight:600;text-decoration:none;display:inline-block;line-height:1.3;text-align:center;min-height:44px}button:hover,.button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}.secondary{background:#fff;color:var(--green);border-color:var(--line)}.danger{background:#8e342e}a{color:var(--green)}h1{font-size:clamp(26px,3vw,38px);line-height:1.18;letter-spacing:-1px;margin:0 0 12px}h2{font-size:20px;margin:0 0 16px}h3{font-size:17px}p{margin:0 0 14px}small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}strong{font-weight:650}:focus-visible{outline:3px solid #c69b38;outline-offset:3px}.app{display:flex;min-height:100vh}.sidebar{width:238px;flex-shrink:0;background:#163f33;color:#fff;padding:34px 22px;display:flex;flex-direction:column;gap:36px;position:sticky;top:0;height:100vh}.brand{font-weight:750;letter-spacing:3px;color:inherit;text-decoration:none;font-size:24px}.brand span{display:block;font-size:11px;letter-spacing:1.1px;font-weight:400;margin-top:8px;opacity:.75}.sidebar nav{display:grid;gap:7px}.sidebar nav button{background:transparent;text-align:left;color:#cfddd5;font-size:14px}.sidebar nav button.selected{background:#dce8c3;color:#163f33}.profile{margin-top:auto;display:grid;gap:10px}.profile small{color:#c9d6cd}.profile .secondary{background:transparent;color:#fff;border-color:#6c8879}.workspace{flex:1;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;padding:22px 38px;background:#fff;border-bottom:1px solid var(--line)}.topbar p{margin:5px 0 0;font-size:13px;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-size:11px;color:var(--muted)}main{padding:38px;max-width:1640px;margin:auto}.intro{color:var(--muted);max-width:660px;font-size:16px;margin-bottom:28px}footer{padding:20px 38px;color:var(--muted);font-size:12px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:22px;min-width:0}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin:28px 0}.metrics article{padding:20px;margin:0}.metrics span{font-size:12px;color:var(--muted);display:block}.metrics strong{font-size:34px;font-weight:600;display:block;margin-top:8px}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.summary-row p{margin:0}.alert-row{border-top:1px solid var(--line);padding:16px 0}.alert-row p{margin-top:8px}.badge{display:inline-block;border-radius:6px;padding:4px 8px;font-size:10px;font-weight:700;letter-spacing:.6px;background:#edf1e3;color:#3a5941}.warning,.shortage{color:#a75b15;font-weight:650}.error,.success{padding:14px 18px;border-radius:9px;background:#faeae6;color:#893b31;margin-bottom:22px;overflow-wrap:anywhere}.success{background:#e6f0e3;color:#2e683a}.muted{color:var(--muted)}.form{display:flex;flex-direction:column;gap:16px}.form h2,.form p{margin-bottom:0}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}input,select,textarea{width:100%;border:1px solid #cad4c8;border-radius:8px;padding:10px 12px;min-height:44px;background:#fff;color:#24352c}textarea{resize:vertical;min-height:92px}.field-row{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.field-row label{flex:1;min-width:100px}.field-row label:first-child{flex:2}.checkbox{display:flex;flex-direction:row;align-items:center;font-weight:400}.checkbox input{width:18px;min-height:18px;accent-color:var(--green)}fieldset{border:1px solid var(--line);border-radius:9px;padding:14px;display:flex;gap:12px;flex-wrap:wrap}legend{font-size:13px;font-weight:600;padding:0 5px}.toolbar,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar{margin:16px 0}.toolbar select{width:auto}.actions.form{align-items:stretch;flex-direction:column}.section-header{display:flex;justify-content:space-between;gap:20px;align-items:center}.section-header p{color:var(--muted)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;white-space:normal}caption{text-align:left;font-weight:650;font-size:18px;padding-bottom:18px}th{text-align:left;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);background:#f6f7f2}th,td{padding:13px 10px;border-bottom:1px solid var(--line);vertical-align:top}td p{margin:8px 0}details{margin-top:8px;font-size:12px}summary{cursor:pointer;color:var(--green);font-weight:600}.allocation{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.order-grid{display:grid;grid-template-columns:minmax(300px,1fr) minmax(320px,1fr);gap:24px;align-items:start}.order-list{display:grid;gap:10px}.order-row{display:flex;justify-content:space-between;text-align:left;background:#fff;border:1px solid var(--line);color:#23372d;padding:20px;border-radius:12px;gap:10px;min-height:120px}.order-row.selected{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.order-row>span{display:flex;flex-direction:column;gap:7px}.order-row span span{font-size:12px;font-weight:400}.order-flags{align-items:flex-end;text-align:right}.order-detail{position:sticky;top:16px}.order-detail ul{padding-left:20px}.order-detail li{padding:5px 0}.collection{background:#edf3df;border-radius:8px;padding:13px}.history{padding-left:20px;font-size:12px}.history span{display:block;color:var(--muted)}.empty{padding:35px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px}.auth,.signin{max-width:540px;margin:8vh auto;padding:24px}.auth h1{font-size:36px}.auth .panel{margin-top:28px}.setup-secret{background:#f3f4ed;padding:14px;overflow-wrap:anywhere}.setup-secret code{font-size:16px;-webkit-user-select:all;user-select:all}@media(max-width:1050px){.sidebar{width:190px;padding:25px 14px}.metrics{grid-template-columns:repeat(3,1fr)}main{padding:26px}.two-columns,.order-grid{grid-template-columns:1fr}.order-detail{position:static}.section-header{align-items:flex-start;flex-direction:column;gap:0}}@media(max-width:650px){.app{display:block}.sidebar{width:100%;height:auto;position:static;padding:18px;gap:18px}.brand{font-size:20px}.sidebar nav{display:flex;overflow:auto;gap:6px}.sidebar nav button{white-space:nowrap;flex-shrink:0;padding:10px}.profile{display:flex;align-items:center;gap:12px;font-size:12px}.profile small{display:none}.profile button{margin-left:auto}.topbar{padding:16px 18px}.topbar p{font-size:12px}main{padding:25px 16px}.panel{padding:18px}.metrics{grid-template-columns:repeat(2,1fr);gap:10px}.metrics article:last-child{grid-column:span 2}.metrics strong{font-size:30px}.order-row{padding:16px}.toolbar select{max-width:100%}.field-row{flex-direction:column;align-items:stretch}.field-row label{min-width:0}.auth{margin:4vh auto}.table-wrap{max-width:100%}footer{padding:20px 16px}}@media print{.sidebar,.topbar,footer,button,.toolbar{display:none}.workspace main{padding:0}.panel{break-inside:avoid;border:none}}.ui-icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.sidebar nav button{display:flex;align-items:center;gap:10px;text-align:start}.topbar-actions,.language-switch{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.language-switch button{font-size:12px;min-height:40px;padding:7px 12px}.language-switch button[aria-pressed=true]{background:var(--green);color:#fff}.auth-language{display:flex;justify-content:center;padding:20px 16px 0}.product-photo{display:block;width:80px;height:80px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:12px;flex-shrink:0}.photo-missing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#f4f5f1;color:var(--muted)}.photo-missing .ui-icon{width:30px;height:30px}.photo-missing small{font-size:10px}.product-cell{display:flex;align-items:center;gap:12px;min-width:190px}.product-cell h3{margin:0}.product-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:18px 0}.product-card{display:grid;gap:10px;border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff}.product-card .product-photo{width:100%;height:140px}.product-card b{font-size:30px;line-height:1.2}.product-card strong{font-size:16px}.photo-upload{margin-top:8px;position:relative;cursor:pointer;padding:8px;border:1px solid var(--line);border-radius:8px;text-align:center;font-size:12px;overflow:hidden}.photo-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-upload:focus-within{outline:3px solid #c69b38}.status-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:8px;white-space:nowrap;background:#f0f1ed;color:#45564d;font-size:12px;font-weight:650}.status-badge>span{font-size:17px}.status-ready,.status-delivered{background:#e0f1e4;color:#255c37}.status-out_for_delivery,.status-assigned{background:#e4eef8;color:#245281}.status-cancelled{background:#f9e7e5;color:#923b35}.status-preparing{background:#fff2d8;color:#895e12}.order-steps{display:flex;list-style:none;padding:0;margin:22px 0;gap:6px}.order-steps li{flex:1;text-align:center;color:#859289;min-width:0}.order-steps li>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;margin:auto auto 7px;background:#fff;font-size:17px}.order-steps li.done>span{background:var(--green);color:#fff;border-color:var(--green)}.order-steps small{font-size:10px;line-height:1.3}.actions.form button{min-height:52px;font-size:15px}.report-filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.report-filters label{flex:1;min-width:145px}.report-filters label:first-child{flex:2;min-width:230px}.report-status{font-size:13px;color:var(--muted)}.fleet-table{padding:0;max-height:65vh}.fleet-table table{min-width:1050px}.fleet-table thead th{position:sticky;top:0;z-index:2;background:#f1f4ec}.fleet-table th:first-child,.fleet-table td:first-child{position:sticky;left:0;background:#fff;z-index:1;min-width:170px}.fleet-table th:first-child{z-index:3;background:#f1f4ec}.fleet-table tbody tr:hover td{background:#f6f9f2}.report-product{display:flex;align-items:center;gap:8px;min-width:215px;margin-bottom:7px}.report-product .product-photo{width:44px;height:44px;border-radius:7px}.report-product .photo-missing small{display:none}.report-product .photo-missing .ui-icon{width:20px;height:20px}.table-link{background:none;border:none;color:var(--green);padding:0;min-height:32px;text-align:start;text-decoration:underline;font-size:12px}.report-detail{margin-top:24px}.report-detail p{margin-top:12px}[dir=rtl] h1,[dir=rtl] .eyebrow,[dir=rtl] th,[dir=rtl] .badge{letter-spacing:0}[dir=rtl] th,[dir=rtl] caption,[dir=rtl] .order-row{text-align:right}[dir=rtl] .order-flags{text-align:left;align-items:flex-end}[dir=rtl] .profile button{margin-left:0;margin-right:auto}[dir=rtl] .fleet-table th:first-child,[dir=rtl] .fleet-table td:first-child{left:auto;right:0}input[type=date],input[type=time]{direction:ltr}.product-card small{overflow-wrap:anywhere}@media(max-width:650px){.topbar{gap:12px;align-items:flex-start}.topbar-actions{justify-content:flex-end}.language-switch button{padding:6px 9px;min-height:36px}.product-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{padding:12px}.product-card .product-photo{height:115px}.order-steps{gap:3px}.order-steps small{font-size:9px}.report-filters{padding:14px}.report-filters label{min-width:120px}.report-filters label:first-child{min-width:100%}.report-filters input,.report-filters select{font-size:16px}.sidebar nav button{gap:6px}.sidebar nav .ui-icon{width:18px;height:18px}}@font-face{font-family:Albert Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/albert-sans-400.ttf) format("truetype")}@font-face{font-family:Albert Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/albert-sans-500.ttf) format("truetype")}@font-face{font-family:Albert Sans;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/albert-sans-600.ttf) format("truetype")}@font-face{font-family:Albert Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/albert-sans-700.ttf) format("truetype")}:root{font-family:Albert Sans,Segoe UI,Arial,sans-serif;--green:#000;--line:#ebebeb;--muted:#545454;--brand-accent:#db1215;background:#f5f5f5;color:#232323}.sidebar{background:#111}.sidebar nav button{color:#ddd}.sidebar nav button.selected{background:#fff;color:#111}.profile small{color:#ccc}.profile .secondary{border-color:#666}.topbar{border-top:3px solid var(--brand-accent)}.order-row{color:#232323}.secondary{color:#000}.collection,.fleet-table thead th,.fleet-table th:first-child{background:#f2f2f2}.fleet-table tbody tr:hover td{background:#f7f7f7}input,select,textarea{border-color:#d7d7d7;color:#232323}th{background:#f5f5f5}.badge{background:#f2f2f2;color:#333}.photo-missing{background:#f5f5f5}:focus-visible{outline-color:var(--brand-accent)}.photo-upload:focus-within{outline-color:var(--brand-accent)}[dir=rtl] body{font-family:Segoe UI,Tahoma,Arial,sans-serif}.photo-link{display:block;flex-shrink:0;text-decoration:none}.status-badge .ui-icon{width:17px;height:17px}.order-steps .ui-icon{width:18px;height:18px}.preparation-toolbar{align-items:flex-end}.preparation-toolbar input[type=date],.preparation-toolbar>.button{height:44px}.preparation-toolbar>.button{display:inline-flex;align-items:center;justify-content:center}.sidebar nav{min-height:0;overflow-y:auto}.sidebar .brand,.sidebar .profile{flex-shrink:0}.topbar{position:sticky;top:0;z-index:10;gap:12px}.topbar-actions .signout{white-space:nowrap;border-color:#888}.topbar>div:first-child{min-width:0;overflow-wrap:anywhere}@media(max-width:650px){.topbar{flex-wrap:wrap}.topbar-actions{flex:1;justify-content:flex-start}.sidebar nav{overflow-x:auto;overflow-y:hidden}}.courier-app main{max-width:820px;padding-bottom:28px}.courier-app .topbar{gap:12px}.courier-screen h1{margin-top:24px}.courier-list{display:grid;gap:12px}.courier-list .order-row,.courier-history .order-row{width:100%;gap:12px}.courier-history{margin-top:24px}.courier-address{margin-top:22px}.courier-address dt{font-size:12px;color:var(--muted);margin-top:14px}.courier-address dd{margin:4px 0 0;overflow-wrap:anywhere}.courier-outcomes{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:#fff;padding:12px 0 calc(12px + env(safe-area-inset-bottom));z-index:3;border-top:1px solid var(--line)}.courier-outcomes button{min-height:64px;padding:12px 4px;font-size:15px}.courier-cancel{background:#b42318;color:#fff;border-color:#b42318}.courier-deliver{background:#166534;color:#fff;border-color:#166534}.courier-postpone{background:#facc15;color:#231f20;border-color:#eab308}.courier-dialog{width:calc(100% - 32px);max-width:440px;max-height:90dvh;overflow-y:auto;border:1px solid var(--line);border-radius:16px;padding:24px}.courier-dialog::backdrop{background:#0009}.courier-dialog h2,.courier-dialog p{margin:0}.courier-dialog button{min-height:48px}.courier-dialog input,.courier-dialog select{font-size:16px}.courier-dialog .form{gap:18px}.navigation-controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.navigation-controls button{display:inline-flex;align-items:center;gap:6px;min-height:44px}.navigation-controls .ui-icon{width:18px;height:18px}[dir=rtl] .back-button .ui-icon{transform:rotate(180deg)}.order-grid.has-detail{display:block}.order-grid.has-detail>.order-list{display:none}.order-grid.has-detail>.order-detail{max-width:none}.order-detail table input[type=number]{min-width:110px}.order-detail .product-cell{min-width:180px}.department-app main{max-width:1450px}.department-tabs{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.stock-product>.photo-link .product-photo{width:100%;height:170px;object-fit:contain}.stock-product h2{font-size:18px}.stock-product .batch-summary{background:#f5f5f5;padding:12px;border-radius:8px}.department-app .courier-summary{text-align:start;color:#232323}.department-app .courier-summary strong{display:block;font-size:24px}.department-app .order-row{width:100%}.header-logo{width:64px;height:64px;object-fit:contain;border-radius:8px;flex-shrink:0}.sidebar-logo{display:block;width:160px;height:160px;object-fit:contain;border-radius:10px}.signin-logo{display:block;width:150px;height:150px;object-fit:contain;border-radius:12px;margin-bottom:16px}.topbar{gap:12px}.orders-excel{font-family:Arial,sans-serif}.excel-status-summary{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.excel-status-summary span{padding:7px 12px;border-radius:5px;background:#dfdfdc;font-size:13px;font-weight:700}.excel-orders-table{padding:0;max-height:65vh;border:1px solid #bbb;border-radius:6px}.excel-orders-table table{border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:1920px;width:100%;font:14px/1.4 Arial,sans-serif}.excel-orders-table th,.excel-orders-table td{text-align:center;vertical-align:middle;padding:12px 10px;border-inline-end:1px solid #d1d1cd;border-bottom:1px solid #c9c9c5;overflow-wrap:anywhere;white-space:pre-wrap;min-height:44px}.excel-orders-table th{background:#d1d1cd;color:#000;position:sticky;top:0;z-index:3;font-size:13px;text-transform:none;letter-spacing:0}.excel-orders-table tr:nth-child(odd) td{background:#dfdfdc}.excel-orders-table tr:nth-child(2n) td{background:#f2f2f0}.excel-orders-table th:nth-child(1),.excel-orders-table td:nth-child(1){position:sticky;inset-inline-start:0;width:165px;z-index:2}.excel-orders-table th:nth-child(2),.excel-orders-table td:nth-child(2){position:sticky;inset-inline-start:165px;width:155px;z-index:2;border-inline-end:2px solid #aaa}.excel-orders-table th:nth-child(1),.excel-orders-table th:nth-child(2){z-index:4;background:#d1d1cd}.excel-orders-table th:nth-child(3){width:245px}.excel-orders-table th:nth-child(4){width:190px}.excel-orders-table th:nth-child(5){width:175px}.excel-orders-table th:nth-child(6){width:160px}.excel-orders-table th:nth-child(7){width:175px}.excel-orders-table th:nth-child(8){width:165px}.excel-orders-table th:nth-child(9){width:175px}.excel-orders-table th:nth-child(10){width:310px}.excel-orders-table .table-link{font:inherit;color:inherit;text-align:center}.source-name{font-size:12px;overflow-wrap:anywhere}[dir=rtl] .excel-orders-table th,[dir=rtl] .excel-orders-table td{text-align:center}.excel-orders-table td:nth-child(4),.excel-orders-table td:nth-child(5),.excel-orders-table td:nth-child(7){direction:ltr;unicode-bidi:isolate}.orders-excel h1{font-size:32px}.orders-excel .report-filters{padding:12px;gap:10px}.orders-excel>.toolbar{margin:12px 0}.courier-no-answer{background:#1565c0;color:#fff}.courier-outcomes>.courier-no-answer{grid-column:1/-1}.courier-no-answer:disabled{opacity:.5}.auth .remember-signin{display:flex;flex-direction:row;align-items:center;gap:12px;cursor:pointer}.auth .remember-signin input{width:20px;height:20px;flex:none;margin:0;accent-color:#111}.auth .remember-signin small{display:block;font-weight:400;color:#626262;margin-top:4px}.order-row.order-postponed{background:#fff7df;border-inline-start:6px solid #a56800;color:#352400}.order-row.order-retry{background:#eaf3ff;border-inline-start:6px solid #2459a6;color:#163b72}.order-row.order-postponed.selected,.order-row.order-retry.selected{outline:2px solid currentColor;outline-offset:1px}.delivery-highlight{display:inline-block;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:700;margin:4px 0;white-space:normal}.delivery-highlight.order-postponed{background:#ffedb5;color:#684200}.delivery-highlight.order-retry{background:#d4e6ff;color:#17447e}.distribution-matrix{width:max-content;min-width:100%}.distribution-matrix th,.distribution-matrix td{min-width:95px;text-align:center}.distribution-matrix thead th{background:#e6e6e3}.distribution-matrix tbody th{position:sticky;inset-inline-start:0;z-index:1;background:#f5f5f2;min-width:240px;max-width:320px;text-align:start}.distribution-matrix small{display:block;font-weight:400}
